Repository navigation
feat(tier3): import precomputed custom metrics - #375
Conversation
Signed-off-by: Christopher Kevin <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 4 findings (0 P1, 0 P2, 4 P3); 4 posted inline.
Checked the new tier3 import-metrics path on the head (51aabb8): contract validation and limits in tier3/external_metrics.py, the arm and paired-delta aggregation, the JSON and Markdown reports, CLI wiring, and the docs and CHANGELOG claims, with probes on this head and origin/main.
Tests run on the head: tests/tier3/test_external_metrics.py with tests/golden/test_cli_surface.py, tests/test_skillevaluator_skill.py and tests/test_oss_packaging.py gave 195 passed; tests/test_harbor_metrics_truth.py (the reused custom-metric helpers) gave 96 passed.
CLI end to end on docs/assets/simulator-metrics.json with Harbor, LiteLLM, Docker and provider SDK imports blocked: exit 0, both reports written, values match the docs; a second run into the same directory refuses with "File exists". A 1000-observation by 128-metric file loads in 0.47s, and inputs over 4 MiB are rejected as documented.
Merges onto current main without conflicts. Real file conflicts with #378 in docs/cli-reference.mdx and tests/golden/cli_surface.json (both add a tier3 import-* command at the same spot), and with #388 in tests/golden/cli_surface.json; whichever of the three lands later needs to regenerate cli_surface.json. With #225, #372, #374, #377, #381-#385 and #387 it conflicts in CHANGELOG.md only, and it does not conflict with #333, #373, #376, #379, #380 or #386.
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
SkillEvaluator CI resultsRequired gate: Skipped Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.
Commit: |
…ort-custom-metrics Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…ort-custom-metrics Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…ort-custom-metrics Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md
…ort-custom-metrics Signed-off-by: Christopher Kevin <[email protected]> # Conflicts: # CHANGELOG.md # docs/cli-reference.mdx # src/skillevaluator/cli.py
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Summary
tier3 import-metricsfor precomputed, per-case custom scores using the existingcustom_metricsreward envelope and aggregation helpers. The initial contract accepts normalized 0–1 numbers, not raw traces, execution or unrestricted physical measurements.Verification
make lintmake testmake buildAdditional checks:
origin/main(repository identity/setup and file-timestamp checks); the remaining file-timestamp test passes on isolated rerun. No unrelated tests or environment configuration are changed here.Release Impact
CHANGELOG.md