What this is
18JU began as a marketplace notebook for juice ideas and business operations. This page keeps that spirit but ships a real, inspectable tool: a deterministic developer diagnostic that models a five-stage juice pipeline (harvest → press → pasteurise → bottle → distribute), evaluates quality-control rules against sample events, and exports verifiable JSON/CSV receipts.
Everything runs client-side. The math is pure ES2022, seeded, and reproducible — same inputs, same outputs, every time.
Interactive simulator
1 · Preset
2 · Configuration
3 · Deterministic results
- Latency
- —
- Throughput
- —
- Units / hour
- —
- Cost / unit
- —
- QC flagged
- —
- Pass rate
- —
4 · Latency / throughput / cost tradeoff
Each bubble is a preset evaluated at the current slider values' family — bubble area ∝ cost per unit, x = latency (ms), y = throughput (units/sec).
5 · QC rule evaluator
Sample events are scored by the deterministic rule set below. First match wins on ties; negative scores pass.
| Rule | Field | Op | Value | Score |
|---|
Decisions
6 · Compliance checklist
Export receipt
Run the simulator to generate a SHA-256 spec receipt.
Reference: stage model
| Stage | Base latency (ms) | Capacity (units/s) | Cost (USD/unit) |
|---|
Methodology notes
- Latency = Σ stage baseMs / parallel gain, amplified by retries, plus a 35 ms cold-chain penalty.
- Throughput = bottleneck capacity × √workers × cold-chain dampening / batch-size dampening.
- Cost = Σ stage costs × retry, worker, cold-chain and batch-size factors.
- QC rules are evaluated in declaration order; numeric fields are type-checked before comparison.
FAQ
Is any data sent anywhere?
No. The simulator is 100% client-side; there is no backend, no analytics, no uploads.
Why "18JU"?
The domain began as a juice marketplace notebook (Wayback captures 2011–2025). This workbench keeps the name and reframes it as a deterministic developer tool.
Can I trust the SHA-256 receipt?
The receipt hashes the canonical JSON export of your current configuration and results. Re-run the same inputs and you get the same hash.
Is this production software?
It is a deterministic reference simulator for diagnostics and education — not a billing or inventory system.