docs: simplify project guides and add GPLv3

This commit is contained in:
TakuyaYagam1 committed 2026-10-11 22:25:10 +03:00
1 parent e4de6d0f9a
commit 76d32bb79f
59 files changed
+2267 -8843

No files matched your search

+12 -38
View File
@@ -1,42 +1,16 @@
# Assessment demo bundle status
# Assessment demo bundle
`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.
`backend_demo_bundle.json` contains four draft families for testing the assessment
bank loader. Each has a deterministic generator, reference solution, and rubric.
## Status: AI-generated draft, pending human review
The bundle records its author and a pending review. Keep those provenance fields
accurate: the content has not received independent human review or difficulty
calibration. Importing it creates drafts; publication requires an approved review
by someone other than the author. This fixture alone cannot open a category.
- 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.
Category opening also requires a separate versioned grading policy and sufficient
published coverage. The fixture's rubrics do not supply grade thresholds.
## 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`, `lru_hits_choice.v1`, `dependency_order.v1`); the statement
templates use the parameter names and the data names of the chosen algorithm.
A family can instead declare a `table` of variants with their answers in its
`seed_generator`; this bundle uses only algorithms.
The format is defined by `assessment.Bundle` and `domain.AssessmentFamily`.
Generator implementations live in `internal/domain/assessment_algorithms.go`.
Families may use algorithmic or table variants; this fixture uses algorithms.