Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions core/src/eac/phases/judge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ impl Judging<'_> {
Err(e) if scored.error.is_empty() => scored.error = format!("judge failed: {e:#}"),
Err(_) => {}
}
if !self.online {
detail!("{}/{} judged", d.name, c.name);
}
detail!("{}/{} judged", d.name, c.name);
let case = case_result(c, &out, &scored, trace.and_then(|t| t.metrics));
Ok((scored, case))
}
Expand Down
2 changes: 1 addition & 1 deletion core/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ fn online_cases_are_judged_at_once_with_concurrency() {
let p = Project::new(&base());
p.write("rendezvous", "2");
let args = ["online", "run", "--judge", "nonempty", "--concurrency", "2"];
p.eac(&args).code(0);
p.eac(&args).code(0).says("chat/trace_0 judged").says("chat/trace_1 judged");
let calls = p.events("online_judge");
assert_eq!(calls.len(), 2);
assert!(calls.iter().all(|c| c["together"] == true), "{calls:?}");
Expand Down
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ pnpm typecheck # TypeScript
a short quick start and links into the docs, which start at `/introduction`.
`components/docsShell.tsx` leaves out the sidebar on it.

A toggle switches it between offline and online evals, each with its own
example, steps and terminal (`components/terminal.tsx`). The terminal plays
what the example prints, ANSI colors included. When the CLI's output changes,
run each example and update its `output` in `EXAMPLES` to match.

## Adding a page

1. Create `app/<slug>/page.mdx`, starting with `export const metadata = {title: '...'}`.
Expand Down
Loading
Loading