SPB Git

Repository Public Research preview

14 entries at the root
History

Latest commit docs(readme): keep live counters in badges only, so the generated block is stable 9e34e4c

NameLast commitUpdated
code FIRC0002 Stage E exhibits (Agent 9): every table fragment fits the text block without scaling...
data FIRC0002-ECON-01 EDIT-01 ECON-02 ADVE-09 THEO-08 EDIT-10 DATA-04 (L3), EDIT-08 THEO-16 DATA-12...
docs README: series banner, metric badges, peer-review scorecard and links to the reviewed branch
figures FIRC0002 Stage E exhibits (Agent 9): every table and figure rebuilt to the Part X standard —...
paper Stage G: final build of the revised manuscript (92 pages)
results FIRC0002 Stage F NB-01..11 (verifier's non-blocking items): VW-weight universes made explicit,...
scripts FIRC0002 Stage F NB-01..11 (verifier's non-blocking items): VW-weight universes made explicit,...
tests FIRC0002-ECON-01 EDIT-01 ECON-02 ADVE-09 THEO-08 EDIT-10 DATA-04 (L3), EDIT-08 THEO-16 DATA-12...
.gitignore FIRC0002-DATA-01 ECON-04 EDIT-02 ADVE-04 AI_C-02 LITE-04 THEO-01 (L1): Table 17 refit, explicit...
AI-Disclosure-Stock-Returns_WP0002_v2.0_2026-10-28.docx FIRC-0002 v2.0 (2026-10-28): Russell 3000 extension of 'Does the Language of AI Move Markets?' —...
AI-Disclosure-Stock-Returns_WP17_v1.1_2026-10-26.docx FIRC-0002 v2.0 (2026-10-28): Russell 3000 extension of 'Does the Language of AI Move Markets?' —...
README.md docs(readme): keep live counters in badges only, so the generated block is stable
requirements.lock FIRC0002-ECON-01 EDIT-01 ECON-02 ADVE-09 THEO-08 EDIT-10 DATA-04 (L3), EDIT-08 THEO-16 DATA-12...
requirements.txt harmonisation standard UQO WP (2026-10-17)
README.md View source

UQO Working Paper No. 0002 (FIRC) — Does the Language of Artificial Intelligence Move Markets?

peer review: completed ✓ review score: 52.4 → 64.2 / 100 gain: +11.8 pts integrity: PASS reproducibility: R2 · partially reproduced maturity: grade B referee reports: 7 review items addressed: 110

version: 2.1 · November 2026 pages: 92 figures: 17 tables: 37 numbered equations: 16 references: 76 words: 38 900

revised branch: review-20261103 @ cb0ef5f review commits: 0 ahead of main commits on main: 27 files: 405 LaTeX: 98 files Python: 50 files Shell: 2 files UQO: Sciences administratives

📄: Revised manuscript (PDF) 🔍: Review branch 🧾: Revision commits

📈 In one sentence (revised, peer-reviewed version 2.1) — Measures AI language in the 10-K, 10-Q and 8-K filings of 2,375 U.S. firms with sentence embeddings and relates it to look-ahead-free forward returns over 27,354 firm-years: the Fama–MacBeth slope is +1.88 points per standard deviation (CI [+0.27, +3.49]) but the quintile spread of +3.9 points per year has an interval covering zero, the post-ChatGPT increase appears only among the largest thousand firms and the 2024 cohort, and every level is conditional on survival to October 2026.

# 🔬 Peer review at a glance

This paper went through the full multi-referee review of the UQO working-paper series: 7 independent referee reports, 110 review items, an editorial decision (major revision), re-execution of the analysis, a complete revision of text, figures and tables, and an independent verification before sign-off. The revised manuscript and every change live on the branch review-20261103 of this repository (0 commits ahead of main, head cb0ef5f, 2026-11-05).

Review scores before and after revision

Dimension Submitted Revised Δ
Originality 60.3 60.0 -0.3
Rigor 46.9 66.0 +19.1
Identification 47.9 58.0 +10.1
Data & reproducibility 45.7 60.0 +14.3
Robustness 57.3 74.0 +16.7
Writing 67.6 70.0 +2.4
Figures & tables 47.1 78.0 +30.9
Literature 60.7 72.0 +11.3
Weighted total 52.4 64.2 +11.8

Scientific integrity: PASS · Reproducibility: R2 · partially reproduced · Maturity: grade B

# What the review changed

Peer review led the authors to rebuild the market-capitalization variable, clean the return series against a second price source and replace independence-based inference with dependence-robust inference. The thesis was weakened to what the corrected evidence supports: a modest premium robust in regression form only, a post-launch increase confined to the largest firms and one cohort, and several withdrawn claims.

  • Equal-weighted quintile spread: +5.5 points per year on raw returns → +3.9 on winsorized returns, 95% CI [−0.8, +8.6]
  • Value-weighted spread: +13.9 points → +7.4 on the corrected capitalization; the earlier figure was an artefact of mis-stated share counts and the narrative built on it is withdrawn
  • Large-versus-small difference of the post-launch increase: now tested formally, +10.8 points that does not reject equality (two-way t = 1.55), with the large-cap increase resting on the 2024 cohort
  • Event study: size gradient under one benchmark → t = 3.02 under the single-index model, 0.52–1.38 under four other benchmarks
  • Hypothesis verdicts: the cross-sectional-association hypothesis (H4) recorded as supported → not supported, because the corrected event-time profile shows no positive post-launch shift; the size hypothesis recorded as rejected → contrast cannot reject equality in either direction
  • Measurement: encoder truncation undocumented → 94.8% of chunks exceed the encoder window, which reads about 195 of 512 words

# Limitations stated in the revised paper

  • Survivorship: the universe is the October 2026 fund holdings; the selection was measured but not removed, every level is biased upward and the sign of the bias on the spread is unknown.
  • The encoder read only the opening of each passage, and no human-coded validation exists for either the embedding score or the project extraction.
  • The post-period is three annual cohorts; the large-cap increase rests on one of them and no post-period statistic survives a multiple-testing adjustment.
  • The designs establish associations and their timing; no design identifies a causal effect of disclosure on returns.

# Where to find the reviewed material

What Where
Revised manuscript (PDF, 92 pages) docs/paper_v1.1_sp500_20261026/main.pdf on review-20261103
Revised sources, code, figures and tables branch review-20261103
Commit-by-commit revision history review-20261103 commits
All branches (submitted main vs revised) branches

# 🏆 Headline results (revised version)

Result What it is
+1.88 pp per SD Fama–MacBeth slope of forward returns on the AI composite, winsorized returns, fifteen cohorts (Newey–West t = 2.41, interval [+0.27, +3.49]); +0.88 with sector dummies (t = 2.80); conditional on survival to October 2026
+3.9 pp/yr [−0.8, +8.6] equal-weighted top-minus-bottom quintile spread on winsorized returns (Newey–West t = 2.00); the median spread within cohort is +0.5 points, and the raw spread of +5.5 owes +2.5 points to the top one percent of returns
+2.4 pp (t = 0.36) pooled post-minus-pre ChatGPT difference in the Russell 3000 under two-way clustering; the 2022 cohort is negative, the 2022–24 block ranks no higher than a random three-cohort block (permutation p = 0.31), and the post-launch six-factor alpha is −0.3% per year
+3.1 → +12.7 pp winsorized spread among the largest thousand firms before and after the launch, entirely due to the 2024 cohort (+3.3 without it)
+10.8 pp (t = 1.83) large-versus-small contrast of the post-launch increase, firm-clustered (two-way t = 1.55, wild-cluster bootstrap p = 0.225) against a minimum detectable effect of 16.5 points: visible in the point estimates, not established by the test
3.02 → 0.52–1.38 dependence-robust t of the large-cap event-study gradient around ChatGPT under the single-index market model, and under four other benchmarks
+2.8 pp (t = 0.77) return difference of firms with at least one disclosed AI-initiative project, interval [−4.3, +9.9], minimum detectable effect 10.1 points, on a sparse measure whose precision has not been validated against human labels
📄 Abstract

We measure artificial-intelligence (AI) language in the Form 10-K, 10-Q and 8-K filings of 2,375 U.S. firms (current S&P 500 members and iShares Russell 3000 holdings, 2010–2026) by sentence-transformer similarity to anchor passages, and relate the filing-year signal to look-ahead-free forward returns over fifteen formation cohorts (27,354 firm-years). On winsorized returns the equal-weighted top-minus-bottom quintile spread is +3.9 percentage points per year (95% CI [−0.8, +8.6]) and the Fama–MacBeth slope +1.88 points per standard deviation (CI [+0.27, +3.49]): a modest premium, robust in regression form, fragile in sort form, and conditional on survival to October 2026. A post-ChatGPT increase appears only among the largest thousand firms and in the 2024 cohort; the large-versus-small contrast is insignificant (+10.8 points, t = 1.83) and the event-study gradient depends on the benchmark. Disclosed AI projects extracted by a language model show no detectable premium (minimum detectable effect 10.1 points).

🧩 Contributions
  • AI exposure measured from mandatory filings across three forms — Relative to measures built on workforce task content, earnings-call language or realized model usage, exposure is measured from the firm's own 10-K, 10-Q and 8-K filings for a Russell 3000 universe, and traced over fifteen look-ahead-free cohorts rather than over an event window.
  • An index result that does not generalize to the market — The post-launch premium documented in the S&P 500 replicates inside the new panel (winsorized spread from +3.8 to +13.2 points) but is confined to the largest thousand firms and one cohort; in the broad universe the post-launch spread is not distinguishable from the pre-launch one.
  • Language versus disclosed projects — A language-model count of disclosed AI, data-center, cloud and automation projects carries no detectable premium while the language does; the project null bounds the premium on the measure, not on projects.
  • What the embedding score does and does not measure — The encoder reads about 195 of the 512 words of a typical chunk, a keyword count correlates only 0.13 with the composite, and two electric utilities rank in the top dozen firms: the construct is proximity to a technology-and-infrastructure vocabulary rather than validated AI activity.
  • Discipline for regime claims on short post-event samples — Cohort-by-cohort and leave-one-out estimates, two-way clustering and wild-cluster bootstraps, permutation and sup-Wald break tests, multiple-testing adjustments across families, placebo launches and dependence-robust event-study inference under five benchmarks.
🗄️ Data
  • UQO EDGAR Research Database — 527,548 Form 10-K, 10-Q and 8-K filings of 2,499 issuers filed since January 2010, parsed into sections and 512-word chunks. The encoder was run with a 256-token window: 94.8% of sampled chunks are longer, so the score measures the opening of each passage.
  • Estimation panel — 27,354 firm-years for 2,375 firms over formation years 2010–2024, of which 6,719 firm-years belong to S&P 500 members; cohorts grow from 1,342 firms in 2010 to 2,374 in 2024. The universe is the union of the May 2026 S&P 500 membership and the IWV holdings of 23 October 2026, a current-membership proxy with survivorship.
  • Prices, shares and factors — Yahoo Finance prices, verified against a second licensed daily price source; market capitalization rebuilt from SEC XBRL share counts; Fama–French five factors, momentum and the risk-free rate from the Kenneth R. French data library; 17 archived IWV holdings files to measure survivorship.
  • SPID disclosed-project counts — Firm-year counts of technology projects and an indicator for at least one AI-initiative project, extracted from the same filings by a large-language-model reader; sparse (2.0% of firm-years contain an AI-initiative mention) and not validated against human labels.
⚙️ Methodology
  • Semantic scoring — Every chunk is embedded with the all-MiniLM-L6-v2 sentence transformer and scored by cosine similarity to written anchor passages defining three facets of AI engagement (internal adoption, infrastructure exposure, product-disruption risk) and five placebo concepts.
  • Look-ahead-free timing — The signal of filing year Y forms portfolios at the end of June of Y+1, and the forward twelve-month return runs from July of Y+1 to June of Y+2. The timing is look-ahead-free; the selection of the universe is not.
  • Sorts, factor spanning and regressions — Equal- and value-weighted quintile sorts on winsorized returns, six-factor spanning of the long–short portfolio, two-way fixed-effects panels and Fama–MacBeth regressions with within-sector estimators.
  • Break tests and tested contrasts — Permutation and sup-Wald break tests, a pooled high-AI × post × large interaction with minimum detectable effects, difference-in-differences with an event-time profile, multiple-testing adjustments and a specification curve.
  • Event study under five benchmarks — Abnormal returns around the ChatGPT launch under the single-index market model and under beta-only, market-adjusted, size-and-momentum-matched and six-factor calendar-time benchmarks, with dependence-robust inference and placebo launches.
  • Survivorship and construct-validity diagnostics — Archived index holdings measure the selection of the current-membership universe (61% of the smallest market-value tercile of May 2019 and 16% of the largest are absent from the 2025 membership); a keyword baseline and alternative anchor sets bound the vocabulary dependence of the score.
♻️ Reproducibility
  • The revised exhibits are produced by numbered scripts run in a fixed order, from the second price pass and the rebuilt panel to the core, extended, event-study and survivorship analyses, the figures, the tables and the number macros.
  • Every number quoted in the text is a macro generated from a results file or a table cell; a test regenerates the four results files in a scratch copy and compares them with the committed ones at a relative tolerance of 10⁻⁶, with all seeds fixed and a pinned environment.
  • The analysis panel and the files needed to regenerate every exhibit (about 420 MB) are documented by a SHA-256 manifest but not yet deposited in a public archive; until then the exhibits are reproducible by the authors from documented inputs and not by a third party.
  • The filing text and chunk embeddings stay in the research database and are not redistributed; the licensed price files are access-restricted and are needed only for the market-capitalization and verification steps.
  • The earlier S&P 500 versions of the paper are archived in the repository.

Keywords textual analysis · sentence embeddings · artificial intelligence · disclosure · cross-section of returns · Russell 3000 · firm size · event study · generative AI
JEL G12, G14, G17, M41, O33

# 📚 How to cite

bibtex
@techreport{kammoun2026firc2,
  author      = {Manel Kammoun and Djerrycharli Tandjambianda and Simon-Pierre Boucher},
  title       = {Does the Language of Artificial Intelligence Move Markets?: A Semantic Analysis of Russell 3000 SEC Filings and the Cross-Section of Stock Returns, 2010–2026},
  institution = {Université du Québec en Outaouais},
  type        = {UQO Working Paper No. 0002 (FIRC)},
  year        = {2026},
  note        = {Version 2.1, November 2026, revised after peer review},
  url         = {https://git.spboucher.ai/wp17_uqo}
}

ℹ️ Below: documentation of the main branch (the version submitted to review). Numbers and claims that the review corrected are superseded by the block above and by the branch review-20261103.


# 🧠 Does the Language of Artificial Intelligence Move Markets?

platform author

Python NumPy pandas statsmodels Matplotlib linearmodels LaTeX

commits last-commit activity language languages size branches tags license clones

Tracked files lines of code languages test files docs screenshots

# Figures

fig10 mag7
fig10 mag7
fig11 eventtime
fig11 eventtime
fig12 sector box
fig12 sector box
fig10 filing type
fig10 filing type
fig11 placebo breaks
fig11 placebo breaks
fig12 size groups
fig12 size groups

UQO Working Paper No. 0002 (FIRC-funded) — A Semantic Analysis of Russell 3000 SEC Filings and the Cross-Section of Stock Returns, 2010–2026 — **Version 2.1, November 2026 (revised after peer review; v2.0 of October 28, 2026 was the Russell 3000 extension of the S&P 500 study, formerly WP 17 v1.1, archived in docs/paper_v1.1_sp500_20261026/). Research funded by the FIRC (Fonds institutionnel de recherche et de création, UQO).

TL;DR (v2.1, revised after peer review) — We embed every Form 10-K, 10-Q and 8-K of 2,375 U.S. firms (current S&P 500 members ∪ iShares Russell 3000 holdings, 527,548 filings, 2010–2026) with a sentence transformer, score each chunk against AI anchor concepts, and link the filing-year signal to forward returns whose timing is look-ahead-free (July Y+1 → June Y+2) on a current-membership universe. In the broad market AI language carries a modest premium that is regression-robust and sort-fragile: winsorized Fama–MacBeth slope +1.88 pp/SD (NW t 2.41, CI [+0.27, +3.49]); winsorized EW Q5–Q1 +3.9 pp/yr (NW t 2.00, plain 1.78, CI [-0.8, +8.6]; median +0.5); every level conditional on survival to October 2026. The post-ChatGPT increase appears only among the largest 1,000 firms and in the 2024 cohort (winsorized +3.1 → +12.7, +3.3 without 2024; remaining firms +4.0 → +3.5); the tested large-vs-small contrast is +10.8 pp (t 1.83 firm / 1.55 two-way, wild p 0.225, MDE 16.5), and the event-study gradient (largest 1,000 CDA t 3.02 under the 2022 IWV market model) falls to 1.12 / 1.22 / 1.38 / 0.52 under beta-only / market-adjusted / size×momentum / FF5+MOM benchmarks. Disclosed AI projects (SPID, gpt-4o-mini extraction, unvalidated) show no detectable premium (any-AI contrast +2.8 pp, t 0.77, MDE 10.1).


# 📌 Status

Item Value
Version 2.1 (November 2026) — revised after the FIRC-0002 peer review (Stage D rebuilt panel and Stage E prose; paper/sections/*.tex, paper/appendix/appendix.tex); v2.0 (October 28, 2026) = Russell 3000 extension; à valider par les co-auteurs
Funding FIRC (UQO)
Previous versions v1.1 (S&P 500, 2026-10-17 review) and v1.0 (June 2026): docs/paper_v1.1_sp500_20261026/
Code & data v2.0 exhibits: produced by the committed scripts/r3k_00…07 at commit 3cf7560 from data/raw_russell3000/ (factor panel, filing-level scores, SPID counts, universe) and data/processed_r3k/ (Yahoo prices and SEC share counts of the 2026-10-28 vintage; sha256 manifest in UQO-WP-REVIEW/reproducibility/FIRC-0002/environment/inputs.sha256); these two directories are gitignored (≈ 320 MB) and must be deposited (spbgit release or M3U96b archive referenced by hash — pending author action) before the results can be called reproducible by a third party. The re-run of the committed chain reproduces results.json exactly, results2.json except the spid and double_sort_* blocks (stale at commit time) and results_event.json under the author's pandas 3.0.2 (see reproducibility/FIRC-0002/baseline_rerun_diff.txt). v2.1 review chain (scripts/r3k_10…23, scripts/run_all.sh, pinned requirements.lock, tests/test_regenerate.py): rebuilt panel (corrected market capitalization, cleaned returns, CIK-keyed), results in results/r3k_v2/. Raw filing text and embeddings come from the EDGAR Research Database (UQO WP 0001) and are not redistributed; FinData OS (FirstRate) raw closes are a licensed second price source (access documented in data/processed_r3k_v2/README.md).

# 🏆 Headline results (Russell 3000 unless stated; v2.1 rebuilt panel, winsorized within formation year unless stated)

Object Estimate (v2.1)
Panel 27,354 firm-years, 2,375 firms, formation years 2010–2024 (6,719 firm-years of S&P 500 members); corrected market capitalization, cleaned returns (14 series breaks removed), CIK key
Full-sample Q5–Q1 spread (composite) EW raw +5.5 (NW t 2.40); EW winsorized +3.9 (NW t 2.00, plain 1.78, CI [-0.8, +8.6]); median +0.5; VW (corrected cap) +7.4 (t 2.69; 10 %-capped +7.2, t 2.62); S&P 500 members EW winsorized +5.7
VW concentration (single-firm weight in a cohort × quintile cell) composite sort: max 19 % (AAPL, 2011 cohort, quintile 4), no cell above 25 % (the Stage D criterion holds for the composite); across all nine VW sorts: max 36 % in the cybersecurity placebo sort (AAPL, 2023 cohort, quintile 2), 9 distinct cells above 25 %, all in the cybersecurity and SPID sorts (18 entries counting the raw and winsorized variants; committed v2.0 capitalization: 100 %, 548)
Fama–MacBeth slope (composite) winsorized +1.88 pp/SD (NW t 2.41, plain 2.51, CI [+0.27, +3.49]); raw +2.77 (t 2.44); with sector dummies, winsorized +0.88 (NW 2.80, plain 2.74); sector×year FE +0.75 (firm t 2.04, two-way 2.78)
Pre / post ChatGPT, Russell 3000 (winsorized) +3.4 → +6.0 (post CI [-25.5, +37.6], n = 3); cohorts 2022: -5.0, 2023: +3.1, 2024: +19.9; pooled post +6.2 (t 2.14 firm / 0.84 two-way, wild p 0.631); post − pre +2.4 (t 0.78 / 0.36, MDE 8.5); permutation p 0.31; sup-Wald p 0.59; post FF6 alpha -0.3 %/yr
Pre / post, S&P 500 members (winsorized) +3.8 → +13.2; cohorts 2022: +14.8, 2023: -7.1, 2024: +32.0; pooled post +13.3 (t 2.39 / 1.15); post Sharpe 0.69
Size (winsorized) largest 1,000: +3.1 → +12.7 (ex-2024 +3.3); remaining: +4.0 → +3.5; contrast hi×post×large +10.8 (t 1.83 / 1.55, wild p 0.225, MDE 16.5); size-neutral full +4.9 (t 2.19)
Event study (IWV market model, day 0 = 1 Dec 2022, N = 2,215) 1-year H−L +14.2 pp (CDA 2.23; Welch 3.92 for reference); [0,+20] +1.0 (CDA 0.52); largest 1,000 +20.0 (CDA 3.02) vs remaining +12.2 (1.51); largest-1,000 CDA under beta-only / market-adjusted / size×mom / FF5+MOM: 1.12 / 1.22 / 1.38 / 0.52; 2022 ranks 1 of 8 placebo launches
Sector / within-sector post-launch sector×year FE slope +0.46 (t 0.43); sector-neutral sort full +1.4 (t 1.61); β_TECH post 0.37; FF6+TECH post alpha -2.1 %/yr
Form-specific signals (winsorized) 10-K only: full +6.2 (t 1.91); horse race 10-K +2.78 (t 2.23), 10-Q -0.32, 8-K +0.55; Wald equal slopes p 0.02 (raw p 0.23)
SPID AI projects any-AI firm-level +2.8 pp (t 0.77, CI [-4.3, +9.9], MDE 10.1); cohort-level MDE 12.7; SPID×post -1.93 (t -1.93 / -0.96); prevalence 2.0 % of firm-years; no human labels yet
Placebo factors (post, two-way t) cybersecurity interaction t 3.98 (RW p 0.05); AI disruption risk 0.96; ESG -1.48; only cybersecurity survives the family adjustment
Construct validity encoder window 256 tokens ≈ 195 words of 512 (94.8 % of chunks truncated; 61 % of AI-term hits beyond the window); keyword baseline ρ 0.13; Utilities 6.5 % of Q5 vs 3.2 % of sample; stripped-anchor composite ρ 0.98; negation probe 0.396 vs 0.578
Survivorship EW panel − IWV +5.7 pp/yr (winsorized +3.6); 2019 IWV small tercile 61 % absent by 2025 vs large 16 %; exit-rate difference needed to generate the whole spread: 5.7 pp/yr (−50 % exit return); attrition by AI quintile not computable (X1)
Multiple testing Romano–Wolf p of the composite spread within its family 0.32; statistics with

The v2.0 values that these replace (EW +5.5, t 2.41; FM +3.07, t 2.80; within-sector t 4.38; largest 1,000 +2.9 → +12.8; event-study Welch 5.09 vs 1.55; Table 17 all t = 0.00) are recorded as BEFORE values in UQO-WP-REVIEW/improvements/FIRC-0002/implemented_changes.md and in the manuscript where the comparison matters.

# 🗂 Repository layout

text
ai-disclosure-stock-returns/
├── data/raw_russell3000/     # factor panels, filing_scores, filings, companies, universe.json, spid_firm_year_signals.csv (from the EDGAR DB)
├── data/processed_r3k/       # prices (Yahoo), SEC share history, FF factors, merged/analysis panels, LS series, event CARs
├── scripts/r3k_00..07_*.py   # the v2.0 pipeline, in order (01: Yahoo prices · 01c: SEC share counts · 02: panel · 03: core · 04: extended · 05: event · 06: figures · 07: tables + macros)
├── scripts/r3k_10..23_*.py   # the v2.1 review chain (run_all.sh): second price pass, SEC shares, FinData checks, rebuilt panel, core/extended/event/survivorship, figures, tables + macros, bib, SPID frame, construct validity
├── scripts/stageE_*.py       # Stage E writing helpers: macros_stageE.tex (prose numbers from results/), response_to_referees table
├── results/r3k/              # v2.0 results (results.json, results2.json, results_event.json, CSVs)
├── results/r3k_v2/, results/n1/  # v2.1 results (incl. inline_numbers.json, validation frames) and the node audit (corpus counts, tokenizer, keyword baseline, alternative anchors)
├── figures/r3k/, figures/r3k_v2/  # v2.0 figures; v2.1 figures (17, pdf + png)
├── paper/                    # main.tex, sections/ (prose + macros_stageE.tex), appendix/, tables/ (generated, incl. macros.tex), figures_r3k/ → main.pdf
├── code/tex2docx/            # LaTeX → Word conversion (prep_tex.py, post_docx.py)
└── docs/                     # v1.1 archive, review report, changelog

# 🚀 Quick start (v2.1 review chain — Stage D, 2026-11-05)

bash
uv venv .venv-review --python 3.12 && uv pip install --python .venv-review/bin/python -r requirements.lock
bash scripts/run_all.sh            # 10 (prices, FF daily) → 12 (SEC shares) → 13/13b (FinData checks) → 14…18 (panel, core, extended, event, survivorship) → 19/20 (figures, tables) → latexmk
.venv-review/bin/python -I tests/test_regenerate.py --quick   # schema / leakage / manifest checks; without --quick: full regeneration + diff at 1e-6

# 🚀 Quick start (v2.0 committed chain)

bash
python3 -m pip install -r requirements.txt
python3 scripts/r3k_00_factors.py && python3 scripts/r3k_01_download_prices.py && python3 scripts/r3k_01c_sec_shares.py
for s in 02_build_panel 03_analysis 04_extended 05_event_study 06_figures 07_tables; do python3 scripts/r3k_$s.py; done
cd paper && latexmk          # → main.pdf (every number in the text is a macro from tables/macros.tex)

# 📊 Exhibit map (Stage E, exhibits director, 2026-11-05)

Every table of the paper is a self-contained float generated by scripts/r3k_20_tables_v2.py into paper/tables/<name>.tex (\ExhibitTable{label}{caption}{size}{threeparttable + notes}), and every figure by scripts/r3k_19_figures_v2.py into figures/r3k_v2/<name>.pdf with a float wrapper paper/figures_r3k/<name>.tex (\ExhibitFigure{label}{caption}{\includegraphics}). A bare \input{tables/<name>} / \input{figures_r3k/<name>} places the exhibit with its scientific caption, label and notes; inside an existing \begin{table} wrapper only the body is printed. paper/tables/appendix_exhibits.tex (input from main.tex after the appendix) prints, behind \ExhibitOnce guards, every table not placed earlier and the appendix-bound figures, so no exhibit is lost or duplicated. The full map (label → file → placement main/appendix → title → result-file sources) is paper/tables/EXHIBIT_MAP.md (also .json); the render-and-inspect audit is UQO-WP-REVIEW/quality_control/_FIRC-0002_table_audit.csv and _figure_audit.csv. Numbers in captions and notes are read from results/r3k_v2/* (BEFORE values of the committed v2.0, from results/r3k/*, appear only in tab_hygiene Panel B).

# Languages

Language Files Lines Share
Python 50 7 520 ██████████ 49.9 %
LaTeX 98 7 517 ██████████ 49.9 %
Shell 2 42 █ 0.3 %

Counted on git-tracked files, excluding dependencies and generated files.

# Documentation

Document Title
docs/CHANGELOG-REVISION.md CHANGELOG — Révision scientifique complète (editorial board, 2026-10-17)
docs/README-analysis.md AI Disclosure & S&P 500 Returns — Empirical Study
docs/REVIEW-REPORT.md REVIEW REPORT — Editorial board, 2026-10-17
docs/tables_v1.1_stale/README.md

# Repository facts

First commit 2026-10-17
Contributors 1
Default branch main
Latest tag pre-revision-20261017
Tracked files 433
Clone git clone https://git.spboucher.ai/wp17_uqo.git

# Repository maintainer

Simon-Pierre Boucher · spboucher.ai · contact@spboucher.ai

The authors of the paper are named in the manuscript.

Clone wp17_uqo

Anonymous clone and fetch. Pushing requires the owner's personal access token.

Snapshot of main

Files main
Menu

Theme