← Return to Homepage
In sports rankings, a Ranking Violation describes a situation where a team is ranked ahead of a team to whom they lost. I first came across this term on Ken Massey’s site, where on the legacy college football ranking composite, each rating system was scored on closeness to the composite as well as by “ranking violation.” For example, if the Baltimore Ravens beat the Cleveland Browns, but a ranking system puts Cleveland on top of Baltimore, that would be a ranking violation.
Such situations are unavoidable. It is common, for example, for Divisional rivals to split results during the season and go 1-1 against each other. Even more likely are larger loops wherein Team A beat Team B who beat Team C who beat Team A. So, does A go above B above C? What about the fact that C beat A? Naturally, some ranking violations are unavoidable, but it is an interesting academic exercise to see the teams ranked in an order that tries to maximize adherence to the binary win/loss result.
There are multiple “solutions” to the minimization of ranking violations problem. The easiest way to picture this is if two adjacent teams in the ranking did not play one another, there is no impact on the number of total ranking violations for swapping the order of the two teams. More complex shuffling allows for an often wide range of solution sets that can see teams as high as (e.g.) 3 or as low as (e.g.) 20 (this is the case for the 2024 Los Angeles Rams).
My code seeks to optimize in two stages:
It should be noted that just because one team beat another does not inherently mean they are the better team. As such, it’s not really a rating system that uses any advanced metrics to describe relative performance or game quality between teams. This system is also in no way predictive: it only describes past results. The engine also treats all games equally: there is no difference between a week 1 game and the Super Bowl.
It’s really just a fun way to look at resume rankings in just about their most pure form, and there’s a sort of beautiful simplicity to it: if you win, the engine will do its best to put you in front of everyone you beat, without putting you in front of anyone you lost to.
Last Updated: 2025-10-17 13:20:18