Expand description
Conflict-of-interest pattern catalog.
Patterns are defined as data structures, not hardcoded traversals.
New patterns can be added by appending to the catalog vectors
returned by cycle_patterns, path_patterns, and the hub
threshold constant.
Structs§
- Conflict
Pattern - A single detected conflict pattern.
- Cycle
Pattern - A cycle pattern: a directed cycle whose edge types match a sequence.
- Path
Pattern - A path pattern: a directed path whose edges and (optionally) node labels match a template.
- Path
Step - A single step in a path pattern.
Enums§
- Severity
- How serious a detected conflict is considered.
Constants§
- HUB_
INFLUENCE_ TYPES - Edge types considered “influence” edges for hub concentration.
- HUB_
THRESHOLD - Minimum distinct influence edge types for a hub to be flagged.
Functions§
- cycle_
patterns - Cycle-based conflict patterns.
- path_
patterns - Path-based conflict patterns.