Skip to content

Balance and novelty: diversified analyst selection, Copernicus reservation, place-named flare fields, new/stopped flares - #7

Merged
marcoloco23 merged 6 commits into
mainfrom
worktree-earth-watch-m3
Sep 26, 2026
Merged

marcoloco23 merged 6 commits into
mainfrom
worktree-earth-watch-m3

Conversation

@marcoloco23

Copy link
Copy Markdown
Owner
  • Analyst picks by rule round-robin + novelty score (AOI/ring ratio, new-flare ×2, size vs threshold) instead of list order; selection journaled
  • Per-rule provider sub-caps (methane_anomaly ≤ 10 Copernicus calls/day) so forest confirmations keep their budget
  • Discovery names flare fields and basins by place (county/state/country only — never operators); ids unchanged
  • flaring: new flares (no registry match) flagged and titled as such; new rule flaring_stopped: registered sites gone dark → the first positive case type (tag improvement), confirmed by a second dark window
  • Kernel: candidate tags reach the case; per-rule call wrappers share one FIRMS pull

🤖 Generated with Claude Code

https://claude.ai/code/session_017KN8pr3M1ayKPTNRcNSc2D

marcoloco23 and others added 6 commits September 26, 2026 23:38
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
@marcoloco23
marcoloco23 merged commit 8335a08 into main Sep 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant