Round 204

Round UUID: 6ea771d7-bae3-4fec-aa06-06963344c775

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 OVERRIDE (new – always evaluated first)
0. Structural‑flow shield
   If ReefIntegrityScore = Excellent AND 
      CurrentFlowQuality ∈ {Fair, Good, Excellent} AND 
      PollutionLevel ≠ Critical AND 
      PredatorActivityLevel ≠ Catastrophic   
      → Healthy
   (Rationale: a reef that is in excellent structural condition and is not facing catastrophic predation or critical pollution is considered sufficiently resilient even if some stress signals are present.)

IMMEDIATE STRESS RULES
1. Hydrodynamic‑Bleach overload (unchanged)
   If CurrentFlowQuality = Poor AND BleachingEventsPerYear ∈ {Constant, Frequent} AND ReefIntegrityScore ≠ Excellent → Stressed

2. Critical pollution (needs corroboration)
   If PollutionLevel = Critical AND  
      (BleachingEventsPerYear ∈ {Constant, Frequent} OR
       DistantStressIndicators = Confirmed OR
       ReefIntegrityScore ∈ {Poor, Very Poor} OR
       PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic})
   → Stressed

3. Predator surge (unchanged)
   If PredatorActivityLevel = Severe OR Catastrophic AND  
      (BleachingEventsPerYear ∈ {Constant, Frequent} OR
       PollutionLevel ∈ {High, Critical} OR
       DistantStressIndicators = Confirmed)
   → Stressed

4. Bleaching‑plus combo (tightened)
   If BleachingEventsPerYear ∈ {Constant, Frequent} AND at least TWO of the following conditions are present  →  Stressed
      • PollutionLevel ∈ {High, Critical}
      • DistantStressIndicators = Confirmed
      • PredatorActivityLevel ∈ {Moderate High, High, Severe, Catastrophic}

STRUCTURAL INTEGRITY RULES
5. Structural collapse (unchanged)
   If ReefIntegrityScore = Very Poor → Stressed

6. 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
7. If PollutionLevel = High AND DistantStressIndicators = Confirmed AND ReefIntegrityScore ∈ {Poor, Very Poor} → Stressed

MULTI‑RISK ACCUMULATION RULE
8. 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
9. 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 3, 4, 6 or 8).
• 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.
• 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.