Skip to content

user log overall stats decimal places #240

Closed

Description

@yakra

On the forum, @michihdeu wrote:

A little note: Stats display 2 positions after decimal point but log files only 1 postition for %:

Overall in active systems: 21444.42 of 601917.46 mi (3.6%)
Overall in active+preview systems: 23430.16 of 795041.69 mi (2.9%)

21444.42/601917.46 mi (3.56%) Rank: TBD
23430.16/795041.69 mi (2.95%) Rank: TBD

Posting here in DataProcessing assuming a change of log files 1->2 places, rather than stats pages 2->1 places.

Activity

  1. michihdeu commented on Jul 11, 2019

    @michihdeu
    Contributor

    I've posted it two years ago.... 😮 but it's still annoying, thanks.

  2. jteresco commented on Jul 13, 2019

    @jteresco
    Contributor

    Agree with the change to add a digit in the log rather than drop one on the web front end. I'll take care of this while @yakra is deep in the web side.

  3. jteresco commented on Jul 13, 2019

    @jteresco
    Contributor

    Fixed in both languages, tested in Python, but not C++.

  4. yakra commented on Jul 14, 2019

    @yakra
    ContributorAuthor

    Yay, our first C++ commit from another contributor! 👍
    Obviously something that doesn't need testing, but I tested it anyway; looks good.
    Thanks for getting that.

  5. michihdeu commented on Aug 15, 2019

    @michihdeu
    Contributor

    @jteresco Log files have one digit again. Did anything go wrong with the files on the production server?

    http://travelmapping.net/logs/users/michih.log
    http://205.209.84.174/logs/users/michih.log

    @yakra has not updated his mirror and it's still 2 digits there!

  6. jteresco commented on Aug 15, 2019

    @jteresco
    Contributor

    Hmm, the site update program on the production server was last modified on July 11. It looks like I never installed the fix at all. Was it showing 2 digits at some point?

    In any case, I just updated the site update program to the latest from GitHub, so we should be at 2 digits starting with the next run.

  7. michihdeu commented on Aug 15, 2019

    @michihdeu
    Contributor

    I'm not 100% sure that it was live on the production server. Maybe I've just seen it on the mirror? Or tmtest? Nevertheless, thanks for updating the production server now 😃

  8. jteresco commented on Aug 15, 2019

    @jteresco
    Contributor

    Thanks for catching it. I'm going to launch an update now.

  9. yakra commented on Aug 19, 2019

    @yakra
    ContributorAuthor

    I've not done much with my mirror in August. Sounds like it's good wrt this issue, but I'd still do well to remind myself of where its repos are at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions