tangled
alpha
login
or
join now
edavis.dev
/
bsky-tools
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
ratio: add 1 to denominator
Eric Davis
2 years ago
c70cedf4
86047b21
+1
-1
1 changed file
expand all
collapse all
unified
split
feeds
ratio.py
+1
-1
feeds/ratio.py
···
17
17
quoteposts,
18
18
likes,
19
19
reposts,
20
20
-
( replies + quoteposts ) / ( likes + reposts ) as ratio,
20
20
+
( replies + quoteposts ) / ( likes + reposts + 1 ) as ratio,
21
21
exp( -1 * ( ( unixepoch('now') - create_ts ) / ( 3600.0 * 16 ) ) ) as decay
22
22
from posts
23
23
)