Renaissance Labs

Index / Health and welfare / Social work and counselling

0923Social work and counselling

Means Test

RenaissanceLabsEU/practice · means-test

Apply a written (fictional) benefit regulation to household case files: entitlement, mid-month changes, overpayments and review of past decisions.

Open on Hugging FaceHow to run it

Good for

  • Applying a rule document to case files
  • Multi-step money arithmetic with caps and disregards
  • Auditing earlier decisions

Reward

How it is scored
Programmatic check
Signal
Graded, 0 to 1

A deterministic verifier compares each value in answer.json with the expected one; the reward is the weighted share of checks passed, and a missing answer scores 0.

How to run it

1. Get the tasksthis environment is one subset of the Practice dataset

hf download RenaissanceLabsEU/practice --repo-type dataset --include "tasks/means-test/*" --local-dir Practice
cd Practice

Leave out --include to fetch every environment and the generators.

2. Check one task by handbuild it, run the reference solution, run the verifier

docker build -t practice-task tasks/means-test/means-test-change-d1-t0000/environment
docker run --rm --network none -v $PWD/tasks/means-test/means-test-change-d1-t0000/tests:/tests:ro -v $PWD/tasks/means-test/means-test-change-d1-t0000/solution:/solution:ro practice-task \
  bash -c 'bash /solution/solve.sh; bash /tests/test.sh; cat /logs/verifier/reward.txt'

Prints 1.0. Leave out bash /solution/solve.sh; to see the reward for doing nothing, which is 0.

3. Run it with an agenteach task folder is a Harbor task

harbor run --path tasks/means-test --agent oracle
# then your own agent and model, for example:
# harbor run --path tasks/means-test --agent terminus-2 --model <your-model>

The agent works in /app and writes /app/answer.json. The verifier writes the reward to /logs/verifier/reward.txt. Tasks tagged eval use seeds the train tasks never see.

4. Make more tasksthe generators are seeded and unlimited; needs the full download

python3 tools/export.py means_test

Needs Docker. The Harbor commands follow the framework's usual pattern and were not run by us; the Docker check above was.

Evidence

Every task: the reference solution scores 1.0 from the task files alone, an empty answer scores 0, and each check rejects a changed value.

Checked by our own test suite. No model has been trained on these tasks yet, so there is no evidence of training lift.