--- license: cc0-1.0 task_categories: [question-answering, text-generation] tags: [agents, tool-use, function-calling, reinforcement-learning, rlvr, cricket, t20, synthetic, nemo-curator, nemo-gym] size_categories: [100K--[--]-` | | `split`, `qtype`, `match_id` | split, task type, match | | `question` | user message | | `gold`, `answer_kind` | exact answer; `rate` answers are accepted within 0.011, `int` answers must match | | `tools` | JSON string: the four tool definitions (OpenAI Responses format) | | `messages` | JSON string: reference conversation (system, user, assistant tool calls, tool results, final answer) | | `num_reference_tool_calls` | tool calls in the reference conversation | | `source_row_indices` | JSON string: row numbers in `Valarmathy/CricketData` that the task uses | ## Example ``` T20 International Bangladesh v England at Zayed Cricket Stadium on 2021-10-27. England were chasing. After 11.1 overs of the chase, what run rate (runs per over) did they need over the rest of their 20 overs to reach the target? Round to 2 decimal places. ``` Reference solution (answer 3.51): ``` assistant -> find_match({"team_a": "Bangladesh", "team_b": "England", "date": "2021-10-27"}) tool <- {"match_id": 1273731, "date": "2021-10-27", "venue": "Zayed Cricket Stadium", "bat_first": "Bangladesh", "bat_second": "England"} assistant -> get_score({"match_id": 1273731, "innings": 2, "overs": "11.1"}) tool <- {"match_id": 1273731, "innings": 2, "batting_team": "England", "bowling_team": "Bangladesh", "overs": "11.1", "balls_bowled": 67, "balls_remaining": 53, "runs": 94, "wickets": 1, "target": 125} assistant -> calculate({"expression": "round((125 - 94) * 6 / 53, 2)"}) tool <- {"value": 3.51} assistant: Using the scorebook figures, round((125 - 94) * 6 / 53, 2) = 3.51. / Final answer: 3.51 ``` ## How it was built 1. **Extract** - the `source` record of every question row becomes one scorebook entry (state after a delivery). Rows for wides and no-balls and rain-revised matches are dropped: 500,000 question rows, 34,947 unusable, 69,538 repeats of a delivery already seen. 2. **Clean** - exact de-duplication per match, innings and ball (1 removed); rows with impossible values (813) and innings whose score ever decreases (0) are dropped. 3. **Exclude double-headers** - 36 matches share both teams and the date with another match (same venue too), so a question could not say which one is meant. They stay in the scorebook, but no task is built on them. 4. **Generate** - per match, up to 6 tasks of each type for training matches and 3 for test matches, at points between 2.0 and 18.0 overs; two-point tasks span at least 2 overs. 5. **Validate** - the reference conversation of every task is replayed through the scorebook and its final answer is checked against the gold answer with the dataset's own checker (0 mismatches and 0 malformed tasks were dropped; 99,132 kept). The train/test split follows the source dataset: a match that has any test row is a test match. ## Use ```python import json from datasets import load_dataset ds = load_dataset("Balab2021/CricketData-T20-Agentic-ToolUse", split="benchmark") row = ds[0] tools, reference = json.loads(row["tools"]), json.loads(row["messages"]) ``` To run an agent, download `scorebook.py` and the `scorebook/` folder: ```python import json, scorebook as S book = S.Scorebook(map(json.loads, open("scorebook/matches.jsonl")), map(json.loads, open("scorebook/deliveries.jsonl"))) result = book.call("get_score", {"match_id": 1001349, "innings": 1, "overs": "14.3"}) ok = S.is_correct(S.parse_answer("Final answer: 7.25"), 7.25, "rate") ``` ## Versions - 2026-12-01, second upload: tasks on same-day double-headers removed (they were ambiguous; 1.9% of the first upload). ## Limits - The reference conversations are produced by a program, not by a model. They show one valid tool sequence without reasoning text. - All tasks are arithmetic over scorebook lookups in one domain. Results here say little about open-ended agent work. - Numbers come from `Valarmathy/CricketData` as they are; they were checked for internal consistency, not against official scorecards. ## Licence CC0-1.0, the same as the source data.