bill_20261026_112312.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. [
  2. {
  3. "test_id": "BILL-09",
  4. "file": "bills\\BILL-09_交通银行_同义.xlsx",
  5. "expected_template_id": 34,
  6. "template_id": 34,
  7. "mutation": {
  8. "交易卡号": "银行卡号",
  9. "借贷方标志": "借贷方向",
  10. "金额": "发生额"
  11. },
  12. "notes": "必填换词,强制 AI; 预期 34",
  13. "upload_code": 200,
  14. "upload_message": "",
  15. "upload": "OK",
  16. "batch_id": "2114558436628242432",
  17. "file_id": "2114558436653408256",
  18. "sheets": [
  19. {
  20. "sheet_id": "2114558437307719680",
  21. "sheet_name": "交行流水",
  22. "file_status": "SHEET_TEMPLATE_MATCHED_FAIL",
  23. "template_id": null,
  24. "table_name": null,
  25. "line_no": null,
  26. "data_num": 10,
  27. "main_id": null,
  28. "job": {
  29. "job_id": 2114558438624731136,
  30. "sheet_id": 2114558437307719680,
  31. "status": "DISPATCHED_A",
  32. "exit_code": "A",
  33. "matched_by": "SCORE",
  34. "match_tier": "STRONG",
  35. "ref_template_id": 48,
  36. "ai_template_id": null,
  37. "llm_calls": 1,
  38. "confidence": "0.9185",
  39. "token_in": 2886,
  40. "token_out": 939,
  41. "cost_ms": 0,
  42. "row_total": null,
  43. "row_loaded": null,
  44. "row_rejected": null,
  45. "row_warned": null,
  46. "row_unprocessed": null,
  47. "fail_reason": null,
  48. "draft": "{\"templateNo\":69,\"headerRow\":1,\"category\":\"TRANSACTION\",\"structHints\":[\"FLATTEN_HEADER\"],\"binds\":[{\"fileColIndex\":1,\"fieldNameEn\":\"debitCreditFlag\",\"hints\":[],\"required\":true,\"confidence\":0.95},{\"fileColIndex\":2,\"fieldNameEn\":\"transAmount\",\"hints\":[],\"required\":true,\"confidence\":0.95},{\"fileColIndex\":3,\"fieldNameEn\":\"transDateTime\",\"hints\":[],\"required\":true,\"confidence\":0.9},{\"fileColIndex\":6,\"fieldNameEn\":\"otherName\",\"hints\":[],\"required\":false,\"confidence\":0.95},{\"fileColIndex\":7,\"fieldNameEn\":\"otherCardNo\",\"hints\":[],\"required\":false,\"confidence\":0.95},{\"fileColIndex\":8,\"fieldNameEn\":\"transBalance\",\"hints\":[],\"required\":false,\"confidence\":0.9},{\"fileColIndex\":9,\"fieldNameEn\":\"bankName\",\"hints\":[],\"required\":false,\"confidence\":0.7}],\"confidence\":0.8,\"reason\":\"交行流水,列名与农商行交易流水模板高度吻合(发生额/借贷方向/对方户名/对方帐号/余额/网点),形状一致;银行卡号、姓名、交易时间、备注无对应字段留空。\"}",
  49. "detail": "{\"sampled\":8,\"valid\":8,\"invalid\":0,\"estTotalRows\":\"10\",\"perColErrorRate\":{\"1\":0.0,\"2\":0.0,\"3\":0.0,\"6\":0.0,\"7\":0.0,\"8\":0.0,\"9\":0.0},\"rejectedCols\":[],\"columnErrors\":{},\"confidence\":{\"headerScore\":0.895,\"perColErrorRate\":0.0,\"requiredFillRate\":1.0,\"rowYield\":1.0,\"llmConfidence\":0.0},\"previewRows\":[[\"debitCreditFlag\",\"transAmount\",\"transDateTime\",\"otherName\",\"otherCardNo\",\"transBalance\",\"bankName\"],[\"借\",\"1,234.50\",\"2026-01-02\",\"孔晨\",\"6222575371832926725\",\"1,234.50\",\"武汉江汉支行\"],[\"贷\",\"-100.00\",\"2026/01/04\",\"蒋秀英\",\"6222704827283881868\",\"-100.00\",\"深圳南山支行\"],[\"D\",\"200.50\",\"2026年01月08日\",\"姜敏\",\"6222974367336548365\",\"200.50\",\"成都高新支行\"],[\"C\",\"2,300.50\",\"2026-01-12\",\"褚超\",\"6222120207588061960\",\"2,300.50\",\"重庆渝中支行\"]]}",
  50. "model_name": "Ollama:qwen",
  51. "update_time": "2026-10-26 11:24:10.471136"
  52. }
  53. }
  54. ],
  55. "smart_clean": {
  56. "code": 200,
  57. "message": "",
  58. "data": {
  59. "batchId": "2114558436628242432",
  60. "stage": "JUDGING",
  61. "fileCount": 1,
  62. "sheetTotal": 1,
  63. "matchedCount": 0,
  64. "aiSheetCount": 1
  65. }
  66. },
  67. "batch_final": {
  68. "stage": "DONE",
  69. "fileCount": 1,
  70. "sheetTotal": 1,
  71. "matchedCount": 0,
  72. "aiJudgedCount": 1,
  73. "existingHitCount": 1,
  74. "aiLoadCount": 0,
  75. "loadedRows": "0",
  76. "rejectedRows": "0",
  77. "unprocessedRows": "0",
  78. "selfBuiltCount": 0,
  79. "needReviewCount": 0,
  80. "failedCount": 0,
  81. "needReview": []
  82. },
  83. "jobs": [
  84. {
  85. "job_id": 2114558438624731136,
  86. "sheet_id": 2114558437307719680,
  87. "status": "DISPATCHED_A",
  88. "exit_code": "A",
  89. "matched_by": "SCORE",
  90. "match_tier": "STRONG",
  91. "ref_template_id": 48,
  92. "ai_template_id": null,
  93. "llm_calls": 1,
  94. "confidence": "0.9185",
  95. "token_in": 2886,
  96. "token_out": 939,
  97. "cost_ms": 0,
  98. "row_total": null,
  99. "row_loaded": null,
  100. "row_rejected": null,
  101. "row_warned": null,
  102. "row_unprocessed": null,
  103. "fail_reason": null,
  104. "draft": "{\"templateNo\":69,\"headerRow\":1,\"category\":\"TRANSACTION\",\"structHints\":[\"FLATTEN_HEADER\"],\"binds\":[{\"fileColIndex\":1,\"fieldNameEn\":\"debitCreditFlag\",\"hints\":[],\"required\":true,\"confidence\":0.95},{\"fileColIndex\":2,\"fieldNameEn\":\"transAmount\",\"hints\":[],\"required\":true,\"confidence\":0.95},{\"fileColIndex\":3,\"fieldNameEn\":\"transDateTime\",\"hints\":[],\"required\":true,\"confidence\":0.9},{\"fileColIndex\":6,\"fieldNameEn\":\"otherName\",\"hints\":[],\"required\":false,\"confidence\":0.95},{\"fileColIndex\":7,\"fieldNameEn\":\"otherCardNo\",\"hints\":[],\"required\":false,\"confidence\":0.95},{\"fileColIndex\":8,\"fieldNameEn\":\"transBalance\",\"hints\":[],\"required\":false,\"confidence\":0.9},{\"fileColIndex\":9,\"fieldNameEn\":\"bankName\",\"hints\":[],\"required\":false,\"confidence\":0.7}],\"confidence\":0.8,\"reason\":\"交行流水,列名与农商行交易流水模板高度吻合(发生额/借贷方向/对方户名/对方帐号/余额/网点),形状一致;银行卡号、姓名、交易时间、备注无对应字段留空。\"}",
  105. "detail": "{\"sampled\":8,\"valid\":8,\"invalid\":0,\"estTotalRows\":\"10\",\"perColErrorRate\":{\"1\":0.0,\"2\":0.0,\"3\":0.0,\"6\":0.0,\"7\":0.0,\"8\":0.0,\"9\":0.0},\"rejectedCols\":[],\"columnErrors\":{},\"confidence\":{\"headerScore\":0.895,\"perColErrorRate\":0.0,\"requiredFillRate\":1.0,\"rowYield\":1.0,\"llmConfidence\":0.0},\"previewRows\":[[\"debitCreditFlag\",\"transAmount\",\"transDateTime\",\"otherName\",\"otherCardNo\",\"transBalance\",\"bankName\"],[\"借\",\"1,234.50\",\"2026-01-02\",\"孔晨\",\"6222575371832926725\",\"1,234.50\",\"武汉江汉支行\"],[\"贷\",\"-100.00\",\"2026/01/04\",\"蒋秀英\",\"6222704827283881868\",\"-100.00\",\"深圳南山支行\"],[\"D\",\"200.50\",\"2026年01月08日\",\"姜敏\",\"6222974367336548365\",\"200.50\",\"成都高新支行\"],[\"C\",\"2,300.50\",\"2026-01-12\",\"褚超\",\"6222120207588061960\",\"2,300.50\",\"重庆渝中支行\"]]}",
  106. "model_name": "Ollama:qwen",
  107. "update_time": "2026-10-26 11:24:10.471136"
  108. }
  109. ],
  110. "ai_templates": [],
  111. "chunk_batch": {
  112. "stage": "DONE",
  113. "fileCount": 1,
  114. "sheetTotal": 1,
  115. "matchedCount": 0,
  116. "aiJudgedCount": 1,
  117. "existingHitCount": 1,
  118. "aiLoadCount": 0,
  119. "loadedRows": "0",
  120. "rejectedRows": "0",
  121. "unprocessedRows": "0",
  122. "selfBuiltCount": 0,
  123. "needReviewCount": 0,
  124. "failedCount": 0,
  125. "needReview": []
  126. }
  127. }
  128. ]