this repo has no description

ratio: add 1 to denominator

Changed files
+1 -1
feeds
+1 -1
feeds/ratio.py
···
quoteposts,
likes,
reposts,
-
( replies + quoteposts ) / ( likes + reposts ) as ratio,
+
( replies + quoteposts ) / ( likes + reposts + 1 ) as ratio,
exp( -1 * ( ( unixepoch('now') - create_ts ) / ( 3600.0 * 16 ) ) ) as decay
from posts
)