Prepare scene extraction and deterministic normalization in core
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user