'bwweightscale' pram missing from spec
The 'bandwidth-weights' attribute mentions that its values are divided by the 'bwweightscale' param which defaults to 10000 (I'm not sure what meaning "BW_WEIGHT_SCALE" has - guess it's the name of the constant in tor's codebase?)...
https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l1482
The network status document's "params" section should include 'bwweightscale' and the default value.
https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l1228
On a side note it's pointless for 'bandwidth-weights' to say that the entries are sorted. The above shows the order that entries must appear in.
I'm assuming that new "Wxx=" values are invalid since the spec explicitly lists what it contains and makes no allowances for new ones. If this is incorrect then we should fix that too.
Cheers! -Damian