forked from SWISDATA/processintel
mining.fuzzy: the edge cutoff is not applied to cluster edges and edge statistics #16
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ffrauenberger/ProcessIntel#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium (the edge cutoff slider has no effect on cluster edges)
Where
app/mining_algorithms/fuzzy_mining.py:98,:164-170,:330-382,:924-942Problem
self.removed_edgesis built by__get_as_node_removed_indices, which returns a list of lists ([[a, b], …]), although it is annotatedset[tuple[str, str]].filter_edgethen checks:Consequences:
get_edge_statistics()(BaseMining, usesfilter_edge) treats utility-removed edges as kept.Steps to reproduce
Expected behavior
Edges removed by the edge cutoff are excluded consistently, for all edge types and in the edge statistics.
Actual behavior
Removed edges are only excluded for node→node edges; they still appear in the statistics and in aggregated cluster edges. The sliders behave inconsistently depending on clustering.
Fix
Store removed edges as
set[tuple[str, str]]and use that one representation in all four edge-drawing branches.from
issues/BUG-016-fuzzy-filter-edge-never-applies-utility-removal.md(code analysis of commit6bcc646, 2026-10-03)