-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validation function for ScoreDefinition (#536)
* Add artifact upload support for score(card) definitions * Fix rename in tests: 'target' to 'target_resource' * Add license info to new files * Add a validation function for ScoreDefinition * Fix lint errors * Rename 'pattern' to 'artifact' in ScoreFormula * Bug fix and modified tests to check numErrs * Add conditions and tests for missing 'formula' and 'type' * Simplified validateNumberThresholds() * Added a testcase for missing range * Refactored validateNumberThreshold() * refactor error slices in ValidateScoreDefinition() * Fix err message -> range.max to range
- Loading branch information
1 parent
6119e13
commit b0715f5
Showing
8 changed files
with
1,652 additions
and
27 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
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
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
Oops, something went wrong.