Round 158

Round UUID: 92ae3dd3-344e-4ca0-b37e-b8cc5d6c2871

Prompt:

Determine if the coral reef is 'Healthy' or 'Stressed'. Apply rules in order.

1.  **Severe Stress:** If `ReefIntegrityScore` is 'Very Poor' or 'Poor', predict 'Stressed'.
2.  **Past Stress:** If `PreviousStressIncidents` is 'Moderate' or 'Severe', predict 'Stressed'.
3.  **Excellent/Good Reef Health/Stress Check:** If `ReefIntegrityScore` is 'Excellent' or 'Good':
    *   a. If `PollutionLevel` is 'High' AND `BleachingEventsPerYear` is 'Constant' AND `CurrentFlowQuality` is 'Poor', predict 'Stressed'.
    *   b. If `PollutionLevel` is 'Critical' OR `AlgalCoverage` is 'Heavy' OR `AlgalCoverage` is 'Extensive', predict 'Stressed'.
    *   c. Otherwise (if none of the above 'Stressed' conditions for Excellent/Good apply), predict 'Healthy'.
4.  **Moderate Integrity Check - Presume Stressed unless proven Healthy:** If `ReefIntegrityScore` is 'Moderate':
    *   a. **Exception for Health:** Predict 'Healthy' ONLY IF one of the following is true:
        *   i. (`PollutionLevel` is 'Low' OR `PollutionLevel` is 'Moderate') AND (`BleachingEventsPerYear` is 'Rare' OR `BleachingEventsPerYear` is 'Occasional') AND (`AlgalCoverage` is 'Minimal' OR `AlgalCoverage` is 'Sparse') 
        *   ii. (`ReefAverageAge` >= 40 AND (`PredatorActivityLevel` is 'Low' OR `PredatorActivityLevel` is 'None' OR `PredatorActivityLevel` is 'Moderate Low'))
    *   b. **Otherwise (Default for Moderate Integrity):** Predict 'Stressed'.

5.  **Default:** If no rule applied (e.g. missing integrity), predict 'Stressed'.