Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Problems with NaN values in api results

#479

Hello,

I just figured out that some api requests return results containing NaN values, e.g. /search/multi?language=de&query=bruce

If I try to parse this (using iOS default parser) I get the following error: "Number wound up as NaN around character 4310"
The number starting at character 4310 is 3.70085029754672e-117

Other example would be /search/multi?language=de&query=calif&search_type=ngram
The NaN value here is 9.25212574386681e-116

Is this a known issue?

Thank you,
grogster

Reported by Grogster · May 9th, 2015 @ 04:32 AM

State: resolved
Milestone: Marvel's Daredevil
Assigned to: Travis Bell Travis Bell

Activity

  1. Travis Bell
    Travis Bell
    • State changed from new to started
    • Tag set to bug
    • Milestone changed from Icebox to Marvel's Daredevil

    May 13th, 2015 @ 08:37 AM

  2. Travis Bell
    Travis Bell

    Hi grogster,

    Yes, this is a known issue. I'll be working today it today. There's a Google+ post about this as well, located here: https://plus.google.com/114104414736088244464/posts/bDwLkuXEErS

    Cheers.

    May 13th, 2015 @ 08:38 AM

  3. Travis Bell
  4. Travis Bell
    Travis Bell
    • State changed from started to resolved

    This has been pushed live and as items expire out of cache, the popularity scores will be fixed.

    Cheers.

    May 13th, 2015 @ 04:14 PM

  5. Grogster
    Grogster

    Hi Travis,

    thanks for fixing this issue, I can confirm the bugfix :)

    Cheers,
    grogster

    May 15th, 2015 @ 06:35 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.