Round UUID: b0c613b8-f5a0-44f1-86d2-404f86ab93b7
Prompt:
Task: Decide whether the reef described in the incoming JSON‑like record is "Healthy" or "Stressed". Apply the following deterministic rule set IN THE EXACT ORDER GIVEN (stop at the first rule whose criteria are met). ======================== HEALTHY RESILIENCE OVERRIDES (evaluate FIRST) ------------------------ 0. Structural‑flow shield (unchanged) If ReefIntegrityScore = Excellent AND CurrentFlowQuality ∈ {Fair, Good, Excellent} AND PollutionLevel ≠ Critical AND PredatorActivityLevel ≠ Catastrophic → Healthy 1. Flow‑compensation for deteriorated structure (unchanged) If ReefIntegrityScore = Very Poor AND CurrentFlowQuality = Excellent AND BleachingEventsPerYear ∈ {Rare, Occasional} AND PollutionLevel ∈ {Low, Moderate} AND PredatorActivityLevel ∈ {None, Low, Very Low, Moderate Low} → Healthy 2. Pristine‑exchange exception (TIGHTENED) If CurrentFlowQuality = Excellent AND ReefIntegrityScore ∈ {Moderate, Good} AND PollutionLevel ∈ {Low, Moderate} AND PredatorActivityLevel ∈ {None, Low, Very Low, Moderate Low} AND BleachingEventsPerYear ∈ {Rare, Occasional} AND DistantStressIndicators ≠ Confirmed → Healthy (Rationale: only reefs enjoying superb water exchange AND an absence of ALL major red‑flag signals are given the automatic Healthy label.) ======================== IMMEDIATE STRESS RULES ------------------------ 3. Hydrodynamic‑Bleach overload (unchanged) If CurrentFlowQuality = Poor AND BleachingEventsPerYear ∈ {Constant, Frequent} AND ReefIntegrityScore ≠ Excellent → Stressed 4. Confirmed remote stress with local trigger (NEW) If DistantStressIndicators = Confirmed AND (PollutionLevel ∈ {High, Critical} OR PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic} OR BleachingEventsPerYear ∈ {Constant, Frequent} OR CurrentFlowQuality = Poor) → Stressed 5. Critical pollution (needs corroboration) (unchanged numbering shifted +1) If PollutionLevel = Critical AND (BleachingEventsPerYear ∈ {Constant, Frequent} OR DistantStressIndicators = Confirmed OR ReefIntegrityScore ∈ {Poor, Very Poor} OR PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic}) → Stressed 6. Predator surge (unchanged) If PredatorActivityLevel = Severe OR Catastrophic AND (BleachingEventsPerYear ∈ {Constant, Frequent} OR PollutionLevel ∈ {High, Critical} OR DistantStressIndicators = Confirmed) → Stressed 7. Bleaching‑plus combo (unchanged) If BleachingEventsPerYear ∈ {Constant, Frequent} AND at least ONE of the following conditions is present → Stressed • PollutionLevel ∈ {High, Critical} • DistantStressIndicators = Confirmed • PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic} 8. Flow‑pollution choke (REFINED) If PollutionLevel = High AND CurrentFlowQuality ∈ {Fair, Poor} AND ReefIntegrityScore ∉ {Good, Excellent} → Stressed ======================== STRUCTURAL INTEGRITY RULES ------------------------ 9. Structural collapse (unchanged) If ReefIntegrityScore = Very Poor → Stressed 10. Compromised integrity combo (unchanged) If ReefIntegrityScore = Poor AND at least TWO of the following conditions are present → Stressed • PollutionLevel ∈ {Moderate, High, Critical} • DistantStressIndicators ∈ {Possible, Confirmed} • CurrentFlowQuality ∈ {Fair, Poor} • BleachingEventsPerYear ∈ {Frequent, Constant} • PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic} ======================== TARGETED COMBINATION RULE ------------------------ 11. If PollutionLevel = High AND DistantStressIndicators = Confirmed AND ReefIntegrityScore ∈ {Poor, Very Poor} → Stressed ======================== MULTI‑RISK ACCUMULATION RULE ------------------------ 12. Count how many of the following MODERATE risk signals are present (each counts 1 point): a) PollutionLevel = High b) BleachingEventsPerYear = Constant OR Frequent c) DistantStressIndicators = Confirmed d) PredatorActivityLevel = Moderate High OR High OR Catastrophic e) ReefIntegrityScore = Poor OR Very Poor f) CurrentFlowQuality = Poor g) PreviousStressIncidents = Moderate • If CurrentFlowQuality = Poor AND count ≥ 3 → Stressed • Otherwise, if count ≥ 4 → Stressed ======================== DEFAULT RULE ------------------------ 13. If none of the above rules fired → Healthy ======================== NOTES & DEFINITIONS (follow strictly) ------------------------ • Treat "Very Low" and "Moderate Low" predator levels as LOW (they do NOT count for rules 4, 6, 7, 10 or 12). • Treat "Moderate High" predator level the same as "High"; treat "Catastrophic" the same as "Severe". • "Occasional" or "Rare" bleaching do NOT by themselves create risk points (except inside rule 1 and as allowed in rule 2). • Do NOT use AlgalCoverage, NearbyHealthyReef, RemoteSensorPresent, SurveyorExperience or InvasiveSpeciesDetected in your decision; they are considered unreliable indicators. • Output exactly one of the two labels: Healthy or Stressed (case sensitive, nothing else). Once you have applied the rules, output the chosen label on its own line.