File size: 15,468 Bytes
f19845f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
  "api_smoke": {
    "batch_resource_setup_tranidx": {
      "alternate_index": {
        "cylinders": [
          5,
          1
        ],
        "data": "AWS.M2.CARDDEMO.TRANSACT.VSAM.AIX.DATA",
        "index": "AWS.M2.CARDDEMO.TRANSACT.VSAM.AIX.INDEX",
        "keys": {
          "length": 26,
          "offset": 304
        },
        "name": "AWS.M2.CARDDEMO.TRANSACT.VSAM.AIX",
        "nonunique": true,
        "record_size": [
          350,
          350
        ],
        "relate": "AWS.M2.CARDDEMO.TRANSACT.VSAM.KSDS",
        "upgrade": true,
        "volume": "AWSHJ1"
      },
      "bldindex": {
        "indataset": "AWS.M2.CARDDEMO.TRANSACT.VSAM.KSDS",
        "outdataset": "AWS.M2.CARDDEMO.TRANSACT.VSAM.AIX",
        "source_record_count": 300
      },
      "function": "Define AIX for transaction file",
      "legacy_job": "TRANIDX",
      "legacy_program": "IDCAMS",
      "path": {
        "name": "AWS.M2.CARDDEMO.TRANSACT.VSAM.AIX.PATH",
        "pathentry": "AWS.M2.CARDDEMO.TRANSACT.VSAM.AIX"
      },
      "source_oracle": "TRANIDX.jcl DEFINE ALTERNATEINDEX, DEFINE PATH, and BLDINDEX statements",
      "steps": [
        {
          "control": "DEFINE ALTERNATEINDEX",
          "program": "IDCAMS",
          "step": "STEP20"
        },
        {
          "control": "DEFINE PATH",
          "program": "IDCAMS",
          "step": "STEP25"
        },
        {
          "control": "BLDINDEX",
          "program": "IDCAMS",
          "step": "STEP30"
        }
      ]
    },
    "health": {
      "source_root": "..\\source",
      "status": "ok"
    },
    "mq_system_date": {
      "error_queue": "CARD.DEMO.ERROR.QUEUE",
      "input_queue": "CARD.DEMO.REQUEST.DATE",
      "legacy_pattern": "MQ request/reply",
      "legacy_program": "CODATE01",
      "legacy_transaction": "CDRD",
      "message_format": {
        "correlation": "reply reuses MQMD message id and correl id",
        "mq_format": "MQFMT_STRING",
        "reply_length": 1000,
        "request_copy": "REQUEST-MSG-COPY"
      },
      "reply_message": "SYSTEM DATE : 05-23-2026SYSTEM TIME : 11:12:13",
      "reply_queue": "CARD.DEMO.REPLY.DATE",
      "request_message": "DATE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ",
      "source_oracle": "CODATE01 4000-PROCESS-REQUEST-REPLY uses CICS ASKTIME/FORMATTIME MMDDYYYY DATESEP('-') TIMESEP and does not validate WS-FUNC",
      "system_date": "05-23-2026",
      "system_time": "11:12:13"
    },
    "summary": {
      "claim_limit": "capability ledger and static-oracle traces only; no all-path COBOL runtime proof yet",
      "counts": {
        "accounts": 50,
        "authorization_frauds": 0,
        "card_xrefs": 50,
        "cards": 50,
        "customers": 50,
        "disclosure_groups": 51,
        "pending_authorization_details": 202,
        "pending_authorization_summaries": 21,
        "transaction_categories": 18,
        "transaction_category_balances": 50,
        "transaction_types": 7,
        "transactions": 300,
        "users": 10
      },
      "portfolio": {
        "credit_limit": "233711.00",
        "current_balance": "12269.00"
      }
    }
  },
  "api_smoke_passed": true,
  "commands": [
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -m carddemo.cli init-db --source-root ..\\source --db-path .\\carddemo.sqlite",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 0.781,
      "name": "setup",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "",
      "stdout_tail": "{'customers': 50, 'accounts': 50, 'cards': 50, 'card_xrefs': 50, 'transactions': 300, 'transaction_types': 7, 'transaction_categories': 18, 'disclosure_groups': 51, 'transaction_category_balances': 50, 'users': 10, 'pending_authorization_summaries': 21, 'pending_authorization_details': 202}\n"
    },
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -m unittest discover -s tests",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 21.297,
      "name": "test",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "..................................................\n----------------------------------------------------------------------\nRan 50 tests in 20.718s\n\nOK\n",
      "stdout_tail": ""
    },
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe tools\\generate_receipts.py --source-root ..\\source --db-path .\\carddemo.sqlite --out-dir .\\reports",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 0.797,
      "name": "receipt",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "",
      "stdout_tail": "{\n  \"receipt\": \"reports\\\\modernization_receipt.json\",\n  \"parity\": \"reports\\\\parity_gap_report.json\",\n  \"passed\": true\n}\n"
    },
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe tools\\replay_static_oracles.py --source-root ..\\source --out-dir .\\reports --source-head 59cc6c2fd7ebd7ef7925cad552a01a4b8b6e4d5e",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 0.516,
      "name": "static_oracle_replay",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "",
      "stdout_tail": "{\n  \"replay\": \"reports\\\\static_oracle_replay.json\",\n  \"passed\": true,\n  \"replay_hash\": \"da60110c66ee3b44432933de91afec1ba09dcbc9551f4495933f9eba3779f56e\",\n  \"failed_checks\": [],\n  \"claim_limit\": \"Executable modern replay over static/source-oracle traces only; no live COBOL/CICS runtime replay has been performed.\"\n}\n"
    },
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe tools\\evaluate_a_grade_promotion.py --source-root ..\\source --out-dir .\\final_proof",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 0.234,
      "name": "a_grade_promotion",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "",
      "stdout_tail": "{\n  \"accepted_live_matches\": 0,\n  \"current_grade_counts\": {\n    \"A\": 0,\n    \"B\": 50,\n    \"C\": 0,\n    \"F\": 0\n  },\n  \"missing_live_matches\": 50,\n  \"out_dir\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\final_proof\",\n  \"promotable_to_A\": false,\n  \"report_hash\": \"88b3cc4916145340ed2dec0135ba25ee1b9ddd4029c7e1e4aedb586643286544\",\n  \"required_live_matches\": 50\n}\n"
    },
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe tools\\build_no_cost_confidence.py --source-root ..\\source --out-dir .\\final_proof",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 0.578,
      "name": "no_cost_confidence",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "",
      "stdout_tail": "{\n  \"out_dir\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\final_proof\",\n  \"ready_for_pre_runtime_review\": true,\n  \"report_hash\": \"20fd4a66a6fa52e75037c4ca5a6c389f613eefa9fdcc4087c036c6b355145c1a\",\n  \"reviewer_posture\": \"strong_pre_runtime_confidence\",\n  \"status_counts\": {\n    \"pass\": 6,\n    \"warn\": 1\n  }\n}\n"
    },
    {
      "command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe tools\\package_final_proof.py --source-root ..\\source",
      "cwd": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
      "duration_seconds": 0.313,
      "name": "package_final_proof",
      "passed": true,
      "returncode": 0,
      "stderr_tail": "",
      "stdout_tail": "\"report_hash\": \"88b3cc4916145340ed2dec0135ba25ee1b9ddd4029c7e1e4aedb586643286544\",\n    \"report_version\": \"carddemo_a_grade_promotion_gate_v0\",\n    \"required_live_matches\": 50,\n    \"target_A\": 50,\n    \"trace_contract\": {\n      \"accepted_trace_kinds\": [\n        \"live_cobol_cics_runtime\",\n        \"live_mainframe_runtime\"\n      ],\n      \"field_rules\": {\n        \"capability_id\": \"must match one ID in reports/capability_ledger.json\",\n        \"hash_fields\": \"64-character SHA-256 hex digests\",\n        \"matched\": true,\n        \"source_head\": \"59cc6c2fd7ebd7ef7925cad552a01a4b8b6e4d5e\"\n      },\n      \"required_fields\": [\n        \"capability_id\",\n        \"trace_kind\",\n        \"source_head\",\n        \"legacy_runtime_environment\",\n        \"modern_observation_hash\",\n        \"comparator_version\",\n        \"matched\",\n        \"raw_legacy_trace_hash or legacy_runtime_trace_hash\"\n      ]\n    }\n  },\n  \"clean_repro_verification_present\": false,\n  \"files\": [\n    \"FINAL_PROOF_README.md\",\n    \"FINAL_RECEIPT_SUMMARY.json\",\n    \"REPRO_COMMANDS.txt\",\n    \"STATIC_ORACLE_REPLAY_REPORT.json\",\n    \"KNOWN_LIMITS.md\",\n    \"ARTIFACT_MANIFEST.json\"\n  ],\n  \"no_cost_confidence\": {\n    \"a_missing_live_matches\": 50,\n    \"a_promotable\": false,\n    \"capability_count\": 50,\n    \"edge_case_count\": 40,\n    \"generated_utc\": \"2026-05-23T15:02:32+00:00\",\n    \"golden_trace_count\": 34,\n    \"legacy_runtime_claim_made\": false,\n    \"paid_runtime_used\": false,\n    \"path\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\final_proof\\\\NO_COST_CONFIDENCE_REPORT.json\",\n    \"readme_path\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\final_proof\\\\NO_COST_CONFIDENCE_README.md\",\n    \"ready_for_pre_runtime_review\": true,\n    \"remaining_gap\": \"live legacy COBOL/CICS/VSAM/JCL runtime validation on a real or licensed-compatible runtime\",\n    \"report_hash\": \"20fd4a66a6fa52e75037c4ca5a6c389f613eefa9fdcc4087c036c6b355145c1a\",\n    \"report_version\": \"carddemo_no_cost_confidence_v0\",\n    \"reviewer_posture\": \"strong_pre_runtime_confidence\",\n    \"source_ref_total\": 101,\n    \"static_oracle_ready_count\": 50,\n    \"static_replay_passed\": true\n  },\n  \"out_dir\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\final_proof\",\n  \"parity\": {\n    \"B\": 50,\n    \"F\": 0,\n    \"capability_count\": 50,\n    \"gap_count\": 0,\n    \"grade_counts\": {\n      \"A\": 0,\n      \"B\": 50,\n      \"C\": 0,\n      \"F\": 0\n    },\n    \"next_gap_ranking_count\": 0,\n    \"one_for_one_parity_ready\": true,\n    \"parity_hash\": \"677ea1276946f3b2acd1791ad704445c5ecd1d208b8246c4de40b02c773916c4\",\n    \"parity_report_passed\": true,\n    \"proof_grade_meanings\": {\n      \"A\": \"actual legacy runtime trace match\",\n      \"B\": \"static legacy data/copybook oracle match\",\n      \"C\": \"implemented or inferred without strict parity proof\",\n      \"F\": \"discovered capability gap\"\n    },\n    \"rubric\": \"current static/source-oracle rubric\",\n    \"static_oracle_or_better_count\": 50,\n    \"strict_runtime_parity_count\": 0\n  },\n  \"static_oracle_replay\": {\n    \"claim_limit\": \"Executable modern replay over static/source-oracle traces only; no live COBOL/CICS runtime replay has been performed.\",\n    \"evidence_hash\": \"b800ca64245b6229211cc4ace2b7c375f59d6d84afd08d04491c67b2ac50d847\",\n    \"failed_checks\": [],\n    \"passed\": true,\n    \"path\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\final_proof\\\\STATIC_ORACLE_REPLAY_REPORT.json\",\n    \"replay_hash\": \"da60110c66ee3b44432933de91afec1ba09dcbc9551f4495933f9eba3779f56e\",\n    \"runtime_probe_count\": 6,\n    \"source_report_path\": \"D:\\\\scraper_storage\\\\modernization_labs\\\\aws-carddemo-modernization-20260523T073000Z\\\\clean_repro_20260523T150205Z\\\\modern_carddemo\\\\reports\\\\static_oracle_replay.json\"\n  }\n}\n"
    }
  ],
  "copied_workspace": {
    "modern_copy": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo",
    "scratch_root": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z",
    "source_copy": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\source"
  },
  "generated_utc": "2026-05-23T15:02:33+00:00",
  "passed": true,
  "server_port": 8091,
  "server_smoke": {
    "checks": {
      "health_ok": true,
      "mq_date_reply": true,
      "summary_customers_50": true,
      "tranidx_key_contract": true
    },
    "passed": true,
    "server_command": "C:\\Users\\Cjc00\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -m carddemo.cli serve --source-root ..\\source --db-path .\\carddemo.sqlite --port 8091",
    "stderr_log": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo\\server_smoke.err.log",
    "stdout_log": "D:\\scraper_storage\\modernization_labs\\aws-carddemo-modernization-20260523T073000Z\\clean_repro_20260523T150205Z\\modern_carddemo\\server_smoke.out.log"
  },
  "source_head": "59cc6c2fd7ebd7ef7925cad552a01a4b8b6e4d5e",
  "verification_version": "carddemo_clean_repro_verification_v0"
}