Numbers precision (in production window) / Display 3 significant/relevant numbers / Full precision when hover numbers

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Tekky
Smart Inserter
Smart Inserter
Posts: 1040
Joined: Sun Jul 31, 2016 10:53 am
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by Tekky »

I agree with the OP (original poster) that it would be important to increase the precision of the displayed values to 3 significant digits.

However, I'm not sure if reducing the font size would be the right thing to do. On the other hand, I have no better suggestion.
Cribbit
Fast Inserter
Fast Inserter
Posts: 204
Joined: Mon Oct 09, 2017 9:35 pm
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by Cribbit »

Rseding91 wrote:Rendering individual letters different sizes has a large amount of overhead and code complexity since each new letter size needs to be prepared as a font before it can be rendered. Meaning: different sized letters is not likely to ever happen.
When I've run into this I've created a font that artificially made the period smaller. So you're still loading just one font, but the period character is smaller.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3044
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by BlueTemplar »

Zavian wrote:I don't see any reason to go beyond 3 significant figures in the production screen, certainly not enough to justify developer time on another option

The problem with 2 significant figures is that for a value of 1.0k, it's somewhere between 1000 and 1099. That is a 9.9% uncertainty. (9.999% if the value is averaged over time, or for production values of 1.0m). 10% is a large uncertainty. Moving to 3 significant figures always would make the max uncertainty 1%, which in my mind is good enough.
Wouldn't 1.0k mean between 1000 and 1049 ?
(With 999 being displayed fully, and 1050 being rounded to 1.1k...)

P.S.:
Why though production numbers get 4 significant digits between 100.0 and 999.9, and only "3" (counting the k) - above?
factorio_2018-08-17_00-21-58.png
factorio_2018-08-17_00-21-58.png (362.22 KiB) Viewed 6232 times
BobDiggity (mod-scenario-pack)
DaleStan
Filter Inserter
Filter Inserter
Posts: 371
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by DaleStan »

BlueTemplar wrote:Wouldn't 1.0k mean between 1000 and 1049 ?
(With 999 being displayed fully, and 1050 being rounded to 1.1k...)
No; Factorio rounds down, not to nearest. 1050-1099 is rounded to 1.0k, 1100-1199 is rounded to 1.1k, and so forth. Factorio's always-round-down rule is one reason you don't occasionally see 1000 instead of 1.0k. (Some games round 999.5-999.9 up to 1000, and round 1000-1049.9 down to 1.0k.)
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3044
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by BlueTemplar »

Ah, I guess that it truncates - because it's less computationally intensive ?
BobDiggity (mod-scenario-pack)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14252
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by Rseding91 »

BlueTemplar wrote:Ah, I guess that it truncates - because it's less computationally intensive ?
It's the same cost either way. But having a GUI show "you're producing 1000 blue science a minute" when you're actually producing 901 would be very misleading.
If you want to get ahold of me I'm almost always on Discord.
Zavian
Smart Inserter
Smart Inserter
Posts: 1648
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by Zavian »

BlueTemplar wrote:Why though production numbers get 4 significant digits between 100.0 and 999.9, and only "3" (counting the k) - above?
Whilst the k is a 3rd character it is not a significant figure.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2370
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by Jap2.0 »

Rseding91 wrote:
BlueTemplar wrote:Ah, I guess that it truncates - because it's less computationally intensive ?
It's the same cost either way. But having a GUI show "you're producing 1000 blue science a minute" when you're actually producing 901 would be very misleading.
It should be 950+, not 901+. Also, I think that a more accurate number in a tooltip could be a good idea (as someone suggested above).
There are 10 types of people: those who get this joke and those who don't.
pichutarius
Fast Inserter
Fast Inserter
Posts: 158
Joined: Mon Feb 27, 2017 12:47 am
Contact:

Re: Always use 3 s.f. when showing shortened numbers

Post by pichutarius »

bump

+1 for 3 s.f. ALL times!

