{
  "case_origin": "DEVELOPMENT ONLY: Wiederverwendung der base-Struktur sowie des Graslandparzellenmusters test_rgve_animal_holding in runs/v2-o6_2-luna-high-20260930/workspace/tests/o6_2_test.rego; synthetische Lagerdokumentation und Zahlungsbetrag ergänzen die direkt gelesenen Ausgabebedingungen. Keine Expertenlabels, kein Golden- oder Heldout-Test; keine erwarteten fachlichen Ergebnisse werden vergeben.",
  "cases": [
    {
      "case_id": "baseline",
      "changes_from_baseline": [],
      "input": {
        "application_year": 2026,
        "farm": {
          "compliance": {
            "external_n_fertilizer_kg": 0,
            "livestock_n_kg_per_ha": 170,
            "purchase_storage_records_complete": true
          },
          "forage_area_ha": 10,
          "training": {
            "completed_by": "2025-12-31",
            "course_date": "2022-01-01",
            "double_counted": false,
            "hours": 3,
            "provider_approved": true
          }
        },
        "land": {
          "parcels": [
            {
              "area_ha": 10,
              "combined_area_payments_eur_per_ha": 0,
              "crop": {
                "crop_category": "other",
                "crop_name": null
              },
              "land_use": "grassland",
              "operations": {
                "psm_applications": [],
                "psm_used": false,
                "seed_treatment": false
              },
              "parcel_id": "synthetic_grassland_1"
            }
          ],
          "total_area_ha": 100
        },
        "livestock": {
          "species_groups": [
            {
              "animal_count": 5,
              "category": "cattle_from_two_years"
            }
          ]
        },
        "program": {
          "o6_1a": {
            "participates": true
          },
          "o6_1b": {
            "partial_farm": false,
            "participates": false
          },
          "o6_2": {
            "application_date": "2024-12-31",
            "application_year": 2025,
            "participates": true
          }
        },
        "region": {
          "district": "Eisenstadt",
          "federal_state": "Burgenland"
        },
        "year": 2026
      },
      "input_sha256": "e83d5a3b067491762048b6897abca47a03d8c4181c0a6f42de2e61362296cbbb",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_2.decision",
                "value": {
                  "all_psm_ok": true,
                  "application_ok": true,
                  "course_ok": true,
                  "drought_harvest_exception": false,
                  "eligible_surface": true,
                  "external_n_ok": true,
                  "livestock_n_ok": true,
                  "modulation_factor": 1,
                  "organic_combination_ok": true,
                  "premium_cap_ok": true,
                  "premium_tier": "animal_holding_below_1_40",
                  "purchase_storage_ok": true,
                  "ubb_combination_ok": true
                }
              }
            ]
          }
        ]
      },
      "output": {
        "all_psm_ok": true,
        "application_ok": true,
        "course_ok": true,
        "drought_harvest_exception": false,
        "eligible_surface": true,
        "external_n_ok": true,
        "livestock_n_ok": true,
        "modulation_factor": 1,
        "organic_combination_ok": true,
        "premium_cap_ok": true,
        "premium_tier": "animal_holding_below_1_40",
        "purchase_storage_ok": true,
        "ubb_combination_ok": true
      },
      "output_changed_from_baseline": false,
      "purpose": "Konstruierte synthetische Basis zur Beobachtung des nativen Kandidaten; kein bestätigter Förderfall.",
      "status": "defined"
    },
    {
      "case_id": "variation",
      "changes_from_baseline": [
        {
          "after": {
            "present": true,
            "value": 171
          },
          "before": {
            "present": true,
            "value": 170
          },
          "path": "/farm/compliance/livestock_n_kg_per_ha"
        }
      ],
      "input": {
        "application_year": 2026,
        "farm": {
          "compliance": {
            "external_n_fertilizer_kg": 0,
            "livestock_n_kg_per_ha": 171,
            "purchase_storage_records_complete": true
          },
          "forage_area_ha": 10,
          "training": {
            "completed_by": "2025-12-31",
            "course_date": "2022-01-01",
            "double_counted": false,
            "hours": 3,
            "provider_approved": true
          }
        },
        "land": {
          "parcels": [
            {
              "area_ha": 10,
              "combined_area_payments_eur_per_ha": 0,
              "crop": {
                "crop_category": "other",
                "crop_name": null
              },
              "land_use": "grassland",
              "operations": {
                "psm_applications": [],
                "psm_used": false,
                "seed_treatment": false
              },
              "parcel_id": "synthetic_grassland_1"
            }
          ],
          "total_area_ha": 100
        },
        "livestock": {
          "species_groups": [
            {
              "animal_count": 5,
              "category": "cattle_from_two_years"
            }
          ]
        },
        "program": {
          "o6_1a": {
            "participates": true
          },
          "o6_1b": {
            "partial_farm": false,
            "participates": false
          },
          "o6_2": {
            "application_date": "2024-12-31",
            "application_year": 2025,
            "participates": true
          }
        },
        "region": {
          "district": "Eisenstadt",
          "federal_state": "Burgenland"
        },
        "year": 2026
      },
      "input_sha256": "4442352d38d0a5049c631175cfda9f4574f263e640dd323224d493574abf63e2",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_2.decision",
                "value": {
                  "all_psm_ok": true,
                  "application_ok": true,
                  "course_ok": true,
                  "drought_harvest_exception": false,
                  "eligible_surface": true,
                  "external_n_ok": true,
                  "livestock_n_ok": false,
                  "modulation_factor": 1,
                  "organic_combination_ok": true,
                  "premium_cap_ok": true,
                  "premium_tier": "animal_holding_below_1_40",
                  "purchase_storage_ok": true,
                  "ubb_combination_ok": true
                }
              }
            ]
          }
        ]
      },
      "output": {
        "all_psm_ok": true,
        "application_ok": true,
        "course_ok": true,
        "drought_harvest_exception": false,
        "eligible_surface": true,
        "external_n_ok": true,
        "livestock_n_ok": false,
        "modulation_factor": 1,
        "organic_combination_ok": true,
        "premium_cap_ok": true,
        "premium_tier": "animal_holding_below_1_40",
        "purchase_storage_ok": true,
        "ubb_combination_ok": true
      },
      "output_changed_from_baseline": true,
      "purpose": "Nur farm.compliance.livestock_n_kg_per_ha von 170 auf 171 ändern: native N-Grenze überschreiten.",
      "status": "defined"
    },
    {
      "case_id": "missing_fact",
      "changes_from_baseline": [
        {
          "after": {
            "present": false
          },
          "before": {
            "present": true,
            "value": 0
          },
          "path": "/farm/compliance/external_n_fertilizer_kg"
        }
      ],
      "input": {
        "application_year": 2026,
        "farm": {
          "compliance": {
            "livestock_n_kg_per_ha": 170,
            "purchase_storage_records_complete": true
          },
          "forage_area_ha": 10,
          "training": {
            "completed_by": "2025-12-31",
            "course_date": "2022-01-01",
            "double_counted": false,
            "hours": 3,
            "provider_approved": true
          }
        },
        "land": {
          "parcels": [
            {
              "area_ha": 10,
              "combined_area_payments_eur_per_ha": 0,
              "crop": {
                "crop_category": "other",
                "crop_name": null
              },
              "land_use": "grassland",
              "operations": {
                "psm_applications": [],
                "psm_used": false,
                "seed_treatment": false
              },
              "parcel_id": "synthetic_grassland_1"
            }
          ],
          "total_area_ha": 100
        },
        "livestock": {
          "species_groups": [
            {
              "animal_count": 5,
              "category": "cattle_from_two_years"
            }
          ]
        },
        "program": {
          "o6_1a": {
            "participates": true
          },
          "o6_1b": {
            "partial_farm": false,
            "participates": false
          },
          "o6_2": {
            "application_date": "2024-12-31",
            "application_year": 2025,
            "participates": true
          }
        },
        "region": {
          "district": "Eisenstadt",
          "federal_state": "Burgenland"
        },
        "year": 2026
      },
      "input_sha256": "05949db6bac0dcead93200e8c5bfed2319d58782bba468563fb86491657ff5b1",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_2.decision",
                "value": {
                  "all_psm_ok": true,
                  "application_ok": true,
                  "course_ok": true,
                  "drought_harvest_exception": false,
                  "eligible_surface": true,
                  "external_n_ok": false,
                  "livestock_n_ok": true,
                  "modulation_factor": 1,
                  "organic_combination_ok": true,
                  "premium_cap_ok": true,
                  "premium_tier": "animal_holding_below_1_40",
                  "purchase_storage_ok": true,
                  "ubb_combination_ok": true
                }
              }
            ]
          }
        ]
      },
      "output": {
        "all_psm_ok": true,
        "application_ok": true,
        "course_ok": true,
        "drought_harvest_exception": false,
        "eligible_surface": true,
        "external_n_ok": false,
        "livestock_n_ok": true,
        "modulation_factor": 1,
        "organic_combination_ok": true,
        "premium_cap_ok": true,
        "premium_tier": "animal_holding_below_1_40",
        "purchase_storage_ok": true,
        "ubb_combination_ok": true
      },
      "output_changed_from_baseline": true,
      "purpose": "Nur farm.compliance.external_n_fertilizer_kg entfernen: Verhalten bei fehlendem Fremd-N-Aggregat beobachten.",
      "status": "defined"
    }
  ],
  "compile": {
    "errors": [],
    "status": "compiled"
  },
  "input_contract_note": "Native root-level application_year/program/region und farm.compliance/training; Futterfläche, Tierkategorie und Stickstoffmenge sind synthetische externe Aggregate. livestock_n_kg_per_ha wird wie in den Modellannahmen bereits nach Stall-/Lagerverlusten vorausgesetzt; keine N-Berechnung wird erfunden. Alle Werte sind ausdrücklich synthetische Entwicklungsannahmen; die Eingaben repräsentieren keinen echten Betrieb.",
  "inventory": {
    "independent_reference_case_status": "not_adjudicated",
    "profile_proposal_count": 23,
    "rule_count": 39,
    "rule_type_counts": {
      "application_deadline": 1,
      "area_access": 1,
      "area_reduction": 1,
      "classification": 2,
      "combination": 3,
      "contract_duration": 1,
      "cross_measure_exception_2026": 2,
      "drought_exception_2026": 1,
      "eligibility": 1,
      "exception": 2,
      "general_condition": 2,
      "input_classification": 1,
      "input_table": 1,
      "measure_change": 1,
      "modulation": 1,
      "permission": 1,
      "premium": 4,
      "premium_cap": 1,
      "prohibition": 5,
      "quality": 1,
      "reporting": 1,
      "sanction": 1,
      "threshold": 1,
      "training": 3
    },
    "source_count": 8,
    "source_coverage_claims": [
      {
        "disposition_counts": {
          "rules": 8
        },
        "item_count": 8,
        "review_scope": "full_document",
        "source_id": "o6_2_sheet"
      },
      {
        "disposition_counts": {
          "not_rule": 6,
          "rules": 15
        },
        "item_count": 21,
        "review_scope": "full_document",
        "source_id": "o6_general_sheet"
      },
      {
        "disposition_counts": {
          "rules": 5
        },
        "item_count": 5,
        "review_scope": "targeted_sections",
        "source_id": "srl_20241011"
      },
      {
        "disposition_counts": {
          "rules": 2
        },
        "item_count": 2,
        "review_scope": "targeted_sections",
        "source_id": "srl_annexes_20241011"
      },
      {
        "disposition_counts": {
          "rules": 2
        },
        "item_count": 2,
        "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,
          "rules": 1
        },
        "item_count": 2,
        "review_scope": "full_document",
        "source_id": "notice_2026_08_05"
      },
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 2
        },
        "item_count": 3,
        "review_scope": "full_document",
        "source_id": "notice_2026_08_12"
      }
    ],
    "static_policy_input_paths": [
      "input.application_year",
      "input.farm.compliance.external_n_fertilizer_kg",
      "input.farm.compliance.livestock_n_kg_per_ha",
      "input.farm.compliance.purchase_storage_records_complete",
      "input.farm.forage_area_ha",
      "input.farm.training.completed_by",
      "input.farm.training.course_date",
      "input.farm.training.double_counted",
      "input.farm.training.hours",
      "input.farm.training.provider_approved",
      "input.land.parcels",
      "input.land.total_area_ha",
      "input.livestock.species_groups",
      "input.program.o6_1a.participates",
      "input.program.o6_1b.partial_farm",
      "input.program.o6_1b.participates",
      "input.program.o6_2.application_date",
      "input.program.o6_2.application_year",
      "input.program.o6_2.participates",
      "input.region.district",
      "input.region.federal_state"
    ]
  },
  "measure_id": "o6_2",
  "open_dependencies": [
    "Die fachliche Ermittlung der Stickstoffgröße und stabile Zuordnung von Tierkategorien/Anzahlbasis sind offen; für spätere Sollwerte sind nur die einschlägigen Fragen in App #140 nötig.",
    "Einzelne Oberflächenprüfungen betrachten nur parcels[0]; mehrparzellige Aggregation ist mit diesen Proben nicht abgedeckt.",
    "all_psm_ok ist default true und bildet die Ergebnisse einer Comprehension ab; eine separate PSM-Fehlprobe ist vor Behauptungen einer vollständigen PSM-Kontrolle erforderlich.",
    "Fehlende Fakten werden als false/Default statt eigenem insufficient_data-Status ausgegeben."
  ],
  "output_contract_note": "decision enthält einzelne boolesche Prüfungen, Prämientier und Modulationsfaktor; kein aggregiertes eligible, kein Gesamtbetrag, keine Quellen-/Missing-Fact-Diagnose. Einzelprüfungen und Prämientier dürfen nicht zur vollständigen Förderung umgedeutet werden.",
  "query": "data.oepul.o6_2.decision",
  "references": [
    {
      "detail": "Native Eingabepfade und ausdrücklich gewählter Ausgabepunkt; Änderung und fehlende Tatsache richten sich nach dem ausführbaren Kandidaten, nicht nach einer fachlichen Sollentscheidung.",
      "path": "runs/v2-o6_2-luna-high-20260930/workspace/policy/o6_2.rego"
    },
    {
      "detail": "Wiederverwendung der base-Struktur sowie des Graslandparzellenmusters test_rgve_animal_holding in runs/v2-o6_2-luna-high-20260930/workspace/tests/o6_2_test.rego; synthetische Lagerdokumentation und Zahlungsbetrag ergänzen die direkt gelesenen Ausgabebedingungen.",
      "path": "runs/v2-o6_2-luna-high-20260930/workspace/tests/o6_2_test.rego"
    },
    {
      "detail": "Historische Modellannahmen und offene Abgrenzungen; keine unabhängige Expertenbestätigung.",
      "path": "runs/v2-o6_2-luna-high-20260930/workspace/notes/assumptions.md"
    },
    {
      "detail": "Katalog O62-R11 nennt 170 kg N pro ha nach Stall-/Lagerverlusten; die Fixture übernimmt diese Größe synthetisch und führt keine eigenständige N-Ermittlung durch.",
      "path": "runs/v2-o6_2-luna-high-20260930/workspace/rules/rules.json"
    }
  ],
  "run_id": "v2-o6_2-luna-high-20260930"
}
