US 12,254,417 B2
Automatically validating decision tables
Luca Molteni, Milan (IT); and Matteo Mortari, Milan (IT)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by Red Hat, Inc., Raleigh, NC (US)
Filed on Feb. 9, 2021, as Appl. No. 17/171,234.
Prior Publication US 2022/0253718 A1, Aug. 11, 2022
Int. Cl. G06N 5/01 (2023.01)
CPC G06N 5/01 (2023.01) 20 Claims
OG exemplary drawing
 
1. A system comprising:
a processor; and
a memory including instructions that are executable by the processor for causing the processor to:
execute an iterative process for validating a decision table comprising decision logic for a software program, wherein an iteration of the iterative process involves:
determining a first plurality of values associated with a first column of the decision table and a second plurality of values associated with a second column of the decision table;
determining that each respective value in the first plurality of values has a one-to-one relationship with a corresponding value in the second plurality of values;
based on determining that each respective value in the first plurality of values has the one-to-one relationship, determining that the first column and second column violate a third normal form (3NF) constraint; and
based on determining that the first column and the second column violate the 3NF constraint, automatically reorganizing the first column and the second column into separate decision tables that comply with the 3NF constraint; and
after validating the decision table, execute the software program based on the separate decision tables, the separate decision tables being usable in place of the decision table to reduce logical inconsistencies associated with software malfunctions.