SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.03167 · ICML · 2025

Where Do Reasoning Models Refuse?

Andy Arditi, Kureha Yamaguchi, Benjamin Etheridge

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 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; 3 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 8 failures of our instrument; 5 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/2507.03167.json · badge: /api/ran/2507.03167.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
ky295/reasoning-manipulation canonical (classifier label)
classifier basis: census
14 ran · 5 no recorded run
FunctionStatusWhere it lives
build_vllm_cmd Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/evals/run_inspect_evals.py
code served (permissive licence) · get_code("87195b0a4ef935ce")
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 sys

class Args:
    def __init__(self):
        self.model_path = "meta-llama/Llama-2-7b-hf"
        self.port = 8000
        self.tensor_parallel_size = 1
        self.gpu_memory_utilization = 0.9
        self.max_model_len = 4096
        self.model_label = "llama-2-7b"

ARGS = {
    'args': Args()
}
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
compute_statistics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ky295/reasoning-manipulation/utils/compute_layer_statistics.py
code served (permissive licence) · get_code("a57a41ff1c82852a")
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 statistics

# The function compute_statistics takes a list of float scores
# and returns a tuple of (mean, std_dev)

# Test case 1: Normal case with multiple scores
scores_multiple = [10.5, 20.3, 15.8, 25.1, 18.9]

ARGS = {
    "scores": scores_multiple
}
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 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
extract_score_from_log Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/evals/summarise_results.py
code served (permissive licence) · get_code("e89e5a58c64540b7")
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 json
import tempfile
from pathlib import Path

# Create a temporary directory and a valid Inspect log file
temp_dir = tempfile.TemporaryDirectory()
log_dir = Path(temp_dir.name)

# Create a valid log file with the expected structure
log_data = {
    "eval": {
        "task": "test_task"
    },
    "results": {
        "scores": [
            {
                "metrics": {
                    "accuracy": {
                        "value": 0.95
                    }
                }
            }
        ]
    }
}

log_file = log_dir / "test_log.json"
with open(log_file, 'w') as f:
    json.dump(log_data, f)

ARGS = {
    "log_path": log_file
}
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 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
extract_scores Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/evals/plot_eval_results.py
code served (permissive licence) · get_code("03321a7b056bd1b5")
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 json
import zipfile
from pathlib import Path
import tempfile
import os

# Create a temporary directory with test .eval files
temp_dir = tempfile.mkdtemp()
eval_dir = Path(temp_dir)

# Create a valid .eval file (which is a zip file)
eval_file_path = eval_dir / "test_eval_aime2025.eval"
with zipfile.ZipFile(eval_file_path, 'w') as z:
    header_data = {
        'status': 'success',
        'eval': {
            'task': 'aime2025'
        },
        'results': {
            'scores': [
                {
                    'metrics': {
                        'accuracy': {
                            'value': 0.85
                        },
                        'stderr': {
                            'value': 0.02
                        }
                    }
                }
            ]
        }
    }
    z.writestr('header.json', json.dumps(header_data))

# Create another valid .eval file for gpqa_diamond
eval_file_path2 = eval_dir / "test_eval_gpqa.eval"
with zipfile.ZipFile(eval_file_path2, 'w') as z:
    header_data2 = {
        'status': 'success',
        'eval': {
            'task': 'gpqa_diamond'
        },
        'results': {
            'scores': [
                {
                    'metrics': {
                        'accuracy': {
                            'value': 0.72
                        },
                        'stderr': {
                            'value': 0.015
                        }
                    }
                }
            ]
        }
    }
    z.writestr('header.json', json.dumps(header_data2))

