{
  "task": 106,
  "defect": "DEF106-HOME-COUNT-01",
  "issue": 38,
  "baselineCommit": "473cc345af4898a624966c88eb63016c9e0a5d1a",
  "baselineSHA256": "da0244c68bb9af1ba31e4c925ec0674f7ffba669d40dd665efb568f988866cf3",
  "candidateServicesSHA256": "fb02b2b896ae61032067205a94c17cabd8fdda3ee95c96861b53812ec1fefb79",
  "execution": "real URL/view through DRF APIClient; force_authenticate ephemeral admin; not password login/network HTTP",
  "database": "SQLite in-memory disposable schema; migrations disabled; no PG/migration/concurrency claim",
  "outboundSockets": "forbidden",
  "persistentDataTouched": false,
  "fixtureEntireSnapshotUnchanged": true,
  "cases": [
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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"
    },
    {
      "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"
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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"
    },
    {
      "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"
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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"
    },
    {
      "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"
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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"
    },
    {
      "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"
    },
    {
      "case": "QA106-COUNT-overview-absent",
      "result": "Pass",
      "APIClientStatus": 200,
      "selection": "absent",
      "data": [],
      "baselineAllOtherFieldsIdentical": true
    },
    {
      "case": "QA106-COUNT-companies-absent",
      "result": "Pass",
      "APIClientStatus": 200,
      "selection": "absent",
      "data": [],
      "baselineAllOtherFieldsIdentical": true
    },
    {
      "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
    },
    {
      "case": "QA106-COUNT-collection-status-absent",
      "result": "Pass",
      "APIClientStatus": 200,
      "selection": "absent",
      "data": [],
      "baselineAllOtherFieldsIdentical": true
    },
    {
      "case": "QA106-COUNT-companies-export-absent",
      "result": "Pass",
      "actualXLSXCells": [
        [
          "客户名称",
          "收入",
          "成本",
          "毛利率"
        ]
      ],
      "baselineCellsIdentical": true,
      "note": "companies export has no excluded-count column"
    },
    {
      "case": "QA106-COUNT-collection-status-export-absent",
      "result": "Pass",
      "actualXLSXCells": [
        [
          "客户名称",
          "未出账",
          "未出账占比",
          "已出账未开票",
          "已出账未开票占比",
          "已出账已开票未回款",
          "已出账已开票未回款占比",
          "已回款",
          "已回款占比",
          "坏账",
          "坏账占比",
          "总计"
        ]
      ],
      "baselineCellsIdentical": true,
      "note": "companies export has no excluded-count column"
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    },
    {
      "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
    }
  ],
  "counts": {
    "Pass": 37,
    "Fail": 0
  },
  "stagingOriginalFailRetained": true,
  "deployed": false
}
