Files
kunail0804-ComfyUI-Scene-Co…/scripts
584cffb1c5 test(regression): add golden tests and reference dataset (#28) (#72)
Add golden tests for the ten reference scenes (MASTER_SPEC §26.7, §26.8),
guarding determinism across changes.

- tests/regression/golden_scenes.py: the ten reference scenes (single character,
  two characters, interaction, indoor, outdoor, fantasy, modern, unknown
  concepts, ambiguous concepts, complex multi-character) plus the shared no-LLM
  pipeline runner.
- tests/regression/golden/*.json: the golden prompt outputs for each scene.
- scripts/regenerate_goldens.py: the deliberate, documented way to regenerate the
  goldens when a change is intended to alter output (never automatic).
- tests/regression/test_golden.py: asserts exact equality against the goldens and
  determinism across repeated runs.
- tests/regression/golden/README.md: documents regeneration and the regression
  convention (every fixed bug adds a permanent test that is never removed).

Co-authored-by: kunail0804 <kunail0804@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 13:45:35 +02:00
..