Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4338

DMN DT Analysis normalize redundant overlaps skip no-interval

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dmn engine
    • Labels:
      None

      Description

      In a case such as

      BEFORE:

      EXPECTED

      Message [id=0, level=WARNING, path=null, line=17, column=-1
         text=DMN: Overlap detected: Overlap values: [ <60, >=30 ] for rules: [3, 1] (DMN id: _eb02106a-cee1-47f5-a9d9-3160c5ac868b, DMN Validation, Decision Table Analysis, Overlap Analysis) ]
      Message [id=0, level=WARNING, path=null, line=17, column=-1
         text=DMN: Overlap detected: Overlap values: [ >=60, <30 ] for rules: [2, 3] (DMN id: _eb02106a-cee1-47f5-a9d9-3160c5ac868b, DMN Validation, Decision Table Analysis, Overlap Analysis) ]
      Message [id=0, level=WARNING, path=null, line=17, column=-1
         text=DMN: Overlap detected: Overlap values: [ >=60, >=30 ] for rules: [2, 3, 1] (DMN id: _eb02106a-cee1-47f5-a9d9-3160c5ac868b, DMN Validation, Decision Table Analysis, Overlap Analysis) ]
      Message [id=0, level=WARNING, path=null, line=17, column=-1
         text=DMN: First Normal Form Violation: hit policy Rule Order is a violation of First Normal Form; consider changing for example to Output Order or Collect (DMN id: _eb02106a-cee1-47f5-a9d9-3160c5ac868b, DMN Validation, Decision Table Analysis, First Normal Form Violation) ]
      
      ...
      
      10:42:35.190 [main] DEBUG o.k.d.v.d.AbstractDTAnalysisTest.debugAnalysis:95 - 
      Overlaps:
      Overlap values [ -Inf .. 60 ) [ 30 .. +Inf ] for rules: [3, 1]
      Overlap values [ 60 .. +Inf ] [ -Inf .. 30 ) for rules: [2, 3]
      Overlap values [ 60 .. +Inf ] [ 30 .. +Inf ] for rules: [2, 3, 1]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tari_manga Matteo Mortari
                Reporter:
                tari_manga Matteo Mortari
                Tester:
                Tibor Zimanyi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: