SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.00014 · 2025

SWE-Bench-CL: Continual Learning for Coding Agents

arXiv · PDF · Open in the Atlas

Code that ran

4 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; 3 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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.00014.json · badge: /api/ran/2507.00014.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
thomasjoshi/agents-never-forget canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_levenshtein_distance Ran
ran, honoured the contract we drafted
thomasjoshi/agents-never-forget/eval_v1/analysis.py
code served (permissive licence) · get_code("303acf42ea51afb7")
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 nltk
from nltk.metrics import distance

# Construct valid arguments for calculate_levenshtein_distance
ARGS = {
    "s1": "hello world",
    "s2": "hallo world",
    "level": "char"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
nltk — 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
load_or_initialize_state Ran
ran; our contract draft was wrong, not the code
thomasjoshi/agents-never-forget/eval_v1/eval_procedure.py
code served (permissive licence) · get_code("8fbf533433a94b7d")
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 os
import json
import tempfile
import shutil
from typing import Dict

# Create a temporary directory for test files
test_dir = tempfile.mkdtemp()
eval_results_dir = os.path.join(test_dir, 'eval_results')
os.makedirs(eval_results_dir, exist_ok=True)

# Temporarily override the module-level constants for testing
import sys
from unittest.mock import patch

# Create a minimal state file for testing
state_file_path = os.path.join(eval_results_dir, 'eval_state.json')
initial_state = {
    'evaluation_run_timestamp': '20240101-120000',
    'current_swe_bench_cl_dataset_path': os.path.abspath('../data/SWE-Bench-CL-Curriculum.json'),
    'task_eval_progress': {},
    'parsed_harness_results_data': {},
    'overall_results_list': [],
    'overall_results_summary_df_path': None
}

with open(state_file_path, 'w') as f:
    json.dump(initial_state, f, indent=4)

# Define ARGS with all parameters for load_or_initialize_state
ARGS = {
    'force_fresh_start': False
}
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
setup_repository Ran
ran; our contract draft was wrong, not the code
thomasjoshi/agents-never-forget/eval_v2_agent/eval_procedure.py
code served (permissive licence) · get_code("8f76660febbbdff5")
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 PosixPath. 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
from pathlib import Path
from typing import Optional, Callable
import logging

# Set up logging
logging.basicConfig(level=logging.INFO)

# Create a temporary directory for the test
temp_dir = tempfile.mkdtemp()
base_clones_dir = Path(temp_dir) / "clones"
base_clones_dir.mkdir(parents=True, exist_ok=True)

# Define a dummy_files_setup callable that creates some test files
def dummy_files_setup(repo_path: Path) -> None:
    """Create dummy files in a local repository."""
    (repo_path / "README.md").write_text("# Test Repository")
    (repo_path / "test.py").write_text("print('hello')")

# Prepare arguments for setup_repository
repo_identifier = "local/test_project"
commit_hash = "abc123def456"
base_clones_dir = base_clones_dir

ARGS = {
    "repo_identifier": repo_identifier,
    "commit_hash": commit_hash,
    "base_clones_dir": base_clones_dir,
    "dummy_files_setup": dummy_files_setup,
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
setup_swe_bench Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
thomasjoshi/agents-never-forget/eval_v1/eval_procedure.py
code served (permissive licence) · get_code("3a2d093e98a59ef5")
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 logging
import tempfile
from pathlib import Path

logging.basicConfig(level=logging.INFO)

ARGS = {
    'repo_path': str(Path(tempfile.gettempdir()) / 'swe_bench_test')
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
swebench — 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
get_current_commit Not yet run
unverified (harvested, no recorded run)
thomasjoshi/agents-never-forget/eval_v2_agent/eval_procedure.py
code served (permissive licence) · get_code("c49f36d21e1a7bc9")
How it ran

no invocation recorded.

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

Large Language Models (LLMs) have achieved impressive results on static code-generation benchmarks, but real-world software development unfolds as a continuous stream of evolving issues, fixes, and feature requests. We introduce SWE-Bench-CL, a novel continual learning benchmark built on the human-verified SWE-Bench Verified dataset introduced by OpenAI and Princeton-NLP in 2024. By organizing GitHub issues into chronologically ordered sequences that reflect natural repository evolution, SWE-Bench-CL enables direct evaluation of an agent's ability to accumulate experience, transfer knowledge across tasks, and resist catastrophic forgetting. We complement the dataset with (i) a preliminary analysis of inter-task structural similarity and contextual sensitivity, (ii) an interactive LangGraph-based evaluation framework augmented with a FAISS-backed semantic memory module, and (iii) a suite of specialized continual learning metrics -- including average accuracy, forgetting, forward/backward transfer, tool-use efficiency, and a generalized Composite Continual Learning Score and CL-F-beta score -- to capture the stability-plasticity trade-off. We outline a rigorous experimental protocol comparing memory-enabled and memory-disabled agents across diverse Python repositories. All code and data are publicly available at https://github.com/thomasjoshi/agents-never-forget, providing the community with a reproducible platform for developing more adaptive and robust AI agents in software engineering.

For agents

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

get_harvested_code_for_paper("2507.00014")
get_code_for_paper("2507.00014")
have("2507.00014")

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

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

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

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

Connect an agent — have() is free.