adl.featurelab · ADL 0.5.1 Feature Lab
An experiment platform that can say no.
Feature flags and controlled A/B experiments that freeze pre-registered hypotheses, primary metrics, and minimum sample sizes at launch — refusing early peeking, broken sample-ratio splits, and guardrail breaches directly on the Kalos server.
project → flag → experiment (frozen hypothesis & sample) → variants → guardrails → readouts → approved decision
Why Feature Lab Exists
Most feature-flagging and experimentation dashboards treat statistical discipline as polite advice. Nothing stops an eager team from calling a test on day three the moment p dips below 0.05, swapping a flat primary conversion metric for a noisy secondary click metric after seeing the numbers, ignoring a broken 50/50 assignment split, or shipping a +2% conversion lift that quietly degraded p95 checkout latency by 22%.
Feature Lab turns experimentation methodology into executable domain law. Built as a single ADL 0.5.1 suite (adl.featurelab) running natively on the Kalos C++ engine and PostgreSQL, it unifies feature flags, pre-registered hypotheses, control/treatment variants, safety guardrails, confidence-interval readouts, and rollout decisions under one RBAC and rules model. Nothing is mocked in client JavaScript — every state transition and refusal comes live from /api/v1/featurelab/*.
Inside the Product-Org Demonstration Dataset
Signing into any seat drops you into a realistic product engineering organization running 14 flags and 12 controlled experiments across 10 product areas (Checkout, Onboarding, Search, Scheduling, Messaging, Pricing, Mobile Home, Notifications, Billing, and Help Center):
- 8 Concluded Experiments with Full Decision Records: Five statistically significant winners rolled out to 100% (
exp-one-page-checkoutat +3.1%,exp-onboarding-checklistat +4.8%,exp-scheduling-next-availableat +6.2%,exp-pricing-annual-defaultat +7.4%, andexp-help-center-ai-answerscutting support tickets by −8.6%), two null results that kept control (exp-messaging-quick-replies,exp-mobile-home-shortcuts), and one directional result slated to iterate (exp-search-typo-tolerance). - 2 Guardrail-Breach Halts:
exp-notifications-digestspiked notification unsubscribes by 14.5% (against a 5.0% ceiling), andexp-checkout-express-paydegraded p95 page latency by 22.0% (against a 5.0% ceiling). Both were blocked from concluding and halted with recorded reasons. - 1 Live Under-Sampled Experiment (
exp-search-semantic-ranking): Currently running at 17,650 of 30,000 pre-registered exposures with a healthy split (p = 0.274) and intact latency guardrail — ready for you to sign in asanalyst1, click Conclude, and inspect the liveHTTP 422 RULE_VIOLATIONresponse. - 1 Ready-to-Launch Draft & 2 Standalone Flags:
exp-billing-plan-comparesits indraftwith its control, treatment, and support-ticket guardrail configured, alongside gradual release flagbilling.new_invoice_view(50%) and kill switchops.search_cache_bypass(0%).
How ADL Enforces Statistical Discipline on the Server
Every stage of an experiment’s lifecycle is governed by declarative validation expressions, cross-resource AEL query() rules, and role-guarded transitions in backend/domain.yaml:
- Frozen pre-registration (
noMovingGoalposts): Once an experiment leavesdraft, AEL!fieldChanged('hypothesis') && !fieldChanged('goalMetric') && !fieldChanged('minSampleSize')guards reject any attempt to rewrite the question, swap the metric, or lower the sample target mid-flight. - Pre-flight structural checks (
twoVariantsToStart,exactlyOneControl,guardrailBeforeStart): Transitioningdraft→runningexecutes server-sidequery()counts to verify at least two arms exist, exactly one arm is markedcontrol: true, and at least one safety guardrail is attached. - Three-gate conclusion (
concludeOnlyAtMinimumSample,concludeOnlyWithAHealthySplit,breachesHaltNotConclude): Onlyanalyst(oradmin) may invokeconclude, and Kalos refuses the transition unlessexposures >= minSampleSize,srmPValue >= 0.001, and zero guardrails havebreached == true. - Honest interval math (
intervalContainsEstimate,significanceMatchesInterval,breachMatchesObservation): Readout records cannot be saved unlessciLow <= liftPercent <= ciHighandsignificantstrictly equals(ciLow > 0 || ciHigh < 0), eliminating hand-waved significance badges. - Separated role authority & audit history (
decideOnlyFinishedExperiments): Engineers control flags and halts, analysts publish readouts and conclude tests, and product managers approve finalship_variant/keep_control/iteratedecisions — with every rollout change and transition captured in Kalos history and audit logs.
Zero Sign-Up · Live Kalos Sessions
Sit at a Bench and Try It Live
Each card below signs directly into a real role-scoped JWT session on the production Kalos backend so you can test role queues, transitions, and server refusals immediately.
engineer as engineer1 Software Engineer
Manage percentage release flags and operational kill switches, launch draft experiment exp-billing-plan-compare, or halt a running test with a mandatory reason.
Launch engineer1 bench ↗analyst as analyst1 Experimentation Analyst
Audit sample-ratio p-values and guardrail degradation, publish confidence-interval readouts, or press Conclude on under-sampled exp-search-semantic-ranking to trigger the server refusal.
Launch analyst1 bench ↗product as product1 Product Manager
Register hypotheses and minimum sample sizes before launch, review completed interval readouts, and approve Ship Variant, Keep Control, or Iterate decisions.
Launch product1 bench ↗Production Interface Walkthrough
Inside Feature Lab — Screen by Screen
Captured directly from the live Kalos deployment. Click any screenshot to inspect full resolution or jump straight to that screen in the running application.
Declarative Server Enforcement
What the Kalos Server Refuses — Whoever Asks
These invariants live in the ADL domain definition, not in client-side UI JavaScript. Every REST request is checked by Kalos before touching PostgreSQL, and any violation returns a structured error naming the rule.
| Attempted Operation | Enforced ADL Rule / Guard | Regulatory Alignment |
|---|---|---|
| Edit the hypothesis, goal metric, or minimum sample after an experiment starts | noMovingGoalposts | Pre-registration integrity |
| Start an experiment without ≥ 2 variants, exactly 1 control, and ≥ 1 guardrail | twoVariantsToStart · exactlyOneControl · guardrailBeforeStart | Experimental design |
| Conclude an experiment before reaching its pre-registered minimum sample size | concludeOnlyAtMinimumSample | Type I error control (peeking) |
| Conclude an experiment with a failing or missing sample-ratio check (p < 0.001) | concludeOnlyWithAHealthySplit | SRM assignment validity |
| Conclude an experiment when any guardrail metric is breached | breachesHaltNotConclude | Production SLO safety |
| Halt a running experiment without recording why | experiment.halt requires haltReason | Incident traceability |
| Publish a readout whose CI omits the point estimate or mislabels significance | intervalContainsEstimate · significanceMatchesInterval | Statistical reporting |
| Ship without naming a winning variant or approve a decision while still running | shippingNamesAWinner · decideOnlyFinishedExperiments | Rollout governance |
Domain Footprint
ADL Suite Inventory
Resources (8)
projectflagmetricexperimentvariantguardrailreadoutdecision RBAC Roles (4)
engineeranalystproductadmin Declarative Views (3)
runningExperimentsbreachedGuardrailsdecisionLog