feat(loot): add Gargul-fed loot log at /loot/ - #40
Merged
Conversation
Contributor
Author
|
Self-review + verification pass (standing hype-PR reviewer flow):
Self-authored, so this is a verification note, not a formal approval. Squash-merging. |
Public standings page fed from the raid's Gargul award history. Awards are keyed by Gargul's per-award checksum so multiple looters' exports merge idempotently; disenchants are excluded. The Gargul source path stays host-side in hype-vote.env, never in the repo. Adds: loot_awards table, GET /api/loot (standings, needs-gear view, 2/3 loot-lock flag, recent feed), /loot/ static page + hub tile, hype-gargul-ingest.service/.timer (15-min), privacy section update.
ivorycrayon
force-pushed
the
feat/loot-log
branch
from
June 29, 2026 03:33
0acac57 to
eb95500
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A public loot log at
hype.swagcounty.com/loot/fed from the raid's Gargul award history.server/ingest_gargul.py: parsesGargul.lua(AwardHistory), normalizes each award, upserts intoloot_awardskeyed by Gargul's per-awardchecksum. Disenchant awards excluded. Source path is host-side config, not in the repo.server/app.py:GET /api/loot— MS/OS standings, needs-gear view, per-lockout 2/3 loot-lock flag, recent-drops feed.loot/: static page with class colours, sortable table, Wowhead tooltips on the recent feed. Same CSP shape as/tbc/.index.htmlregenerated.hype-gargul-ingest.service/.timer(15-min) wired intoinstall.sh/deploy.sh.Why
The guild runs SR and hard reserves through Gargul and weighs loot by need and reciprocity. A visible standings page makes the 2/3 loot-lock rule and "who deserves a drop" legible to the whole raid without relying on the officer having the spreadsheet open.
Test plan
Gargul.lua(50 awards → 43 MS / 7 OS, 2 disenchants excluded; idempotent on re-run).caddy validatepasses.