Skip to content

Instantly share code, notes, and snippets.

@r00ta
Created February 3, 2021 08:26
Show Gist options
  • Save r00ta/9882027174f6b38dc2b6d66038fce60f to your computer and use it in GitHub Desktop.
Save r00ta/9882027174f6b38dc2b6d66038fce60f to your computer and use it in GitHub Desktop.
Explainability functional test 2
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_049CD980-1310-4B02-9E90-EFC57059F44A" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_02EA9C07-0109-45AB-9AAD-1CCBF6275395" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_049CD980-1310-4B02-9E90-EFC57059F44A">
<dmn:extensionElements/>
<dmn:inputData id="_5193EF09-7CF0-4980-88E9-21ED95A6C7EB" name="numberInput">
<dmn:extensionElements/>
<dmn:variable id="_6AFE740B-91AC-4C4E-9B27-0609F44334A7" name="numberInput" typeRef="boolean"/>
</dmn:inputData>
<dmn:inputData id="_FA9F0ED5-F46B-4852-87A7-25EE1E9395AF" name="notUsedInput">
<dmn:extensionElements/>
<dmn:variable id="_5AA4A00E-B20D-4F2E-B489-6032181DB5D4" name="notUsedInput" typeRef="number"/>
</dmn:inputData>
<dmn:decision id="_C49BC023-D480-4F9A-BA2D-CAB5ADEE351B" name="decision">
<dmn:extensionElements/>
<dmn:variable id="_43D45A6F-213A-4DF3-9DB8-E4CA7588D292" name="decision" typeRef="boolean"/>
<dmn:informationRequirement id="_61A01A35-65EB-4737-8661-6A5F67EBDB94">
<dmn:requiredInput href="#_5193EF09-7CF0-4980-88E9-21ED95A6C7EB"/>
</dmn:informationRequirement>
<dmn:informationRequirement id="_D09FAE05-5CA0-4693-8037-F7D64898EE11">
<dmn:requiredInput href="#_FA9F0ED5-F46B-4852-87A7-25EE1E9395AF"/>
</dmn:informationRequirement>
<dmn:decisionTable id="_6E2FA651-F148-4F99-A3F2-72D8C5E881D2" hitPolicy="FIRST" preferredOrientation="Rule-as-Row">
<dmn:input id="_75D5DBD0-45B7-4A3C-ACB3-C532841607E1">
<dmn:inputExpression id="_CB6AC10E-C2A9-4B87-A55A-3D48DD7AD383" typeRef="number">
<dmn:text>numberInput</dmn:text>
</dmn:inputExpression>
</dmn:input>
<dmn:input id="_2D903771-C444-40E2-B41A-C2DA4826EAAF">
<dmn:inputExpression id="_FB09079F-E1B4-49D7-8853-327702A6FBEA" typeRef="number">
<dmn:text>notUsedInput</dmn:text>
</dmn:inputExpression>
</dmn:input>
<dmn:output id="_E7DE9976-6A34-4B6A-B239-CD016A8991CD"/>
<dmn:annotation name="annotation-1"/>
<dmn:rule id="_CCCA7952-4514-4C0C-88C1-4B8EC92CB9D0">
<dmn:inputEntry id="_2648058F-1596-454F-A12E-91639B0AF4E6">
<dmn:text>1</dmn:text>
</dmn:inputEntry>
<dmn:inputEntry id="_C9F41566-E371-460F-9313-D1B8F991933E">
<dmn:text>-</dmn:text>
</dmn:inputEntry>
<dmn:outputEntry id="_A2AD6B75-9E79-4C08-9AEA-8E9B1EA4A3DD">
<dmn:text>true</dmn:text>
</dmn:outputEntry>
<dmn:annotationEntry>
<dmn:text/>
</dmn:annotationEntry>
</dmn:rule>
<dmn:rule id="_9D506030-7261-4733-876E-512CC1EB64C9">
<dmn:inputEntry id="_E096DE03-2F47-4E11-BB2F-CAE5B3F36C83">
<dmn:text>-</dmn:text>
</dmn:inputEntry>
<dmn:inputEntry id="_653433D1-C4E0-44DA-A5C2-0032BCDCE22C">
<dmn:text>-</dmn:text>
</dmn:inputEntry>
<dmn:outputEntry id="_521DFC33-D369-4156-BC32-F573F8EF9B41">
<dmn:text>false
</dmn:text>
</dmn:outputEntry>
<dmn:annotationEntry>
<dmn:text/>
</dmn:annotationEntry>
</dmn:rule>
</dmn:decisionTable>
</dmn:decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="_DC1518E9-45AB-449F-A4FF-FCA194A4415C" name="DRG">
<di:extension>
<kie:ComponentsWidthsExtension>
<kie:ComponentWidths dmnElementRef="_6E2FA651-F148-4F99-A3F2-72D8C5E881D2">
<kie:width>50</kie:width>
<kie:width>100</kie:width>
<kie:width>100</kie:width>
<kie:width>100</kie:width>
<kie:width>100</kie:width>
</kie:ComponentWidths>
</kie:ComponentsWidthsExtension>
</di:extension>
<dmndi:DMNShape id="dmnshape-drg-_5193EF09-7CF0-4980-88E9-21ED95A6C7EB" dmnElementRef="_5193EF09-7CF0-4980-88E9-21ED95A6C7EB" isCollapsed="false">
<dmndi:DMNStyle>
<dmndi:FillColor red="255" green="255" blue="255"/>
<dmndi:StrokeColor red="0" green="0" blue="0"/>
<dmndi:FontColor red="0" green="0" blue="0"/>
</dmndi:DMNStyle>
<dc:Bounds x="545" y="461" width="100" height="50"/>
<dmndi:DMNLabel/>
</dmndi:DMNShape>
<dmndi:DMNShape id="dmnshape-drg-_FA9F0ED5-F46B-4852-87A7-25EE1E9395AF" dmnElementRef="_FA9F0ED5-F46B-4852-87A7-25EE1E9395AF" isCollapsed="false">
<dmndi:DMNStyle>
<dmndi:FillColor red="255" green="255" blue="255"/>
<dmndi:StrokeColor red="0" green="0" blue="0"/>
<dmndi:FontColor red="0" green="0" blue="0"/>
</dmndi:DMNStyle>
<dc:Bounds x="690" y="461" width="100" height="50"/>
<dmndi:DMNLabel/>
</dmndi:DMNShape>
<dmndi:DMNShape id="dmnshape-drg-_C49BC023-D480-4F9A-BA2D-CAB5ADEE351B" dmnElementRef="_C49BC023-D480-4F9A-BA2D-CAB5ADEE351B" isCollapsed="false">
<dmndi:DMNStyle>
<dmndi:FillColor red="255" green="255" blue="255"/>
<dmndi:StrokeColor red="0" green="0" blue="0"/>
<dmndi:FontColor red="0" green="0" blue="0"/>
</dmndi:DMNStyle>
<dc:Bounds x="545" y="365" width="100" height="50"/>
<dmndi:DMNLabel/>
</dmndi:DMNShape>
<dmndi:DMNEdge id="dmnedge-drg-_61A01A35-65EB-4737-8661-6A5F67EBDB94" dmnElementRef="_61A01A35-65EB-4737-8661-6A5F67EBDB94">
<di:waypoint x="595" y="486"/>
<di:waypoint x="595" y="390"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="dmnedge-drg-_D09FAE05-5CA0-4693-8037-F7D64898EE11" dmnElementRef="_D09FAE05-5CA0-4693-8037-F7D64898EE11">
<di:waypoint x="740" y="486"/>
<di:waypoint x="595" y="415"/>
</dmndi:DMNEdge>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment