SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.14624 · ICML · 2026

Asking What Matters: Reward-Driven Clarification for Software Engineering Tasks

Graham Neubig, Sanidhya Vijayvargiya, Vijay Viswanathan

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2604.14624.json · badge: /api/ran/2604.14624.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
astropy/astropy canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
binary_operation Ran
ran; our contract draft was wrong, not the code
astropy/astropy/astropy/modeling/core.py
code served (permissive licence) · get_code("43e753b0a3795f3d")
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 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 torch
import operator

torch.manual_seed(0)

# Define the binary operator - using a simple addition operator
binoperator = operator.add

# Test case 1: Simple scalar values
left_scalar = 5
right_scalar = 3

# Test case 2: Tuple of operands
left_tuple = (torch.tensor([1, 2, 3, 4]), torch.tensor([5, 6, 7, 8]))
right_tuple = (torch.tensor([2, 3, 4, 5]), torch.tensor([1, 1, 1, 1]))

# Choose to test with tuples
left = left_tuple
right = right_tuple

ARGS = {
    "binoperator": binoperator,
    "left": left,
    "right": right,
}
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 2, dtype family int — 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
fitter_to_model_params_array Ran
ran; our contract draft was wrong, not the code
astropy/astropy/astropy/modeling/fitting.py
code served (permissive licence) · get_code("9048ffebd830d952")
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 (5,) 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
from unittest.mock import MagicMock

# Create a mock model with all required attributes and methods
class MockParameter:
    def __init__(self, value):
        self.value = value

class MockModel:
    def __init__(self):
        self.param_names = ['param_a', 'param_b', 'param_c']
        self.parameters = np.array([1.0, 2.0, 3.0, 4.0, 5.0])
        self.has_fixed = True
        self.has_tied = True
        self.has_bounds = True
        
        # Create bounds for each parameter
        self.bounds = {
            'param_a': (0.5, 2.5),
            'param_b': (None, 5.0),
            'param_c': (1.0, None)
        }
        
        # Set up fixed and tied parameters
        self.fixed = {
            'param_a': False,
            'param_b': True,
            'param_c': False
        }
        
        self.tied = {
            'param_a': False,
            'param_b': False,
            'param_c': lambda m: m.param_a.value * 2
        }
        
        # Set up parameter metrics with slice objects and shapes
        self.param_a = MockParameter(1.0)
        self.param_b = MockParameter(2.0)
        self.param_c = MockParameter(3.0)
        
        self._param_metrics = {
            'param_a': {'slice': slice(0, 2), 'size': 2, 'shape': (2,)},
            'param_b': {'slice': slice(2, 3), 'size': 1, 'shape': (1,)},
            'param_c': {'slice': slice(3, 5), 'size': 2, 'shape': (2,)}
        }
    
    def _array_to_parameters(self):
        pass

# Create mock model instance
model = MockModel()

# Create fit parameter values (excluding the fixed param_b)
# param_a has 2 values, param_c has 2 values = 4 total fit parameters
fps = np.array([1.5, 2.0, 4.5, 5.5])

ARGS = {
    'model': model,
    'fps': fps,
    'use_min_max_bounds': True,
    'fit_param_indices': [0, 2]  # indices of param_a and param_c (param_b is fixed, so excluded)
}
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 (5,) — shape (5,) 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_index Ran
ran, honoured the contract we drafted
astropy/astropy/astropy/modeling/bounding_box.py
code served (permissive licence) · get_code("b0584c9e625db49c")
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 numpy as np

class MockModel:
    def __init__(self):
        self.inputs = ["input_a", "input_b", "input_c"]

model = MockModel()

# Test with string key
key_string = "input_b"

# Test with integer key
key_integer = 1

ARGS = {
    "model": model,
    "key": key_string
}
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 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
get_name Ran
ran; our contract draft was wrong, not the code
astropy/astropy/astropy/modeling/bounding_box.py
code served (permissive licence) · get_code("7825cbf13229811e")
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

class MockModel:
    def __init__(self):
        self.inputs = ["input_0", "input_1", "input_2"]

torch.manual_seed(0)
model = MockModel()
index = 1

ARGS = {
    "model": model,
    "index": index
}
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
model_to_fit_params Ran
ran; our contract draft was wrong, not the code
astropy/astropy/astropy/modeling/fitting.py
code served (permissive licence) · get_code("8428763ff9fd33ae")
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 numpy as np

class MockModel:
    def __init__(self):
        self.param_names = ['param_a', 'param_b', 'param_c']
        self.parameters = np.array([1.0, 2.0, 3.0])
        self.bounds = {
            'param_a': (0.0, 10.0),
            'param_b': (None, 5.0),
            'param_c': (-np.inf, None)
        }
        self.has_fixed = True
        self.has_tied = False
        self.fixed = {
            'param_a': False,
            'param_b': True,
            'param_c': False
        }
        self.tied = {
            'param_a': False,
            'param_b': False,
            'param_c': False
        }
        self._param_metrics = {
            'param_a': {'slice': 0},
            'param_b': {'slice': 1},
            'param_c': {'slice': 2}
        }

model = MockModel()

ARGS = {
    'model': model
}
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 — 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

Also present in other papers' code

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

Humans often specify tasks incompletely, so assistants must know when and how to ask clarifying questions. However, effective clarification remains challenging in software engineering tasks as not all missing information is equally valuable, and questions must target information users can realistically provide. We study clarification in real software engineering tasks by quantifying which types of information most affect task success and which questions elicit useful responses from simulated users. Using Shapley attribution and distributional comparisons, we identify two key properties of effective clarification: task relevance (which information predicts success) and user answerability (what users can realistically provide). We operationalize these properties as multi-stage reinforcement learning rewards to train CLAR-ITI, an 8B-parameter clarification module, that matches GPT-5's resolution rate on underspecified issues while generating 41% fewer questions. Our results suggest that grounding reward design in empirical analysis of information impact and user answerability improves clarification efficiency.

For agents

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

get_harvested_code_for_paper("2604.14624")
get_code_for_paper("2604.14624")
have("2604.14624")

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

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

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

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

Connect an agent — have() is free.