Skip to content

backend: problems and submissions (plus other stuff)#113

Merged
Eskan0r merged 8 commits intomainfrom
feat/probs_and_subs
Mar 3, 2026
Merged

backend: problems and submissions (plus other stuff)#113
Eskan0r merged 8 commits intomainfrom
feat/probs_and_subs

Conversation

@Owen-Isenhart
Copy link
Contributor

@Owen-Isenhart Owen-Isenhart commented Feb 20, 2026

promise this isn't actually 5k additions, 3,779 of them are just the problem data csv since we have nowhere else to put it

i broke this down into two prs, this one should be reviewed first, and the second has the frontend stuff for these backend changes

forgot to add vids will do later

what's left:
problem tags (array, tree, etc) currently don't do anything because we don't have that data for the problems
frontend integrations will need to be adapted to the new redesign
competitive logic
lots of testing, my testing was very limited

@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bsg Ready Ready Preview, Comment Feb 20, 2026 4:19pm

Request Review

@Owen-Isenhart Owen-Isenhart marked this pull request as ready for review February 20, 2026 16:24
@Eskan0r Eskan0r requested review from Eskan0r and RiyanMak February 21, 2026 23:37
@Eskan0r Eskan0r assigned Eskan0r and Owen-Isenhart and unassigned Eskan0r Feb 21, 2026
if err, ok := err.(services.BSGError); ok {
return echo.NewHTTPError(err.StatusCode, "Failed to end round. "+err.Error())
}
if err, ok := err.(*services.BSGError); ok {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EndRoundByRoomID never returns a pointer to the BSGError object its always just a copy of the BSGError object so you dont need this error check here

Copy link
Member

@RiyanMak RiyanMak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me. Errors are handled perfectly just make sure the code passes all unit tests

@Eskan0r Eskan0r merged commit 61e281b into main Mar 3, 2026
2 checks passed
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.

3 participants