惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
O
OpenAI News
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
S
Securelist
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 热门话题
Jina AI
Jina AI
博客园 - 【当耐特】
C
Cisco Blogs
爱范儿
爱范儿
Scott Helme
Scott Helme
月光博客
月光博客
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
J
Java Code Geeks
T
Tailwind CSS Blog
S
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Privacy & Cybersecurity Law Blog
T
Threatpost
IT之家
IT之家
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - Franky
V
Vulnerabilities – Threatpost
V
Visual Studio Blog
P
Proofpoint News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
G
Google Developers Blog
T
Tor Project blog
The Hacker News
The Hacker News
NISL@THU
NISL@THU
腾讯CDC
SecWiki News
SecWiki News
有赞技术团队
有赞技术团队
Blog — PlanetScale
Blog — PlanetScale
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Synthetic Data for Data Engineering: How to test a Pipeline before the real data arrives
Muhammed Rasin O M · 2026-06-20 · via DEV Community

There is a quiet absurdity at the center of most data work, and once you notice it you cannot stop seeing it.

You are asked to make sure a pipeline is correct. To do that, you need data to run it on. The only data that would truly prove anything is the real data, the production tables with their odd shapes and their long tails and their one customer in Belgium who somehow has forty thousand orders. And that is exactly the data you are not allowed to have. It sits behind an access request, a compliance review, a privacy policy, and a Slack thread that goes quiet after someone says "let me check with legal."

So you build the thing in the dark. You write twenty rows by hand and tell yourself they represent a million. You run a loop of fake names and random numbers and watch your joins quietly drop half the rows because none of the foreign keys point anywhere. You ship, and you wait, and you find out whether you were right when the real data finally lands and something downstream catches fire.

This is the part nobody puts in the job description. Most of data engineering is reasoning about data you cannot look at.

Synthetic data is usually sold as a machine learning trick. Train a model without touching real records. Get around the privacy rules. Pad out a dataset that is too small. All of that is real. But it hides the use that shows up far more often, in the ordinary Tuesday-afternoon work of building and testing pipelines. And the reframe that makes it click is small and a little beautiful.

The data whose answers you already know

Here is the inversion. Normally data comes first and you spend your life trying to discover its truths. You profile it, you chart it, you write tests that hope to catch it lying. The data is the authority and you are the supplicant.

Generated data flips the direction of that relationship. You state a truth, and the data assembles itself to honor it.

Say you are testing a fraud aggregation. You run your pipeline against some test data and it reports three point one percent fraud last month. Is that correct? You have no idea. You do not know the true fraud rate of your test data, so the number is unfalsifiable. The test can confirm the code ran. It cannot confirm the code is right.

Now turn it around. Generate test data where you decided the fraud rate in advance. One point eight percent in January, climbing to four point one by June. Run the pipeline. If the gold table comes back at one point seven nine and four point oh nine, then your joins held, your filters were honest, your aggregation counted what it was supposed to count. If it comes back at two and a half, something in the middle is dropping or double counting fraud, and you caught it on a laptop, on a branch, before a single real record was at risk.

That is a real test for a data pipeline. Not "did it run" but "is it correct." And you cannot write it with a fake-data loop, because a fake-data loop cannot hand you a target to check against. The value here is not that the data looks real. It is that you wrote the answer key first.

What this actually does on an ordinary day

A few jobs where this earns its place.

Proving a pipeline is correct, on every commit

Declare the tables, the relationships between them, and the outcome you care about. Generate. Assert that your transformation reproduces the outcome. Here is the shape of it, using Misata, an open source library I build (so take the pitch with the appropriate pinch of salt, though the idea holds whatever you reach for):

import misata
from misata import from_dict_schema

schema = from_dict_schema({
    "__rate_curves__": [{
        "table": "transactions", "column": "is_fraud",
        "time_column": "txn_ts", "time_unit": "month", "true_value": True,
        "rate_points": [
            {"period": "2025-01", "rate": 0.018},
            {"period": "2025-06", "rate": 0.041},
        ],
    }],
    "customers": {
        "id": {"type": "integer", "primary_key": True},
        "email": {"type": "email"},
    },
    "transactions": {
        "id": {"type": "integer", "primary_key": True},
        "customer_id": {"type": "integer",
                        "foreign_key": {"table": "customers", "column": "id"}},
        "amount": {"type": "float", "distribution": "lognormal", "mu": 3.4, "sigma": 1.1},
        "txn_ts": {"type": "datetime", "start": "2025-01-01", "end": "2025-06-30"},
        "is_fraud": {"type": "boolean"},
    },
})

tables = misata.generate_from_schema(schema)

Every transaction points at a customer who exists. The monthly fraud rate follows the curve you declared. Run your silver and gold transforms on top, then assert the gold output lands on that curve within a tolerance. Wire it into CI and it runs forever, with no access to production and nothing to leak.

Making a copy of data you have but cannot share

Sometimes the real table is right there on your screen and the problem is the opposite. You need to send it somewhere it should not go. To a vendor, into a public demo, onto the laptop of someone who started on Monday. The job now is a copy that keeps the statistical shape and the relationships between columns while carrying none of the actual rows.

import pandas as pd
import misata

real = pd.read_csv("customers.csv")
synthetic = misata.mimic(real, rows=len(real))["table"]

print(misata.fidelity_report(synthetic, real, target_column="churned").summary())
print(misata.privacy_report(synthetic, real).summary())

The two report lines are the point. A copy is only worth using if you can measure that it matches the real distributions and the relationships inside them. It is only worth sharing if you can measure that it is not quietly memorizing real people. Numbers you can put in a pull request, not a feeling you defend in a meeting.

Honesty belongs here too, because this is the hard part of the whole field. Simple tabular structure reproduces beautifully: distributions, correlations between columns, values that shift by category. Complicated nonlinear or geographic structure is genuinely harder, and the right move is to measure the gap rather than pretend it closed. If your need is deep generative fidelity on messy real data, the heavier synthesizers like SDV have spent years on exactly that.

Filling the time before the data exists

Two more, quickly. Load testing wants volume with a believable shape, so you can watch a pipeline behave at a hundred million rows before the business actually sends them. And teams before launch have no data at all, yet still have to build the dashboard and train the first model. Declared synthetic data covers both, and since you set the dials, you know what every downstream number is supposed to say.

Where it is the wrong tool, plainly

It will not find a bug you did not think to model. If an upstream system encodes dates in a way nobody documented, synthetic data built from a clean schema will be innocent of that sin, and your pipeline will meet it for the first time in production. Use generated data to prove your logic against known inputs, not to discover the unknown.

It does not replace an integration test against the real source systems. It exercises your transformations, not your connectors.

And a copy learned from real data is still a descendant of real data. Measure the privacy distance before you hand it over. Assume nothing.

The small wonder of it

Come back to that two in the morning feeling, the green pipeline you did not trust. The reason you did not trust it was that nothing in the test could have told you it was wrong. The data had no opinion about the right answer.

What changes, when you generate data on purpose, is that the data starts to carry an opinion. You write down what should be true, the rows arrange themselves around it, and then your pipeline has to earn that truth back out the other end. The test can finally fail for the right reasons. That is a strange and slightly wonderful thing to be able to do, to know the answer before the data exists, and it turns the loneliest part of data engineering, reasoning in the dark about tables you cannot see, into something you can actually check.

If you want to try the examples, Misata is pip install misata, and there are runnable Databricks notebooks in the repository. Whatever you use, give your pipelines a test that knows the answer.