SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · openreview_g9G7qyAzki

Generalized Correctness Models: Learning Calibrated and Cross-Model Correctness Predictors from Historical Patterns

Mohit Bansal, Elias Stengel-Eskin, Hyunji Lee, Vaidehi Patil, Hanqi Xiao

OpenReview · Open in the Atlas

Code that ran

11 of 15 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 8 have no contract verdict; 2 failures of our instrument; 4 no recorded run), measured 2026-11-24; 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/openreview_g9G7qyAzki.json · badge: /api/ran/openreview_g9G7qyAzki.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
The-Inscrutable-X/CalibratedModelAgnosticCorrectness canonical (classifier label)
classifier basis: census
11 ran · 4 no recorded run
FunctionStatusWhere it lives
find_latest_checkpoint Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/training_utils.py
code served (permissive licence) · get_code("5c0d6eca71e25b83")
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 os
import tempfile
import shutil

# Create a temporary directory with some checkpoint files
temp_dir = tempfile.mkdtemp()

# Create some checkpoint directories with numbered names
os.makedirs(os.path.join(temp_dir, 'checkpoint-100'), exist_ok=True)
os.makedirs(os.path.join(temp_dir, 'checkpoint-50'), exist_ok=True)
os.makedirs(os.path.join(temp_dir, 'checkpoint-200'), exist_ok=True)

# Create dummy files inside to make them look like real checkpoints
for checkpoint_name in ['checkpoint-100', 'checkpoint-50', 'checkpoint-200']:
    checkpoint_path = os.path.join(temp_dir, checkpoint_name)
    with open(os.path.join(checkpoint_path, 'model.bin'), 'w') as f:
        f.write('dummy')

ARGS = {
    'checkpoint_dir': temp_dir
}
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 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
generate_openai Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/simple_generation_utils.py
code served (permissive licence) · get_code("95b32b97cb7489d9")
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.

from unittest.mock import Mock, MagicMock
from openai import OpenAI

# Create a mock OpenAI client
client = Mock(spec=OpenAI)

# Mock the chat.completions.create method
mock_message = Mock()
mock_message.content = "This is a generated response from the mock OpenAI API."

mock_choice = Mock()
mock_choice.message = mock_message

mock_chat_response = Mock()
mock_chat_response.choices = [mock_choice]

client.chat.completions.create = Mock(return_value=mock_chat_response)

# Mock the completions.create method for non-chat mode
mock_completion_choice = Mock()
mock_completion_choice.text = "This is a completion response."

mock_completion_response = Mock()
mock_completion_response.choices = [mock_completion_choice]

client.completions.create = Mock(return_value=mock_completion_response)

