Papers › KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?

KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?

19 Jan 2026arXiv:2601.13240added by Syntology

Xue Jiang, Ge Li, Jiaru Qian, Xianjie Shi, Chenjie Li, Hao Zhu, Ziyu Wang, Jielun Zhang, Zheyu Zhao, Lingwei Wu, Kechi Zhang, Jia Li, Wenpin Jiao, Zhi Jin, Yihong Dong

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models (LLMs) excel at general programming but struggle with domain-specific software development, necessitating domain specialization methods for LLMs to learn and utilize domain knowledge and data. However, existing domain-specific code benchmarks cannot evaluate the effectiveness of domain specialization methods, which focus on assessing what knowledge LLMs possess rather than how they acquire and apply new knowledge, lacking explicit knowledge corpora for developing domain specialization methods. To this end, we present KOCO-BENCH, a novel benchmark designed for evaluating domain specialization methods in real-world software development. KOCO-BENCH contains 6 emerging domains with 11 software frameworks and 25 projects, featuring curated knowledge corpora alongside multi-granularity evaluation tasks including domain code generation (from function-level to project-level with rigorous test suites) and domain knowledge understanding (via multiple-choice Q&A). Unlike previous benchmarks that only provide test sets for direct evaluation, KOCO-BENCH requires acquiring and applying diverse domain knowledge (APIs, rules, constraints, etc.) from knowledge corpora to solve evaluation tasks. Our evaluations reveal that KOCO-BENCH poses significant challenges to state-of-the-art LLMs. Even with domain specialization methods (e.g., SFT, RAG, kNN-LM) applied, improvements remain marginal. Best-performing coding agent, Claude Code, achieves only 34.2%, highlighting the urgent need for more effective domain specialization methods. We release KOCO-BENCH, evaluation code, and baselines to advance further research at https://github.com/jiangxxxue/KOCO-bench.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2601.13240")

Code

Syntology Ran 3 of 8 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 3 ran with no contract checked.

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

jiangxxxue/KOCO-bench found in paper text by Syntology report

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

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

3ran
5unverified

Licence: 8 of the 8 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 jiangxxxue/KOCO-bench. “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.

analyze_imports jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_code_generation/tensorrt_model_optimizer_CH/test_examples/Nemo/code/nemo_dependencies.py found in paper text by Syntology ran no licence file found · pointer only · b440f7f9d47e9715 · report
find_python_files jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_code_generation/tensorrt_model_optimizer_CH/test_examples/Nemo/code/nemo_dependencies.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 6c5bcba1a5bb7625 · report
find_top_level_packages jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_code_generation/tensorrt_model_optimizer_CH/test_examples/Nemo/code/nemo_dependencies.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 167ef881cd9f9133 · report
find_files_with_string jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_knowledge_understanding/repositories/VSLAM-LAB/utilities.py found in paper text by Syntology unverified no licence file found · pointer only · 7b85f391893bd706 · report
format_correct_answer jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_knowledge_understanding/problems/json_to_markdown.py found in paper text by Syntology unverified no licence file found · pointer only · 554f1a49d8dd0f04 · report
format_problem jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_knowledge_understanding/problems/json_to_markdown.py found in paper text by Syntology unverified no licence file found · pointer only · ccc4e5260b621cda · report
format_problem_type jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_knowledge_understanding/problems/json_to_markdown.py found in paper text by Syntology unverified no licence file found · pointer only · b6acdf2863ef4ab7 · report
ws jiangxxxue/KOCO-bench/KOCO-bench-ch/domain_knowledge_understanding/repositories/VSLAM-LAB/utilities.py found in paper text by Syntology unverified no licence file found · pointer only · 77834f637e276b27 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.13240, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

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