Datasets:
Download cards/rules-as-code-trees.md from Battam/training-data-foundation: direct link, hf CLI and curl.
- Browser
- Download file 3.68 kB
-
https://huggingface.co/datasets/Battam/training-data-foundation/resolve/main/cards/rules-as-code-trees.md
- Command line
-
hf download hf://datasets/Battam/training-data-foundation/cards/rules-as-code-trees.md
-
curl -L -o rules-as-code-trees.md https://huggingface.co/datasets/Battam/training-data-foundation/resolve/main/cards/rules-as-code-trees.md
GitHub source trees of rules-as-code engines that compute taxes and benefits from legislation written as code (OpenFisca-Core and the OpenFisca Country-Template) (rules-as-code-trees)
Kind: corpus (raw). One whole upstream that a collector keeps reading in bulk, counted in rows: each row points to one file or record.
Every file of the source trees of rules-as-code engines, which compute taxes and benefits from legislation written as code on GitHub (OpenFisca-Core (the engine and its web API) and the OpenFisca Country-Template (the skeleton of a rules package: parameters, variables, entities and YAML tests)), each at the head commit of its default branch when it was read. One pointer per file, to its raw.githubusercontent.com address pinned to that commit, with size and git blob hash from the git tree. The content is not copied and stays on GitHub.
Summary from sample files: not judged yet. The text above is the source's own description.
Domain and form
- Domain:
D6.2(compliance and filings). - 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: 388.
- Size: Recorded size 2.58 MB; deduplicated size 2.58 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-14).
- Batches: 2 (
all,inc). Collection: complete.
File types and sizes
| Type | Rows | Size |
|---|---|---|
py |
259 | 897 KB |
yaml |
77 | 45.7 KB |
md |
13 | 247 KB |
(none) |
7 | 70.8 KB |
sh |
7 | 17.2 KB |
yml |
5 | 22.3 KB |
typed |
4 | 0 B |
json |
3 | 1.47 KB |
lock |
3 | 1.26 MB |
mk |
3 | 3.18 KB |
| other types: 5 |
Size of one row, upper bounds by quantile: 10% 63 B, 50% 2.05 KB, 90% 8.19 KB, 99% 262 KB.
License and access
- License: Per-repository open source licenses; license tier
nc-research; training use: yes; redistribution: conditional; files may be shipped: not judged yet. - License statement: not recorded on the card.
- Login: no.
- How to fetch: not recorded on the card; the row's uri is fetched as it is.
Freshness
- Rows are counted for the release of 2026-11-17; the card's own sample and counts date from the card's writing (it has no snapshot date of its own).
Readiness
- Readiness level: not judged yet.
- Card review:
unknown(adraftcard has not been reviewed as a whole). - Personal information read from samples: not judged yet.
Query this source at a fixed release
Pinned to the release tag release-2026-11-17.3.
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 = 'rules-as-code-trees'));
SELECT uri, ext, size_bytes, lower(hex(sha256)) AS sha256
FROM read_parquet(getvariable('files'))
WHERE source = 'rules-as-code-trees'
LIMIT 10;
Sample files
No sample files are recorded on the card yet.
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 oftools/fetch.pyremoves none of the rows.
This source has no card (cards/<source>.yaml) yet; values shown here as not judged yet have no judgment so far.