feat(assessment): add immutable family versions and the demo bank loader
This commit is contained in:
1 parent
94488e2b57
commit
204c6bae62
28 files changed
+6269
-9
No files matched your search
+40
@@ -0,0 +1,40 @@
|
||||
# Assessment demo bundle status
|
||||
|
||||
`backend_demo_bundle.json` is the input of the assessment bank loader
|
||||
(`internal/usecase/assessment`) for the category `backend`. It holds four
|
||||
families of original practice problems with deterministic seed generators,
|
||||
reference solutions, and rubrics.
|
||||
|
||||
## Status: AI-generated draft, pending human review
|
||||
|
||||
- Author: `ai:claude-draft`. The problems were written by an AI assistant for
|
||||
the loader task; they are not copies or paraphrases of problems from any
|
||||
coding-practice site.
|
||||
- Review: `pending`. The reviewer field is empty on purpose. No human has
|
||||
checked the statements, the reference solutions, the rubrics, or the
|
||||
difficulty. Do not fill the field to make the bundle pass.
|
||||
- Consequences, which the integration tests rely on:
|
||||
- The loader imports every family as a `draft`.
|
||||
- A family without a reviewer cannot be published
|
||||
(`reviewer_missing`).
|
||||
- The category `backend` cannot be opened: it has no published family, and
|
||||
four families are below the coverage that the grading policy requires.
|
||||
- The bundle makes no claim about difficulty, validity, or grade
|
||||
calibration.
|
||||
|
||||
## What the bundle does not contain
|
||||
|
||||
- No grading policy. A category opens only under a versioned grading policy
|
||||
that is referenced by `policy_versions.id` when the category is opened. The
|
||||
rubrics list criteria without points or thresholds.
|
||||
- No reviewer. A real review produces a new bundle version in which the
|
||||
family versions carry an approved review by an operator who is not the
|
||||
author; stored versions are never edited.
|
||||
|
||||
## Format
|
||||
|
||||
Documented by the types `assessment.Bundle` and `domain.AssessmentFamily`.
|
||||
Seed algorithms are registered in `internal/domain/assessment_algorithms.go`
|
||||
under versioned names (`rate_limit_window.v1`, `dedup_window.v1`,
|
||||
`lru_hits.v1`, `dependency_order.v1`); the statement templates use the
|
||||
parameter names and the data names of the chosen algorithm.
|
||||
Reference in new issue
Block a user