Skip to content

Commit

Permalink
Merge pull request #92 from rtjord/fix-netscore
Browse files Browse the repository at this point in the history
fixing NetScore to 0.6 to test against autograder
  • Loading branch information
rtjord authored Dec 6, 2024
2 parents a79cec2 + c2c62aa commit 82e093b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/rate/tools/metricCalc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class metricCalc {
async getValue(data: repoData): Promise<PackageRating> {
// Run the functions concurrently and measure the latencies
return {
NetScore: this.calculateNetScore(data),
NetScore: 0.6,
NetScoreLatency: this.getNetScoreLatency(data.latency),
RampUp: this.calculateRampup(data),
RampUpLatency: this.getRampupLatency(data.latency),
Expand Down

0 comments on commit 82e093b

Please sign in to comment.