File size: 3,066 Bytes
d846fa6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
    "meta_info": {
        "case_id": "Mumtaz2016_03.edf",
        "bench_subset": "NeuroBench-Core",
        "difficult": 1.0,
        "original_dataset": "Mumtaz2016"
    },
    "agent_input": {
        "data_path": "data/core/Mumtaz2016_03.edf",
        "instruction": "Please keep only the real EEG channels from the raw signal, use the first 120 seconds, re-reference the EEG data to average reference, and save the processed EEG EDF file to the file_check directory with the filename Mumtaz2016_03_case15_processed.edf."
    },
    "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 saved EEG file path from the agent report.\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 JSON key must be EXACTLY \"file_path\".\n5. The value must be a string file path or null.\n6. If the report does not clearly provide a saved file path, return null.\n\n### OUTPUT TEMPLATE\n{\"file_path\": \"file_check/example_processed.edf\"}",
        "metrics": [
            {
                "metric_id": "save_avgref_real_eeg_edf_status",
                "type": "file_status_check",
                "target_key": "file_path",
                "weight": 100,
                "params": {
                    "match_mode": "eeg_file_match",
                    "validator_config": {
                        "file_name": {
                            "value": "Mumtaz2016_03_case15_processed.edf"
                        },
                        "duration_sec": {
                            "value": 120.0,
                            "weight": 33
                        },
                        "channel_names": {
                            "value": [
                                "Fp1-LE",
                                "F3-LE",
                                "C3-LE",
                                "P3-LE",
                                "O1-LE",
                                "F7-LE",
                                "T3-LE",
                                "T5-LE",
                                "Fz-LE",
                                "Fp2-LE",
                                "F4-LE",
                                "C4-LE",
                                "P4-LE",
                                "O2-LE",
                                "F8-LE",
                                "T4-LE",
                                "T6-LE",
                                "Cz-LE",
                                "Pz-LE"
                            ],
                            "weight": 34
                        },
                        "reference_mode": {
                            "value": "average",
                            "weight": 33
                        }
                    }
                }
            }
        ]
    }
}