{
  "joins": {
    "naive_join_total_paise": 70000,
    "order_total_paise": 60000,
    "customer_summary": [
      [
        "C1",
        2,
        30000
      ],
      [
        "C2",
        1,
        30000
      ],
      [
        "C3",
        0,
        0
      ]
    ]
  },
  "reconciliation": [
    [
      "O1",
      10000,
      10000,
      0
    ],
    [
      "O2",
      20000,
      15000,
      5000
    ],
    [
      "O3",
      30000,
      35000,
      -5000
    ]
  ],
  "constraints": {
    "rejected": [
      "duplicate key",
      "unknown customer",
      "negative amount",
      "missing amount",
      "fractional amount",
      "delete referenced customer"
    ],
    "transaction_rolled_back": true
  },
  "cleaning": {
    "accepted": [
      [
        "O1",
        "C1",
        10000
      ],
      [
        "O2",
        "C1",
        20000
      ],
      [
        "O3",
        "C2",
        30000
      ],
      [
        "O6",
        "C9",
        40000
      ]
    ],
    "issues": [
      {
        "line": 5,
        "reason": "identical replay",
        "order_id": "O2"
      },
      {
        "line": 6,
        "reason": "conflicting replay",
        "order_id": "O2"
      },
      {
        "line": 7,
        "reason": "amount must be nonnegative integer paise"
      },
      {
        "line": 8,
        "reason": "amount must be nonnegative integer paise"
      }
    ]
  },
  "statistics": {
    "n": 4,
    "total_paise": 100000,
    "mean_paise": 25000,
    "median_paise": 25000.0,
    "sample_stdev_paise": 12909.944487358056
  },
  "quality": {
    "accepted_format_rows": 4,
    "issue_rows": 4,
    "unknown_customer_order_ids": [
      "O6"
    ],
    "issues_by_reason": {
      "amount must be nonnegative integer paise": 2,
      "conflicting replay": 1,
      "identical replay": 1
    },
    "release_ready": false
  }
}
