{
  "case_origin": "Synthetische DEVELOPMENT-Eingaben: Basis aus dem historischen Luna-Modelltest test_minimum_participation_is_two_gve; Variation aus test_below_minimum_is_not_eligible, Auslassungsfall von der Sichtung abgeleitet. Keine unabhängig erstellten oder fachlich adjudizierten Gold-/Heldoutfälle.",
  "cases": [
    {
      "case_id": "baseline",
      "changes_from_baseline": [],
      "input": {
        "livestock": {
          "o6_22": {
            "measure": "o6_22",
            "participation_gve": 2
          }
        }
      },
      "input_sha256": "41a156d2de978c954c17de4b01e9015b06851e5ac3c854b916a63376724227a0",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_22.eligible",
                "value": true
              }
            ]
          }
        ]
      },
      "output": true,
      "output_changed_from_baseline": false,
      "purpose": "Native synthetische Modelltestbasis getrennt vom App-Adapter ausführen; Ergebnis als Kandidatenbefund protokollieren.",
      "status": "defined"
    },
    {
      "case_id": "variation",
      "changes_from_baseline": [
        {
          "after": {
            "present": true,
            "value": 1.99
          },
          "before": {
            "present": true,
            "value": 2
          },
          "path": "/livestock/o6_22/participation_gve"
        }
      ],
      "input": {
        "livestock": {
          "o6_22": {
            "measure": "o6_22",
            "participation_gve": 1.99
          }
        }
      },
      "input_sha256": "0680c770a5272a109dddb9a9b1ea3c5e6207b84c05f4eea2d77bea61f3a119dd",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_22.eligible",
                "value": false
              }
            ]
          }
        ]
      },
      "output": false,
      "output_changed_from_baseline": true,
      "purpose": "Einzige Änderung: participation_gve von 2 auf 1,99 GVE; Reaktion der einzigen aggregierten Bestandsschwelle beobachten.",
      "status": "defined"
    },
    {
      "case_id": "missing_fact",
      "changes_from_baseline": [
        {
          "after": {
            "present": false
          },
          "before": {
            "present": true,
            "value": 2
          },
          "path": "/livestock/o6_22/participation_gve"
        }
      ],
      "input": {
        "livestock": {
          "o6_22": {
            "measure": "o6_22"
          }
        }
      },
      "input_sha256": "fdd74ae5ba9962e36455664d576c31623394c7845b50fa8326237313431ea9cc",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_22.eligible",
                "value": false
              }
            ]
          }
        ]
      },
      "output": false,
      "output_changed_from_baseline": true,
      "purpose": "Einzige Auslassung: participation_gve; prüfen, ob das boolesche Einstiegsergebnis fehlende Daten von negativem Bestand unterscheidet.",
      "status": "defined"
    }
  ],
  "compile": {
    "errors": [],
    "status": "compiled"
  },
  "input_contract_note": "Native Eingabe livestock.o6_22.measure und participation_gve in GVE. Dieser Einstiegspunkt konsumiert nur diese zwei Felder; Stall, Freiland, Tierkategorie, Zuschläge und Prämien werden über separate Hilfsregeln geprüft und sind in dieser Minimalvorschau nicht aggregiert.",
  "inventory": {
    "independent_reference_case_status": "not_adjudicated",
    "profile_proposal_count": 1,
    "rule_count": 55,
    "rule_type_counts": {
      "alternative": 1,
      "calculation": 5,
      "classification": 1,
      "closed_list": 1,
      "combination": 1,
      "consequence": 3,
      "contract": 1,
      "cross_reference": 1,
      "deadline": 2,
      "definition": 3,
      "documentation": 5,
      "eligibility": 10,
      "exception": 2,
      "exclusion": 2,
      "exit": 1,
      "rate_table": 1,
      "reporting": 4,
      "scope": 1,
      "supplement": 3,
      "threshold": 4,
      "threshold_table": 2,
      "transfer": 1
    },
    "source_count": 8,
    "source_coverage_claims": [
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 11
        },
        "item_count": 12,
        "review_scope": "full_document",
        "source_id": "o6_22"
      },
      {
        "disposition_counts": {
          "not_rule": 4,
          "rules": 7
        },
        "item_count": 11,
        "review_scope": "full_document",
        "source_id": "o6_general"
      },
      {
        "disposition_counts": {
          "rules": 2
        },
        "item_count": 2,
        "review_scope": "targeted_sections",
        "source_id": "srl"
      },
      {
        "disposition_counts": {
          "rules": 1
        },
        "item_count": 1,
        "review_scope": "targeted_sections",
        "source_id": "srl_annexes"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "notice_2026_05_22"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "notice_2026_06_12"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "notice_2026_08_05"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "notice_2026_08_12"
      }
    ],
    "static_policy_input_paths": [
      "input.land.total_area_ha",
      "input.livestock.o6_22.applied_heads",
      "input.livestock.o6_22.category",
      "input.livestock.o6_22.deregistered_heads",
      "input.livestock.o6_22.eligible_gve",
      "input.livestock.o6_22.free_range.actual_gve_per_ha",
      "input.livestock.o6_22.free_range.all_animals_can_lie_simultaneously",
      "input.livestock.o6_22.free_range.authority_max_gve_per_ha",
      "input.livestock.o6_22.free_range.continuous_use_years",
      "input.livestock.o6_22.free_range.farrowing_huts_available",
      "input.livestock.o6_22.free_range.feed_and_water_separated",
      "input.livestock.o6_22.free_range.feed_on_hard_surface_or_moved_regularly",
      "input.livestock.o6_22.free_range.feed_roofed",
      "input.livestock.o6_22.free_range.roofed_three_sided_bedded_shelter",
      "input.livestock.o6_22.free_range.wild_boar_exclusion",
      "input.livestock.o6_22.individual_housing_days",
      "input.livestock.o6_22.measure",
      "input.livestock.o6_22.participation_gve",
      "input.livestock.o6_22.reporting.category_conditions_not_met",
      "input.livestock.o6_22.sow_type",
      "input.livestock.o6_22.supplement_facts.all_farm_pigs_compliant",
      "input.livestock.o6_22.supplement_facts.all_farm_solid_manure_composted",
      "input.livestock.o6_22.supplement_facts.all_participating_animals_uncut",
      "input.livestock.o6_22.supplement_facts.applies_to_whole_category",
      "input.livestock.o6_22.supplement_facts.compost_documentation_complete",
      "input.livestock.o6_22.supplement_facts.compost_log_complete",
      "input.livestock.o6_22.supplement_facts.compost_requested",
      "input.livestock.o6_22.supplement_facts.compost_stall",
      "input.livestock.o6_22.supplement_facts.compost_turn_count",
      "input.livestock.o6_22.supplement_facts.compost_turn_interval_days",
      "input.livestock.o6_22.supplement_facts.composter_on_farm",
      "input.livestock.o6_22.supplement_facts.composting_process_applied",
      "input.livestock.o6_22.supplement_facts.inter_farm_use_documented",
      "input.livestock.o6_22.supplement_facts.no_noncompliant_protein_feed_storage_or_feeding",
      "input.livestock.o6_22.supplement_facts.organic_mix_present",
      "input.livestock.o6_22.supplement_facts.protein_feed_evidence_available",
      "input.livestock.o6_22.supplement_facts.protein_requested",
      "input.livestock.o6_22.supplement_facts.uncut_requested",
      "input.livestock.o6_22.year"
    ]
  },
  "measure_id": "o6_22",
  "open_dependencies": [
    "Es fehlt ein aggregiertes Diagnose-/Entscheidungsobjekt, das Bestands-, Haltungs-, Platz-, Melde- und Zuschlagsprüfungen verknüpft.",
    "Für eine breitere Vorschau braucht jede separate Hilfsregel einen expliziten Eingabe- und Queryvertrag; dieser Minimalfall beweist nur Bestandsprüfung.",
    "Freilandalternative über die gesamte verfügbare Fläche und die Zuordnung älterer ungedeckter Sauen sind laut notes/assumptions.md offen.",
    "Betriebsgrößenmodulation und aktuelle Quellen-/Jahreszuordnung dürfen nicht aus dem einzelnen booleschen Ergebnis abgeleitet werden."
  ],
  "output_contract_note": "Boolean eligible ist ausschließlich die Scope-/Mindestbestandsprüfung (Maßnahmenkennung o6_22 und mindestens 2 GVE). Es ist ausdrücklich kein Gesamtergebnis zur Schweinehaltung. Native Hilfsregeln zu Platzbedarf, Freiland, Zuschlägen und Prämie sind nicht in eligible integriert; ein fehlender GVE-Wert liefert false ohne eigenen Fehlendatenbefund.",
  "query": "data.oepul.o6_22.eligible",
  "references": [
    {
      "detail": "Nativer Package-/Querypfad und tatsächlich konsumierte Eingabefelder; keine neue fachliche Regel hinzugefügt.",
      "path": "runs/v2-o6_22-luna-high-20261005/workspace/policy/o6_22.rego"
    },
    {
      "detail": "Herkunft der synthetischen Entwicklungsbasis und Modelltest-Beispiele zu Mindest-/Grenzwertreaktionen; keine unabhängige Sollreferenz.",
      "path": "runs/v2-o6_22-luna-high-20261005/workspace/tests/o6_22_test.rego"
    },
    {
      "detail": "Historischer Datenkatalog für die vorhandenen Kategorien, Tabellen, Prämien und/oder Kombinationen.",
      "path": "runs/v2-o6_22-luna-high-20261005/workspace/data/o6_22_tables.json"
    },
    {
      "detail": "Vom historischen Kandidaten dokumentierte Eingabe-, Quellen- und Auslegungsgrenzen.",
      "path": "runs/v2-o6_22-luna-high-20261005/workspace/notes/assumptions.md"
    }
  ],
  "run_id": "v2-o6_22-luna-high-20261005"
}
