You've already forked HR-atlase-vertesana
Import UAPF package
28 lines
829 B
YAML
28 lines
829 B
YAML
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
|