SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.08597 · EMNLP · 2022

Less is More: Summary of Long Instructions is Better for Program Synthesis

Swaroop Mishra, Chitta Baral, Mihir Parmar, Kirby Kuznia

arXiv · PDF · Open in the Atlas

Code that ran

13 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; 0 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 2 failures of our instrument; 2 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/2203.08597.json · badge: /api/ran/2203.08597.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
kurbster/prompt-summarization canonical (classifier label)
classifier basis not recorded on the link
13 ran · 2 no recorded run
FunctionStatusWhere it lives
clean_codes Ran
ran on a synthesized input
kurbster/prompt-summarization/src/codex_api.py
code served (permissive licence) · get_code("55137d4cd72e9581")
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

# Construct test data for clean_codes function
# The function takes a dict[str, str] of code snippets

codes_input = {
    "code1": "def hello():\n    print('hello')\nhello()",
    "code2": "def world():\n    print('world')\nif __name__ == '__main__':\n    world()",
    "code3": "def test():\n    return 42\ntest()",
    "code4": "def no_call():\n    return 100",
}

ARGS = {
    "codes": codes_input,
}
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
create_test_args Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/run_results.py
code served (permissive licence) · get_code("8404998fd77c69ad")
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

# Create a temporary directory for testing
temp_dir = tempfile.TemporaryDirectory()
dirname = Path(temp_dir.name)

# Ensure the directory exists
dirname.mkdir(exist_ok=True)

