Committing the prior uncommitted working-tree state that predates this session's data-source work (was already modified/untracked at session start) so the tree is clean before push. Includes: event-study + research report integrity/forward observation work, prices tests, research hash migration script, and the 2026-08-23/24 engineering-log + test-evidence notes. Verified green as part of the full 362-test suite.
19 lines
352 B
Python
19 lines
352 B
Python
"""Run the local Flask API."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import os
|
|
|
|
from app import create_app
|
|
|
|
HOST = os.getenv("HOST", os.getenv("PAPER_BIND_HOST", "127.0.0.1"))
|
|
app = create_app({"PAPER_BIND_HOST": HOST})
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run(
|
|
host=HOST,
|
|
port=int(os.getenv("PORT", "5000")),
|
|
debug=False,
|
|
)
|