NATION

PASSWORD

NationStates issue results

A place to spoil daily issues for those who haven't had them yet, snigger at typos, and discuss ideas for new ones.

Advertisement

Remove ads

User avatar
Ganymede
Political Columnist
 
Posts: 3
Founded: May 12, 2018
Ex-Nation

Postby Ganymede » Fri May 18, 2018 9:07 am

Here's something funny: for issue 902, legalizing murder boosts scientific advancement, but teaching the police how to use computers doesn't.


Trotterdam wrote:However, Average Income is simply your Economic Output divided by population (this is an oversimplification of how real-life economics works, but fair enough), and is tracked.


I was wondering about that! Thanks!

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Fri May 18, 2018 9:43 am

Ganymede wrote:Here's something funny: for issue 902, legalizing murder boosts scientific advancement, but teaching the police how to use computers doesn't.
Well yeah. In the former case, you're encouraging everyone to use computers more, not just the police ;)

Everyone who wants someone dead, anyway.

The assassination business is so great for the economy!

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Fri May 18, 2018 8:16 pm

New feature: all effect lines on one page.

This is mainly useful to search which issue a particular effect line is from.

The format for this list closely resembles the text file I had been using for years to track effect lines before I wrote this program, only HTMLified for links, and a little more rigid because it's produced by an automated program that's less tolerant of ad-hoc margin notes than a manually-updated file.

User avatar
He Qixin
Diplomat
 
Posts: 606
Founded: Aug 28, 2017
Ex-Nation

Postby He Qixin » Fri May 18, 2018 10:02 pm

Trotterdam wrote:New feature: all effect lines on one page.

This is mainly useful to search which issue a particular effect line is from.

The format for this list closely resembles the text file I had been using for years to track effect lines before I wrote this program, only HTMLified for links, and a little more rigid because it's produced by an automated program that's less tolerant of ad-hoc margin notes than a manually-updated file.

awesome!
jacknjellify wrote:Watch Battle For Dream Island or be eliminated.

According to this index, this civilization is:
Tier: 8
Level: 5
Type: 6
A 9 civilization because I lean more towards it.

This nation is always used to post in the forums unless the forum is the WA, for which I use Triangle and Square, a WA member, to post.

User avatar
Chan Island
Negotiator
 
Posts: 5489
Founded: Nov 26, 2015
Inoffensive Centrist Democracy

Postby Chan Island » Sat May 19, 2018 12:11 am

Trotterdam wrote:New feature: all effect lines on one page.

This is mainly useful to search which issue a particular effect line is from.

The format for this list closely resembles the text file I had been using for years to track effect lines before I wrote this program, only HTMLified for links, and a little more rigid because it's produced by an automated program that's less tolerant of ad-hoc margin notes than a manually-updated file.


Now this will be an interesting resource. Cheers!
Conserative Morality wrote:"It's not time yet" is a tactic used by reactionaries in every era. "It's not time for democracy, it's not time for capitalism, it's not time for emancipation." Of course it's not time. It's never time, not on its own. You make it time. If you're under fire in the no-man's land of WW1, you start digging a foxhole even if the ideal time would be when you *aren't* being bombarded, because once you wait for it to be 'time', other situations will need your attention, assuming you survive that long. If the fields aren't furrowed, plow them. If the iron is not hot, make it so. If society is not ready, change it.

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sat May 19, 2018 8:47 pm

Uh-oh.

http://www.mwq.dds.nl/ns/results/241.html
+0 to +1.37 Civil Rights (mean +0.0007)
-1.03 to -0 Social Conservatism (mean -0.0006)
+0 to +2.25 Nudity (mean +0.0012)
+0 to +0.02 Sector: Agriculture (mean +0.0000)
+0 to +0.01 Industry: Timber Woodchipping (mean +0.0000)
+0 to +0.01 Industry: Book Publishing (mean +0.0000)
+0 to +0.01 Sector: Manufacturing (mean +0.0000)
+0 to +0.2 Intelligence (mean +0.0001)
-0.31 to -0 Ignorance (mean -0.0002)
-0.03 to -0 Compliance (mean -0.0000)
-0.35 to -0 Ideological Radicality (mean -0.0002)
-0.38 to -0 Pacifism (mean -0.0002)
-10.61 to -0 Authoritarianism (mean -0.0057)
+0 to +0.79 Tourism (mean +0.0004)
+0 to +0.2 Recreational Drug Use (mean +0.0001)
-0.01 to -0 Charmlessness (mean -0.0000)
+0 to +0.07 Average Income (mean +0.0000)
+0 to +0.05 Average Income of Poor (mean +0.0000)
+0 to +0.09 Average Income of Rich (mean +0.0000)
+0 to +0.05 Average Disposable Income (mean +0.0000)
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851
1851


