Giter Site home page Giter Site logo

Comments (4)

anoek avatar anoek commented on August 11, 2024

FYI I've been playing with this, honestly it doesn't seem to make that much of a difference, so much so that I'm not sure if it's better or worse, it's kind of lost in the noise. I'll continue running it in tests though and if something meaningful emerges I'll run with it.

from goratings.

 avatar commented on August 11, 2024

You might be right with that diagnosis.

Anyway I took a peek at that commit above and it seems to me that the handicap is only adjusted if it is == 1, but I think it should always be adjusted if it is >= 1.

So this

    if HALF_STONE_HANDICAP:
        return rank_to_rating(rating_to_rank(rating) + (0.5 if handicap == 1 else handicap)) - rating
    return rank_to_rating(rating_to_rank(rating) + handicap) - rating

should imo be changed to

    if HALF_STONE_HANDICAP:
        return rank_to_rating(rating_to_rank(rating) + (handicap + 0.5 if handicap > 0 else 0)) - rating
    return rank_to_rating(rating_to_rank(rating) + handicap) - rating

from goratings.

 avatar commented on August 11, 2024

Now I'm unsure if it should be +0.5 or -0.5

from goratings.

anoek avatar anoek commented on August 11, 2024

oh probably -0.5, might change things. I had a version that applied for > 0 as well, I'll try it again with -0.5

from goratings.

Related Issues (8)

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.