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

@@ -0,0 +1,35 @@
id: trading-literature
name: Trading Literature
description: |
Infospace generation profile for trading memoirs, market-structure texts,
and operator narratives. Tunes entity, relation, and evaluation prompts
for traders, markets, strategies, errors, psychological patterns,
institutions, instruments, and the lessons drawn from them.
terminology:
source_chunk: Chapter or chapter-part of a trading memoir or market-structure text
entity: Trader, market, strategy, error pattern, psychological habit, institution, instrument, or evidence-bearing claim
relation: Typed link between two trading-literature entities (cause/effect, lesson/evidence, risk/mitigation, actor/venue, strategy/outcome)
entity_categories:
- traders
- markets
- strategies
- errors
- psychological_patterns
- institutions
- instruments
- evidence_bearing_claims
relation_categories:
- cause_effect
- lesson_evidence
- risk_mitigation
- actor_venue
- strategy_outcome
granularity:
default: |
Prefer durable trading concepts and operator-level lessons over biographical
detail or stock-price trivia. Each entity should be reusable across chapters.
evaluation_criteria:
- groundedness
- lesson_clarity
- historical_context
- overgeneralization_risk