So, looking at these numbers (comparing the maximum change, mean change, and number of data points), it appears that the option has been seen having a nonzero effect exactly once.

This is extremely unlikely to be due to the option actually having an effect under certain rare conditions. Unfortunately, the alternative, that bad data somehow slipped through my safeguards, is really frustrating. I've tried very carefully to check for all possible causes of unreliable data (except for one, which is impossible to detect, but also really rare), but if there's a mistake somewhere anyway, it's going to be nearly impossible to catch.

User avatar
Candlewhisper Archive
Senior Issues Editor
 
Posts: 22291
Founded: Aug 28, 2015
Anarchy

Postby Candlewhisper Archive » Mon May 21, 2018 1:55 am

The only effect that option has is to unlock the fields, and that has been true of that option since the beginning. So yeah, must be a data collection bug.
editors like linguistic ambiguity more than most people

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Mon May 21, 2018 2:54 am

Well, I have no idea where to start looking for a bug that only appears once in 1851 times.

I'll just manually clear the data.

User avatar
Sapnu puas
Spokesperson
 
Posts: 169
Founded: Jan 25, 2017
Compulsory Consumerist State

Postby Sapnu puas » Mon May 21, 2018 7:42 am

Trotterdam wrote:Well, I have no idea where to start looking for a bug that only appears once in 1851 times.

I'll just manually clear the data.

So why does it always confirm data for all 1851 times, if it has only shown results one time? Shouldn't it show more of common increase/decrease of values out of 1851?

Ex: Nudity registers changes only 79 times out of 1851; not all nations get the listed stat changes. However, issues involving only compassion changes/little of anything else still shows more.

If I confused you, all I'm asking is if the extra stat confirmation intentional.
AKA QuazzleTheQaz
Yes, I know my name is a bad joke. If you don't get it, read it upside down.

“A lot happens to a nation when you don't focus on what you desire, rather than me specifically focusing on (mainly) trout, cheese, nudity, and many other areas!”


It is worth noting that my nation does not represent my personal beliefs.

User avatar
Fresh-avaca-do
Civil Servant
 
Posts: 6
Founded: Jan 23, 2017
Iron Fist Consumerists

Postby Fresh-avaca-do » Mon May 21, 2018 11:12 am

Also, http://www.mwq.dds.nl/ns/results/775.html is missing a question mark after "Affirmative Election"

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Mon May 21, 2018 2:44 pm

Sapnu puas wrote:So why does it always confirm data for all 1851 times, if it has only shown results one time? Shouldn't it show more of common increase/decrease of values out of 1851?
It confirmed data 1851 times. 1850 of those times, the data it confirmed was zero.

Fresh-avaca-do wrote:Also, http://www.mwq.dds.nl/ns/results/775.html is missing a question mark after "Affirmative Election"
That's because the report didn't include it, and nobody's ever posted a correction since. However, it so happens that actually got that issue on a puppet myself recently, and though I didn't notice the discrepancy at the time, I now looked back and confirmed that there is indeed a question mark there. So, fixed. (In my local database - ETA a bit over three hours until the next upload to the public site.) Thanks.

User avatar
Holy Marsh
Negotiator
 
Posts: 5358
Founded: Nov 09, 2007
Father Knows Best State

Postby Holy Marsh » Mon May 28, 2018 3:39 pm

Very helpful topic. Thank you for your great efforts!
Holy Marsh is ranked 1st in Nova (Greysteel) and 571st (477th) in the world for Largest Defense Forces.
Holy Marsh is ranked 2,723rd in the world and 1st in Greater Dienstad for Most Inclusive.
The Shift: An Update on Holy Marsh
"...an exercise in sadomasochistic futility," - Engaging in warfare against the Union

User avatar
Minoa
Senator
 
Posts: 4795
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Sat Jun 02, 2018 10:08 am

Hi, I think it would be nice to have each statistical change in a “div” container or something, so that I can write a userscript to track the census targets for my main nation by highlighting the target categories.

Example HTML code:
Code: Select all
<div id="01">-2.23 to +2.23 Economy (mean -0.8159)</div>
<div id="04">-132.63 to -0 Wealth Gaps (mean -1.5526)</div>
etc …
Last edited by Minoa on Sat Jun 02, 2018 10:23 am, edited 1 time in total.
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sat Jun 02, 2018 10:43 am