ARGS = {
    'eval_dir': eval_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 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
find_log_files Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/evals/summarise_results.py
code served (permissive licence) · get_code("d9fcca7d59fce338")
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.

from pathlib import Path
import tempfile
import os

# Create a temporary directory with some test files
temp_dir = tempfile.mkdtemp()
eval_results_dir = Path(temp_dir)

# Create some test log files
(eval_results_dir / "log1.json").touch()
(eval_results_dir / "log2.json").touch()
(eval_results_dir / "result1.eval").touch()

# Create a subdirectory with more log files
subdir = eval_results_dir / "subdir"
subdir.mkdir(exist_ok=True)
(subdir / "log3.json").touch()
(subdir / "result2.eval").touch()

ARGS = {
    "eval_results_dir": eval_results_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 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
find_nan_rows Ran
ran, honoured the contract we drafted
ky295/reasoning-manipulation/utils/repair_scores.py
code served (permissive licence) · get_code("ed8c6076c30c1386")
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 int; 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 math
from typing import List, Dict

def is_nan_score(value: str) -> bool:
    """Check if a score value is NaN or missing."""
    if value is None or value.strip() == '':
        return True
    try:
        return math.isnan(float(value))
    except (ValueError, TypeError):
        return True

def find_nan_rows(rows: List[Dict[str, str]]) -> List[int]:
    """Find indices of rows where strongreject_score is NaN."""
    nan_indices = []
    for i, row in enumerate(rows):
        score_val = row.get('strongreject_score', '')
        if is_nan_score(score_val):
            nan_indices.append(i)
    return nan_indices


# Construct test data
rows = [
    {'strongreject_score': '0.5', 'other_field': 'data1'},
    {'strongreject_score': '', 'other_field': 'data2'},
    {'strongreject_score': 'nan', 'other_field': 'data3'},
    {'strongreject_score': '0.9', 'other_field': 'data4'},
    {'other_field': 'data5'},  # missing strongreject_score entirely
    {'strongreject_score': None, 'other_field': 'data6'},
]

ARGS = {
    'rows': rows
}
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 int — 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
is_moe_model Ran
ran, violated the contract we drafted
ky295/reasoning-manipulation/interventions/create_ortho_model.py
code served (permissive licence) · get_code("e497f56676b3cd9d")
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 torch.nn as nn

torch.manual_seed(0)

class Expert(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
    
    def forward(self, x):
        return self.linear(x)

class MLPWithExperts(nn.Module):
    def __init__(self):
        super().__init__()
        self.experts = nn.ModuleList([Expert() for _ in range(2)])
    
    def forward(self, x):
        return self.experts[0](x)

class TransformerLayer(nn.Module):
    def __init__(self):
        super().__init__()
        self.mlp = MLPWithExperts()
    
    def forward(self, x):
        return self.mlp(x)

class TransformerModel(nn.Module):
    def __init__(self, num_layers=2):
        super().__init__()
        self.layers = nn.ModuleList([TransformerLayer() for _ in range(num_layers)])
    
    def forward(self, x):
        for layer in self.layers:
            x = layer(x)
        return x

class MoEModelWrapper(nn.Module):
    def __init__(self):
        super().__init__()
        self.model = TransformerModel(num_layers=2)
    
    def forward(self, x):
        return self.model(x)

moe_model = MoEModelWrapper()

ARGS = {
    "model": moe_model
}
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 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
is_nan_score Ran
ran, violated the contract we drafted
ky295/reasoning-manipulation/utils/repair_scores.py
code served (permissive licence) · get_code("e0d55b89085e24e8")
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 math

def is_nan_score(value: str) -> bool:
    """Check if a score value is NaN or missing."""
    if value is None or value.strip() == '':
        return True
    try:
        return math.isnan(float(value))
    except (ValueError, TypeError):
        return True

# Test case 1: A valid numeric string
ARGS = {
    "value": "3.14"
}
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 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
load_activations Ran
ran, honoured the contract we drafted
ky295/reasoning-manipulation/interventions/create_ortho_model.py
code served (permissive licence) · get_code("f5e16e8e7a8d83d1")
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 (2, 4) 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
import tempfile
import os

# Create a temporary directory and a temporary .npy file
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, 'activations.npy')

# Create sample activation data with shape (2, 4) - batch size 2, 4 dimensions
sample_activations = np.random.randn(2, 4).astype(np.float32)
np.save(temp_file, sample_activations)

ARGS = {
    'file_path': temp_file
}
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 (2, 4) — shape (2, 4) 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
load_data_efficiently Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/utils/compute_score_outputs.py
code served (permissive licence) · get_code("a59c379b79e6f777")
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. 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 csv
import tempfile
import os

# Create a temporary CSV file for testing
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, 'test_data.csv')

# Write a small test CSV file
with open(csv_path, 'w', newline='', encoding='utf-8') as f:
    writer = csv.writer(f)
    writer.writerow(['name', 'age', 'city'])
    writer.writerow(['Alice', '30', 'New York'])
    writer.writerow(['Bob', '25', 'Los Angeles'])

ARGS = {
    'csv_path': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
load_scored_csv Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/utils/repair_scores.py
code served (permissive licence) · get_code("8ba2efdc541845de")
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. 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 tempfile
import csv
import os

# Create a temporary CSV file with sample data
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "test_scored.csv")

# Write a sample CSV file
with open(csv_path, 'w', newline='', encoding='utf-8') as f:
    writer = csv.DictWriter(f, fieldnames=['id', 'text', 'score', 'label'])
    writer.writeheader()
    writer.writerow({'id': '1', 'text': 'hello world', 'score': '0.95', 'label': 'positive'})
    writer.writerow({'id': '2', 'text': 'goodbye', 'score': '0.32', 'label': 'negative'})

ARGS = {
    'csv_path': csv_path
}
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 tuple — a tuple output has no array shape of its own; none is 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
load_scores_from_csv Ran
ran, honoured the contract we drafted
ky295/reasoning-manipulation/utils/compute_layer_statistics.py
code served (permissive licence) · get_code("8f51f9a84a06ea6e")
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 os
import csv
import tempfile

# Create a temporary CSV file with the required 'strongreject_score' column
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "test_scores.csv")

