Skip to content

Commit 5c6988c

Browse files
luisleo526claude
andcommitted
PAR-ORDERS-3: the trades and transcripts its fixes move, pinned (INT27: the behaviour half of b65cee22)
R5 lane PAR-ORDERS-3's own re-pin, b65cee22 ("PAR-ORDERS-3 v19 hash re-pin"), moves hash values and behaviour together. INT27 folds its hash values into the single INT27 v19 hash re-pin, whose tool refuses any non-hash change, so the behaviour it pins lands here, with the fixes that move it. Harvested on this tree with each TU's own switch (PINEFORGE_QUIET_BAR_HARVEST, PINEFORGE_D2D_PUBLICATION_HARVEST, PINEFORGE_V19E_HARVEST and the other eight), at the pick boundary before the lane (0631e04, which reproduces every pinned value) and after each of its three commits, and compared field by field with the pins before the picks, the lane's b65cee22 and its base 1550a694: - fe50e341 (findings 1 and 2) moves publication ConfigFlags103's digest only; bc5f7a21 (finding 4) moves it again, and the quiet-bar and live-state rows below; 1550a694 (finding 3) moves nothing -- the lane's own attribution. - test_adapter_quiet_bar: the trade digests of CalcOnFills/0/*, Random10/0/* and Random20/0/* (CalcOnFills keeps every trade and renumbers Trade::entry_incarnation), and the boundary counts Random10/0/* 69 -> 67 and Random20/0/* 70 -> 69, equal to the lane's. The same runs the lane moved; INT26's picks had moved their trade digests too, so the digests are this tree's. The list sits in the pinned file. - test_adapter_live_state_equivalence: 6 of 108 transcript digests (the transcript holds no hash value) -- reversals seeds 314187, 1780393 and 3246599, brackets 314188 and 1780394, chains 314189, the lane's seeds; INT26's picks had moved each of them before, so the digests and counts are this tree's (reversals 314187: 168 -> 196 trades, 3246599: 147 -> 149; brackets 314188: 144 -> 134, 1780394: 95 -> 96; chains 314189: 62 -> 75). The lane's seventh, chains 1780395, a digest-only move on its tree, does not move here. The list sits in the data file. - test_publication_witness: ConfigFlags103's digest only, a hash value; nothing lands here. Until the INT27 v19 hash re-pin, test_adapter_quiet_bar and test_publication_witness fail on those hash values only (15 values over the 6 quiet-bar runs, ConfigFlags103's digest); every other witness row passes. (behaviour half of commit b65cee223f1839df0989da9fba24501788417c01) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 9dc3fc0 commit 5c6988c

2 files changed

Lines changed: 37 additions & 12 deletions

File tree

