Skip to content

Add the missing spaces in the reconstruction prompts - #30

Open
taha-yasin-saad wants to merge 1 commit into
blixvip:mainfrom
taha-yasin-saad:fix/3-prompt-spaces
Open

taha-yasin-saad wants to merge 1 commit into
blixvip:mainfrom
taha-yasin-saad:fix/3-prompt-spaces

Conversation

@taha-yasin-saad

Copy link
Copy Markdown

What does this change?

Fixes #3. The prompt literals in app/scene_pipeline.py (lines 199 and 234) and the GUIDE constant in app/rebuild_author.py (lines 108 and 113) fused words to numbers: at most40, under16000, at most6, at most80, by30; a final24px corner therefore needs0.8px. This adds the spaces. No logic changes.

How did you test it?

  • python -m pytest -q: 104 passed, 2 skipped, 14 failed. The same 14 fail on main; they call ffprobe/ffmpeg, which the test machine doesn't have.
  • cd remotion && npm test (not touched)
  • UI changes checked in a real browser (no UI change)
  • Rebuilt a reference end to end (needs Codex; prompt text only)

Checklist

  • One fix or feature, kept small and focused
  • No new runtime dependency
  • No calls to other origins, and the local_boundary localhost-and-token check is intact
  • Nothing committed from data/, .venv/, or any reference footage
  • Docs updated if behavior or setup changed (n/a)
  • Third-party notices updated (n/a)

Tested on Linux (WSL2, Python 3.12). Made with AI assistance (Claude Code); I reviewed the diff and ran the suite as above.

The prompts told the model "at most40", "under16000", "at most6",
"at most80" and "by30; a final24px corner therefore needs0.8px".
Add the spaces. No logic changes.

Fixes blixvip#3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V9HzEhhJZTrWxiHmgkm6sK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the missing spaces in the reconstruction prompts

1 participant