Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonw504 committed Apr 28, 2024
1 parent 9f16762 commit e448037
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/(api)/_utils/scoring/rankTeams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ export default async function rankTeams(teams: Team[]) {
}

topEntries.sort((entry1, entry2) => entry2.score - entry1.score);
// if (
// track.name !== 'Best Hack for Life of Kai' ||
// track.name !== 'Best Hack for DCMH' ||
// track.name !== 'Best Hack for AggieHouse'
// )
// topEntries.splice(10);
if (
track.name !== ('Best Hack for Life of Kai' as string) ||
track.name !== ('Best Hack for DCMH' as string) ||
track.name !== ('Best Hack for AggieHouse' as string)
) {
topEntries.splice(10);
}

trackResults.push({
track: track.name,
Expand Down

0 comments on commit e448037

Please sign in to comment.