problem_info
dict | node_data
dict | edges
listlengths 2
15
| template_edges
listlengths 2
57
| whole_template_edges
listlengths 4
84
| ln
listlengths 2
4
| all_param
listlengths 6
72
| problem_text
listlengths 3
16
| solution_text
listlengths 2
21
| topological_order
listlengths 2
21
| expression_relationships
dict | op
int64 2
22
| condition
stringclasses 3
values | irrelevant_nodes_count
int64 0
17
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{
"d": 3,
"e": 13,
"final_answer": 3,
"p": 0.140820555004872,
"question_index": [
0,
1,
2,
1
],
"w0": 2,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 0)","(1, 2)"],["(0, 1)","(1, 0)"],["(0, 1)","(1, 1)"],["(0, 1)","(1, 2)"](...TRUNCATED)
| [["(0, 1, 2, 1)","(1, 1, 2, 2)"],["(0, 1, 2, 2)","(0, 1, 2, 1)"],["(0, 1, 2, 2)","(1, 1, 2, 2)"],["((...TRUNCATED)
| [["(0, 1, 2, 1)","(1, 1, 2, 2)"],["(0, 1, 2, 2)","(0, 1, 2, 1)"],["(0, 1, 2, 2)","(1, 1, 2, 2)"],["((...TRUNCATED)
|
[
"Ecosystems",
"Creatures",
"Organs"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each Stanley Park in Vancouver's Paramecium equals 2","The number of each Tardigrade(...TRUNCATED)
|
[
"Define Daphnia's Cardia as S; so S = 3",
"Define Daphnia's Appendix as i; so i = S = 3"
] | [{"description":"Daphnia's Cardia","param":"(0, 1, 2, 2)"},{"description":"Daphnia's Appendix","para(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":2}],"op":"const","value":null},"(0,(...TRUNCATED)
| 2
|
Condition_3
| 5
|
{
"d": 4,
"e": 7,
"final_answer": 3,
"p": 0.3120318620884,
"question_index": [
1,
2,
1,
3
],
"w0": 2,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 1)"],["(0, 1)","(1, 0)"],["(1, 0)","(2, 0)"],["(1, 1)","(2, 0)"],["(1, 1)","(2, 1)"](...TRUNCATED)
| [["(1, 2, 1, 3)","(0, 1, 1, 0)"],["(1, 2, 1, 3)","(1, 1, 1, 3)"],["(0, 2, 1, 1)","(1, 2, 1, 3)"],["((...TRUNCATED)
| [["(1, 2, 1, 3)","(0, 1, 1, 0)"],["(1, 2, 1, 3)","(1, 1, 1, 3)"],["(0, 2, 1, 1)","(1, 2, 1, 3)"],["((...TRUNCATED)
|
[
"Zoo",
"Enclosure",
"Animal",
"Bone"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 1, 0, 0)","(0, 1, 0, 1)","(0, 1, 1(...TRUNCATED)
| ["The number of each Kuala Lumpur Bird Park's Ladybug Loft equals 4","The number of each Spider Web (...TRUNCATED)
|
[
"Define Turtle's Proximal Phalanges as s; so s = 3",
"Define Turtle's Bone as Q; so Q = s = 3"
] | [{"description":"Turtle's Proximal Phalanges","param":"(0, 2, 1, 1)"},{"description":"Turtle's Bone"(...TRUNCATED)
| {"(0, 0, 0, 0)":null,"(0, 0, 0, 1)":{"children":[{"children":[],"op":"const","value":1},{"children":(...TRUNCATED)
| 2
|
Condition_1
| 0
|
{
"d": 3,
"e": 6,
"final_answer": 2,
"p": 0.9575629825307911,
"question_index": [
1,
0,
0,
1
],
"w0": 2,
"w1": 4
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 1)","(1, 2)"],["(0, 2)","(1, 1)"],["(1, 0)","(2, 1)"],["(1, 1)","(2, 2)"](...TRUNCATED)
| [["(0, 0, 0, 0)","(1, 0, 0, 1)"],["(-1, 0, 0, 0)","(0, 0, 0, 0)"],["(-1, 0, 0, 0)","(0, 0, 1, 2)"],[(...TRUNCATED)
| [["(0, 0, 0, 0)","(1, 0, 0, 1)"],["(0, 0, 0, 0)","(1, 0, 0, 2)"],["(-1, 0, 0, 0)","(0, 0, 0, 0)"],["(...TRUNCATED)
|
[
"District",
"Supermarket",
"Product"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each Gated Community's Price Rite equals 2","The number of each Rural Homes's Dollar(...TRUNCATED)
| ["Define Gated Community's Price Rite as G; so G = 2","Define Gated Community's Supermarket as j; so(...TRUNCATED)
| [{"description":"Gated Community's Price Rite","param":"(0, 0, 0, 0)"},{"description":"Gated Communi(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[],"op":"const","value":2},"(0, 0, 0, 1)":null,"(0, 0, 0, 2)":null,"(0, (...TRUNCATED)
| 2
|
Condition_3
| 5
|
{
"d": 2,
"e": 9,
"final_answer": 1,
"p": 0.23563752354382303,
"question_index": [
0,
0,
2,
1
],
"w0": 3,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 0)","(1, 1)"],["(0, 0)","(1, 2)"],["(0, 1)","(1, 0)"],["(0, 1)","(1, 1)"](...TRUNCATED)
| [["(0, 0, 1, 1)","(0, 0, 2, 1)"],["(0, 0, 1, 1)","(0, 0, 0, 2)"],["(0, 0, 1, 1)","(0, 0, 2, 0)"],["((...TRUNCATED)
| [["(0, 0, 1, 1)","(0, 0, 2, 1)"],["(0, 0, 1, 1)","(0, 0, 0, 2)"],["(0, 0, 1, 1)","(0, 0, 2, 0)"],["((...TRUNCATED)
|
[
"Animal",
"Bone"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each Pigeon's Furcula equals the sum of each Ostrich's Metacarpals, each Pigeon's Pr(...TRUNCATED)
| ["Define Ostrich's Metacarpals as S; so S = 1","Define Dove's Metacarpals as P; so P = 1 * S = 1 * 1(...TRUNCATED)
| [{"description":"Ostrich's Metacarpals","param":"(0, 0, 1, 1)"},{"description":"Dove's Metacarpals",(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":0},{"children":[{"children":[],"op"(...TRUNCATED)
| 2
|
Condition_1
| 1
|
{
"d": 3,
"e": 12,
"final_answer": 4,
"p": 0.778730730057788,
"question_index": [
0,
0,
0,
1
],
"w0": 2,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 0)","(1, 1)"],["(0, 0)","(1, 2)"],["(0, 1)","(1, 1)"],["(0, 1)","(1, 2)"](...TRUNCATED)
| [["(0, 0, 2, 0)","(0, 0, 0, 1)"],["(-1, 0, 0, 0)","(0, 0, 2, 0)"],["(-1, 0, 0, 0)","(0, 0, 0, 1)"],[(...TRUNCATED)
| [["(0, 0, 2, 0)","(0, 0, 0, 1)"],["(0, 0, 2, 0)","(1, 0, 2, 1)"],["(0, 0, 2, 0)","(1, 0, 2, 2)"],["((...TRUNCATED)
|
[
"Classroom",
"Backpack",
"Stationery"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each Gymnasium's Diaper Backpack equals each Rock Climbing Wall's Picnic Backpack","(...TRUNCATED)
| ["Define Rock Climbing Wall's Diaper Backpack as c; so c = 4","Define Gymnasium's Picnic Backpack as(...TRUNCATED)
| [{"description":"Rock Climbing Wall's Diaper Backpack","param":"(0, 0, 2, 0)"},{"description":"Gymna(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":1}],"op":"const","value":null},"(0,(...TRUNCATED)
| 2
|
Condition_3
| 10
|
{
"d": 3,
"e": 9,
"final_answer": 3,
"p": 0.272053682623394,
"question_index": [
0,
1,
0,
0
],
"w0": 2,
"w1": 4
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 0)","(1, 1)"],["(0, 0)","(1, 2)"],["(0, 1)","(1, 0)"],["(0, 1)","(1, 1)"](...TRUNCATED)
| [["(0, 1, 0, 0)","(1, 1, 0, 2)"],["(0, 1, 0, 1)","(0, 1, 0, 0)"],["(0, 1, 0, 1)","(1, 1, 0, 2)"],["((...TRUNCATED)
| [["(0, 1, 0, 0)","(1, 1, 0, 2)"],["(0, 1, 0, 1)","(0, 1, 0, 0)"],["(0, 1, 0, 1)","(1, 1, 0, 2)"],["((...TRUNCATED)
|
[
"Zoo",
"Enclosure",
"Animal"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 1, 0(...TRUNCATED)
| ["The number of each Houston Zoo's Panda Exhibit equals each Singapore Zoo's Hippopotamus Tank","The(...TRUNCATED)
| ["Define Panda Exhibit's Lion as Y; so Y = 4","Define Panda Exhibit's Koala as v; so v = 2 * Y = 2 *(...TRUNCATED)
| [{"description":"Panda Exhibit's Lion","param":"(0, 1, 0, 1)"},{"description":"Panda Exhibit's Koala(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":4}],"op":"const","value":null},"(0,(...TRUNCATED)
| 2
|
Condition_1
| 2
|
{
"d": 2,
"e": 9,
"final_answer": 2,
"p": 0.473879847446862,
"question_index": [
0,
0,
0,
1
],
"w0": 3,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 0)","(1, 1)"],["(0, 0)","(1, 2)"],["(0, 1)","(1, 0)"],["(0, 1)","(1, 1)"](...TRUNCATED)
| [["(0, 0, 1, 1)","(0, 0, 0, 1)"],["(0, 0, 0, 1)","(0, 0, 2, 0)"],["(0, 0, 0, 1)","(0, 0, 2, 1)"],["((...TRUNCATED)
| [["(0, 0, 1, 1)","(0, 0, 0, 1)"],["(0, 0, 1, 1)","(1, 0, 1, 1)"],["(0, 0, 0, 1)","(0, 0, 2, 0)"],["((...TRUNCATED)
|
[
"District",
"Supermarket"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each Colonial District's Galleria Supermarket equals 1","The number of each Historic(...TRUNCATED)
| ["Define Historic Downtown's T&T Supermarket as R; so R = 2","Define Colonial District's T&T Superma(...TRUNCATED)
| [{"description":"Historic Downtown's T&T Supermarket","param":"(0, 0, 1, 1)"},{"description":"Coloni(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":4},{"children":[{"children":[],"op"(...TRUNCATED)
| 2
|
Condition_1
| 1
|
{
"d": 2,
"e": 7,
"final_answer": 0,
"p": 0.377748223904177,
"question_index": [
0,
0,
0,
2
],
"w0": 2,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 0)","(1, 2)"],["(0, 1)","(1, 1)"],["(0, 1)","(1, 2)"],["(0, 2)","(1, 0)"](...TRUNCATED)
| [["(0, 0, 0, 2)","(0, 0, 1, 2)"],["(0, 0, 0, 2)","(0, 0, 0, 0)"],["(0, 0, 2, 0)","(0, 0, 0, 2)"],["((...TRUNCATED)
| [["(0, 0, 0, 2)","(0, 0, 1, 2)"],["(0, 0, 0, 2)","(0, 0, 0, 0)"],["(0, 0, 0, 2)","(1, 0, 0, 1)"],["((...TRUNCATED)
|
[
"District",
"Supermarket"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each City Hall District's Safeway equals the sum of each City Hall District's Sainsb(...TRUNCATED)
| ["Define City Hall District's Sainsbury's as p; so p = 0","Define Bureaucratic District's Sam's Club(...TRUNCATED)
| [{"description":"City Hall District's Sainsbury's","param":"(0, 0, 2, 0)"},{"description":"Bureaucra(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":0}],"op":"const","value":null},"(0,(...TRUNCATED)
| 2
|
Condition_2
| 3
|
{
"d": 4,
"e": 6,
"final_answer": 1,
"p": 0.7733473347094091,
"question_index": [
1,
0,
1,
1
],
"w0": 2,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
| [["(0, 0)","(1, 0)"],["(0, 1)","(1, 1)"],["(1, 0)","(2, 0)"],["(1, 1)","(2, 1)"],["(2, 0)","(3, 0)"](...TRUNCATED)
| [["(0, 0, 1, 1)","(1, 0, 1, 1)"],["(0, 0, 1, 1)","(1, 0, 1, 2)"],["(-1, 0, 0, 0)","(0, 0, 1, 1)"],["(...TRUNCATED)
| [["(0, 0, 1, 1)","(1, 0, 1, 1)"],["(0, 0, 1, 1)","(1, 0, 1, 2)"],["(0, 0, 1, 1)","(1, 0, 1, 3)"],["((...TRUNCATED)
|
[
"Zoo",
"Enclosure",
"Animal",
"Bone"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 1, 0, 0)","(0, 1, 0, 1)","(0, 1, 1(...TRUNCATED)
| ["The number of each Swordfish's Caudal Vertebrae 3 equals 4","The number of each Philadelphia Zoo's(...TRUNCATED)
| ["Define London Zoo's Elephant Habitat as F; so F = 1","Define London Zoo's Enclosure as l; so l = F(...TRUNCATED)
| [{"description":"London Zoo's Elephant Habitat","param":"(0, 0, 1, 1)"},{"description":"London Zoo's(...TRUNCATED)
| {"(0, 0, 0, 0)":{"children":[{"children":[],"op":"const","value":1}],"op":"const","value":null},"(0,(...TRUNCATED)
| 2
|
Condition_1
| 1
|
{
"d": 2,
"e": 3,
"final_answer": 3,
"p": 0.481543879277867,
"question_index": [
1,
0,
1,
1
],
"w0": 3,
"w1": 3
}
| {"99 Ranch Market":null,"Accessory Carpal":null,"Accordion File":null,"Achilles Tendon":null,"Acryli(...TRUNCATED)
|
[
[
"(0, 0)",
"(1, 2)"
],
[
"(0, 1)",
"(1, 0)"
],
[
"(0, 2)",
"(1, 1)"
]
] | [["(0, 0, 1, 0)","(1, 0, 1, 1)"],["(0, 0, 1, 0)","(0, 0, 0, 2)"],["(-1, 0, 0, 0)","(0, 0, 1, 0)"],["(...TRUNCATED)
| [["(0, 0, 1, 0)","(1, 0, 1, 1)"],["(0, 0, 1, 0)","(0, 0, 0, 2)"],["(-1, 0, 0, 0)","(0, 0, 1, 0)"],["(...TRUNCATED)
|
[
"Animal",
"Bone"
] | ["(0, 0, 0, 0)","(0, 0, 0, 1)","(0, 0, 0, 2)","(0, 0, 1, 0)","(0, 0, 1, 1)","(0, 0, 1, 2)","(0, 0, 2(...TRUNCATED)
| ["The number of each Skink's Neural Spines equals 1","The number of each Gila Monster's Basal Plate (...TRUNCATED)
|
[
"Define Gila Monster's Basal Plate as w; so w = 3",
"Define Gila Monster's Bone as J; so J = w = 3"
] | [{"description":"Gila Monster's Basal Plate","param":"(0, 0, 1, 0)"},{"description":"Gila Monster's (...TRUNCATED)
| {"(0, 0, 0, 0)":null,"(0, 0, 0, 1)":null,"(0, 0, 0, 2)":{"children":[{"children":[],"op":"const","va(...TRUNCATED)
| 2
|
Condition_1
| 1
|
End of preview. Expand
in Data Studio
GSM-DC Test Dataset
This dataset contains the test set for GSM-DC (Grade School Math with Distractor Chains), a synthetic math reasoning dataset with controlled complexity.
Dataset Details
- Total Problems: 6300
- Operation Counts (OP): 16-22 (out-of-distribution test set)
- Problem Types: Graph-based mathematical reasoning problems
- Noise Levels: Light, Medium, Hard (distractor difficulty)
Dataset Structure
Each problem in all_problems.json contains:
problem_text: The problem statement with all variables and relationshipssolution: Step-by-step ground truth solutionfinal_answer: The numerical answern_op: Number of operations (16-22)noise_level: Distractor difficulty (light/medium/hard)graph_structure: Internal graph representationtemplate_id: Problem template identifier
Usage
import json
# Load the dataset
with open('all_problems.json', 'r') as f:
problems = json.load(f)
# Access a problem
problem = problems[0]
print(problem['problem_text'])
print(problem['solution'])
print(problem['final_answer'])
Citation
If you use this dataset, please cite:
@inproceedings{gsm-dc-2025,
title={GSM-DC: Grade School Math with Distractor Chains},
author={[Your Name]},
booktitle={Proceedings of EMNLP 2025},
year={2025}
}
Paper
Published at EMNLP 2025. [Paper Link]
License
MIT License
- Downloads last month
- 14