trends.tf was born out of my desire to know all the useless stats about my gameplay. I wrote the initial version in two weeks in November, 2020. I was very focused, since I was going to start a new job and I wouldn't have as much free time. The initial version just had the overview, logs, peers, weapons, and trends tabs on the player page. At first I used SQLite, which was great for getting started quickly, but I've since moved on to PostgreSQL. The rest of the stack has stayed mostly the same: nginx, uWSGI, and flask. Development continues in my free time, when I feel like it.
How often does trends.tf update?
trends.tf imports new data from logs.tf, demos.tf, ETF2L.org, and RGL every five minutes. Steam names and avatars are updated constantly, but it can take several hours to refresh them for all players. The leaderboard is updated daily. Most pages are cached for up to 30 seconds, although this can be extended if there is no new data.
Why don't the stats on trends.tf match logs.tf?
Many servers upload logs in the middle of the game. So if you check trends.tf right after your game ends, the mid-game logs will still be there. trends.tf also does some post-processing to clean up the data.
Why doesn't the linked log on the trends page match the data?
The graphs on the trends page show a rolling average of the past few logs (20 by default). You can lower the window size, but it may make the graph noisier.
How do I have over 100% accuracy?
Accuracy is shots fired divided by shots hit. If you use a weapon with afterburn or bleed, one shot can result in multiple ticks of damage.
How do I filter by map type?
The map filter matches any part of the map name. So filtering by "cp_" would match all control-point maps. You can also use this to filter by all versions of a map. As an example, searching for "product" will match "koth_product_rcx" and "koth_product_final".
How do I contribute?
trends.tf is open source. The best way to help out is to contribute code. I would also appreciate help from web designers or data analysts to improve the presentation. If you don't have programming prowess, you can help by submitting feature requests and bug reports. I try to prioritize features with community interest (no promises).
Does trends.tf have an API?
trends.tf has a very small API at the moment. It is mostly used for site features such as autocompletion. If you would like to see a more extensive API, send me a pull request, or comment on the issue.