Skip to content

Commit

Permalink
Merge pull request #120 from HackDavis/feat/npo-update
Browse files Browse the repository at this point in the history
Removed splicing
  • Loading branch information
brandonw504 authored Apr 28, 2024
2 parents d859a3d + 9f16762 commit 227c953
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/(api)/_utils/scoring/rankTeams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@ export default async function rankTeams(teams: Team[]) {
}

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

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

0 comments on commit 227c953

Please sign in to comment.