{
  "_producer": "https://github.com/Agenticstiger/flux-engine",
  "_schemaURL": "https://agenticstiger.github.io/flux/engine/spec/scorecard/1-1-0/FluxScorecard.json",
  "dimensions": [
    {
      "counts": {
        "censored": 0,
        "properties": 1,
        "refused": 0,
        "scored": 1
      },
      "dimension": "structure",
      "score": "0.875",
      "status": "measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 1,
        "properties": 3,
        "refused": 0,
        "scored": 2
      },
      "dimension": "marginals",
      "score": "1",
      "status": "measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 2,
        "refused": 1,
        "scored": 1
      },
      "dimension": "joint",
      "score": "1",
      "status": "measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 0,
        "refused": 0,
        "scored": 0
      },
      "dimension": "crossTable",
      "score": null,
      "status": "not measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 0,
        "refused": 0,
        "scored": 0
      },
      "dimension": "temporal",
      "score": null,
      "status": "not measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 0,
        "refused": 0,
        "scored": 0
      },
      "dimension": "invariants",
      "score": null,
      "status": "not measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 0,
        "refused": 0,
        "scored": 0
      },
      "dimension": "queries",
      "score": null,
      "status": "not measured",
      "weight": "1"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 0,
        "refused": 0,
        "scored": 0
      },
      "dimension": "defects",
      "score": null,
      "status": "not measured",
      "weight": "1"
    }
  ],
  "intervals": {
    "status": "not computed"
  },
  "met": false,
  "overall": {
    "counts": {
      "censored": 1,
      "properties": 6,
      "refused": 1,
      "scored": 4
    },
    "score": "23/24",
    "status": "measured"
  },
  "profile": {
    "digest": "sha256:1900eab6c028483d7126599ee6f50de0d27907b5c65fa90524580b4b0f9852b0"
  },
  "run": {
    "planDigest": "sha256:64879f7d6b960a01909762d911a32d4582c20010c5641ee90278b644a9e3b525",
    "runDigest": "sha256:acba25512100f80b56fc3ccd14c65be55d94800cda77585c5f41a887e398f9be",
    "runId": "64879f7d6b960a01"
  },
  "shapeFlags": {
    "level": "1/1000",
    "status": "checked",
    "tables": [
      {
        "columns": [
          {
            "column": "amount",
            "distinct": 471,
            "flags": [
              {
                "alert": "EMPTY_BINS",
                "cells": [
                  3,
                  4
                ]
              }
            ],
            "records": 480,
            "status": "checked"
          },
          {
            "column": "attempts",
            "distinct": 6,
            "flags": [],
            "records": 480,
            "status": "checked"
          },
          {
            "column": "market",
            "distinct": 3,
            "flags": [],
            "records": 480,
            "status": "checked"
          }
        ],
        "exposeId": "recovery_moment",
        "status": "checked"
      },
      {
        "columns": [
          {
            "column": "plan",
            "distinct": 1,
            "flags": [
              {
                "alert": "CONSTANT"
              }
            ],
            "records": 1200,
            "status": "checked"
          }
        ],
        "exposeId": "subscriber_snapshot",
        "status": "checked"
      }
    ],
    "testLevel": "1/7000",
    "tests": 7
  },
  "tables": [
    {
      "counts": {
        "censored": 1,
        "properties": 6,
        "refused": 1,
        "scored": 4
      },
      "credibility": {
        "basis": "measured",
        "met": true,
        "minCredibility": "0.7",
        "score": "0.96875"
      },
      "dataQualityAssertions": {
        "_producer": "https://github.com/Agenticstiger/flux-engine",
        "_schemaURL": "https://openlineage.io/spec/facets/1-1-0/DataQualityAssertionsDatasetFacet.json#/$defs/DataQualityAssertionsDatasetFacet",
        "assertions": [
          {
            "assertion": "mean/1",
            "column": "amount",
            "name": "000:mean:amount",
            "params": {
              "dimension": "marginals",
              "outcome": "within",
              "score": "1",
              "tolerance": {
                "type": "relative",
                "value": "0.25"
              }
            },
            "severity": "error",
            "success": true
          },
          {
            "assertion": "marginalHistogram/1",
            "column": "amount",
            "name": "001:marginalHistogram:amount",
            "params": {
              "dimension": "marginals",
              "outcome": "within",
              "score": "1",
              "tolerance": {
                "max": "0.2",
                "measure": "totalVariation",
                "type": "distance"
              }
            },
            "severity": "error",
            "success": true
          },
          {
            "assertion": "support/1",
            "column": "market",
            "name": "002:support:market",
            "params": {
              "dimension": "structure",
              "outcome": "outside",
              "score": "0.875",
              "tolerance": {
                "max": "0",
                "type": "count"
              }
            },
            "severity": "error",
            "success": false
          },
          {
            "assertion": "mean/1",
            "column": "amount",
            "name": "003:mean:amount@market",
            "params": {
              "dimension": "joint",
              "groupBy": "market",
              "outcome": "refused",
              "tolerance": {
                "type": "absolute",
                "value": "2"
              }
            },
            "severity": "error",
            "success": false
          },
          {
            "assertion": "correlation/1",
            "name": "004:correlation:amount+attempts",
            "params": {
              "columns": [
                "amount",
                "attempts"
              ],
              "dimension": "joint",
              "outcome": "within",
              "score": "1",
              "tolerance": {
                "type": "absolute",
                "value": "0.5"
              }
            },
            "severity": "error",
            "success": true
          }
        ]
      },
      "declaresFidelity": true,
      "exposeId": "recovery_moment",
      "properties": [
        {
          "columns": [
            "amount"
          ],
          "dimension": "marginals",
          "groups": {
            "censored": 0,
            "outside": [],
            "scored": 1
          },
          "margin": "0.125",
          "outcome": "within",
          "property": "mean",
          "propertyId": "000:mean:amount",
          "refusals": [],
          "score": "1",
          "statistic": "mean/1",
          "tolerance": {
            "type": "relative",
            "value": "0.25"
          },
          "weight": "1"
        },
        {
          "columns": [
            "amount"
          ],
          "dimension": "marginals",
          "groups": {
            "censored": 0,
            "outside": [],
            "scored": 1
          },
          "margin": "0.1875",
          "outcome": "within",
          "property": "marginalHistogram",
          "propertyId": "001:marginalHistogram:amount",
          "refusals": [],
          "score": "1",
          "statistic": "marginalHistogram/1",
          "tolerance": {
            "max": "0.2",
            "measure": "totalVariation",
            "type": "distance"
          },
          "weight": "1"
        },
        {
          "columns": [
            "market"
          ],
          "dimension": "structure",
          "groups": {
            "censored": 0,
            "outside": [
              0
            ],
            "scored": 1
          },
          "margin": null,
          "outcome": "outside",
          "property": "support",
          "propertyId": "002:support:market",
          "refusals": [],
          "score": "0.875",
          "statistic": "support/1",
          "tolerance": {
            "max": "0",
            "type": "count"
          },
          "weight": "1"
        },
        {
          "columns": [
            "amount"
          ],
          "dimension": "joint",
          "groupBy": "market",
          "groups": {
            "censored": 0,
            "outside": [],
            "scored": 0
          },
          "margin": "1.9375",
          "outcome": "refused",
          "property": "mean",
          "propertyId": "003:mean:amount@market",
          "refusals": [
            {
              "code": "FLX-5005",
              "reason": "synthetic dataset: 003:mean:amount@market group #0: 1 records, minimum is 4"
            }
          ],
          "score": null,
          "statistic": "mean/1",
          "tolerance": {
            "type": "absolute",
            "value": "2"
          },
          "weight": "1"
        },
        {
          "columns": [
            "amount",
            "attempts"
          ],
          "dimension": "joint",
          "groups": {
            "censored": 0,
            "outside": [],
            "scored": 1
          },
          "margin": "0.25",
          "outcome": "within",
          "property": "correlation",
          "propertyId": "004:correlation:amount+attempts",
          "refusals": [],
          "score": "1",
          "statistic": "correlation/1",
          "tolerance": {
            "type": "absolute",
            "value": "0.5"
          },
          "weight": "1"
        },
        {
          "columns": [
            "amount"
          ],
          "dimension": "marginals",
          "groups": {
            "censored": 1,
            "outside": [],
            "scored": 0
          },
          "margin": "0.9375",
          "outcome": "censored",
          "property": "quantile",
          "propertyId": "005:quantile:amount",
          "refusals": [],
          "score": null,
          "statistic": "quantile/1",
          "tolerance": {
            "type": "absolute",
            "value": "1"
          },
          "weight": "1"
        }
      ],
      "refusals": [],
      "score": "0.96875",
      "status": "measured"
    },
    {
      "counts": {
        "censored": 0,
        "properties": 0,
        "refused": 0,
        "scored": 0
      },
      "dataQualityAssertions": {
        "_producer": "https://github.com/Agenticstiger/flux-engine",
        "_schemaURL": "https://openlineage.io/spec/facets/1-1-0/DataQualityAssertionsDatasetFacet.json#/$defs/DataQualityAssertionsDatasetFacet",
        "assertions": []
      },
      "declaresFidelity": false,
      "exposeId": "subscriber_snapshot",
      "properties": [],
      "refusals": [],
      "score": null,
      "status": "not measured"
    }
  ],
  "thresholds": [
    {
      "met": true,
      "operator": "mustBeGreaterOrEqualTo",
      "score": "23/24",
      "target": "overall",
      "value": "0.9"
    },
    {
      "met": false,
      "operator": "mustBeGreaterOrEqualTo",
      "score": "0.875",
      "target": "dimensions.structure",
      "value": "0.95"
    },
    {
      "met": true,
      "operator": "mustBeGreaterThan",
      "score": "0.96875",
      "target": "tables.recovery_moment",
      "value": "0.8"
    }
  ]
}
