Skip to content

feat(eval): expose accounting coverage and reject duplicate trials (TE1.1) - #158

Merged
lg2m merged 8 commits into
docs/token-efficiency-roadmapfrom
feat/eng-888-task-efficiency
Sep 25, 2026
Merged

lg2m merged 8 commits into
docs/token-efficiency-roadmapfrom
feat/eng-888-task-efficiency

Conversation

@lg2m

@lg2m lg2m commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Stack

Depends on #141; base: docs/token-efficiency-roadmap. Current main integrated for shared-index compatibility.

Scope: TE1.1 reporting foundation

  • Versioned coverage explicitly labels legacy Harbor agent-only metrics and missing verifier/request usage.
  • Reject duplicate and empty Harbor trial IDs before double-counting exports.
  • Expose known agent-spend subtotal and unknown cost/token attempt counts; incomplete coverage is not zero-cost work.
  • Three new focused regression tests plus existing report-fixture assertions.

Verification

Passed: cargo fmt --all -- --check; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo test --workspace --quiet -- --test-threads=1; cargo build --workspace; git diff --check. Full serial run includes 720 qq-core and 59 xtask tests. Earlier concurrent deadline/checkpoint timeouts remain documented; no root-cause claim and no test timeouts changed.

Compatibility / performance

Offline report only; additive JSON fields, rejects invalid duplicate/empty trial IDs. No runtime request/policy/protocol changes or paid trials. No efficiency saving claimed.

Remaining TE1 work

ENG-888 remains In Progress: request-level lineage/export, verifier accounting, repeated-read attribution, fixed corpus and overhead qualification are TE1.2, not claimed complete by this PR.

Tracking: https://linear.app/retsu-ai/issue/ENG-888

Draft toggle requires GitHub UI: connected REST API does not expose markPullRequestReadyForReview.

@lg2m
lg2m added this pull request to stack #159 September 24, 2026 20:21
@lg2m lg2m changed the title feat(eval): report verified task efficiency accounting (TE1) feat(eval): expose accounting coverage and reject duplicate trials (TE1.1) Sep 25, 2026
@lg2m
lg2m marked this pull request as ready for review September 25, 2026 14:38
@lg2m
lg2m merged commit dc07e29 into main Sep 25, 2026
4 checks passed
@lg2m
lg2m deleted the feat/eng-888-task-efficiency branch September 25, 2026 18:51
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