Skip to content

feat: export eval artifacts as json#186

Open
jlewi wants to merge 6 commits into
mainfrom
dev/jlewi/evals2
Open

feat: export eval artifacts as json#186
jlewi wants to merge 6 commits into
mainfrom
dev/jlewi/evals2

Conversation

@jlewi
Copy link
Copy Markdown
Collaborator

@jlewi jlewi commented Apr 25, 2026

Summary

  • write one JSON artifact per eval run plus a summary manifest
  • print TTFM and TurnTime in the eval runner output
  • ignore generated eval artifact directories

Validation

  • runme run build test

jlewi added 6 commits April 22, 2026 07:05
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
@jlewi jlewi requested a review from sourishkrout as a code owner April 25, 2026 19:18
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 82479c38d8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +43 to +45
target.handle &&
typeof target.handle.uri === "string" &&
target.handle.uri.trim()
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject explicit invalid notebook targets

This resolver now falls back to the current notebook whenever target is present but has an empty uri/handle.uri, which changes the previous behavior (returning null) into implicit mutation of whatever notebook is currently open. If a tool call or generated script passes { uri: "" } (or an empty handle URI), runme.* operations can act on the wrong notebook instead of failing fast, which can silently corrupt eval results and user state.

Useful? React with 👍 / 👎.

runOrThrow(`agent-browser open ${FRONTEND_URL}`, 30000);
run("agent-browser wait 2500", 5000);
evaluateJson<boolean>(
`JSON.stringify(await window.__runmeEval.waitUntilReady())`,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for eval bridge registration before calling it

The runner invokes window.__runmeEval.waitUntilReady() immediately after a fixed sleep, but __runmeEval is installed from a React useEffect and is not guaranteed to exist by then. On slower page loads this throws before readiness polling even starts, causing flaky hard failures in the eval pipeline; the script should first poll for window.__runmeEval itself, then call waitUntilReady.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant