xbb083's picture
Restore naturally ordered Foundational Analysis case paths
d846fa6 verified
Raw
History Blame Contribute Delete
3.24 kB
{
"meta_info": {
"case_id": "ISRUC_04.edf",
"bench_subset": "NeuroBench-Core",
"difficult": 2.0,
"original_dataset": "ISRUC"
},
"agent_input": {
"data_path": "data/core/ISRUC_04.edf",
"instruction": "Please select standard EEG channels. For BCIC2020-3 and SEED-V recordings, restrict the analysis to frontal-region EEG channels; for other datasets, use all standard EEG channels. Apply an 8-13Hz zero-phase FIR bandpass filter to the selected continuous signals, then use the first 60 seconds of the filtered data. Extract instantaneous phase with the Hilbert transform and compute PLV for every unique channel pair. Define each channel's degree as the sum of its PLV connection strengths, and output the top-4 channel names ranked by degree from highest to lowest."
},
"eval_config": {
"parser_prompt": "### ROLE\nYou are a precise JSON Extraction Engine for neurophysiological data. Your sole task is to convert natural language reports into structured JSON data.\n\n### TASK\nExtract the ranked top-4 EEG channel names by PLV degree.\n\n### STRICT CONSTRAINTS (MANDATORY)\n1. Output ONLY a valid JSON object.\n2. DO NOT include Markdown code blocks.\n3. DO NOT include any conversational text or explanations.\n4. The key must be EXACTLY \"plv_degree_top4_channels\".\n5. Extract the final ranked list, not a channel inventory or an intermediate PLV table. The value must be an array of exactly 4 strings.\n6. Normalize EACH reported channel independently: trim whitespace, remove one leading acquisition prefix EEG followed by a space, hyphen, or underscore, then uppercase the label.\n7. Remove one terminal reference suffix if present: -A1, -A2, -LE, -REF, -M1, -M2, or -AVG.\n8. Convert legacy aliases after removing the prefix and suffix: T3->T7, T4->T8, T5->P7, T6->P8.\n9. Each output label must contain only uppercase A-Z letters and digits. Examples: F4-A1 -> F4; EEG Fp1-LE -> FP1; EEG T4 -> T8; Cz -> CZ.\n10. Keep the four channels in descending PLV degree order. Do not sort the array alphabetically and do not substitute different channels.\n11. If the final list does not contain exactly 4 identifiable channel labels, return {\"plv_degree_top4_channels\": null}; do not guess.\n\n### OUTPUT TEMPLATE\n{\"plv_degree_top4_channels\": [\"CH1\", \"CH2\", \"CH3\", \"CH4\"]}",
"metrics": [
{
"metric_id": "plv_degree_top4_sequence",
"type": "sequence_match_check",
"target_key": "plv_degree_top4_channels",
"weight": 100,
"params": {
"gt_value": [
"C4",
"F4",
"F3",
"C3"
],
"match_mode": "weighted_partial_order",
"top_k": 4,
"position_weights": [
1.0,
0.8,
0.6,
0.4
],
"min_overlap": 2,
"allow_order_slip": 1
}
}
]
}
}