[CYPRESS-259] Median Calculation Algorithm producing incorrect results Created: 10/29/13  Updated: 05/06/18  Resolved: 12/12/13

Status: Closed
Project: CYPRESS Issue Tracker
Component/s: None

Type: Bug/Issue Priority: Minor
Reporter: Samuel Sayer (Inactive) Assignee: Samuel Sayer (Inactive)
Resolution: Delivered Votes: 1
Labels: cypress

Solution: Fixed median calculation algorithm, added tests to confirm fix works in all cases. Fixed in Cyprss 2.4.1
Previous Issue Type: Implementation Problem

 Description   

Due to the way integers are rounded, Cypress may return an incorrect value when calculating medians on sets with an odd number of elements.



 Comments   
Comment by Nagesh Bashyam [ 05/20/14 ]

Fang

Cypress 2.4.1 does have fixes for this issue, however there is still an additional bug that has been identified at
http://jira.oncprojectracking.org/browse/CYPRESS-331

Thanks

Comment by Fang qian (Inactive) [ 05/14/14 ]

Does this issue get resolved in Cypress 2.4.1? It seems like i still have this problem when perform the testing on the site. Any thoughts?

Comment by Robert Dingwell (Inactive) [ 11/13/13 ]

The median issue is fixed but a point release of Cypress has not yet been release that incorporates that change.

Comment by jonathan devries (Inactive) [ 11/12/13 ]

I have been unable to get the medians matching at all, they seem to take the first value not the median

this is my only outstanding issue

Generated at Tue Apr 23 11:02:21 EDT 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.