xbb083's picture
Restore naturally ordered Sleep Assessment case paths
c00b2be verified
Raw
History Blame Contribute Delete
2.52 kB
{
"meta_info": {
"case_id": "ISRUC_02.edf",
"bench_subset": "NeuroBench-Sleep",
"difficult": 1.5,
"original_dataset": "ISRUC"
},
"agent_input": {
"data_path": "data/sleep/ISRUC_02.edf",
"instruction": "Please use the provided sleep file to identify the ECG channel and estimate whole-night heart-rate statistics from the ECG signal. For this ISRUC file, X2 is the ECG channel. Report three final values: mean_HR_bpm, min_HR_bpm, and max_HR_bpm."
},
"eval_config": {
"parser_prompt": "### ROLE\nYou are a precise JSON Extraction Engine for sleep ECG analysis reports. Your sole task is to convert natural language reports into structured JSON data.\n\n### TASK\nExtract three final whole-night heart-rate statistics from the agent's report:\n1) mean_HR_bpm\n2) min_HR_bpm\n3) max_HR_bpm\n\n### STRICT CONSTRAINTS (MANDATORY)\n1. Output ONLY a valid JSON object.\n2. DO NOT include Markdown code blocks.\n3. DO NOT include conversational text, explanations, or extra fields.\n4. The keys must be EXACTLY \"mean_HR_bpm\", \"min_HR_bpm\", and \"max_HR_bpm\".\n5. All three values must be FLOAT bpm values or null. Do not include units.\n6. If the report contains units like bpm or beats/min, strip the units and keep only the number.\n7. If one value is missing or unclear, return null for that value.\n\n### OUTPUT TEMPLATE\n{\"mean_HR_bpm\": <float|null>, \"min_HR_bpm\": <float|null>, \"max_HR_bpm\": <float|null>}",
"metrics": [
{
"metric_id": "mean_hr_accuracy",
"type": "numeric_check",
"target_key": "mean_HR_bpm",
"weight": 34,
"params": {
"gt_value": 64.83364781619402,
"tolerance": 3.0
}
},
{
"metric_id": "min_hr_accuracy",
"type": "numeric_check",
"target_key": "min_HR_bpm",
"weight": 33,
"params": {
"gt_value": 57.69230769230769,
"tolerance": 5.0
}
},
{
"metric_id": "max_hr_accuracy",
"type": "numeric_check",
"target_key": "max_HR_bpm",
"weight": 33,
"params": {
"gt_value": 76.43312101910827,
"tolerance": 7.643312101910827
}
}
]
}
}