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
append Sinter's discard byte to compiled decoder results
set the discard byte when Tesseract reports low confidence
document errors + discards as the conservative logical failure count
add direct-output and Sinter-sampler regression tests
This addresses the compiled-decoder portion of #297. The pinned Sinter file-decoder API reads exactly the observable bytes for each shot and has no decoder-controlled discard channel, so decode_via_files remains unchanged. The multipass decoder in #256 will need equivalent propagation when it is integrated.
bazel test --jobs=1 //src/...: 12 of 13 targets passed; the pre-existing unseeded test_sinter_decode_surface_code exceeded its statistical threshold locally
Could someone with Actions access rerun the failed jobs? The macOS failure came from the existing unseeded test_sinter_decode_surface_code statistical threshold. The new deterministic discard tests passed, as did formatting and all wheel builds.
Could someone with Actions access rerun the failed jobs? The macOS failure came from the existing unseeded test_sinter_decode_surface_code statistical threshold. The new deterministic discard tests passed, as did formatting and all wheel builds.
Done. FYI that I had to rerun it twice, actually; the first rerun saw macos succeed but linux fail; the second rerun saw the linux tests succeed. (Mentioning it in case this is useful for additional development.)
Thanks for flagging this. The compatibility tests were still using Sinter's legacy sample_decode helper, which treats the new discard byte as observable data. I updated them to use Sinter's discard-aware sampler. The Bazel target now passes in 10 consecutive runs.
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
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.
Summary
errors + discardsas the conservative logical failure countThis addresses the compiled-decoder portion of #297. The pinned Sinter file-decoder API reads exactly the observable bytes for each shot and has no decoder-controlled discard channel, so
decode_via_filesremains unchanged. The multipass decoder in #256 will need equivalent propagation when it is integrated.Testing
clang-format --dry-run --Werror src/tesseract_sinter_compat.pybind.hbazel test --jobs=1 //src/...: 12 of 13 targets passed; the pre-existing unseededtest_sinter_decode_surface_codeexceeded its statistical threshold locally