SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.10738 · 2024

Let's Learn Step by Step: Enhancing In-Context Learning Ability with Curriculum Learning

arXiv · PDF · Open in the Atlas

Code that ran

7 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2402.10738.json · badge: /api/ran/2402.10738.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
61peng/curri_learning canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
get_choice_sep Ran
ran; our contract draft was wrong, not the code
61peng/curri_learning/src/datasets/instructions.py
pointer only (licence: NONE) · get_code("a0eacdee84b33bd8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

get_length Ran
ran, honoured the contract we drafted
61peng/curri_learning/src/dataset_readers/inference_dsr.py
pointer only (licence: NONE); the stored copy get_code serves, from shark-nlp/self-adaptive-icl, is pointer only (licence: NONE) · get_code("790c0d445bff422d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

get_sequence Ran
ran; our contract draft was wrong, not the code
61peng/curri_learning/script/one_stage.py
pointer only (licence: NONE) · get_code("ec8412213576908e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

get_task_type Ran
ran; our contract draft was wrong, not the code
61peng/curri_learning/src/datasets/instructions.py
pointer only (licence: NONE) · get_code("e6765d84a7746f7e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

get_template Ran
ran; our contract draft was wrong, not the code
61peng/curri_learning/src/datasets/instructions.py
pointer only (licence: NONE) · get_code("8d56b3db40af6433")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

set_field Ran
ran; our contract draft was wrong, not the code
61peng/curri_learning/src/dataset_readers/ppl_inference_cls_dsr.py
pointer only (licence: NONE) · get_code("2cb3cc8f296674aa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

set_length Ran
ran; our contract draft was wrong, not the code
61peng/curri_learning/src/dataset_readers/inference_dsr.py
pointer only (licence: NONE); the stored copy get_code serves, from shark-nlp/self-adaptive-icl, is pointer only (licence: NONE) · get_code("c6a696c2588c1845")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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.

set_length Not yet run
unverified (harvested, no recorded run)
61peng/curri_learning/src/dataset_readers/ppl_inference_cls_dsr.py
pointer only (licence: NONE) · get_code("4588f09a37f2c0bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 61peng/curri_learning 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 7 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, 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.

FunctionAlso present inEarliest-datedOthers named
get_length 1 other paper
1 dated earlier
2212.10375 (2022-12)
Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Ordering
set_length 1 other paper
1 dated earlier
2212.10375 (2022-12)
Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Ordering

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

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Demonstration ordering, which is an important strategy for in-context learning (ICL), can significantly affects the performance of large language models (LLMs). However, most of the current approaches of ordering require high computational costs to introduce the priori knowledge. In this paper, inspired by the human learning process, we propose a simple but effective demonstration ordering method for ICL, named the few-shot In-Context Curriculum Learning (ICCL). The ICCL implies gradually increasing the complexity of prompt demonstrations during the inference process. The difficulty can be assessed by human experts or LLMs-driven metrics, such as perplexity. Then we design extensive experiments to discuss the effectiveness of the ICCL at both corpus-level and instance-level. Moreover, we also investigate the formation mechanism of LLM's ICCL capability. Experimental results demonstrate that ICCL, developed during the instruction-tuning stage, is effective for representative open-source LLMs. To facilitate further research and applications by other scholars, we make the code publicly available.

For agents

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

get_harvested_code_for_paper("2402.10738")
get_code_for_paper("2402.10738")
have("2402.10738")

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

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

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

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

Connect an agent — have() is free.