flag_infra_anomalies
Cross-references PhilGEPS infrastructure projects with PHIVOLCS earthquakes and PAGASA typhoon footprints to flag anomalies like duplicate titles, high cost without progress, or hazard overlaps for further review.
Instructions
Flag PhilGEPS infrastructure projects that warrant further review by cross-referencing PHIVOLCS earthquakes and PAGASA typhoon footprints.
This tool emits heuristic anomaly indicators, not accusations. Every flagged item ships with the rule that fired and a disclaimer noting that patterns may have legitimate explanations.
Heuristic rules:
duplicate_titles_same_agency: same agency files multiple notices with effectively identical titles (case-insensitive) within the window
high_cost_no_published_progress: cost_php exceeds min_cost_php. The PhilGEPS open listing publishes no progress data for ANY notice, so this is a cost-threshold transparency flag, not a project-specific "progress is missing" finding.
hazard_overlap: project location keywords overlap with a recent PHIVOLCS earthquake (>=M4.0 in last 30d) or an active PAGASA typhoon footprint, suggesting urgency or post-disaster reconstruction context
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | PH region filter for the project list. | |
| province | No | Province filter (partial match). | |
| min_cost_php | No | Threshold for the high_cost_no_published_progress rule (default 50,000,000 PHP). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||