Add D&D spells pipeline integration tests

This commit is contained in:
2026-07-03 23:47:06 +00:00
parent c51c2d7fe5
commit 373ba13562
4 changed files with 530 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
version: 1
pipelines:
dnd-spells-fixture:
input: seriatim
chunk: fake/chunk
artifacts:
spells:
extract: dnd/spells
merge: appendorder
normalize: noop
output: json

View File

@@ -0,0 +1,29 @@
{
"metadata": {
"id": "spell-session",
"title": "Synthetic D&D spell session"
},
"segments": [
{
"id": "seg-001",
"start": 0,
"end": 4,
"speaker": "Alice",
"text": "Aria raises her holy symbol and casts Cure Wounds."
},
{
"id": "seg-002",
"start": 4,
"end": 8,
"speaker": "DM",
"text": "The bandit mage casts Shield as the blow lands."
},
{
"id": "seg-003",
"start": 8,
"end": 12,
"speaker": "Bob",
"text": "Borin points at the wight and casts Fire Bolt."
}
]
}