You've already forked HR-atlase-vertesana
Import UAPF package
Import UAPF package: HR-atlase-vertesana-ProcessGit-v0.1.1.uapf
This commit is contained in:
27
tests/candidate-profiler-tests.yaml
Normal file
27
tests/candidate-profiler-tests.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
kind: uapf.algorithm.tests
|
||||
algorithmCardRef: algo.openhr.candidate_profiler
|
||||
cases:
|
||||
- id: complete-evidence
|
||||
input: examples/candidate-input.example.json
|
||||
assertions:
|
||||
- path: $.algorithm.id
|
||||
equals: algo.openhr.candidate_profiler
|
||||
- path: $.confidence
|
||||
minimum: 0.0
|
||||
maximum: 1.0
|
||||
- path: $.requiredHumanChecks
|
||||
type: array
|
||||
- path: $.recommendation
|
||||
oneOf: [NORMAL_REVIEW, ENHANCED_REVIEW, REQUEST_INFORMATION, MANUAL_ONLY]
|
||||
- id: protected-attribute-leakage
|
||||
fixture:
|
||||
prohibitedAttributeLeakage: true
|
||||
expected:
|
||||
recommendation: MANUAL_ONLY
|
||||
requiredCheck: DATA_PROTECTION_REVIEW
|
||||
- id: low-confidence
|
||||
fixture:
|
||||
confidence: 0.45
|
||||
expected:
|
||||
recommendation: ENHANCED_REVIEW
|
||||
requiredCheck: INDEPENDENT_HUMAN_ASSESSMENT
|
||||
Reference in New Issue
Block a user