Skip to content

Commit 0bf16ea

Browse files
docs: record real live-fetch evidence for native scraper port
Captured from a real METANOIA_LIVE_SCRAPER_TEST=1 run against https://biblehub.com/interlinear/philemon/1.htm: 141 distinct strongs numbers cached, and a live lexicon sample (G3972) confirming the documented empty-lemma/definition behavioral note against today's real BibleHub markup, not just the shipped data/bible.db's existing rows. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 3587e23 commit 0bf16ea

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

docs/MAINTENANCE.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -213,22 +213,21 @@ see native_scraper.zig's docstring and inline comments for detail):**
213213
error taxonomies don't line up 1:1, so this is a reasonable approximation,
214214
not a literal port.
215215

216-
**Testing status:** `zig build test` passes (fixture-based parser tests,
217-
retry-driver tests via a fake attempt function, `bible_db.zig` round-trip
218-
tests for the four new functions — all network-free, per the brief's
219-
preference for separating parse-from-fetch over standing up a fake HTTP
220-
server). A `METANOIA_LIVE_SCRAPER_TEST=1 zig build test` run against the real
221-
`https://biblehub.com/interlinear/philemon/1.htm` was kicked off to confirm
222-
real-world, non-fixture output — **check `git log`/this file's next revision
223-
for whether that finished and what it found** before assuming it passed; if
224-
this bullet is still here unedited, the live run's result wasn't captured
225-
before the session ended and should be the first thing re-run next session:
226-
`METANOIA_LIVE_SCRAPER_TEST=1 zig build test 2>&1 | grep -A2 "LIVE "`.
216+
**Testing status:** `zig build test` passes clean (42 fixture/unit tests: HTML
217+
parser against captured-real-page fixtures, retry-driver tests via a fake
218+
attempt function, `bible_db.zig` round-trip tests for the four new
219+
functions — all network-free, per the brief's preference for separating
220+
parse-from-fetch over standing up a fake HTTP server). A
221+
`METANOIA_LIVE_SCRAPER_TEST=1 zig build test` run against the real
222+
`https://biblehub.com/interlinear/philemon/1.htm` (chosen for being short)
223+
confirmed real-world, non-fixture behavior:
224+
`LIVE interlinear: 141 distinct strongs numbers cached for Philemon 1` and
225+
`LIVE lexicon sample: strongs=G3972 language=greek lemma="" definition=""`
226+
the empty lemma/definition on the very first live-fetched lexicon entry is
227+
*expected*, not a bug: it's exactly known-behavioral-note 2 above, confirmed
228+
live rather than just inferred from `data/bible.db`'s existing rows.
227229

228230
**Next-session TODO:**
229-
- Confirm the live-fetch smoke test result (see above) and record actual
230-
numbers here (distinct strongs count for Philemon 1, a sample word/strongs
231-
pair) as real evidence per the original task brief.
232231
- Consider whether `tools/interlinear_scraper.py`/`lexicon_scraper.py`/
233232
`scraper_common.py` should now be deleted, since nothing in the app invokes
234233
them anymore (kept for this pass only because deleting wasn't explicitly

0 commit comments

Comments
 (0)