Papers › CodeAssistBench (CAB): Dataset & Benchmarking for Multi-turn Chat-Based Code Assistance

CodeAssistBench (CAB): Dataset & Benchmarking for Multi-turn Chat-Based Code Assistance

14 Jul 2025arXiv:2507.10646archive 2025-07-28

Myeongsoo Kim, Shweta Garg, Baishakhi Ray, Varun Kumar, Anoop Deoras

Programming assistants powered by large language models have transformed software development, yet most benchmarks focus narrowly on code generation tasks. Recent efforts like InfiBench and StackEval attempt to address this gap using Stack Overflow data but remain limited to single-turn interactions in isolated contexts, require significant manual curation, and fail to represent complete project environments. We introduce CodeAssistBench (CAB), the first benchmark framework for evaluating multi-turn programming assistance in realistic settings that address real-world questions about actual codebases. Unlike existing programming Q&A benchmarks, CAB automatically generates scalable datasets from question-related GitHub issues using configurable parameters (e.g., repository creation date, star count, programming languages), and includes automatic containerization of codebases for evaluation. It then evaluates models through simulated users in these containerized environments with full codebase access. Using this framework, we constructed a test set of 3,286 real-world programming questions across 231 repositories, spanning seven programming languages and diverse problem domains. Our evaluation of leading LLMs reveals a substantial capability gap: while models perform well on Stack Overflow questions with success rates of 70-83%, they resolve only up to 16.49% of CAB's recent issues. This discrepancy highlights the challenges of providing assistance in complex, project-specific contexts versus answering standalone questions.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2507.10646")

Code

Syntology Ran 0 of 24 code samples harvested from 1 repository linked to this paper; 24 have no recorded run.

By repository: found in paper text by Syntology: 24 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

amazon-science/CodeAssistBench found in paper text by SyntologyApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 0 ran; 0 honoured the contract we drafted; 24 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

24unverified

Licence: 0 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from amazon-science/CodeAssistBench. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_task_ids_to_dataset amazon-science/CodeAssistBench/script/add_task_id.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c765c446ca7e2dac · report
call_llm_with_adaptive_context amazon-science/CodeAssistBench/script/generate_dockerfile.py found in paper text by Syntology unverified Apache-2.0 (permissive) · dc66001eb75b6b17 · report
classify_issue amazon-science/CodeAssistBench/script/docker_filter.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e39cf6d4f8748818 · report
contains_media amazon-science/CodeAssistBench/script/collect_1000_issues.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d86db1a58b7c185c · report
contains_media amazon-science/CodeAssistBench/script/get_github_issue.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7804bcc5b694e016 · report
convert_to_jsonl amazon-science/CodeAssistBench/script/convert_to_jsonl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 404dd6e9ec43f905 · report
evaluate_issue amazon-science/CodeAssistBench/script/conv_filter.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 47526b086dc31647 · report
extract_repo_name_from_url amazon-science/CodeAssistBench/script/generate_dockerfile_with_strands.py found in paper text by Syntology unverified Apache-2.0 (permissive) · dbf897955d48ae15 · report
generate_failure_explanation amazon-science/CodeAssistBench/script/generate_dockerfile.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 890c6f2df7f0bc62 · report
generate_response amazon-science/CodeAssistBench/script/docker_filter.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3ab69c08296acaf6 · report
get_commit_before_date amazon-science/CodeAssistBench/script/merge_commit_ids.py found in paper text by Syntology unverified Apache-2.0 (permissive) · aae2d43cdb39625c · report
get_first_commit_date amazon-science/CodeAssistBench/script/filter_by_commit_date.py found in paper text by Syntology unverified Apache-2.0 (permissive) · af0f9bf1386e13d8 · report
get_issues amazon-science/CodeAssistBench/script/get_github_issue.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 27882b8a9c5e9151 · report
get_repo_license amazon-science/CodeAssistBench/script/collect_1000_issues.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 749e16b560b7b6f0 · report
load_commits_for_repo amazon-science/CodeAssistBench/script/merge_commit_ids.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9009ab6e87dcd0f1 · report
parse_github_url amazon-science/CodeAssistBench/script/get_github_issue.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8f0e8db8999c8578 · report
process_issue_file amazon-science/CodeAssistBench/script/merge_commit_ids.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5c1d0e3f4624c9bd · report
save_llm_response amazon-science/CodeAssistBench/script/docker_filter.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4394bd84adf0886c · report
search_repos_with_issues amazon-science/CodeAssistBench/script/collect_1000_issues.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9f6003f231d81758 · report
setup_logging amazon-science/CodeAssistBench/script/generate_dockerfile.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 841dffee01585864 · report
setup_logging amazon-science/CodeAssistBench/script/generate_dockerfile_with_strands.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4aa375e6a657c179 · report
test_build_dockerfile amazon-science/CodeAssistBench/script/generate_dockerfile_with_strands.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9aa073e29d69e5c5 · report
validate_date_format amazon-science/CodeAssistBench/script/get_github_repo.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e4b4ca867e839824 · report
verify_jsonl amazon-science/CodeAssistBench/script/convert_to_jsonl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 499605db5913293e · report

Tasks

BenchmarkingCode Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections