|
Download README.md from RenaissanceLabsEU/practice: direct link, hf CLI and curl.
- Browser
- Download file 16.6 kB
-
https://huggingface.co/datasets/RenaissanceLabsEU/practice/resolve/main/README.md
- Command line
-
hf download hf://datasets/RenaissanceLabsEU/practice/README.md
-
curl -L -o README.md https://huggingface.co/datasets/RenaissanceLabsEU/practice/resolve/main/README.md
16.6 kB
| pretty_name: Practice | |
| license: mit | |
| language: | |
| - en | |
| - sv | |
| task_categories: | |
| - other | |
| tags: | |
| - rl-environment | |
| - harbor | |
| - agents | |
| - reinforcement-learning | |
| - verifiable-rewards | |
| - isced-f | |
| size_categories: | |
| - 1K<n<10K | |
| thumbnail: https://huggingface.co/datasets/RenaissanceLabsEU/practice/resolve/main/assets/social-preview.png | |
| configs: | |
| - config_name: class-test | |
| data_files: | |
| - split: train | |
| path: data/class-test/train.jsonl | |
| - split: eval | |
| path: data/class-test/eval.jsonl | |
| - config_name: harris-matrix | |
| data_files: | |
| - split: train | |
| path: data/harris-matrix/train.jsonl | |
| - split: eval | |
| path: data/harris-matrix/eval.jsonl | |
| - config_name: argument-check | |
| data_files: | |
| - split: train | |
| path: data/argument-check/train.jsonl | |
| - split: eval | |
| path: data/argument-check/eval.jsonl | |
| - config_name: swedish-proofreading | |
| data_files: | |
| - split: train | |
| path: data/swedish-proofreading/train.jsonl | |
| - split: eval | |
| path: data/swedish-proofreading/eval.jsonl | |
| - config_name: swedish-rewriting | |
| data_files: | |
| - split: train | |
| path: data/swedish-rewriting/train.jsonl | |
| - split: eval | |
| path: data/swedish-rewriting/eval.jsonl | |
| - config_name: price-index | |
| data_files: | |
| - split: train | |
| path: data/price-index/train.jsonl | |
| - split: eval | |
| path: data/price-index/eval.jsonl | |
| - config_name: seat-count | |
| data_files: | |
| - split: train | |
| path: data/seat-count/train.jsonl | |
| - split: eval | |
| path: data/seat-count/eval.jsonl | |
| - config_name: psychometrics | |
| data_files: | |
| - split: train | |
| path: data/psychometrics/train.jsonl | |
| - split: eval | |
| path: data/psychometrics/eval.jsonl | |
| - config_name: life-table | |
| data_files: | |
| - split: train | |
| path: data/life-table/train.jsonl | |
| - split: eval | |
| path: data/life-table/eval.jsonl | |
| - config_name: swedish-copy-briefs | |
| data_files: | |
| - split: train | |
| path: data/swedish-copy-briefs/train.jsonl | |
| - split: eval | |
| path: data/swedish-copy-briefs/eval.jsonl | |
| - config_name: emissions-inventory | |
| data_files: | |
| - split: train | |
| path: data/emissions-inventory/train.jsonl | |
| - split: eval | |
| path: data/emissions-inventory/eval.jsonl | |
| - config_name: habitat-survey | |
| data_files: | |
| - split: train | |
| path: data/habitat-survey/train.jsonl | |
| - split: eval | |
| path: data/habitat-survey/eval.jsonl | |
| - config_name: food-batch | |
| data_files: | |
| - split: train | |
| path: data/food-batch/train.jsonl | |
| - split: eval | |
| path: data/food-batch/eval.jsonl | |
| - config_name: textile-lab | |
| data_files: | |
| - split: train | |
| path: data/textile-lab/train.jsonl | |
| - split: eval | |
| path: data/textile-lab/eval.jsonl | |
| - config_name: zoning-check | |
| data_files: | |
| - split: train | |
| path: data/zoning-check/train.jsonl | |
| - split: eval | |
| path: data/zoning-check/eval.jsonl | |
| - config_name: grower-desk | |
| data_files: | |
| - split: train | |
| path: data/grower-desk/train.jsonl | |
| - split: eval | |
| path: data/grower-desk/eval.jsonl | |
| - config_name: stand-inventory | |
| data_files: | |
| - split: train | |
| path: data/stand-inventory/train.jsonl | |
| - split: eval | |
| path: data/stand-inventory/eval.jsonl | |
| - config_name: fishery-log | |
| data_files: | |
| - split: train | |
| path: data/fishery-log/train.jsonl | |
| - split: eval | |
| path: data/fishery-log/eval.jsonl | |
| - config_name: ward-round | |
| data_files: | |
| - split: train | |
| path: data/ward-round/train.jsonl | |
| - split: eval | |
| path: data/ward-round/eval.jsonl | |
| - config_name: means-test | |
| data_files: | |
| - split: train | |
| path: data/means-test/train.jsonl | |
| - split: eval | |
| path: data/means-test/eval.jsonl | |
| - config_name: sanitation-desk | |
| data_files: | |
| - split: train | |
| path: data/sanitation-desk/train.jsonl | |
| - split: eval | |
| path: data/sanitation-desk/eval.jsonl | |
| - config_name: exposure-assessment | |
| data_files: | |
| - split: train | |
| path: data/exposure-assessment/train.jsonl | |
| - split: eval | |
| path: data/exposure-assessment/eval.jsonl | |
| # Practice | |
|  | |
| **22 environments and 2,376 tasks for language-model agents, across fields of human work.** By [Renaissance Labs](https://renaissancelabs.eu). | |
| Most open environments teach models to write software and operate computers. The [Open Environments Index](https://practice.renaissancelabs.eu) files every open environment under the ISCED-F 2013 fields of education, and reveals gaps across its 80 detailed fields. Practice broadens the coverage: nursing, forestry, food processing, town planning, political science, demography, psychology and more. | |
| In every task the agent gets a folder of working files (charts, logs, registers, a rule document) and an instruction, works in a terminal, and writes `answer.json`. A hidden deterministic verifier returns a reward between 0 and 1. | |
| ## Environments | |
| Each environment is a subset of this dataset (pick it in the viewer, or `load_dataset("RenaissanceLabsEU/practice", "<name>")` for the task index). | |
| | Subset | ISCED-F field | Task language | What the agent does | Task families | Tasks | | |
| |---|---|---|---|---|---| | |
| | [`class-test`](tasks/class-test) | 0111 Education science | English | Analyse a class test as a teacher would: mark answer sheets, run item and distractor analysis, and standardise or moderate the marks. | marking, item-analysis, distractors, moderation | 108 | | |
| | [`harris-matrix`](tasks/harris-matrix) | 0222 History and archaeology | English | Work an excavation archive after the dig: order the contexts, reduce the Harris matrix, date deposits from finds and find impossible relations. | sequence, reduction, dating, errors | 108 | | |
| | [`argument-check`](tasks/argument-check) | 0223 Philosophy and ethics | English | Mark a logic problem sheet: test arguments for validity, sentence sets for consistency and formula pairs for equivalence, with counterexamples and normal forms. | validity, consistency, equivalence | 108 | | |
| | [`swedish-proofreading`](tasks/swedish-proofreading) | 0232 Literature and linguistics | Swedish | Correct Swedish compounds, agreement, pronouns and word order while preserving facts and already-correct text. | compounds, agreement, word-order, mixed | 108 | | |
| | [`swedish-rewriting`](tasks/swedish-rewriting) | 0232 Literature and linguistics | Swedish | Edit Swedish calques and bureaucratic wording into clear reader-focused prose without changing meaning. | calques, plain-language, reader-focus, mixed | 108 | | |
| | [`price-index`](tasks/price-index) | 0311 Economics | English | Compute an economic statistician's measures from raw tables: price indices, real GDP and chain-linked volumes, inequality and poverty, and inflation contributions. | basket-indices, national-accounts, income-distribution, inflation-contributions | 108 | | |
| | [`seat-count`](tasks/seat-count) | 0312 Political sciences and civics | English | Turn election results into seats: apply thresholds, divisor and quota methods, constituency and levelling seats, and measure disproportionality. | highest-averages, largest-remainder, constituencies | 108 | | |
| | [`psychometrics`](tasks/psychometrics) | 0313 Psychology | English | Score questionnaires from a manual, judge reliable change, convert raw scores with norm tables and compute scale reliability, as a psychologist's assistant. | scoring, reliable-change, norms, reliability | 108 | | |
| | [`life-table`](tasks/life-table) | 0314 Sociology and cultural studies | English | Do a demographer's core calculations from population registers: life tables, fertility rates, age-standardised death rates and age-structure indicators. | life-table, fertility, standardisation, age-structure | 108 | | |
| | [`swedish-copy-briefs`](tasks/swedish-copy-briefs) | 0414 Marketing and advertising | Swedish | Write constrained Swedish product, event, service and email copy from factual briefs without unsupported claims. | product, event, service, email | 108 | | |
| | [`emissions-inventory`](tasks/emissions-inventory) | 0521 Environmental sciences | English | Compile a greenhouse-gas inventory from activity records: unit conversion, emission factors, scopes, CO2e from several gases, trends and data cleaning. | activity-data, multi-gas, time-series, data-quality | 108 | | |
| | [`habitat-survey`](tasks/habitat-survey) | 0522 Natural environments and wildlife | English | Aggregate quadrat surveys, calculate species diversity and reconcile habitat changes from synthetic field records. | quadrats, diversity, habitat-change | 108 | | |
| | [`food-batch`](tasks/food-batch) | 0721 Food processing | English | Balance dry matter during drying, blend ingredients to a target composition and scale production recipes with process losses. | drying, blending, recipe-scaling | 108 | | |
| | [`textile-lab`](tasks/textile-lab) | 0723 Textiles (clothes, footwear and leather) | English | Calculate fabric mass, yarn requirements and shrinkage allowances from textile production and laboratory records. | fabric-mass, yarn-length, shrinkage | 108 | | |
| | [`zoning-check`](tasks/zoning-check) | 0731 Architecture and town planning | English | Check building proposals against a fictional town's zoning code: floor area ratio, coverage, setbacks, parking, plot capacity and areas from coordinates. | compliance, capacity, geometry, mixed-use | 108 | | |
| | [`grower-desk`](tasks/grower-desk) | 0812 Horticulture | English | Calculate irrigation demand, fertiliser stock dilution and propagation yields from synthetic nursery records. | irrigation, fertigation, propagation | 108 | | |
| | [`stand-inventory`](tasks/stand-inventory) | 0821 Forestry | English | Do a forester's office work after a field inventory: plot expansion, basal area, tree and stand volume, a thinning rule and increment. | plots, volume, thinning, growth | 108 | | |
| | [`fishery-log`](tasks/fishery-log) | 0831 Fisheries | English | Reconcile aquaculture biomass and feed, compute catch per effort and estimate stock biomass from fish samples. | feed-conversion, catch-effort, stock-sampling | 108 | | |
| | [`ward-round`](tasks/ward-round) | 0913 Nursing and midwifery | English | Do a nurse's bedside calculations from ward charts: early-warning scores, infusion rates, weight-based doses and 24-hour fluid balance. | news2, dosing, fluid-balance | 108 | | |
| | [`means-test`](tasks/means-test) | 0923 Social work and counselling | English | Apply a written (fictional) benefit regulation to household case files: entitlement, mid-month changes, overpayments and review of past decisions. | entitlement, change, overpayment, review | 108 | | |
| | [`sanitation-desk`](tasks/sanitation-desk) | 1021 Community sanitation | English | Audit waste streams, calculate collection loads and reconcile wastewater pollutant loads from synthetic municipal records. | waste-audit, collection-loads, wastewater-loads | 108 | | |
| | [`exposure-assessment`](tasks/exposure-assessment) | 1022 Occupational health and safety | English | Do an occupational hygienist's sums from workplace records: noise dose, airborne chemical averages, hand-arm vibration and injury rates against given limits. | noise, chemicals, vibration, incidents | 108 | | |
| Every subset has a `train` split (84 tasks) and an `eval` split (24 tasks, from seeds the train split never uses). Each has three difficulty levels: a small clean case, then more records and one complication, then a second complication and answers that depend on several records. | |
| ## Layout | |
| ``` | |
| tasks/<env>/<task_id>/ one Harbor task directory per task | |
| instruction.md what the agent is asked to do | |
| task.toml metadata and limits (1 CPU, 1 GB, no internet) | |
| environment/ Dockerfile (python:3.12-slim) and workdir/ with the task files, copied to /app | |
| solution/ solve.sh and oracle.py: the reference solution, never shown to the agent | |
| tests/ test.sh, verify.py, checks.json: the hidden verifier | |
| data/<env>/{train,eval}.jsonl the task index shown in the viewer (id, family, difficulty, instruction, path) | |
| envs/<env>/ the seeded generator, the oracle and any validators for each environment | |
| practice/, tools/, tests/ shared verifier, exporter, self-test and hand-worked test cases | |
| ``` | |
| ## Run it | |
| ```bash | |
| hf download RenaissanceLabsEU/practice --repo-type dataset --local-dir Practice | |
| cd Practice | |
| T=tasks/class-test/class-test-distractors-d1-t0000 | |
| # check one task by hand: build, run the reference solution, run the verifier (prints 1.0) | |
| docker build -t practice-task $T/environment | |
| docker run --rm --network none -v $PWD/$T/tests:/tests:ro -v $PWD/$T/solution:/solution:ro practice-task \ | |
| bash -c 'bash /solution/solve.sh; bash /tests/test.sh; cat /logs/verifier/reward.txt' | |
| ``` | |
| Each task folder follows the [Harbor](https://github.com/harbor-framework/harbor) task layout, so a Harbor-compatible harness can run a whole environment, for example `harbor run --path tasks/class-test --agent oracle` and then your own agent and model. The agent works in `/app` and must write `/app/answer.json`; the verifier writes `/logs/verifier/reward.txt`. Tasks need no network and no GPU. | |
| To rebuild the packaged tasks deterministically: `python3 tools/export.py <env_folder>` (standard library only). | |
| ## Reward | |
| The verifier compares each value in `answer.json` with the expected one: integers exactly, numbers within one unit of the last decimal the instruction asks for, lists and sets structurally. Where a good answer is not unique (an excavation sequence, a counterexample to an argument), a validator checks the answer against the problem's own constraints. The reward is the weighted share of checks passed. A missing or unreadable answer scores 0, and `reward.json` also reports `solved` (all checks passed) for those who want a pass or fail signal. | |
| ## How the tasks were checked | |
| - **Two code paths.** The generator computes expected values from its in-memory data. A separate standalone oracle recomputes them from the task files alone, as an agent would. They share no code and must agree exactly on every task. | |
| - **Every check has teeth.** For each task the test suite changes each checked value in turn and confirms the check then fails; an empty answer, an empty object and a non-object must all score 0. | |
| - **No knife edges.** Generators resample until every value that decides a category, flag or rounding is clearly away from its boundary. | |
| - **Hand-worked cases.** `tests/` holds hand-worked cases for the reference environments. Generator self-tests also compare every generated answer with an independent file-based solver. | |
| - **Runnable tasks.** Every exported task is checked locally: the reference solution scores 1.0 and doing nothing scores 0. Docker smoke tests cover every task family with networking disabled; the tested oracle scores 1.0 and no-op scores 0. See `VALIDATION.md` for scope. | |
| Method references and modelling assumptions for the new environments are recorded in [METHODS.md](METHODS.md). | |
| ## Swedish language tasks | |
| The Swedish subsets are labelled `sv`; the other subsets are labelled `en`. Language is stored in each `env.toml`, every Harbor task's metadata/tags, the split indices and `environments.json`. `language-sv` and `language-en` tags refer to task language. | |
| The Swedish tasks are bounded editorial exercises with explicit house-style contracts and accepted alternatives. They preserve factual roles, negation, names, numbers and untouched text; copying the erroneous source earns zero. Copy briefs use current source records and reject stale revisions and unsupported claims. These checks measure constrained editing and factual compliance, **not** creativity, persuasive power or unrestricted Swedish writing quality. See [SWEDISH_QUALITY.md](SWEDISH_QUALITY.md) for the acceptance boundary, validation and source-pack holdouts. | |
| ## Limits | |
| - No model has been trained on these tasks yet, so we do not know how much training on them helps, or how hard they are for current models. We will report baselines when we have them. | |
| - The eval split uses unseen seeds but the same generators as the train split. Swedish subsets additionally use disjoint lexical/content packs; they share grammatical rules and house-style formats. This does not establish transfer to unrestricted text. | |
| - The data is synthetic. Formulas and conventions are standard ones from each field and are stated in each task, but the tasks have not yet been reviewed by practitioners in every field. Corrections are welcome in the Community tab. | |
| - Rules that vary by country (benefit regulations, zoning codes, exposure limits) are fictional and shipped with the task. They teach the method, not any jurisdiction's law. | |
| ## Licence | |
| MIT. Please credit "Practice by Renaissance Labs". | |