Your generator puts a club above the relegation line. The points add up, the chart looks tidy, and you're about to publish.
The calculation wins * 3 + draws answers what a team earned under that scoring rule. It doesn't establish the team's published league position.
Our Actor separates match records in mode="results" from standings records in mode="teams" . The latter supplies points and rank ; neither mode supplies a sanctions ledger or a tiebreaker rulebook. Administrative adjustments can therefore leave perfectly sound arithmetic disagreeing with the table.
Your generator answered a narrower question
Points reconstructed from match scores are a different measure from points recorded in the league table.
That distinction matters when your claim concerns relegation rather than match performance. A points adjustment can change the first without changing the underlying scores.…