Minoa wrote:Hi, I think it would be nice to have each statistical change in a “div” container or something, so that I can write a userscript to track the census targets for my main nation by highlighting the target categories.
You can do that already by identifying them by name rather than ID?

It'd be slightly more complicated, but I'm wary of adding explicit "computer-readable" features to the site because I want to leave open the possibility of altering the formatting details at any time as it gets upgraded.

Still, shouldn't be hard, so I'll put it into consideration. A bit lazy right now though.

Minoa wrote:Example HTML code:
Code: Select all
<div id="01">-2.23 to +2.23 Economy (mean -0.8159)</div>
<div id="04">-132.63 to -0 Wealth Gaps (mean -1.5526)</div>
etc …
That's not actually good HTML :) id= is a defined HTML attribute, and is supposed to be unique within a document. So I'd have to call it something else.

User avatar
Minoa
Senator
 
Posts: 4795
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Sat Jun 02, 2018 2:45 pm

I think I am having a really bad day with coding. I've tried looking around for tutorials about adding a “div” tags after “td”, and replacing “br” with the closing and opening “div” tags, but all the tutorials I find on the web so far are totally vague and unhelpful.

I could have been more straightforward with my example code, though.

Code: Select all
<td>
   <div>+0 to +0.66 Civil Rights (mean +0.0017)</div>
   <div>-0.66 to -0 Social Conservatism (mean -0.0017)</div>
   <div>+0 to +0.14 Intelligence (mean +0.0004)</div>
   <div>-0.18 to -0 Ignorance (mean -0.0005)</div>
   <div>-0.22 to -0 Ideological Radicality (mean -0.0006)</div>
   <div>-22.02 to -0 Authoritarianism (mean -0.0553)</div>
   <div>+0 to +0.4 Tourism (mean +0.0010)</div>
   <div>unlocks @@CAPITAL@@ field</div>
</td>

Source: #241.1
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sat Jun 02, 2018 6:22 pm

Yeah, I know how HTML works. I'm fairly sure using <div> tags for every line should give the same effect as separating them with <br>.

Are you saying that, for your script, it's important for each individual line to be in its own <div> tag, but it's not important to have the id mentioned anywhere?

User avatar
Minoa
Senator
 
Posts: 4795
Founded: Oct 05, 2011
Civil Rights Lovefest

Postby Minoa » Sat Jun 02, 2018 8:14 pm

Trotterdam wrote:Yeah, I know how HTML works. I'm fairly sure using <div> tags for every line should give the same effect as separating them with <br>.

Are you saying that, for your script, it's important for each individual line to be in its own <div> tag, but it's not important to have the id mentioned anywhere?

I'm sorry, I think I really slipped up with my scripting this evening. I think I should take a break from that and then try again later. :(

For the record, this is what I got so far:

Code: Select all
var allElements, thisElement;

allElements = document.evaluate('//td',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);

