miatz™
Verify a credentialLog inSit ChuunSit Chuun
  • Learners
  • Mentors
  • Business
CoursesApplied AIProgramResidencyPlaygroundsWar RoomsXookAtlasReadiness Check
miatz

The AI-era engineering institute. The machines got fast — we train the drivers. Real work, a daily loop that compounds, and a record that proves you can think.

Toggle theme
Explore
  • Courses
  • Applied AI
  • Program
  • Residency
  • Playgrounds
  • War Rooms
  • Xook
  • Atlas
  • Readiness Check
  • Tokenizer Lab
  • Chunking Lab
  • Prompt Anatomy
  • Calibration Lab
  • All playgrounds →
Learn
  • Courses
  • The Method
  • The Residency
  • Chuun · Entrance Examination
  • Manifesto
  • The Itz'at credential
  • Verified engineers
  • Playground Catalog
  • AI Use-Case Atlas
  • AI Readiness Check
  • Guides
  • Glossary
  • Compare approaches
  • Blog
  • What's New
For teams
  • For Students
  • For Mentors
  • For Business
  • Classroom migration
  • Miatz Index
  • API reference
  • Sit Chuun
  • Log in
Company
  • About
  • Experts
  • Why it's free
  • Pricing
  • FAQ
  • Contact
  • Privacy Policy
  • Terms of Service
  • Your data & privacy requests
  • Grievance redressal
  • Security & disclosure
  • Subprocessors
  • Data Processing Agreement
Take miatz with you

The Android app is live. iOS is on the way.

Available on AndroidGet it on Google Play
Not yet on iPhoneiOS — use the web app

Miatz Private Limited

Registered office:
C-101, Lotus Tower, Arge Urban Bloom, 30/A, 4th Main, 2nd Stage, Yeswanthpur, Bengaluru, Karnataka 560022, India
CIN:
U62013KA2026PTC226418
GSTIN:
29AAVCM3922D1Z6
Phone:
+91 82802 73456
Email:
hello@miatz.com
Website:
miatz.com
Grievance Officer:
Aishwarya · aishwarya@miatz.com · replies within 30 days
© 2026 miatz · Miatz Private Limited · Built in Bangalore·PrivacyTerms

miatz™, Itz'at™, Tuukul™, T'aan™, Kanan™, Xook™ and Chuun™ are trademarks of Miatz Private Limited (registrations in progress) · what the names mean

miatz
Free concept playground · no account

Schema Cage Match

Turn off JSON enforcement, watch a mock app crash.

All 90 playgrounds Join the free cohort

Schema Cage Match

AvailableFree

Same request, 16 times, two lanes. One lets the model free-form JSON; the other enforces the schema at decode time.

Enforcement OFF

63% valid · app crashed 6×

Enforcement ON

100% valid · app healthy

◆One bad field, one broken appvalidate at the boundary — or crash live

The unenforced lane returned 63% valid JSON — the other 6 responses (missing fields, wrong types, truncated, extra keys) crashed the downstream app. The enforced lane held the contract at 100%.

“The model usually returns good JSON” is a production incident waiting to happen — one malformed field is a crash, not a warning. Constrained decoding (schema enforcement) makes valid output structurally impossible to violate; a validate-and-retry boundary is the fallback. Never parse a raw model response straight into your app.

Was this playground useful?

Schema cage match

The same request fires sixteen times at two lanes: one lets the model free-form its JSON, the other enforces the schema at decode time. Watch the off lane's malformed responses — missing fields, wrong types, truncated output, hallucinated extra keys — crash a mock downstream app, while the on lane holds the contract. Hit break it to attack the enforced lane and watch it hold. Runs entirely in your browser (0 uploads, works offline).

How to use it

  1. Compare the two lanes: each cell is one response — green is valid, red crashed the app.
  2. Read the validity rate and crash count for each lane.
  3. Hit break it to raise adversarial pressure, or re-run for a new batch — the enforced lane stays at 100%.

What this clears up (the fundamentals)

  • "Usually valid" is a production incident — if 1 in 5 responses is malformed, that's not a warning, it's a crash every fifth call. One bad field breaks the code that parses it.
  • Validate at the boundary — never feed a raw model response straight into your app. Parse and validate against a schema first; reject or retry what doesn't conform.
  • Constrained decoding makes bad output impossible — schema enforcement (structured outputs / grammars) constrains the model so it can only emit valid JSON, turning a runtime crash into a structural guarantee.
  • Malformation has many shapes — missing required fields, wrong types, truncated JSON, and hallucinated extra keys all break a strict consumer. A single check at the boundary catches them all.

Where it's used

An AI-engineering reliability tool — the fastest way to feel why "the model returns JSON" is not the same as "the model returns valid JSON," and why structured outputs exist. It's a miatz build-lab concept playable; learn to build it yourself.

FAQ

What is schema enforcement / constrained decoding?

A mode where the model's output is constrained during generation to conform to a schema or grammar, so it can only produce valid structured data. Many providers expose it as "structured outputs" or JSON mode with a schema.

Why not just prompt the model to return JSON?

Because prompting is a request, not a guarantee. Under load, edge cases, or adversarial input, a free-forming model will occasionally emit malformed JSON — and your parser will crash on it.

What does "validate at the boundary" mean?

Treat every model response as untrusted input: parse it, validate it against your schema, and handle failures explicitly (reject, retry, or repair) before any downstream code touches it.

Is anything uploaded?

No. The responses are generated and validated (against a real schema) entirely in your browser — nothing is transmitted or stored. Turn off your Wi-Fi and it still works.

Limits

A teaching model with a fixed schema and a simulated malformation rate — real failure rates depend on the model, prompt, and load. The mechanism (validate at the boundary, enforce the schema) is exactly the real practice.

Related

Part of the miatz playgrounds. Explore the rest from the playground catalog.

Bookmark this page (Ctrl+D, or ⌘D on Mac) — it works offline the next time you need it.

Try it live

  • Break-even Board

    Live

    Plug in your numbers, watch the break-even cross.

    AiBrowser (JS)Medium
    Play it now
  • Chunk Slicer

    Live

    Drag one slider, watch search quality rise then crash.

    AiBrowser (JS)Medium
    Play it now
  • Hype Decoder

    Live

    Paste any AI hype, get the substance score.

    AiBrowser (JS)Medium
    Play it now
  • Lie Detector

    Live

    Swipe fast: real answer or confident AI lie?

    AiBrowser (JS)Medium
    Play it now
  • Meaning Map

    Live

    King minus man plus woman, mapped and clickable.

    AiBrowser (JS)Medium
    Play it now
  • Model Grand Prix

    Live

    Five models race one task, cost ticking live.

    AiBrowser (JS)Medium
    Play it now

Ninety playgrounds. Zero setup.

Every concept here is playable free, no account — and inside the program you learn to rebuild the machinery yourself.

Browse all playgrounds Join free