MCP Server
Active
1
0
Files
AI-Sandb-Evaluation/processes/L4/vdaa.mi.sandbox.atlase/dmn/02-vertesanas-punkti.dmn
Rihards Gailums 71d391b754 Adopt UAPF v2.0.0 cornerstone naming: .bpmn.xml/.dmn.xml/.cmmn.xml -> .bpmn/.dmn/.cmmn [scope-3 3/3]
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.
2026-05-17 13:14:35 +00:00

205 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/"
id="Definitions_Scoring"
name="Vērtēšanas, punktu un reitinga aprēķins"
namespace="https://processgit.org/VDAA/mi-sandbox-atlase/dmn/scoring"
xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/"
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/">
<!-- === INPUTS: Commission ratings 0-5 for each criterion === -->
<inputData id="In_C1_Innovation" name="innovationRating"/>
<inputData id="In_C2_Transformation" name="transformationRating"/>
<inputData id="In_C3_Readiness" name="readinessRating"/>
<inputData id="In_C4_HighRisk" name="highRiskRating"/>
<inputData id="In_C5_RegulatoryNeed" name="regulatoryNeedRating"/>
<!-- === BKM: Weighted score formula (Nolikuma 1.pielikums) === -->
<businessKnowledgeModel id="BKM_WeightedScore" name="weightedScore">
<encapsulatedLogic kind="FEEL">
<formalParameter name="weight" typeRef="number"/>
<formalParameter name="rating" typeRef="number"/>
<literalExpression><text>weight * (rating / 5)</text></literalExpression>
</encapsulatedLogic>
</businessKnowledgeModel>
<!-- === INDIVIDUAL CRITERION SCORES === -->
<!-- Kr.1: Inovitāte un tirgus nepilnību novēršana (svars 20) -->
<decision id="Dec_C1" name="InnovationScore">
<variable name="innovationScore" typeRef="number"/>
<knowledgeRequirement id="req_Dec_C1_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement id="req_Dec_C1_2"><requiredInput href="#In_C1_Innovation"/></informationRequirement>
<literalExpression><text>weightedScore(20, innovationRating)</text></literalExpression>
</decision>
<!-- Kr.2: Ieguldījums attīstības plānošanas un digitālās transformācijas mērķos (svars 15) -->
<decision id="Dec_C2" name="TransformationScore">
<variable name="transformationScore" typeRef="number"/>
<knowledgeRequirement id="req_Dec_C2_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement id="req_Dec_C2_2"><requiredInput href="#In_C2_Transformation"/></informationRequirement>
<literalExpression><text>weightedScore(15, transformationRating)</text></literalExpression>
</decision>
<!-- Kr.3: Tehniskā gatavība un resursu nodrošinājums (svars 30) -->
<decision id="Dec_C3" name="ReadinessScore">
<variable name="readinessScore" typeRef="number"/>
<knowledgeRequirement id="req_Dec_C3_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement id="req_Dec_C3_2"><requiredInput href="#In_C3_Readiness"/></informationRequirement>
<literalExpression><text>weightedScore(30, readinessRating)</text></literalExpression>
</decision>
<!-- Kr.4: Augsta riska MI sistēmas kvalifikācija (svars 10) -->
<decision id="Dec_C4" name="HighRiskScore">
<variable name="highRiskScore" typeRef="number"/>
<knowledgeRequirement id="req_Dec_C4_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement id="req_Dec_C4_2"><requiredInput href="#In_C4_HighRisk"/></informationRequirement>
<literalExpression><text>weightedScore(10, highRiskRating)</text></literalExpression>
</decision>
<!-- Kr.5: Regulatīvās vides pamatojums un nepieciešamība (svars 25) -->
<decision id="Dec_C5" name="RegulatoryNeedScore">
<variable name="regulatoryNeedScore" typeRef="number"/>
<knowledgeRequirement id="req_Dec_C5_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement id="req_Dec_C5_2"><requiredInput href="#In_C5_RegulatoryNeed"/></informationRequirement>
<literalExpression><text>weightedScore(25, regulatoryNeedRating)</text></literalExpression>
</decision>
<!-- === TOTAL SCORE (max 100) === -->
<decision id="Dec_Total" name="TotalScore">
<variable name="totalScore" typeRef="number"/>
<informationRequirement id="req_Dec_Total_1"><requiredDecision href="#Dec_C1"/></informationRequirement>
<informationRequirement id="req_Dec_Total_2"><requiredDecision href="#Dec_C2"/></informationRequirement>
<informationRequirement id="req_Dec_Total_3"><requiredDecision href="#Dec_C3"/></informationRequirement>
<informationRequirement id="req_Dec_Total_4"><requiredDecision href="#Dec_C4"/></informationRequirement>
<informationRequirement id="req_Dec_Total_5"><requiredDecision href="#Dec_C5"/></informationRequirement>
<literalExpression><text>innovationScore + transformationScore + readinessScore + highRiskScore + regulatoryNeedScore</text></literalExpression>
</decision>
<!-- === TIEBREAKER ORDER (Nolikuma 1.pielikums, Neizšķirta gadījumi) === -->
<decision id="Dec_TieBreak" name="TieBreakVector">
<variable name="tieBreakVector" typeRef="list"/>
<informationRequirement id="req_Dec_TieBreak_1"><requiredDecision href="#Dec_C3"/></informationRequirement>
<informationRequirement id="req_Dec_TieBreak_2"><requiredDecision href="#Dec_C5"/></informationRequirement>
<informationRequirement id="req_Dec_TieBreak_3"><requiredDecision href="#Dec_C1"/></informationRequirement>
<literalExpression>
<text>[readinessScore, regulatoryNeedScore, innovationScore]</text>
</literalExpression>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1">
<dmndi:DMNShape id="DMNShape_Dec_Total" dmnElementRef="Dec_Total">
<dc:Bounds x="340" y="60" width="180" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_TieBreak" dmnElementRef="Dec_TieBreak">
<dc:Bounds x="720" y="60" width="180" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C1" dmnElementRef="Dec_C1">
<dc:Bounds x="60" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C2" dmnElementRef="Dec_C2">
<dc:Bounds x="300" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C3" dmnElementRef="Dec_C3">
<dc:Bounds x="540" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C4" dmnElementRef="Dec_C4">
<dc:Bounds x="780" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C5" dmnElementRef="Dec_C5">
<dc:Bounds x="1020" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_BKM_WeightedScore" dmnElementRef="BKM_WeightedScore">
<dc:Bounds x="1260" y="260" width="170" height="60"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C1_Innovation" dmnElementRef="In_C1_Innovation">
<dc:Bounds x="60" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C2_Transformation" dmnElementRef="In_C2_Transformation">
<dc:Bounds x="300" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C3_Readiness" dmnElementRef="In_C3_Readiness">
<dc:Bounds x="540" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C4_HighRisk" dmnElementRef="In_C4_HighRisk">
<dc:Bounds x="780" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C5_RegulatoryNeed" dmnElementRef="In_C5_RegulatoryNeed">
<dc:Bounds x="1020" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C1_1" dmnElementRef="req_Dec_C1_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="230" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C1_2" dmnElementRef="req_Dec_C1_2">
<di:waypoint x="145" y="470"/>
<di:waypoint x="145" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C2_1" dmnElementRef="req_Dec_C2_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="470" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C2_2" dmnElementRef="req_Dec_C2_2">
<di:waypoint x="385" y="470"/>
<di:waypoint x="385" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C3_1" dmnElementRef="req_Dec_C3_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="710" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C3_2" dmnElementRef="req_Dec_C3_2">
<di:waypoint x="625" y="470"/>
<di:waypoint x="625" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C4_1" dmnElementRef="req_Dec_C4_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="950" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C4_2" dmnElementRef="req_Dec_C4_2">
<di:waypoint x="865" y="470"/>
<di:waypoint x="865" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C5_1" dmnElementRef="req_Dec_C5_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="1190" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C5_2" dmnElementRef="req_Dec_C5_2">
<di:waypoint x="1105" y="470"/>
<di:waypoint x="1105" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_1" dmnElementRef="req_Dec_Total_1">
<di:waypoint x="230" y="290"/>
<di:waypoint x="340" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_2" dmnElementRef="req_Dec_Total_2">
<di:waypoint x="385" y="250"/>
<di:waypoint x="430" y="140"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_3" dmnElementRef="req_Dec_Total_3">
<di:waypoint x="540" y="290"/>
<di:waypoint x="520" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_4" dmnElementRef="req_Dec_Total_4">
<di:waypoint x="780" y="290"/>
<di:waypoint x="520" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_5" dmnElementRef="req_Dec_Total_5">
<di:waypoint x="1020" y="290"/>
<di:waypoint x="520" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_TieBreak_1" dmnElementRef="req_Dec_TieBreak_1">
<di:waypoint x="625" y="250"/>
<di:waypoint x="810" y="140"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_TieBreak_2" dmnElementRef="req_Dec_TieBreak_2">
<di:waypoint x="1020" y="290"/>
<di:waypoint x="900" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_TieBreak_3" dmnElementRef="req_Dec_TieBreak_3">
<di:waypoint x="230" y="290"/>
<di:waypoint x="720" y="100"/>
</dmndi:DMNEdge>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>