Repository navigation
feat(scoring): severity anchors measured again on ms:modis.ba.poly - #764
Merged
Merged
Conversation
) frp_floor_mw_per_ha 0.08 -> 0.06 and frp_saturation_mw_per_ha 0.88 -> 1.61: the 10th and 90th percentile of the FRP density on 4,831 perimeters of ms:modis.ba.poly with detections inside, fires from 2016-05-22 to 2025-12-28. Before: 2,419 perimeters of nrt.ba.poly, 2012-2024. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR moves numbers: merge it only if you accept the new values. It is based on #763 (the same computation, moved into limen-core) and will retarget to main when #763 is merged.
The two anchors of the post-fire severity ramp in
src/limen/config/hazards/landslide.yaml, measured again on the layer Limen now reads:frp_floor_mw_per_ha: 0.08 → 0.06 (p10 of the FRP density)frp_saturation_mw_per_ha: 0.88 → 1.61 (p90)What they rest on
ms:modis.ba.polywith at least one detection that counts, fires from 22 May 2016 to 28 December 2025.nrt.ba.poly, 2012-2024.How it was measured:
ms:modis.ba.polyloaded with Limen's ownrun_effis_syncon the 20 region boxes.fetch_archive_year.refresh_perimeter_frpfrom refactor(wildfire): the FRP of a perimeter from limen-core's seen_inside_all #763, then the query now written next to the values in the YAML.Limits
What it changes
The ramp gets longer and moves up. A burn that was "most severe" at 0.88 MW/ha now weighs (0.88 - 0.06) / (1.61 - 0.06) = 0.53. The post-fire factor F of the landslide score is lower for medium-intensity burns. Because the multiplier is ≤ 1 by construction, the severity can only soften an alarm, never create one. Every landslide measure that used the post-fire factor with a measured severity changes.
Epic
Part of #714 (wildfire)
Type of change
Verification
test_il_raster_corine_dallo_shapefile, which fails the same way on main in my local environment.ruff,mypyclean.Risk/scoring impact
Moves the post-fire factor of the landslide score. The landslide backtests that cross a measured burn must be rerun.
🤖 Generated with Claude Code