Renaissance Labs

Index / Science and mathematics / Mathematics

0541Mathematics

Mathematical Reasoning Dataset and RL Environments

d0rj/mathematics_dataset

Solve school-level maths questions from 70 modules in English or Russian and give a final answer checked against a private reference.

Open on Hugging FaceHow to run it

Good for

  • RL on verifiable maths
  • curriculum by difficulty
  • multi-framework adapters

Reward

How it is scored
Exact match
Signal
Pass or fail

The checker scores 1 for a correct final answer and 0 otherwise, using exact numbers, symbolic polynomials, sets and required forms, without an LLM judge.

How to run it

1. From the cardcopied from the publisher's own instructions

uv run --extra verifiers vf-eval mathematics-rl \
  --env.taskset.language ru --env.taskset.mode interpolate \
  --env.taskset.modules '["arithmetic__add_or_sub"]' \
  --model YOUR_MODEL --client.base-url http://127.0.0.1:8000

2. Get the filesthe whole repository, to a local folder

hf download d0rj/mathematics_dataset --repo-type dataset --local-dir mathematics_dataset

3. Check it with Harborcommon pattern, not from this card

# the oracle agent runs the reference solution, so no model is called
harbor run --repo https://huggingface.co/datasets/d0rj/mathematics_dataset --agent oracle

If every task passes, the environment works on your machine. Then swap in your own agent and model. Some repositories keep the tasks in a subfolder; the card says where.

4. Serve it for training with OpenEnvcommon pattern, not from this card

pip install "openenv[harbor]"
openenv harbor serve --dataset d0rj/mathematics_dataset --llm-url http://127.0.0.1:8000/v1 --model <your-model>

Framework documentation: Verifiers, Harbor, OpenEnv, NeMo Gym. Needs: An OpenAI-compatible model endpoint; Linux, macOS or WSL.

Evidence

Docker checks cover all 70 modules in both languages with scripted answers; no model-quality or RL improvement is claimed.

As reported by the publisher. We have not reproduced it.