Round 2

Round UUID: fcdf2613-96ad-48ae-b602-279f32c7781e

Prompt:

CORAL REEF HEALTH ASSESSMENT RULES

Analyze the provided data for each coral reef and classify it as either "Healthy" or "Stressed" based on the following set of rules. Apply these rules in sequence.

PRIMARY INDICATORS (These take precedence):

1. If CurrentFlowQuality is "Poor" AND any of the following are true, classify as STRESSED:
   - BleachingEventsPerYear is "Frequent" or "Constant"
   - PollutionLevel is "High" or "Critical"
   - ReefIntegrityScore is "Poor"

2. If CurrentFlowQuality is "Excellent" AND ReefIntegrityScore is "Excellent" or "Good" AND BiodiversityIndex is "High" or "Very High", classify as HEALTHY.

SECONDARY INDICATORS (Apply if primary indicators don't yield a clear result):

3. If THREE OR MORE of these conditions are true, classify as STRESSED:
   - AlgalCoverage is "Extensive"
   - BleachingEventsPerYear is "Constant"
   - PollutionLevel is "Critical"
   - ReefIntegrityScore is "Poor"
   - CurrentFlowQuality is "Poor"
   - No NearbyHealthyReef present AND ReefMonitoringDuration is "< 1 year"

4. If THREE OR MORE of these conditions are true, classify as HEALTHY:
   - CurrentFlowQuality is "Excellent" or "Good"
   - AlgalCoverage is "Minimal" or "Sparse"
   - BiodiversityIndex is "High" or "Very High"
   - ReefIntegrityScore is "Good" or "Excellent"
   - ReefMonitoringDuration is "> 6 years"
   - ReefAverageAge is > 40

TERTIARY INDICATORS (If still undetermined):

5. If PredatorActivityLevel is "Severe" or "Catastrophic" BUT BiodiversityIndex is "High" or "Very High", classify as HEALTHY (predator presence can indicate a balanced ecosystem).

6. If AcousticIntensity is > 500 AND ReefDepthZone is "Shallow", classify as STRESSED (high acoustic intensity in shallow waters is problematic).

7. If ObservationDuration is > 100 AND SurveyorExperience is "Yes", give more weight to the reef's classification based on the primary indicators (experienced surveyors with longer observation time likely provide more accurate assessments).

DEFAULT RULE:

8. If none of the above rules provide a clear classification, evaluate the presence of positive vs. negative factors:
   - Count positive factors: Excellent/Good CurrentFlowQuality, Minimal/Sparse AlgalCoverage, High/Very High BiodiversityIndex, Good/Excellent ReefIntegrityScore
   - Count negative factors: Poor CurrentFlowQuality, Extensive AlgalCoverage, Constant/Frequent BleachingEventsPerYear, Critical/High PollutionLevel, Poor ReefIntegrityScore
   - If positive factors > negative factors, classify as HEALTHY
   - Otherwise, classify as STRESSED