Topic Options
#3254 - 05/23/18 09:07 AM MOS Column bug in 5.5
Tim McKee Offline


Registered: 05/23/18
Posts: 1
There is a bug in the MOS scoring. In moscolumn.js you are using the line:

var percentPacketLoss = LostPacketCount / TotalPacketCount;

which yields a value between 0 and 1. The algorithm you coded actually requires the value be between 0 and 100. Why they wrote it this way is beyond me, but the proper line would be:

var percentPacketLoss = (LostPacketCount / TotalPacketCount) * 100;

I injected up to 20% packet loss stepping up by 1% and the MOS score never dropped below 4.37 with the code you are using. Please correct and send out asap. The correction makes it come out correctly at a MOS score of 2.10

Top
#3255 - 05/23/18 01:31 PM Re: MOS Column bug in 5.5 [Re: Tim McKee]
Hayla Offline
Pingman Staff


Registered: 10/16/17
Posts: 90
Hey Tim,

Thanks for putting this up! We've got a dev editing that line, and it'll be fixed in the next release for sure. For now, I'd recommend leaving the change you made - but after version 5.5.12, this will be fixed!

Thanks again!
_________________________
Regards,
Hayla

Top

Search

Who's Online
0 registered (), 7 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod