Code Monkey home page Code Monkey logo

better-ccc-extension's People

Contributors

gahtan-syarif avatar mrbrain295 avatar truekendor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

better-ccc-extension's Issues

Material covering eval

With the latest version of the extension from the main branch the eval gets covered by material.
image

Wrong Elo being displayed

I noticed this a few times now where the elo displayed is incorrect. An example would be:

grafik

I have already cleared the cache and have automatic updates enabled. Is this a known problem?

Version: 1.1.6

Otherwise great extension! :)

Pentanomial elo over WDL elo

since youre already possessing pentanomial information of the match results why not use the more accurate pentanomial elo to replace the current WDL elo? the formula to calculate it is pretty similar to the 3dkingdoms elo formula that youre already using with some minor adjustments. this is the python version of the pentanomial elo calculator:

import numpy as np
from scipy.stats import norm

def score_to_elo(score):
    return -400 * np.log(1 / score - 1) / np.log(10)

def elo_to_score(elo):
    return (1 / (1 + 10 ** (-elo / 400)))

Pentanomial = [1, 3, 4, 7, 2]
double_wins = Pentanomial[4]
single_wins = Pentanomial[3]
double_draws = Pentanomial[2]
single_loss = Pentanomial[1]
double_loss = Pentanomial[0]

total_pairs = double_wins + single_wins + double_draws + single_loss + double_loss
score = (double_wins + single_wins * 0.75 + double_draws * 0.5 + single_loss * 0.25 + double_loss * 0) / total_pairs

double_wins_p = double_wins / total_pairs
single_wins_p = single_wins / total_pairs
double_draws_p = double_draws / total_pairs
single_loss_p = single_loss / total_pairs
double_loss_p = double_loss / total_pairs

double_wins_dev = double_wins_p * (1 - score) ** 2
single_wins_dev = single_wins_p * (0.75 - score) ** 2
double_draws_dev = double_draws_p * (0.5 - score) ** 2
single_loss_dev = single_loss_p * (0.25 - score) ** 2
double_loss_dev = double_loss_p * (0 - score) ** 2
std_deviation = np.sqrt((double_wins_dev + single_wins_dev + double_draws_dev + single_loss_dev + double_loss_dev) / total_pairs)

confidence_p = 0.95
min_confidence_p = (1 - confidence_p) / 2
max_confidence_p = 1 - min_confidence_p
score_lower_bound = score + norm.ppf(min_confidence_p) * std_deviation
score_upper_bound = score + norm.ppf(max_confidence_p) * std_deviation

elo = score_to_elo(score)
elo_upper_bound = score_to_elo(score_upper_bound)
elo_lower_bound = score_to_elo(score_lower_bound)
error_margin = (elo_upper_bound - elo_lower_bound) / 2

CCC Clock is Broken

The clock animation has been broken for a while and I think it is within the scope of this extension to fix it.

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.