Repository navigation
Print what the display says before writing to it (#459) - #502
Merged
Merged
Conversation
The panel-mode question in #459 has no answer left on the reporter's box: `currentEDRHeadroom` stays 1.00 through 12 seconds of HDR content and through a real SDR to HDR mode switch. He cannot downgrade to 26.x to date that, so the next measurement has to come from the same box. One line per criteria event, in a fixed shape, emitted BEFORE the engine writes or clears anything, because a write is what makes a later reading unattributable: [DisplayCriteria] panel readout before apply: currentEDR=1.20 potentialEDR=1.00 switching=no matching=on hdrEligible=yes provenHDR=yes `potentialEDRHeadroom` is in there at his suggestion and against my own measurement, which is the point of including it. It read a flat 1.00 on an Apple TV 4K 3rd gen on tvOS 26.5 while `currentEDRHeadroom` read 1.20 on the same UIScreen in the same moment, so it looked like a property tvOS does not maintain. That was one box on one OS, and the box this issue is about answers differently on the other property. Printing both and letting a second panel decide is cheaper than carrying my own result as a rule. At apply it sits before the Match Content guard, since a box with matching off is exactly the configuration nothing else in the log describes. Deliberately not routed through `observeHeadroom`: a diagnostic that also latched the HDR proof would change routing, and this round measures. Diagnostic only, no behaviour change. 3 tests on the line shape, so the grep a reporter is given stays valid. Full suite green on both runners (XCTest 606, swift-testing 2674 in 368 suites, exit 0) plus a local tvOS Simulator build, which is the half `swift test` on macOS does not compile. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_014tQ8MerNbZQdWBpDStitoD
This was referenced Sep 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Does not close #459. This round is an instrument, not a fix.
The reporter's box answers
no HDR reading in 12116ms (max headroom 1.00, 47 samples)and stays at1.00 across a genuine SDR to HDR mode switch, so the readout the routing gate depends on is silent
there. He cannot downgrade to 26.x to date that against tvOS 27 beta, so the next measurement has to
come off the same hardware.
One line per criteria event, before the engine writes or clears anything:
potentialEDRHeadroomis in there at his suggestion and against my own measurement. It read a flat1.00 on an Apple TV 4K 3rd gen on tvOS 26.5 while
currentEDRHeadroomread 1.20 on the sameUIScreenin the same moment, which is why it was written off. One box, one OS, and the box inquestion already disagrees on the other property, so both get printed and a second panel decides.
Placement matters twice. At apply it goes before the Match Content guard, because a box with matching
off is exactly the configuration nothing else in the log describes. And it is not routed through
observeHeadroom: latching the HDR proof from a diagnostic would change routing, and this round ismeant to measure.
3 tests pin the line shape, so the grep a reporter is handed stays valid across releases. Full suite
green on both runners (XCTest 606, swift-testing 2674 in 368 suites,
REAL EXIT=0) plus a local tvOSSimulator build, which is the half
swift teston macOS never compiles.🤖 Generated with Claude Code
https://claude.ai/code/session_014tQ8MerNbZQdWBpDStitoD