File size: 2,939 Bytes
4892f0a
52dff40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4892f0a
 
52dff40
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
{
  "name": "DynaMath",
  "release_date": "2024-05-01",
  "subsets": {
    "main": {
      "language": [
        "en"
      ],
      "modalities": [
        "single_image_start"
      ],
      "task_type": "short_answer_qa",
      "score_pipeline": [
        "rule-match",
        "llm-match"
      ],
      "score_protocol": {
        "reference": "VLMEvalKit@vlmeval/dataset/dynamath.py:58-109 — rule parse of the answer first (JSON 'short answer' / direct parse_answer), auxiliary LLM extraction only on parse failure, then rule compare: float abs(diff)<=0.001, MC letter equality, text containment. Official DynaMath@evaluation/gpt4o/gpt_4o_json_eval.py:98-123 uses the same JSON 'short answer' parse + abs(diff)<=0.001 rule compare. [Re-verified in clone 2026-07-07: DynaMath_auxeval at dynamath.py:58-110 — abs(diff)<=0.001 at :92.]",
        "note": "Official grading is rule-based over a JSON-formatted answer forced by their inference prompt; the mm-eval prompt (lmms-eval style question+Options trailer) does not force JSON, so LLM extraction fallback (VLMEvalKit protocol) is required. Official float tolerance is ABSOLUTE 0.001 (score_params.numeric_abs_tol), not relative. Official headline metrics are average-case AND worst-case accuracy over 10 generated variants per seed question; the mm-eval copy ships 501 rows (seed variant only), so worst-case accuracy is not reproducible."
      },
      "prompt_template": "<image>{{ question }}{% if options %}\nOptions:\n{% for k, v in options.items() %}{{ k }}. {{ v }}{% if not loop.last %}\n{% endif %}{% endfor %}{% endif %}\n",
      "mapping_from_source": {
        "media": {
          "from": "image",
          "type": "list",
          "min_items": 1,
          "max_items": 1
        },
        "id": {
          "from": "id"
        },
        "question": {
          "from": "question"
        },
        "answer": {
          "from": "answer",
          "optional": true
        },
        "options": {
          "from": "options",
          "optional": true,
          "note": "list source values are normalized to {A,B,...} dict"
        },
        "extra": {
          "subject": {
            "from": "subject"
          },
          "level": {
            "from": "level"
          },
          "answer_type": {
            "from": "answer_type"
          }
        },
        "source": {
          "format": "json",
          "url": {
            "test": "https://github.com/DynaMath/DynaMath/tree/main/dataset"
          }
        }
      },
      "prompt_template_source": {
        "origin": "official",
        "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/dynamath/utils.py (dynamath_doc_to_text — image+question+optional Options:/A./B. trailer)",
        "notes": "Tier 4: lmms-eval DynaMath canonical evaluation prompt."
      },
      "score_params": {
        "numeric_abs_tol": 0.001
      }
    }
  }
}