Skip to content

docs: SKEEP-009 draft — ground-truth validation for stateful metrics (#1223) - #1560

Merged
michalharakal merged 2 commits into
developfrom
feature/skeep-009-ground-truth-stateful-metrics
Nov 23, 2026
Merged

michalharakal merged 2 commits into
developfrom
feature/skeep-009-ground-truth-stateful-metrics

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Refs #1223 (the proposal is that issue's Lane 0 task; the issue stays open until the proposal is accepted and implemented).

What this is

A Status: Draft proposal, docs/modules/skeep/pages/009-ground-truth-stateful-metrics.adoc, registered in the SKEEP nav and index. No code.

Number

#1223 was filed as "SKEEP-005". That number belongs to the schedules proposal, so this is SKEEP-009. The F1Score worked example is updated to match.

Decisions the proposal makes

Question from #1223 Decision
New decorator or @Executable? Reuse @Executable with op_type="metric.<name>"
One batch or a sequence? A sequence of (predictions, targets) pairs; the reference value is computed over the concatenation
Scalar tolerance? Absolute 1e-6
Own format or GGUF? GGUF, same contract; the only producer change is string values in op.*

Also: scikit-learn as the reference, a MetricExecutor with a name → factory registry, a reset() check on every case, and a CI path filter so a change under nn/metrics/ starts the ground-truth job.

Basis

Written against the current code of all three repositories: OperationExecutor / GroundTruthLoader / GroundTruthValidator here, CONTRACT.md in skainet-ground-truth, and the writer in gradienttracer (which today drops a string op_params value without a message).

For the maintainer

Moving Draft to Accepted is a maintainer decision. The open questions at the end (non-scalar metrics, regression metrics, recording the reference library) do not block phase 0.

🤖 Generated with Claude Code

michalharakal and others added 2 commits November 23, 2026 13:38
…1223)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📖 Documentation Preview

The documentation has been built successfully for this PR.

Generated Files:

  • Operator documentation: docs/modules/operators/_generated_/
  • JSON schema output: operators.json

Artifacts:

  • Download the documentation-preview-1560 artifact to view the complete documentation locally.

This comment will be updated automatically when the PR is updated.

1 similar comment
@github-actions

Copy link
Copy Markdown

📖 Documentation Preview

The documentation has been built successfully for this PR.

Generated Files:

  • Operator documentation: docs/modules/operators/_generated_/
  • JSON schema output: operators.json

Artifacts:

  • Download the documentation-preview-1560 artifact to view the complete documentation locally.

This comment will be updated automatically when the PR is updated.

@michalharakal
michalharakal merged commit 5cd4032 into develop Nov 23, 2026
19 checks passed
@michalharakal
michalharakal deleted the feature/skeep-009-ground-truth-stateful-metrics branch November 23, 2026 15:25
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