NATION

PASSWORD

Challenge system logic / description error

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
SgtSarros
Civil Servant
 
Posts: 8
Founded: Apr 12, 2016
Civil Rights Lovefest

Challenge system logic / description error

Postby SgtSarros » Sun Apr 17, 2016 10:53 am

It might just be me, but this seems to be rather confusing how it's written:

In 5 thrilling encounters, SgtSarros has prevailed over Stark Lands 3 times to 2, for a win rate of 60.0%. SgtSarros has been the challenger 3 times, of which 3 were victories, while Stark Lands has challenged 2 times, winning 0.

So.. I challenged 3 times, won all three. Giving me a 100% win rate ( and him a 0% win rate )
And he challenge 2 times, and lost both. Giving him a 0% win rate ( and me a 100% win rate )

So... how do I get a 60% win rate?

User avatar
Lady Scylla
Post Marshal
 
Posts: 15673
Founded: Nov 22, 2015
Ex-Nation

Postby Lady Scylla » Sun Apr 17, 2016 10:57 am

SgtSarros wrote:It might just be me, but this seems to be rather confusing how it's written:

In 5 thrilling encounters, SgtSarros has prevailed over Stark Lands 3 times to 2, for a win rate of 60.0%. SgtSarros has been the challenger 3 times, of which 3 were victories, while Stark Lands has challenged 2 times, winning 0.

So.. I challenged 3 times, won all three. Giving me a 100% win rate ( and him a 0% win rate )
And he challenge 2 times, and lost both. Giving him a 0% win rate ( and me a 100% win rate )

So... how do I get a 60% win rate?


After taking a look;

Championship Points: 62 • Specialty: Nudity • Wins: 17 • Losses: 10 • Win Rate: 63.0%
Unrated


In total, you have 17 wins and 10 losses. The win rate is calculating these as a whole, not your specific challenges with him.

User avatar
SgtSarros
Civil Servant
 
Posts: 8
Founded: Apr 12, 2016
Civil Rights Lovefest

Postby SgtSarros » Sun Apr 17, 2016 11:08 am

Unfortunately you're looking in the wrong error for that win rate that I am talking about.
Perhaps a picture will make it a bit easier to explain:


http://i.imgur.com/b3ZQwos.jpg


If Stark Lands has -never won-, how do I only have a 66.67% win rate against them?

User avatar
Kanaria
Ambassador
 
Posts: 1024
Founded: Jun 01, 2012
Ex-Nation

Postby Kanaria » Sun Apr 17, 2016 11:10 am

SgtSarros wrote:Unfortunately you're looking in the wrong error for that win rate that I am talking about.
Perhaps a picture will make it a bit easier to explain:


http://i.imgur.com/b3ZQwos.jpg


If Stark Lands has -never won-, how do I only have a 66.67% win rate against them?

It's your total win rate against all opponents.

Federal Republic of Kanaria-
57 federal entities, 863.2 million people, $40.67 trillion GDP, Gini coefficient 0.38. North Pacific, 1,500 miles west of San Fransisco.

Federal Republic of Kanaria- 57 federal entities, $154 trillion GDP, Gini coefficient 0.39. Northern Ruson, Arctic/Anican/Pacific Ocean, 69 lightyears from San Fransisco, Chi Eridani system.
Liberal
Federalist
Republican
Democrat
Statist
Cishet male


American
And silly rabbit, Kanaria's a caliphate.

User avatar
Bacopa
Negotiator
 
Posts: 5030
Founded: Jan 09, 2012
Ex-Nation

Postby Bacopa » Sun Apr 17, 2016 11:21 am

Kanaria is correct - it is your percentage against all opponents
agile - mobile - hostile

User avatar
SgtSarros
Civil Servant
 
Posts: 8
Founded: Apr 12, 2016
Civil Rights Lovefest

Postby SgtSarros » Sun Apr 17, 2016 11:24 am

Bacopa wrote:Kanaria is correct - it is your percentage against all opponents



Okay... if it's my percentage win against ALL opponents.
Then why does it say 54.3% at one spot, and 66.7% at the other?


SgtSarros: 19 wins 16 losses, 54.3%
Stark Lands: 0 wins 9 losses, 0.0%
In 6 thrilling encounters, SgtSarros has prevailed over Stark Lands 4 times to 2, for a win rate of 66.7%. SgtSarros has been the challenger 4 times, of which 4 were victories, while Stark Lands has challenged 2 times, winning 0.

Either way, THERE IS A BUG PRESENT. Someone with 0 wins cannot have 2 wins against me.
Last edited by SgtSarros on Sun Apr 17, 2016 11:35 am, edited 1 time in total.

User avatar
Stark Lands
Political Columnist
 
Posts: 2
Founded: Apr 14, 2016
Ex-Nation

Postby Stark Lands » Sun Apr 17, 2016 11:40 am

It looks like a reference/flag error.

Basically it's counting
Wins while Challenged: X
Loses while Challenged: Y

X vs Y = ratio.

