Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:Sdv dev SDV DayZ Multi Table Parameter Detection

From Leeroopedia
Knowledge Sources
Domains Synthetic_Data, Multi_Table, Parameter_Detection
Last Updated 2026-02-14 19:00 GMT

Overview

Principle that defines how statistical parameters and relationship cardinality are automatically detected from multi-table relational data for DayZ synthesis.

Description

DayZ Multi-Table Parameter Detection extends single-table parameter detection to relational datasets. In addition to per-table column statistics, it detects relationship-level parameters: the minimum and maximum cardinality between parent and child tables based on foreign key distributions. Validation ensures that cardinality constraints are consistent with table row counts, that relationships match the metadata schema, and that no duplicate relationship entries exist.

Usage

Apply this principle when configuring DayZ synthesis for multi-table relational datasets. The relationship cardinality parameters ensure that synthetic data preserves realistic parent-child row count ratios.

Theoretical Basis

Multi-table parameter detection extends single-table statistics with cardinality analysis: for each parent-child relationship, compute the distribution of child rows per parent key, then extract the min and max cardinality as bounding parameters:

Pseudo-code:

# Cardinality detection
for relationship in metadata.relationships:
    cardinality = child_data[fk_column].value_counts()
    params['min_cardinality'] = cardinality.min()
    params['max_cardinality'] = cardinality.max()

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment