Page 1 of 1
[0.15] [Rseding91] Space Science Production Tab shows Incorrect Values
Posted: Fri May 12, 2017 6:21 am
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
- 20170512010829_1.jpg (630.59 KiB) Viewed 2676 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
- 20170512010827_1.jpg (636.87 KiB) Viewed 2676 times
. With a 10 minute window, the answer is somewhere in the middle with 5.7k science packs produced, image

- 10 minute window
- 20170512010828_1.jpg (633.5 KiB) Viewed 2676 times
.
Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values
Posted: Fri May 12, 2017 4:17 pm
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.
Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values
Posted: Sat May 13, 2017 4:33 pm
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
- 20170513112116_1.jpg (559.72 KiB) Viewed 2619 times
The 10 minute window shows the correct value, though - 6k in this case.

- 10 minute window
- 20170513112118_1.jpg (565.68 KiB) Viewed 2619 times
The save file is here:
. To launch another rocket, turn on the constant combinator. Thanks for helping with this.
Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values
Posted: Sat May 13, 2017 7:03 pm
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.
Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values
Posted: Sat May 13, 2017 11:32 pm
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?
Re: [0.15] [Rseding91] Space Science Production Tab shows Incorrect Values
Posted: Sun May 14, 2017 10:26 pm
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.