From 8a235698da21156f549b25cb320efbaa4a58bf69 Mon Sep 17 00:00:00 2001
From: Sean Anderson
Date: Fri, 30 Aug 2024 23:43:09 -0400
Subject: [PATCH] site: Add some IAQ entries about linking logs and matches
Although I personally find the conditions in link_matches and link_demos
pretty simple to understand, not everyone is equipped to dive into the
source. Add some IAQ entries on the linking conditions for logs and
demos.
Signed-off-by: Sean Anderson
---
trends/site/templates/about.html | 64 ++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/trends/site/templates/about.html b/trends/site/templates/about.html
index 49d3210..0c84f71 100644
--- a/trends/site/templates/about.html
+++ b/trends/site/templates/about.html
@@ -56,6 +56,70 @@ How do I filter by map type?
searching for "product" will match "koth_product_rcx" and "koth_product_final".
+ What are the conditions for linking a match?
+
+ A log is linked to a match if all of the following conditions are fulfilled:
+
+
+ -
+ The log must have been uploaded within 12 hours (before or after) the scheduled
+ match time.
+
+ -
+ The following three conditions all deal with an
+ amount—one-third—that is ⅓ of the format's
+ combined player count. For example, Highlander matches have 18 players so
+ one-third is 6.
+
+ -
+ At least one-third of the players must have been rostered on one of
+ the teams at the scheduled match time.
+
+ -
+ At least one-third of the players must have been rostered on the
+ other team at the scheduled match time.
+
+ -
+ There may be at most one-third of the players not rostered on either
+ team.
+
+
+
+
+ What are the conditions for linking a demo?
+
+ A demo is linked to a log if all of the following conditions are fullfilled:
+
+
+ -
+ The demo must have been uploaded within 5 minutes (before or after) the log's upload
+ time.
+
+ -
+ Either
+
+ -
+ all the log's players must be present in the demo
+
+
+ or
+
+ -
+ all the demo's players must be present in the log.
+
+
+
+
+
+ The strict upload time requirements are because there are often no distinguishing
+ differences other than upload time between two demos that are consistent between the log and
+ the demo. Kills, deaths, and assists often differ because logs.tf excludes kills in
+ humiliation time. Duration often differs for the same reason. The scoreline may differ if
+ there is a stalemate or tie. Other distinguishing features, such as the title, map, and
+ players, are often identical for halves played back-to-back. This leaves upload time as the
+ only remaining identifying feature.
+
+
How do I contribute?
{{ trends() }} is open source. The best