Does anyone test damage coding for accuracy?

Professor Ward··2 votes·421 views

With riot just realizing the bug in tough skin that has been live for a little while now it had me thinking; What about far more complex computations that are much harder to test.....

Seems like there could be an equation a mile long with the list of possible runes/skills/masteries/on hits/armor/etc

does anyone know if a Volibear Q+AA+frenzy with item 3153 item 1403item 3035 item 3748item 3034 against an summoner 3 'd Leona that has 232 more base hp, w active, at 28% hp, 150 base armor, legendary guardian, toughness*, and bond of stone with a nearby ally, will actually do exactly the damage it should?

Just seems like a lot of room for error especially when the toughness bug has gone unnoticed at such a simple level.

(champs and builds are completely hypothetical)

5 Comments

dangopee2 votes

I don't think they test any coding for accuracy.

Ionian1 votes

They write some stuff, if the damage is too high they randomly lower some numbers.

VasilisGreen1 votes

What do you mean "Test" the damage accuracy? You make the algorithm and if it works the way you made it to work, it doesn't make mistakes. Have you ever made a mistake using a calculator when you input the values? The program has the functions, the values and the formulas and calculates. If the formulas are correct, the result will be correct. it doesn't make mistakes. The machines don't make mistakes, people do.

Professor Ward1 votes

[{quoted}](name=Hamil Battar,realm=EUNE,application-id=3ErqAdtq,discussion-id=cgOIMQha,comment-id=0002,timestamp=2015-12-01T13:02:21.397+0000)

What do you mean "Test" the damage accuracy? You make the algorithm and if it works the way you made it to work, it doesn't make mistakes. Have you ever made a mistake using a calculator when you input the values? The program has the functions, the values and the formulas and calculates. If the formulas are correct, the result will be correct. it doesn't make mistakes. The machines don't make mistakes, people do.

And people are who coded these machines?

Do you know for a fact that the formulas are correct? Do you know that the values that are input are correct? What about the function?

This isnt texas instruments, this is riot, and as stated before they have already failed at a basic "2 damage reduction" mastery so how can i expect everything else to be correct?

The situation i stated above wouldnt calculate correctly based on this one mastery, i want to know how many more of these errors there are.

heres a little quote i found for yah:

""I do not think we can expect humans to understand algorithms. Because algorithms are ridiculously long and complex. I think what humans have to understand is that evidence is being analysed statistically, that statistics are sometimes wrong, that the algorithms often include human misunderstandings and prejudices. That those are programmed into the algorithm. The algorithms really represent human thinking. Human thinking is full of all kinds of mistakes, prejudices and foibles. So we have to understand that they are fallible""

VasilisGreen1 votes

{quoted}

And people are who coded these machines?

Do you know for a fact that the formulas are correct? Do you know that the values that are input are correct? What about the function?

This isnt texas instruments, this is riot, and as stated before they have already failed at a basic "2 damage reduction" mastery so how can i expect everything else to be correct?

The situation i stated above wouldnt calculate correctly based on this one mastery, i want to know how many more of these errors there are.

heres a little quote i found for yah:

""I do not think we can expect humans to understand algorithms. Because algorithms are ridiculously long and complex. I think what humans have to understand is that evidence is being analysed statistically, that statistics are sometimes wrong, that the algorithms often include human misunderstandings and prejudices. That those are programmed into the algorithm. The algorithms really represent human thinking. Human thinking is full of all kinds of mistakes, prejudices and foibles. So we have to understand that they are fallible""

who exactly quoted this paragraph? Also, when something doesn't work as intended, it is easyly seen by checking it's behaviour and that's why pbe exists. Now, i am not talking about bugs, bugs are faults either in logic or in coding. Bugs in coding don't allow the code to work at all, so, if the program doesn't work as intended then there is a logic fault. Well, personaly, i can't guarantee that the logic is faulty because i don't have the code, the compilers, the tools oor the knowledge to check that. But, if there was some bug riot would work on it. In the caseof damage calculation, making a faulty function means that you are bad at math and i really doubt that. Math calculations are the easiest to make algorithms for. If you know the math, you provide the formulas and the machine computes, you can't go wrong with that.

More from Gameplay

More by Professor Ward