golang implementation of wilson score, reddit & hackernews scoring algorithm
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
hotscore.go
hotscore_test.go

README

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