Skip to content
Doheon Kim
Go back

Betman Predictor

May 2026 – September 2026 · Personal research project

Code

What it is

Betman is Korea’s official sports-toto service. This is a command-line research tool that pulls public round data from it, trains models on past rounds, and prints a probability for each outcome of each match. It never places a bet.

The honest summary comes first: the best model picks the right outcome about 41% of the time where random guessing gets 33%, and nothing here shows it can beat the market.

The markets

The tool covers four products. Two of them are 14-match tickets:

It also models exact-score tickets and single fixed-odds lines. The backtests below cover only the baseball ticket.

Data, and not cheating with it

Match lists, results, and the public’s vote share come from Betman. Starting pitchers and team statistics come from the public MLB statistics service. Korean league form comes from Naver Sports, and game-time temperature from Open-Meteo.

The main risk in a backtest is lookahead: scoring a past game using information that only existed afterwards. The tool guards against it in several ways.

The models

Elo ratings team strength from past results Machine learning model 47 features per match, scikit-learn Ensemble geometric blend of the two Run-margin model baseball only, models the score gap Outcome probabilities and a suggested ticket
Each model produces probabilities, and they are blended.

What the backtest shows

The backtest covers 20 held-out baseball rounds from 2026, 272 settled matches. For each round the models train only on earlier rounds.

ModelAccuracyLog-loss
Random guess33.3%
Ensemble (80% Elo, 20% machine learning)40.4%1.0899
Ensemble plus run-margin model at weight 0.3541.5%1.0788
Ensemble plus run-margin model at weight 0.5040.8%1.0753

Lower log-loss is better. It rewards a model for being confident when right and unsure when wrong.

Reading this fairly:

What I changed

What it does not show

There is no evidence in this project that the predictions beat the market, beat the public’s picks, or make money. The fixed-odds recommender has never been backtested.

Before testing that, I wrote down what would count as a pass: at least 120 settled lines, a log-loss below the market’s own implied probabilities, and a positive return. So far only the piece that settles past bets is built. Until that test passes, the right reading of this project is that it predicts somewhat better than chance in a market with a built-in house edge.

An interface for AI assistants

The tool also runs as an MCP server with five tools, such as listing open rounds and predicting a round. That lets an AI assistant like Claude query the predictor directly instead of reading terminal output.


Previous Project
Message Board Sentiment and Retail Order Flow
Next Project
Jeonse Safety Recommendation System