Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
stringlengths
20
23
difficulty
int64
1
4
difficulty_tier
stringclasses
3 values
n_turns
int64
2
20
source_agent
stringclasses
2 values
messages
listlengths
7
43
tools
listlengths
1
1
0032_386_32386426_qa_2
3
medium
7
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0079_726_79726462_qa_1
2
medium
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0058_272_58272349_qa_4
1
easy
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0108_986_108986276_qa_3
2
medium
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0135_720_135720396_qa_1
3
medium
6
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0130_285_130285411_qa_1
1
easy
4
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0123_500_123500011_qa_3
1
easy
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0096_784_96784965_qa_2
2
medium
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0043_591_43591690_qa_2
2
medium
4
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0001_733_1733851_qa_3
2
medium
12
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0069_399_69399288_qa_4
4
hard
4
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0035_303_35303628_qa_1
3
medium
4
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0028_054_28054736_qa_2
1
easy
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0089_604_89604836_qa_4
2
medium
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0053_910_53910928_qa_5
4
hard
8
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0041_193_41193082_qa_3
2
medium
4
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0056_687_56687302_qa_2
3
medium
5
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0127_535_127535783_qa_4
1
easy
7
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0115_972_115972863_qa_1
2
medium
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0017_339_17339042_qa_3
3
medium
5
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0102_923_102923439_qa_3
1
easy
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0112_804_112804674_qa_4
3
medium
5
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0057_778_57778333_qa_1
2
medium
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0083_238_83238182_qa_2
2
medium
4
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
0024_251_24251009_qa_3
1
easy
3
bash
[ { "role": "system", "content": "You are an autonomous data-analysis agent operating in a sandboxed Linux container. Your only tool is `bash`. The dataset files are in /home/user/input/. Python 3 + pandas + numpy + scikit-learn + scipy are pre-installed.\n\nWork the problem step-by-step: first inspect the da...
[ { "type": "function", "function": { "name": "bash", "description": "Run a shell command in the sandbox and return its combined stdout+stderr. The shell is non-stateful between calls (each call is a fresh `bash -c`). Use it to explore files (ls, head, cat), run Python (`python3 -c ...`), and writ...
End of preview. Expand in Data Studio
SmolDataEnvs

🛠️ SmolDataEnvs: SFT

Collection

5.5K+ RL tasks for hill-climbing small models in code and data science.

Reward and held-out pass@k climbing over 1,119 GRPO steps

A 2B model on these tasks. Left: what it optimises. Right: 144 held-out tasks it never trains on.
Two runs over the same 5,000 tasks: shuffled against a curriculum ordered easiest to hardest.

4,677 worked examples of an agent doing data science the right way. Each row is a complete, verified-correct trajectory: read the question, poke at the data with a shell tool, reason, compute, write the answer. Every one of them solved its task and passed the deterministic grader, so you are fine-tuning on demonstrations that are known to be correct rather than merely plausible.

Drop-in ready for TRL: conversational messages plus tools.

What's inside

  • 4,677 correct trajectories, one per task
  • Difficulty: easy 1,402 · medium 2,640 · hard 635
  • One tool throughout: bash

What's in a row

  • messages: the full conversation in OpenAI/TRL chat format: system → user (the task) → assistant (reasoning plus tool_calls) → tool (command output) → … → final assistant answer
  • tools: the bash tool's JSON schema, for apply_chat_template(..., tools=...)
  • task_id, difficulty (1–5), difficulty_tier, n_turns, source_agent

Fine-tune with TRL

from datasets import load_dataset
from trl import SFTConfig, SFTTrainer

ds = load_dataset("FineEnvs/SmolDataEnvs-sft", split="train")
trainer = SFTTrainer(
    model="HuggingFaceTB/SmolLM3-3B",
    train_dataset=ds,
    args=SFTConfig(output_dir="smoldataenvs-sft", max_length=8192),
)
trainer.train()

A runnable notebook and a single-file script for HF Jobs are in FineEnvs/04-smoldataenvs.

Where it comes from

Built from the jupyter-agent dataset, real data-science notebooks over 471 Kaggle datasets. Every question–answer pair was extracted and then verified: strong agent models had to solve the task in a live sandbox and reproduce the gold answer under deterministic grading. Anything ambiguous or un-checkable was dropped. So every task here is known-solvable and unambiguously gradable.

Verified by a checker, not judged by a model. Grading is an exact comparison against a known answer, through a ladder of checks: exact match → numeric with tolerances → list and percent normalisation → symbolic equivalence. No LLM sits in the reward path, so the signal does not drift when you change the grader's model, because there isn't one.

The family

Repo What it is
SmolDataEnvs the tasks as plain rows, load it and prompt any model
SmolDataEnvs-sft 4,677 verified agent trajectories, TRL-ready
SmolDataEnvs-harbor-train 5,000 tasks as Harbor environments
SmolDataEnvs-harbor-test 250 held-out, deliberately harder
SmolDataEnvs-harbor-eval 144 for quick validation during a run

Citation

@misc{fineenvs,
  author = {Kolavi, Adithya S},
  title  = {FineEnvs: Open Source RL Environments for LLM Agents},
  year   = {2026},
  url    = {https://github.com/adithya-s-k/FineEnvs}
}
Downloads last month
53

Collection including FineEnvs/SmolDataEnvs-sft