| import json | |
| from collections import defaultdict | |
| ds = defaultdict(int) | |
| with open('public_eval/bbox_step_300/MathVista_MINI/20250418/bbox_step_300/bbox_step_300_MathVista_MINI_bbox.json') as infile: | |
| data = json.load(infile) | |
| for item in data: | |
| source = item['source'] | |
| ds[source] += 1 | |
| print(ds) |