i can tell the difference between 999.1 and 999.2, but not 1000 and 1099? not happy :(

in the mean time, is there any work around (mods or command etc)?
vanatteveldt
Filter Inserter
Filter Inserter
Posts: 947
Joined: Wed Nov 25, 2015 11:44 am
Contact:

Precision on production statistics

Post by vanatteveldt »

When designing plants in creative mode, I generally want to ensure optimal production for some configuration. For low numbers, you can check whether production matches the statistics in the [p] screen. However, for numbers >1k it goes into scientific notation, meaning we can't see whether we're producing as many green circuits as we should.

Suggestion: Make a configurable option (or a lua-only option, if necessary) to disable scientific notation or set the amount of digits.
Koub
Global Moderator
Global Moderator
Posts: 7774
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Precision on production statistics

Post by Koub »

Quite related suggestion : viewtopic.php?f=6&t=58578 (different solution for the same issue).
Koub - Please consider English is not my native language.
vanatteveldt
Filter Inserter
Filter Inserter
Posts: 947
Joined: Wed Nov 25, 2015 11:44 am
Contact:

Re: Precision on production statistics

Post by vanatteveldt »

Well I agree that that suggestion is a great idea, but it seems that my fellow Dutchman wants to improve on overall factory balancing and throughput, whereas my suggestion is aimed at optimizing single designs...

(also, his suggestion seems like quite a GUI challenge, while my suggestion should be a relatively easy option of allowing 1, 2, or 3 digits. But that's up to the devs I suppose :))
Zavian
Smart Inserter
Smart Inserter
Posts: 1648
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: Precision on production statistics

Post by Zavian »

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1133
Joined: Sun Feb 16, 2020 12:47 am
Contact:

More significant figures in power production menu.

Post by NotRexButCaesar »

I was recently testing my nuclear reactor blueprints, and was looking in the power menu to see whether they were producing full power or not. I noticed that there are only two digits shown; I think that having one more figure of accuracy would be enough to see bottlenecks, but would also (from my guess) not be too hard to add and not affect performance in a meaningful way.
—Crevez, chiens, si vous n'étes pas contents!
Serenity
Smart Inserter
Smart Inserter
Posts: 1016
Joined: Fri Apr 15, 2016 6:16 am
Contact:

Re: More significant figures in power production menu.

Post by Serenity »

This isn't just needed for power production. The rounding is bad in general. For example things are listed as 1.8K / min rather than showing the exact amount. This is bad when testing if builds produce as much as they theoretically could. Even small things can make a noticeable difference there.
User avatar
picklock
Fast Inserter
Fast Inserter
Posts: 214
Joined: Sat Nov 09, 2019 6:49 am
Contact:

Re: More significant figures in power production menu.

Post by picklock »

+1

I would also like to see more digits in the statistics for values greater than 1000. Maybe you can also display the exact value in a ToolTip.
My Mods: Picklocks Fusion Power | Picklocks Inserter | Picklocks Lithium Polymer Accumulator | Picklocks rocket silo stats | Picklocks Set Inventory Filters | Picklocks QuickBar Import/Export | Picklocks Nauvis Cliff-Explosives
User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1133
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: More significant figures in power production menu.

Post by NotRexButCaesar »

picklock wrote: Fri Jan 29, 2021 7:33 pm Maybe you can also display the exact value in a ToolTip.
This sounds perfect.
—Crevez, chiens, si vous n'étes pas contents!
Dark_Wynd
Burner Inserter
Burner Inserter
Posts: 12
Joined: Wed Nov 11, 2020 2:14 pm
Contact:

Add a toggle to change the display of circuit network values.

Post by Dark_Wynd »

TL;DR
It would be awesome to have a way to view the exact value of a given signal when the value is above 1000.
What ?
Currently, whenever circuit network signals are above 1000, they are abbreviated as 1.0k. While in most cases this is a great display option, I believe it might be beneficial to have a way to toggle the way these numbers are displayed so that it can show its actual complete value instead of the abbreviated 1.0k format.
Why ?
Troubleshooting circuit network can be very difficult when dealing with large numbers. A value of 1012 and 1099 will be displayed as 1.0k. So, if you have a check in a decider combinator which has a condition of "value greater than 1050" then, troubleshooting issues becomes difficult since there are no way to view the actual value instead of the formatted 1.0k value. It becomes a guessing game when trying to figure out why your decider combinator will or won't "fire".

This is even more difficult when dealing with larger values like millions (m) or billions (g).
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Numbers precision displayed (in production window) / Change relevant numbers / Always display 3 significant numbers

Post by ssilk »

Merged some threads into this relatively old but still relevant subject

Related stuff

viewtopic.php?f=6&t=72901 Interface option to select digits of precision when abbreviating numbers
viewtopic.php?f=6&t=82475 Better readability for big numbers on tooltip

@Dark_Wynd
I moved that post into this subject, because it is very sure, that the way how numbers are displayed will not change. What I can think we can hope for is, that the number of relevant signatures is increased.

Or (and that is my favourite idea from this thread) that if you hover over any number, you will see the exact number in full precision as tooltip.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Amarula
Filter Inserter
Filter Inserter
Posts: 542
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: Numbers precision displayed (in production window) / Change relevant numbers / Always display 3 significant numbers

Post by Amarula »

ssilk wrote: Thu Jun 03, 2021 9:16 am Or (and that is my favourite idea from this thread) that if you hover over any number, you will see the exact number in full precision as tooltip.
Yes please!
My own personal Factorio super-power - running out of power.
Post Reply

Return to “Ideas and Suggestions”