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:
34
resources/guardrails.yaml
Normal file
34
resources/guardrails.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
kind: uapf.guardrails
|
||||
id: guardrails.openhr.candidate-evaluation
|
||||
version: 0.1.1
|
||||
rules:
|
||||
- id: human-decision-required
|
||||
effect: require
|
||||
action: authorized_hr_human_review
|
||||
- id: no-automatic-rejection
|
||||
effect: deny
|
||||
action: automatic_rejection
|
||||
- id: no-automatic-hiring
|
||||
effect: deny
|
||||
action: automatic_hiring
|
||||
- id: no-automatic-shortlisting
|
||||
effect: deny
|
||||
action: automatic_shortlisting
|
||||
- id: protected-attributes-excluded
|
||||
effect: deny
|
||||
inputs:
|
||||
- birthDate
|
||||
- gender
|
||||
- nationality
|
||||
- photo
|
||||
- familyStatus
|
||||
- ethnicity
|
||||
- religion
|
||||
- politicalOpinion
|
||||
- sexualOrientation
|
||||
- healthData
|
||||
- id: low-confidence-human-review
|
||||
effect: require
|
||||
when:
|
||||
confidenceBelow: 0.7
|
||||
action: enhanced_human_review
|
||||
15
resources/host-manifest.example.yaml
Normal file
15
resources/host-manifest.example.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
kind: uapf.host.manifest
|
||||
host:
|
||||
id: openhr
|
||||
name: OpenHR
|
||||
capabilities:
|
||||
- id: hr.application.prepare_evaluation_input@1
|
||||
inputSchema: schemas/candidate-evaluation-input.schema.json
|
||||
output:
|
||||
- pseudonymous_candidate_id
|
||||
- redacted_cv_text
|
||||
- structured_questionnaire
|
||||
- vacancy_profile
|
||||
- id: hr.assessment.review@1
|
||||
- id: hr.decision.record@1
|
||||
- id: event.emit@1
|
||||
98
resources/mappings.yaml
Normal file
98
resources/mappings.yaml
Normal file
@@ -0,0 +1,98 @@
|
||||
kind: uapf.resource.mappings
|
||||
version: "0.1.0"
|
||||
|
||||
targets:
|
||||
- id: role.hr_operator
|
||||
type: human_role
|
||||
name: "HR operators"
|
||||
- id: role.hr_reviewer
|
||||
type: human_role
|
||||
name: "Pilnvarots HR vērtētājs"
|
||||
- id: role.data_protection_reviewer
|
||||
type: human_role
|
||||
name: "Datu aizsardzības pārskatītājs"
|
||||
- id: system.openhr
|
||||
type: system_api
|
||||
name: "OpenHR"
|
||||
baseUrlRef: OPENHR_HOST_BASE_URL
|
||||
- id: system.dmn_engine
|
||||
type: system_api
|
||||
name: "UAPF DMN engine"
|
||||
- id: service.candidate_profiler
|
||||
type: external_service
|
||||
name: "Candidate profiler service"
|
||||
endpointRef: PROCESSGIT_CANDIDATE_PROFILER_URL
|
||||
- id: system.audit_log
|
||||
type: system_api
|
||||
name: "OpenHR audit event store"
|
||||
|
||||
bindings:
|
||||
- source: {type: bpmn.userTask, ref: Task_RegisterApplication}
|
||||
targetId: role.hr_operator
|
||||
mode: manual
|
||||
|
||||
- source: {type: bpmn.serviceTask, ref: Task_RedactInput}
|
||||
targetId: system.openhr
|
||||
mode: autonomous
|
||||
capability: hr.application.prepare_evaluation_input@1
|
||||
|
||||
- source: {type: bpmn.businessRuleTask, ref: Task_InputAdmissibility}
|
||||
targetId: system.dmn_engine
|
||||
mode: autonomous
|
||||
usesDecision: dmn/01-input-admissibility.dmn#Decision_InputAdmissibility
|
||||
|
||||
- source: {type: bpmn.serviceTask, ref: Task_ProfileCandidate}
|
||||
targetId: service.candidate_profiler
|
||||
mode: assisted
|
||||
algorithmCardRef: algo.openhr.candidate_profiler
|
||||
|
||||
- source: {type: bpmn.businessRuleTask, ref: Task_ReviewPriority}
|
||||
targetId: system.dmn_engine
|
||||
mode: autonomous
|
||||
usesDecision: dmn/02-review-priority.dmn#Decision_ReviewPriority
|
||||
|
||||
- source: {type: bpmn.userTask, ref: Task_DataProtectionReview}
|
||||
targetId: role.data_protection_reviewer
|
||||
mode: manual
|
||||
|
||||
- source: {type: bpmn.userTask, ref: Task_HumanReview}
|
||||
targetId: role.hr_reviewer
|
||||
mode: manual
|
||||
capability: hr.assessment.review@1
|
||||
|
||||
- source: {type: bpmn.userTask, ref: Task_RecordDecision}
|
||||
targetId: role.hr_reviewer
|
||||
mode: manual
|
||||
capability: hr.decision.record@1
|
||||
|
||||
- source: {type: bpmn.serviceTask, ref: Task_WriteAudit}
|
||||
targetId: system.audit_log
|
||||
mode: autonomous
|
||||
capability: event.emit@1
|
||||
|
||||
- source: {type: cmmn.humanTask, ref: HT_VerifyEvidence}
|
||||
targetId: role.hr_reviewer
|
||||
mode: manual
|
||||
discretionary: true
|
||||
|
||||
- source: {type: cmmn.humanTask, ref: HT_IndependentReview}
|
||||
targetId: role.hr_reviewer
|
||||
mode: manual
|
||||
discretionary: true
|
||||
|
||||
- source: {type: cmmn.humanTask, ref: HT_DataProtectionReview}
|
||||
targetId: role.data_protection_reviewer
|
||||
mode: manual
|
||||
discretionary: true
|
||||
|
||||
audit:
|
||||
targetId: system.audit_log
|
||||
events:
|
||||
- application_registered
|
||||
- evaluation_input_prepared
|
||||
- admissibility_checked
|
||||
- candidate_profile_generated
|
||||
- review_priority_determined
|
||||
- exception_review_opened
|
||||
- human_review_completed
|
||||
- human_decision_recorded
|
||||
Reference in New Issue
Block a user