UXInteract / task_032 /tests /enhancement_cases.json
DojiSum's picture
Publish the current 141-task UXInteract release
ef987bb verified
Raw History Blame Contribute Delete
1.24 kB
[
{
"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."
}
]