forge
Explore
Log in

Don't you dare go Hollow

Round-47 re-trial of band_shift_correction refuted by the trustworthy witness too

Browse files at this commit

20037c7c5ba4696d3ded1feea4ae9257ecf1c034Ahmet Kaan GümüşParent: be3ee94
  • docs
    • round-47 re-trial of band_shift_correction refuted by the trustworthy witness too
Show full message
docs(aac): round-47 re-trial of band_shift_correction refuted by the trustworthy witness too

Round-46's QMF-exact fit of the reference decoder's own HF content on
patch (3,28,11) found a transfer carrying band_shift_correction's
quarter-turn phase signature, raising doubt that round-37's revert
(based on the STFT-based EC_AAC_SBR_PARITY_SPLIT metric, since shown
untrustworthy at this precision) was the wrong call.

Re-applied the rotation at generate's patch-copy site behind a
temporary env gate and re-judged with EC_AAC_SBR_QMF_WITNESS's own
QMF-domain coherence table -- the trustworthy instrument this re-trial
was chartered to use instead of PARITY_SPLIT. Both signs of the
rotation made sim-vs-ours coherence on the exact patch the fit was
built from WORSE (band28 0.2628->0.0161/0.0282, band38
0.0669->0.0694/0.1068), moving further from the reference's 0.42-0.79
rather than toward it. Round-46's fit-based prediction does not survive
contact with the instrument that was supposed to vindicate it.

No production code changes: the trial code (env gate, rotation
application, HfHistory::slot_phase) is reverted in full. Only the doc
comment above band_shift_correction gains a coda recording this
re-trial so a future round doesn't re-litigate it a third time on the
same fit alone.
crates/ec-aac/src/sbr_hf.rsmodified+18 -0
@@ -64,6 +64,24 @@ use ec_dsp::Complex;
64 /// unrotated is what actually matches it. This function is kept (and64 /// unrotated is what actually matches it. This function is kept (and
65 /// pinned by its own unit tests) purely to document that convention as65 /// pinned by its own unit tests) purely to document that convention as
66 /// intentional, not to be called from `generate`'s patch-copy site.66 /// intentional, not to be called from `generate`'s patch-copy site.
67+///
68+/// Round-46 raised a re-trial candidate: `EC_AAC_SBR_PARITY_SPLIT` (an 8-bin
69+/// STFT metric) had been suspected untrustworthy at this precision, and a
70+/// QMF-exact fit of the reference decoder's own HF content on patch
71+/// `(3,28,11)` (gap 25, `mod 4 == 1`) found a transfer with this function's
72+/// quarter-turn phase signature. Round-47 re-applied the rotation at
73+/// `generate`'s patch-copy site (env-gated, both signs) and re-judged with
74+/// `EC_AAC_SBR_QMF_WITNESS`'s own QMF-domain coherence table instead of the
75+/// STFT one -- the trustworthy instrument the re-trial was chartered to use.
76+/// Both signs made sim-vs-ours coherence on patch `(3,28,11)` WORSE, not
77+/// better (band28 0.2628 unrotated -> 0.0161 rotated -> 0.0282 flipped;
78+/// band38 0.0669 -> 0.0694 -> 0.1068), moving further from the reference's
79+/// 0.42-0.79 rather than toward it, refuting round-46's fit-based
80+/// prediction under the very instrument that was supposed to vindicate it.
81+/// (One sign did nudge whole-file full-band correlation up rather than
82+/// round-36's dip, but that's moot once the witness itself disagrees.) The
83+/// verdict stands as round-37 left it: `generate`'s patch-copy site keeps
84+/// the plain, unrotated copy.
67 /// Returns the signed number of `pi/2` quarter-turns per QMF slot that85 /// Returns the signed number of `pi/2` quarter-turns per QMF slot that
68 /// *would* need to be applied to restore frequency-pure placement.86 /// *would* need to be applied to restore frequency-pure placement.
69 #[allow(dead_code)] // documentation of the characterized convention; tests call it87 #[allow(dead_code)] // documentation of the characterized convention; tests call it