Skip to content

Comments

List Posts by Rating Challenge#45

Open
RicAz91 wants to merge 2 commits intoweareswat:masterfrom
RicAz91:master
Open

List Posts by Rating Challenge#45
RicAz91 wants to merge 2 commits intoweareswat:masterfrom
RicAz91:master

Conversation

@RicAz91
Copy link

@RicAz91 RicAz91 commented Aug 12, 2025

Add a Rails application implementing a Reddit-style post scoring system with upvote/downvote endpoints, logarithmic ranking, and time decay. Includes Docker setup, PostgreSQL integration, API and web controllers, scoring service, tests, and documentation.

Solution by Ricardo Azevedo

Add a Rails application implementing a Reddit-style post scoring system with upvote/downvote endpoints, logarithmic ranking, and time decay. Includes Docker setup, PostgreSQL integration, API and web controllers, scoring service, tests, and documentation.
@RicAz91 RicAz91 changed the title Initial commit: Rails app with Reddit-style post scoring List Posts by Rating Challenge Aug 12, 2025
Replaces the previous logarithmic score calculation with a Reddit-style formula using log10 and a time-based component. Updates SQL and Ruby implementations for consistency, removes unused time decay constant, and adjusts related tests. Also adds UID, GID, and SECRET_TOKEN to env-example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant