Giter Site home page Giter Site logo

Comments (6)

AhoyLemon avatar AhoyLemon commented on July 28, 2024

Thanks.

I thought I had this fixed in a different update, but maybe I just wasn't seeing it under the right conditions. I'll take another look.

from idiots.win.

ForsakenHarmony avatar ForsakenHarmony commented on July 28, 2024

still a thing

from idiots.win.

AhoyLemon avatar AhoyLemon commented on July 28, 2024

@ForsakenHarmony, I'm closing this again cause I've tested this out a bunch and can't create the issue. If you can, let me know how.

from idiots.win.

ForsakenHarmony avatar ForsakenHarmony commented on July 28, 2024

it's not the top result here, but idk

from idiots.win.

ForsakenHarmony avatar ForsakenHarmony commented on July 28, 2024

from idiots.win.

AhoyLemon avatar AhoyLemon commented on July 28, 2024

Thanks @ForsakenHarmony.

I'm gonna leave this open and mark it help wanted because

  1. I'm not sure why this would be and
  2. I can't get those same responses. It's currently working for me and I never see dupes.

There's a bit in the pullRequests() function in the _functions.js partial that should be addressing this issue. Specifically...

$.each(data[1], function(key,value) {
  if (data[1][key][0] != myQuery) {
    if (n === 0) {
      correctAnswer = data[1][key][0];
    } else {
     answers.push([data[1][key][0], n]);
    }
    n++;
  }
});

Now what should be happening here is when it loops through to find incorrect answers, it checks that answer agaist the correct answer. If it's a match, it just skips to the next one.

So I'm wondering if there's some kind of normalization that would need to be done here to make those things match. Maybe there's an errant space or something. Can you try to see if one "how to attract a girl" is somehow a different string than the second "how to attract a girl"?

from idiots.win.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.