Synthetic data generator improvements

Table of Contents

This page is a capture in the next bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.

What

(One paragraph: the idea.)

Why

(Motivation, problem being solved, related context.)

References

See also

Three bugs / gaps in the synthetic data generator:

  1. City hierarchy — counterparties and parties are assigned cities drawn from the full global list rather than from cities belonging to the same parent (country → region → city). Fix the generator to respect the geographic hierarchy.
  2. Counterparty tree shape — currently only one root counterparty is generated. Produce multiple root nodes; use a configurable probability distribution over depth (e.g. geometric with max depth parameter) to vary tree shape realistically.
  3. Bootstrap guard — tenant bootstrapping should be blocked if the system has not yet been bootstrapped. Add a pre-check that queries for a bootstrapped system record and aborts with a clear error if absent.

Emacs 29.1 (Org mode 9.6.6)