soma.cell

Programs: data

17 verified Soma programs in the data domain. Each page shows the source and what soma check, soma test, soma verify and soma run printed on it.

ProgramLinesUses
A/B test rollup: per-variant conversions and lift over control60pipes (|>), lambdas
Market-basket analysis: transactions of (order, product) lines61pipes (|>)
Cohort analysis: bucket users by signup month, then measure how many were still active in a later month59pipes (|>), lambdas
CSV-shaped transform: clean -> derive -> project51pipes (|>), lambdas
Deduplication of an event stream with distinct()52pipes (|>)
Expense report over a List<Map> of line items62pipes (|>), lambdas
Conversion funnel: count distinct users reaching each stage, then compute step-to-step conversion rates59pipes (|>)
group_by returns a Map<String, List>; iterate its entries to compute a custom reduction the built-in agg doesn't cover (here: weighted average)58pipes (|>), lambdas
Relational inner_join: enrich order rows with customer details, then roll up spend per customer tier57pipes (|>), match
Game leaderboard: rank players by score, award medals, compute gaps60pipes (|>)
left_join keeps every left row even when the right side has no match54pipes (|>), lambdas
Web access log analysis over List<Map> entries59pipes (|>)
Pipeline over typed Record literals (Name { field: v }) instead of map()46pipes (|>)
Sales report: a List<Map> of orders rolled up by region and category54pipes (|>)
Streaming ingest pipeline: push records into an ephemeral buffer slot, then aggregate the buffer in the same handler55pipes (|>)
Survey scoring: normalize raw responses, roll up per question, and flag low-confidence questions50pipes (|>), lambdas
Top-N and bottom-N reporting over a movie ratings table59pipes (|>)