for (var i = 0; i < allElements.snapshotLength; i++) {
    thisElement = allElements.snapshotItem(i);
 // Highlight positive targets
    if(thisElement.innerHTML.search(/(Environmental Beauty) \(mean +/i)>=0) {thisElement.style.color="darkgreen";}
    if(thisElement.innerHTML.search(/(Environmental Beauty) \(mean -/i)>=0) {thisElement.style.color="red";}
}
Mme A. d'Oiseau, B.A. (State of Minoa)

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sat Jun 02, 2018 8:54 pm

Okay, that makes sense. The thisElement thing you're doing does assume <div> (or whatever) tags. I'm sure it's possible to write the script to create them where necessary if they didn't exist before, but it would be more complicated.

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sun Jun 10, 2018 11:16 am

So, I caught nonzero data on #241 1 again.

+0 to +0.66 Civil Rights (mean +0.0010)
-0.66 to -0 Social Conservatism (mean -0.0010)
+0 to +0.14 Intelligence (mean +0.0002)
-0.18 to -0 Ignorance (mean -0.0003)
-0.22 to -0 Ideological Radicality (mean -0.0003)
-22.02 to -0 Authoritarianism (mean -0.0340)
+0 to +0.4 Tourism (mean +0.0006)
647
647
647
647
647
647
647


So it's not just a one-off fluke, even though it's still very rare. That makes 2 instances of nonzero data within 2498 data points. Wish I knew what's causing it.

However, this is just #241. #242 1 is still reported as never causing any changes despite 1147 data points.

Well, purged again.

User avatar
Chan Island
Negotiator
 
Posts: 5489
Founded: Nov 26, 2015
Inoffensive Centrist Democracy

Postby Chan Island » Sun Jun 10, 2018 8:28 pm

Trotterdam wrote:So, I caught nonzero data on #241 1 again.

+0 to +0.66 Civil Rights (mean +0.0010)
-0.66 to -0 Social Conservatism (mean -0.0010)
+0 to +0.14 Intelligence (mean +0.0002)
-0.18 to -0 Ignorance (mean -0.0003)
-0.22 to -0 Ideological Radicality (mean -0.0003)
-22.02 to -0 Authoritarianism (mean -0.0340)
+0 to +0.4 Tourism (mean +0.0006)
647
647
647
647
647
647
647


So it's not just a one-off fluke, even though it's still very rare. That makes 2 instances of nonzero data within 2498 data points. Wish I knew what's causing it.

However, this is just #241. #242 1 is still reported as never causing any changes despite 1147 data points.

Well, purged again.



It sounds like maybe there is a glitch that causes stat changes in one in every 2000 people.
Conserative Morality wrote:"It's not time yet" is a tactic used by reactionaries in every era. "It's not time for democracy, it's not time for capitalism, it's not time for emancipation." Of course it's not time. It's never time, not on its own. You make it time. If you're under fire in the no-man's land of WW1, you start digging a foxhole even if the ideal time would be when you *aren't* being bombarded, because once you wait for it to be 'time', other situations will need your attention, assuming you survive that long. If the fields aren't furrowed, plow them. If the iron is not hot, make it so. If society is not ready, change it.

User avatar
Trithereon
Bureaucrat
 
Posts: 42
Founded: Apr 14, 2018
Ex-Nation

Postby Trithereon » Fri Jun 15, 2018 8:27 pm

Trot, do you have any idea what kind of insane "logic" might result in athoritatianism increasing when I legalized white-collar collective bargaining?
347.3 and 571.1 are examples of the CORRECT way to handle authoritarianism: it should decrease or stay the same every time government stays out of something, regardless of what individuals do to each other.

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Fri Jun 15, 2018 9:55 pm

Trithereon wrote:Trot, do you have any idea what kind of insane "logic" might result in athoritatianism increasing when I legalized white-collar collective bargaining?
It helps to say what issue you're talking about. This time, I was able to look at your recent legislation history and I think you mean #76 option 2, but in the future, you should really specify.

According to my data, this option increases Civil Rights, may either increase or decrease Economic Freedom depending on your preexisting state, and does not affect Political Freedom. This will usually cause a net reduction in Authoritarianism, but can increase it in certain circumstances.

I believe that the reason for the inconsistent effect on Economic Freedom is that this issue balances the rights of employees (to form unions and strike for better pay) with the rights of employers (to hire who they want and fire greedy people demanding raises). Presumably, your nation already heavily favored employee rights, so you were just making things harder on employers without really being able to help employees much more.

User avatar
Trithereon
Bureaucrat
 
Posts: 42
Founded: Apr 14, 2018
Ex-Nation

Postby Trithereon » Sat Jun 23, 2018 8:08 am

But legalizing collective bargaining doesn't infringe on the right of employers to fire people :/
347.3 and 571.1 are examples of the CORRECT way to handle authoritarianism: it should decrease or stay the same every time government stays out of something, regardless of what individuals do to each other.

User avatar
Candlewhisper Archive
Senior Issues Editor
 
Posts: 22291
Founded: Aug 28, 2015
Anarchy

Postby Candlewhisper Archive » Mon Jun 25, 2018 2:55 am

Trotterdam, just so you know, I've added a link to this thing to the end of the How To Write An Issue thread, mostly for my own bookmarking convenience.

If you have any objection to that, let me know and I'll remove it.
editors like linguistic ambiguity more than most people

User avatar
Trotterdam
Powerbroker
 
Posts: 9177
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Mon Jun 25, 2018 7:07 am

Candlewhisper Archive wrote:Trotterdam, just so you know, I've added a link to this thing to the end of the How To Write An Issue thread, mostly for my own bookmarking convenience.

If you have any objection to that, let me know and I'll remove it.
Nah, I love it when people cite me for stuff!

Word-of-mouth advertising is best advertising.

PreviousNext

Advertisement

Remove ads

Return to Got Issues?

Who is online

Users browsing this forum: Index Defects, Storslatte-Arbeidere, Trotterdam

Advertisement

Remove ads