cinep10

Data Modeling — Data Reliability Platform v0.2 (Engineering Notes)

Overview

The v0.2 data model is not a traditional OLTP or data warehouse schema.

It is designed as an operational data model that supports the full lifecycle of data reliability:

The goal of this document is not to describe tables, but to help engineers quickly understand:


1. Core Data Flow

The entire system can be understood through a single flow:


raw → stream summary → stream signal → truth → ml → ai
↘
final risk → root cause → action

All tables exist to support this flow.


2. Layered ERD (Engineering View)

2.1 Source / Raw Layer

Key Table

Role

When to check


2.2 Stage / Load Layer

Key Tables

Role

When to check


2.3 Validation / Mapping / Drift Layer

Role

Includes

When to check


2.4 Stream Detection Layer

Key Table

Role

When to check


2.5 Risk / Bridge Layer (Core)

Key Tables

Role

stream_risk_signal_day

data_risk_score_day_v3

Flow


stream summary → stream signal → final risk

When to check


2.6 Truth / Scenario Layer

Key Table

Role

When to check


2.7 ML Layer

Key Tables

Role

vw_stream_ml_training_dataset_v4

Prediction tables:

When to check


2.8 AI Layer

Key Tables

Role

When to check


3. Data Dictionary (Core Tables)

event_log_raw

Note Changes here impact the entire system


stream_reliability_summary_day


stream_risk_signal_day

Key Fields

Importance Primary input for all downstream decisions


stream_anomaly_truth_day


data_risk_score_day_v3


data_risk_root_cause_day


data_reliability_action_day


vw_stream_ml_training_dataset_v4


stream_ml_prediction_day


stream_ml_risk_prediction_day


ai_stream_incident_context_day



4. Engineering Efficiency (Critical)

4.1 Tables to Start With (Current System)

Focus on these first:

Understanding these gives you the entire system.


4.2 Contracts That Must Be Fixed First

These must be stabilized before any major changes:

  1. threshold_scope
  2. cause_source
  3. action_source
  4. primary_stream_issue
  5. representative bridge rule
  6. training dataset view version

Changes here propagate across all downstream layers.


5. Strengths


6. Limitations


7. Key Takeaway

The v0.2 data model is not a static schema.

It is an evolving operational model designed to interpret data reliability issues and translate them into actionable insights.


One-line Summary

This model does not define tables —
it defines how data risk is interpreted across the system.