Commit 1c1537f
committed
feat(structural): source-specific Jacobian + snapshot identification-contribution report
Identification-targeted diagnostics over the genuine audited dataset (no new source/model/threshold/terminology; nothing fabricated).
- source_jacobian_ranks: per-family Jacobians J_UYAP/J_KAP/J_TOKI restricted to each family's genuinely OBSERVED moments + J_combined; reports numerical rank of each. Answers 'which source adds an independent parameter direction' (a LOCAL moment-sensitivity diagnostic, NOT causal or standalone identification).
- build_observed_moments now returns per-moment sample_sizes; identification_report adds source_jacobians, sample_sizes and smallest-non-zero singular value.
- snapshot before->after comparison (snapshot_metrics/save_snapshot/load_snapshot/compare_snapshots): newly-unlocked moments, sample-size increases, rank / smallest-nonzero-sv / condition-number / status deltas. CLI: sold structural identify --save-snapshot.
- MEASURED on the current genuine data (validation/structural/): J_UYAP rank 1 (uyap_sale_prob degenerate at 1.0), J_KAP rank 1, J_TOKI rank 0 (single disclosure, no cohort), J_combined rank 2 -> still NOT_IDENTIFIED (dim 6). Baseline saved to validation/structural/identify_snapshot.json.
- EPISTEMIC: no additional genuine audited records were available or fabricated, so toki_cohort_moments / uyap_win-over-appraisal_sd / kap_log_ratio_sd stay UNAVAILABLE and status is unchanged. The moment-unlock machinery is verified with clearly-labelled FIXTURES (not counted in the genuine report): a 2nd sold auction unlocks the win/appraisal sd, an unsold auction makes sale_prob non-degenerate, two consecutive PMVR3 disclosures unlock a TOKI period cohort, a 2nd KAP negotiated disposal unlocks the log-ratio sd.
- Estimation gate unchanged; theta/optimizer/mechanism/thresholds/terminology untouched; Level-2 records + consumer path frozen.
- 175 tests passing1 parent e8397ee commit 1c1537f
7 files changed
Lines changed: 310 additions & 5 deletions
File tree
- src/sold
- structural
- tests
- validation/structural
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
| 1532 | + | |
1532 | 1533 | | |
1533 | 1534 | | |
1534 | 1535 | | |
| |||
1543 | 1544 | | |
1544 | 1545 | | |
1545 | 1546 | | |
| 1547 | + | |
1546 | 1548 | | |
1547 | 1549 | | |
1548 | 1550 | | |
| 1551 | + | |
1549 | 1552 | | |
1550 | 1553 | | |
1551 | 1554 | | |
1552 | 1555 | | |
1553 | 1556 | | |
1554 | 1557 | | |
| 1558 | + | |
1555 | 1559 | | |
| 1560 | + | |
1556 | 1561 | | |
| 1562 | + | |
1557 | 1563 | | |
1558 | 1564 | | |
1559 | 1565 | | |
1560 | 1566 | | |
1561 | 1567 | | |
1562 | 1568 | | |
1563 | 1569 | | |
| 1570 | + | |
1564 | 1571 | | |
1565 | 1572 | | |
1566 | 1573 | | |
| |||
1587 | 1594 | | |
1588 | 1595 | | |
1589 | 1596 | | |
| 1597 | + | |
1590 | 1598 | | |
1591 | 1599 | | |
1592 | 1600 | | |
1593 | 1601 | | |
1594 | 1602 | | |
1595 | | - | |
| 1603 | + | |
1596 | 1604 | | |
1597 | 1605 | | |
1598 | 1606 | | |
| |||
1631 | 1639 | | |
1632 | 1640 | | |
1633 | 1641 | | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
1634 | 1671 | | |
1635 | 1672 | | |
1636 | 1673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
119 | 129 | | |
120 | 130 | | |
121 | 131 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
81 | 128 | | |
82 | 129 | | |
83 | 130 | | |
| |||
162 | 209 | | |
163 | 210 | | |
164 | 211 | | |
| 212 | + | |
165 | 213 | | |
166 | 214 | | |
167 | 215 | | |
| |||
190 | 238 | | |
191 | 239 | | |
192 | 240 | | |
| 241 | + | |
193 | 242 | | |
194 | 243 | | |
195 | 244 | | |
| |||
199 | 248 | | |
200 | 249 | | |
201 | 250 | | |
| 251 | + | |
202 | 252 | | |
203 | 253 | | |
| 254 | + | |
204 | 255 | | |
205 | 256 | | |
206 | 257 | | |
| |||
212 | 263 | | |
213 | 264 | | |
214 | 265 | | |
| 266 | + | |
| 267 | + | |
215 | 268 | | |
216 | 269 | | |
217 | 270 | | |
| |||
256 | 309 | | |
257 | 310 | | |
258 | 311 | | |
| 312 | + | |
259 | 313 | | |
260 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
261 | 318 | | |
262 | 319 | | |
263 | 320 | | |
264 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
0 commit comments