generated from john/python-template
V4.5 Complete - Enhanced trancription context, added option to restranscribe source under different models.
This commit is contained in:
@@ -50,6 +50,23 @@ class TestPromptArtifact:
|
||||
assert "[deleted:" in text
|
||||
assert "[inserted:" in text
|
||||
|
||||
def test_prompt_defines_exactly_one_body_medium_marker(self):
|
||||
text = _prompt_text().lower()
|
||||
for marker in (
|
||||
"[document body handwritten]",
|
||||
"[document body typewritten]",
|
||||
"[document body typeset]",
|
||||
"[document body mixed]",
|
||||
):
|
||||
assert marker in text
|
||||
assert "exactly one" in text
|
||||
assert "typewriter defects are not handwriting" in text
|
||||
|
||||
def test_prompt_preserves_structured_layout_associations(self):
|
||||
text = _prompt_text().lower()
|
||||
for phrase in ("tables of contents", "dotted-leader", "page-reference", "tables and forms", "columns"):
|
||||
assert phrase in text
|
||||
|
||||
|
||||
class TestPromptConfiguration:
|
||||
def test_builds_validated_immutable_prompt_provenance(self, tmp_path):
|
||||
|
||||
Reference in New Issue
Block a user