-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api): remove linear success ranges parameter
- Loading branch information
1 parent
6e13136
commit 181cbaa
Showing
8 changed files
with
11 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
...tion/flash-certification/domain/models/FlashAssessmentSuccessRateHandlerLinearStrategy.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 1 addition & 15 deletions
16
...s/tooling/domain-builder/factory/build-flash-assessment-algorithm-success-rate-handler.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
import { FlashAssessmentSuccessRateHandler } from '../../../../src/certification/flash-certification/domain/models/FlashAssessmentSuccessRateHandler.js'; | ||
|
||
export const buildFlashAssessmentAlgorithmSuccessRateHandlerLinear = ({ | ||
startingChallengeIndex, | ||
endingChallengeIndex, | ||
startingValue, | ||
endingValue, | ||
}) => { | ||
return FlashAssessmentSuccessRateHandler.createLinear({ | ||
startingChallengeIndex, | ||
endingChallengeIndex, | ||
startingValue, | ||
endingValue, | ||
}); | ||
}; | ||
|
||
export const buildFlashAssessmentAlgorithmSuccessRateHandlerFixed = ({ | ||
startingChallengeIndex, | ||
endingChallengeIndex, | ||
value, | ||
}) => { | ||
return FlashAssessmentSuccessRateHandler.createFixed({ startingChallengeIndex, endingChallengeIndex, value }); | ||
return FlashAssessmentSuccessRateHandler.create({ startingChallengeIndex, endingChallengeIndex, value }); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters