fraudtwin.GeneratedData#

class fraudtwin.GeneratedData(manifest, entities, behavior, dataset=None, stage_timings=<factory>)[source][source]#

Bases: object

Generated FraudTwin data kept in memory.

Parameters:
  • manifest (RunManifest)

  • entities (EntityDataset)

  • behavior (BehaviorDataset)

  • dataset (PointInTimeDataset | None)

  • stage_timings (dict[str, dict[str, float]])

property run_id: str#

Return the deterministic identifier for this generated run.

require_dataset()[source][source]#

Return the point-in-time dataset, or explain how to enable it.

generate only builds a dataset when config.dataset.enabled is true. This typed accessor keeps notebook and application code concise while preserving the optional dataset for lightweight simulations.

Raises:

RuntimeError – If the supplied configuration did not enable the point-in-time dataset builder.

Return type:

PointInTimeDataset