[0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Bugs that are actually features.
rosilisk
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Aug 10, 2016 4:11 am
Contact:

[0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Post by rosilisk »

Display of the amount of space science packs produced in the 'Production' tab is broken. My base launches two rockets simultaneously using the circuit network, I'm not sure if that's required for the bug to manifest.

Especially with a relatively small window time (1 minute), the amount of packs shown in production is less than what's actually produced. For example, when 2 rockets were launched about 10 seconds ago, the production tab with shows 1.7k produced in the last minute, which is wrong. All the science packs have been put in the rocket silo and the 1.7k number won't change until the whole minute has passed. See the first image
1 minute window
1 minute window
20170512010829_1.jpg (630.59 KiB) Viewed 2674 times
With a larger window time, the amount of packs is larger but still not quite right. With an hour-long window and launching 6 rockets, 5.9k science packs are shown in production, see the second image
1 hour window
1 hour window
20170512010827_1.jpg (636.87 KiB) Viewed 2674 times
. With a 10 minute window, the answer is somewhere in the middle with 5.7k science packs produced, image
10 minute window
10 minute window
20170512010828_1.jpg (633.5 KiB) Viewed 2674 times
.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14966
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Post by Rseding91 »

Please upload the save file you're using.

Also if the rocket silo ran out of room it will only show the items that managed to fit into the silo.
If you want to get ahold of me I'm almost always on Discord.
rosilisk
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Aug 10, 2016 4:11 am
Contact:

Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Post by rosilisk »

I reproduced the error in a new world (using the creative mode mod) - the save file for my main world is 70 MB.

When launching two rockets at the same time, the 1 minute production window consistently shows 1.7k space science produced.
1 minute window
1 minute window
20170513112116_1.jpg (559.72 KiB) Viewed 2617 times
The 10 minute window shows the correct value, though - 6k in this case.
10 minute window
10 minute window
20170513112118_1.jpg (565.68 KiB) Viewed 2617 times
The save file is here:
Test_After_Launch.zip
Save file with rockets launched.
(2.99 MiB) Downloaded 120 times
. To launch another rocket, turn on the constant combinator. Thanks for helping with this.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14966
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Post by Rseding91 »

That's due to the window showing an average over the time duration selected and the item production stats doing additional smoothing of the information recorded. If you look at the all-time section you can see it correctly records the 2k packs produced.

It has worked this way since 0.8.
If you want to get ahold of me I'm almost always on Discord.
rosilisk
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Aug 10, 2016 4:11 am
Contact:

Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Post by rosilisk »

Rseding91 wrote:... item production stats doing additional smoothing of the information recorded...
I don't fully understand what you mean by this. What's the width of this smoothing function? Judging by the plot, it's at top-hat with 5 second width in the case of space science.

The window is showing the wrong average. In the last minute, I have produced 2k science packs. All of it was produced at the same instant about 30 seconds ago. But the `1m` production tab shows 1.7k produced for an average rate of 1.7k/m. The 10 minute production tab does not have this problem. How is this not a bug?
rosilisk
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Aug 10, 2016 4:11 am
Contact:

Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values

Post by rosilisk »

Furthermore, if I construct a circuit network to launch a rocket *exactly* ever 2 minutes of in-game time, the bug persists. So it's not just a filtering issue.
Post Reply

Return to “Not a bug”