🎮 Live interactive playground · 📈 Flagship app: harvestiq.streamlit.app
A curated collection of computational math, physics, AI, and quantitative finance projects built from scratch — no frameworks doing the thinking.
- 6 live browser demos — wave physics, pathfinding, N-body gravity, compression, Fourier drawing, and a black-hole orbital incremental simulation. No install, click and play.
- 3 Python flagships — a tax-loss harvester on real market data, a TSP solver with a published 5-page benchmark paper, and an 8-layer neural net with hand-written backprop.
- Real benchmarks — 400-trial TSP study (0.000%–0.066% optimality gap), loss curves, and fail-case logs kept in-repo.
- Python (NumPy, SciPy, Numba, pandas, yfinance, Flask) for solvers and finance
- Vanilla HTML/CSS/JS (Canvas, SVG) for every browser demo — zero build step
- GitHub Pages for hosting, GitHub Actions for CI
git clone https://github.com/jio32-af/HRVSTCollection.git
cd HRVSTCollection
pip install -r requirements.txtRun the TSP benchmark checks:
cd HRVSTTsp
python3 TSP.py selftestRun the neural-net letter mirror (opens in your browser):
cd ../HRVSTNeural
python3 demo.pyOr skip installs entirely — open the live playground and every demo runs in the page.
Solve a TSP correctness self-test from the CLI:
cd HRVSTTsp
python3 TSP.py selftest # correctness + determinism checks
python3 TSP.py --sizes 100 1000 # scale series over given sizesDrive the from-scratch neural net in three lines of Python:
from network import HRVSTNet # run with HRVSTNeural/ as the working dir
net = HRVSTNet([4, 8, 8, 16, 16, 8, 8, 4, 2])
pred = net.forward([0.5, -0.5, 0.25, 0.0])
loss, _ = net.train_step([0.5, -0.5, 0.25, 0.0], [0.0, 0.0], lr=0.01)HRVSTCollection/
├── index.html # landing page (GitHub Pages)
├── HRVSTWave/ # 2D FDTD wave simulator (browser)
├── HRVSTGraph/ # A* vs Dijkstra vs Greedy lab (browser)
├── HRVSTSim/ # Barnes–Hut N-body engine (browser)
├── HRVSTCompress/ # Huffman + LZW visualizer (browser)
├── HRVSTDraw/ # DFT epicycle studio (browser)
├── HRVSTOrbit/ # black-hole accretion incremental sim (browser)
├── HRVSTTsp/ # Euclidean TSP solver + benchmark paper
│ ├── TSP.py
│ └── HRVST_TSP_Benchmark_Paper.pdf
├── HRVSTNeural/ # 8-layer MLP in pure Python
│ ├── network.py, layer.py, activations.py, loss.py
│ ├── train.py, demo.py
├── HrvstLab/ # tax-loss harvesting scanner (Streamlit)
├── requirements.txt
├── CONTRIBUTING.md
└── .github/workflows/ci.yml
See CONTRIBUTING.md — small PRs welcome. Keep demos dependency-free and new Python code typed where touched.
MIT — see LICENSE.