Skip to content

examples: add eval-attribution-optimize-gate loop example#217

Open
tianyouyiwang wants to merge 1 commit into
trpc-group:mainfrom
tianyouyiwang:feature/eval-optimize-loop-example
Open

examples: add eval-attribution-optimize-gate loop example#217
tianyouyiwang wants to merge 1 commit into
trpc-group:mainfrom
tianyouyiwang:feature/eval-optimize-loop-example

Conversation

@tianyouyiwang

Copy link
Copy Markdown

Add a self-contained example under examples/optimization that demonstrates a six-stage closed loop: baseline evaluation, failure attribution, candidate optimization, gate decision and audit reporting. It ships a deterministic fake backend that needs no API key, plus an optional real backend backed by an OpenAI-compatible model.

Updates #214

RELEASE NOTES: Add an evaluation-optimization loop example under examples/optimization.

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@tianyouyiwang

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@f2a34ff). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             main        #217   +/-   ##
==========================================
  Coverage        ?   87.90237%           
==========================================
  Files           ?         479           
  Lines           ?       44984           
  Branches        ?           0           
==========================================
  Hits            ?       39542           
  Misses          ?        5442           
  Partials        ?           0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tianyouyiwang

Copy link
Copy Markdown
Author

recheck

Add a self-contained example under examples/optimization that demonstrates
a six-stage closed loop: baseline evaluation, failure attribution, candidate
optimization, gate decision and audit reporting. It ships a deterministic
fake backend that needs no API key, plus an optional real backend backed by
an OpenAI-compatible model.

Updates trpc-group#214

RELEASE NOTES: Add an evaluation-optimization loop example under examples/optimization.
@tianyouyiwang
tianyouyiwang force-pushed the feature/eval-optimize-loop-example branch from 30419d5 to ed225ce Compare July 22, 2026 04:13
Rook1ex added a commit to trpc-group/cla-database that referenced this pull request Jul 22, 2026
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