Round calc_NP and Wbal

Issue #102 resolved
Daniel Besse created an issue

calc_NP and Wbal streams probably don't need full float/double precision stored in js. Ronding could thus save space in database (preform rounding at the very end in StressScore library)

Comments (3)

  1. Daniel Besse reporter

    Rounding before saving (see #102)

    • computed NP and Wbal streams, and MMP are rounded (very conservatively: only after all computations are done and with 4 decimals)
    • rounding is removed from view page (hopefully faster loading)

    → <<cset cea616da7735>>

  2. Daniel Besse reporter

    On some test activities, this shows >10% reduction in the streams field of the database without any visible change in the metrics. If any problem is noticed, please say so. Otherwise, should we recompute old activities?

  3. Log in to comment