back when this was written the barracks_status fields were a broken copy of each other.
It was hard to tell exactly what was what for what team....
If I remember rightly - when it was deciphered (all that time ago.. I forget who did the barracks status field..) it was only working for the dire..
(and deciphering it was made even harder by the fact that 9 times out of 10.. it was either all racks gone or none gone for dire... vary rarely was it certain combinations..)
When it started working - we assumed that the two teams would work in the same way...
but from what you're saying - apparently the radiant is reversed.
i'll have a look when I get home from work and update things as necessary.