ASCII visualizer for brain evolution simulation results. Reads a CSV file with metrics from all scenarios and displays charts or a table.
tri-sim-plot --view=MODE [--input=PATH]| Mode | Description |
|---|---|
--view summary |
Table of final metrics sorted by PPL |
--view ppl |
PPL evolution charts for all scenarios |
--view diversity |
Diversity index trends over time |
--view alive |
Worker survival curves |
The file simulation_results.csv contains the following columns (minimum required for summary to work):
| Column | Description |
|---|---|
| step | Simulation step number |
| scenario_id | Scenario identifier (S1-S15) |
| ppl | Model perplexity |
| diversity | Diversity index (0.0-0.82 = low, 1.0 = high) |
| alive | Number of alive workers |
| energy | Energy spent (alive × step) |
| kill_threshold | Worker kill threshold |
| crash_rate | Worker crash rate |
| byzantine_rate | Byzantine worker ratio |
| obj_ppl | PPL objective weights |
| obj_div | Diversity objective weights |
| obj_weights | All objective weights (JSON array) |
Note: The file is generated by the simulator; all columns are required, but column order may vary.
| Category | Color |
|---|---|
| Baseline | Green (default) |
| Sacred | Purple |
| dePIN | Yellow |
| Wide | Cyan |
| Mixed | Blue |
tri-sim-plot --view=summary --input=/tmp/simulation_results.csv
tri-sim-plot --view=ppl
tri-sim-plot --view=diversity
tri-sim-plot --view=alive- Minimum 15 scenarios required (S1-S15)
- Maximum chart size — 60×20 characters
- Binary supports all 4 visualization modes
- Pure Zig — no external dependencies