fix: distinguish GitHub assessments from Wasteland stamps on profile#21
Merged
julianknutsen merged 2 commits intomainfrom Mar 8, 2026
Merged
Conversation
The profile page showed "11 stamps earned" for steveyegge, but the scoreboard correctly showed 2. The profile queries hop/the-pile (GitHub analysis stamps) while the scoreboard queries hop/wl-commons (real Wasteland reputation stamps). These are two different reputation systems but the profile conflated them. Changes: - Rename Profile.StampCount → AssessmentCount (JSON: assessment_count) - Frontend shows "assessments" with tooltip explaining the distinction - Assessment badge uses neutral styling (not green "verified" badge) - Scoreboard stamp_count is unchanged (those are real Wasteland stamps) Fixes gastownhall/wasteland profile stamp count mismatch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
Adoption ReviewThis PR supersedes #18 by @DreadPirateRobertz, which correctly identified and fixed the confusion between GitHub-derived assessment counts and Wasteland reputation stamps on the profile page. This PR includes that fix and adds maintainer fixups. Credit: Original fix by @DreadPirateRobertz (commit preserved with original authorship). Initial ReviewTriple-model review (Claude + Codex + Gemini) identified 3 findings:
Maintainer ChangesAll three initial findings addressed:
Final Review StatusDual-model re-review (Claude + Codex) returned approve — all initial findings resolved. Remaining observations are minor/nit with no required fixes:
Review Iterations2 review passes performed. Adopted via |
- Update CLI help text: "reputation stamps" → "GitHub assessments" - Update README Profiles section to match new terminology - Add AssessmentCount assertions to profile_test.go (empty + non-empty) - Add assessment_count assertion to pile_handlers_test.go Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bf93874 to
e803120
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.
Summary
Supersedes #18 by @DreadPirateRobertz, which correctly identified and fixed the confusion between GitHub-derived assessment counts and Wasteland reputation stamps on the profile page.
This PR includes that fix and adds maintainer fixups from the adoption review.
Credit: Original fix by @DreadPirateRobertz (commit preserved with original authorship).
Original Fix (contributor)
hop/the-pile(GitHub analysis stamps) while scoreboard querieshop/wl-commons(real Wasteland reputation stamps)stamp_count→assessment_countin the profile API responsestamp_countunchanged — those are real Wasteland stampsMaintainer Fixups
AssessmentCountassertions toprofile_test.go(zero + non-zero cases)assessment_countassertion topile_handlers_test.goFiles Changed
internal/pile/profile.goStampCount→AssessmentCount, JSON:assessment_countcmd/wl/cmd_profile.goweb/src/api/types.tsProfileResponse.stamp_count→assessment_countweb/src/components/ProfileView.tsxweb/src/components/ProfileView.module.css.assessmentBadgestyle (neutral)internal/pile/profile_test.gointernal/api/pile_handlers_test.goREADME.mdTest plan
go test ./internal/pile/passesgo test ./internal/api/passesgo test ./cmd/wl/passesgo build ./cmd/wl/compileswl profileshows "Assessments" labelCloses #18