Skip to content

fix: standalone import of engine.py + beat test vs batching - #1

Open
Beennnn wants to merge 1 commit into
mainfrom
claude/fix-import-and-beat-test
Open

Beennnn wants to merge 1 commit into
mainfrom
claude/fix-import-and-beat-test

Conversation

@Beennnn

@Beennnn Beennnn commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator
  • engine.py now finds lamp.py next to itself in the standalone repo (fresh clone: import engine used to fail), plugin layout unchanged.
  • test_beat_pulse_on_clock predated per-window beat batching (SPEC §7); it now pins the unbatched path, and test_beat_pulse_batched covers the batched one.

python3 test_midi.py → all passed.

🤖 Generated with Claude Code

…batched beat path

engine.py assumed the Stream Deck plugin layout (lamp.py one level up), so
'import engine' failed on a fresh clone. It now prefers a sibling lamp.py.

test_beat_pulse_on_clock predated per-window beat batching (SPEC §7): pulses
sat in beat_pending and never reached send. The test now pins the unbatched
path, and a new test covers the batched one with explicit flushes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant