training-data-foundation / cards /rosetta-code-github-mirror.md
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
6.64 kB
<!-- Generated by artpool.index_projection from cards/rosetta-code-github-mirror.yaml and meta/sources.json. Every release regenerates it, so edits to this file do not last. -->
# Rosetta Code (GitHub community mirror) (`rosetta-code-github-mirror`)
Kind: corpus (raw). One whole upstream that a collector keeps reading in bulk, counted in rows: each row points to one file or record.
**Flagged, not usable as it is:** no benchmark overlap scan result for this source.
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).
Summary from sample files: not judged yet. The text above is the source's own description.
## Domain and form
- Domain: `D1.5` (algorithms and computational libraries), `D10.1` (games and strategy solving), `D5.8` (numerical methods and optimisation).
- Form: `source-code`. Source code: repositories, programs with sample inputs and outputs, programming exercises, small example projects and proof libraries.
## Unit and scale
- One row points at: file.
- Rows: 148,991.
- Size: Recorded size 153 MB; deduplicated size 153 MB; size check: 100.0% match (20 of the 20 rows read compared).
- Fetch check: all 20 sampled rows read fetched and matched their recorded size and hash (read 2026-11-13).
- Batches: 1 (`all`). Collection: complete.
## File types and sizes
| Type | Rows | Size |
|---|---:|---:|
| `basic` | 10,159 | 9.23 MB |
| `(other)` | 9,649 | 6.08 MB |
| `j` | 3,397 | 1.19 MB |
| `py` | 3,054 | 3.62 MB |
| `yaml` | 2,761 | 184 KB |
| `txt` | 2,759 | 4.11 MB |
| `pas` | 2,621 | 3.50 MB |
| `java` | 2,305 | 3.98 MB |
| `hs` | 2,304 | 1.71 MB |
| `jq` | 2,288 | 1.43 MB |
| other types: 191 | | |
Size of one row, upper bounds by quantile: 10% 63 B, 50% 511 B, 90% 4.09 KB, 99% 16.4 KB.
## License and access
- License: Not stated by the mirror (upstream Rosetta Code: GNU FDL); license tier `unknown`; training use: unknown; redistribution: unknown; files may be shipped: no.
- License statement: 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.
- Login: no.
- How to fetch: Download each uri, or an address from alt_uris. When a row has range, request only those bytes with an HTTP Range header.
## Freshness
- Rows are counted for the release of 2026-11-17; the card's own sample and counts date from 2026-10-04.
## Readiness
- Readiness level: not judged yet.
- Card review: `draft` (a `draft` card has not been reviewed as a whole).
- Personal information read from samples: none_known (30 sample files read on 2026-10-05; the evidence is `risk.pii_evidence` in the card `cards/<source>.yaml`).
## Query this source at a fixed release
Pinned to the release tag `release-2026-11-17.3`.
```sql
SET VARIABLE files = (SELECT list('hf://datasets/Battam/training-data-foundation@release-2026-11-17.3/' || f) FROM (SELECT unnest(data_files) AS f FROM 'hf://datasets/Battam/training-data-foundation@release-2026-11-17.3/meta/catalog.parquet' WHERE source = 'rosetta-code-github-mirror'));
SELECT uri, ext, size_bytes, lower(hex(sha256)) AS sha256
FROM read_parquet(getvariable('files'))
WHERE source = 'rosetta-code-github-mirror'
LIMIT 10;
```
## Sample files
- ##00: `rosetta-code-github-mirror:task:Hofstadter-Figure-Figure-sequences/Ada/hofstadter-figure-figure-sequences-2.adb`
- ##01: `rosetta-code-github-mirror:task:Abbreviations-easy/ALGOL-68/abbreviations-easy.alg`
- ##02: `rosetta-code-github-mirror:task:Fusc-sequence/BBC-BASIC/fusc-sequence.basic`
- ##03: `rosetta-code-github-mirror:task:QR-decomposition/C++/qr-decomposition-1.cpp`
- ##04: `rosetta-code-github-mirror:task:Magic-squares-of-singly-even-order/C-sharp/magic-squares-of-singly-even-order.cs`
- ##05: `rosetta-code-github-mirror:task:Mandelbrot-set/C/mandelbrot-set-3.c`
- ##06: `rosetta-code-github-mirror:task:State-name-puzzle/Go/state-name-puzzle.go`
- ##07: `rosetta-code-github-mirror:task:Addition-chain-exponentiation/Haskell/addition-chain-exponentiation-1.hs`
- ##08: `rosetta-code-github-mirror:task:List-rooted-trees/Java/list-rooted-trees.java`
- ##09: `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`
- ##10: `rosetta-code-github-mirror:task:Strip-a-set-of-characters-from-a-string/Jq/strip-a-set-of-characters-from-a-string-1.jq`
- ##11: `rosetta-code-github-mirror:task:Binary-search/JavaScript/binary-search-3.js`
- ##12: `rosetta-code-github-mirror:task:Function-composition/J/function-composition-4.j`
- ##13: `rosetta-code-github-mirror:task:Modulinos/PicoLisp/modulinos-1.l`
- ##14: `rosetta-code-github-mirror:task:Sequence-of-non-squares/Mathematica/sequence-of-non-squares.math`
- ##15: `rosetta-code-github-mirror:task:Numerical-integration/OCaml/numerical-integration-3.ml`
- ##16: `rosetta-code-github-mirror:task:Visitor-pattern/Nim/visitor-pattern.nim`
- ##17: `rosetta-code-github-mirror:task:Integer-long-division/Free-Pascal-Lazarus/integer-long-division-2.pas`
- ##18: `rosetta-code-github-mirror:task:Peaceful-chess-queen-armies/Phix/peaceful-chess-queen-armies.phix`
- ##19: `rosetta-code-github-mirror:task:Population-count/Perl/population-count-1.pl`
## Parts not to use for tasks
- Parts to leave out: not judged yet.
- Benchmark overlap `none`: every data file is compared with the benchmark list, and the default profile of `tools/fetch.py` removes none of the rows.
The card [`rosetta-code-github-mirror.yaml`](rosetta-code-github-mirror.yaml) (card_version 5) holds every field with its evidence; values shown here as not judged yet have no judgment on the card so far.