{
  "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",
      "changes_from_baseline": [],
      "input": {
        "farm": {
          "year": 2025
        },
        "land": {
          "grassland_area_ha": 10,
          "parcels": [
            {
              "area_ha": 10,
              "constraints": {
                "is_contract_nature_area": false
              },
              "land_use": "grassland",
              "o6_17": {
                "gloez2_or_gloez4_or_gloez9": false,
                "is_bergmaehder": false,
                "is_one_cut_meadow": true
              },
              "parcel_id": "synthetic-grassland-1",
              "slope_percent": 12
            }
          ]
        },
        "oepul": {
          "o6_17": {
            "average_grassland_score": 25,
            "combination": "ubb",
            "contract_start_year": 2025,
            "forage_area_ha": 10,
            "grassland_break_documented": false,
            "grassland_share_excluding_alpine_percent": 50,
            "is_first_participation_year": true,
            "mown_grassland_area_ha": 10,
            "participating": true,
            "rgve_total": 3,
            "slope_percent": 12,
            "soil_basis_grassland_under_18_ha": 10.4,
            "soil_samples_submitted": 3,
            "total_farm_area_ha": 100
          }
        }
      },
      "input_sha256": "a926b699d684e0bf3e26a555509d1421075610e83868799115d90bf058400ec2",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_17.decision",
                "value": {
                  "base_eligible_parcels": [
                    "synthetic-grassland-1"
                  ],
                  "base_premium_eur_per_ha": 54,
                  "bonus_cap_ha": 2.5,
                  "bonus_eligible_parcels": [
                    "synthetic-grassland-1"
                  ],
                  "bonus_premium_eur_per_ha": 262,
                  "contract_duration_years": 4,
                  "eligible": true,
                  "premium_multiplier": 1,
                  "required_soil_samples": 3,
                  "violations": []
                }
              }
            ]
          }
        ]
      },
      "output": {
        "base_eligible_parcels": [
          "synthetic-grassland-1"
        ],
        "base_premium_eur_per_ha": 54,
        "bonus_cap_ha": 2.5,
        "bonus_eligible_parcels": [
          "synthetic-grassland-1"
        ],
        "bonus_premium_eur_per_ha": 262,
        "contract_duration_years": 4,
        "eligible": true,
        "premium_multiplier": 1,
        "required_soil_samples": 3,
        "violations": []
      },
      "output_changed_from_baseline": false,
      "purpose": "Synthetische Ausgangskonstellation zur Beobachtung der nativen Ausgabe; kein fachlich bestätigter Positivfall.",
      "status": "defined"
    },
    {
      "case_id": "variation",
      "changes_from_baseline": [
        {
          "after": {
            "present": true,
            "value": 2
          },
          "before": {
            "present": true,
            "value": 3
          },
          "path": "/oepul/o6_17/soil_samples_submitted"
        }
      ],
      "input": {
        "farm": {
          "year": 2025
        },
        "land": {
          "grassland_area_ha": 10,
          "parcels": [
            {
              "area_ha": 10,
              "constraints": {
                "is_contract_nature_area": false
              },
              "land_use": "grassland",
              "o6_17": {
                "gloez2_or_gloez4_or_gloez9": false,
                "is_bergmaehder": false,
                "is_one_cut_meadow": true
              },
              "parcel_id": "synthetic-grassland-1",
              "slope_percent": 12
            }
          ]
        },
        "oepul": {
          "o6_17": {
            "average_grassland_score": 25,
            "combination": "ubb",
            "contract_start_year": 2025,
            "forage_area_ha": 10,
            "grassland_break_documented": false,
            "grassland_share_excluding_alpine_percent": 50,
            "is_first_participation_year": true,
            "mown_grassland_area_ha": 10,
            "participating": true,
            "rgve_total": 3,
            "slope_percent": 12,
            "soil_basis_grassland_under_18_ha": 10.4,
            "soil_samples_submitted": 2,
            "total_farm_area_ha": 100
          }
        }
      },
      "input_sha256": "26ae07197a799f9b7f0e9116df5e2f66b0af4165dcbf340baa89f7301c9cfe0e",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_17.decision",
                "value": {
                  "base_eligible_parcels": [
                    "synthetic-grassland-1"
                  ],
                  "base_premium_eur_per_ha": 54,
                  "bonus_cap_ha": 2.5,
                  "bonus_eligible_parcels": [
                    "synthetic-grassland-1"
                  ],
                  "bonus_premium_eur_per_ha": 262,
                  "contract_duration_years": 4,
                  "eligible": true,
                  "premium_multiplier": 1,
                  "required_soil_samples": 3,
                  "violations": [
                    "soil_samples_missing"
                  ]
                }
              }
            ]
          }
        ]
      },
      "output": {
        "base_eligible_parcels": [
          "synthetic-grassland-1"
        ],
        "base_premium_eur_per_ha": 54,
        "bonus_cap_ha": 2.5,
        "bonus_eligible_parcels": [
          "synthetic-grassland-1"
        ],
        "bonus_premium_eur_per_ha": 262,
        "contract_duration_years": 4,
        "eligible": true,
        "premium_multiplier": 1,
        "required_soil_samples": 3,
        "violations": [
          "soil_samples_missing"
        ]
      },
      "output_changed_from_baseline": true,
      "purpose": "soil_samples_submitted von 3 auf 2 ändern; das Verhältnis zwischen Zugangsurteil und verletzter Nachweispflicht sichtbar machen.",
      "status": "defined"
    },
    {
      "case_id": "missing_fact",
      "changes_from_baseline": [
        {
          "after": {
            "present": false
          },
          "before": {
            "present": true,
            "value": 25
          },
          "path": "/oepul/o6_17/average_grassland_score"
        }
      ],
      "input": {
        "farm": {
          "year": 2025
        },
        "land": {
          "grassland_area_ha": 10,
          "parcels": [
            {
              "area_ha": 10,
              "constraints": {
                "is_contract_nature_area": false
              },
              "land_use": "grassland",
              "o6_17": {
                "gloez2_or_gloez4_or_gloez9": false,
                "is_bergmaehder": false,
                "is_one_cut_meadow": true
              },
              "parcel_id": "synthetic-grassland-1",
              "slope_percent": 12
            }
          ]
        },
        "oepul": {
          "o6_17": {
            "combination": "ubb",
            "contract_start_year": 2025,
            "forage_area_ha": 10,
            "grassland_break_documented": false,
            "grassland_share_excluding_alpine_percent": 50,
            "is_first_participation_year": true,
            "mown_grassland_area_ha": 10,
            "participating": true,
            "rgve_total": 3,
            "slope_percent": 12,
            "soil_basis_grassland_under_18_ha": 10.4,
            "soil_samples_submitted": 3,
            "total_farm_area_ha": 100
          }
        }
      },
      "input_sha256": "fba520f9199bcabe75d870538426a32b7c333ea114c0f84b8ec408fc36f3160d",
      "opa_result": {},
      "output_changed_from_baseline": true,
      "purpose": "average_grassland_score entfernen; prüfen, ob das fehlende Prämienberechnungsmerkmal nur einen Teilwert oder das gesamte Entscheidungsobjekt undefiniert macht.",
      "status": "undefined"
    }
  ],
  "compile": {
    "errors": [],
    "status": "compiled"
  },
  "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.",
  "inventory": {
    "independent_reference_case_status": "not_adjudicated",
    "profile_proposal_count": 50,
    "rule_count": 48,
    "rule_type_counts": {
      "access_condition": 4,
      "allowed_method": 1,
      "application": 2,
      "calculation": 6,
      "closed_list": 2,
      "combination_condition": 2,
      "contract_period": 1,
      "control": 1,
      "definition": 3,
      "documentation": 2,
      "exception": 5,
      "general_condition": 5,
      "method": 2,
      "obligation": 6,
      "premium_calculation": 3,
      "premium_condition": 2,
      "sanction": 1
    },
    "source_count": 8,
    "source_coverage_claims": [
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 12
        },
        "item_count": 13,
        "review_scope": "full_document",
        "source_id": "o6_17_info"
      },
      {
        "disposition_counts": {
          "not_rule": 5,
          "rules": 9
        },
        "item_count": 14,
        "review_scope": "full_document",
        "source_id": "o6_general"
      },
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 5
        },
        "item_count": 6,
        "review_scope": "targeted_sections",
        "source_id": "srl_oepul_2023"
      },
      {
        "disposition_counts": {
          "rules": 5
        },
        "item_count": 5,
        "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.farm.year",
      "input.land.grassland_area_ha",
      "input.land.parcels",
      "input.oepul.o6_17.average_grassland_score",
      "input.oepul.o6_17.combination",
      "input.oepul.o6_17.contract_start_year",
      "input.oepul.o6_17.forage_area_ha",
      "input.oepul.o6_17.grassland_break_documented",
      "input.oepul.o6_17.grassland_share_excluding_alpine_percent",
      "input.oepul.o6_17.is_first_participation_year",
      "input.oepul.o6_17.mown_grassland_area_ha",
      "input.oepul.o6_17.participating",
      "input.oepul.o6_17.rgve_total",
      "input.oepul.o6_17.slope_percent",
      "input.oepul.o6_17.soil_basis_grassland_under_18_ha",
      "input.oepul.o6_17.soil_samples_submitted",
      "input.oepul.o6_17.total_farm_area_ha"
    ]
  },
  "measure_id": "o6_17",
  "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."
  ],
  "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.",
  "query": "data.oepul.o6_17.decision",
  "references": [
    {
      "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/policy/o6_17.rego"
    },
    {
      "detail": "Modellgenerierte synthetische Entwicklungsbeispiele und Grenzwerte; keine unabhängige Ground Truth.",
      "path": "runs/v2-o6_17-luna-high-20261005/workspace/tests/o6_17_test.rego"
    },
    {
      "detail": "Dokumentiert historische Quellen-/Eingabeannahmen und offene Integrations-/Auslegungsfragen.",
      "path": "runs/v2-o6_17-luna-high-20261005/workspace/notes/assumptions.md"
    }
  ],
  "run_id": "v2-o6_17-luna-high-20261005"
}
