generated from coulomb/repo-seed
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>
132 lines
2.6 KiB
YAML
132 lines
2.6 KiB
YAML
responses:
|
|
- stage_id: summarize-source
|
|
input_artifact_id: "*"
|
|
markdown: |
|
|
# Source Summary
|
|
|
|
The chapter follows the narrator's first encounters with quotation
|
|
boards, the New York Stock Exchange, and the bucket-shop circuit.
|
|
It establishes tape reading as the craft on which his later trades
|
|
are built.
|
|
- stage_id: extract-entities
|
|
input_artifact_id: "*"
|
|
markdown: |
|
|
# Larry Livingston
|
|
|
|
## Category
|
|
|
|
trader
|
|
|
|
## Definition
|
|
|
|
The first-person narrator, a young quotation-board boy turning
|
|
bucket-shop trader, modeled on Jesse Livermore.
|
|
|
|
## Context
|
|
|
|
Lefevre uses Livingston to dramatize the apprenticeship of a stock
|
|
operator across the chapter.
|
|
|
|
# Bucket Shop
|
|
|
|
## Category
|
|
|
|
institution
|
|
|
|
## Definition
|
|
|
|
A 1900s retail brokerage that took the other side of customer tape
|
|
bets without executing actual exchange orders.
|
|
|
|
## Context
|
|
|
|
The bucket shop is where the narrator earns and loses his first
|
|
stakes.
|
|
|
|
# Tape Reading
|
|
|
|
## Category
|
|
|
|
strategy
|
|
|
|
## Definition
|
|
|
|
Inferring price intent and momentum from the ticker tape rather
|
|
than from fundamental valuation.
|
|
|
|
## Context
|
|
|
|
The chapter frames tape reading as a learnable pattern skill, not
|
|
luck.
|
|
- stage_id: extract-relations
|
|
input_artifact_id: "*"
|
|
markdown: |
|
|
# Larry Livingston Practices Tape Reading
|
|
|
|
## Subject
|
|
|
|
Larry Livingston
|
|
|
|
## Predicate
|
|
|
|
practices
|
|
|
|
## Object
|
|
|
|
Tape Reading
|
|
|
|
## Relation Type
|
|
|
|
strategy_outcome
|
|
|
|
## Evidence
|
|
|
|
The narrator describes long hours reading the tape at the bucket
|
|
shop and the small book of hits and misses he keeps.
|
|
|
|
# Bucket Shop Hosts Larry Livingston
|
|
|
|
## Subject
|
|
|
|
Bucket Shop
|
|
|
|
## Predicate
|
|
|
|
hosts
|
|
|
|
## Object
|
|
|
|
Larry Livingston
|
|
|
|
## Relation Type
|
|
|
|
actor_venue
|
|
|
|
## Evidence
|
|
|
|
The narrator's first profits come from trading inside a bucket
|
|
shop.
|
|
- stage_id: evaluate-entity
|
|
input_artifact_id: "*"
|
|
markdown: |
|
|
---
|
|
artifact_id: entity/larry-livingston.md
|
|
evaluator: fixture
|
|
evaluated_at: '2026-05-17T00:00:00'
|
|
scores:
|
|
- name: groundedness
|
|
value: 4.0
|
|
max_value: 5.0
|
|
- name: lesson_clarity
|
|
value: 4.0
|
|
max_value: 5.0
|
|
- name: historical_context
|
|
value: 4.0
|
|
max_value: 5.0
|
|
- name: overgeneralization_risk
|
|
value: 4.0
|
|
max_value: 5.0
|
|
---
|
|
|
|
# Evaluation: entity/larry-livingston.md
|