Commit Graph

11 Commits

Author SHA1 Message Date
vyzo 27b987071d add defaults for DecayInterval and DecayToZero 2020-04-29 22:40:44 +03:00
vyzo d9788290f3 add utility function for computing score parameter decays 2020-04-29 22:40:44 +03:00
vyzo 61a13a3ed7 validate that TimeInMeshQuantum is non-zero
otherwise we get a division by zero
2020-04-22 21:52:10 +03:00
vyzo 2fdf6cdaed opportunistic grafting 2020-04-18 11:09:06 +03:00
Raúl Kripalani fc38f556a3 comments and nits. 2020-04-18 11:09:06 +03:00
vyzo ea7305245d add IP whitelist for colocation factor penalty 2020-04-18 11:09:06 +03:00
vyzo c65a520799 topic score cap 2020-04-18 11:09:06 +03:00
vyzo 65cff1b421 godoc nits for parameter weights. 2020-04-18 11:09:06 +03:00
vyzo bb279e3126 wrap topic param validation error 2020-04-18 11:09:06 +03:00
vyzo 71ab9c1d73 use a struct for aggregating score thresholds 2020-04-18 11:09:06 +03:00
vyzo 375b66b0c1 move score parameter types to their own file 2020-04-18 11:09:06 +03:00