Skip to content

Harden the benchmark, verify pricing, decouple claim-matching - #18

Merged
tobilobacodes00 merged 2 commits into
mainfrom
tobiloba/engine-spine
Jul 19, 2026
Merged

tobilobacodes00 merged 2 commits into
mainfrom
tobiloba/engine-spine

Conversation

@tobilobacodes00

Copy link
Copy Markdown
Owner

Three fixes that turn described weaknesses into real ones:

  • benchmark: real measured wall-clock for the lone-wolf run (was hard-coded 45s); 90s per-stage timeout so a slow provider degrades to a partial scorecard instead of hanging.
  • pricing: the Boundary's rates are now the verified Alibaba Model Studio (Singapore) numbers, not placeholders (fixed flash input 0.10 → 0.05).
  • refactor: claim-matching extracted from the 2.3k-line Supervisor into app.engine.claim_match, shared cleanly with the Receipts.

Full backend suite green (417 passed; the 2 relay failures are the known local dev-server/Postgres flake, pass in CI).

elementsSelectable=false made React Flow set pointer-events:none on the nodes, so
the per-node onClick never fired. Handle it through React Flow's onNodeClick with
nodes selectable; hide RF's default selection outline (our halo marks the inspected
wolf); mark only live wolves selectable. Verified live in a browser.
Three fixes that turn known weak spots into real ones:

- benchmark: the lone-wolf time was hard-coded to 45s — now measured wall-clock,
  so the head-to-head is honest. Each stage (lone run, judge) is capped at 90s so
  a slow provider degrades to a partial scorecard instead of hanging the request.
- pricing: the Boundary's per-token rates were flagged "placeholder" — replaced
  with the verified Alibaba Model Studio (intl/Singapore) rates (fixed flash input
  0.10 → 0.05), so the spend cap is priced against real, cited numbers.
- claim-matching: moved content_tokens / claim_matches out of the 2.3k-line
  Supervisor into app.engine.claim_match, shared cleanly by the Sentinel critique
  and the Receipts join (receipts no longer reaches into supervisor's privates).
@tobilobacodes00
tobilobacodes00 merged commit d47451d into main Jul 19, 2026
4 checks passed
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