Feat/issue 91 eval optimize loop#132
Open
zzp1221 wants to merge 3 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #132 +/- ##
==========================================
Coverage ? 87.86295%
==========================================
Files ? 467
Lines ? 44014
Branches ? 0
==========================================
Hits ? 38672
Misses ? 5342
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
04c1f74 to
1808173
Compare
Author
|
I have read the CLA Document and I hereby sign the CLA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
本 PR 在
examples/optimization/eval_optimize_loop/下新增一个可复现的“评测 -> 失败归因 -> prompt 优化 -> 验证 -> 接受/拒绝 gate -> 审计报告”闭环示例。
示例覆盖:
AgentEvaluator执行 baseline 评测--backend agent_optimizer调用真实AgentOptimizeroptimization_report.json、optimization_report.md和 trace evalset 审计产物交付物
包含以下文件:
run_pipeline.pytrain.evalset.jsonval.evalset.jsonprompts/system.mdprompts/skill.mdoptimizer.jsonREADME.mddesign.mdoptimization_report.jsonoptimization_report.mdtrace_evalsets/示例输出样例 evalset 共 6 条 case:3 条训练、3 条验证,覆盖可优化成功、优化无效、优化后退化三类情况。
验证
本地已运行: