Recover efficiency numbers for timed-out trials

Open Beginner friendly
#131 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Read src/meridian/runtime/trial_runner.py at _verdict and inspect fixtures/terminal_agent/transcript.py to see how transcript entries record turns, tool calls, and tokens. Reproduce or trace the missing result file path, then add a test for deriving counts from .meridian/transcript.jsonl when that file exists. Done means a timed-out trial reports real turn and token counts and the test passes.

Written by the indexing model from the issue text.

Description

area: agent area: runtime enhancement size: S
Context

When a trial is killed at its deadline the adapter never writes its result, so turns, tool calls and tokens read 0, even though the agent's transcript records them.

What to do

When the result file is missing, derive the counts from .meridian/transcript.jsonl if it exists.

Done when

A timed-out trial reports real turn and token counts, with a test.

Where to look

src/meridian/runtime/trial_runner.py (_verdict), fixtures/terminal_agent/transcript.py


New here? Read CONTRIBUTING.md and comment on this issue to say you are taking it.


Generated by Claude Code

Dominant language
Python
Stars
0
Forks
0
Avg merge
1h 54m
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from patsypppe/meridian

All issues in patsypppe/meridian

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.