Audit existing fixtures against quality criteria (litmus-sk2k)
Review the 7 existing fixtures against the quality criteria:
- Color variety (≥4 distinct ANSI colors)
- Instant recognition
- Fits 80x24
- Deterministic
- Self-contained
Fix any that don’t meet criteria. Known issues:
- htop fallback may not be deterministic (real top output varies)
- Some fixtures rely on tool color defaults which may vary by system
- shell-prompt and python-repl are simulated (printf/echo) — check if they still make sense as fixtures or should be replaced with real tool output
This can run in parallel with new fixture work.
Audit Results
| Fixture | Color | Recognition | 80x24 | Deterministic | Self-Contained | Action |
|---|---|---|---|---|---|---|
| git-diff | PASS | PASS | PASS | PASS | PASS | None |
| git-log | PASS | PASS | PASS | PASS | PASS | None |
| ls-color | PASS | PASS | PASS | FIXED | PASS | Set explicit LS_COLORS |
| cargo-build | PASS | PASS | PASS | PASS | PASS | None |
| shell-prompt | PASS | PASS | PASS | PASS | PASS | Simulated (OK) |
| python-repl | PASS | PASS | PASS | PASS | PASS | Simulated (OK) |
| htop | PASS | PASS | PASS | FIXED | PASS | Always use scripted output |
Summary of Changes
- htop: Removed non-deterministic
top -b -n 1path that produced varying process data. Now always uses scripted htop-like display with fixed processes and ANSI colors. - ls-color: Added explicit
LS_COLORSexport to ensure consistent file type coloring across systems. - shell-prompt, python-repl: Confirmed simulated approach is appropriate for reproducibility.
- 5 fixtures (git-diff, git-log, cargo-build, shell-prompt, python-repl) passed all criteria with no changes needed.