training-data-foundation / cards /rosetta-code-github-mirror.yaml
Battam's picture
Release release-2026-11-17.3, made by the table store from release-2026-11-17.2 (part 6)
1e9c2f8 verified
Raw History Blame Contribute Delete
44.6 kB
# Source card (card_format training-data-foundation). Readers: agents that choose sources and fetch files to build # terminal tasks. Field names follow the corpus card format where the meaning is the same; provenance is where # the data comes from and its licence, labeling is who judged the card. # evidence.<field path>.fill: auto (computed from the index), judgment (from sample files downloaded and read), # derived (fixed rule over other fields), unfilled (no sample evidence yet, left empty on purpose; basis says # why and the plan), not_applicable (this class of card never has a value for the field; basis says why). # Sample numbers #NN refer to sample.files. Ratios are counts in the sample, not estimates for the source. card_version: 5 card_format: training-data-foundation source: rosetta-code-github-mirror parent: null title: "Rosetta Code (GitHub community mirror)" description: "Files in acmeism/RosettaCodeData on GitHub, a community mirror of Rosetta Code: programming task descriptions and solutions in many languages, organized by task and by language. The mirror is not affiliated with the operators of Rosetta Code. One pointer per file in the repository tree at one pinned commit (commit 1d475861d7141ef2fafff293d9339f56e4b0f5db), listed with the GitHub REST git trees API. Collections are the repository's top-level directories (task, lang, conf, bin; files at the root are in root)." catalog: agentic-env-index snapshot: {rev: "7115287fc9ceb49ea92ecdb7a153cba1a6dcab62", at: "2026-10-04", rev_at: "2026-10-04T07:12:32Z"} audit: {status: draft, reviewed_by: null} labeling: {labeler: null, model: null, brief_sha: null} status: flagged status_reasons: ["no benchmark overlap scan result for this source"] duplicate_of: null prior_taxon: null provenance: url: null licence: "Not stated by the mirror (upstream Rosetta Code: GNU FDL)" licence_url: "https://github.com/acmeism/RosettaCodeData" per_collection: null licence_tier_counts: {unknown: 148991} training_ok: unknown redistribution_ok: unknown attribution: null per_file: null licence_tiers: {unknown/unknown: 148991} spdx_top: {"(none)": 148991} spdx_distinct: 1 licence_sample_check: sample_n: 30 declared: 0 unknown_or_missing: 30 note: "no licence text in any sampled file; the wiki's site-level terms apply" license: note: "The mirror states no license: its ReadMe.md has no license statement, there is no LICENSE file and GitHub detects no license. The content comes from Rosetta Code, which states: \"Content, once submitted to this site, becomes available under the GFDL (v1.2), as well as any more permissive license the contributor chooses\" and \"Content is available under GNU Free Document License 1.3 unless otherwise noted.\" The GitHub Terms of Service (D.5) grant other users \"a nonexclusive, worldwide license to use, display, perform and reproduce (by forking) Your Content through the Service as permitted by GitHub's functionality.\" Both tiers are recorded as unknown." tier: unknown ship: "no" unit: pointer_level: file units: {file: 148991} state: expanded expanded_count: null rows_without_size: 0 collections: distinct: 5 top: {task: 146973, lang: 2002, bin: 8, root: 6, conf: 2} sub_collections: null batches: null n_ext: 756 usable_unit: "one task directory: its 00-TASK.txt statement plus one solution file per language (some languages carry several numbered variants); language directories hold only a short 00-META.yaml" size: {max: 230481, p50: 437, p95: 3569, bytes: 152606756, files: 148991, truncated_listing: false} form: by_ext: basic: 10159 j: 3397 py: 3054 yaml: 2761 txt: 2759 pas: 2621 java: 2305 hs: 2304 jq: 2288 c: 2260 pl: 2239 raku: 2199 phix: 2161 rexx: 2106 go: 2091 jl: 2064 js: 1985 wren: 1955 cpp: 1953 nim: 1871 "(736 other types)": 94459 size_quantiles: p25: 149 p50: 437 p75: 1050 p90: 2228 p95: 3569 p99: 9380 p99.9: 29005 min: 0 max: 230481 method: "nearest rank: sort sizes ascending, take the k-th with k = max(1, ceil(q * n)); rows without a size are left out" by_ext_size: - {ext: basic, rows: 10159, bytes: 9232683, p50: 506, p95: 3070, max: 37297} - {ext: j, rows: 3397, bytes: 1187647, p50: 148, p95: 1259, max: 10070} - {ext: py, rows: 3054, bytes: 3623443, p50: 598, p95: 4043, max: 46390} - {ext: yaml, rows: 2761, bytes: 183746, p50: 57, p95: 84, max: 15467} - {ext: txt, rows: 2759, bytes: 4111876, p50: 859, p95: 4041, max: 229835} - {ext: pas, rows: 2621, bytes: 3501483, p50: 679, p95: 4288, max: 147200} - {ext: java, rows: 2305, bytes: 3976083, p50: 1058, p95: 5425, max: 29084} - {ext: hs, rows: 2304, bytes: 1709761, p50: 439, p95: 2570, max: 11521} - {ext: jq, rows: 2288, bytes: 1429830, p50: 339, p95: 2097, max: 8247} - {ext: c, rows: 2260, bytes: 2918033, p50: 806, p95: 4125, max: 21475} - {ext: pl, rows: 2239, bytes: 1632237, p50: 431, p95: 2223, max: 18926} - {ext: raku, rows: 2199, bytes: 1745570, p50: 419, p95: 2772, max: 14567} - {ext: phix, rows: 2161, bytes: 16319705, p50: 2661, p95: 27871, max: 230481} - {ext: rexx, rows: 2106, bytes: 4226476, p50: 1369, p95: 5724, max: 37992} - {ext: go, rows: 2091, bytes: 3087228, p50: 986, p95: 4462, max: 29205} - {ext: jl, rows: 2064, bytes: 2153054, p50: 552, p95: 3662, max: 24845} - {ext: js, rows: 1985, bytes: 2846951, p50: 658, p95: 5348, max: 26251} - {ext: wren, rows: 1955, bytes: 3009281, p50: 916, p95: 4990, max: 35170} - {ext: cpp, rows: 1953, bytes: 3267462, p50: 1070, p95: 5282, max: 16095} - {ext: nim, rows: 1871, bytes: 2268878, p50: 708, p95: 3957, max: 25330} over_cap: cap: 61944279 rows_over: 0 bytes_over: 0 note: "Default fetch-time cap (the overall p99 of benchmark task files, provisional). It only stops a download; it removes no rows from the index or the default subset." largest: - pointer_id: "rosetta-code-github-mirror:task:Blackjack-strategy/Phix/blackjack-strategy.phix" size_bytes: 230481 - {pointer_id: "rosetta-code-github-mirror:lang:Amazing-Hopper/00-LANG.txt", size_bytes: 229835} - {pointer_id: "rosetta-code-github-mirror:task:Hexapawn/Pascal/hexapawn.pas", size_bytes: 147200} - pointer_id: "rosetta-code-github-mirror:task:15-puzzle-game-in-3D/Phix/15-puzzle-game-in-3d.phix" size_bytes: 144907 - pointer_id: "rosetta-code-github-mirror:task:Rosetta-Code-Run-examples/Phix/rosetta-code-run-examples.phix" size_bytes: 144274 date_years: null media_type: {"(none)": 148991} facets: kind: solution: 143457 task-meta: 1758 task-description: 1758 lang-description: 1001 lang-meta: 1001 project: 16 artifact: [source-code, documents-text] source_origin: [remote-git-repository] parse_cost: trivial parse_quirks: - "the file extension does not always tell the language to file(1): Go, Java and Rust read as C source, Perl as REXX (#06, #08, #24, #19)" - "task statements are MediaWiki markup with inline HTML (#26)" - "numbered variants (-1, -2, -3) are alternative solutions of one task in one language" - "files are small (median 437 bytes) and many need an uncommon interpreter (ALGOL 68, Phix, Zkl, Wren)" structure: self_describing: false integrity_builtin: [] has_reference_output: false invariants: - {name: path_is_task_language_file, check: null} - {name: solution_dir_names_a_task_with_00_TASK_txt, check: null} tools: [git, "per-language compilers and interpreters"] ships: problem_statement: {present: true} reference_solution: share: {k: 28, "n": 30} present: null tests: present: false coverage: "none: no test files; a few solutions print their own results" runs: null env_definition: {present: false, kind: none, runs: null} known_answer: {present: false} generator: {present: false} upstream_labels: present: true fields: ["task directory name", "language directory name", "00-META.yaml from"] class: raw subject: domain_span: [D1.5, D10.1, D5.8] shape_span: [S1_code_to_tests] skill_family_span: [skill.software, skill.reasoning] ont_domain: [software-systems, math-statistics, games-puzzles] tech_vocabulary: ["Rosetta Code", "00-TASK.txt", "00-META.yaml", Ada, "ALGOL 68", Haskell, J, jq, Raku, REXX] label: summary: null source_kind: null notes: null excluded_parts: null domain_span: - code: D1.5 why: "tasks are algorithms and numerics (QR decomposition, CORDIC, integration, binary search) and puzzles (peaceful queens, Langton's ant, state name puzzle)" evidence: ["#03", "#06", "#11", "#15", "#18", "#24", "#26"] - code: D10.1 why: "tasks are algorithms and numerics (QR decomposition, CORDIC, integration, binary search) and puzzles (peaceful queens, Langton's ant, state name puzzle)" evidence: ["#03", "#06", "#11", "#15", "#18", "#24", "#26"] - code: D5.8 why: "tasks are algorithms and numerics (QR decomposition, CORDIC, integration, binary search) and puzzles (peaceful queens, Langton's ant, state name puzzle)" evidence: ["#03", "#06", "#11", "#15", "#18", "#24", "#26"] contamination: {scope: null, benchmark: null, evidence: null} unit_kinds: null derived: {coverage: null, unit_kinds: null} risk: contamination: null overlap_check: null pii: none_known pii_evidence: {sample_n: 30, files_with_email: 0, note: "no addresses or personal names in the sampled files"} malware: null ship_bytes: unknown subset: rule: "take all rows; licence, size and version are labels, not filters" rows_in_subset: 148991 last_built: null access: method: "Download each uri, or an address from alt_uris. When a row has range, request only those bytes with an HTTP Range header." verify: "Compare size_bytes and git_blob_sha1 (the git object id from the tree listing, recomputed over \"blob <size>\\0\" followed by the file content)." hosts: {"https://raw.githubusercontent.com": 148991} uri_example: "https://raw.githubusercontent.com/acmeism/RosettaCodeData/1d475861d7141ef2fafff293d9339f56e4b0f5db/bin/rcd-api-list-all-langs" needs_auth: {"false": 148991} credential: none hash_source: {source_published: 148991} range_supported: null reachable: index_flag: {unknown: 148991} index_check: null our_sample: {checked_at: "2026-10-05", n_tried: 30, n_ok: 30, hash_checked: 30} drift: "the mirror follows the wiki: solutions and tasks are added and edited over time, so a file can change between pulls" sample: method: "strata are file type times the size quartile of this source (q1 to q4 by its own p25, p50, p75; unk for rows without a size); half of the samples go one per stratum to the largest strata, the rest in proportion to stratum size (largest remainder); within a stratum the rows with the smallest sha256(seed:pointer_id) are taken, so the draw is reproducible from the index" seed: 20261004 "n": 30 n_drawn: 30 n_read: 30 unread: [] rule_n: "10 when one file type holds at least 95 percent of rows, else 30" size_quartiles: [149, 437, 1050] size_filter: "only files of at most 15000000 bytes are candidates" strata_candidates: "basic|q3": 3128 "basic|q2": 2772 "yaml|q1": 2758 "basic|q4": 2481 "basic|q1": 1778 "j|q1": 1709 "phix|q4": 1456 "rexx|q4": 1244 "java|q4": 1160 "txt|q4": 1155 "alg|q4": 1049 "py|q4": 1003 "cpp|q4": 994 "go|q4": 985 "j|q2": 927 "pas|q4": 906 "c|q4": 895 "wren|q4": 865 "txt|q3": 862 "py|q3": 799 "pas|q3": 785 "js|q4": 771 "math|q1": 753 "py|q2": 751 "adb|q4": 723 "c|q3": 721 "zkl|q2": 719 "jq|q1": 717 "cs|q4": 709 "nim|q4": 703 "rs|q4": 686 "hs|q3": 670 "pl|q3": 668 "f|q4": 656 "hs|q2": 650 "pl|q2": 648 "rb|q2": 630 "wren|q3": 630 "go|q3": 626 "raku|q2": 611 strata_total: 2278 strata_taken: "adb|q4": 723 "alg|q4": 1049 "basic|q3": 3128 "cpp|q4": 994 "cs|q4": 709 "c|q4": 895 "go|q4": 985 "hs|q3": 670 "java|q4": 1160 "jl|q3": 595 "jq|q1": 717 "js|q4": 771 "j|q1": 1709 "l|q2": 586 "math|q1": 753 "ml|q2": 492 "nim|q4": 703 "pas|q4": 906 "phix|q4": 1456 "pl|q3": 668 "py|q4": 1003 "raku|q2": 611 "rb|q2": 630 "rexx|q4": 1244 "rs|q4": 686 "tcl|q2": 452 "txt|q4": 1155 "wren|q4": 865 "yaml|q1": 2758 "zkl|q2": 719 fetched_at: "2026-10-05" replaced: 0 kept: false kept_note: "sample bytes were deleted after reading; refetch by pointer_id and compare sha256" files: - "no": "#00" pointer_id: "rosetta-code-github-mirror:task:Hofstadter-Figure-Figure-sequences/Ada/hofstadter-figure-figure-sequences-2.adb" stratum: "adb|q4" size_bytes: 1331 sha256: "2d31ad60b6845de4e486489b295ade92b9b5c43d06e193049013bb1e8a1ab423" - "no": "#01" pointer_id: "rosetta-code-github-mirror:task:Abbreviations-easy/ALGOL-68/abbreviations-easy.alg" stratum: "alg|q4" size_bytes: 4113 sha256: "63ee4fc3c9a7a214c797dcfd30df41208ef28626a058e6087e36322bfe6c6634" - "no": "#02" pointer_id: "rosetta-code-github-mirror:task:Fusc-sequence/BBC-BASIC/fusc-sequence.basic" stratum: "basic|q3" size_bytes: 519 sha256: "9f935114c4571db42e282ce6ccb84589ac9b2323b36f6b36c9ccfe435497a981" - "no": "#03" pointer_id: "rosetta-code-github-mirror:task:QR-decomposition/C++/qr-decomposition-1.cpp" stratum: "cpp|q4" size_bytes: 7532 sha256: f119fcabe79086bfb0bd918820702c68bf6d148fcb8d054d7c843b10647da79f - "no": "#04" pointer_id: "rosetta-code-github-mirror:task:Magic-squares-of-singly-even-order/C-sharp/magic-squares-of-singly-even-order.cs" stratum: "cs|q4" size_bytes: 2483 sha256: a6cde9af5ebd075c45157c825a14ffe6a52b3bc0c050f8d66c9146dd87db117a - "no": "#05" pointer_id: "rosetta-code-github-mirror:task:Mandelbrot-set/C/mandelbrot-set-3.c" stratum: "c|q4" size_bytes: 7161 sha256: b5efcec030526a1c5f13c0af2b426fa02a0c0569775baec0e92765cd6c95ce50 - "no": "#06" pointer_id: "rosetta-code-github-mirror:task:State-name-puzzle/Go/state-name-puzzle.go" stratum: "go|q4" size_bytes: 2540 sha256: "72a8465989114800b717e7361594f6a21cc4ac673ccf28af3bf44688ac1dffaa" - "no": "#07" pointer_id: "rosetta-code-github-mirror:task:Addition-chain-exponentiation/Haskell/addition-chain-exponentiation-1.hs" stratum: "hs|q3" size_bytes: 765 sha256: "7c9522df8c4e74c399181eb95a850f989af2ab2c2e2fd3ca98d8a1088409a1ae" - "no": "#08" pointer_id: "rosetta-code-github-mirror:task:List-rooted-trees/Java/list-rooted-trees.java" stratum: "java|q4" size_bytes: 2208 sha256: c12da5d66c57e2c39b825e0384e35e6c0b3c536f479f6a798cdf51989e0f3c88 - "no": "#09" pointer_id: "rosetta-code-github-mirror:task:Centre-and-radius-of-a-circle-passing-through-3-points-in-a-plane/Julia/centre-and-radius-of-a-circle-passing-through-3-points-in-a-plane.jl" stratum: "jl|q3" size_bytes: 752 sha256: d22541dafc8fe44a9000f3477ce685f260da5ba642b0b4235b324d4e513104cd - "no": "#10" pointer_id: "rosetta-code-github-mirror:task:Strip-a-set-of-characters-from-a-string/Jq/strip-a-set-of-characters-from-a-string-1.jq" stratum: "jq|q1" size_bytes: 85 sha256: "853e2a1d3ae79a42099f1188bd1017d0eaa3639f08fb642070e0ecb4060cfc08" - "no": "#11" pointer_id: "rosetta-code-github-mirror:task:Binary-search/JavaScript/binary-search-3.js" stratum: "js|q4" size_bytes: 4355 sha256: bb3bd818a8eee8a06221cd73aef8475b9c4df1a7d124e468ae0eeadfaf558763 - "no": "#12" pointer_id: "rosetta-code-github-mirror:task:Function-composition/J/function-composition-4.j" stratum: "j|q1" size_bytes: 23 sha256: fdcb0a8c276dea767b14f6e91d381dac21a1f257cd60dc56ea569550516f3255 - "no": "#13" pointer_id: "rosetta-code-github-mirror:task:Modulinos/PicoLisp/modulinos-1.l" stratum: "l|q2" size_bytes: 161 sha256: d9415e8c61574ac8ff171fc2eed4a68fa3fff02546426d3a1e742286acb8c5f9 - "no": "#14" pointer_id: "rosetta-code-github-mirror:task:Sequence-of-non-squares/Mathematica/sequence-of-non-squares.math" stratum: "math|q1" size_bytes: 146 sha256: "8fee4bea85f957b79e6341b549137de758480960c6e46a1034a137e2fa5e46d7" - "no": "#15" pointer_id: "rosetta-code-github-mirror:task:Numerical-integration/OCaml/numerical-integration-3.ml" stratum: "ml|q2" size_bytes: 229 sha256: f4b07f30f32e733b815cb946097a98e2583e494744ad6e74281c350acddf3199 - "no": "#16" pointer_id: "rosetta-code-github-mirror:task:Visitor-pattern/Nim/visitor-pattern.nim" stratum: "nim|q4" size_bytes: 1712 sha256: a349438b74ad47659195f2a5a84b40ce89ecb748a6b163b99929c68bfcc46f84 - "no": "#17" pointer_id: "rosetta-code-github-mirror:task:Integer-long-division/Free-Pascal-Lazarus/integer-long-division-2.pas" stratum: "pas|q4" size_bytes: 9990 sha256: e3df6e2b3e677fe33b889f4e63b52bf5b035736209c27ac684b91d13e6750c4b - "no": "#18" pointer_id: "rosetta-code-github-mirror:task:Peaceful-chess-queen-armies/Phix/peaceful-chess-queen-armies.phix" stratum: "phix|q4" size_bytes: 30915 sha256: "21cf4a15991264109b16684f08f3ad0aa73033b74a38ca0ef2d2fac809ee329e" - "no": "#19" pointer_id: "rosetta-code-github-mirror:task:Population-count/Perl/population-count-1.pl" stratum: "pl|q3" size_bytes: 551 sha256: "6964bcfb1687a2e2ccc3c6c168804cdf1ca2f966323dd964c0bb1c81794724a7" - "no": "#20" pointer_id: "rosetta-code-github-mirror:task:Number-names/Python/number-names-2.py" stratum: "py|q4" size_bytes: 2040 sha256: "362080b52ff9d4b3fea9a989bf01b2ca0e0c42db9bd42123dc00225a15360c92" - "no": "#21" pointer_id: "rosetta-code-github-mirror:task:Detect-division-by-zero/Raku/detect-division-by-zero-2.raku" stratum: "raku|q2" size_bytes: 160 sha256: "12eaee96807a3823d9bde0028fd58d71d10cb8371832f372a55392c5305aa19a" - "no": "#22" pointer_id: "rosetta-code-github-mirror:task:Distributed-programming/Ruby/distributed-programming-1.rb" stratum: "rb|q2" size_bytes: 395 sha256: be21fa222df022798945062ae57b0c78d961b0d7fba0ac04e5cc29d9fca1c4dd - "no": "#23" pointer_id: "rosetta-code-github-mirror:task:Display-a-linear-combination/REXX/display-a-linear-combination.rexx" stratum: "rexx|q4" size_bytes: 2403 sha256: "55b192150446eb4fd63355e666e6842d73b101b49ab740f2c55400b672b6972d" - "no": "#24" pointer_id: "rosetta-code-github-mirror:task:Langtons-ant/Rust/langtons-ant.rs" stratum: "rs|q4" size_bytes: 1697 sha256: daf683bb88d6c2ed8c2421a692f26c375225f5f5f2c5802cdc53d81cc5cd7062 - "no": "#25" pointer_id: "rosetta-code-github-mirror:task:Seven-sided-dice-from-five-sided-dice/Tcl/seven-sided-dice-from-five-sided-dice.tcl" stratum: "tcl|q2" size_bytes: 197 sha256: "0b6dec7b8f2ea2139fb651632f5d5494461df29bdc83ebe08ddf5c754ea5ac7e" - "no": "#26" pointer_id: "rosetta-code-github-mirror:task:CORDIC/00-TASK.txt" stratum: "txt|q4" size_bytes: 1646 sha256: "81968266e2d5cf05086973c388f753b3e8072da9293503839dc0b7f54d5bb724" - "no": "#27" pointer_id: "rosetta-code-github-mirror:task:Solving-coin-problems/Wren/solving-coin-problems.wren" stratum: "wren|q4" size_bytes: 16972 sha256: "8c464aa7be306315c71aafbbf614a3c956258ce0970fb3e547cda3d0e3e0526f" - "no": "#28" pointer_id: "rosetta-code-github-mirror:lang:DeviousYarn/00-META.yaml" stratum: "yaml|q1" size_bytes: 59 sha256: "430b8d8492bf5d0f6ff5a446a9adf0db553c182435cec2d170e60f2bd15c374d" - "no": "#29" pointer_id: "rosetta-code-github-mirror:task:Seven-sided-dice-from-five-sided-dice/Zkl/seven-sided-dice-from-five-sided-dice.zkl" stratum: "zkl|q2" size_bytes: 350 sha256: "505f3878a577945ed137e0ccc3dbe97e732f1b09c5b69efb029f9a5777a6a495" probe: null checks: errors: [] warnings: ["no benchmark overlap scan result for this source"] history: [] evidence: access.credential: fill: judgment basis: "fetched by public URL without login" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" access.drift: fill: judgment basis: "a mirror of a living wiki" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" access.range_supported: {fill: unfilled, basis: "no sample evidence given for this field"} card_format: fill: derived basis: "fixed name of this card format; the corpus cards are another format and keep their own card_version numbers" checks.errors: fill: derived basis: "a card that fails a check (judgment file validation, public text check) is not written, so a written card has none" checks.history: fill: not_applicable basis: "the card generator has no repair rounds: a failing check stops the build instead of being repaired, so there is never a round to record; this holds only while the card generators have no repair step: if one is added, this entry leaves the list" checks.warnings: fill: derived basis: "data problems found while building the card (missing header, unreadable or absent shards, no overlap scan)" class: fill: derived basis: "rule over ships.tests, env_definition, known_answer, generator and structure; manifest_not_run when tests and a dependency manifest are present but the build was not run" derived.coverage: fill: unfilled basis: "computed from label.unit_kinds and the pointer rows; label.unit_kinds is not judged yet; plan: left to a later projection step (derived.* is computed there, not on the card)" derived.unit_kinds: fill: unfilled basis: "computed from label.unit_kinds and the pointer rows; label.unit_kinds is not judged yet; plan: left to a later projection step (derived.* is computed there, not on the card)" duplicate_of: fill: derived basis: "the catalog keeps one card per source name and writes no second card for a source, so there is no card to point to" form.artifact: fill: judgment basis: "28 solution files in 28 languages; #26 is a prose task statement" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" form.by_ext: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" form.date_years: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" form.over_cap: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" form.parse_cost: fill: judgment basis: "plain text files" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" form.parse_quirks: fill: judgment basis: "file(1) lines in the digests; #26 markup; numbered file names in #00 #03 #05 #07 #10 #11 #12 #13 #15 #17 #19 #20 #21 #22" files: ["#06", "#08", "#19", "#24", "#26"] sample_n: 30 checked_at: "2026-10-05" form.size_quantiles: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" form.source_origin: fill: judgment basis: "files are read from a git repository that mirrors the wiki" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" label.contamination.benchmark: {fill: unfilled, basis: "this source was not part of the benchmark overlap scan"} label.contamination.evidence: {fill: unfilled, basis: "this source was not part of the benchmark overlap scan"} label.contamination.scope: {fill: unfilled, basis: "this source was not part of the benchmark overlap scan"} label.domain_span: fill: derived basis: "codes copied from subject.domain_span; why and evidence are that field's source-level basis and sample files, not a separate reason per code" label.excluded_parts: fill: unfilled basis: "added in card_version 2 and not judged from the sample yet; plan: judged from a stratified sample by one model, with key fields re-judged by a second model" label.notes: fill: unfilled basis: "added in card_version 2 and not judged from the sample yet; plan: judged from a stratified sample by one model, with key fields re-judged by a second model" label.source_kind: fill: unfilled basis: "added in card_version 2 and not judged from the sample yet; plan: judged from a stratified sample by one model, with key fields re-judged by a second model" label.summary: fill: unfilled basis: "added in card_version 2 and not judged from the sample yet; plan: judged from a stratified sample by one model, with key fields re-judged by a second model" label.unit_kinds: fill: unfilled basis: "added in card_version 2 and not judged from the sample yet; plan: judged from a stratified sample by one model, with key fields re-judged by a second model" labeling.brief_sha: fill: unfilled basis: "not recorded; plan: labeling is written when a judged file records who labelled it" labeling.labeler: fill: unfilled basis: "not recorded; plan: labeling is written when a judged file records who labelled it" labeling.model: fill: unfilled basis: "not recorded; plan: labeling is written when a judged file records who labelled it" license.ship: fill: derived basis: "from license.tier by the one fixed table (permissive yes/yes, share-alike conditional/yes, nc-research no/conditional, internal-only no/unknown, unknown no/unknown, no-training no/no; mixed when the tier is mixed); ship and training_ok are listed as (ship, training_ok)" license.tier: fill: derived basis: "tier of the (training_ok, redistribution_ok) pair of every pointer row, or of the collection header when there are no rows yet; tier words are the corpus card's, plus our own no-training tier" prior_taxon: fill: not_applicable basis: "the prior taxon is a code from the seed list the corpus cards were started from; sources in this catalog were not drawn from that list and never are: no step that adds sources draws from it; that list is private material, so even if the same source is also in it one day, its code does not go on a public card" probe: fill: unfilled basis: "no review result recorded for this source yet; plan: filled from our own review (our own review, not a second model re-reading the whole card: two_model counts how many judged fields an independent second model agreed with; spot_check is the conclusion and date of our own spot check)" provenance.licence: {fill: auto, basis: "collection header licence block", checked_at: "2026-10-08"} provenance.licence_sample_check: fill: judgment basis: "no copyright or licence text found in any digest" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" provenance.licence_tier_counts: fill: derived basis: "pointer rows per tier, from provenance.licence_tiers by the fixed pair-to-tier rule" provenance.licence_tiers: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" provenance.spdx_top: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" provenance.training_ok: fill: derived basis: "from license.tier by the one fixed table (permissive yes/yes, share-alike conditional/yes, nc-research no/conditional, internal-only no/unknown, unknown no/unknown, no-training no/no; mixed when the tier is mixed); ship and training_ok are listed as (ship, training_ok)" risk.contamination: {fill: unfilled, basis: "this source was not part of the benchmark overlap scan"} risk.malware: {fill: unfilled, basis: "no sample evidence given for this field"} risk.pii: fill: judgment basis: "no e-mail addresses found in any digest" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" risk.pii_evidence: fill: judgment basis: "addresses counted per digest" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" risk.ship_bytes: {fill: derived, basis: "equal to provenance.redistribution_ok"} ships.env_definition.kind: fill: judgment basis: "no build or environment files" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" ships.env_definition.present: fill: judgment basis: "no build or environment files" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" ships.env_definition.runs: {fill: unfilled, basis: "no sample evidence given for this field"} ships.generator.present: fill: judgment basis: "no generator" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" ships.known_answer.present: fill: judgment basis: "no expected-output field; task text #26 names inputs but not the results" files: ["#26"] sample_n: 30 checked_at: "2026-10-05" ships.problem_statement.present: fill: judgment basis: "#26 is a task statement with a Task section" files: ["#26"] sample_n: 30 checked_at: "2026-10-05" ships.reference_solution.present: fill: unfilled basis: "recorded only as {k, n} over label.unit_kinds; the unit kinds of this source are not judged yet; plan: judged from a stratified sample by one model, with key fields re-judged by a second model" ships.reference_solution.share: fill: judgment basis: "28 of 30 samples are solutions to a named task; #26 is the statement and #28 a language note" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#27" - "#29" sample_n: 30 checked_at: "2026-10-05" ships.tests.coverage: fill: judgment basis: "no test files in the sample" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" ships.tests.present: fill: judgment basis: "no test files in the sample" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" ships.tests.runs: {fill: unfilled, basis: "no sample evidence given for this field"} ships.upstream_labels.fields: fill: judgment basis: "directory names and the from key" files: ["#28"] sample_n: 30 checked_at: "2026-10-05" ships.upstream_labels.present: fill: judgment basis: "the wiki's task and language categories are the directory names; #28 points back to the wiki category page" files: ["#28"] sample_n: 30 checked_at: "2026-10-05" size.files: fill: auto basis: "computed from every pointer row of this source (licence tiers after the current per-row licence rules)" checked_at: "2026-10-08" size.truncated_listing: fill: derived basis: "true when some pointer shards were unreadable or absent, so the counts do not cover every row" snapshot.rev: fill: auto basis: "commit of the most recent upload of a data file of this source to the catalog repository, as read back from the repository at upload time; rev_at is its time (UTC)" checked_at: "2026-10-08" status: fill: derived basis: "flagged when checks.warnings is not empty, else ok; review state is audit.status" status_reasons: {fill: derived, basis: "equal to checks.warnings"} structure.has_reference_output: fill: judgment basis: "no expected output file beside the solutions" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" structure.integrity_builtin: fill: judgment basis: "no checksums in the files" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" structure.invariants: fill: judgment basis: "every task path has the form task/<Task>/<Language>/<file>" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" structure.self_describing: fill: judgment basis: "only the directory path tells which task and language a file belongs to" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" structure.tools: fill: judgment basis: "running a solution needs that language's toolchain" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" subject.domain_span: fill: judgment basis: "tasks are algorithms and numerics (QR decomposition, CORDIC, integration, binary search) and puzzles (peaceful queens, Langton's ant, state name puzzle)" files: ["#03", "#06", "#11", "#15", "#18", "#24", "#26"] sample_n: 30 checked_at: "2026-10-05" subject.ont_domain: fill: judgment basis: "programming, mathematics and puzzles" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" subject.shape_span: fill: judgment basis: "a task statement with reference solutions fits writing code checked by tests" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" subject.skill_family_span: fill: judgment basis: "programming across languages and algorithmic reasoning" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" subject.tech_vocabulary: fill: judgment basis: "languages and file names read in the paths" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" subset: fill: auto basis: "default subset rule; last_built is the coverage table of the last subset build" checked_at: "2026-10-08" unit.pointer_level: fill: judgment basis: "every pointer is one file of the mirror repository" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05" unit.state: {fill: derived, basis: "packed when pointer_level is archive, else expanded"} unit.usable_unit: fill: judgment basis: "paths read task:<Task>/<Language>/<file>; #26 is a 00-TASK.txt, #28 a language 00-META.yaml" files: - "#00" - "#01" - "#02" - "#03" - "#04" - "#05" - "#06" - "#07" - "#08" - "#09" - "#10" - "#11" - "#12" - "#13" - "#14" - "#15" - "#16" - "#17" - "#18" - "#19" - "#20" - "#21" - "#22" - "#23" - "#24" - "#25" - "#26" - "#27" - "#28" - "#29" sample_n: 30 checked_at: "2026-10-05"
# Source card (card_format training-data-foundation). Readers: agents that choose sources and fetch files to build
# terminal tasks. Field names follow the corpus card format where the meaning is the same; provenance is where
# the data comes from and its licence, labeling is who judged the card.
# evidence.<field path>.fill: auto (computed from the index), judgment (from sample files downloaded and read),
# derived (fixed rule over other fields), unfilled (no sample evidence yet, left empty on purpose; basis says
# why and the plan), not_applicable (this class of card never has a value for the field; basis says why).
# Sample numbers #NN refer to sample.files. Ratios are counts in the sample, not estimates for the source.
card_version: 5
card_format: training-data-foundation
source: rosetta-code-github-mirror
parent: null
title: "Rosetta Code (GitHub community mirror)"
description: "Files in acmeism/RosettaCodeData on GitHub, a community mirror of Rosetta Code: programming task descriptions and solutions in many languages, organized by task and by language. The mirror is not affiliated with the operators of Rosetta Code. One pointer per file in the repository tree at one pinned commit (commit 1d475861d7141ef2fafff293d9339f56e4b0f5db), listed with the GitHub REST git trees API. Collections are the repository's top-level directories (task, lang, conf, bin; files at the root are in root)."
catalog: agentic-env-index
snapshot: {rev: "7115287fc9ceb49ea92ecdb7a153cba1a6dcab62", at: "2026-10-04", rev_at: "2026-10-04T07:12:32Z"}
audit: {status: draft, reviewed_by: null}
labeling: {labeler: null, model: null, brief_sha: null}
status: flagged
status_reasons: ["no benchmark overlap scan result for this source"]
duplicate_of: null
prior_taxon: null
provenance:
url: null
licence: "Not stated by the mirror (upstream Rosetta Code: GNU FDL)"
licence_url: "https://github.com/acmeism/RosettaCodeData"
per_collection: null
licence_tier_counts: {unknown: 148991}
training_ok: unknown
redistribution_ok: unknown
attribution: null
per_file: null
licence_tiers: {unknown/unknown: 148991}
spdx_top: {"(none)": 148991}
spdx_distinct: 1
licence_sample_check:
sample_n: 30
declared: 0
unknown_or_missing: 30
note: "no licence text in any sampled file; the wiki's site-level terms apply"
license:
note: "The mirror states no license: its ReadMe.md has no license statement, there is no LICENSE file and GitHub detects no license. The content comes from Rosetta Code, which states: \"Content, once submitted to this site, becomes available under the GFDL (v1.2), as well as any more permissive license the contributor chooses\" and \"Content is available under GNU Free Document License 1.3 unless otherwise noted.\" The GitHub Terms of Service (D.5) grant other users \"a nonexclusive, worldwide license to use, display, perform and reproduce (by forking) Your Content through the Service as permitted by GitHub's functionality.\" Both tiers are recorded as unknown."
tier: unknown
ship: "no"
unit:
pointer_level: file
units: {file: 148991}
state: expanded
expanded_count: null
rows_without_size: 0
collections:
distinct: 5
top: {task: 146973, lang: 2002, bin: 8, root: 6, conf: 2}
sub_collections: null
batches: null
n_ext: 756
usable_unit: "one task directory: its 00-TASK.txt statement plus one solution file per language (some languages carry several numbered variants); language directories hold only a short 00-META.yaml"
size: {max: 230481, p50: 437, p95: 3569, bytes: 152606756, files: 148991, truncated_listing: false}
form:
by_ext:
basic: 10159
j: 3397
py: 3054
yaml: 2761
txt: 2759
pas: 2621
java: 2305
hs: 2304
jq: 2288
c: 2260
pl: 2239
raku: 2199
phix: 2161
rexx: 2106
go: 2091
jl: 2064
js: 1985
wren: 1955
cpp: 1953
nim: 1871
"(736 other types)": 94459
size_quantiles:
p25: 149
p50: 437
p75: 1050
p90: 2228
p95: 3569
p99: 9380
p99.9: 29005
min: 0
max: 230481
method: "nearest rank: sort sizes ascending, take the k-th with k = max(1, ceil(q * n)); rows without a size are left out"
by_ext_size:
- {ext: basic, rows: 10159, bytes: 9232683, p50: 506, p95: 3070, max: 37297}
- {ext: j, rows: 3397, bytes: 1187647, p50: 148, p95: 1259, max: 10070}
- {ext: py, rows: 3054, bytes: 3623443, p50: 598, p95: 4043, max: 46390}
- {ext: yaml, rows: 2761, bytes: 183746, p50: 57, p95: 84, max: 15467}
- {ext: txt, rows: 2759, bytes: 4111876, p50: 859, p95: 4041, max: 229835}
- {ext: pas, rows: 2621, bytes: 3501483, p50: 679, p95: 4288, max: 147200}
- {ext: java, rows: 2305, bytes: 3976083, p50: 1058, p95: 5425, max: 29084}
- {ext: hs, rows: 2304, bytes: 1709761, p50: 439, p95: 2570, max: 11521}