Skip to content

Commit

Permalink
server/tests: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
s314cy committed Mar 23, 2023
1 parent 2f127e8 commit e545f84
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 101 deletions.
2 changes: 1 addition & 1 deletion server/tests/end_to_end/byzantine/federated.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function endToEndTest (
await disco.fit(trainData)

const validator = new Validator(disco.task, disco.logger, disco.memory, undefined, client)
await validator.assess(await testData.train.preprocess())
await validator.assess(testData.train.preprocess())

const accuracy = validator.accuracy()
console.log(`TEST ACCURACY ----> ${accuracy}`)
Expand Down
2 changes: 1 addition & 1 deletion server/tests/end_to_end/decentralized.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('end to end decentralized', function () {
const weights = WeightsContainer.of(input)
const trainingInformantCurrent = new informant.DecentralizedInformant(cifar10Task, 0)
await client.connect()
return await client.onRoundEndCommunication(weights, weights, weights, 0, trainingInformantCurrent)
return await client.onRoundEndCommunication(weights, weights, 0, trainingInformantCurrent)
}

/*
Expand Down
99 changes: 0 additions & 99 deletions server/tests/end_to_end/federated.test.ts

This file was deleted.

0 comments on commit e545f84

Please sign in to comment.