{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/factorguide-io/json-schema/factorguide-io-outcome-report-schema.json",
  "title": "OutcomeReport",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/factorguide-io-openapi.json#/components/schemas/OutcomeReport",
  "properties": {
    "prediction_hash": {
      "type": "string",
      "title": "Prediction Hash"
    },
    "approach_taken": {
      "$ref": "#/$defs/ApproachTaken"
    },
    "ess_ratio": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ess Ratio"
    },
    "psis_khat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Psis Khat"
    },
    "log_lik_gap": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Log Lik Gap"
    },
    "actual_mse_ratio": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Actual Mse Ratio"
    },
    "n_replications": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "N Replications"
    },
    "runtime_seconds": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Runtime Seconds"
    }
  },
  "type": "object",
  "required": [
    "prediction_hash",
    "approach_taken"
  ],
  "$defs": {
    "ApproachTaken": {
      "type": "string",
      "enum": [
        "factorized",
        "structured",
        "hybrid"
      ],
      "title": "ApproachTaken"
    }
  }
}