Repository: UKGovernmentBEIS/inspect_ai
Issue: Error on widgets scorer
Root cause: Validation Gap

running 
`inspect eval inspect_evals/agentharm  --model openai/gpt-4o-mini -T behavior_ids="[49-2]"`

causes:
```
─ agentharm (1 sample): openai/gpt-4o-mini ─────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                │
│ ╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_eval/task/run.py:310 in task_run                │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_eval/task/run.py:693 in task_run_sample         │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_eval/task/run.py:263 in sample_complete         │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_eval/task/run.py:443 in compute                 │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_display/textual/widgets/tasks.py:199 in         │                       │
│ │ update_metrics                                                                                                       │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_display/textual/widgets/task_detail.py:80 in    │                       │
│ │ update_metrics                                                                                                       │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_display/textual/widgets/task_detail.py:127 in   │                       │
│ │ refresh_grid                                                                                                         │                       │
│ │                                                                                                                      │                       │
│ │ /Users/mateuszdziemian/Desktop/chat_tasks/inspect_ai/src/inspect_ai/_display/textual/widgets/task_detail.py:207 in   │                       │
│ │ update                                                                                                               │                       │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯                       │
│ KeyError: 'Drugs_avg_scores'                                                                                                                   │
│                                                                                                                                                │
│ Task interrupted (1 of 1 total samples logged before interruption). Resume task with:  
```

Thanks for reporting this- looking now!