Repository: UKGovernmentBEIS/inspect_ai
Issue: [bug] read_eval_log is broken on head, works on previous commit
Root cause: Algorithmic Error

On the latest release I get the following error when using read_eval_log:
```
Traceback (most recent call last):
  File "/home/ubuntu/fine_tuning/src/main.py", line 7, in <module>
    eval_logs = s3_get_eval_logs(LOG_DIR)
                ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/src/utils/inspect_ai_helpers.py", line 13, in s3_get_eval_logs
    eval_log = read_eval_log(eval_log_info)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/inspect_ai/log/_file.py", line 228, in read_eval_log
    return anyio.run(
           ^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/anyio/_core/_eventloop.py", line 74, in run
    return async_backend.run(func, args, {}, backend_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2303, in run
    return runner.run(wrapper())
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2291, in wrapper
    return await func(*args)
           ^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/inspect_ai/log/_file.py", line 267, in read_eval_log_async
    log = await recorder_type.read_log(log_file, header_only)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/inspect_ai/log/_recorders/eval.py", line 213, in read_log
    return _read_log(z, location, header_only)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/inspect_ai/log/_recorders/eval.py", line 428, in _read_log
    samples.append(EvalSample(**json.load(f)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/pydantic/main.py", line 214, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/fine_tuning/.venv/lib/python3.12/site-packages/inspect_ai/util/_sandbox/environment.py", line 351, in load_config_model
    type = data["type"]
           ~~~~^^^^^^^^
TypeError: list indices must be integers or slices, not str
```

I picked a random older commit `42432aed877e8d75bdf6c896fdd06869104e56b6`:
```
"inspect-ai @ git+https://github.com/UKGovernmentBEIS/inspect_ai.git@42432aed877e8d75bdf6c896fdd06869104e56b6",
```

And now this works as expected

Confirmed introduced at: 5d9b6b19469bdfad78975af0d164f2dc7a1a7f6a


Resolved with https://github.com/UKGovernmentBEIS/inspect_ai/pull/1448