{
  "case_origin": "Synthetische DEVELOPMENT-Eingaben: Basis aus dem historischen Luna-Modelltest valid_input; gezielte Einzelvariation und Auslassungsfall von der Sichtung abgeleitet. Keine unabhängig erstellten oder fachlich adjudizierten Gold-/Heldoutfälle.",
  "cases": [
    {
      "case_id": "baseline",
      "changes_from_baseline": [],
      "input": {
        "context": {
          "control_note_acknowledged": true,
          "drought_2026": false
        },
        "farm": {
          "livestock": {
            "o6_20": [
              {
                "all_category_animals_participate": true,
                "animal_count": 2,
                "animals_held_in_austria": true,
                "average_rgve": 1.2,
                "category": "female_cattle_2_plus",
                "grazing_substantial_part_of_day": true,
                "groundfeed_predominantly_grazing": true,
                "optional_150_days": false,
                "participating": true,
                "shelter_access": true,
                "water_access": true,
                "weide_days": 120,
                "weide_diary_complete": true,
                "weide_period_valid": true
              },
              {
                "all_category_animals_participate": true,
                "animal_count": 6,
                "animals_held_in_austria": true,
                "average_rgve": 0.9,
                "category": "female_sheep_1_plus",
                "grazing_substantial_part_of_day": true,
                "groundfeed_predominantly_grazing": true,
                "optional_150_days": true,
                "participating": true,
                "shelter_access": true,
                "vis_reporting_complete": true,
                "water_access": true,
                "weide_days": 150,
                "weide_diary_complete": true,
                "weide_period_valid": true
              }
            ]
          },
          "year": 2026
        },
        "o6_20_application": {
          "application_date_before_31_december": true,
          "measure_requested": true
        }
      },
      "input_sha256": "0ef02694c565caec5af1bcea54357cb933fe436210aebd88969e141a26d4e3c9",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_20.decision",
                "value": {
                  "annual_contract": true,
                  "application_valid": true,
                  "categories": [
                    {
                      "actual_weide_days": 120,
                      "average_rgve": 1.2,
                      "base_premium_eligible": true,
                      "category": "female_cattle_2_plus",
                      "label": "Weibliche Rinder ab 2 Jahre, Kühe und Kalbinnen",
                      "minimum_met": true,
                      "optional_150_premium_eligible": false,
                      "required_weide_days": 120
                    },
                    {
                      "actual_weide_days": 150,
                      "average_rgve": 0.9,
                      "base_premium_eligible": true,
                      "category": "female_sheep_1_plus",
                      "label": "Weibliche Schafe ab 1 Jahr",
                      "minimum_met": true,
                      "optional_150_premium_eligible": true,
                      "required_weide_days": 150
                    }
                  ],
                  "eligible": true,
                  "premium": {
                    "base_band_eur_per_rgve": 40.0,
                    "base_band_max_eur_per_rgve": 60.0,
                    "common_pasture_base_factor": 1.0,
                    "coupled_alpine_support_base_factor": 0.5,
                    "optional_150_band_eur_per_rgve": 16.0,
                    "optional_150_band_max_eur_per_rgve": 24.0
                  },
                  "total_average_rgve": 2.1,
                  "violations": []
                }
              }
            ]
          }
        ]
      },
      "output": {
        "annual_contract": true,
        "application_valid": true,
        "categories": [
          {
            "actual_weide_days": 120,
            "average_rgve": 1.2,
            "base_premium_eligible": true,
            "category": "female_cattle_2_plus",
            "label": "Weibliche Rinder ab 2 Jahre, Kühe und Kalbinnen",
            "minimum_met": true,
            "optional_150_premium_eligible": false,
            "required_weide_days": 120
          },
          {
            "actual_weide_days": 150,
            "average_rgve": 0.9,
            "base_premium_eligible": true,
            "category": "female_sheep_1_plus",
            "label": "Weibliche Schafe ab 1 Jahr",
            "minimum_met": true,
            "optional_150_premium_eligible": true,
            "required_weide_days": 150
          }
        ],
        "eligible": true,
        "premium": {
          "base_band_eur_per_rgve": 40.0,
          "base_band_max_eur_per_rgve": 60.0,
          "common_pasture_base_factor": 1.0,
          "coupled_alpine_support_base_factor": 0.5,
          "optional_150_band_eur_per_rgve": 16.0,
          "optional_150_band_max_eur_per_rgve": 24.0
        },
        "total_average_rgve": 2.1,
        "violations": []
      },
      "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": 119
          },
          "before": {
            "present": true,
            "value": 120
          },
          "path": "/farm/livestock/o6_20/0/weide_days"
        }
      ],
      "input": {
        "context": {
          "control_note_acknowledged": true,
          "drought_2026": false
        },
        "farm": {
          "livestock": {
            "o6_20": [
              {
                "all_category_animals_participate": true,
                "animal_count": 2,
                "animals_held_in_austria": true,
                "average_rgve": 1.2,
                "category": "female_cattle_2_plus",
                "grazing_substantial_part_of_day": true,
                "groundfeed_predominantly_grazing": true,
                "optional_150_days": false,
                "participating": true,
                "shelter_access": true,
                "water_access": true,
                "weide_days": 119,
                "weide_diary_complete": true,
                "weide_period_valid": true
              },
              {
                "all_category_animals_participate": true,
                "animal_count": 6,
                "animals_held_in_austria": true,
                "average_rgve": 0.9,
                "category": "female_sheep_1_plus",
                "grazing_substantial_part_of_day": true,
                "groundfeed_predominantly_grazing": true,
                "optional_150_days": true,
                "participating": true,
                "shelter_access": true,
                "vis_reporting_complete": true,
                "water_access": true,
                "weide_days": 150,
                "weide_diary_complete": true,
                "weide_period_valid": true
              }
            ]
          },
          "year": 2026
        },
        "o6_20_application": {
          "application_date_before_31_december": true,
          "measure_requested": true
        }
      },
      "input_sha256": "01e04b627a635a8c19104a9bbd1afc179c3f65104ae7f8c46754dc2d4badb555",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_20.decision",
                "value": {
                  "annual_contract": true,
                  "application_valid": true,
                  "categories": [
                    {
                      "actual_weide_days": 119,
                      "average_rgve": 1.2,
                      "base_premium_eligible": false,
                      "category": "female_cattle_2_plus",
                      "label": "Weibliche Rinder ab 2 Jahre, Kühe und Kalbinnen",
                      "minimum_met": false,
                      "optional_150_premium_eligible": false,
                      "required_weide_days": 120
                    },
                    {
                      "actual_weide_days": 150,
                      "average_rgve": 0.9,
                      "base_premium_eligible": true,
                      "category": "female_sheep_1_plus",
                      "label": "Weibliche Schafe ab 1 Jahr",
                      "minimum_met": true,
                      "optional_150_premium_eligible": true,
                      "required_weide_days": 150
                    }
                  ],
                  "eligible": false,
                  "premium": {
                    "base_band_eur_per_rgve": 40.0,
                    "base_band_max_eur_per_rgve": 60.0,
                    "common_pasture_base_factor": 1.0,
                    "coupled_alpine_support_base_factor": 0.5,
                    "optional_150_band_eur_per_rgve": 16.0,
                    "optional_150_band_max_eur_per_rgve": 24.0
                  },
                  "total_average_rgve": 2.1,
                  "violations": [
                    {
                      "message": "Kategorie female_cattle_2_plus erreicht die erforderlichen 120 Weidetage nicht",
                      "rule_id": "o620-minimum-weide-days"
                    },
                    {
                      "message": "Nichterreichung der Mindestweidedauer für female_cattle_2_plus ist nicht gemeldet/korrigiert",
                      "rule_id": "o620-missed-days-report"
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "output": {
        "annual_contract": true,
        "application_valid": true,
        "categories": [
          {
            "actual_weide_days": 119,
            "average_rgve": 1.2,
            "base_premium_eligible": false,
            "category": "female_cattle_2_plus",
            "label": "Weibliche Rinder ab 2 Jahre, Kühe und Kalbinnen",
            "minimum_met": false,
            "optional_150_premium_eligible": false,
            "required_weide_days": 120
          },
          {
            "actual_weide_days": 150,
            "average_rgve": 0.9,
            "base_premium_eligible": true,
            "category": "female_sheep_1_plus",
            "label": "Weibliche Schafe ab 1 Jahr",
            "minimum_met": true,
            "optional_150_premium_eligible": true,
            "required_weide_days": 150
          }
        ],
        "eligible": false,
        "premium": {
          "base_band_eur_per_rgve": 40.0,
          "base_band_max_eur_per_rgve": 60.0,
          "common_pasture_base_factor": 1.0,
          "coupled_alpine_support_base_factor": 0.5,
          "optional_150_band_eur_per_rgve": 16.0,
          "optional_150_band_max_eur_per_rgve": 24.0
        },
        "total_average_rgve": 2.1,
        "violations": [
          {
            "message": "Kategorie female_cattle_2_plus erreicht die erforderlichen 120 Weidetage nicht",
            "rule_id": "o620-minimum-weide-days"
          },
          {
            "message": "Nichterreichung der Mindestweidedauer für female_cattle_2_plus ist nicht gemeldet/korrigiert",
            "rule_id": "o620-missed-days-report"
          }
        ]
      },
      "output_changed_from_baseline": true,
      "purpose": "Einzige Änderung: Weidetage der Rinderkategorie von 120 auf 119 Tage; Reaktion an der im Kandidaten konsumierten Schwelle beobachten.",
      "status": "defined"
    },
    {
      "case_id": "missing_fact",
      "changes_from_baseline": [
        {
          "after": {
            "present": false
          },
          "before": {
            "present": true,
            "value": true
          },
          "path": "/farm/livestock/o6_20/0/water_access"
        }
      ],
      "input": {
        "context": {
          "control_note_acknowledged": true,
          "drought_2026": false
        },
        "farm": {
          "livestock": {
            "o6_20": [
              {
                "all_category_animals_participate": true,
                "animal_count": 2,
                "animals_held_in_austria": true,
                "average_rgve": 1.2,
                "category": "female_cattle_2_plus",
                "grazing_substantial_part_of_day": true,
                "groundfeed_predominantly_grazing": true,
                "optional_150_days": false,
                "participating": true,
                "shelter_access": true,
                "weide_days": 120,
                "weide_diary_complete": true,
                "weide_period_valid": true
              },
              {
                "all_category_animals_participate": true,
                "animal_count": 6,
                "animals_held_in_austria": true,
                "average_rgve": 0.9,
                "category": "female_sheep_1_plus",
                "grazing_substantial_part_of_day": true,
                "groundfeed_predominantly_grazing": true,
                "optional_150_days": true,
                "participating": true,
                "shelter_access": true,
                "vis_reporting_complete": true,
                "water_access": true,
                "weide_days": 150,
                "weide_diary_complete": true,
                "weide_period_valid": true
              }
            ]
          },
          "year": 2026
        },
        "o6_20_application": {
          "application_date_before_31_december": true,
          "measure_requested": true
        }
      },
      "input_sha256": "442b82edb14c7129fa9bc382d6dc9989f7d908313837d40c328d0b1f5eb86648",
      "opa_result": {
        "result": [
          {
            "expressions": [
              {
                "location": {
                  "col": 1,
                  "row": 1
                },
                "text": "data.oepul.o6_20.decision",
                "value": {
                  "annual_contract": true,
                  "application_valid": true,
                  "categories": [
                    {
                      "actual_weide_days": 120,
                      "average_rgve": 1.2,
                      "base_premium_eligible": true,
                      "category": "female_cattle_2_plus",
                      "label": "Weibliche Rinder ab 2 Jahre, Kühe und Kalbinnen",
                      "minimum_met": true,
                      "optional_150_premium_eligible": false,
                      "required_weide_days": 120
                    },
                    {
                      "actual_weide_days": 150,
                      "average_rgve": 0.9,
                      "base_premium_eligible": true,
                      "category": "female_sheep_1_plus",
                      "label": "Weibliche Schafe ab 1 Jahr",
                      "minimum_met": true,
                      "optional_150_premium_eligible": true,
                      "required_weide_days": 150
                    }
                  ],
                  "eligible": false,
                  "premium": {
                    "base_band_eur_per_rgve": 40.0,
                    "base_band_max_eur_per_rgve": 60.0,
                    "common_pasture_base_factor": 1.0,
                    "coupled_alpine_support_base_factor": 0.5,
                    "optional_150_band_eur_per_rgve": 16.0,
                    "optional_150_band_max_eur_per_rgve": 24.0
                  },
                  "total_average_rgve": 2.1,
                  "violations": [
                    {
                      "message": "Tränke oder Unterstell-/rasch-verbringbare Stallmöglichkeit für female_cattle_2_plus fehlt",
                      "rule_id": "o620-water-shelter"
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "output": {
        "annual_contract": true,
        "application_valid": true,
        "categories": [
          {
            "actual_weide_days": 120,
            "average_rgve": 1.2,
            "base_premium_eligible": true,
            "category": "female_cattle_2_plus",
            "label": "Weibliche Rinder ab 2 Jahre, Kühe und Kalbinnen",
            "minimum_met": true,
            "optional_150_premium_eligible": false,
            "required_weide_days": 120
          },
          {
            "actual_weide_days": 150,
            "average_rgve": 0.9,
            "base_premium_eligible": true,
            "category": "female_sheep_1_plus",
            "label": "Weibliche Schafe ab 1 Jahr",
            "minimum_met": true,
            "optional_150_premium_eligible": true,
            "required_weide_days": 150
          }
        ],
        "eligible": false,
        "premium": {
          "base_band_eur_per_rgve": 40.0,
          "base_band_max_eur_per_rgve": 60.0,
          "common_pasture_base_factor": 1.0,
          "coupled_alpine_support_base_factor": 0.5,
          "optional_150_band_eur_per_rgve": 16.0,
          "optional_150_band_max_eur_per_rgve": 24.0
        },
        "total_average_rgve": 2.1,
        "violations": [
          {
            "message": "Tränke oder Unterstell-/rasch-verbringbare Stallmöglichkeit für female_cattle_2_plus fehlt",
            "rule_id": "o620-water-shelter"
          }
        ]
      },
      "output_changed_from_baseline": true,
      "purpose": "Einzige Auslassung: water_access der Rinderkategorie; prüfen, ob fehlende Evidenz von einer tatsächlich fehlenden Tränke unterschieden wird.",
      "status": "defined"
    }
  ],
  "compile": {
    "errors": [],
    "status": "compiled"
  },
  "input_contract_note": "Native Eingabe farm.livestock.o6_20 als Liste teilnehmender Tierkategorien; animal_count in Köpfen, average_rgve als vorausberechneter Durchschnitt in RGVE, weide_days in Tagen sowie boolesche Zeitraum-, Versorgungs-, Melde- und Nachweisfelder. Antrag über o6_20_application, Dürrekontext über context. Keine Ableitung aus tierbezogener Ereigniszeitleiste.",
  "inventory": {
    "independent_reference_case_status": "not_adjudicated",
    "profile_proposal_count": 3,
    "rule_count": 41,
    "rule_type_counts": {
      "access_threshold": 2,
      "animal_welfare": 3,
      "application_data": 2,
      "calculation": 3,
      "closed_list": 2,
      "contract_effect": 1,
      "contract_period": 1,
      "control_context": 1,
      "correction": 1,
      "crediting": 1,
      "deadline": 5,
      "documentation": 2,
      "eligibility": 2,
      "exception": 2,
      "premium": 1,
      "premium_adjustment": 3,
      "reporting": 3,
      "sanction": 1,
      "scope": 1,
      "threshold": 1,
      "time_window": 1,
      "transfer": 1,
      "withdrawal": 1
    },
    "source_count": 8,
    "source_coverage_claims": [
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 14
        },
        "item_count": 15,
        "review_scope": "full_document",
        "source_id": "measure_o620"
      },
      {
        "disposition_counts": {
          "not_rule": 9,
          "rules": 12
        },
        "item_count": 21,
        "review_scope": "full_document",
        "source_id": "general_conditions"
      },
      {
        "disposition_counts": {
          "not_rule": 3,
          "rules": 9
        },
        "item_count": 12,
        "review_scope": "targeted_sections",
        "source_id": "legal_srl"
      },
      {
        "disposition_counts": {
          "not_rule": 1,
          "rules": 1
        },
        "item_count": 2,
        "review_scope": "targeted_sections",
        "source_id": "measure_annex_a"
      },
      {
        "disposition_counts": {
          "not_rule": 2,
          "rules": 1
        },
        "item_count": 3,
        "review_scope": "full_document",
        "source_id": "notice_drought_2026"
      },
      {
        "disposition_counts": {
          "not_rule": 1
        },
        "item_count": 1,
        "review_scope": "full_document",
        "source_id": "notice_insecticide_2026"
      },
      {
        "disposition_counts": {
          "not_rule": 3
        },
        "item_count": 3,
        "review_scope": "full_document",
        "source_id": "notice_drought_az_2026"
      },
      {
        "disposition_counts": {
          "not_rule": 4
        },
        "item_count": 4,
        "review_scope": "full_document",
        "source_id": "notice_drought_abwicklung_2026"
      }
    ],
    "static_policy_input_paths": [
      "input.context",
      "input.context.control_note_acknowledged",
      "input.context.drought_2026",
      "input.farm",
      "input.farm.livestock.o6_20",
      "input.farm.livestock.o6_20[].all_category_animals_participate",
      "input.farm.livestock.o6_20[].animal_count",
      "input.farm.livestock.o6_20[].animals_held_in_austria",
      "input.farm.livestock.o6_20[].average_rgve",
      "input.farm.livestock.o6_20[].category",
      "input.farm.livestock.o6_20[].correction_or_report",
      "input.farm.livestock.o6_20[].count_correction_done",
      "input.farm.livestock.o6_20[].entry_after_april",
      "input.farm.livestock.o6_20[].entry_report_within_7_days",
      "input.farm.livestock.o6_20[].exit_after_april",
      "input.farm.livestock.o6_20[].exit_report_within_7_days",
      "input.farm.livestock.o6_20[].grazing_substantial_part_of_day",
      "input.farm.livestock.o6_20[].groundfeed_predominantly_grazing",
      "input.farm.livestock.o6_20[].optional_150_days",
      "input.farm.livestock.o6_20[].participating",
      "input.farm.livestock.o6_20[].pasture_treated_as_exit",
      "input.farm.livestock.o6_20[].replacement_by_growing_animals",
      "input.farm.livestock.o6_20[].shelter_access",
      "input.farm.livestock.o6_20[].temporary_pasture_stay",
      "input.farm.livestock.o6_20[].vis_reporting_complete",
      "input.farm.livestock.o6_20[].water_access",
      "input.farm.livestock.o6_20[].weide_days",
      "input.farm.livestock.o6_20[].weide_diary_complete",
      "input.farm.livestock.o6_20[].weide_period_valid",
      "input.farm.year",
      "input.o6_20_application",
      "input.o6_20_application.application_date_before_31_december",
      "input.o6_20_application.measure_requested"
    ]
  },
  "measure_id": "o6_20",
  "open_dependencies": [
    "Durchschnittliche RGVE und Weidetage brauchen eine festgelegte Herleitung aus Zu-/Abgängen und Zeitraum; diese Vorschau übernimmt Modelltestwerte.",
    "Kategorien-/Melde-/Dürrefakten und gekoppelte Almförderung sind ohne Nachweise keine fachlich bestätigten Eingaben.",
    "Das Prämienband ist keine aktuelle vollständige Jahres-/Betriebsberechnung.",
    "application_valid wird im nativen eligible-Pfad nicht verknüpft; die Gesamtbedeutung des Outputs muss vor App-Übernahme geklärt werden."
  ],
  "output_contract_note": "decision liefert eligible, violations, Kategorien mit Tagesgrenzen, application_valid und Prämienband-Indikationen; keine ausgezahlte Betriebsgesamtprämie. eligible wird aus Kategorien/violations gebildet und verknüpft application_valid im Code nicht. Fehlende Angaben können als false/0 und damit als Verletzung erscheinen; keine einheitliche Missing-Data-Semantik.",
  "query": "data.oepul.o6_20.decision",
  "references": [
    {
      "detail": "Nativer Package-/Querypfad und tatsächlich konsumierte Eingabefelder; keine neue fachliche Regel hinzugefügt.",
      "path": "runs/v2-o6_20-luna-high-20261005/workspace/policy/o6_20.rego"
    },
    {
      "detail": "Herkunft der synthetischen Entwicklungsbasis und Modelltest-Beispiele zu Mindest-/Grenzwertreaktionen; keine unabhängige Sollreferenz.",
      "path": "runs/v2-o6_20-luna-high-20261005/workspace/tests/o6_20_test.rego"
    },
    {
      "detail": "Historischer Datenkatalog für die vorhandenen Kategorien, Tabellen, Prämien und/oder Kombinationen.",
      "path": "runs/v2-o6_20-luna-high-20261005/workspace/data/o6_20_categories.json"
    },
    {
      "detail": "Vom historischen Kandidaten dokumentierte Eingabe-, Quellen- und Auslegungsgrenzen.",
      "path": "runs/v2-o6_20-luna-high-20261005/workspace/notes/assumptions.md"
    }
  ],
  "run_id": "v2-o6_20-luna-high-20261005"
}
