ai-cfia / ai-cfia/insect-project

bug: spotted lanternfly observation 385373720 missing from daily reports

未關閉
#54 0 則留言 0 個 reaction 已指派 1 人 已被 @k-allagbe 認領 在 GitHub 檢視
主要語言
Python
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

# Context

- Problem: A user reports that iNaturalist observation https://www.inaturalist.org/observations/385373720 (spotted lanternfly, on the target species watchlist, Ontario) does not appear in the daily report for 2026-07-26 (its posted date) nor the following day. The observation's *observed* date is listed as roughly a year before its posted date.

# Repro & Outcome

- Current: Observation absent from the 2026-07-26 and 2026-07-27 daily reports.
- Expected: Observation appears in the report for the day it was posted.
- Steps: Fetch observations for `created_on=2026-07-26` with the watchlist taxon ids and the CA area, and check whether id 385373720 is returned.

# Investigation notes

- `src/observations.py:42-57` filters on `created_d1`/`created_d2`/`created_on`, i.e. the posted date, so an old *observed* date should not by itself exclude it — worth confirming against the live API.
- Other candidates to check: whether the spotted lanternfly taxon id is actually in the configured watchlist, whether the observation falls inside the CA bounding box in `src/settings.py:53`, and whether any downstream filter (quality grade, dedup, report rendering) drops it.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。