UXInteract / task_028 /tests /enhancement_cases.json
DojiSum's picture
Publish the current 141-task UXInteract release
ef987bb verified
Raw History Blame Contribute Delete
1.63 kB
[
{
"case_id": "ENHANCED_CASE_1",
"instruction_evidence": "接着计算每首歌的“活跃度得分”(energy * 0.5 + valence * 0.5),找出得分最高的 5 首歌曲并展示其名称和艺术家;",
"validator": "tests/validate_enhanced.py#enhanced_case_1",
"behavior": "Recomputes the equal-weight score and checks the complete top-five track/artist ordering; validates a score column when supplied."
},
{
"case_id": "ENHANCED_CASE_2",
"instruction_evidence": "首先提取 track_album_release_date 的年份作为新列 release_year,并筛选 2000 年及以后的歌曲数据;",
"validator": "tests/validate_enhanced.py#enhanced_case_2",
"behavior": "Raises the pre-2000 fixture song's activity score in an isolated rerun and requires it to remain excluded. validate_contract.py additionally checks year-derived filtered rows and the annual chart."
},
{
"case_id": "ENHANCED_CASE_3",
"instruction_evidence": "最后绘制 tempo(BPM)的分布直方图,标注均值和中位数。",
"validator": "tests/validate_enhanced.py#enhanced_case_3",
"behavior": "Recomputes and independently checks labeled tempo mean and median; validate_contract.py checks all three data tables and proportional SVG chart bars."
},
{
"case_id": "CONTRACT_AND_MUTATION",
"instruction_evidence": "filtered_songs、annual_counts、genre_danceability、tempo_bins 与三张数据驱动 SVG。",
"validator": "tests/validate_contract.py",
"behavior": "独立重算数据表及 SVG 图形,修改年份、活跃度、danceability 和 tempo 后重跑。"
}
]