Round UUID: 97467d4d-cdb0-446c-a07e-387d3e1b341b
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. Excellent‑flow buffer (NEW) If CurrentFlowQuality = Excellent AND ReefIntegrityScore ∈ {Moderate, Good} AND PollutionLevel ≠ Critical AND PredatorActivityLevel ≠ Catastrophic → Healthy (Rationale: with flawless water exchange and at least moderate structure, reefs in this dataset remain classified as Healthy unless they face truly catastrophic pollution or predation.) ======================== IMMEDIATE STRESS RULES ------------------------ 3. Hydrodynamic‑Bleach overload (unchanged) If CurrentFlowQuality = Poor AND BleachingEventsPerYear ∈ {Constant, Frequent} AND ReefIntegrityScore ≠ Excellent → Stressed 3a. Sub‑optimal‑flow bleaching strain (NEW) If CurrentFlowQuality = Fair AND BleachingEventsPerYear = Constant AND ReefIntegrityScore ≠ Excellent → Stressed 4. Critical pollution (needs corroboration) (unchanged) If PollutionLevel = Critical AND (BleachingEventsPerYear ∈ {Constant, Frequent} OR DistantStressIndicators = Confirmed OR ReefIntegrityScore ∈ {Poor, Very Poor} OR PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic}) → Stressed 5. Predator surge (unchanged) If PredatorActivityLevel = Severe OR Catastrophic AND (BleachingEventsPerYear ∈ {Constant, Frequent} OR PollutionLevel ∈ {High, Critical} OR DistantStressIndicators = Confirmed) → Stressed 6. Bleaching‑plus combo (threshold relaxed – 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} 7. Flow‑pollution choke (unchanged) If PollutionLevel = High AND CurrentFlowQuality ∈ {Fair, Poor} → Stressed ======================== STRUCTURAL INTEGRITY RULES ------------------------ 8. Structural collapse (unchanged) If ReefIntegrityScore = Very Poor → Stressed 9. 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 ------------------------ 10. If PollutionLevel = High AND DistantStressIndicators = Confirmed AND ReefIntegrityScore ∈ {Poor, Very Poor} → Stressed ======================== MULTI‑RISK ACCUMULATION RULE ------------------------ 11. 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 ------------------------ 12. 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 5, 6, 9 or 11). • 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). • 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.