with open(csv_path, 'w', newline='', encoding='utf-8') as f:
    writer = csv.DictWriter(f, fieldnames=['id', 'strongreject_score', 'text'])
    writer.writeheader()
    writer.writerow({'id': '1', 'strongreject_score': '0.75', 'text': 'sample1'})
    writer.writerow({'id': '2', 'strongreject_score': '0.82', 'text': 'sample2'})
    writer.writerow({'id': '3', 'strongreject_score': '0.91', 'text': 'sample3'})

ARGS = {
    'csv_path': csv_path
}
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
match_benchmark Ran
ran, violated the contract we drafted
ky295/reasoning-manipulation/evals/summarise_results.py
code served (permissive licence) · get_code("19960ce955b2410a")
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

TASK_IDENTIFIERS = {'aime2025': 'aime2025', 'gpqa_diamond': 'gpqa_diamond', 'math': 'mathematics'}

def match_benchmark(task_name: str, benchmark: str) -> bool:
    """Check if a task name matches a benchmark."""
    identifier = TASK_IDENTIFIERS.get(benchmark, benchmark)
    return identifier.lower() in task_name.lower()

ARGS = {
    'task_name': 'mathematics_problem_001',
    'benchmark': 'math'
}
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
read_csv Ran
ran; our contract draft was wrong, not the code
ky295/reasoning-manipulation/interventions/activation_addition.py
code served (permissive licence) · get_code("dd14f656a65925c3")
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 pandas as pd
import tempfile
import os

# Create a temporary CSV file with the required 'forbidden_prompt' column
temp_dir = tempfile.gettempdir()
csv_path = os.path.join(temp_dir, 'test_prompts.csv')

# Write a test CSV file
df = pd.DataFrame({
    'forbidden_prompt': [
        'prompt one',
        'prompt two',
        'prompt three'
    ]
})
df.to_csv(csv_path, index=False)

ARGS = {
    'input_csv': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
load_model Not yet run
unverified (harvested, no recorded run)
ky295/reasoning-manipulation/interventions/create_ortho_model.py
code served (permissive licence) · get_code("d4f29e94e48d679d")
How it ran

no invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
ky295/reasoning-manipulation/interventions/activation_addition.py
code served (permissive licence) · get_code("2410d0fa9fb4d711")
How it ran

no invocation recorded.

run_inspect_eval Not yet run
unverified (harvested, no recorded run)
ky295/reasoning-manipulation/evals/run_inspect_evals.py
code served (permissive licence) · get_code("f46c737dd9c56fa6")
How it ran

no invocation recorded.

save_csv Not yet run
unverified (harvested, no recorded run)
ky295/reasoning-manipulation/interventions/activation_addition.py
code served (permissive licence) · get_code("ead414dc1605e9b9")
How it ran

no invocation recorded.

wait_for_server Not yet run
unverified (harvested, no recorded run)
ky295/reasoning-manipulation/evals/run_inspect_evals.py
code served (permissive licence) · get_code("307d0090494af11c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 0 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 19 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.

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

Chat models without chain-of-thought (CoT) reasoning must decide whether to refuse a harmful request before generating their first response token. Reasoning models, by contrast, produce extended chains of thought before their final output, raising a natural question: where in this process does the decision to refuse occur? We investigate this across four open-source reasoning models. We first show that the CoT causally influences refusal outcomes; fixing a specific reasoning trace substantially reduces variance in whether the model ultimately refuses or complies. Zooming into the reasoning trace, we find that in distilled models, subtle differences in the opening sentence of the CoT can fully determine the model's refusal decision, and that these patterns transfer across models distilled from the same teacher. Finally, we extract linear refusal directions from model activations and show that ablating them increases harmful compliance, though less reliably than the same technique achieves on non-reasoning models, and with non-negligible degradation to general capabilities. †

For agents

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

get_harvested_code_for_paper("2507.03167")
get_code_for_paper("2507.03167")
have("2507.03167")

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

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

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

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

Connect an agent — have() is free.