‎tests/test_adapter_live_state_equivalence_data.hpp‎

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,22 @@
164164
// chains seed 3560788: 5397962162622300398 -> 2170094277734349720 (an earlier pick had moved it too) (chains seed 3560788, 73 trades, 359 commands, 337 rows placed -> chains seed 3560788, 60 trades, 363 commands, 422 rows placed)
165165
// chains seed 3665517: 3084783482698433102 -> 11220893490402964604 (chains seed 3665517, 70 trades, 347 commands, 326 rows placed -> chains seed 3665517, 70 trades, 347 commands, 380 rows placed)
166166
// chains seed 3770246: 15996277680102595200 -> 1535576416135278226 (chains seed 3770246, 76 trades, 362 commands, 298 rows placed -> chains seed 3770246, 62 trades, 346 commands, 372 rows placed)
167+
// R5 lane PAR-ORDERS-3 moves 6 of the 108 digests on the integrated tree (INT27:
168+
// the behaviour half of the lane's hash commit b65cee22, which says why each
169+
// moves -- finding 4, bc5f7a21). Harvested with PINEFORGE_V19E_HARVEST; the
170+
// lane's seventh, chains seed 1780395 (a digest-only move on its tree), does
171+
// not move here, and every count is this tree's (INT26's picks had moved each
172+
// of these seeds before):
173+
// reversals seed 314187: 2936193272230691901 -> 8480529943005853423 (168 trades, 628 commands, 582 rows placed -> 196 trades, 673 commands, 657 rows placed)
174+
// reversals seed 1780393: 15749505417408196912 -> 17449904882900142298
175+
// reversals seed 3246599: 7365380738509267810 -> 14507000991737484187 (147 trades, 455 commands, 507 rows placed -> 149 trades, 455 commands, 514 rows placed)
176+
// brackets seed 314188: 6185985077652624317 -> 15155965389917690170 (144 trades, 818 commands, 919 rows placed -> 134 trades, 837 commands, 932 rows placed)
177+
// brackets seed 1780394: 5435028051816123314 -> 12091946260420883994 (95 trades, 697 commands, 705 rows placed -> 96 trades, 721 commands, 761 rows placed)
178+
// chains seed 314189: 3920721464232107171 -> 14595591561869877759 (62 trades, 465 commands, 490 rows placed -> 75 trades, 498 commands, 527 rows placed)
167179
constexpr std::uint64_t kTranscriptDigests[] = {
168180
14377401231487041547ull, // reversals seed 104729, 131 trades, 397 commands, 435 rows placed
169181
8277084373591058696ull, // reversals seed 209458, 123 trades, 379 commands, 419 rows placed
170-
2936193272230691901ull, // reversals seed 314187, 168 trades, 628 commands, 582 rows placed
182+
8480529943005853423ull, // reversals seed 314187, 196 trades, 673 commands, 657 rows placed
171183
6549991687676950761ull, // reversals seed 418916, 107 trades, 381 commands, 383 rows placed
172184
9953188267307049090ull, // reversals seed 523645, 104 trades, 417 commands, 379 rows placed
173185
16185846816223020088ull, // reversals seed 628374, 126 trades, 412 commands, 399 rows placed
@@ -181,7 +193,7 @@ constexpr std::uint64_t kTranscriptDigests[] = {
181193
4927715982682604365ull, // reversals seed 1466206, 151 trades, 372 commands, 413 rows placed
182194
12202956723937736421ull, // reversals seed 1570935, 69 trades, 344 commands, 273 rows placed
183195
1308277235911883001ull, // reversals seed 1675664, 118 trades, 389 commands, 409 rows placed
184-
15749505417408196912ull, // reversals seed 1780393, 196 trades, 702 commands, 665 rows placed
196+
17449904882900142298ull, // reversals seed 1780393, 196 trades, 702 commands, 665 rows placed
185197
16795999522017645296ull, // reversals seed 1885122, 127 trades, 396 commands, 391 rows placed
186198
6779215636140632786ull, // reversals seed 1989851, 173 trades, 429 commands, 449 rows placed
187199
15115396572137765888ull, // reversals seed 2094580, 92 trades, 384 commands, 350 rows placed
@@ -195,15 +207,15 @@ constexpr std::uint64_t kTranscriptDigests[] = {
195207
12936186547753035500ull, // reversals seed 2932412, 96 trades, 360 commands, 330 rows placed
196208
11138119210196651599ull, // reversals seed 3037141, 118 trades, 408 commands, 398 rows placed
197209
11186738496014205060ull, // reversals seed 3141870, 116 trades, 402 commands, 404 rows placed
198-
7365380738509267810ull, // reversals seed 3246599, 147 trades, 455 commands, 507 rows placed
210+
14507000991737484187ull, // reversals seed 3246599, 149 trades, 455 commands, 514 rows placed
199211
8856317689282633932ull, // reversals seed 3351328, 108 trades, 414 commands, 363 rows placed
200212
1680641833169632427ull, // reversals seed 3456057, 87 trades, 373 commands, 350 rows placed
201213
17785508903938760497ull, // reversals seed 3560786, 147 trades, 397 commands, 435 rows placed
202214
17135221856069256209ull, // reversals seed 3665515, 132 trades, 392 commands, 402 rows placed
203215
16348052548195448490ull, // reversals seed 3770244, 53 trades, 339 commands, 267 rows placed
204216
14413849309182271769ull, // brackets seed 104730, 82 trades, 521 commands, 568 rows placed
205217
17836979205695001440ull, // brackets seed 209459, 76 trades, 487 commands, 569 rows placed
206-
6185985077652624317ull, // brackets seed 314188, 144 trades, 818 commands, 919 rows placed
218+
15155965389917690170ull, // brackets seed 314188, 134 trades, 837 commands, 932 rows placed
207219
3737662390130165609ull, // brackets seed 418917, 94 trades, 557 commands, 632 rows placed
208220
10672250305191215856ull, // brackets seed 523646, 71 trades, 517 commands, 451 rows placed
209221
1855891803821441106ull, // brackets seed 628375, 101 trades, 524 commands, 724 rows placed
@@ -217,7 +229,7 @@ constexpr std::uint64_t kTranscriptDigests[] = {
217229
16303049545172805242ull, // brackets seed 1466207, 70 trades, 568 commands, 669 rows placed
218230
8808473759868459315ull, // brackets seed 1570936, 69 trades, 475 commands, 647 rows placed
219231
15751662755974333447ull, // brackets seed 1675665, 87 trades, 520 commands, 602 rows placed
220-
5435028051816123314ull, // brackets seed 1780394, 95 trades, 697 commands, 705 rows placed
232+
12091946260420883994ull, // brackets seed 1780394, 96 trades, 721 commands, 761 rows placed
221233
355520822114888679ull, // brackets seed 1885123, 89 trades, 542 commands, 583 rows placed
222234
5402310364412118994ull, // brackets seed 1989852, 89 trades, 505 commands, 639 rows placed
223235
11372035822747614056ull, // brackets seed 2094581, 85 trades, 496 commands, 575 rows placed
@@ -239,7 +251,7 @@ constexpr std::uint64_t kTranscriptDigests[] = {
239251
5122510577651000745ull, // brackets seed 3770245, 78 trades, 503 commands, 560 rows placed
240252
11442749230602752319ull, // chains seed 104731, 67 trades, 318 commands, 355 rows placed
241253
973054536545442904ull, // chains seed 209460, 66 trades, 384 commands, 419 rows placed
242-
3920721464232107171ull, // chains seed 314189, 62 trades, 465 commands, 490 rows placed
254+
14595591561869877759ull, // chains seed 314189, 75 trades, 498 commands, 527 rows placed
243255
13576086977686921552ull, // chains seed 418918, 44 trades, 293 commands, 349 rows placed
244256
13312605232919440966ull, // chains seed 523647, 47 trades, 314 commands, 327 rows placed
245257
6547333340447752844ull, // chains seed 628376, 73 trades, 342 commands, 367 rows placed

‎tests/test_adapter_quiet_bar_pinned.inc‎

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,19 @@
14201420
// Random48/0/0: boundary 0xaa6b18e4254e2f68ull -> 0x21c0bf9ae910d3acull, final_hash 0xaff43b38e6bc02acull -> 0x1e560afd06471537ull [H-THIN]
14211421
// Random48/1/1: boundary 0x655a5637ae415d60ull -> 0x4fd90c8ca1025428ull, rows 0x13866e45be14eaeeull -> 0x7706d5e9ebfd9226ull, final_hash 0xa0e205aa768a0bc9ull -> 0xee01efa6d7b40515ull [H-THIN]
14221422
// Random48/1/0: boundary 0x655a5637ae415d60ull -> 0x4fd90c8ca1025428ull, final_hash 0xa0e205aa768a0bc9ull -> 0xee01efa6d7b40515ull [H-THIN]
1423+
// R5 lane PAR-ORDERS-3 moves these runs' trade digests (INT27: the behaviour
1424+
// half of the lane's hash commit b65cee22, which says why each moves: finding
1425+
// 4, bc5f7a21, on the chart path; CalcOnFills keeps every trade and renumbers
1426+
// Trade::entry_incarnation). Harvested with PINEFORGE_QUIET_BAR_HARVEST on
1427+
// the integrated tree, where INT26's picks had moved the same runs' trade
1428+
// digests, so the digests are this tree's, not the lane's; the boundary counts
1429+
// equal the lane's. Their hash values move once, in the INT27 v19 hash re-pin:
1430+
// CalcOnFills/0/1: trades 0x87698c8f4050ce14 -> 0x6f29557db540e116
1431+
// CalcOnFills/0/0: trades 0x87698c8f4050ce14 -> 0x6f29557db540e116
1432+
// Random10/0/1: trades 0xc9ae66b6356d2649 -> 0xaae6484f97956d07, boundary_count 69 -> 67
1433+
// Random10/0/0: trades 0xc9ae66b6356d2649 -> 0xaae6484f97956d07, boundary_count 69 -> 67
1434+
// Random20/0/1: trades 0x936a146fbbfb7d4b -> 0x4ae8ba38071c5c60, boundary_count 70 -> 69
1435+
// Random20/0/0: trades 0x936a146fbbfb7d4b -> 0x4ae8ba38071c5c60, boundary_count 70 -> 69
14231436
constexpr Pinned kPinned[] = {
14241437
{"Quiet", 0, 1, 0xcd8d3ecb4d2c740aull, 0xe6da4342a82c460cull, 0x47fe0d7eaf8e51e3ull, 0x458f1ecf00ef1d5cull, 40, 40, 0},
14251438
{"Quiet", 0, 0, 0xcd8d3ecb4d2c740aull, 0x14650fb0739d0383ull, 0x47fe0d7eaf8e51e3ull, 0x458f1ecf00ef1d5cull, 40, 0, 0},
@@ -1465,8 +1478,8 @@ constexpr Pinned kPinned[] = {
14651478
{"DeclinedReversal", 0, 0, 0x5dc519d25cd8e456ull, 0x14650fb0739d0383ull, 0xc3448bef59024d51ull, 0xacfb010f8ef2c1dbull, 24, 0, 1},
14661479
{"DeclinedReversal", 1, 1, 0x506c2023d62a4e6full, 0xe0eb2dae405533f4ull, 0xc3448bef59024d51ull, 0x980a839868ba5b97ull, 24, 24, 1},
14671480
{"DeclinedReversal", 1, 0, 0x506c2023d62a4e6full, 0x14650fb0739d0383ull, 0xc3448bef59024d51ull, 0x980a839868ba5b97ull, 24, 0, 1},
1468-
{"CalcOnFills", 0, 1, 0xbd9feba11a355c84ull, 0xbd62a54cd2c27075ull, 0x87698c8f4050ce14ull, 0x8e716ca55979f5e4ull, 55, 40, 8},
1469-
{"CalcOnFills", 0, 0, 0xbd9feba11a355c84ull, 0x14650fb0739d0383ull, 0x87698c8f4050ce14ull, 0x8e716ca55979f5e4ull, 55, 0, 8},
1481+
{"CalcOnFills", 0, 1, 0xbd9feba11a355c84ull, 0xbd62a54cd2c27075ull, 0x6f29557db540e116ull, 0x8e716ca55979f5e4ull, 55, 40, 8},
1482+
{"CalcOnFills", 0, 0, 0xbd9feba11a355c84ull, 0x14650fb0739d0383ull, 0x6f29557db540e116ull, 0x8e716ca55979f5e4ull, 55, 0, 8},
14701483
{"CalcOnFills", 1, 1, 0x0e2860d938b1d36dull, 0xfe826221acbd42c3ull, 0xa16d17de4933efdaull, 0x1ae91d50d6762fd0ull, 52, 40, 6},
14711484
{"CalcOnFills", 1, 0, 0x0e2860d938b1d36dull, 0x14650fb0739d0383ull, 0xa16d17de4933efdaull, 0x1ae91d50d6762fd0ull, 52, 0, 6},
14721485
{"CloseOrders", 0, 1, 0xb27e9cfcbfee41d3ull, 0x0033c4a6a644f0ddull, 0xbc944a52841481b1ull, 0xbedbc1183b7526a1ull, 48, 48, 16},
@@ -1537,8 +1550,8 @@ constexpr Pinned kPinned[] = {
15371550
{"Random09", 0, 0, 0xaaff8dcd840f16ceull, 0x14650fb0739d0383ull, 0xcda6a598aa82b5f0ull, 0xbbe3c07366b0cbeaull, 58, 0, 2},
15381551
{"Random09", 1, 1, 0x026e829145cad6f5ull, 0x32ca6bae685cea43ull, 0x86b2bbc1465372d7ull, 0xc55c597c6508d557ull, 58, 58, 2},
15391552
{"Random09", 1, 0, 0x026e829145cad6f5ull, 0x14650fb0739d0383ull, 0x86b2bbc1465372d7ull, 0xc55c597c6508d557ull, 58, 0, 2},
1540-
{"Random10", 0, 1, 0x82933908492fe6aeull, 0x839a10fa6478c692ull, 0xc9ae66b6356d2649ull, 0x6907e89e2f502bd7ull, 69, 51, 23},
1541-
{"Random10", 0, 0, 0x82933908492fe6aeull, 0x14650fb0739d0383ull, 0xc9ae66b6356d2649ull, 0x6907e89e2f502bd7ull, 69, 0, 23},
1553+
{"Random10", 0, 1, 0x82933908492fe6aeull, 0x839a10fa6478c692ull, 0xaae6484f97956d07ull, 0x6907e89e2f502bd7ull, 67, 51, 23},
1554+
{"Random10", 0, 0, 0x82933908492fe6aeull, 0x14650fb0739d0383ull, 0xaae6484f97956d07ull, 0x6907e89e2f502bd7ull, 67, 0, 23},
15421555
{"Random10", 1, 1, 0x3af283057bf553afull, 0xd948d5022e691361ull, 0x724c585ad13c935dull, 0x794b361143554e09ull, 67, 51, 23},
15431556
{"Random10", 1, 0, 0x3af283057bf553afull, 0x14650fb0739d0383ull, 0x724c585ad13c935dull, 0x794b361143554e09ull, 67, 0, 23},
15441557
{"Random11", 0, 1, 0x9f99f3ad7d35ba23ull, 0x29a35fd6705cc48aull, 0x2f92b1af8d2cfafcull, 0x8235cad2a6dfb3f3ull, 60, 60, 3},
@@ -1577,8 +1590,8 @@ constexpr Pinned kPinned[] = {
15771590
{"Random19", 0, 0, 0xa21f7b0b62d72170ull, 0x14650fb0739d0383ull, 0x95d7b888983ad8e6ull, 0x0bcf8b1fde6775f8ull, 40, 0, 10},
15781591
{"Random19", 1, 1, 0xceae18544190aae2ull, 0x7d8104e455ec01f8ull, 0x011bec7774b82ec9ull, 0x426c72d5bce82609ull, 40, 40, 11},
15791592
{"Random19", 1, 0, 0xceae18544190aae2ull, 0x14650fb0739d0383ull, 0x011bec7774b82ec9ull, 0x426c72d5bce82609ull, 40, 0, 11},
1580-
{"Random20", 0, 1, 0xad83f25bfdab1b50ull, 0x103b25042e1313deull, 0x936a146fbbfb7d4bull, 0xb27d00f43fad75a1ull, 70, 57, 21},
1581-
{"Random20", 0, 0, 0xad83f25bfdab1b50ull, 0x14650fb0739d0383ull, 0x936a146fbbfb7d4bull, 0xb27d00f43fad75a1ull, 70, 0, 21},
1593+
{"Random20", 0, 1, 0xad83f25bfdab1b50ull, 0x103b25042e1313deull, 0x4ae8ba38071c5c60ull, 0xb27d00f43fad75a1ull, 69, 57, 21},
1594+
{"Random20", 0, 0, 0xad83f25bfdab1b50ull, 0x14650fb0739d0383ull, 0x4ae8ba38071c5c60ull, 0xb27d00f43fad75a1ull, 69, 0, 21},
15821595
{"Random20", 1, 1, 0x4b8bcf5ef1f015c5ull, 0x6e2d790aa8a7762bull, 0x57a697ba56dd611eull, 0xd3e60d6fda04adbeull, 72, 57, 21},
15831596
{"Random20", 1, 0, 0x4b8bcf5ef1f015c5ull, 0x14650fb0739d0383ull, 0x57a697ba56dd611eull, 0xd3e60d6fda04adbeull, 72, 0, 21},
15841597
{"Random21", 0, 1, 0xd7b52779988b5cfaull, 0xcfddcd52fb629169ull, 0xbc89178a735678f6ull, 0xfd9b7e4dad3197b5ull, 54, 54, 18},

0 commit comments

Comments
 (0)