relate icon indicating copy to clipboard operation
relate copied to clipboard

Fully correct flow submissions get truncated as 99.99%

Open nicknytko opened this issue 4 years ago • 4 comments

image

When getting full points on a flow, the results page will show a 99.99% instead of 100.00%. This is at the url:

https://relate.cs.illinois.edu/course/[course]/flow-session/[flow-id]/finish/

nicknytko avatar Sep 02 '20 16:09 nicknytko

Thanks for the report! Does this happen always, or just under specific circumstances? (I've never observed it myself, so I'd be surprised if the answer was 'always'.) If it's "only sometimes", would you mind sending me (by private email) an example flow ID on the Illinois instance so I have a reproducer to look at?

inducer avatar Sep 02 '20 16:09 inducer

I think this always happens, but I can send an example flow id if that would be helpful

nicknytko avatar Sep 02 '20 17:09 nicknytko

#758 contains work towards this.

inducer avatar Sep 02 '21 05:09 inducer

The issue is that the percent bar breaks if it gets bar lengths that add up to 100%. That’s why there’s logic to limit the sum of the bars lengths to 99.99%. And somehow that number has found its way into another part of the presentation code for the flow result.

inducer avatar Sep 02 '21 05:09 inducer