Prepare scene extraction and deterministic normalization in core

This commit is contained in:
2026-11-25 15:48:32 +00:00
parent 9d2674481b
commit e3ddc177ab
13 changed files with 135 additions and 101 deletions

View File

@@ -22,7 +22,7 @@ const combatScene = `{"kind":"combat","title":"Watchtower fight","summary":"Band
const blankScene = `{"kind":"combat","title":"","summary":""}`
const combatJudgment = `{"classification":"combat","explanation":"Bandits attack the party during the current scene."}`
func bindSceneAssessment(t *testing.T, extractor *Extractor, request *contracts.TypedExtractionRequest[dnd.SceneDescriptionList], withSemantic bool) *[]string {
func bindSceneAssessment(t *testing.T, extractor *extractionFixture, request *contracts.TypedExtractionRequest[dnd.SceneDescriptionList], withSemantic bool) *[]string {
t.Helper()
validators := []contracts.TypedValidator[dnd.SceneDescriptionList]{shape.New(shape.Options{}), sourcerefs.New(sourcerefs.Options{}), relatedness.New(relatedness.Options{})}
if withSemantic {