Files
dxdesigner-part-replacement/docs/testing/evidence/2026-10-19-native-snapshot.json

247 lines
9.1 KiB
JSON

{
"date": "2026-10-19",
"production_code_commit": "81f3468",
"adapter_initial_commit": "2f6060d",
"uid_read_commit": "5b625b0",
"code_hashes": {
"integration/dxdesigner795/QuickPartReplace.vbs": "102be388b4878156c72d40eb0c6bf7bdd2e51295b80560635b482e1e6816babb",
"integration/dxdesigner795/NativeSnapshotReader.vbs": "138fd22d351919b9d25dacf2e1258ebb3d465bca6a8161be919bdac3440ca76c",
"src/dx_productivity/trial_task_center/native_helper.py": "53b5f962de2a84c99b42a78e9b3046239f7bb4c99b8730e8de085893cbd35188",
"src/dx_productivity/trial_task_center/worker_runtime.py": "7b2a0b8365c4b0bb967d6b1d3a3e5fc792d1a5acde24a165159ed40a9cfd040b"
},
"hash_evidence_note": "Main worker and native_helper hashes were recorded at launch. Adapter and composer hashes were recorded after the run; exact original and recovery composed worker bytes match current main + CRLF + adapter.",
"regressions": {
"final-targeted": {
"tests": "239",
"failures": "0",
"errors": "0",
"skipped": "0",
"time": "63.349"
},
"queue-recovery": {
"tests": "81",
"failures": "0",
"errors": "0",
"skipped": "0",
"time": "42.950"
}
},
"excluded_test": "Existing 1000-step simulated performance threshold remains unresolved; intentionally deselected, not counted as passed.",
"formal_bom": {
"verified": true,
"baseline_seconds": 375.688,
"seconds": 189.25,
"time_reduction_percent": 49.62575328464044,
"original_baseline_seconds": 799.5,
"original_baseline_reduction_percent": 76.32895559724828,
"saved_items": 2,
"failed_items": 0,
"source_hashes_unchanged": true,
"snapshot_equivalence": {
"equal_excluding_path_metadata": true,
"baseline_rows": 120,
"optimized_rows": 120,
"native_full_reads": 6
},
"graph_summary": {
"hier": {
"component_count": 57,
"pin_count": 103,
"net_count": 22,
"unchanged_components": 55,
"all_pin_connections_unchanged": true,
"net_graph_unchanged": true
},
"flat": {
"component_count": 57,
"pin_count": 103,
"net_count": 22,
"unchanged_components": 55,
"all_pin_connections_unchanged": true,
"net_graph_unchanged": true
}
},
"previous_result_graph_equivalence": {
"hier": {
"equal": true,
"components": 57,
"pins": 103,
"nets": 22,
"sha256": "32b36adbef100db505ea3d98ca628d50a94c91826d7289d90e473b3f9c864a31"
},
"flat": {
"equal": true,
"components": 57,
"pins": 103,
"nets": 22,
"sha256": "acbb89d93ebd3dc35f7d4b794df943c2ef5d164a0fb0c1626c432d2a0aa5b033"
}
},
"step_timings": [
{
"old_part_number": "4100-CA0000-T7",
"elapsed_seconds": 121.00508039997658,
"worker_stage_seconds": {
"starting": 0.39100000000325963,
"session_startup": 1.0929999999934807,
"check_project": 0.04800000000977889,
"open_project": 16.34300000005169,
"open_sheet": 4.704000000027008,
"session_ready": 0.10899999999674037,
"query_components": 0.06299999996554106,
"find_components": 1.5929999999934807,
"index_pins": 9.157000000064727,
"snapshot_attributes": 0.8900000000139698,
"capture": 0.1559999999590218,
"native_snapshot_read": 6.60899999999674,
"before_native": 0.18800000002374873,
"native_replace": 22.03100000001723,
"restore_preflight": 1.2189999999827705,
"index_components": 1.7509999999892898,
"before_restore_transaction": 2.1869999999762513,
"restore_attribute_fields": 7.953000000037719,
"restore_attributes": 0.0,
"verify_restoration": 1.0149999999557622,
"verify_attribute_fields": 1.140999999945052,
"finished": 1.1410000000032596,
"save_and_close": 3.0929999999934807,
"verify_saved_project": 0.0,
"session_wait": 0.0
}
},
{
"old_part_number": "4100-CA1030-T7",
"elapsed_seconds": 62.38554909999948,
"worker_stage_seconds": {
"check_project": 0.062000000034458935,
"open_sheet": 2.062999999965541,
"query_components": 0.031000000017229468,
"find_components": 0.6879999999655411,
"index_pins": 7.1859999999869615,
"snapshot_attributes": 0.7189999999827705,
"capture": 0.15700000000651926,
"native_snapshot_read": 6.546000000031199,
"before_native": 0.21899999998277053,
"native_replace": 19.78100000001723,
"restore_preflight": 0.7339999999967404,
"index_components": 1.3760000000474975,
"before_restore_transaction": 1.5,
"restore_attribute_fields": 6.907000000006519,
"restore_attributes": 0.015000000013969839,
"verify_restoration": 0.8439999999245629,
"verify_attribute_fields": 1.1880000000237487,
"finished": 1.297000000020489,
"save_and_close": 6.313000000023749,
"verify_saved_project": 0.0,
"open_project": 7.85899999999674,
"session_wait": 0.23399999999674037
},
"worker_stage_source": "Last worker-progress.json sampled before release; final close time may be incomplete."
}
]
},
"recovery": {
"verified": true,
"seconds": 61.06199999997625,
"state": "restored_ok",
"proof": "recovery_saved_verified",
"additional_native_replacement": false,
"closed_without_additional_saving": true,
"native_full_reads": 1,
"graph_equivalence": {
"hier": {
"equal": true,
"components": 57,
"pins": 103,
"nets": 22,
"sha256": "32b36adbef100db505ea3d98ca628d50a94c91826d7289d90e473b3f9c864a31"
},
"flat": {
"equal": true,
"components": 57,
"pins": 103,
"nets": 22,
"sha256": "acbb89d93ebd3dc35f7d4b794df943c2ef5d164a0fb0c1626c432d2a0aa5b033"
}
}
},
"isolation": {
"formal": {
"owned_cad_exit_confirmed": true,
"owned_desktops_released": true,
"input_desktop_unchanged": true,
"owned_cad_became_foreground": false,
"owned_cad_on_input_desktop": false,
"file_read_samples": 843,
"observer_errors": []
},
"recovery": {
"owned_cad_exit_confirmed": true,
"owned_desktops_released": true,
"input_desktop_unchanged": true,
"owned_cad_became_foreground": false,
"owned_cad_on_input_desktop": false,
"file_read_samples": 266,
"observer_errors": []
}
},
"readonly_host_probes": [
{
"native_seconds": 1.172000000020489,
"external_seconds": 46.09299999999348,
"equal_rows": 114,
"component_count": 57
},
{
"native_seconds": 0.8439999999827705,
"native_repeat_seconds": 0.7650000000139698,
"external_seconds": 33.23499999998603,
"equal_rows": 114,
"component_count": 57
}
],
"rejected_bulk_attribute_candidate": {
"enabled_in_production": false,
"equivalent": false,
"bulk_seconds": 0.44640369998523965,
"individual_seconds": 6.037832499889191,
"differences": [
{
"refdes": "RV01",
"bulk_part_label": " ",
"individual_part_label": ""
}
],
"reason": "Space versus empty string semantic mismatch and incomplete full attribute style fields."
},
"initial_failed_host_probe": {
"verified": false,
"reason": "Host predefines VDM_COMP / VDM_COMPPIN / VD_ALL; duplicate declarations opened a script compile error dialog. Generator now omits these declarations.",
"owned_probe_dialog_acknowledged": true,
"owned_cad_exit_code": 0,
"desktop_release_confirmed": true,
"clean_flag": false,
"clean_flag_note": "Probe exception, not cleanup failure; no cleanup errors and desktop confirmation released=true.",
"source_hashes_unchanged": true
},
"test_fixture_correction": "Initial integration run: 201 passed / 13 failed. Extracted VBS guard fixture lacked QPUseNativeSnapshot; corrected fixture and reran the final targeted suite successfully.",
"limitations": [
"One same-source formal run per revision; no general speed guarantee.",
"189.250 seconds remains above the proposed 180-second target.",
"Native read has no per-component external heartbeat; the existing 150-second idle monitor and safe-boundary cancellation remain, so very large pages need separate certification.",
"PCB Cell Name mapping and complex hierarchical/multi-gate cases remain uncertified.",
"1000-step simulated queue performance threshold remains unresolved.",
"No package build or release performed."
],
"raw_evidence_roots": [
"build/native-adapter-20261019",
"build/native-read-formal-bom-20261019",
"build/native-read-ascii-result-20261019",
"build/native-read-ascii-after-recovery-20261019",
"build/native-snapshot-host-20261019",
"build/native-snapshot-host-20261019-v2",
"build/native-snapshot-host-20261019-v3",
"build/bulk-identity-probe-20261019"
]
}