FraudTwin documentation#

Level: All levels
You will: find the right learning route, canonical guide, and reference
surface for your work. Before you start: none.
Services: None.

FraudTwin is a deterministic synthetic payment world for fraud detection, graph analysis, data engineering, and machine-learning experiments. The manual is organized by reader intent: Tutorials, How-to guides, Explanation, and Reference. Use the onboarding page when you want help choosing where to begin.

Installation#

  • Installation and support - install the base package, choose extras, and verify an environment.

  • Quickstart - install FraudTwin and generate your first run.

  • Choose your path - select the canonical documentation section for your goal.

  • Python package and CLI - choose between the Python API and command-line workflows.

  • Build the documentation with poetry run sphinx-build -E -W --keep-going -b html docs docs/_build/html.

Tutorials#

The published sidebar groups these notebooks into eight tutorial categories: Visualization and exploration, Getting started, Core workflows, Production ML and reliability, Graph analytics, Streaming and Kafka reliability, Operations and incident response, and Advanced experiments.

Start with a category page instead of a flat notebook list. Each page explains the expected input size, optional extras, service requirements, generated artifacts, and the next recommended step.

Tutorial filenames are descriptive. Historical numeric routes remain redirects for readers with old bookmarks; use the category pages as the recommended path. Follow the category order for the recommended learning path; descriptive filenames and rendered titles explain what each notebook teaches.

How-to guides#

Explanation#

Reference#

Resources#

Documentation style#

Every maintained guide states its level, expected outcome, prerequisites, and service requirements near the beginning. Commands are written for copy/paste, with the expected artifact or next decision explained immediately afterward. Feature names are used in public prose; compatibility identifiers remain only where a file format, release history, or existing command requires them.

Package Reference#

Cheatsheets#

Resources#

  • Development guide - run checks, target tests, and contribute safely.

  • Glossary - definitions for observable views, label maturity, campaigns, fingerprints, and checkpoints.

  • Release notes - follow release history and notable changes.

  • Contributor entry point - the short repository-level workflow.

External Resources#

A useful mental model#

Every run starts with entities and customer behavior, produces legitimate payments and lifecycle events, and can then layer on fraud, workflow, quality faults, graph structure, or benchmark stress. The simulator keeps those layers deterministic and connected, so a generated case can be traced back to the payment, actors, timestamps, and source records that explain it.

Next#

Choose a route from Choose your path, starting with the Quickstart if you are new to FraudTwin.