0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/db
Krzysztof Kotlarek 056075f1b7 DEV: Use session engagement in CrawlerScorer
Previously, `CrawlerScorer` relied only on bot heuristics (automation user agents, ASNs, velocity, churn, navigation gaps, referrers) and had no signal of genuine human interaction, so engaged real users could still accumulate crawler points.

This change joins the `browser_pageview_session_engagements` table into the scoring query and applies a `-40` discount to events whose session recorded human interaction, merging each heuristic component against the stored breakdown so peak bot signals survive re-scoring across overlapping windows. The scoring window is also delayed by 10 minutes so engagement beacons arrive before an event is first scored.
2026-07-14 10:39:30 +08:00
..
fixtures FIX: Make auto pseudogroups visible to logged on users (#41498) 2026-07-08 09:28:18 +10:00
migrate DEV: Use session engagement in CrawlerScorer 2026-07-14 10:39:30 +08:00
post_migrate FIX: Record bulk tag and category changes as their own revision (#41364) 2026-07-02 16:51:57 +02:00
api_test_seeds.rb
structure.sql DEV: Use session engagement in CrawlerScorer 2026-07-14 10:39:30 +08:00