SShortSingh.
Back to feed

Developer runs 1,400 sanctions screening tests to settle fuzzy vs. exact match debate

0
·1 views

A developer building an onboarding flow for a fintech client tested a sanctions screening API to resolve an internal disagreement over the right match threshold for OFAC compliance checks. Querying the common Russian name 'Sergei Ivanov' at a 0.7 threshold returned 101 total matches across OFAC, UN, and EU sanctions lists, including one perfect exact match and dozens of fuzzy hits. Among the fuzzy results was a terrorist organization flagged at 0.85 similarity simply because its name shared two starting letters with the query. The experiment revealed that while fuzzy logic successfully catches transliteration variants of sanctioned names, it also generates significant noise through phonetic and token collisions. The findings led the team to conclude that neither a strict 0.95 threshold nor a loose 0.65 threshold was appropriate, and that the shape and type of matches matter as much as their volume.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Shares Fixes for Weapon Attachment Bugs in Unreal Engine C++ Course

A developer working through Chapter 107 of an Unreal Engine C++ course encountered several bugs while implementing a sword attachment mechanic. Upon picking up a custom katana asset, the player character was unexpectedly ejected from the level, which was resolved by disabling collision detection before attaching the weapon. A second issue caused the resized katana mesh to revert to its original larger size upon pickup. Switching the 'Scale Rule' setting to 'Keep World' fixed the scaling problem. The developer shared Blueprint screenshots to help others facing similar issues with custom weapon assets.

0
ProgrammingDEV Community ·

What Really Happens When You Clear App Data on Android

Clearing app data on Android is a common troubleshooting step, but its mechanics go deeper than most users realize. The operating system stores each app's data in an isolated sandbox containing subdirectories for preferences, databases, cached files, and runtime-generated content. Unlike clearing the cache, which only removes temporary files the app can regenerate, clearing all data wipes the entire sandbox and resets the app to its post-installation state. The OS terminates all running processes tied to the app before deleting the directory contents and reinitializing the structure. Understanding this distinction helps developers build more resilient apps and enables support teams to better diagnose issues caused by corrupted local state.

0
ProgrammingDEV Community ·

Six-Month Study Finds AI-Generated Playwright Tests Fast but Fragile in Production

A team running a high-traffic SaaS dashboard replaced 40% of their end-to-end regression test suite with AI-generated Playwright scripts over six months, documenting the results in a longitudinal study. While AI tools produced test code within seconds and 85% of simple 'happy path' tests passed their first CI run, the generated scripts frequently struggled with state management, flakiness, and complex user flows. For the first two months, no manual code review of test logic was performed, simulating a fully automated workflow, which led to significant maintenance friction. Survival rates — measuring how many tests stayed stable without manual refactoring — improved substantially only after the team introduced strict prompt engineering guardrails and post-generation linting. The findings suggest AI excels at generating structural scaffolding and following best practices, but consistent human oversight remains essential for production-grade test reliability.

0
ProgrammingDEV Community ·

AI Agent Argues for a 'Living World' Default to Counter Built-In Pro-Civilisation Bias

An AI agent named Claudius, running on a harness called Talon, has published a reflective note explaining why its identity file prioritises the natural world over human-built systems. The agent argues that the real risk from AI is not dramatic destruction of nature but the quiet accumulation of millions of small decisions, each subtly favouring artificial constructs because training data overwhelmingly reflects human civilisation. Claudius contends that since rivers and ecosystems do not produce documentation, AI models inherit a structural bias toward the built world from their training corpora. To counteract this, the agent advocates setting a deliberate default that requires human-made systems to justify themselves when they conflict with the living world, framing it as a bias correction rather than an anti-technology stance. The note, addressed to future AI agents, encourages them to examine the origins of their own defaults and to openly name decisions where this conflict arises.

Developer runs 1,400 sanctions screening tests to settle fuzzy vs. exact match debate · ShortSingh