{
  "task": 106,
  "defect": "DEF106-HOME-COUNT-01",
  "issues": [
    38,
    35
  ],
  "candidateDigest": "af64e859e8b54281a24f74b56c2185372b86fdfe31c06c7fd953e052895ce818",
  "base": "473cc345af4898a624966c88eb63016c9e0a5d1a",
  "caseCount": 37,
  "counts": {
    "Pass": 37,
    "Fail": 0,
    "Blocked": 0,
    "Skipped": 0
  },
  "cases": [
    {
      "id": "QA106-COUNT-overview-all",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "overview-all",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-overview-all",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": null,
        "data": [
          {
            "sales_id": 2,
            "sales_name": "QA106 a",
            "income": 2875.0,
            "cost": 725.0,
            "gross_margin": 52.63,
            "gross_margin_basis": {
              "income_rmb": "950.00",
              "cost_rmb": "450",
              "excluded_task_count": 5,
              "applicable": true
            }
          },
          {
            "sales_id": 3,
            "sales_name": "QA106 b",
            "income": 2800.0,
            "cost": 760.0,
            "gross_margin": 49.23,
            "gross_margin_basis": {
              "income_rmb": "1300.00",
              "cost_rmb": "660",
              "excluded_task_count": 4,
              "applicable": true
            }
          },
          {
            "sales_id": 4,
            "sales_name": "QA106 c",
            "income": 925.0,
            "cost": 235.0,
            "gross_margin": 61.82,
            "gross_margin_basis": {
              "income_rmb": "550.00",
              "cost_rmb": "210",
              "excluded_task_count": 2,
              "applicable": true
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-all",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-all",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-all",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": null,
        "data": [
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "income": 2500.0,
            "cost": 700.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "1000.00",
              "cost_rmb": "600",
              "excluded_task_count": 2,
              "applicable": true
            }
          },
          {
            "company_id": 1,
            "company_name": "QA106 COUNT pair",
            "income": 2000.0,
            "cost": 600.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "1000.00",
              "cost_rmb": "600",
              "excluded_task_count": 1,
              "applicable": true
            }
          },
          {
            "company_id": 3,
            "company_name": "QA106 COUNT single",
            "income": 1000.0,
            "cost": 200.0,
            "gross_margin": 100.0,
            "gross_margin_basis": {
              "income_rmb": "200.00",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": true
            }
          },
          {
            "company_id": 4,
            "company_name": "QA106 COUNT zero_excluded",
            "income": 600.0,
            "cost": 120.0,
            "gross_margin": 80.0,
            "gross_margin_basis": {
              "income_rmb": "600.00",
              "cost_rmb": "120",
              "excluded_task_count": 0,
              "applicable": true
            }
          },
          {
            "company_id": 5,
            "company_name": "QA106 COUNT cross_month",
            "income": 500.0,
            "cost": 100.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-all",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-all",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-all",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": null,
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 900.0,
            "cost": 300.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 6600.0,
            "cost": 1720.0,
            "gross_margin": 52.86,
            "gross_margin_basis": {
              "income_rmb": "2800.00",
              "cost_rmb": "1320",
              "excluded_task_count": 5,
              "applicable": true
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-all",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-all",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-all",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": null,
        "data": [
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "unbilled": 2500.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 2500.0
          },
          {
            "company_id": 1,
            "company_name": "QA106 COUNT pair",
            "unbilled": 2000.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 2000.0
          },
          {
            "company_id": 3,
            "company_name": "QA106 COUNT single",
            "unbilled": 1000.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 1000.0
          },
          {
            "company_id": 4,
            "company_name": "QA106 COUNT zero_excluded",
            "unbilled": 600.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 600.0
          },
          {
            "company_id": 5,
            "company_name": "QA106 COUNT cross_month",
            "unbilled": 500.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 500.0
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-export-all",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-export-all",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-export-all",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "收入",
            "成本",
            "毛利率"
          ],
          [
            "QA106 COUNT three_duplicate",
            2500,
            700,
            40
          ],
          [
            "QA106 COUNT pair",
            2000,
            600,
            40
          ],
          [
            "QA106 COUNT single",
            1000,
            200,
            100
          ],
          [
            "QA106 COUNT zero_excluded",
            600,
            120,
            80
          ],
          [
            "QA106 COUNT cross_month",
            500,
            100,
            0
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-export-all",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-export-all",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-export-all",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "未出账",
            "未出账占比",
            "已出账未开票",
            "已出账未开票占比",
            "已出账已开票未回款",
            "已出账已开票未回款占比",
            "已回款",
            "已回款占比",
            "坏账",
            "坏账占比",
            "总计"
          ],
          [
            "QA106 COUNT three_duplicate",
            2500,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            2500
          ],
          [
            "QA106 COUNT pair",
            2000,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            2000
          ],
          [
            "QA106 COUNT single",
            1000,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1000
          ],
          [
            "QA106 COUNT zero_excluded",
            600,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            600
          ],
          [
            "QA106 COUNT cross_month",
            500,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            500
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-overview-a",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "overview-a",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-overview-a",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "a",
        "data": [
          {
            "sales_id": 2,
            "sales_name": "QA106 a",
            "income": 2875.0,
            "cost": 725.0,
            "gross_margin": 52.63,
            "gross_margin_basis": {
              "income_rmb": "950.00",
              "cost_rmb": "450",
              "excluded_task_count": 5,
              "applicable": true
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-a",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-a",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-a",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "a",
        "data": [
          {
            "company_id": 1,
            "company_name": "QA106 COUNT pair",
            "income": 1000.0,
            "cost": 300.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "500.00",
              "cost_rmb": "300",
              "excluded_task_count": 1,
              "applicable": true
            }
          },
          {
            "company_id": 3,
            "company_name": "QA106 COUNT single",
            "income": 1000.0,
            "cost": 200.0,
            "gross_margin": 100.0,
            "gross_margin_basis": {
              "income_rmb": "200.00",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": true
            }
          },
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "income": 625.0,
            "cost": 175.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "250.00",
              "cost_rmb": "150",
              "excluded_task_count": 2,
              "applicable": true
            }
          },
          {
            "company_id": 5,
            "company_name": "QA106 COUNT cross_month",
            "income": 250.0,
            "cost": 50.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-a",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-a",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-a",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "a",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 450.0,
            "cost": 150.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 2875.0,
            "cost": 725.0,
            "gross_margin": 52.63,
            "gross_margin_basis": {
              "income_rmb": "950.00",
              "cost_rmb": "450",
              "excluded_task_count": 5,
              "applicable": true
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-a",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-a",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-a",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "a",
        "data": [
          {
            "company_id": 1,
            "company_name": "QA106 COUNT pair",
            "unbilled": 1000.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 1000.0
          },
          {
            "company_id": 3,
            "company_name": "QA106 COUNT single",
            "unbilled": 1000.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 1000.0
          },
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "unbilled": 625.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 625.0
          },
          {
            "company_id": 5,
            "company_name": "QA106 COUNT cross_month",
            "unbilled": 250.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 250.0
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-export-a",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-export-a",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-export-a",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "收入",
            "成本",
            "毛利率"
          ],
          [
            "QA106 COUNT pair",
            1000,
            300,
            40
          ],
          [
            "QA106 COUNT single",
            1000,
            200,
            100
          ],
          [
            "QA106 COUNT three_duplicate",
            625,
            175,
            40
          ],
          [
            "QA106 COUNT cross_month",
            250,
            50,
            0
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-export-a",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-export-a",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-export-a",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "未出账",
            "未出账占比",
            "已出账未开票",
            "已出账未开票占比",
            "已出账已开票未回款",
            "已出账已开票未回款占比",
            "已回款",
            "已回款占比",
            "坏账",
            "坏账占比",
            "总计"
          ],
          [
            "QA106 COUNT pair",
            1000,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1000
          ],
          [
            "QA106 COUNT single",
            1000,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1000
          ],
          [
            "QA106 COUNT three_duplicate",
            625,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            625
          ],
          [
            "QA106 COUNT cross_month",
            250,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            250
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-overview-b",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "overview-b",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-overview-b",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "b",
        "data": [
          {
            "sales_id": 3,
            "sales_name": "QA106 b",
            "income": 2800.0,
            "cost": 760.0,
            "gross_margin": 49.23,
            "gross_margin_basis": {
              "income_rmb": "1300.00",
              "cost_rmb": "660",
              "excluded_task_count": 4,
              "applicable": true
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-b",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-b",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-b",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "b",
        "data": [
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "income": 1250.0,
            "cost": 350.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "500.00",
              "cost_rmb": "300",
              "excluded_task_count": 2,
              "applicable": true
            }
          },
          {
            "company_id": 1,
            "company_name": "QA106 COUNT pair",
            "income": 1000.0,
            "cost": 300.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "500.00",
              "cost_rmb": "300",
              "excluded_task_count": 1,
              "applicable": true
            }
          },
          {
            "company_id": 4,
            "company_name": "QA106 COUNT zero_excluded",
            "income": 300.0,
            "cost": 60.0,
            "gross_margin": 80.0,
            "gross_margin_basis": {
              "income_rmb": "300.00",
              "cost_rmb": "60",
              "excluded_task_count": 0,
              "applicable": true
            }
          },
          {
            "company_id": 5,
            "company_name": "QA106 COUNT cross_month",
            "income": 250.0,
            "cost": 50.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-b",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-b",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-b",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "b",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 450.0,
            "cost": 150.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 2800.0,
            "cost": 760.0,
            "gross_margin": 49.23,
            "gross_margin_basis": {
              "income_rmb": "1300.00",
              "cost_rmb": "660",
              "excluded_task_count": 4,
              "applicable": true
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-b",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-b",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-b",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "b",
        "data": [
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "unbilled": 1250.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 1250.0
          },
          {
            "company_id": 1,
            "company_name": "QA106 COUNT pair",
            "unbilled": 1000.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 1000.0
          },
          {
            "company_id": 4,
            "company_name": "QA106 COUNT zero_excluded",
            "unbilled": 300.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 300.0
          },
          {
            "company_id": 5,
            "company_name": "QA106 COUNT cross_month",
            "unbilled": 250.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 250.0
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-export-b",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-export-b",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-export-b",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "收入",
            "成本",
            "毛利率"
          ],
          [
            "QA106 COUNT three_duplicate",
            1250,
            350,
            40
          ],
          [
            "QA106 COUNT pair",
            1000,
            300,
            40
          ],
          [
            "QA106 COUNT zero_excluded",
            300,
            60,
            80
          ],
          [
            "QA106 COUNT cross_month",
            250,
            50,
            0
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-export-b",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-export-b",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-export-b",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "未出账",
            "未出账占比",
            "已出账未开票",
            "已出账未开票占比",
            "已出账已开票未回款",
            "已出账已开票未回款占比",
            "已回款",
            "已回款占比",
            "坏账",
            "坏账占比",
            "总计"
          ],
          [
            "QA106 COUNT three_duplicate",
            1250,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1250
          ],
          [
            "QA106 COUNT pair",
            1000,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1000
          ],
          [
            "QA106 COUNT zero_excluded",
            300,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            300
          ],
          [
            "QA106 COUNT cross_month",
            250,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            250
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-overview-c",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "overview-c",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-overview-c",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "c",
        "data": [
          {
            "sales_id": 4,
            "sales_name": "QA106 c",
            "income": 925.0,
            "cost": 235.0,
            "gross_margin": 61.82,
            "gross_margin_basis": {
              "income_rmb": "550.00",
              "cost_rmb": "210",
              "excluded_task_count": 2,
              "applicable": true
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-c",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-c",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-c",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "c",
        "data": [
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "income": 625.0,
            "cost": 175.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "250.00",
              "cost_rmb": "150",
              "excluded_task_count": 2,
              "applicable": true
            }
          },
          {
            "company_id": 4,
            "company_name": "QA106 COUNT zero_excluded",
            "income": 300.0,
            "cost": 60.0,
            "gross_margin": 80.0,
            "gross_margin_basis": {
              "income_rmb": "300.00",
              "cost_rmb": "60",
              "excluded_task_count": 0,
              "applicable": true
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-c",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-c",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-c",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "c",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 925.0,
            "cost": 235.0,
            "gross_margin": 61.82,
            "gross_margin_basis": {
              "income_rmb": "550.00",
              "cost_rmb": "210",
              "excluded_task_count": 2,
              "applicable": true
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-c",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-c",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-c",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "c",
        "data": [
          {
            "company_id": 2,
            "company_name": "QA106 COUNT three_duplicate",
            "unbilled": 625.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 625.0
          },
          {
            "company_id": 4,
            "company_name": "QA106 COUNT zero_excluded",
            "unbilled": 300.0,
            "billed": 0.0,
            "invoiced": 0.0,
            "paid": 0.0,
            "uncollectible": 0.0,
            "unbilled_percentage": 100.0,
            "billed_percentage": 0.0,
            "invoiced_percentage": 0.0,
            "paid_percentage": 0.0,
            "uncollectible_percentage": 0.0,
            "total": 300.0
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-export-c",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-export-c",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-export-c",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "收入",
            "成本",
            "毛利率"
          ],
          [
            "QA106 COUNT three_duplicate",
            625,
            175,
            40
          ],
          [
            "QA106 COUNT zero_excluded",
            300,
            60,
            80
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-export-c",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-export-c",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-export-c",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "未出账",
            "未出账占比",
            "已出账未开票",
            "已出账未开票占比",
            "已出账已开票未回款",
            "已出账已开票未回款占比",
            "已回款",
            "已回款占比",
            "坏账",
            "坏账占比",
            "总计"
          ],
          [
            "QA106 COUNT three_duplicate",
            625,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            625
          ],
          [
            "QA106 COUNT zero_excluded",
            300,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            300
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-overview-absent",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "overview-absent",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-overview-absent",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "absent",
        "data": [],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-absent",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-absent",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-absent",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "absent",
        "data": [],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-absent",
      "impact": "IMP106-05-HC01",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-absent",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-absent",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "absent",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-absent",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-absent",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-absent",
        "result": "Pass",
        "APIClientStatus": 200,
        "selection": "absent",
        "data": [],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-export-absent",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-export-absent",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-export-absent",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "收入",
            "成本",
            "毛利率"
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-collection-status-export-absent",
      "impact": "IMP106-05-HC04",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "collection-status-export-absent",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-collection-status-export-absent",
        "result": "Pass",
        "actualXLSXCells": [
          [
            "客户名称",
            "未出账",
            "未出账占比",
            "已出账未开票",
            "已出账未开票占比",
            "已出账已开票未回款",
            "已出账已开票未回款占比",
            "已回款",
            "已回款占比",
            "坏账",
            "坏账占比",
            "总计"
          ]
        ],
        "baselineCellsIdentical": true,
        "note": "companies export has no excluded-count column"
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-company-filter-pair",
      "impact": "IMP106-05-HC03",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "company-filter-pair",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-company-filter-pair",
        "result": "Pass",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 2000.0,
            "cost": 600.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "1000.00",
              "cost_rmb": "600",
              "excluded_task_count": 1,
              "applicable": true
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-company-filter-three_duplicate",
      "impact": "IMP106-05-HC03",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "company-filter-three_duplicate",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-company-filter-three_duplicate",
        "result": "Pass",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 2500.0,
            "cost": 700.0,
            "gross_margin": 40.0,
            "gross_margin_basis": {
              "income_rmb": "1000.00",
              "cost_rmb": "600",
              "excluded_task_count": 2,
              "applicable": true
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-company-filter-cross_month",
      "impact": "IMP106-05-HC03",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "company-filter-cross_month",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-company-filter-cross_month",
        "result": "Pass",
        "data": [
          {
            "month": "2026-01",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-02",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-03",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-04",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-05",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-06",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-07",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-08",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-09",
            "income": 900.0,
            "cost": 300.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          },
          {
            "month": "2026-10",
            "income": 500.0,
            "cost": 100.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 1,
              "applicable": false
            }
          },
          {
            "month": "2026-11",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          },
          {
            "month": "2026-12",
            "income": 0.0,
            "cost": 0.0,
            "gross_margin": 0.0,
            "gross_margin_basis": {
              "income_rmb": "0",
              "cost_rmb": "0",
              "excluded_task_count": 0,
              "applicable": false
            }
          }
        ],
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-allflag-False",
      "impact": "IMP106-05-HC02",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-allflag-False",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-allflag-False",
        "result": "Pass",
        "row": {
          "company_id": 1,
          "company_name": "QA106 COUNT pair",
          "income": 2000.0,
          "cost": 600.0,
          "gross_margin": 70.0,
          "gross_margin_basis": {
            "income_rmb": "2000.00",
            "cost_rmb": "600",
            "excluded_task_count": 0,
            "applicable": true
          }
        },
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-allflag-False",
      "impact": "IMP106-05-HC02",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-allflag-False",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-allflag-False",
        "result": "Pass",
        "row": {
          "month": "2026-10",
          "income": 2000.0,
          "cost": 600.0,
          "gross_margin": 70.0,
          "gross_margin_basis": {
            "income_rmb": "2000.00",
            "cost_rmb": "600",
            "excluded_task_count": 0,
            "applicable": true
          }
        },
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-companies-allflag-True",
      "impact": "IMP106-05-HC02",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "companies-allflag-True",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-companies-allflag-True",
        "result": "Pass",
        "row": {
          "company_id": 1,
          "company_name": "QA106 COUNT pair",
          "income": 2000.0,
          "cost": 600.0,
          "gross_margin": 0.0,
          "gross_margin_basis": {
            "income_rmb": "0",
            "cost_rmb": "0",
            "excluded_task_count": 2,
            "applicable": false
          }
        },
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    },
    {
      "id": "QA106-COUNT-monthly-allflag-True",
      "impact": "IMP106-05-HC02",
      "status": "Pass",
      "layer": "local disposable SQLite / actual URL-view via APIClient; not network HTTP",
      "precondition": "synthetic ORM dataset only; force-authenticated disposable admin; no real account login",
      "operation": "monthly-allflag-True",
      "expected": "unique excluded Task IDs per eligible bucket; existing raw allocation/money/rate/filter contract unchanged; workbook cells equal baseline where export has no count column",
      "actual": {
        "case": "QA106-COUNT-monthly-allflag-True",
        "result": "Pass",
        "row": {
          "month": "2026-10",
          "income": 2000.0,
          "cost": 600.0,
          "gross_margin": 0.0,
          "gross_margin_basis": {
            "income_rmb": "0",
            "cost_rmb": "0",
            "excluded_task_count": 2,
            "applicable": false
          }
        },
        "baselineAllOtherFieldsIdentical": true
      },
      "evidence": "execution-result.json; request-responses-r2-oracle-corrected.jsonl; independent_runner.py oracle",
      "executedAt": "2026-11-01T01:31:55.087930+08:00"
    }
  ],
  "notAddedToOldStagingCount": true,
  "originalStagingFailStillValid": true,
  "originalHomeStageCounts": {
    "Pass": 13,
    "Fail": 1,
    "Blocked": 1,
    "Skipped": 6
  },
  "grouping": {
    "JSONViewAssertions": 20,
    "ExcelResponseAssertions": 10,
    "MonthlyCompanyFilters": 3,
    "AllUnflagAllExcluded": 4
  },
  "candidateStableBeforeAfter": true,
  "database": "SQLite memory only, not persistent/PG; no migrations applied",
  "auth": "APIClient.force_authenticate ephemeral admin; not password login, not actual sales actor",
  "network": "blocked",
  "fixtureWrites": "only local disposable ORM fixture setup/two flag phases/restoration; no existing business DB or account touches",
  "noBrowserOrDeployment": true,
  "firstAttempt": "support oracle incorrectly assumed duplicate salesman IDs are normalized; preserved execution.log, first raw2responses and runner-correction.md. Corrected to legacy allocation weights; not product Fail or second product-repair round."
}
