{
  "measure_id": "o6_17",
  "run_id": "v2-o6_17-luna-high-20261005",
  "query": "data.oepul.o6_17.decision",
  "input_contract_note": "Native Eingaben unter oepul.o6_17 plus land.parcels; Flächen in ha, Graslandanteil und Hangneigung in Prozent, rgve_total als RGVE, forage_area_ha als Futterfläche, Bodenproben als Anzahl. Basis Förderjahr 2025 mit 3 RGVE/10 ha an der Tierhaltergrenze; Schlag synthetisch ergänzt, native Boden-/Hang- und Kombinationsflags explizit gesetzt.",
  "output_contract_note": "decision kombiniert Zugangsurteil, Basis-/Bonusparzellen, Nachweisverletzungen und Prämienindikationen. eligible ruft den Bodenproben-Verletzungscheck nicht auf; daher kann eligible=true mit soil_samples_missing koexistieren. Fehlt eine für ein Objektfeld erforderliche Berechnungsangabe, kann das gesamte decision-Objekt undefiniert bleiben.",
  "case_origin": "Synthetischer Entwicklungsbasisfall aus test_first_year_eligibility_and_premium, ergänzt um einen einzelnen synthetischen Grünlandschlag mit konsumierten Feldern aus test_parcel_base_and_bonus_boundaries. Gezielte Änderungen durch Codex; keine unabhängigen Sollurteile, keine Golden- oder Held-out-Fälle.",
  "cases": [
    {
      "case_id": "baseline",
      "purpose": "Synthetische Ausgangskonstellation zur Beobachtung der nativen Ausgabe; kein fachlich bestätigter Positivfall.",
      "input": {
        "farm": {
          "year": 2025
        },
        "land": {
          "grassland_area_ha": 10,
          "parcels": [
            {
              "parcel_id": "synthetic-grassland-1",
              "land_use": "grassland",
              "area_ha": 10,
              "slope_percent": 12,
              "constraints": {
                "is_contract_nature_area": false
              },
              "o6_17": {
                "is_bergmaehder": false,
                "is_one_cut_meadow": true,
                "gloez2_or_gloez4_or_gloez9": false
              }
            }
          ]
        },
        "oepul": {
          "o6_17": {
            "participating": true,
            "is_first_participation_year": true,
            "grassland_share_excluding_alpine_percent": 50,
            "rgve_total": 3,
            "forage_area_ha": 10,
            "combination": "ubb",
            "contract_start_year": 2025,
            "soil_basis_grassland_under_18_ha": 10.4,
            "mown_grassland_area_ha": 10,
            "average_grassland_score": 25,
            "slope_percent": 12,
            "soil_samples_submitted": 3,
            "grassland_break_documented": false,
            "total_farm_area_ha": 100
          }
        }
      }
    },
    {
      "case_id": "variation",
      "purpose": "soil_samples_submitted von 3 auf 2 ändern; das Verhältnis zwischen Zugangsurteil und verletzter Nachweispflicht sichtbar machen.",
      "input": {
        "farm": {
          "year": 2025
        },
        "land": {
          "grassland_area_ha": 10,
          "parcels": [
            {
              "parcel_id": "synthetic-grassland-1",
              "land_use": "grassland",
              "area_ha": 10,
              "slope_percent": 12,
              "constraints": {
                "is_contract_nature_area": false
              },
              "o6_17": {
                "is_bergmaehder": false,
                "is_one_cut_meadow": true,
                "gloez2_or_gloez4_or_gloez9": false
              }
            }
          ]
        },
        "oepul": {
          "o6_17": {
            "participating": true,
            "is_first_participation_year": true,
            "grassland_share_excluding_alpine_percent": 50,
            "rgve_total": 3,
            "forage_area_ha": 10,
            "combination": "ubb",
            "contract_start_year": 2025,
            "soil_basis_grassland_under_18_ha": 10.4,
            "mown_grassland_area_ha": 10,
            "average_grassland_score": 25,
            "slope_percent": 12,
            "soil_samples_submitted": 2,
            "grassland_break_documented": false,
            "total_farm_area_ha": 100
          }
        }
      }
    },
    {
      "case_id": "missing_fact",
      "purpose": "average_grassland_score entfernen; prüfen, ob das fehlende Prämienberechnungsmerkmal nur einen Teilwert oder das gesamte Entscheidungsobjekt undefiniert macht.",
      "input": {
        "farm": {
          "year": 2025
        },
        "land": {
          "grassland_area_ha": 10,
          "parcels": [
            {
              "parcel_id": "synthetic-grassland-1",
              "land_use": "grassland",
              "area_ha": 10,
              "slope_percent": 12,
              "constraints": {
                "is_contract_nature_area": false
              },
              "o6_17": {
                "is_bergmaehder": false,
                "is_one_cut_meadow": true,
                "gloez2_or_gloez4_or_gloez9": false
              }
            }
          ]
        },
        "oepul": {
          "o6_17": {
            "participating": true,
            "is_first_participation_year": true,
            "grassland_share_excluding_alpine_percent": 50,
            "rgve_total": 3,
            "forage_area_ha": 10,
            "combination": "ubb",
            "contract_start_year": 2025,
            "soil_basis_grassland_under_18_ha": 10.4,
            "mown_grassland_area_ha": 10,
            "slope_percent": 12,
            "soil_samples_submitted": 3,
            "grassland_break_documented": false,
            "total_farm_area_ha": 100
          }
        }
      }
    }
  ],
  "references": [
    {
      "path": "runs/v2-o6_17-luna-high-20261005/workspace/policy/o6_17.rego",
      "detail": "Belegt die Query, tatsächlich konsumierte Eingabefelder, Checks und Berechnungen; die Variations- und Entfernungsfälle ändern jeweils genau einen konsumierten Blattwert."
    },
    {
      "path": "runs/v2-o6_17-luna-high-20261005/workspace/tests/o6_17_test.rego",
      "detail": "Modellgenerierte synthetische Entwicklungsbeispiele und Grenzwerte; keine unabhängige Ground Truth."
    },
    {
      "path": "runs/v2-o6_17-luna-high-20261005/workspace/notes/assumptions.md",
      "detail": "Dokumentiert historische Quellen-/Eingabeannahmen und offene Integrations-/Auslegungsfragen."
    }
  ],
  "open_dependencies": [
    "Historischer Luna-Quellenstand bleibt unverändert; Übereinstimmung mit dem aktuellen Quellenpaket und verbindliche Gesamtauslegung sind vor einer produktiven Übernahme separat zu prüfen.",
    "Native Eingaben sind kein gemeinsamer App-Vertrag; Herkunft, Vollständigkeit und Bedeutung der entscheidungsrelevanten Nachweisfelder benötigen eine gesonderte Zuordnung.",
    "Zugangsurteil und Bodenprobenverletzung sind getrennte Policy-Pfade; kein vollständiger Gesamtfreigabeentscheid.",
    "Maßnahmenbezogene Hangneigung/Grünlandzahl und schlagbezogene Werte müssen eindeutig zugeordnet werden; Nachweis-/Bildungspflichten sind teilweise nur im Katalog.",
    "Beobachtet: soil_samples_submitted=2 liefert eligible=true zusammen mit violations=[soil_samples_missing]. Entfernen von average_grassland_score macht das gesamte decision-Objekt undefiniert; das ist kein negativer Förderentscheid."
  ]
}
