Repository navigation
test: ground-truth harness runs a metric case (SKEEP-009 phase 0) - #1561
Merged
Merged
Conversation
GroundTruthMetricCase, toMetricCase() and a MetricExecutor with Accuracy registered. GroundTruthLoader keeps string op.* values. New TS-008 integration test compares with scikit-learn fixtures; hand-built cases test the path without Docker. Refs #1223 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What
Phase 0 (spike) of SKEEP-009: prove the metric fixture convention end to end with
Accuracy.GroundTruthLoaderkeeps stringop.*values (op.target_encoding); they were dropped.MetricExecutor.kt:GroundTruthMetricCase,toMetricCase()and aMetricExecutorwithAccuracyregistered. An unknown metric, an unknown parameter, a missingop.target_encoding, an odd input count or a non-scalar result fails the case with a message that names the problem.GroundTruthIntegrationTest: newTS-008test against scikit-learn fixtures (absolute tolerance1e-6). The "all suites" test leaves metric cases to it.MetricExecutorTest: 9 hand-built cases, no Docker needed.Not in this PR (phase 1):
validateMetricon the validator, thereset()check, the workflow path filter fornn/metrics/**,CONTRACT.md.Depends on, merge order
gradienttracer: "feat: write string op_params, reject unsupported types"skainet-ground-truth: "feat: TS-008 classification metrics, Accuracy cases (scikit-learn)"The
Ground Truth Validationjob builds the image from the default branches of those two repositories, so it stays red here until both are merged (TS-008is required and does not exist yet). Re-run it after that.Test
With an image built locally from the two producer branches:
:skainet-test:skainet-test-groundtruth:jvmTest -PrequireGroundTruth=trueruns 27 tests, 0 failures.accuracy_one_batchaccuracy_two_batches(32 + 20 samples, fed separately)Refs #1223
🤖 Generated with Claude Code