In this article
A submission is not necessarily a correct solution; retain its problem identity, judge status, and original language specification.
Start with submissions rather than assumed solutions
Project CodeNet collects programming submissions from online judges. The paper presents the resource for several learning tasks, while the official documentation explicitly distinguishes submissions from accepted solutions. Rejected programs can contain compilation errors, wrong outputs, or resource failures. They are useful for classification and repair studies, but including them as positive generation targets changes the objective. Select status deliberately rather than assuming every source file is a reference implementation.
Join problem metadata to submission metadata
The documentation separates a dataset-level problem list from per-problem CSV files. A submission record links problem identity, submission identity, user identity, language, status, and file information. Preserve that relationship during export instead of constructing one anonymous bag of code. The same programming problem can have many submissions across languages. A random row split can therefore test recognition of already seen problem behavior rather than generalization to a new specification. The existing guide to document-level split leakage explains that grouping distinction.
Keep normalized and original language labels
CodeNet records both a mapped language and its original specification. The mapped value organizes directories; the original can retain compiler or language-version detail. Treating every file under a language directory as compatible with one modern runtime loses that information. Likewise, a parser failure does not necessarily prove the submission was rejected by its original judge: accepted code can use nonstandard features. Record the parser and transformation in provenance metadata before comparing token, tree, or graph representations.
Validate the selected subset in both directions
The aggregation-tool documentation describes selection by problem, language, status, and code size. It also provides an integrity check between metadata entries and source-file locations in both directions. That is valuable when filtering a large archive: a metadata row without its file differs from a file omitted by a query. Save selection criteria and retained identities together. The tools’ duplicate analysis can reveal repeated source content, but a content duplicate and a repeated programming problem remain separate grouping questions.
Interpret judge measurements within their context
Metadata contains resource measurements and may have missing or invalid values for rejected submissions. Do not average sentinel values into a runtime comparison or treat historically observed judge times as measurements on a new machine. For an editorial experiment, compare acceptedness, error category, and task family separately before proposing a performance study. CodeNet is useful for controlled multilingual program analysis and data selection. It does not supply one universal train/test split for every derived task, nor does passing an original judge establish correctness for every possible input or later environment.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.