Files
infospace-bench/tests/fixtures/lefevre/sources/chapter1.xhtml
tegwick 348deca9f2 IB-WP-0016-T05: deterministic Lefevre acceptance fixture
Check in a small Lefevre-shaped EPUB fixture as separate source files
under tests/fixtures/lefevre/sources/ (container.xml, OPF, nav, cover,
PG header, three roman-numeral chapters with page anchors,
transcriber notes, license, PG footer). The test helper assembles
these into an EPUB at test time so the inputs stay inspectable in git.

Fixture responses tuned to the trading-literature profile (T04) live
at tests/fixtures/lefevre/responses.yaml: trader / institution /
strategy categories on entities, strategy_outcome / actor_venue
relation types, and all four trading-tuned evaluation criteria.

Three tests cover the acceptance:
- end-to-end Python pipeline: stable chapter-NN source slugs, full
  artifact tree (entities, relations, evaluations, metrics, history,
  generation report), budget registry persisted, chapter_number
  provenance round-trips through artifacts/index.yaml
- regression: PG boilerplate (cover, nav, header, notes, license,
  footer) is excluded by default and only appears under
  include_non_body=True
- CLI smoke through generate from-source --profile trading-literature
  --fixture-responses ...

125 tests pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 22:31:17 +02:00

22 lines
834 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>Reminiscences of a Stock Operator (Fixture)</title></head>
<body>
<h2>I</h2>
<p>
<span id="Page_1">1</span>
The narrator takes his first job as a quotation-board boy at a stock
brokerage off the New York Stock Exchange. He is quick with figures
and watches the tape behaviour of stocks like Hollow Tube and Erie,
keeping a small book of hits and misses to test his memory against
the next day's quotations.
</p>
<p>
<span id="Page_2">2</span>
He learns, in the bucket shops that dotted the city in those years,
that anticipating price movements is a craft built on observation of
tape behaviour, not on tips from customers crowded around the
ticker.
</p>
</body>
</html>