Skip to content
Amin MaghrebiAmin Maghrebi
Developer tool

WeightDiff

A replay tool for Bittensor subnet developers: before changing a scoring rule, see who it would have affected and why, on historical data.

The problem
A subnet developer changing a scoring rule cannot see who it would have affected, or why, before deploying it.
What was built
WeightDiff replays the same historical report under the old and the new rule, and shows each miner's change with the jobs behind it.
Impact
358 of 395 tasks changed; ranking unchanged
Result
Historical replay of subnet 42, hour 498922: delivered 0.5 → 0.25, total 7-day weight 200.25 → 111.25, all six miners kept their rank.

Prototype · Checkpoint 1 submitted.

WeightDiff is for a developer of a Bittensor subnet who wants to know, before changing a scoring rule, who it would affect and why. It replays the same historical report under both the old and the new rule, and links every difference to the jobs that caused it.

A real replay of CADmind Einstein, subnet 42, hour 498922 (1 December 2026, 10:00 UTC) changed the delivered score from 0.5 to 0.25:

  • 358 of 395 job rows changed their final task score.
  • Total seven-day weight fell from 200.25 to 111.25 across six miners.
  • All six miners kept their ranking.
Historical simulation: UID 290 before and after the rule change. These are validator scoring quantities, not miner earnings.
MinerCumulative weightFinal vector entry
UID 290, before0.2562
UID 290, after0.25110

The cumulative weight stayed at 0.25 while the vector entry rose from 62 to 110: a normalization effect of the replay, not a change in the miner's own scores. The total fell by 89.0 instead of 89.5 because two jobs were delivered before the window and downloaded inside it; each in-window download contributes +0.75 instead of +0.5 under the new rule.

My role: Design and development

Python · Bittensor