Repeat shared context in every chunk
tests / test (push) Canceled after 0s
tests / windows-storage (push) Canceled after 0s

This commit is contained in:
2026-10-15 09:19:13 +00:00
parent 5612719c4f
commit a53651496c
3 changed files with 16 additions and 9 deletions
+5 -1
View File
@@ -33,6 +33,9 @@ def test_builder_emits_one_absolute_timeline_prompt_from_clip_local_slots():
assert "[5-9s]" not in result
assert "overall_soundscape: Quiet street ambience." in result
assert "non_diegetic_music: Low cinematic pulse." in result
assert result.count("Preserve the same character and environment.") == 2
assert result.count("overall_soundscape: Quiet street ambience.") == 2
assert result.count("non_diegetic_music: Low cinematic pulse.") == 2
def test_normalizer_orders_slots_fills_missing_clips_and_shares_duration():
@@ -63,4 +66,5 @@ def test_node_schema_has_single_string_output_and_serialized_editor_state():
assert DumasH3SequencePromptBuilder.RETURN_TYPES == ("STRING",)
assert schema["timeline_json"][1]["multiline"] is True
result = DumasH3SequencePromptBuilder().build(1, 4, "Directive", json.dumps(default_sequence(1, 4)), "N/A", "N/A")
assert result[0].startswith("Directive\n\noverall_soundscape:")
assert result[0].startswith("[0-4s]\nDirective")
assert result[0].count("overall_soundscape:") == 1