Repository Public Research preview
1# =============================================================================2# SP BOUCHER | ACADEMIC RESEARCH3# ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# PROJECT METADATA7# -----------------------------------------------------------------------------8# Project : UQO Working Paper 209# File : Makefile10# Repository : https://git.spboucher.ai/wp20_uqo11# Created : 2026-10-2012# Last Modified : 2026-10-2013#14# =============================================================================15# SOFTWARE MAINTAINER & AFFILIATION16# =============================================================================17#18# Maintainer : Simon-Pierre Boucher19# Position : Professor of Finance20# Institution : Université du Québec en Outaouais (UQO)21# Department : Département des sciences administratives22# Website : https://spboucher.ai23# Git : https://git.spboucher.ai24#25# Research Contact : research@spboucher.ai26# Direct Contact : simon@spboucher.ai27# Security/Admin : admin@spboucher.ai28#29# The affiliation is descriptive. It is not an institutional endorsement,30# a license grant or a determination of ownership.31#32# =============================================================================33# COPYRIGHT, AUTHORSHIP & DATA34# =============================================================================35#36# Copyright (c) the author(s) of this work.37# Ownership is not asserted by this notice; see the repository records.38#39# This header identifies the maintainer of the software. Scientific40# authorship of any associated paper is stated in the paper itself and41# is not changed by this notice. Datasets and third-party materials42# remain the property of their respective owners and licensors.43#44# This file is governed by the applicable project license, copyright45# notices, institutional agreements and relevant law.46#47# =============================================================================48# LICENSE & MAINTENANCE49# =============================================================================50#51# License : None specified (no license file in this repository)52# Classification : Public53#54# =============================================================================55# END OF SP BOUCHER SOURCE HEADER56# =============================================================================5758.PHONY: all frame sample extract-smoke batches aggregate experiments figures tables paper test clean-paper sync-paper5960PY := .venv/bin/python6162all: frame sample aggregate experiments figures tables paper6364frame:65 $(PY) src/ingestion/build_frame.py6667sample:68 $(PY) src/ingestion/sample.py6970extract-smoke:71 $(PY) scripts/03_smoke_test.py 2 37273batches: # requires ANTHROPIC_API_KEY (or WP20_ENV_FILE); submits all tiers74 $(PY) scripts/04_run_batches.py submit75 $(PY) scripts/04_run_batches.py status7677collect:78 $(PY) scripts/04_run_batches.py collect7980aggregate:81 $(PY) scripts/05_aggregate.py82 $(PY) scripts/05_aggregate.py _sold8384experiments:85 $(PY) scripts/06_exp_agreement.py > logs/06.log86 $(PY) scripts/07_exp_cost.py > logs/07.log8788figures:89 $(PY) src/visualization/figures.py9091tables:92 $(PY) src/visualization/tables.py9394literature:95 $(PY) scripts/lit_verify.py96 $(PY) scripts/10_literature_matrix.py9798sync-paper:99 mkdir -p paper/figures paper/tables100 cp results/figures/*.pdf paper/figures/101 cp results/tables/tex/*.tex paper/tables/102103manifest:104 $(PY) scripts/11_manifest.py105106paper: sync-paper manifest107 cd paper && latexmk -pdf -interaction=nonstopmode -halt-on-error main.tex108109test:110 $(PY) -m pytest -q tests111112clean-paper:113 cd paper && latexmk -C114