# Define ARGS with all parameters for create_test_args
ARGS = {
    'dirname': dirname,
    'debug': 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
detect_difficulty Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/codex_results.py
code served (permissive licence) · get_code("5bcdd21d2b771df9")
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

def detect_summary(prompt):
    summary = os.path.split(prompt)[-1]
    summary = os.path.splitext(summary)[0]
    return summary

def detect_difficulty(prompt):
    difficulty = ['competition', 'interview', 'introductory']
    summary = detect_summary(prompt)
    for d in difficulty:
        if d in prompt:
            return f'{d}-{summary}'

# Setup code to construct valid arguments
prompt = "/path/to/some/competition-problem.txt"

ARGS = {
    "prompt": prompt
}
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
detect_summary Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/codex_results.py
code served (permissive licence) · get_code("2897eee871e8c87a")
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

def detect_summary(prompt):
    summary = os.path.split(prompt)[-1]
    summary = os.path.splitext(summary)[0]
    return summary

ARGS = {
    "prompt": "/path/to/my_file.txt"
}
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
get_completed_problems Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/prompt_generation.py
code served (permissive licence) · get_code("4bb0d274dcde5b94")
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 logging
from pathlib import Path
from unittest.mock import patch

logging.basicConfig(level=logging.DEBUG)

# Mock the glob.glob function to return empty sets since we can't do real file I/O
import glob

def mock_glob(pattern):
    """Mock glob to return empty list - we're testing the function signature, not file operations"""
    return []

# Setup: patch glob.glob before importing/calling the function
with patch('glob.glob', side_effect=mock_glob):
    # Create test arguments
    ARGS = {
        'api': '*'
    }
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
get_json_len Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/result_analysis.py
code served (permissive licence) · get_code("2b82a9649dd68f23")
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 json
import numpy as np
from typing import Iterable, Callable
from pathlib import Path
import tempfile
import os

# Create a temporary directory structure with test data
temp_dir = tempfile.mkdtemp()

# Create mock problem directories with JSON files
problem_names = ['problem_1', 'problem_2', 'problem_3']

for prob_name in problem_names:
    prob_dir = Path(temp_dir) / prob_name
    prob_dir.mkdir(exist_ok=True)
    
    # Create solution.json with some sample data
    solutions = ["solution1", "solution2longer", "sol3"]
    with open(prob_dir / 'solutions.json', 'w') as f:
        json.dump(solutions, f)
    
    # Create all_codes.json with some sample data
    codes = ["code_snippet_1", "code_snippet_2_longer_version", "code3"]
    with open(prob_dir / 'all_codes.json', 'w') as f:
        json.dump(codes, f)

# Monkey-patch PATH_TO_DATA for this execution
import sys
import types

# Create a mock module to override PATH_TO_DATA
mock_module = types.ModuleType('mock_data')
mock_module.PATH_TO_DATA = Path(temp_dir)
mock_module.RESULT_TYPES = {
    'original': 'question.txt',
    'summary': 'summary.txt',
    'expert': 'expert.txt',
    'solution': 'solutions.json',
    'generated': 'all_codes.json'
}

# Define aggregation functions
def mean_agg(arr):
    return float(np.mean(arr))

def max_agg(arr):
    return float(np.max(arr)) if len(arr) > 0 else 0

def sum_agg(arr):
    return float(np.sum(arr))

# Create the arguments dictionary
ARGS = {
    'problems': problem_names,
    'result_type': 'solution',
    'agg_func': mean_agg
}
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 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
get_probs Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/experiment_results.py
code served (permissive licence) · get_code("757f47477f49345b")
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 DataFrame. 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 pandas as pd
import itertools

# Create a small DataFrame for df with some index values
df = pd.DataFrame(
    {'data': [1, 2, 3]},
    index=['problem1', 'problem2', 'problem3']
)

# Create a larger DataFrame for original with multi-level index paths
# The function constructs paths like 'problem1/question.txt', 'problem1/summary.txt', etc.
original_index = [
    'problem1/question.txt',
    'problem1/summary.txt',
    'problem2/question.txt',
    'problem2/summary.txt',
    'problem3/question.txt',
    'problem3/summary.txt',
]
original = pd.DataFrame(
    {'content': ['q1', 's1', 'q2', 's2', 'q3', 's3']},
    index=original_index
)

summary_type = 'summary'

ARGS = {
    'df': df,
    'original': original,
    'summary_type': summary_type
}
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 DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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_question Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/testing_util.py
code served (permissive licence) · get_code("f452e011dda0ca8f")
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 structure for testing
temp_dir = tempfile.mkdtemp()
problem_dir_1 = os.path.join(temp_dir, 'problem_1')
problem_dir_2 = os.path.join(temp_dir, 'problem_2')

os.makedirs(problem_dir_1, exist_ok=True)
os.makedirs(problem_dir_2, exist_ok=True)

# Create a question.txt file in the first problem directory
with open(os.path.join(problem_dir_1, 'question.txt'), 'w') as f:
    f.write('What is the capital of France?\n')
    f.write('The answer is Paris.\n')

# Second problem directory has no question.txt (tests the else branch)

# Create problem_list
problem_list = [problem_dir_1, problem_dir_2]

ARGS = {
    'problem_list': problem_list,
    'prob_index': 0
}
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
get_solutions Ran
ran; our contract draft was wrong, not the code
kurbster/prompt-summarization/src/lib/testing_util.py
code served (permissive licence) · get_code("0c83bb0f43b8dc57")
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 os
import tempfile
import shutil

# Create a temporary directory structure with a solutions.json file
temp_dir = tempfile.mkdtemp()
problem_dir = os.path.join(temp_dir, "problem_0")
os.makedirs(problem_dir, exist_ok=True)

# Create a solutions.json file
solutions_data = {
    "solution_1": {"code": "print('hello')", "score": 0.95},
    "solution_2": {"code": "print('world')", "score": 0.87}
}

solutions_file = os.path.join(problem_dir, "solutions.json")
with open(solutions_file, 'w') as f:
    json.dump(solutions_data, f)

# Create problem_list with the temporary directory
problem_list = [problem_dir]
prob_index = 0

ARGS = {
    "problem_list": problem_list,
    "prob_index": prob_index
}
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
get_valid_problems Ran
ran; our contract draft was wrong, not the code
kurbster/prompt-summarization/src/lib/testing_util.py
code served (permissive licence) · get_code("8bbb265e59e23293")
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 json
import tempfile
import shutil

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()

# Create subdirectories and files to match what the function expects
data_subdir = os.path.join(temp_dir, 'data')
os.makedirs(data_subdir, exist_ok=True)

# Create a few problem folders with the expected files
problem_1 = os.path.join(data_subdir, 'problem_1')
os.makedirs(problem_1, exist_ok=True)
with open(os.path.join(problem_1, 'input_output.json'), 'w') as f:
    json.dump({"test": "data"}, f)

problem_2 = os.path.join(data_subdir, 'problem_2')
os.makedirs(problem_2, exist_ok=True)
with open(os.path.join(problem_2, 'sols.json'), 'w') as f:
    json.dump({"solution": "code"}, f)

# Create a problem folder without valid files (should be skipped)
problem_3 = os.path.join(data_subdir, 'problem_3')
os.makedirs(problem_3, exist_ok=True)
with open(os.path.join(problem_3, 'other_file.txt'), 'w') as f:
    f.write("some content")

ARGS = {
    'data_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 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
read_json Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/run_results.py
code served (permissive licence) · get_code("c26950f1affe1579")
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 with a test JSON file
tmpdir = tempfile.mkdtemp()
dirname = Path(tmpdir)
fname = "test.json"

# Create a valid JSON file
test_data = {"key": "value", "number": 42, "list": [1, 2, 3]}
fpath = dirname / fname
with open(fpath, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "dirname": dirname,
    "fname": fname,
}
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
read_pd Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/experiment_results.py
code served (permissive licence) · get_code("3963b62083828389")
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 DataFrame. 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 pandas as pd
import tempfile
import os

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

# Write a small test CSV with an index column
data = pd.DataFrame({
    'A': [1, 2, 3],
    'B': [4.5, 5.5, 6.5],
    'C': ['x', 'y', 'z']
})
data.index.name = 'idx'
data.to_csv(temp_csv)

ARGS = {
    'fname': temp_csv
}
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 DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
split_prob Ran
ran on a synthesized input
kurbster/prompt-summarization/src/lib/codex_results.py
code served (permissive licence) · get_code("d5958c8cc311cbe7")
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

def split_prob(prob, keep_filename=True):
    tmp = prob.split('Prompt-Summarization/data/')[-1]
    if keep_filename:
        return tmp
    return os.path.split(tmp)[0]

# The function takes a string `prob` and splits it based on a path pattern
# It also takes a boolean `keep_filename` to control return behavior

ARGS = {
    'prob': '/home/user/Prompt-Summarization/data/output.txt',
    'keep_filename': 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 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_score_of_columns Not yet run
unverified (harvested, no recorded run)
kurbster/prompt-summarization/src/lib/experiment_results.py
code served (permissive licence) · get_code("e5982ac9f842cd84")
How it ran

no invocation recorded.

get_text_len Not yet run
unverified (harvested, no recorded run)
kurbster/prompt-summarization/src/lib/result_analysis.py
code served (permissive licence) · get_code("ba99639d7639c9cc")
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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 13 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
get_solutions 4 other papers
2 dated earlier, 2 later
2105.09938 (2021-05)
Measuring Coding Challenge Competence With APPS
2107.03374 (2021-07)
Evaluating Large Language Models Trained on Code
2403.04706 (2024-03)
Common 7B Language Models Already Possess Strong Math Capabilities
and 1 more not named here
get_valid_problems 4 other papers
2 dated earlier, 2 later
2105.09938 (2021-05)
Measuring Coding Challenge Competence With APPS
2107.03374 (2021-07)
Evaluating Large Language Models Trained on Code
2403.04706 (2024-03)
Common 7B Language Models Already Possess Strong Math Capabilities
and 1 more not named here

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

Despite the success of large pre-trained language models (LMs) such as Codex, they show below-par performance on the larger and more complicated programming related questions. We show that LMs benefit from the summarized version of complicated questions. Our findings show that superfluous information often present in problem description such as human characters, background stories, and names (which are included to help humans in understanding a task) does not help models in understanding a task. To this extent, we create a metadataset from the frequently used APPS dataset and the newly created CodeContests dataset for the program synthesis task. Our meta-dataset consists of human and synthesized summaries of the long and complicated programming questions. Experimental results on Codex show that our proposed approach outperforms baseline by 8.13% on the APPS dataset and 11.88% on the CodeContests dataset on average in terms of strict accuracy. Our analysis shows that summaries significantly improve performance for introductory (9.86%) and interview (11.48%) programming questions. However, it shows improvement by a small margin (∼ 2%) for competitive programming questions, implying scope for future research in this direction. 1

For agents

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

get_harvested_code_for_paper("2203.08597")
get_code_for_paper("2203.08597")
have("2203.08597")

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

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

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

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

Connect an agent — have() is free.