{
  "case_origin": "Die Basis entspricht base_input/test_compliant_profile; die Flächenänderung entspricht low_area_input/test_minimum_area_violation. Das Entfernen der Begrünungsquote ist eine eigene Einzeländerung an der vom Policy-Vergleich konsumierten Tatsache. Alle Fälle sind synthetische Entwicklungsfälle, keine unabhängig beurteilten Referenz- oder zurückgehaltenen Testfälle.",
  "cases": [
    {
      "case_id": "baseline",
      "changes_from_baseline": [],
      "input": {
        "farm": {
          "region": {
            "district": "Amstetten",
            "federal_state": "Niederösterreich"
          },
          "year": 2025
        },
        "land": {
          "arable_area_ha": 10,
          "parcels": [
            {
              "operations": {
                "cover_crop": {
                  "active_planting_day_of_year": 250,
                  "duration_days": 60,
                  "gap_days": {
                    "intercrop_turnover_to_main_sowing": 20,
                    "main_harvest_to_intercrop": 20,
                    "main_harvest_to_main_sowing": 40
                  },
                  "is_used": true,
                  "mechanical_removal": true,
                  "mixture_partners": [
                    {
                      "plant_family": "legume"
                    },
                    {
                      "plant_family": "brassica"
                    },
                    {
                      "plant_family": "grass"
                    }
                  ],
                  "threshed": false,
                  "tillage_kills_cover": false,
                  "turnover_day_of_year": 80,
                  "winter_hardy_share_percent": 80
                },
                "fertilizer": {
                  "mineral_n_kg_per_ha": 0
                },
                "psm_used": false
              },
              "parcel_id": "A1"
            }
          ]
        },
        "measure": {
          "o6_7": {
            "cover_share_percent": 100,
            "field_records_complete": true,
            "harvest_share_percent": 100,
            "measure_6_participating": false,
            "participating": true
          }
        }
      },
      "input_sha256": "a20bb52ff319dd29db81fd75ee02c397e4129760a0bda4b12cfe1969e11123b9",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_7.compliance",
                "value": {
                  "eligible": true,
                  "green_cover_exception_applies": false,
                  "harvest_exception_applies": false,
                  "late_planting_exception_applies": false,
                  "measure": "o6_7",
                  "premium_band_eur_per_ha": {
                    "maximum": 90,
                    "minimum": 70
                  },
                  "violations": []
                }
              }
            ]
          }
        ]
      },
      "output": {
        "eligible": true,
        "green_cover_exception_applies": false,
        "harvest_exception_applies": false,
        "late_planting_exception_applies": false,
        "measure": "o6_7",
        "premium_band_eur_per_ha": {
          "maximum": 90,
          "minimum": 70
        },
        "violations": []
      },
      "output_changed_from_baseline": false,
      "purpose": "Die native compliance-Ausgabe für einen synthetischen Begrünungssachverhalt aufnehmen.",
      "status": "defined"
    },
    {
      "case_id": "variation",
      "changes_from_baseline": [
        {
          "after": {
            "present": true,
            "value": 1.4
          },
          "before": {
            "present": true,
            "value": 10
          },
          "path": "/land/arable_area_ha"
        }
      ],
      "input": {
        "farm": {
          "region": {
            "district": "Amstetten",
            "federal_state": "Niederösterreich"
          },
          "year": 2025
        },
        "land": {
          "arable_area_ha": 1.4,
          "parcels": [
            {
              "operations": {
                "cover_crop": {
                  "active_planting_day_of_year": 250,
                  "duration_days": 60,
                  "gap_days": {
                    "intercrop_turnover_to_main_sowing": 20,
                    "main_harvest_to_intercrop": 20,
                    "main_harvest_to_main_sowing": 40
                  },
                  "is_used": true,
                  "mechanical_removal": true,
                  "mixture_partners": [
                    {
                      "plant_family": "legume"
                    },
                    {
                      "plant_family": "brassica"
                    },
                    {
                      "plant_family": "grass"
                    }
                  ],
                  "threshed": false,
                  "tillage_kills_cover": false,
                  "turnover_day_of_year": 80,
                  "winter_hardy_share_percent": 80
                },
                "fertilizer": {
                  "mineral_n_kg_per_ha": 0
                },
                "psm_used": false
              },
              "parcel_id": "A1"
            }
          ]
        },
        "measure": {
          "o6_7": {
            "cover_share_percent": 100,
            "field_records_complete": true,
            "harvest_share_percent": 100,
            "measure_6_participating": false,
            "participating": true
          }
        }
      },
      "input_sha256": "1d9a43c9b84b69efe201daab8f795f7972bc74dd67a4e0c5c4114650007c18ab",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_7.compliance",
                "value": {
                  "eligible": false,
                  "green_cover_exception_applies": false,
                  "harvest_exception_applies": false,
                  "late_planting_exception_applies": false,
                  "measure": "o6_7",
                  "premium_band_eur_per_ha": {
                    "maximum": 90,
                    "minimum": 70
                  },
                  "violations": [
                    {
                      "message": "Mindestens 1,50 ha Ackerfläche sind erforderlich.",
                      "rule_id": "O6_7_MIN_AREA"
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "output": {
        "eligible": false,
        "green_cover_exception_applies": false,
        "harvest_exception_applies": false,
        "late_planting_exception_applies": false,
        "measure": "o6_7",
        "premium_band_eur_per_ha": {
          "maximum": 90,
          "minimum": 70
        },
        "violations": [
          {
            "message": "Mindestens 1,50 ha Ackerfläche sind erforderlich.",
            "rule_id": "O6_7_MIN_AREA"
          }
        ]
      },
      "output_changed_from_baseline": true,
      "purpose": "Nur die Ackerfläche von 10 auf 1,4 ha ändern und die Mindestflächenprüfung beobachten.",
      "status": "defined"
    },
    {
      "case_id": "missing_fact",
      "changes_from_baseline": [
        {
          "after": {
            "present": false
          },
          "before": {
            "present": true,
            "value": 100
          },
          "path": "/measure/o6_7/cover_share_percent"
        }
      ],
      "input": {
        "farm": {
          "region": {
            "district": "Amstetten",
            "federal_state": "Niederösterreich"
          },
          "year": 2025
        },
        "land": {
          "arable_area_ha": 10,
          "parcels": [
            {
              "operations": {
                "cover_crop": {
                  "active_planting_day_of_year": 250,
                  "duration_days": 60,
                  "gap_days": {
                    "intercrop_turnover_to_main_sowing": 20,
                    "main_harvest_to_intercrop": 20,
                    "main_harvest_to_main_sowing": 40
                  },
                  "is_used": true,
                  "mechanical_removal": true,
                  "mixture_partners": [
                    {
                      "plant_family": "legume"
                    },
                    {
                      "plant_family": "brassica"
                    },
                    {
                      "plant_family": "grass"
                    }
                  ],
                  "threshed": false,
                  "tillage_kills_cover": false,
                  "turnover_day_of_year": 80,
                  "winter_hardy_share_percent": 80
                },
                "fertilizer": {
                  "mineral_n_kg_per_ha": 0
                },
                "psm_used": false
              },
              "parcel_id": "A1"
            }
          ]
        },
        "measure": {
          "o6_7": {
            "field_records_complete": true,
            "harvest_share_percent": 100,
            "measure_6_participating": false,
            "participating": true
          }
        }
      },
      "input_sha256": "cde68d882f8bb8c45754a3a53f31ca10d8039edaf65e03bae778451c5ae18c3c",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_7.compliance",
                "value": {
                  "eligible": true,
                  "green_cover_exception_applies": false,
                  "harvest_exception_applies": false,
                  "late_planting_exception_applies": false,
                  "measure": "o6_7",
                  "premium_band_eur_per_ha": {
                    "maximum": 90,
                    "minimum": 70
                  },
                  "violations": []
                }
              }
            ]
          }
        ]
      },
      "output": {
        "eligible": true,
        "green_cover_exception_applies": false,
        "harvest_exception_applies": false,
        "late_planting_exception_applies": false,
        "measure": "o6_7",
        "premium_band_eur_per_ha": {
          "maximum": 90,
          "minimum": 70
        },
        "violations": []
      },
      "output_changed_from_baseline": false,
      "purpose": "cover_share_percent entfernen und prüfen, ob der Kandidat fehlende Quote und festgestellte Erfüllung unterscheidet.",
      "status": "defined"
    }
  ],
  "compile": {
    "errors": [],
    "status": "compiled"
  },
  "input_contract_note": "farm.year, land.arable_area_ha in ha und synthetische Parzellen mit operations; Teilnahme-/Quotenfakten in measure.o6_7. Quoten sind Prozentwerte 0–100, mineral_n_kg_per_ha ist kg N/ha, Zeitangaben sind Tag des Jahres beziehungsweise Dauern in Tagen. Keine automatische Kalender-/Schaltjahrkonvertierung.",
  "inventory": {
    "independent_reference_case_status": "not_adjudicated",
    "profile_proposal_count": 21,
    "rule_count": 68,
    "rule_type_counts": {
      "access_condition": 1,
      "application": 3,
      "area_addition_exception": 1,
      "calculation_scope": 1,
      "combination": 2,
      "combination_consequence": 1,
      "consequence": 1,
      "contract_consequence": 1,
      "contract_period": 1,
      "control": 1,
      "coverage_threshold": 1,
      "crop_sequence": 1,
      "date_counting": 1,
      "deadline": 6,
      "definition": 2,
      "definition_exclusion": 2,
      "documentation": 1,
      "duration": 1,
      "eligibility_exclusion": 1,
      "eligible_area": 1,
      "exception": 1,
      "general_condition": 5,
      "general_consequence": 1,
      "general_exclusion": 2,
      "input_permission": 1,
      "input_restriction": 3,
      "maintenance_condition": 2,
      "maintenance_permission": 1,
      "mechanical_removal": 2,
      "mechanical_removal_exclusion": 1,
      "mixture_condition": 2,
      "pre_contract_condition": 1,
      "premium": 1,
      "procedure": 1,
      "scope": 1,
      "soil_operation": 2,
      "special_area_rule": 1,
      "special_date_rule": 2,
      "temporary_exception": 4,
      "use_condition": 3,
      "withdrawal": 1
    },
    "source_count": 8,
    "source_coverage_claims": [
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 10
        },
        "item_count": 11,
        "review_scope": "full_document",
        "source_id": "measure_sheet_o6_7"
      },
      {
        "disposition_counts": {
          "not_rule": 4,
          "rules": 7
        },
        "item_count": 11,
        "review_scope": "full_document",
        "source_id": "general_terms"
      },
      {
        "disposition_counts": {
          "rules": 7
        },
        "item_count": 7,
        "review_scope": "targeted_sections",
        "source_id": "srl_oepul_main"
      },
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 2
        },
        "item_count": 3,
        "review_scope": "targeted_sections",
        "source_id": "srl_oepul_annexes"
      },
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 2
        },
        "item_count": 3,
        "review_scope": "full_document",
        "source_id": "drought_notice_2026_08_05"
      },
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 2
        },
        "item_count": 3,
        "review_scope": "full_document",
        "source_id": "drought_notice_2026_08_12"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "biodiversity_notice_2026_05_22"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "insecticide_notice_2026_06_12"
      }
    ],
    "static_policy_input_paths": [
      "input.farm.oepul",
      "input.farm.oepul.drought_2026",
      "input.farm.region.district",
      "input.farm.region.federal_state",
      "input.farm.year",
      "input.land.arable_area_ha",
      "input.land.parcels",
      "input.measure"
    ]
  },
  "measure_id": "o6_7",
  "open_dependencies": [
    "Eine produktive Tag-des-Jahres-Konvertierung muss Kalender- und Schaltjahre zentral berücksichtigen.",
    "Der Kandidat hat keine profile_missing-Ausgabe für sämtliche konsumierten Begrünungs-/Betriebsfakten.",
    "Glaubhaftmachung und räumlich/zeitlich begrenzte Ausnahmen 2026 brauchen eigenständig geprüfte Nachweise, wenn sie im Versuchsausschnitt verwendet werden."
  ],
  "output_contract_note": "compliance enthält eligible, violations, Prämienband und drei Ausnahme-Wahrheitswerte. eligible verlangt Teilnahme, Mindestackerfläche und keine erkannten violations; es gibt keine allgemeine Vollständigkeitsprüfung aller Fakten. Prämienband und ausbleibende Verletzungen belegen keine vollständige Förderfreigabe.",
  "query": "data.oepul.o6_7.compliance",
  "references": [
    {
      "detail": "Nativer Eingabeverbrauch und abgefragte Ausgabe; Änderungen werden gegen diese historische Policy untersucht.",
      "path": "runs/v2-o6_7-luna-high-20261002/workspace/policy/o6_7.rego"
    },
    {
      "detail": "Die Basis entspricht base_input/test_compliant_profile; die Flächenänderung entspricht low_area_input/test_minimum_area_violation. Das Entfernen der Begrünungsquote ist eine eigene Einzeländerung an der vom Policy-Vergleich konsumierten Tatsache.",
      "path": "runs/v2-o6_7-luna-high-20261002/workspace/tests/o6_7_test.rego"
    },
    {
      "detail": "Historische Eingabe-, Quellen- und Integrationsannahmen; keine unabhängige fachliche Bestätigung.",
      "path": "runs/v2-o6_7-luna-high-20261002/workspace/notes/assumptions.md"
    }
  ],
  "run_id": "v2-o6_7-luna-high-20261002"
}
