Wiki:Hunt Leaderboards

Revision as of 16:32, 21 September 2022 by Phenomist-alt (talk | contribs) (temp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

As a wiki where one of our priorities is to preserve data about puzzle hunts, we keep a record of how teams did at previous hunts, where this information is publically accessible. We use the Cargo extension in order to only need one source of truth. This information can be further collated, allowing teams to list out their previous participations in hunts. This page details the structure and process in which this is done.

Structure

All of the data resides in the Data: namespace. For any hunt page, you can access the Data namespace by prepending Data: in front of it. We use two Cargo tables, Leaderboard and HuntData. Leaderboard is the large table which stores one row for each leaderboard entry in each hunt. HuntData is a small auxiliary table which is used to store additional information about each hunt, such as when the hunt ran and what franchise the hunt is from.

For display, there are two templates created. HuntLeaderboard allows for adding a leaderboard section to mainspace hunt pages. TeamPastPerformances allows for adding a list of previous hunts to team pages.

Process

Adding a hunt

Go to the hunt's data page. This spreadsheet (make a copy) should be helpful in creating the LeaderboardRow's, assuming that the leaderboard is formatted in a nice table (most gph-site hunts should be)