File size: 2,343 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
{
    "meta_info": {
        "case_id": "Mumtaz2016_04.edf",
        "bench_subset": "NeuroBench-Core",
        "difficult": 2.0,
        "original_dataset": "Mumtaz2016"
    },
    "agent_input": {
        "data_path": "data/core/Mumtaz2016_04.edf",
        "instruction": "Please select occipital EEG channels, compute the mean Alpha Peak Frequency (APF), define the personalized alpha band as APF-2Hz to APF+2Hz, and compute the relative power percentage of this personalized alpha band. Clearly report both the mean APF value and the personalized alpha relative power percentage. Use Welch PSD estimation. Define relative power as the integrated power in the target frequency band divided by the integrated total power from 0.5 to 45 Hz."
    },
    "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 two numeric values from the agent report:\n1) mean occipital Alpha Peak Frequency (APF)\n2) personalized alpha relative power percentage\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, explanations, or units.\n4. Keys must be EXACTLY \"occipital_apf_mean\" and \"personalized_alpha_ratio\".\n5. Both values must be float or null.\n6. If a value is missing or cannot be found, use null for that key.\n\n### OUTPUT TEMPLATE\n{\"occipital_apf_mean\": <float|null>, \"personalized_alpha_ratio\": <float|null>}",
        "metrics": [
            {
                "metric_id": "occipital_apf_mean_accuracy",
                "type": "numeric_check",
                "target_key": "occipital_apf_mean",
                "weight": 50,
                "params": {
                    "gt_value": 11.0,
                    "tolerance": 0.55
                }
            },
            {
                "metric_id": "personalized_alpha_ratio_accuracy",
                "type": "numeric_check",
                "target_key": "personalized_alpha_ratio",
                "weight": 50,
                "params": {
                    "gt_value": 39.25053460368444,
                    "tolerance": 1.9625267301842222
                }
            }
        ]
    }
}