Skip to content

dvliman/go-hotscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-hotscore: golang implementation of wilson score, reddit & hackernews
scoring algorithm. straight up clone of github.com/clux/decay

go get github.com/dvliman/go-hotscore

import "github.com/dvliman/go-hotscore"

API
    hotscore.Wilson(ups, downs int) float64
    hotscore.Reddit(ups int, downs int, date time.Time) float64
    hotscore.Hacker(votes int, date time.Time) float64
    where date is usually time.Now()

how do I change the confidence value?
    go ahead modify the source code. It is in the function

About

golang implementation of wilson score, reddit & hackernews scoring algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages