SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.15960 · 2023

MoTCoder: Elevating Large Language Models with Modular of Thought for Challenging Programming Tasks

arXiv · PDF · Open in the Atlas

Code that ran

4 of 8 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, 2 violated it and 0 have no contract verdict; 2 failures of our instrument; 4 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/2312.15960.json · badge: /api/ran/2312.15960.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
dvlab-research/motcoder canonical (classifier label)
classifier basis: census
4 ran · 4 no recorded run
FunctionStatusWhere it lives
cc2apps Ran
ran; our contract draft was wrong, not the code
dvlab-research/motcoder/eval/dataset/data.py
pointer only (licence: NONE) · get_code("5b8f5baa0fc73ca1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

custom_compare_ Ran
ran, violated the contract we drafted
dvlab-research/motcoder/eval/testing_util.py
pointer only (licence: NONE) · get_code("cc054f0a84bb15b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_code_blocks Ran
ran; our contract draft was wrong, not the code
dvlab-research/motcoder/eval/utils.py
pointer only (licence: NONE) · get_code("3d0fafc764fb7aec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

stripped_string_compare Ran
ran, violated the contract we drafted
dvlab-research/motcoder/eval/testing_util.py
pointer only (licence: NONE) · get_code("79fec3b223bb4bac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_data Not yet run
unverified (harvested, no recorded run)
dvlab-research/motcoder/eval/dataset/data.py
pointer only (licence: NONE) · get_code("bca9e14ac3aef757")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_batch Not yet run
unverified (harvested, no recorded run)
dvlab-research/motcoder/eval/vllm_fix.py
pointer only (licence: NONE) · get_code("8fde5367be8c1218")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_item Not yet run
unverified (harvested, no recorded run)
dvlab-research/motcoder/eval/vllm_fix.py
pointer only (licence: NONE) · get_code("258657af338c1b25")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

reflection_prompt Not yet run
unverified (harvested, no recorded run)
dvlab-research/motcoder/eval/vllm_fix.py
pointer only (licence: NONE) · get_code("d1021aa710d40741")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/motcoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 6 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
custom_compare_ 2 other papers
2 later
2404.09486 (2024-04)
MMCode: Benchmarking Multimodal Large Language Models for Code Generation with Visually Rich Programming Problems
2406.14629 (2024-06)
Can LLMs Learn by Teaching for Better Reasoning? A Preliminary Study
stripped_string_compare 1 other paper
1 later
2406.14629 (2024-06)
Can LLMs Learn by Teaching for Better Reasoning? A Preliminary Study

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

Large Language Models (LLMs) have showcased impressive capabilities in handling straightforward programming tasks. However, their performance tends to falter when confronted with more challenging programming problems. We observe that conventional models often generate solutions as monolithic code blocks, restricting their effectiveness in tackling intricate questions. To overcome this limitation, we present Module-of-Thought Coder (MoTCoder). We introduce a framework for MoT instruction tuning, designed to promote the decomposition of tasks into logical sub-tasks and sub-modules. Our investigations reveal that, through the cultivation and utilization of sub-modules, MoTCoder significantly improves both the modularity and correctness of the generated solutions, leading to substantial pass@1 improvements of 5.9% on APPS and 5.8% on CodeContests. MoTCoder also achieved significant improvements in self-correction capabilities, surpassing the current SOTA by 3.3%. Additionally, we provide an analysis of between problem complexity and optimal module decomposition and evaluate the maintainability index, confirming that the code generated by MoTCoder is easier to understand and modify, which can be beneficial for long-term code maintenance and evolution. Our codes are available at https://github.com/dvlab-research/MoTCoder.

For agents

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

get_harvested_code_for_paper("2312.15960")
get_code_for_paper("2312.15960")
have("2312.15960")

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

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

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

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

Connect an agent — have() is free.