Welcome to the homepage of Stephen Oates
Sydney-based data scientist working on AI agents, ML deployment and insurance analytics. I publish backtested forecasting models and scored predictions for elections and sport, open-source tools for text and process data, and occasional essays on forecasting and AI.
Blog
Articles on data science, democracy, forecasting and AI. All blog posts.
- When the Buyer Is an Algorithm (October 22, 2026)
- Can Crowds Govern Wisely? An Explainer on Epistemic Democracy (October 6, 2026)
Learning through play
Big Questions: interactive guides for curious kids (November 2026)
Ten illustrated guides for young children and grown-ups to explore together, with interactive activities, conversation prompts and things to try at home. Topics include science, history, money, government and the human body.
Explore all ten guides, or start with:
- What is everything made of?
- Who is in charge?
- Where did people come from?
- Why is there day and night?
Interactive Demos
Anthropic Performance Challenge Simulator (January 2026)
Browser-based learning interface for Anthropic’s GPU performance engineering challenge. Includes a CUDA kernel simulator and step-by-step tutorials for understanding matrix multiplication optimization.
Forecasts
Model forecasts for elections, sports and markets (browse all 47 pages · scored track record · Atom feed). Each page shows the date it was made.
All forecasts
- Results: model against the market (Friday 4 December 2026) — Aggregate net units, ROI and open hypothetical positions across sports and elections, with matched midpoint / ask-plus-fee comparisons and the individual breakdowns.
- Upcoming predictions (Friday 4 December 2026) — Every upcoming forecast on one page: NBA, NFL, rugby league and cricket games beside the Kalshi and Polymarket prices, the Victorian election and the NBA season, with recent results.
Elections
- Australia: next federal election forecast (Monday 30 November 2026) — Two-party-preferred poll average simulated to a placeholder May 2028 date and applied division by division to the 2025 AEC results (state effects, seat noise, crossbench holds): Labor and Coalition majority odds, hung parliament, seat map, against Kalshi; 2025 backtest.
- France 2027: presidential forecast (Monday 30 November 2026) — First-round polls for the most-polled candidate set, simulated with a backtested error model; the two largest draws go to a runoff priced from published head-to-head polls or a stated transfer table. Runoff pairs, winner odds, a département map under proportional swing from 2022, against Kalshi and Polymarket; 2022 backtest.
- Germany: next Bundestag forecast (Monday 30 November 2026) — National polls simulated with a backtested error model and allocated by Sainte-Laguë with the 5% threshold: largest party, coalition arithmetic, threshold risk, a state map by proportional swing, against Kalshi; 2025 backtest.
- +11 more in Elections
Economy
- Australia: economic indicators (Friday 4 December 2026) — Inflation, wages, the labour market, GDP, household spending, housing, RBA and bond rates, the dollar and the ASX from ABS releases, RBA tables and market data, with Kalshi’s price for the next RBA decision.
- Australia: the insurance industry (Friday 4 December 2026) — The listed insurers (prices, fundamentals, price-sensitive announcements), APRA’s quarterly general insurance statistics (profit, premiums, loss ratios by class and state, capital), the Insurance Council’s catastrophe declarations and historical losses, insurance and claims-cost items in the CPI, and the regulators’ releases.
- Australia: the insurance industry — October 2026 report (Monday 12 October 2026) — A written report on the insurance page’s indicators as at 12 October 2026: industry profit down 31%, catastrophe losses nearly doubled, premium inflation rising again, Allianz Australia’s recovery from a loss-making December quarter, complaints still rising.
Cricket
- Live T20: who is winning, ball by ball (Friday 4 December 2026) — The WBBL or BBL match in play: win probability after every delivery from the in-play state model, starting from our pre-match forecast, with the projected first-innings total and an over-by-over table.
- Live Test: block by block against par (Tuesday 1 December 2026) — The current men’s Test scored every 30 overs against the sessions par and the Bayesian par: cumulative runs against expectation per innings, each block’s runs and wickets, and the block table.
- Cricket rankings and predictions (Sunday 29 November 2026) — Tests, T20Is and ODIs on one page: team and player rankings, upcoming matches, matchup scenarios, player value and model validation, with men’s and women’s coverage.
- +1 more in Cricket
Basketball
- NBA 2026–27: live season forecast — NBA Board (Thursday 3 December 2026) — Live 2026–27 forecast updated nightly from results: standings, playoff and title odds, next games; the October 17 preseason forecast against Kalshi; luck and research.
- NBA forecast archive (Thursday 3 December 2026) — Every earlier NBA forecast as published: daily live forecasts, the October 17 Board and interactive page, the October 7 original.
- Our NBA All-Stars and award winners (Thursday 3 December 2026) — Current-season-only merit ratings, our All-Star and award selections, uncertainty and continuation projections; last season is used only as the Most Improved benchmark.
- +7 more in Basketball
Netball
- Netball: team ratings and the Super Shot (Sunday 1 November 2026) — Super Netball and ANZ Premiership team ratings from a Kalman filter on match margins, scored walk-forward against Elo; whether the two-point Super Shot is worth taking; season leaders.
Racing
- Melbourne Cup 2026 form (Saturday 31 October 2026) — The final field and barriers, a history ranking aid beside a Stan research comparison with uncertainty, and matching Polymarket/Kalshi race-winner prices when available.
Lotto
- Australian lotto: what a dollar is worth in each draw (Friday 4 December 2026) — Expected prize per game in the coming Powerball, Oz Lotto, Saturday Lotto, Millionaire Medley and Set for Life draws: the Division 1 prize shared among the winners the sales imply, the lower divisions, the break-even prize and the payout record.
Research
- Australian federal and NSW: Stan polling comparison (Sunday 1 November 2026) — Versioned Bayesian polling models with pollster effects, election-day uncertainty, conditional seat sensitivities and historical development comparisons. Baseline forecasts retained.
- Ideas for experiments (Sunday 18 October 2026) — Questions worth testing, by sport, with links to the write-ups as each is done.
- How wrong are Australian polls, and does time in office matter? (Saturday 17 October 2026) — A pre-registered Bayesian study of 1,800 federal and state polls since 1998: the industry’s polling-day error, how opinion drifts before an election, house effects, and a ‘time for a change’ prior.
- +8 more in Research
Recent Projects
AI Agents & Frameworks
Dory - AI Agent Framework Comparison (January 2026)
Comprehensive evaluation of 11 AI agent frameworks for insurance claims processing. Includes tutorials, demos, and integration with DSPy and MLFlow.
Australian Insurance Obligations Extractor (October 2025)
LLM-powered system for extracting and validating insurance compliance obligations from Australian legislation. Extracted 343 obligations from 16 legislative documents.
PromptOpt (July 2025)
Enterprise prompt optimization framework combining DSPy and GRPO approaches for systematic prompt engineering.
Python Packages
Allyanonimiser (February 2025)
A Python package for removing PII and related sensitive fields from free text. Designed for data privacy compliance in production environments.
Freamon (March 2025)
A package to make data science projects on tabular data easier. Named after the great character from The Wire played by Clarke Peters.
Meno (March 2025)
Topic modelling package for free text analysis, designed especially for the insurance domain.
Heraclitus (March 2025)
A library for making Process Mining accessible to new users. Works well with PM4PY while adding new features.
Classic Projects
Customer Life Time Value Models (2014)
A discussion of CLV models based on a review of the literature.
Churn Analysis (2014)
Using a dataset we walk through model building to predict which customers will leave in order to entice them to stay.
Survival Analysis (2014)
Using techniques originally developed in demography and biology we predict the average lifespan of customers.