Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeError when trying to access dashboard #23

Closed
ryanlecompte opened this issue Oct 16, 2011 · 5 comments
Closed

RangeError when trying to access dashboard #23

ryanlecompte opened this issue Oct 16, 2011 · 5 comments

Comments

@ryanlecompte
Copy link
Contributor

Hello,

I'm getting the following error when I try to access the dashboard at /split:

RangeError at /split
can't convert -8.659560562354933e-17+1.414213562373095i into Float
file: dashboard.rb location: to_f line: 32

Does this mean I've somehow setup the experiment wrong?

Thanks,
Ryan

@andrew
Copy link
Member

andrew commented Oct 16, 2011

Potentially, which version of split are you using? And can you paste in the your ab_test method?

@ghost ghost assigned andrew Oct 16, 2011
@ryanlecompte
Copy link
Contributor Author

Split 0.3.0 and the error has suddenly gone away now. Can't reproduce! I will keep trying though. It may have been Redis funkiness, not sure.

Thanks!

On Oct 16, 2011, at 4:32 AM, Andrew Nesbittreply@reply.github.com wrote:

Potentially, which version of split are you using? And can you paste in the your ab_test method?

Reply to this email directly or view it on GitHub:
#23 (comment)

@andrew
Copy link
Member

andrew commented Oct 16, 2011

Weird, that number ( -8.659560562354933e-17+1.414213562373095i ) is already a float as well, just a very tiny one.

It looks like that to_f call on line 32 isn't really needed so if you get that error again I'll look at removing it to see if it fixes it.

@andrew andrew closed this as completed Oct 16, 2011
@nottombrown
Copy link

I just got this same error on version 3.3. It was occurring in testing when I had negative values for non-finished participants (e.g. more completed than participating)

@andrew
Copy link
Member

andrew commented Mar 3, 2012

I've just pushed a fix for this, could you try it out and see if you still get the same problem?

@andrew andrew reopened this Mar 4, 2012
@andrew andrew closed this as completed Mar 4, 2012
@andrew andrew removed their assignment Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants