IB-WP-0016-T04: trading-literature profile

Ship a specialized profile for trading memoirs and market-structure
texts. The profile names eight entity categories (trader, market,
strategy, error, psychological_pattern, institution, instrument,
evidence_bearing_claim), five relation types (cause_effect,
lesson_evidence, risk_mitigation, actor_venue, strategy_outcome), and
four evaluation criteria (groundedness, lesson_clarity,
historical_context, overgeneralization_risk). Each is reflected in the
prompts and contracts so the LLM is steered toward operator-level
findings rather than biographical detail or moralising.

The generic profile remains the default. A 2-chapter Lefevre smoke run
with --profile trading-literature completes end-to-end with viable
metrics; 93 tests pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 18:59:45 +02:00
parent ba8c0a100c
commit df87e212a2
13 changed files with 502 additions and 1 deletions

View File

@@ -48,6 +48,23 @@ infospace-bench generate status ./infospaces/book-space
shows chunk counts, generated artifact counts, evaluations, metrics, history,
and stale source/profile inputs.
### Profiles
Two profiles ship today:
- `general-knowledge` — durable concepts, claims, methods, people,
places, works, and objects across any source
- `trading-literature` — trading memoirs and market-structure texts;
tunes entity categories (`trader`, `market`, `strategy`, `error`,
`psychological_pattern`, `institution`, `instrument`,
`evidence_bearing_claim`), relation types (`cause_effect`,
`lesson_evidence`, `risk_mitigation`, `actor_venue`,
`strategy_outcome`), and evaluation criteria (`groundedness`,
`lesson_clarity`, `historical_context`, `overgeneralization_risk`)
Select via `--profile trading-literature` on `generate init` or
`generate from-source`. The generic profile remains the default.
### Scale-aware plan
`generate plan` returns a compact estimate by default — counts of selected