Repository navigation
Balance and novelty: diversified analyst selection, Copernicus reservation, place-named flare fields, new/stopped flares - #7
Merged
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017KN8pr3M1ayKPTNRcNSc2D
…sub-caps Analyst select(): narrations awaiting review first, then a round-robin across rule.name taking each rule's most novel confirmed-unnarrated finding (baseline ratio x rule boost: flaring new_flare x2, forest ha/minHa, methane deltaPpb/minAnomalyPpb, fires detections/minDetections; ties observedAt desc, id). Chosen order + scores are logged and journaled (analyst_selection). Quota: EARTHDECK_MAX_<PROVIDER>_CALLS_<RULE> sub-caps inside a provider cap, default METHANE_ANOMALY cdse 10, persisted per day in quota.json. Enforced in the kernel's per-rule call wrapper and pair gating, so methane is skipped quota:cdse at its sub-cap while forest confirmations keep the remaining CDSE budget. infra: EARTHDECK_MAX_CDSE_CALLS_METHANE_ANOMALY=10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017KN8pr3M1ayKPTNRcNSc2D
…ares - discover: flare fields and methane basins are named after the county/state/country around their centroid (Nominatim reverse, zoom 8, admin levels only — never a facility, operator or person; <= 1 req/s, <= 120 per run, cached in watchlists/generated/_places.json). "Flare field near Ramshir, Khuzestan (Iran) — 44 registered sites", "Oil & gas basin: Central Sub-basin - West Siberia, Russia". Ids and boxes unchanged. `--only` keeps the other lists in _summary.json. geo.ts: reverseGeocode + parse/label helpers. - flaring tool (method 1.1): per-cluster `novel` (no VNF site within 2 km in the latest AND previous year), vnf.previous, vnf.newClusters, vnf.stopped (registered sites >= 0.05 BCM with zero night detections within 2 km in the window; nothing claimed when the box had no night detection at all). - flaring rule: a new cluster heads the case — "New flaring near <place>", values.new_flare = 1, tag new-flare; VNF matches elsewhere no longer confirm it (revisit only). - flaring_stopped@1.0 (first positive case type): "Flaring stopped at N registered sites near <place>", values.stopped_sites / stopped_bcm, tag improvement, good-news summary, blind spots (cloud, sensor gaps, seasonal shutdown); confirmed when the next consecutive window is dark at the same sites. Shares the detect-time FIRMS pull with `flaring` within a sweep. - Candidate.tags added; the kernel does not yet merge them into the finding's aoi.tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017KN8pr3M1ayKPTNRcNSc2D
…the sweep call so flaring rules share one FIRMS pull Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017KN8pr3M1ayKPTNRcNSc2D
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.
flaring: new flares (no registry match) flagged and titled as such; new ruleflaring_stopped: registered sites gone dark → the first positive case type (tagimprovement), confirmed by a second dark window🤖 Generated with Claude Code
https://claude.ai/code/session_017KN8pr3M1ayKPTNRcNSc2D