Open tothtamas28 opened 9 months ago
We should codify precisely the semantics of the UNIQUE_ID
attribute and make sure that we understand it properly.
My understanding is that UNIQUE_ID
is meant to be a hash of the rule body/requires and any semantics changing attributes it has. So any two rules that are semantically the same, despite being in different source locations, are supposed to have the same id.
This has multiple causes, including
Source
/Location
.A
pyk
script to list duplicate IDs:The rules can then be looked up in
compiled.txt
by ID.