{{-- resources/views/data-sampler/simple-random.blade.php --}} {{-- Included from index.blade.php when activeSampler === 'simple_random' --}}
{{-- ── Header Bar ─────────────────────────────────────────────────────── --}}
Simple Random Sample
n=385
{{-- ── TWO-COLUMN GRID ─────────────────────────────────────────────────── --}} {{-- ── LEFT COLUMN ─────────────────────────────────────────────────── --}} {{-- Upload Dataset Card --}}

Upload Dataset

{{-- Hidden file input --}} {{-- Empty state --}}

Drop your CSV here

or click to browse

{{-- File uploaded state --}}

rows, columns •

{{-- Detected Columns — shown only when columns exist --}}

Detected Columns

{{-- Default columns shown when no file uploaded --}}

Detected Columns

@foreach(['submission_id', 'submission_uuid', 'district', 'starttime', 'endtime', 'household_code'] as $col) {{ $col }} @endforeach
{{-- End Upload Dataset Card --}} {{-- ── CLUSTER SETTINGS ────────────────────────────────────────────────── --}}
{{-- Header Row --}}

Cluster Settings

{{-- Auto / Manual toggle --}}
{{-- Two inputs side by side --}}
{{-- Cluster Column --}}
{{-- Min Rows Per Cluster --}}
{{-- Max Clusters To Pick — full width --}}
{{-- Helper text --}}

Clusters with fewer than the minimum rows are excluded. Then clusters are randomly selected and sampled proportionally.

{{-- Load & Preview Clusters button --}}
{{-- ── END CLUSTER SETTINGS ────────────────────────────────────────────── --}} {{-- ── RIGHT COLUMN: Run Configurations ───────────────────────────── --}}

Run Configurations

{{-- UUID/ID Column --}}
{{-- Run By --}}
{{-- Output Format --}}
{{-- Random Seed --}}
{{-- Ready to Download --}}
{{-- ── END RIGHT COLUMN ────────────────────────────────────────────── --}}
{{-- ── END x-data root ─────────────────────────────────────────────────────── --}}