* feat(kb): automatic KB builder, ingestion & validation tooling (#35) Closes #118, #119, #120, #121, #122. - Ingest committed Danbooru alias/implication snapshots during generation: synonyms reach canonicals (long black stockings -> thighhighs), implications become expand relations. Curated-wins preserved. - Automatic candidate validator (structural rules reused from kb_validation + confidence heuristic, no approval gate; SC0022). - Duplicate/conflict detection tool (scripts/detect_kb_conflicts.py) + reusable detect_conflicts; clean reference KB reports zero. - KB coverage benchmark harness (scripts/coverage_benchmark.py) + JSON summary. - Single fully-automated, CI-runnable build pipeline (scripts/build_knowledge_base.py) that fails fast on rejections/conflicts and never prompts. Docs added. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * test(kb): use pytest.approx for confidence float assertions (SonarCloud reliability) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: kunail0804 <kunail0804@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
35 lines
558 B
Plaintext
35 lines
558 B
Plaintext
# Representative concept phrases for the KB coverage benchmark (issue #121).
|
|
# One phrase per line; blank lines and lines starting with '#' are ignored.
|
|
# A deterministic, curated corpus spanning categories and resolution paths.
|
|
1girl
|
|
long hair
|
|
blue eyes
|
|
smile
|
|
blush
|
|
school uniform
|
|
thighhighs
|
|
stockings
|
|
jacket
|
|
open white shirt
|
|
white summer dress
|
|
black pleated skirt
|
|
sitting
|
|
standing
|
|
walking
|
|
holding hands
|
|
sword
|
|
book
|
|
umbrella
|
|
classroom
|
|
forest
|
|
castle
|
|
beach
|
|
sunset
|
|
moonlight
|
|
close-up
|
|
wide shot
|
|
cat ears
|
|
armor
|
|
quantum flux inverter
|
|
eldritch nonexistent artifact
|