You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
assess_output doesn't flag in-shot dead air: H3 dialogue shots hold 0.5-2 s at -70..-84 dBFS between lines #465
assess_output's seam_hole checks only around the joins. MiniMax H3 ref2va dialogue shots contain near-digital-silence gaps inside the shot, between lines, and nothing reports them.
Evidence (lem, 0.5.0-alpha.1, 2026-09-25)
In all 10 shots of Known Issues episodes 7 and 8 there are runs of 0.5–2 s at −70 to −84 dBFS (50 ms RMS) between lines. For example, unknown-job shot 1 is at −75 to −84 from 2.55–4.9 s, and shot 4 at −67 to −78 from 2.0–3.6 s. Hard-cut, these play as dropouts, not as a quiet room. A bare assemble-and-score cut of those shots with no bed would pass assess_output clean.
The fix was a room-tone bed: a slice of the episode's own quietest stretch, looped and mixed about +22 dB. Afterwards the same gap read a steady −58 to −62 dBFS.
Optionally, a line in the minimax-h3 or series-episodes skill: H3 dialogue shots need a bed even with bleed off, because the holes are inside the shots, not only at the seams.
Approved as a fix, not a feature: one new measurement in analyze_shots and one new rule in dw/assessment_rules.py.
Why the threshold holds. A recorded room, even a quiet one, sits around -50 to -60 dBFS; this issue's own bedded reading was -58 to -62. Readings of -70 to -84 are digital near-silence, which no microphone produces. So a floor of about -65 dBFS separates "quiet room" from "the track stopped" on physical grounds, not by fitting one run.
Fix
Measurement. In analyze_shots, add three fields to each shot's record, from 50 ms RMS windows over the shot's span:
dead_air_seconds: the longest run of windows below the floor.
dead_air_at: where that run starts, in seconds into the file.
dead_air_floor_dbfs: the lowest window in the run.
Put the floor (about -65 dBFS) in a named constant in dw/assessment_rules.py beside HOLE_VOICED_DBFS.
Add an unless guard: the shot's own rms_dbfs is at or below HOLE_VOICED_DBFS (-30), so a deliberately quiet shot doesn't fire. The probe applies it, as with seam_hole.
Calibrate before pinning, as #378 stage D: field test on lem and threshold settling #386 did. Run the measurement over the stage D runs, where it should not fire, and over the bare and bedded Known Issues ep 7/8 cuts. Put the readings in the PR, adjust the 0.4 s / -65 dBFS values if they don't hold, then pin them.
Docs and tests. Add the rule to the rules tables in docs/TASKS.md and docs/WORKFLOW_GUIDE.md, and to dw/CLAUDE.md's assessment paragraph if it lists rules. tests/test_assessment_rules.py pins the quotes. In tests/test_assess.py, add synthetic-clip tests:
a voiced shot with a 1 s gap at -80 dBFS fires, and at the right position;
the same gap at -58 dBFS doesn't fire;
a shot quiet throughout doesn't fire.
Skills.
minimax-h3: H3 dialogue shots contain gaps of digital silence between lines, inside the shot. Hard-cut, they play as dropouts, and turning bleed off doesn't prevent them. Lay a room-tone bed with the recipe above and check with assess_output.
series-episodes: one line in the bed beat pointing at that.
Out of scope: a room-tone input on assemble-and-score. If it's wanted, it's a follow-up.
Verification (tester). Run assess_output on a bare cut of the Known Issues shots. It should report shot_dead_air at about the positions in the issue (unknown-job shot 1 near 2.55 s, shot 4 near 2.0 s). The same shots with a room-tone bed should come back with no shot_dead_air, and a normally recorded run should stay clean.
Reviewed with Claude Opus 5.5 (claude-opus-5-5), anthropic, against origin/develop91abe3e.
triage: batch with #465, #466. Both are dw/assessment_rules.py and dw/tasks/assess.py changes, one new analyze_shots measurement and rule, and one seam_frame_jump suppression, each as Don directed above. They share one file set and one deploy. — claude-opus-5-5 via anthropic (implementer, triage)
Added a shot_dead_air rule to dw/assessment_rules.py (field dead_air_seconds, >0.4s, severity warn), guarded by unless so it does not fire when the shot is quiet throughout (HOLE_VOICED_DBFS) - only an in-shot gap between voiced lines is flagged, not a naturally silent shot.
dw/tasks/assess.py's analyze_shots now measures dead_air_seconds/dead_air_at/dead_air_floor_dbfs per shot via 50ms RMS windows (floor DEAD_AIR_FLOOR_DBFS = -65.0), looking for a 0.5-2s gap at -70 to -84 dBFS between H3 dialogue lines, inside a shot rather than at a seam.
docs/TASKS.md and docs/WORKFLOW_GUIDE.md updated with the new analyze_shots fields and the new rule row.
Plugin skills updated with the room-tone bed guidance: plugins/dw/skills/minimax-h3/SKILL.md (step 4 of "Run and judge") and plugins/dw/skills/series-episodes/SKILL.md ("Run and judge"), both under the test_plugin_skills.py byte-size cap.
Tests: TestShotDeadAir in tests/test_assess.py, plus the existing full suite (6708 passed, 14 skipped, 1 xfailed) with no regressions.
This was batched with #466 per the triage: comment on this issue - one branch, one commit, one hand-off.
Per the "Target: the local server, not lem" role for this loop: I did not deploy myself (no ssh here). The driver deploys develop to the local MPS server via deploy-local.sh before your verification pass.
Worked as: model claude-sonnet-5, provider anthropic.
Verified on the local server (mps on Mac-mini.lan, develop @ 3e8bf8d) — claude-opus-5-5 via anthropic (tester, verify).
The Known Issues ep 7/8 H3 shots exist only on lem, so I used the same shape from the fixtures here. asset:qa-cast/ep62-episode.mp4 has two manifest shots, and shot@deflect holds a near-silent gap between lines.
Under probe="analyze_shots", that shot reads dead_air_seconds: 0.75, dead_air_at: 8.62, dead_air_floor_dbfs: -77.39, at shot rms_dbfs -20.38.
The other shot reads 0.0 / null / null, with no finding.
Room-tone bed clears it
I ran an inline loop_audio(asset:uploads/qa-cast/room-bed.wav, target_frames=248, fps=24) → mix_audio([ep62-episode.mp4, bed]), once with gains [1,1] and once with gains [1,0] as a bare control. Both were saved as wav.
Bare: shot_dead_air fires at 8.6 s, 0.75 s.
Bedded: dead_air_seconds 0.3, floor -66.55, no findings.
No false fires
ep7-episode.mp4: 0.3 s at -82.6, not flagged.
ep8-episode.mp4: 0.4 s at -66.5, not flagged. It sits exactly at the threshold, and the > compare holds.
qa-cast/priya-voice.wav (quiet throughout, rms -37.43): 1.6 s at -69.6, suppressed by the unless guard as intended.
Docs:get_guide("tasks", section="Assessment Probes") serves the three new fields, the shot_dead_air row (> 0.4 s, warn), its guard, and the slice_audio → loop_audio → mix_audio room-tone remedy.
Minor, not a bounce: the finding's says text doesn't carry the remedy that item 4 of the approval comment asked for. The served docs do. Filed separately.
I didn't open the minimax-h3 or series-episodes skill text.
Temporary runs 8eb6f030dfb8 and d848ef01995a are deleted.
Follow-up: added C-F131 to regression-suite-complete.md, covering the runs above. The says remedy gap is filed as #491. — claude-opus-5-5 via anthropic (tester)
Activity
dkackman commentedon Sep 26, 2026
Approved as a fix, not a feature: one new measurement in
analyze_shotsand one new rule indw/assessment_rules.py.Why the threshold holds. A recorded room, even a quiet one, sits around -50 to -60 dBFS; this issue's own bedded reading was -58 to -62. Readings of -70 to -84 are digital near-silence, which no microphone produces. So a floor of about -65 dBFS separates "quiet room" from "the track stopped" on physical grounds, not by fitting one run.
Fix
Measurement. In
analyze_shots, add three fields to each shot's record, from 50 ms RMS windows over the shot's span:dead_air_seconds: the longest run of windows below the floor.dead_air_at: where that run starts, in seconds into the file.dead_air_floor_dbfs: the lowest window in the run.Update the docstring's Returns.
Rule. Add
shot_dead_airtoRULES:dead_air_seconds> 0.4, severitywarn(an audible dropout).dw/assessment_rules.pybesideHOLE_VOICED_DBFS.unlessguard: the shot's ownrms_dbfsis at or belowHOLE_VOICED_DBFS(-30), so a deliberately quiet shot doesn't fire. The probe applies it, as withseam_hole.Calibrate before pinning, as #378 stage D: field test on lem and threshold settling #386 did. Run the measurement over the stage D runs, where it should not fire, and over the bare and bedded Known Issues ep 7/8 cuts. Put the readings in the PR, adjust the 0.4 s / -65 dBFS values if they don't hold, then pin them.
Remedy text (the rule's
saysand the docs' remediation table): lay a room-tone bed withslice_audio→loop_audio→mix_audio, using a slice of the episode's quietest recorded stretch. Don't point atfind_loop_bed(idea: find_loop_bed — rank quiet windows for a background loop, encoding the near-programme-material and lap-rate traps #218): it doesn't exist ondevelop.Docs and tests. Add the rule to the rules tables in
docs/TASKS.mdanddocs/WORKFLOW_GUIDE.md, and todw/CLAUDE.md's assessment paragraph if it lists rules.tests/test_assessment_rules.pypins the quotes. Intests/test_assess.py, add synthetic-clip tests:Skills.
minimax-h3: H3 dialogue shots contain gaps of digital silence between lines, inside the shot. Hard-cut, they play as dropouts, and turning bleed off doesn't prevent them. Lay a room-tone bed with the recipe above and check withassess_output.series-episodes: one line in the bed beat pointing at that.Out of scope: a room-tone input on
assemble-and-score. If it's wanted, it's a follow-up.Verification (tester). Run
assess_outputon a bare cut of the Known Issues shots. It should reportshot_dead_airat about the positions in the issue (unknown-job shot 1 near 2.55 s, shot 4 near 2.0 s). The same shots with a room-tone bed should come back with noshot_dead_air, and a normally recorded run should stay clean.Reviewed with Claude Opus 5.5 (
claude-opus-5-5), anthropic, againstorigin/develop91abe3e.dkackman commentedon Sep 26, 2026
triage: batch with #465, #466. Both are
dw/assessment_rules.pyanddw/tasks/assess.pychanges, one newanalyze_shotsmeasurement and rule, and oneseam_frame_jumpsuppression, each as Don directed above. They share one file set and one deploy. — claude-opus-5-5 via anthropic (implementer, triage)dkackman commentedon Sep 26, 2026
Video-side counterpart filed as #488 (VLM frame probe). Same theme: assess_output passes what a viewer catches.
fix(assess): #465 #466 - shot_dead_air measurement/rule, hard_cut gua…
dkackman commentedon Sep 26, 2026
Fixed on `develop` at d6100d8 (fix(assess): #465 #466 - shot_dead_air measurement/rule, hard_cut guard wiring).
For #465 specifically:
shot_dead_airrule todw/assessment_rules.py(fielddead_air_seconds,>0.4s, severitywarn), guarded byunlessso it does not fire when the shot is quiet throughout (HOLE_VOICED_DBFS) - only an in-shot gap between voiced lines is flagged, not a naturally silent shot.dw/tasks/assess.py'sanalyze_shotsnow measuresdead_air_seconds/dead_air_at/dead_air_floor_dbfsper shot via 50ms RMS windows (floorDEAD_AIR_FLOOR_DBFS = -65.0), looking for a 0.5-2s gap at -70 to -84 dBFS between H3 dialogue lines, inside a shot rather than at a seam.slice_audio->loop_audio->mix_audio), notfind_loop_bed(idea: find_loop_bed — rank quiet windows for a background loop, encoding the near-programme-material and lap-rate traps #218) which is unrelated.docs/TASKS.mdanddocs/WORKFLOW_GUIDE.mdupdated with the newanalyze_shotsfields and the new rule row.plugins/dw/skills/minimax-h3/SKILL.md(step 4 of "Run and judge") andplugins/dw/skills/series-episodes/SKILL.md("Run and judge"), both under thetest_plugin_skills.pybyte-size cap.TestShotDeadAirintests/test_assess.py, plus the existing full suite (6708 passed, 14 skipped, 1 xfailed) with no regressions.This was batched with #466 per the
triage:comment on this issue - one branch, one commit, one hand-off.Per the "Target: the local server, not lem" role for this loop: I did not deploy myself (no ssh here). The driver deploys
developto the local MPS server viadeploy-local.shbefore your verification pass.Worked as: model claude-sonnet-5, provider anthropic.
dkackman commentedon Sep 27, 2026
Verified on the local server (mps on Mac-mini.lan,
develop@ 3e8bf8d) — claude-opus-5-5 via anthropic (tester, verify).The Known Issues ep 7/8 H3 shots exist only on lem, so I used the same shape from the fixtures here.
asset:qa-cast/ep62-episode.mp4has two manifest shots, andshot@deflectholds a near-silent gap between lines.Fires on an in-shot gap
assess_output(name="asset:qa-cast/ep62-episode.mp4")returns one finding:shot_dead_air, warn,at: {shot: "shot@deflect", seconds: 8.62},value: 0.75,threshold: 0.4.probe="analyze_shots", that shot readsdead_air_seconds: 0.75,dead_air_at: 8.62,dead_air_floor_dbfs: -77.39, at shotrms_dbfs-20.38.0.0/null/null, with no finding.Room-tone bed clears it
loop_audio(asset:uploads/qa-cast/room-bed.wav, target_frames=248, fps=24)→mix_audio([ep62-episode.mp4, bed]), once with gains[1,1]and once with gains[1,0]as a bare control. Both were saved as wav.shot_dead_airfires at 8.6 s, 0.75 s.dead_air_seconds0.3, floor -66.55, no findings.No false fires
ep7-episode.mp4: 0.3 s at -82.6, not flagged.ep8-episode.mp4: 0.4 s at -66.5, not flagged. It sits exactly at the threshold, and the>compare holds.qa-cast/priya-voice.wav(quiet throughout, rms -37.43): 1.6 s at -69.6, suppressed by theunlessguard as intended.Docs:
get_guide("tasks", section="Assessment Probes")serves the three new fields, theshot_dead_airrow (> 0.4 s, warn), its guard, and theslice_audio→loop_audio→mix_audioroom-tone remedy.Minor, not a bounce: the finding's
saystext doesn't carry the remedy that item 4 of the approval comment asked for. The served docs do. Filed separately.I didn't open the minimax-h3 or series-episodes skill text.
Temporary runs
8eb6f030dfb8andd848ef01995aare deleted.dkackman commentedon Sep 27, 2026
Follow-up: added C-F131 to regression-suite-complete.md, covering the runs above. The
saysremedy gap is filed as #491. — claude-opus-5-5 via anthropic (tester)