02 Features

Eight engines,
one auditable pipeline.

Every stage of a FALAK experiment is its own engine, with a defined input, a defined output and a record it leaves behind. This page describes what each one does, what it takes and what it returns.

Planned platform surface. Every example on this page is demonstration data, and nothing here is a claim about scientific accuracy.

00 System architecture

How the engines connect.

Four layers, one direction of travel: a question enters at the top, and only evidence leaves at the bottom. Select any block to see its role, its input and its output.

L1Interface
L2Compilation
L3Execution
L4Record
01

Question Compiler

Turns a free-text question into a structured, unambiguous research question.

Compilation layer

Most questions arrive with a hidden decision inside them: who is being studied, what is being compared, what counts as an answer. The compiler separates those parts and marks what is still undefined instead of guessing. A question it cannot resolve comes back with the specific gap, not with a silent assumption.

Free-text question Parse & split scope Structured question Ambiguity flags
Input
{
  "question": "Does a pause before
   answering improve recall?"
}
Output
{
  "population": "adult volunteers",
  "intervention": "20 s pause",
  "outcome": "proportion correct",
  "ambiguities": ["pause length undefined"]
}
  • Ambiguity detection, with the gap named
  • Scope narrowing across population, comparison and timeframe
  • Input in more than one language, output in one schema
  • Every version of a question kept, none overwritten
02

Hypothesis Generator

Writes the hypothesis, its null and the condition that would count as failure.

Compilation layer

A hypothesis that cannot fail is not a hypothesis. This engine writes the alternative and the null together, states the direction of the expected effect, and defines the result that would count against it. The pair is shown for review before anything is locked.

Structured question Candidate hypotheses Null & success condition Human review
Input
{
  "outcome": "proportion correct",
  "comparison": "pause vs no pause"
}
Output
{
  "h1": "pause raises proportion correct",
  "h0": "no difference between conditions",
  "success": "95% interval excludes 0",
  "direction": "two-sided"
}
  • Null hypothesis written every time, not on request
  • Falsifiability check before the pair can be locked
  • Alternative hypotheses kept alongside the primary one
  • No lock without an explicit human approval
03

Experiment Designer

Chooses the design, the sample size and the stopping rule, with the assumptions shown.

Compilation layer

The designer proposes a design that fits the hypothesis: within-subject or between groups, blocking, randomisation order. It estimates the sample size from stated assumptions and writes them next to the number, so a reader can see what the estimate depends on. The stopping rule is fixed before data collection, and the whole protocol is exportable as a preregistration.

Hypothesis pair Design candidates Sample-size estimate Protocol draft
Input
{
  "h1": "pause raises proportion correct",
  "expected_effect": "small",
  "constraints": { "sessions": 1 }
}
Output
{
  "design": "within_subject",
  "n": 240,
  "alpha": 0.05,
  "power": 0.80,
  "stopping": "fixed n, no interim look",
  "assumptions": ["effect size small", "sd from pilot"]
}
  • Design templates for within-subject, between-group and crossover
  • Sample-size estimation with every assumption printed beside it
  • Randomisation and allocation plans generated, not improvised
  • One-click preregistration export
04

Variable & Measurement Engine

Defines what is measured, with what instrument, in what unit, and when.

Compilation layer

This engine turns a concept into something a device or a person can actually record: the variable definition, the unit, the instrument, the schedule and the rule for missing data. It checks that units agree across the protocol and that an instrument's metadata is present before a run can use it.

Construct Operationalise Bind instrument Validation checks
Input
{
  "construct": "recall accuracy",
  "instrument": "20-item test"
}
Output
{
  "variable": "proportion_correct",
  "unit": "ratio (0–1)",
  "schedule": "after each block",
  "missing_rule": "exclude block if < 18 items",
  "checks": ["unit consistent", "instrument metadata present"]
}
  • Unit consistency checked across every variable in the protocol
  • Instrument metadata required before a run can start
  • Measurement definitions versioned, with the old version kept
  • Missing-data rules declared in advance, not after the fact
05

Simulation Engine

Runs the protocol against synthetic data before anyone spends real effort on it.

Execution layer

Before a protocol is used for real, the simulation engine runs it against synthetic data generated from the stated assumptions. It reports how often the design would find an effect that is not there, and how often it would miss one that is. Simulated output is always labelled simulated and can never be mixed into an evidence bundle.

Protocol Assumption set 1,000 synthetic runs Sensitivity report
Input
{
  "protocol": "proto_v3",
  "runs": 1000,
  "assumptions": { "sd": 0.18, "effect": 0.0 }
}
Output
{
  "false_positive_rate": 0.048,
  "power_at_effect": 0.79,
  "label": "simulated",
  "can_enter_evidence": false
}
  • Assumption sweeps instead of one number
  • Error rates estimated under a stated model, never presented as fact
  • Simulated results walled off from observed data
  • Every simulated run reproducible from its seed
06

Causal Analysis Engine

Analyses under the locked plan and refuses causal language the design cannot support.

Execution layer

The engine selects an estimator that matches the design, checks its assumptions against the data, and reports the effect with an interval. It separates the preregistered analysis from anything exploratory, and it will not phrase a result as causal when the design is observational and the assumptions are not met.

Locked plan Diagnostics Estimate + interval Verdict draft
Input
{
  "plan": "paired_comparison",
  "data": "observations.csv",
  "alpha": 0.05
}
Output
{
  "effect": "+6.4 pp",
  "interval": [2.1, 10.7],
  "assumptions_met": true,
  "language": "association in this design",
  "exploratory": false
}
  • Estimator chosen from the design, not from habit
  • Assumption checks reported next to the estimate
  • Preregistered and exploratory analyses labelled separately
  • Causal wording withheld when the design does not earn it
07

Reproducibility Engine

Reruns the analysis in a clean environment and compares the result to the published one.

Execution layer

When a run closes, the engine packages the locked protocol, the raw observations, the analysis script, its library versions and the seed. It then reruns the analysis in a clean environment and compares the output hashes. If the numbers drift, the bundle says so before anything is published.

Run closed Bundle build Clean rerun Hash comparison
Input
{
  "run": "exp-0417",
  "script": "analysis/plan.py",
  "seed": 4192
}
Output
{
  "rerun": "clean environment",
  "result_hash": "b7d1…4c02",
  "published_hash": "b7d1…4c02",
  "status": "identical"
}
  • Deterministic rerun check on every published verdict
  • Environment fingerprint stored with the script
  • Drift raises a visible warning instead of a silent difference
  • Export in open formats: CSV, JSON, plain scripts
08

Evidence Ledger

An append-only record of claims, evidence, inferences and corrections.

Record layer

The ledger is where the record lives. A claim, the evidence behind it and the inference drawn from it are three linked entries, and a correction is a new entry rather than an edit. Nothing is deleted, so a verdict can be revised while the path that produced it stays readable.

Claim Evidence link Inference Correction entry
Input
{
  "claim": "c-2291",
  "evidence": ["e-8842", "e-8843"],
  "inference": "i-0312"
}
Output
{
  "entry": "l-1187",
  "type": "correction",
  "supersedes": "i-0312",
  "reason": "exclusion rule misapplied",
  "previous_kept": true
}
  • Append-only history with no destructive edits
  • Claims, evidence and inferences stored as separate entries
  • Corrections keep the version they replace
  • Public read view with the same content as the internal one

Public site preview

Start with a question.
Keep the evidence.

من السؤال إلى البروتوكول إلى الدليل.

These are the engines the platform is being built on. The workspace opens with the first research cohort.

Read the method

Preview build — the workspace and API are not open, and nothing on this page collects your data.

Preview

The experiment workspace opens with the first cohort.

This page is the public site preview. The protocol builder, the run workspace and the API are being finished before the first research cohort opens.

Nothing is collected here. When the workspace opens, this button starts an experiment directly.