Skip to content

Add community reputation ledger#93

Open
kkudumu wants to merge 6 commits into
SCIBASE-AI:mainfrom
kkudumu:kkudumu/community-reputation-ledger-15
Open

Add community reputation ledger#93
kkudumu wants to merge 6 commits into
SCIBASE-AI:mainfrom
kkudumu:kkudumu/community-reputation-ledger-15

Conversation

@kkudumu
Copy link
Copy Markdown

@kkudumu kkudumu commented May 14, 2026

@algora-pbc /claim #15

Summary

  • adds a self-contained community-reputation-ledger module for peer review, contributor credit, and transparent reputation scoring
  • supports discipline-specific review templates, public/semi-private/anonymous/double-blind modes, inline artifact comments, CRediT contribution credits, contributor graphs, score components, badges, incentive tiers, and leaderboards
  • includes sample data, dependency-free tests, requirement mapping, CLI demo, SVG source, and demo GIF

Demo

Verification

cd community-reputation-ledger
npm run check
npm test
npm run demo

Review Note

Before submission I ran a local code-review pass and fixed anonymous inline-comment identity exposure so anonymous/double-blind comments do not expose authorId. The regression is covered in test/community-reputation-ledger.test.js.

AI-Assisted Disclosure

This contribution was produced with AI assistance and manually reviewed/verified before submission.

Closes #15

@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

/claim #15

1 similar comment
@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

/claim #15

@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

Follow-up pushed to strengthen the abuse-resistant moderation part of issue #15:

  • added moderation signal reporting for self-endorsements, reciprocal endorsements, thin review narratives, and flagged researcher metrics
  • keeps self-endorsements ignored by scoring while making the moderation reason visible
  • surfaces moderation status and hash in packet/demo output, tests, README, and requirement map

Verification after the update:

  • cd community-reputation-ledger && npm run check
  • cd community-reputation-ledger && npm test
  • cd community-reputation-ledger && npm run demo
  • git diff --check

@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

Follow-up pushed in dbdf21f to make the trust/reputation governance path more explicit.

What changed:

  • Added buildGovernanceReport() with review-quality audits, reputation change records, appeal docket handling, appeal SLA due dates, required actions, and a governance hash.
  • Added buildReviewQualityAudits() so structured reviews are checked for missing scores, narrative completeness, score spread, quality status, and audit hashes before they affect reputation.
  • Added buildReputationChangeLedger() so score deltas, prior/current tiers, moderation signal counts, and review-required status are transparent.
  • Extended the sample fixture with previous reputation state and an open appeal, then surfaced governance status in the demo and packet hash.
  • Updated tests, README, and the issue Community & User Reputation System #15 requirement map.

Verification rerun:

  • npm run check
  • npm test
  • npm run demo
  • git diff --check

@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

Added a short demo video artifact for Algora/reviewer convenience:

This is the same deterministic demo flow already covered by the local tests and README, now available as an MP4 video artifact.

@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

Follow-up for the issue #15 profile/timeline credit-surfacing scope.

Added commit d38e19f to cover the profile and citation-page parts of the community/reputation requirements that were previously lighter:

  • researcher profile views with review history, comment history, badges, tiers, visible citation credits, and profile hashes
  • project timeline views that combine contributions, reviews, and comments into chronological hashable events
  • project citation-page views that surface visible contributor credit for researcher profiles and citation pages
  • packet output, tests, README, and requirement-map updates

Verified locally:

  • npm run check -> passed
  • npm test -> passed
  • npm run demo -> passed and now prints researcherProfiles, projectTimelines, and citationPages
  • git diff --check -> passed

This keeps the module self-contained while mapping more directly to the issue requirements for review history, project timelines, visible credit, and citation-page surfacing.

@kkudumu
Copy link
Copy Markdown
Author

kkudumu commented May 14, 2026

Updated the existing demo video with narrated voiceover explaining every major change in this PR: review templates, visibility modes, inline comments, contributor credits, CRediT roles, reputation scoring, moderation signals, governance audits, profile views, timelines, and citation-page credit lists. The PR's existing demo-video link now points to the narrated MP4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Community & User Reputation System

1 participant