SPB Git

spb/wp45_uqo

Public
3.2 KB · 21 lines markdown
1---2name: jof2503description: JoF-250 Writing Engine (UQO WP45) — draft, outline, upgrade, review and audit scholarly manuscripts (LaTeX/Markdown) using measured writing conventions from 276 pre-ChatGPT Journal of Finance articles. Use when the user asks to write or improve a paper section, get a referee report, audit tables/equations/citations, locate evidence for a claim, or inspect JoF writing profiles. Commands: /jof-status /jof-corpus-audit /jof-profile /jof-outline /jof-write /jof-review /jof-upgrade /jof-audit /jof-evidence /jof-benchmark.4---5# JoF-250 Writing Engine67Backing CLI: `/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250/.venv/bin/jof250` (Python 3.12 venv at `/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250/.venv`). Project root: `/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250`. Docs: `/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250/docs/USER_GUIDE.md`.89## What it does10- **Profiles** (`/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250/profiles/*.yaml`): measured distributions (medians, IQRs, n) of section lengths, abstract/introduction rhetorical moves, contribution placement, identification language, robustness and table conventions, built from the train split of the corpus. Descriptive, not prescriptive.11- **Retrieval** (`jof250 retrieve --topic "..."`): hybrid BM25 + local embeddings over structural annotations and ≤400-char excerpts; every hit carries provenance (doc_id, DOI, year, page, section, confidence). Full texts are never exposed.12- **Engine** (`jof250 write --paper P --section S --mode outline|write|upgrade --condition E_full_engine --output F`): inspects the manuscript (LaTeX with \input resolution, or Markdown), detects genre/subfield, selects a profile, retrieves rhetorical patterns, drafts, runs deterministic checks (numeric preservation, unknown citation keys, unsupported claims, corpus overlap) and a specialist-referee revision. Output = new file + `.report.md` (change log, flags, provenance, audit, diff). **The manuscript is never modified.**13- **Reviews** (`jof250 review --paper P --role referee|editor|table_editor|integrity|replication`), **audits** (`jof250 audit --paper P`), **evidence lookup** (`jof250 evidence --paper P --claim "..."`).1415## Rules for the assistant161. Always pass an explicit `--output` path under the user's paper folder (`jof250_proposals/`, `jof250_reviews/`) or `/tmp`; present proposals and diffs; apply changes only on explicit request.172. Read and relay the FLAGS and the deterministic audit; never present a generated number or citation as verified.183. For theory, methods or non-finance manuscripts, say which JoF conventions do not apply (the engine prints a genre note).194. API calls cost money (ledger: `/Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250/data/annotations/api_ledger.jsonl`; `jof250 status` shows spend). The benchmark command spends more: dry-run first.205. If the venv or index is missing, run `cd /Users/simon-pierreboucher/Desktop/UQO/Recherche/Recherche-UQO/methodes/wp45-jof250 && make install && make index` (see `docs/INSTALL.md`).21
Files · b2ea7cd3a41b72854950b87ea6b3044f01e8a3c2
Menu

Theme