You've already forked AI-Sandb-Evaluation
Import UAPF package
Renames all 5 cornerstone files to the OMG-ecosystem extensions required by UAPF-specification v2.0.0, and updates every internal reference: - uapf.yaml (manifest cornerstone paths + decision refs) - resources/mappings.yaml (endpoint + usesDecision refs) - processgit.mcp.yaml (MCP source paths) - processgit.viewer.json (x2: package + examples) - cmmn/vertesanas-lieta.cmmn (processTask processRef -> DMN files) - README.md, docs/source-reference.md, agent.chat.yaml (documentation) Completes the scope-3 conformance pass for AI-Sandb-Evaluation: v2.1.0 diagram interchange (CMMN + 3x DMN, prior commits) + v2.0.0 naming. File contents otherwise unchanged.
139 lines
7.4 KiB
XML
139 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<cmmn:definitions xmlns:cmmn="http://www.omg.org/spec/CMMN/20151109/MODEL"
|
|
xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI"
|
|
xmlns:dc="http://www.omg.org/spec/CMMN/20151109/DC"
|
|
id="Definitions_EvaluationCase"
|
|
targetNamespace="https://processgit.org/VDAA/mi-sandbox-atlase/cmmn">
|
|
|
|
<cmmn:case id="Case_ProjectEvaluation" name="MI projekta iesnieguma vērtēšanas lieta">
|
|
|
|
<cmmn:casePlanModel id="CPM_Evaluation" name="Vērtēšanas lieta">
|
|
|
|
<!-- === Required stages === -->
|
|
<cmmn:stage id="Stage_FormalCheck" name="Formālā pārbaude">
|
|
<cmmn:planItem id="PI_RegisterApp" definitionRef="HT_RegisterApp"/>
|
|
<cmmn:planItem id="PI_RunEligibility" definitionRef="PT_RunEligibility"/>
|
|
<cmmn:planItem id="PI_RequestFix" definitionRef="HT_RequestFix">
|
|
<cmmn:entryCriterion id="EC_NeedsFix" sentryRef="Sentry_NeedsFix"/>
|
|
</cmmn:planItem>
|
|
</cmmn:stage>
|
|
|
|
<cmmn:stage id="Stage_ExpertOpinion" name="Kompetento institūciju atzinumi">
|
|
<cmmn:planItem id="PI_SendToAuthority" definitionRef="HT_SendToAuthority"/>
|
|
<cmmn:planItem id="PI_CollectOpinions" definitionRef="HT_CollectOpinions"/>
|
|
</cmmn:stage>
|
|
|
|
<cmmn:stage id="Stage_CommissionEval" name="Komisijas vērtēšana">
|
|
<cmmn:planItem id="PI_ScoreCriteria" definitionRef="HT_ScoreCriteria"/>
|
|
<cmmn:planItem id="PI_RunScoring" definitionRef="PT_RunScoring"/>
|
|
<!-- Discretionary: commission may involve external experts (Nolikuma 19.p.) -->
|
|
<cmmn:planItem id="PI_ExternalExpert" definitionRef="HT_ExternalExpert">
|
|
<cmmn:itemControl><cmmn:manualActivationRule/></cmmn:itemControl>
|
|
</cmmn:planItem>
|
|
<!-- Discretionary: AI agent pre-assessment -->
|
|
<cmmn:planItem id="PI_AIPreAssessment" definitionRef="PT_AIPreAssessment">
|
|
<cmmn:itemControl><cmmn:manualActivationRule/></cmmn:itemControl>
|
|
</cmmn:planItem>
|
|
</cmmn:stage>
|
|
|
|
<cmmn:stage id="Stage_Decision" name="Lēmuma pieņemšana">
|
|
<cmmn:planItem id="PI_PrepareDecision" definitionRef="HT_PrepareDecision"/>
|
|
<cmmn:planItem id="PI_NotifyApplicant" definitionRef="HT_NotifyApplicant"/>
|
|
</cmmn:stage>
|
|
|
|
<!-- === Milestones === -->
|
|
<cmmn:milestone id="MS_Eligible" name="Iesniegums atzīts par atbilstošu"/>
|
|
<cmmn:milestone id="MS_OpinionsReceived" name="Visi atzinumi saņemti"/>
|
|
<cmmn:milestone id="MS_Scored" name="Punkti aprēķināti"/>
|
|
|
|
<!-- === Sentries === -->
|
|
<cmmn:sentry id="Sentry_NeedsFix">
|
|
<cmmn:planItemOnPart sourceRef="PI_RunEligibility">
|
|
<cmmn:standardEvent>complete</cmmn:standardEvent>
|
|
</cmmn:planItemOnPart>
|
|
<cmmn:ifPart><cmmn:condition>eligibilityResult.status = "FIX_OR_REJECT"</cmmn:condition></cmmn:ifPart>
|
|
</cmmn:sentry>
|
|
|
|
</cmmn:casePlanModel>
|
|
|
|
<!-- === Task Definitions === -->
|
|
<cmmn:humanTask id="HT_RegisterApp" name="Reģistrēt iesniegumu"/>
|
|
<cmmn:processTask id="PT_RunEligibility" name="Izpildīt atbilstības DMN" processRef="dmn/01-atbilstiba-un-izsledzosie.dmn"/>
|
|
<cmmn:humanTask id="HT_RequestFix" name="Pieprasīt trūkumu novēršanu (5 d.d.)"/>
|
|
<cmmn:humanTask id="HT_SendToAuthority" name="Nosūtīt kompetentajām institūcijām"/>
|
|
<cmmn:humanTask id="HT_CollectOpinions" name="Apkopot saņemtos atzinumus"/>
|
|
<cmmn:humanTask id="HT_ScoreCriteria" name="Piešķirt 0–5 vērtējumus katram kritērijam"/>
|
|
<cmmn:processTask id="PT_RunScoring" name="Izpildīt punktu aprēķina DMN" processRef="dmn/02-vertesanas-punkti.dmn"/>
|
|
<cmmn:humanTask id="HT_ExternalExpert" name="Piesaistīt ārējo ekspertu (Nolikuma 19.p.)"/>
|
|
<cmmn:processTask id="PT_AIPreAssessment" name="AI aģenta iepriekšējais novērtējums (demo)"/>
|
|
<cmmn:humanTask id="HT_PrepareDecision" name="Sagatavot pamatotu lēmumu"/>
|
|
<cmmn:humanTask id="HT_NotifyApplicant" name="Paziņot lēmumu (≤45 dienas)"/>
|
|
|
|
</cmmn:case>
|
|
|
|
<cmmndi:CMMNDI>
|
|
<cmmndi:CMMNDiagram id="CMMNDiagram_1">
|
|
<cmmndi:CMMNShape id="DI_CPM_Evaluation" cmmnElementRef="CPM_Evaluation">
|
|
<dc:Bounds x="30" y="30" width="1480" height="560"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_Stage_FormalCheck" cmmnElementRef="Stage_FormalCheck">
|
|
<dc:Bounds x="60" y="80" width="340" height="380"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_Stage_ExpertOpinion" cmmnElementRef="Stage_ExpertOpinion">
|
|
<dc:Bounds x="420" y="80" width="340" height="380"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_Stage_CommissionEval" cmmnElementRef="Stage_CommissionEval">
|
|
<dc:Bounds x="780" y="80" width="340" height="400"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_Stage_Decision" cmmnElementRef="Stage_Decision">
|
|
<dc:Bounds x="1140" y="80" width="340" height="380"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_RegisterApp" cmmnElementRef="PI_RegisterApp">
|
|
<dc:Bounds x="90" y="130" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_RunEligibility" cmmnElementRef="PI_RunEligibility">
|
|
<dc:Bounds x="90" y="200" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_RequestFix" cmmnElementRef="PI_RequestFix">
|
|
<dc:Bounds x="90" y="270" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_SendToAuthority" cmmnElementRef="PI_SendToAuthority">
|
|
<dc:Bounds x="450" y="130" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_CollectOpinions" cmmnElementRef="PI_CollectOpinions">
|
|
<dc:Bounds x="450" y="200" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_ScoreCriteria" cmmnElementRef="PI_ScoreCriteria">
|
|
<dc:Bounds x="810" y="130" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_RunScoring" cmmnElementRef="PI_RunScoring">
|
|
<dc:Bounds x="810" y="200" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_ExternalExpert" cmmnElementRef="PI_ExternalExpert">
|
|
<dc:Bounds x="810" y="270" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_AIPreAssessment" cmmnElementRef="PI_AIPreAssessment">
|
|
<dc:Bounds x="810" y="340" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_PrepareDecision" cmmnElementRef="PI_PrepareDecision">
|
|
<dc:Bounds x="1170" y="130" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_PI_NotifyApplicant" cmmnElementRef="PI_NotifyApplicant">
|
|
<dc:Bounds x="1170" y="200" width="280" height="50"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_MS_Eligible" cmmnElementRef="MS_Eligible">
|
|
<dc:Bounds x="120" y="500" width="160" height="40"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_MS_OpinionsReceived" cmmnElementRef="MS_OpinionsReceived">
|
|
<dc:Bounds x="480" y="500" width="160" height="40"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_MS_Scored" cmmnElementRef="MS_Scored">
|
|
<dc:Bounds x="840" y="500" width="160" height="40"/>
|
|
</cmmndi:CMMNShape>
|
|
<cmmndi:CMMNShape id="DI_EC_NeedsFix" cmmnElementRef="EC_NeedsFix">
|
|
<dc:Bounds x="83" y="285" width="14" height="20"/>
|
|
</cmmndi:CMMNShape>
|
|
</cmmndi:CMMNDiagram>
|
|
</cmmndi:CMMNDI>
|
|
</cmmn:definitions>
|