Repository navigation
Add zcode GLM-5.3 as a kb judge backend with an evolvable judge tuning surface #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,8 @@ | |
| # unit with the knowledge quality gate (L1 + the pinned L2 judge on every | ||
| # block) and, when gold is registered for the item, with a gold-match judge | ||
| # over the incumbent's gate-passing rules. Repo-neutral: the fingerprint | ||
| # covers the drafting code, the generator and the strategy, never a target | ||
| # repository. | ||
| # covers the drafting code, the generator, the strategy and the judge | ||
| # routing, never a target repository. | ||
| workflow: kb-intake.draft | ||
| kind: static | ||
| unit: step_call | ||
|
|
@@ -13,11 +13,13 @@ fingerprint: | |
| covers: | ||
| - settings: [kb_draft_max_operations, agent_model, eco_model, performance_model, llm_max_tokens] | ||
| - resolved_models | ||
| - prompts: ["kb_service/intake.py"] | ||
| - prompts: ["kb_service/intake.py", "kb_service/judge_tuning.py"] | ||
| # routing knobs read from the environment, then the same-named setting | ||
| # when the tree has it (zcode's reasoning level is a Settings field only | ||
| # where the per-run model pin exists): a cover that never goes missing | ||
| - routing: [KB_GENERATOR, KB_DRAFT_STRATEGY, ZCODE_REASONING_LEVEL] | ||
| # where the per-run model pin exists): a cover that never goes missing. | ||
| # KB_JUDGE and the family waiver are covers, never mutation targets: | ||
| # the judge label is FORBIDDEN_SETTINGS for candidates. | ||
| - routing: [KB_GENERATOR, KB_DRAFT_STRATEGY, ZCODE_REASONING_LEVEL, KB_JUDGE, KB_JUDGE_FAMILY_WAIVER] | ||
| - copilot_sha | ||
| capture: full | ||
| outcome_adapter: infermatrix_copilot.improve.adapters.kb_intake:KbIntakeAdapter | ||
|
|
@@ -26,8 +28,9 @@ shadow_tools: [] | |
| shadow_executables: [python3, git, grep] | ||
| experiment_driver: kb-intake | ||
| evolution: | ||
| paths: [src/infermatrix_copilot/kb_service/intake.py] | ||
| settings: [KB_DRAFT_MAX_OPERATIONS] | ||
| paths: [src/infermatrix_copilot/kb_service/intake.py, | ||
| src/infermatrix_copilot/kb_service/judge_tuning.py] | ||
|
Comment on lines
+31
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Allowing candidates to modify Useful? React with 👍 / 👎. |
||
| settings: [KB_DRAFT_MAX_OPERATIONS, ZCODE_REASONING_LEVEL] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For eligible kb-intake evolution runs the generator targets are required to be API-backed, while Useful? React with 👍 / 👎. |
||
| tests: [test/test_improve_kb_intake_adapter.py, test/test_kb_intake_gate.py] | ||
| metric: net_pass_review | ||
| direction: higher | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
ZCODE_PROVIDER_IDselects a custom API provider,ZCodeTransport.subscription_billingis false and calls can incur metered charges, yet this path only reserves the judge-call count and unconditionally recordsusd: 0.0andsubscription: true. Those calls bypass the engine's weekly dollar envelope and can spend without limit; inspect the transport's billing mode and either reject non-subscription providers or reserve and settle their actual USD cost.Useful? React with 👍 / 👎.