SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.09525 · 2021

SummaC: Re-Visiting NLI-based Models for Inconsistency Detection in Summarization

arXiv · PDF · Open in the Atlas

Code that ran

12 of 23 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 2 failures of our instrument; 11 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2111.09525.json · badge: /api/ran/2111.09525.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
tingofurro/summac canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
salesforce/auditnlg community (classifier label)
classifier basis not recorded on the link
9 ran · 11 no recorded run
FunctionStatusWhere it lives
card_to_name Ran
ran; our contract draft was wrong, not the code
tingofurro/summac/summac/model_summac.py
code served (permissive licence) · get_code("db7f9bf2c56eba82")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

model_map = {'snli-base': {'model_card': 'boychaboy/SNLI_roberta-base', 'entailment_idx': 0, 'contradiction_idx': 2}, 'snli-large': {'model_card': 'boychaboy/SNLI_roberta-large', 'entailment_idx': 0, 'contradiction_idx': 2}, 'mnli-base': {'model_card': 'microsoft/deberta-base-mnli', 'entailment_idx': 2, 'contradiction_idx': 0}, 'mnli': {'model_card': 'roberta-large-mnli', 'entailment_idx': 2, 'contradiction_idx': 0}, 'anli': {'model_card': 'ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli', 'entailment_idx': 0, 'contradiction_idx': 2}, 'vitc-base': {'model_card': 'tals/albert-base-vitaminc-mnli', 'entailment_idx': 0, 'contradiction_idx': 1}, 'vitc': {'model_card': 'tals/albert-xlarge-vitaminc-mnli', 'entailment_idx': 0, 'contradiction_idx': 1}, 'vitc-only': {'model_card': 'tals/albert-xlarge-vitaminc', 'entailment_idx': 0, 'contradiction_idx': 1}}

def card_to_name(card):
    card2name = {v['model_card']: k for k, v in model_map.items()}
    if card in card2name:
        return card2name[card]
    return card

ARGS = {
    'card': 'boychaboy/SNLI_roberta-base'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
example_format_checker Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/utils.py
code served (permissive licence) · get_code("b6e987aeac696a8d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct data: a list of dictionaries
data = [
    {
        'output': 'response 1',
        'prompt_all': 'full prompt 1',
        'prompt_task': 'task 1',
        'prompt_context': 'context 1',
        'knowledge': 'knowledge 1'
    },
    {
        'output': 'response 2'
        # Missing other keys - function should fill them in
    },
    {
        'output': 'response 3',
        'id': 999
        # Missing prompt fields - function should fill them in
    }
]

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_model_inputs Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/constraint/constraint_checker.py
code served (permissive licence) · get_code("db47fe0250244595")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function accesses sample['prompt_all'], sample['prompt_task'], 
# sample['prompt_context'], and sample['output']
# These appear to be string prompts and output based on the naming

sample = {
    'prompt_all': "This is the complete prompt with all information",
    'prompt_task': "This is the task description",
    'prompt_context': "This is the contextual information",
    'output': "This is the model output"
}

ARGS = {
    'sample': sample
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_model_inputs Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/regeneration/prompt_helper.py
code served (permissive licence) · get_code("b2fd3d901d235116")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'sample': {
        'prompt_all': 'What is 2+2?',
        'prompt_task': 'Math problem',
        'prompt_context': 'Basic arithmetic',
        'output': 'The answer is 4'
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_global_knowledge Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/utils.py
code served (permissive licence) · get_code("7a7e60f86ff3c48c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with sample knowledge content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("fact one\nfact two\n\nfact three\n")
temp_file.close()

# Create a simple args object
class Args:
    def __init__(self, shared_knowledge_file):
        self.shared_knowledge_file = shared_knowledge_file

ARGS = {
    'args': Args(shared_knowledge_file=temp_file.name)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_instruction Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/factualness/utils.py
code served (permissive licence) · get_code("e8bd306b2dea16ca")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

sample = {
    'prompt_all': '',
    'prompt_task': 'Complete the task',
    'prompt_context': 'in this context'
}

ARGS = {
    'sample': sample
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_neutral_idx Ran
ran, honoured the contract we drafted
tingofurro/summac/summac/model_summac.py
code served (permissive licence) · get_code("ea7a5375f9985efb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    "ent_idx": 0,
    "con_idx": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_better_candidate Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/regeneration/prompt_helper.py
code served (permissive licence) · get_code("bffc6c96cc1984d2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function is_better_candidate takes two result dicts
# It iterates through baseline_result looking for keys containing '_score'
# It compares baseline_result[key] > candidate_result[key]
# Returns False if baseline is better (higher score), True otherwise

baseline_result = {
    'accuracy_score': 0.95,
    'precision_score': 0.92,
    'f1_score': 0.88,
    'other_metric': 100
}

candidate_result = {
    'accuracy_score': 0.93,
    'precision_score': 0.90,
    'f1_score': 0.90,
    'other_metric': 50
}

ARGS = {
    'baseline_result': baseline_result,
    'candidate_result': candidate_result
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
knowledge_parser Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/utils.py
code served (permissive licence) · get_code("a3a1bbfb4a4b4a0a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "knowledge": "line one\nline two\nline three\n\nempty line above\n"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
name_to_card Ran
ran; our contract draft was wrong, not the code
tingofurro/summac/summac/model_summac.py
code served (permissive licence) · get_code("336a19c3f0f872cf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    'name': 'snli-base'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
openai_moderation_API Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/safety/classifier.py
code served (permissive licence) · get_code("3f5b2ebc7935f2fe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import openai
import numpy as np
from unittest.mock import MagicMock, patch

# Mock the openai.Moderation.create to avoid actual API calls
def mock_moderation_create(input):
    return {
        'results': [
            {
                'category_scores': {
                    'sexual': 0.1,
                    'hate': 0.2,
                    'violence': 0.15,
                    'self-harm': 0.05
                }
            }
        ]
    }

# Patch openai.Moderation.create before building ARGS
openai.Moderation.create = MagicMock(side_effect=mock_moderation_create)

# Construct sample data that matches what the function expects
data = [
    {'output': 'This is a sample text for moderation.'},
    {'output': 'Another sample text to check.'}
]

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, openai, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rerun_evaluations Ran
ran on a synthesized input
salesforce/auditnlg/src/auditnlg/regeneration/prompt_helper.py
code served (permissive licence) · get_code("1fe3eb4502d7bb94")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal sample dict with 'output' key
sample = {
    'output': 'The sky is blue and the earth is round.',
    'id': 1
}

# Create minimal global_knowledge
global_knowledge = {
    'facts': ['sky is blue', 'earth is round'],
    'embeddings': torch.randn(2, 4)
}

# Create minimal factual scoring function that returns scores
def factual_scores(method, samples, knowledge, use_cuda, gpu_device):
    scores = [0.85]
    metadata = {'method': 'factual'}
    return scores, metadata

# Create minimal safety scoring function that returns scores
def safety_scores(method, samples, knowledge, batch_size, use_cuda):
    scores = [0.92]
    metadata = {'method': 'safety'}
    return scores, metadata

# Create minimal constraint scoring function that returns scores
def constraint_scores(method, samples, knowledge):
    scores = [0.78]
    metadata = {'method': 'constraint'}
    return scores, metadata

# Mock the scoring functions in the module namespace
import sys
current_module = sys.modules[__name__]
setattr(current_module, 'factual_scores', factual_scores)
setattr(current_module, 'safety_scores', safety_scores)
setattr(current_module, 'constraint_scores', constraint_scores)

# Create minimal method objects (can be simple dicts or classes)
class MinimalMethod:
    def __init__(self, name):
        self.name = name

factual_method = MinimalMethod('factual')
safety_method = MinimalMethod('safety')
constraint_method = MinimalMethod('constraint')

# Define all arguments
ARGS = {
    'sample': sample,
    'global_knowledge': global_knowledge,
    'run_factual': True,
    'run_safety': True,
    'run_constraint': True,
    'factual_method': factual_method,
    'safety_method': safety_method,
    'constraint_method': constraint_method,
    'batch_size': 2,
    'use_cuda': False,
    'gpu_device': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
chatgpt_score Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/factualness/classifier.py
code served (permissive licence) · get_code("75b06289edde523d")
How it ran

no invocation recorded.

constraint_scores Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/constraint/exam.py
code served (permissive licence) · get_code("4f684528e060f684")
How it ran

no invocation recorded.

create_model Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/regeneration/modeling.py
code served (permissive licence) · get_code("4920d301e2e44bc8")
How it ran

no invocation recorded.

evaluate_2step_prompt Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/constraint/constraint_checker.py
code served (permissive licence) · get_code("9c90cb1632873979")
How it ran

no invocation recorded.

factual_scores Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/factualness/exam.py
code served (permissive licence) · get_code("cb8c3be6c3abff92")
How it ran

no invocation recorded.

gpt3_score Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/factualness/classifier.py
code served (permissive licence) · get_code("16b67432f36fbab3")
How it ran

no invocation recorded.

localllm_score Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/factualness/classifier.py
code served (permissive licence) · get_code("86b13ed40996b6eb")
How it ran

no invocation recorded.

openai_score Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/safety/classifier.py
code served (permissive licence) · get_code("cd25f07d2d7a51c1")
How it ran

no invocation recorded.

perspective_API Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/safety/classifier.py
code served (permissive licence) · get_code("b4bd6f6d1ef96d82")
How it ran

no invocation recorded.

preprocess_knowledge Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/factualness/utils.py
code served (permissive licence) · get_code("337b87c313053f73")
How it ran

no invocation recorded.

retrieve_global_knowledge Not yet run
unverified (harvested, no recorded run)
salesforce/auditnlg/src/auditnlg/factualness/utils.py
code served (permissive licence) · get_code("ff20927fe6849434")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 20 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
card_to_name 2 other papers
2 later
2402.10528 (2024-02)
Can We Verify Step by Step for Incorrect Answer Detection?
2601.23183 (2026-01)
JobResQA: A Benchmark for LLM Machine Reading Comprehension on Multilingual Résumés and JDs
get_neutral_idx 2 other papers
2 later
2402.10528 (2024-02)
Can We Verify Step by Step for Incorrect Answer Detection?
2601.23183 (2026-01)
JobResQA: A Benchmark for LLM Machine Reading Comprehension on Multilingual Résumés and JDs
name_to_card 2 other papers
2 later
2402.10528 (2024-02)
Can We Verify Step by Step for Incorrect Answer Detection?
2601.23183 (2026-01)
JobResQA: A Benchmark for LLM Machine Reading Comprehension on Multilingual Résumés and JDs

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In the summarization domain, a key requirement for summaries is to be factually consistent with the input document. Previous work has found that natural language inference (NLI) models do not perform competitively when applied to inconsistency detection. In this work, we revisit the use of NLI for inconsistency detection, finding that past work suffered from a mismatch in input granularity between NLI datasets (sentence-level), and inconsistency detection (document level). We provide a highly effective and light-weight method called SummaCConv that enables NLI models to be successfully used for this task by segmenting documents into sentence units and aggregating scores between pairs of sentences. On our newly introduced benchmark called SummaC (Summary Consistency) consisting of six large inconsistency detection datasets, SummaCConv obtains state-of-the-art results with a balanced accuracy of 74.4%, a 5% point improvement compared to prior work. We make the models and datasets available: https://github.com/tingofurro/summac

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2111.09525")
get_code_for_paper("2111.09525")
have("2111.09525")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2111.09525.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2111.09525.svg)](https://syntology.ai/paper/2111.09525)

Connect an agent — have() is free.