Round 160

Round UUID: f9b6a6ff-4a0c-47da-b99e-2d3cec43261b

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' OR `AlgalCoverage` is 'Moderate' OR (`CurrentFlowQuality` is 'Fair' AND `DistantStressIndicators` is 'Confirmed') OR `BleachingEventsPerYear` is 'Constant' OR `PredatorActivityLevel` is 'Severe' OR `PredatorActivityLevel` is 'High', 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. (`CurrentFlowQuality` is 'Good' OR `CurrentFlowQuality` is 'Excellent' OR `CurrentFlowQuality` is 'Fair') AND (`PollutionLevel` is 'Low' OR `PollutionLevel` is 'Moderate') AND (`BleachingEventsPerYear` is 'Rare' OR `BleachingEventsPerYear` is 'Occasional' OR (`BleachingEventsPerYear` is 'Frequent' AND `PollutionLevel` is 'Low')) AND (`AlgalCoverage` is 'Minimal' OR `AlgalCoverage` is 'Sparse') 
        *   ii. (`ReefAverageAge` >= 40 AND (`PredatorActivityLevel` is 'Low' OR `PredatorActivityLevel` is 'None' OR `PredatorActivityLevel` is 'Moderate Low')) AND (`BleachingEventsPerYear` is 'Rare' OR `BleachingEventsPerYear` is 'Occasional')
        *   iii. (`CurrentFlowQuality` is 'Good' OR `CurrentFlowQuality` is 'Excellent') AND (`PollutionLevel` is 'Low' OR `PollutionLevel` is 'Moderate') AND (`BleachingEventsPerYear` is 'Rare' OR `BleachingEventsPerYear` is 'Occasional')
        *   iv. `CurrentFlowQuality` is 'Excellent' AND (`PollutionLevel` is 'High') AND (`AlgalCoverage` is 'Minimal' OR `AlgalCoverage` is 'Sparse') AND (`BleachingEventsPerYear` is 'Rare' OR `BleachingEventsPerYear` is 'Occasional')
    *   b. **Otherwise (Default for Moderate Integrity):** Predict 'Stressed'.

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