Wins while challenging: Y
Loses while Chalenging: X

Y vs X = Ratio

Compare X+X vs Y+Y

(I may be wrong, I'm not a programmer, this is just a maths based assumption.)

User avatar
Almonaster Nuevo
Negotiator
 
Posts: 5939
Founded: Mar 11, 2007
Civil Rights Lovefest

Postby Almonaster Nuevo » Sun Apr 17, 2016 1:57 pm

The problem looks to me to be in the description text, not the percentages. 3 of 5 as originally reported would indeed be 60%, and 4 of 6 in the screenshot matches the reported 67%.

The text, however, says that SgtSarros has won 4/4 challenges, whereas his opponent won 0/2, which should imply that SgtSaros won those too for 6/6. I think it is that figure which is wrong, and the opponent should have 2/2. With that one change, everything else looks OK.
Christian Democrats wrote:Would you mind explaining what's funny? I'm not seeing any humor.
The Blaatschapen wrote:I'll still graze the forums with my presence
Please do not TG me about graphics requests. That's what the threads are there for.

User avatar
SgtSarros
Civil Servant
 
Posts: 8
Founded: Apr 12, 2016
Civil Rights Lovefest

Postby SgtSarros » Sun Apr 17, 2016 2:21 pm

Almonaster Nuevo wrote:The problem looks to me to be in the description text, not the percentages. 3 of 5 as originally reported would indeed be 60%, and 4 of 6 in the screenshot matches the reported 67%.

The text, however, says that SgtSarros has won 4/4 challenges, whereas his opponent won 0/2, which should imply that SgtSaros won those too for 6/6. I think it is that figure which is wrong, and the opponent should have 2/2. With that one change, everything else looks OK.



Except there is that spot that says that Stark Lands has 0 wins.

User avatar
Almonaster Nuevo
Negotiator
 
Posts: 5939
Founded: Mar 11, 2007
Civil Rights Lovefest

Postby Almonaster Nuevo » Sun Apr 17, 2016 4:02 pm

SgtSarros wrote:
Almonaster Nuevo wrote:The problem looks to me to be in the description text, not the percentages. 3 of 5 as originally reported would indeed be 60%, and 4 of 6 in the screenshot matches the reported 67%.

The text, however, says that SgtSarros has won 4/4 challenges, whereas his opponent won 0/2, which should imply that SgtSaros won those too for 6/6. I think it is that figure which is wrong, and the opponent should have 2/2. With that one change, everything else looks OK.



Except there is that spot that says that Stark Lands has 0 wins.


Which is precisely what I'm saying. The written description is wrong. Stark Lands challenged twice and won twice. That then agrees with the result bars and the percentages.
Christian Democrats wrote:Would you mind explaining what's funny? I'm not seeing any humor.
The Blaatschapen wrote:I'll still graze the forums with my presence
Please do not TG me about graphics requests. That's what the threads are there for.

User avatar
SgtSarros
Civil Servant
 
Posts: 8
Founded: Apr 12, 2016
Civil Rights Lovefest

Postby SgtSarros » Sun Apr 17, 2016 4:27 pm

Almonaster Nuevo wrote:
SgtSarros wrote:

Except there is that spot that says that Stark Lands has 0 wins.


Which is precisely what I'm saying. The written description is wrong. Stark Lands challenged twice and won twice. That then agrees with the result bars and the percentages.



I had meant more at the top where it says they have 0 wins and 9 losses up at the top under 'the commonweath of stark lands'.
Thusly the number of times they have challenged me does not matter. Could be one challenge or all 9 of their challenges are against me, if they have 0 wins all-time, then they have won 0 times challenging me.
Last edited by SgtSarros on Sun Apr 17, 2016 4:28 pm, edited 1 time in total.

User avatar
Almonaster Nuevo
Negotiator
 
Posts: 5939
Founded: Mar 11, 2007
Civil Rights Lovefest

Postby Almonaster Nuevo » Sun Apr 17, 2016 4:41 pm

SgtSarros wrote:
Almonaster Nuevo wrote:
Which is precisely what I'm saying. The written description is wrong. Stark Lands challenged twice and won twice. That then agrees with the result bars and the percentages.



I had meant more at the top where it says they have 0 wins and 9 losses up at the top under 'the commonweath of stark lands'.
Thusly the number of times they have challenged me does not matter. Could be one challenge or all 9 of their challenges are against me, if they have 0 wins all-time, then they have won 0 times challenging me.


Ah, yes. I missed that.

That implies that either the results bar or the description of the results for when you challenged is wrong. I've always found the results bar to be accurate, so in the mean time I'd suggest you rely on that.

The minimum change to be consistent would be "Sgt Saros has been the challenger 4 times, of which 2 were victories". That may not be it, though.
Christian Democrats wrote:Would you mind explaining what's funny? I'm not seeing any humor.
The Blaatschapen wrote:I'll still graze the forums with my presence
Please do not TG me about graphics requests. That's what the threads are there for.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Countriopia, Notanam

Advertisement

Remove ads