The quiet failure mode with model-backed store features is one confident number. An admin column scores every customer on repeat purchase probability, the first value looks plausible, and then someone refactors the scoring code and the same customer drops from 62 to 31. Nothing throws an error, because a lone model has nothing to disagree with. You find out weeks later, when a store owner asks why the coupon list changed.
Model disagreement is what’s usually missing, and the best demonstration I’ve read lately is Ari Joury’s World Cup modeling piece on Towards Data Science. He built eleven models for the 2026 tournament, pushed them all through the same simulator, and crowned four different champions. Spain’s title probability ran from 13 to 29 percent depending on the model, and in one Spain versus Morocco match XGBoost put 64 percent on a draw while PageRank gave Spain a 69 percent win. The spread is the useful output, and that’s the part worth porting to store work.
What eleven models on one dataset showed
What transfers is the discipline of his setup, more than the football. He used three rating systems (Elo, Colley and PageRank), two goal models (Poisson and negative binomial), and five classifiers, plus the betting market as a benchmark. All of it fit on 358 international matches. Every model has to pass through one interface, a function that takes two teams and returns win, draw and loss probabilities, and a vectorized simulator then plays the whole tournament 20,000 times per model. The teams, the rules and the data are identical, and you still get eleven answers.
Two findings in the piece matter more to me than the champions. The cross-validated scores ranked the simplest classifier, logistic regression, ahead of the flexible ones, because with 358 matches the boosted trees were mostly fitting noise. The agreement chart also clustered into blocks, which the author traces to a shared input: most of his models take the same Elo-style strength prior, so their agreement is mechanical rather than independent corroboration. Only Colley and PageRank derive strength from the results graph alone, which is why they sit apart and why they rated the Netherlands well above what the market believes.
That gives you the working rule: disagreement between models that read different data is information, and agreement between models that read the same data doesn’t tell you much.
Running the same race on store data
If a store feature is model-backed, whether that’s a churn score, a lifetime value estimate or a stock forecast, you can run a small version of his experiment in an afternoon. Each step below can stop the project if it fails, and that’s the point of the order.
Fix the contract before the models
His match_probs interface is what keeps the race fair, since no model gets a private path to the output. On a store that means one function per model with the same signature and the same return shape, so the admin code never knows which model produced a number. The spread function can stay dumb:
<?php
function bbioon_baseline_score( int $customer_id ): float {
// wc_get_orders returns newest first by default
$orders = wc_get_orders( array( 'customer_id' => $customer_id, 'limit' => 50 ) );
$last = $orders ? $orders[0]->get_date_created() : null;
if ( ! $last ) {
return 0.0;
}
$n = count( $orders );
$days = ( time() - $last->getTimestamp() ) / DAY_IN_SECONDS;
// coefficients fitted offline, per store
return 1 / ( 1 + exp( 0.06 * $days - 0.4 * $n ) );
}
function bbioon_score_spread( int $customer_id ): array {
// second model, different data source
$models = array( 'bbioon_baseline_score', 'bbioon_graph_score' );
$scores = array_map( fn( string $m ) => $m( $customer_id ), $models );
return array(
'mean' => array_sum( $scores ) / count( $scores ),
'min' => min( $scores ),
'max' => max( $scores ),
);
}
The customer_id argument is one of the documented wc_get_orders parameters, so the baseline needs nothing beyond core WooCommerce.
Ship a baseline you’d almost be embarrassed by
The logistic model in his suite beat XGBoost on cross-validation because the data was small, and store data usually is too. A logistic score on order count, days since last order and average order value runs in plain PHP, needs no Python service, and it sets the bar the fancy model has to clear before it earns its complexity. I’ve written before about the small-data end of machine learning on WooCommerce stores, and the short version is that simple wins more often than it should.
Add one model that reads different data
Colley and PageRank were the only models in his suite with an independent strength source. On a store, that means scoring from somewhere other than the orders table: the co-purchase graph, product views, review text. If it agrees with the baseline you have mild corroboration. If it disagrees, you’ve found the edge of your data, and that’s where a human should look before the number ships.
Validate with a time split, not a random one
His models fit on 2010 to 2024 matches to predict 2026, because you can’t train on the future. Store data is seasonal and trending, so a random split quietly leaks future information into training. Fit on the last twelve months, score the next month, then walk forward a month and repeat. The scikit-learn cross-validation guide covers the split variants including the time-series one, if you want the mechanics.
Show the spread, not only the mean
His consensus chart carries grey bars for the min-to-max range across models, and he calls the bars the honest part. The same applies to an admin column. A customer at mean 0.62 with a range of 0.31 to 0.89 is a very different case from one at 0.58 to 0.66, and only the spread shows which one you have.
This is the kind of work I take on. If a scoring feature on your store needs to know whether its number is real, I can wire up the baseline, the second model and the spread, and tell you which one deserves the screen space. Get in touch and we’ll look at what data the store has.
Reading model disagreement without fooling yourself
Seven of his eleven picks land on Spain, but he points out that only Colley and PageRank derive strength independently from the results graph. When the rest agree, that is closer to one input voting many times than to independent confirmation. The same thing happens on a store when every model’s features are columns of the same orders table. Two models reading the same orders with different algorithms tend to correlate hard and add little. What a fitted score becomes once someone acts on it is a separate question, which I covered in why a trained model is not a WooCommerce risk score yet.
The cheap check is the one he ran, just across customers instead of teams: correlate the score vectors and look at the blocks. Two models at 0.95 correlation are near duplicates, so drop one. The model that sits apart, like Colley and PageRank at roughly 0.72 to 0.83 against the rest in his chart, is the one adding information, even when it is the least accurate on its own.
One thing I’m unsure about: on stores with only a few hundred customers, the min-to-max range may say more about sample size than about the customer, so the spread can be noise rather than signal. I don’t have a clean threshold for where it stops being useful.
Sometimes you shouldn’t do any of this. If the score feeds a cheap, reversible decision like a coupon email or a product badge, one baseline and a sanity check is enough, and a model suite is over-engineering. If it feeds an expensive one like an inventory buy, a credit hold, or a loyalty tier cutoff, then race the models. Either way, backtest the baseline with a time split first. If the baseline can’t beat the base rate of last year’s behavior continuing, more models won’t rescue the feature. They’ll just disagree about a signal that isn’t there.