Giter VIP home page Giter VIP logo

Comments (10)

bhavika24 avatar bhavika24 commented on May 14, 2024 1

@NateBaldwinDesign I have fixed it and raised a PR #104 for the same. Please review it.

from leonardo.

bhavika24 avatar bhavika24 commented on May 14, 2024

Hi @NateBaldwinDesign I would like to work on this. Please can you assign it to me.

from leonardo.

FazeelUsmani avatar FazeelUsmani commented on May 14, 2024

Hi @NateBaldwinDesign, Can you please assign this issue to me? I would like to work on it

from leonardo.

fedeci avatar fedeci commented on May 14, 2024

If I am not wrong this has already been fixed.

from leonardo.

FazeelUsmani avatar FazeelUsmani commented on May 14, 2024

Oops! thank you for the confirmation, @fedeci

from leonardo.

bhavika24 avatar bhavika24 commented on May 14, 2024

@fedeci It does not work for all the scenarios. Please find below the test cases for which it fails

  1. Should return closest match (ascending)
    list = [2, 2.9, 3.01, 3.03];
    value = 3

  2. Should return closest match (descending)
    list = [12, 5, 3.3, 3.14, 3.13, 3.12, 3.1, 3.07, 3, 2, 1]
    value = 3.09

image

from leonardo.

fedeci avatar fedeci commented on May 14, 2024

@bhavika24 You are right, I run tests a couple months ago only evaluating ascending order. My fault.

from leonardo.

NateBaldwinDesign avatar NateBaldwinDesign commented on May 14, 2024

@FazeelUsmani if you are still interested I can assign this to you. See @bhavika24 's example above. This still needs fixed

from leonardo.

FazeelUsmani avatar FazeelUsmani commented on May 14, 2024

@FazeelUsmani if you are still interested I can assign this to you. See @bhavika24 's example above. This still needs fixed

Yeah, I'm interested, @NateBaldwinDesign

from leonardo.

FazeelUsmani avatar FazeelUsmani commented on May 14, 2024

I see @bhavika24 has already fixed the issue. Do check and let me know if the issue still persists, @NateBaldwinDesign

from leonardo.

Related Issues (20)

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.