UXInteract / task_027 /tests /enhancement_cases.json
DojiSum's picture
Publish the current 141-task UXInteract release
ef987bb verified
Raw History Blame Contribute Delete
2.1 kB
[
{
"case_id": "ENHANCED_CASE_1",
"instruction_evidence": "计算每种 cut 类型的平均价格和中位价格。",
"validator": "tests/validate_enhanced.py#enhanced_case_1",
"behavior": "Recomputes every cut's count, average and median price from diamonds.csv and accepts any output row order."
},
{
"case_id": "ENHANCED_CASE_2",
"instruction_evidence": "找出价格最高的 10 颗钻石,并查看它们的 carat 和 z(深度)。",
"validator": "tests/validate_enhanced.py#enhanced_case_2",
"behavior": "Checks the full fixture-derived top-N price/carat/z multiset and descending price order, including duplicate-safe tie handling."
},
{
"case_id": "ENHANCED_CASE_3",
"instruction_evidence": "计算每种 cut 类型的平均价格和中位价格。\n随包基准输入:diamonds.csv",
"validator": "tests/validate_enhanced.py#enhanced_case_3",
"behavior": "Reruns the candidate against an isolated diamonds.csv with one price changed by 1337, then recomputes the cut average and verifies the actual rendered report tables and calibrated scatter coordinates against the changed input."
},
{
"case_id": "ENHANCED_CASE_4",
"instruction_evidence": "价格分档、类别分布、前十和散点图均须展示在 report.html。",
"validator": "tests/validate_enhanced.py#enhanced_case_4",
"behavior": "Checks fixture-derived price-bin counts and report content."
},
{
"case_id": "ENHANCED_CASE_5",
"instruction_evidence": "低于 1000 为 0-1000,1000 至不足 5000 为 1000-5000。",
"validator": "tests/validate_enhanced.py#enhanced_case_5",
"behavior": "Injects prices exactly 1000 and 5000 and reruns the candidate to verify both left-closed boundaries."
},
{
"case_id": "ENHANCED_CASE_6",
"instruction_evidence": "三个价格分档均须写出,空档计 0。",
"validator": "tests/validate_enhanced.py#enhanced_case_5(all_high=True)",
"behavior": "Moves all fixture prices above 5000 and requires the two empty bins to remain present with exact zero counts."
}
]