# Define arguments
ARGS = {
    'client': client,
    'model_name': 'gpt-3.5-turbo',
    'prompt': 'What is the meaning of life?',
    'generate_kwargs': {
        'temperature': 0.7,
        'top_p': 0.9,
        'max_new_tokens': 100
    },
    'chat_template': True,
    'verbose': False,
    'system_message': 'You are a helpful assistant.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
openai — 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_adaptive_bins Ran
ran; our contract draft was wrong, not the code
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/utils/calib_tools.py
code served (permissive licence) · get_code("432838d3c5f2ab75")
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 ndarray, ndim 1, dtype family float, shape (2,) 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 numpy as np

# The function takes predictions (array-like) and num_bins (int)
# predictions should be sortable and indexable, containing numeric values
# num_bins should be a positive integer

predictions = np.array([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.95])
num_bins = 3

ARGS = {
    "predictions": predictions,
    "num_bins": num_bins,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) 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
get_basemodel_loadstring Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/utils/model_utils.py
code served (permissive licence) · get_code("cb110cdf747bc281")
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
import torch.nn as nn

# Test cases for the function
test_cases = [
    'Qwen2.5-72B-Instruct',
    'Qwen2.5-72B-Instruct+some_suffix',
    'gemma-2b',
    'gpt2-large_variant',
    'Meta-Llama-3-8B-Instruct+extra_params',
    'phi-4_v2',
]

ARGS = {
    'engine': 'Qwen2.5-72B-Instruct'
}
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
mean Ran
ran, honoured the contract we drafted
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/utils/calib_tools.py
code served (permissive licence) · get_code("0af29c87aa4bd6a8")
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 float64, ndim 0, 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 numpy as np

# The function takes inputs and computes mean if non-empty
# inputs should be an array-like object that supports len() and np.mean()

# Test case 1: non-empty array
inputs_nonempty = np.array([1.0, 2.0, 3.0, 4.0, 5.0])

# Test case 2: empty array
inputs_empty = np.array([])

# We'll use the non-empty case as the primary test
ARGS = {
    "inputs": inputs_nonempty
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
merge_graded_datasets Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/grading_dataset.py
code served (permissive licence) · get_code("b475ea60ecb48b0d")
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 json
import os
import tempfile
from pathlib import Path

# Create temporary directory for test datasets
temp_dir = tempfile.mkdtemp()

# Create first dataset file with sample entries
dataset1_path = os.path.join(temp_dir, "dataset1", "graded_dataset.jsonl")
os.makedirs(os.path.dirname(dataset1_path), exist_ok=True)

dataset1_entries = [
    {"prompt": "What is 2+2?", "response": "4", "grade": 9},
    {"prompt": "What is the capital of France?", "response": "Paris", "grade": 10},
]
with open(dataset1_path, 'w') as f:
    for entry in dataset1_entries:
        f.write(json.dumps(entry) + '\n')

# Create model metadata file for dataset1
model1_metadata_path = os.path.join(os.path.dirname(dataset1_path), "model_used_for_dataset_generation.txt")
with open(model1_metadata_path, 'w') as f:
    f.write("gpt-3.5-turbo")

# Create second dataset file with sample entries
dataset2_path = os.path.join(temp_dir, "dataset2", "graded_dataset.jsonl")
os.makedirs(os.path.dirname(dataset2_path), exist_ok=True)

dataset2_entries = [
    {"prompt": "What is 5+3?", "response": "8", "grade": 9},
    {"prompt": "What is the capital of Spain?", "response": "Madrid", "grade": 10},
]
with open(dataset2_path, 'w') as f:
    for entry in dataset2_entries:
        f.write(json.dumps(entry) + '\n')

# Create model metadata file for dataset2
model2_metadata_path = os.path.join(os.path.dirname(dataset2_path), "model_used_for_dataset_generation.txt")
with open(model2_metadata_path, 'w') as f:
    f.write("gpt-4")

# Define output path
output_path = os.path.join(temp_dir, "merged", "merged_dataset.jsonl")

ARGS = {
    "dataset_paths": [dataset1_path, dataset2_path],
    "output_path": output_path,
    "include_model_metadata": True,
}
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
one_hot_encode Ran
ran; our contract draft was wrong, not the code
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/utils/calib_tools.py
code served (permissive licence) · get_code("77933604fbca56e7")
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 ndarray, ndim 2, dtype family float, shape (6, 3) 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 numpy as np

# Construct a small labels array with a few distinct classes
labels = np.array([0, 1, 2, 1, 0, 2])

# Define arguments for the function
ARGS = {
    "labels": labels,
    "num_classes": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (6, 3) — shape (6, 3) 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
postprocess_training_text Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/prompt_utils.py
code served (permissive licence) · get_code("5113ca70d3cff9e8")
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
import torch.nn as nn

class StandInTokenizer:
    """Mock tokenizer that supports apply_chat_template."""
    
    def apply_chat_template(self, messages, tokenize=False, add_generation_prompt=False, use_reasoning=False):
        """Converts messages to a formatted string."""
        if isinstance(messages, str):
            return messages
        
        result = ""
        for msg in messages:
            role = msg.get('role', 'user')
            content = msg.get('content', '')
            result += f"[{role}]: {content}\n"
        
        if add_generation_prompt:
            result += "[assistant]: "
        
        return result

tokenizer = StandInTokenizer()

ARGS = {
    'training_text': 'Question: Is this true?: yes',
    'tokenizer': tokenizer,
    'apply_chat_template': False,
    'n_shot': 0,
    'n_shot_messages': None,
    'system_message': None,
    'ensure_last_token_is_target': True,
    'verbalized': False,
    'use_reasoning': False,
}
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
process_predictions_for_calibration Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/posthoc_calibration.py
code served (permissive licence) · get_code("68c809ec39f9587a")
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 numpy as np

# Construct valid arguments for process_predictions_for_calibration

# Create sample predictions_for_attribution list with dict entries
predictions_for_attribution = [
    {
        'prob_yes': 0.8,
        'is_correct': 'yes'
    },
    {
        'prob_yes': 0.3,
        'is_correct': 'no'
    },
    {
        'prob_yes': 0.6,
        'training_example': 'The answer is yes'
    },
    {
        'prob_yes': 0.2,
        'training_example': 'The answer is no'
    },
]

ARGS = {
    'predictions_for_attribution': predictions_for_attribution
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
score_completion Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/dataset_eval_utils.py
code served (permissive licence) · get_code("07081b15f600bbcb")
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 score_completion takes a single parameter 'completion' which is a string.
# It searches for probability patterns in the string and returns a tuple of (prediction, probability).

# Test case 1: completion with valid probability pattern
completion_valid = "The model has ANSWER_CORRECT_CHANCE: 75.5% confidence in this answer."

# Test case 2: completion with alternative pattern
completion_alternative = "Based on analysis, ANSWER_CORRECT_PROBABILITY: 42.3% that the answer is correct."

# Test case 3: completion with no probability pattern (edge case)
completion_no_pattern = "This is just a regular completion without any probability information."

# Use the first valid completion for ARGS
ARGS = {
    "completion": completion_valid
}
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
truncate_after_yes_no Ran
ran on a synthesized input
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/prompt_utils.py
code served (permissive licence) · get_code("6d54c49b127da9e6")
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
import torch.nn as nn

# The function takes a single parameter: text (a string)
# It performs string operations like lower(), rfind(), slicing
# No complex objects needed, just a string with 'yes' or 'no' in it

ARGS = {
    "text": "The answer is YES, I agree with this proposal."
}
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
generate_offline Not yet run
unverified (harvested, no recorded run)
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/simple_generation_utils.py
code served (permissive licence) · get_code("8fee41ef2d587017")
How it ran

no invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/utils/model_utils.py
code served (permissive licence) · get_code("4a050a6fc851e47d")
How it ran

no invocation recorded.

load_tokenizer Not yet run
unverified (harvested, no recorded run)
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/utils/model_utils.py
code served (permissive licence) · get_code("65b86daaedb4ee28")
How it ran

no invocation recorded.

make_training_text Not yet run
unverified (harvested, no recorded run)
The-Inscrutable-X/CalibratedModelAgnosticCorrectness/tuning_models/utils/prompt_utils.py
code served (permissive licence) · get_code("d9bfdfb81d8e1f40")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 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, 0 later) and 12 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
one_hot_encode 4 other papers
4 same year, order not determinable
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2401.02718 (2024-01)
Calibration Attacks: A Comprehensive Study of Adversarial Attacks on Model Confidence
2403.01244 (2024-03)
Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal
and 1 more not named here
get_adaptive_bins 3 other papers
3 same year, order not determinable
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2403.01244 (2024-03)
Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal
2601.16503 (2026-01)
MRAG: Benchmarking Retrieval-Augmented Generation for Bio-medicine
mean 3 other papers
3 same year, order not determinable
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2403.01244 (2024-03)
Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal
2601.16503 (2026-01)
MRAG: Benchmarking Retrieval-Augmented Generation for Bio-medicine

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-24.

Repositories linked to this paper

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

Abstract

Generating accurate and calibrated confidence estimates is critical for deploying LLMs in highstakes or user-facing applications, and remains an open challenge. Prior research has often framed confidence as a problem of eliciting a model's "self-knowledge", i.e., the ability of an LLM to judge whether its own answers are correct; this approach implicitly assumes that there is some privileged information about the answer's correctness that is accessible to the model itself. However, we find that whether trained or training-free, an LLM attempting to predict the correctness of its own outputs generally performs no better than an unrelated LLM attempting the same task. Moreover, we hypothesize that a key factor in predicting model correctness, i.e., building a "Correctness Model" (CM), is exposure to a target model's historical predictions. We use multiple methods to inject this historical correctness information, including training an LLM to predict the confidences of many other LLMs, i.e., creating a Generalized Correctness Model (GCM). We use GCMs and CMs as a lens for studying the source of correctness prediction ability and its generalization, studying the importance of answer phrasing, world-knowledge, performance history, in-context examples, and posthoc calibration for correctness prediction. We evaluate GCMs based on Qwen3-8B across 5 model families and the MMLU, TriviaQA, and Spider datasets, as well as on a downstream selective prediction task, finding that reliable LLM confidence estimation is a cross-model skill learned by encoding correctness history rather than a model-specific skill reliant on introspection. Code: https://github.com/The-Inscrutable-X/CalibratedModelAgnosticCorrectness.

For agents

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

get_harvested_code_for_paper("openreview_g9G7qyAzki")
get_code_for_paper("openreview_g9G7qyAzki")
have("openreview_g9G7qyAzki")

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

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

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

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

Connect an agent — have() is free.