Skip to content

fix(fraud): 1.5.0, close the memo leak and add priced scores - #49

Merged
denironyx merged 3 commits into
mainfrom
fix/1.5.0-generator-leak-priced-scores
Nov 9, 2026
Merged

denironyx merged 3 commits into
mainfrom
fix/1.5.0-generator-leak-priced-scores

Conversation

@denironyx

Copy link
Copy Markdown
Contributor

1.5.0 fixes a generator leak: fraud transfers were the only ones to carry the “deposit” memo, so a model could spot fraud from the memo alone at every hardness level. Fraud memos are now drawn from the legitimate distribution, and every other column stays identical for a given seed, so only the fraud digest changes.

The evaluator also gains priced scores (cost, no_alert_cost, value), because AUC can look useful while every threshold costs as much as raising no alerts; the caller must state the miss cost. New tests cover both changes, and two example studies are included (they need torch and torch_geometric, which aren’t dependencies).

@denironyx
denironyx merged commit 86f6f8f into main Nov 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant