04 — How it works

From a question
to a result you can defend.

شرح رحلة التجربة من السؤال حتى إثبات النتيجة.

Seven stages, each with a gate: nothing moves forward until the thing before it is actually done. Step through them below, or play the run and watch it move.

This page describes the process FALAK is built around. The workspace is not open yet, and every example on this page is demonstration material, not a result.

  • Seven stages
  • One gate per stage
  • Protocol locked before data
  • Result ships with its bundle

01 The run

Seven stages. Seven gates.

A stage is not a screen you click through. It is a step that produces an artefact and a condition that has to hold before the next stage opens.

Click a stage, or use the arrow keys

Stage 01 · Intake

Submit a question

You start with the decision you are trying to make, in your own words. FALAK separates the parts of the question and returns the parts it could not resolve, rather than filling them in silently.

Interface

Who does what

You

  • State the decision the study has to support
  • Name the constraint that actually binds: time, budget, access, ethics
  • Say who the answer is about

FALAK

  • Separates population, comparison, outcome and timeframe
  • Flags every term that could be read two ways
  • Keeps each version of the question, none overwritten

Artefact

{
  "question": "Does a walk after lunch
   help afternoon focus?"
}
{
  "population": "office workers",
  "comparison": "no walk",
  "outcome": "sustained attention",
  "open": ["walk length", "test used"]
}

Gate to stage 02: every open term is either defined or explicitly accepted as a limitation. A question with an unresolved ambiguity does not advance.

02 Three kinds of result

Simulated, observed, or tested.

FALAK produces three different things, and they are not interchangeable. Every output carries the tier it belongs to, and the wording of a conclusion is limited by that tier.

Simulation

Simulated

The locked protocol run on synthetic data, so the error rates and the sample size can be checked before anything real happens.

Can support
Planning, power and false-positive estimates, sensitivity to the stated assumptions
Cannot support
Any claim about the world. A simulated result is a property of the model, not of reality

Labelled simulated · never enters the evidence record

Observational

Observed

Data recorded as it happened, with no assignment by the study. Useful, and easy to over-read.

Can support
Association, prevalence, a signal strong enough to justify a real test
Cannot support
Causal wording. Something else may be driving both the exposure and the outcome

Labelled observed · association only

Experiment

Experimental

Conditions assigned under a locked protocol, with a comparison group and a pre-specified analysis.

Can support
A causal claim inside the tested population and conditions, with its interval
Cannot support
Generalisation beyond those conditions without a replication

Labelled experimental · causal within tested conditions

What each tier lets you say

The same numbers can carry very different weight. FALAK stores the tier alongside the result, and the interface refuses causal wording a design cannot carry, rather than leaving it to the reader to remember which is which.

Simulation
Observational
Experimental

The bars describe what a tier can support in principle. They are not scores, and they say nothing about the quality of any particular study.

03 Worked example

One question, all seven stages.

The same question carried through the whole run, with the artefact each stage produces. Everything below is demonstration material written to show the shape of the output.

Demonstration run

Does a 25-minute walk after lunch improve afternoon sustained attention in office workers?

Within-subject · 60 days · one office · illustrative numbers

01

Question compiled Intake

"Afternoon focus" was the phrase that had to be resolved. FALAK split it into a population (desk workers at one site), a comparison (walk vs no walk on alternating days) and an outcome (hit rate on a ten-minute attention task), and returned two open terms: walk length and which task.

02

Hypothesis pair written Compilation

The alternative and the null were written together, with the falsifier fixed in advance: an interval that includes zero, or that runs in the opposite direction, counts against the claim.

03

Variables defined Compilation

Exposure, outcome, covariates and the missing-data rule. "Focus" is recorded as a proxy: hit rate on the task stands in for attention, and the record says so rather than treating the two as the same thing.

independent 25-min walk, after lunch dependent hit rate, 0–1, 10-min task, 14:00 controlled caffeine intake, meeting load missing day dropped if task under 6 min
04

Design locked Compilation

Alternating days, four weeks, no interim look. Sample size came from stated assumptions rather than a round number, and the protocol was hashed before the first day ran.

design within-subject, alternating days n 60 days (30 walk, 30 no-walk) assumptions baseline 0.62 · effect 0.04 · power 0.8 stopping fixed, no interim analysis hash sha256 3c9f…a71b · locked 02 Nov 2026
05

Safety and permissions checked Governance

This run touches people, so it needs an ethics reference, a written consent basis and a data-handling statement. The first check came back blocked: one site had no reference on file. Nothing ran until it was supplied.

06

Simulation first, then the real run Execution

A simulation reported the false-positive rate under the declared assumptions before any participant was enrolled. The real run then collected 58 of the planned 60 days, and the two missing days are in the record with their reason.

simulation false positive 5.2% under stated assumptions (simulated) real run 58 / 60 days · 2 deviations logged day 31 task outage · day 44 public holiday
07

Analysed, rerun, published Record

The pre-specified model produced an effect with its interval. The analysis was rerun in a clean environment and matched. The verdict shipped with the protocol, the raw data, the script and the limitations, so the numbers can be checked rather than believed.

effect +3.8 pp · interval 1.2 to 6.4 · n 58 tier experimental (within this site and season) rerun identical output hash bundle protocol · raw · script · environment · verdict

Demonstration material. The question, the numbers and the file contents above are invented to show the shape of a run. They are not a study, they did not happen, and they must not be cited as a finding.

Public site preview

Design your first
experiment.

كل سؤال يستحق تجربة.

The seven stages above are the process the workspace is being built around. It opens with the first research cohort.

See the engines

Preview build — the workspace is 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.