Commit 39ef8d3
committed
fix(ci): remove a gate that could not fail on the bug but could on correct output
Fourteenth review: APPROVE, 0 blocking and 0 important for the second round
running. Both minors are claims of mine that do not survive checking.
The buffer note I added last round said the two thread_local StringBuffers must
stay separate or the value would overwrite the key. That is wrong: RawValue copies
into the output stream before returning, so they are never live at the same time.
The reviewer merged them and got byte-identical output across 20,000 random nested
documents on both the compact and pretty paths. The note now says the duplication
is removable and gives the real (weaker) reason to keep it.
Gate 14d was worse than useless and is gone. Its exponent check read repr() of the
parsed float, and repr(1.23457e+06) is "1234570.0" — no "e" — so that branch could
never fire. Its "exactly six significant digits" check would have failed on
perfectly correct output above one second: 1000.01, 1000.02, and 448 more within
the first five seconds. A check that cannot detect the defect but can fail on
correct output is worse than no check at all.
I tried a third framing before removing it — compare digit CAPACITY across
engines, which is timing-independent and sound in principle — and it cannot
discriminate either, because the available bench operator peaks near 4 ms, four
significant digits, where %g and shortest-round-trip are identical. Reaching six
digits needs a deliberately multi-second operator.
So the honest outcome is recorded rather than papered over: all three attempts and
why each failed are written where test 14d used to be, so nobody spends a fourth,
and the property stays pinned by test_json.cpp's "trace duration magnitudes match
Go" at the magnitudes no channel here can reach. Not every property can be gated
cross-engine; saying so beats leaving a check that is permanently green or that
cries wolf.
348 Java tests, 250 C++ cases, lint, codegen-check, cross-validate 55/55,
differential-fuzz 1000/1000.1 parent 352bacf commit 39ef8d3
3 files changed
Lines changed: 39 additions & 78 deletions
File tree
- llmdoc/reference
- pine-cpp/src/config
- scripts/cross-validate
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
112 | 119 | | |
113 | 120 | | |
114 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
| 718 | + | |
739 | 719 | | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
794 | 741 | | |
795 | 742 | | |
796 | 743 | | |
| |||
0 commit comments