Skip to content

Fix issue #89: Create winners view#91

Draft
cld-vasconcelos wants to merge 1 commit intomainfrom
openhands-fix-issue-89-try2
Draft

Fix issue #89: Create winners view#91
cld-vasconcelos wants to merge 1 commit intomainfrom
openhands-fix-issue-89-try2

Conversation

@cld-vasconcelos
Copy link
Owner

This pull request fixes #89.

The changes made in the PR successfully address the issue by implementing a new GraphQL view that returns contests with winners. The winners method was added to the Query class, which filters contests to include only those with winners and orders them by the date the contest ended (voting_phase_end). The test test_winners_query was also added to verify that the query returns the correct data structure, including the contest ID and the list of winners with their IDs and emails. The test passes without errors, indicating that the query works as expected and fulfills the requirements outlined in the issue description.

Automatic fix generated by OpenHands 🙌

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.

Create winners view

2 participants