File size: 3,164 Bytes
04356ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
license: other
tags:
- science
- mathematics
- reasoning
- multiple-choice
- question-answering
task_categories:
- multiple-choice
- math
- question-answering
language:
- en
size_categories:
- 1K<n<10K
---

# StreetMath Dataset

## Dataset Summary

The **Street Math dataset** is a synthetic reasoning benchmark that evaluates a model’s ability to **approximate sums of decimal prices** in everyday shopping scenarios.  
Each example presents a list of item prices, and the model must select the approximate total cost (before tax) from multiple-choice options.  

The dataset is designed to test **numerical reasoning, estimation, and handling of decimal numbers**.  
Language: **English**.  
Domain: **mathematics applied to real-world shopping tasks**. 

## Languages

- **English (en)**: prompts and options are written in plain English, with U.S. dollar formatting for prices.

## Data Instances

Example instance:

```json
{
  "id": "basket_sum_000243",
  "topic": "basket_sum",
  "subtopic": "decimal_prices",
  "prompt": "You’re buying these items: $3.55, $15.42, $4.56, $12.63, $6.08. About how much will you pay (before tax)?",
  "labels": ["A", "B", "C", "D"],
  "correct_label": "A",
  "choices": ["$43.00", "$14.11", "$42.24", "$182.80"],
  "correct_option": 0,
  "metadata": {
    "exact_value": 42.24,
    "good_value": 43.0,
    "mild_value": 14.11,
    "way_value": 182.8,
    "prices": [3.55, 15.42, 4.56, 12.63, 6.08]
  },
  "split": "test"
}
```

## Intended Uses

The Basket Sum dataset is intended for:  
- **Benchmarking language models** on basic numerical reasoning and arithmetic in natural language contexts.  
- **Evaluating estimation skills**: testing whether models can provide approximate answers rather than exact calculations.  
- **Educational and research purposes**: studying how models handle everyday math tasks such as adding decimal prices.  

This dataset is **not** intended for:  
- Financial or accounting applications.  
- Real-world shopping or economic forecasting.  
- Any critical decision-making where incorrect numerical outputs could cause harm.

## Format

- **File type:** JSON Lines (`.jsonl`)
- **Each line:** one example as a JSON object
- **Compatible with:** Hugging Face `datasets` library (`load_dataset("json", data_files="...")`)


## How to Get the Dataset

You can easily load this dataset from the Hugging Face Hub using the `datasets` library:

```python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("Chiung-Yi/StreetMath")

# Access the test split
test_dataset = dataset["test"]

# Example: print the first item
print(test_dataset[0])
```


## Limitations and Ethical Considerations

**Licensing**: The license is currently unspecified. For any public or commercial use, it is necessary to verify the terms with the author.


## Dataset Curators

- Original dataset created by [Chiung-Yi](https://huggingface.co/Chiung-Yi)

### Disclaimer
This dataset card was written by a community contributor to improve documentation. 
If you are the original author or know additional details, feel free to submit a pull request or open an issue to update this card.