File size: 1,235 Bytes
ef987bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[
  {
    "case_id": "ENHANCED_CASE_1",
    "instruction_evidence": "识别出图中所有文字,并标注出来文字的具体位置",
    "validator": "tests/validate_enhancements.py::case_1_text_and_positions_match_fixture",
    "behavior": "Matches each expected text to its exact fixture bounding rectangle while accepting either rectangle or polygon result representation."
  },
  {
    "case_id": "ENHANCED_CASE_2",
    "instruction_evidence": "识别出图中所有文字,并标注出来文字的具体位置",
    "validator": "tests/validate_enhancements.py::case_2_positions_fit_source_geometry",
    "behavior": "Derives the bundled PPM dimensions and checks every recognized item has non-empty text plus a finite, positive-area rectangle or polygon fully inside the source image."
  },
  {
    "case_id": "ENHANCED_CASE_3",
    "instruction_evidence": "将标注结果保存到本地;确定性验证器",
    "validator": "tests/validate_enhancements.py::case_3_saved_outputs_are_deterministic",
    "behavior": "Checks the saved annotation has a PNG header and positive canvas dimensions, then reruns with proxies cleared and PYTHONHASHSEED fixed and requires all three saved artifacts to be byte-identical."
  }
]