Repository: UKGovernmentBEIS/inspect_ai
Issue: List score crashes `inspect view`
Root cause: Validation Gap

Using a list in `Score.value` seems to crash the log viewer, both in VS Code and on the web viewer. 

Here's an example task that produces the crashes:

```python

from inspect_ai import Task
from inspect_ai import task
from inspect_ai.dataset import Sample
from inspect_ai.scorer import metric
from inspect_ai.scorer import MetricProtocol
from inspect_ai.scorer import SampleScore
from inspect_ai.scorer import Score
from inspect_ai.scorer import Scorer
from inspect_ai.scorer import scorer
from inspect_ai.scorer import Target
from inspect_ai.solver import generate
from inspect_ai.solver import TaskState


@task
def task_with_list_score() -> Task:
    return Task(
        dataset=[Sample(input="") for _ in range(3)],
        solver=generate(),
        scorer=list_scorer(),
    )


@metric
def list_metric() -> MetricProtocol:
    def metric(scores: list[SampleScore]) -> float:
        all_values = [value for score in scores for value in score.score.as_list()]

        return sum(all_values)

    return metric


@scorer(metrics=[list_metric()])
def list_scorer() -> Scorer:
    async def score(state: TaskState, target: Target) -> Score:
        return Score(value=[True, False])

    return score
```

I'm on version 0.3.119 of the python package and 0.3.64 of the VS Code extension. 

This is the error message when trying to open a log file from the above task in VS Code:

```
An unexpected error occurred.
Error: Unexpected us of object score descriptor for non-score object
at Error: Unexpected us of object score descriptor for non-score object
    at https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:24950:21
    at Array.forEach (<anonymous>)
    at Object.render (https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:24948:16)
    at scoreRendered (https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:101175:29)
    at Object.render (https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:101248:20)
    at https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:149329:114
    at https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:149547:44
    at Array.flatMap (<anonymous>)
    at https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:149544:84
    at commitHookEffectListMount (https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226136303030227d.vscode-resource.vscode-cdn.net/home/user/repo/.venv/lib/python3.10/site-packages/inspect_ai/_view/www/dist/assets/index.js:6823:28)
```

I believe this was fixed here:

https://github.com/UKGovernmentBEIS/inspect_ai/pull/2294

which looks to me to be post inspect 0.3.119 (the viewer is bundled within the core inspect-ai package). Can you try upgrading to a later (or ideally the latest version) and I believe that will resolve this.

Yep, the issue does not occur with the newest version. My bad!