Generated: 2025-08-30 Ruchy Version: v1.27.3
Comprehensive verification of all 5 quality tools (test, coverage, lint, score, provability) against the Ruchy book examples. Results show mixed maturity levels across tools.
ruchy test [file|directory]- Status: Production ready
- Results: 19/19 TDD examples pass tests (100%)
- Features:
- Single file testing ✅
- Directory/project-wide testing ✅
- Parallel execution support ✅
- Coverage integration ✅
- Issues: None
ruchy test --coverage [file] --threshold [0-100]- Status: Production ready (fixed in v1.27.3)
- Results:
- 100% line coverage on all 19 examples
- 89.4% overall coverage (branch complexity in 2 examples)
- Features: Line, function, and branch coverage tracking
- Issues: None (previous v1.27.0-1.27.2 regression fixed)
ruchy lint [--strict] [file] [--all]- Status: Critical bug - variable usage tracking broken
- Results:
- 7/19 pass (36.8%) - only examples without variables
- 12/19 false positives (63.2%) - all variable usage marked as unused
- Features:
- Single file linting ✅
- Project-wide linting ✅ (
--allflag) - Strict mode ✅
- Bug: GitHub Issue #8 - Variables in println, f-strings, and expressions marked unused
- Workaround: Ignore "unused variable" warnings
ruchy score [file] # FILE ONLY- Status: Works but has significant limitations
- Results:
- Average score: 0.85/1.0 (85%)
- 12/19 excellent (≥0.85)
- 7/19 good (0.70-0.84)
- 0/19 poor (<0.70)
- Features:
- Single file scoring ✅
- Project-wide scoring ❌ ("Is a directory" error)
- Depth options (fast/standard/deep) ✅
- Issues:
- Terrible code (26 params, 8-level nesting) scores 0.84/1.0
- Good code scores 0.95/1.0 (only 0.11 difference)
- No directory/project support
- Missing complexity/maintainability analysis
- Bugs: GitHub Issue #9 - Score tool too lenient + no project support
ruchy provability [file] # FILE ONLY- Status: Basic implementation only
- Results: All examples show 0/100 score
- Features:
- Single file analysis ✅
- Project-wide analysis ❌ (no directory support)
- Detects unsafe operations ✅
- Verifies function purity ✅
- Checks termination ✅
- Issues:
- Score always 0/100 - unclear what would increase it
- No project-wide analysis capability
| Score Range | Test | Coverage | Lint | Score | Provability |
|---|---|---|---|---|---|
| 100% | 19 | 17 | 0 | 0 | 0 |
| 90-99% | 0 | 2 | 0 | 12 | 0 |
| 70-89% | 0 | 0 | 0 | 7 | 0 |
| <70% | 0 | 0 | 7* | 0 | 19 |
*Lint shows false positives only
ch01-02-hello-world_example_1.ruchy:
Test: ✅ Pass
Coverage: ✅ 100%
Lint: ✅ Clean
Score: ⚠️ 0.77/1.0
Provability: ❌ 0/100
ch03-00-functions_example_6.ruchy:
Test: ✅ Pass
Coverage: ✅ 90% (branches)
Lint: ✅ Clean
Score: ⚠️ 0.83/1.0
Provability: ❌ 0/100
| Tool | Single File | Project-Wide | Actionable | Reliability | Recommendation |
|---|---|---|---|---|---|
| Test | ✅ | ✅ | ✅ | 100% | Use always |
| Coverage | ✅ | ✅ | ✅ | 100% | Use always |
| Lint | ✅ | ✅ (--all) |
❌* | 0% | Wait for fix |
| Score | ✅ | ❌ | ❌** | 100% | File-only use |
| Provability | ✅ | ❌ | ❌*** | 100% | Experimental |
*Currently broken for variable tracking
**Too lenient - terrible code gets high scores (GitHub #9)
***Limited to basic checks, always returns 0
- MANDATE:
ruchy test- All examples must pass ✅ - MANDATE:
ruchy test --coverage- 100% line coverage required ✅ - CAUTION:
ruchy score- Shows variation but too lenient on bad code - SKIP:
ruchy lint- Wait for Issue #8 fix (broken variable tracking) - SKIP:
ruchy provability- Always returns 0, not meaningful yet
- Fix lint variable tracking (GitHub #8) - Critical
- Fix score tool complexity analysis (GitHub #9) - Medium
- Enhance provability scoring to be meaningful
- Add branch coverage requirements once simplified
- Integrate working tools (test, coverage) into CI/CD pipeline
The Ruchy book can confidently use:
- ✅ Test tool for correctness (100% reliable)
- ✅ Coverage tool for completeness (100% reliable)
The book should use with caution:
⚠️ Score tool for quality trends (shows variation but too lenient)
The book should wait for fixes before using:
- ❌ Lint tool (completely broken variable tracking - GitHub #8)
- ❌ Provability tool (always returns 0, not meaningful)
Quality Status: 2/5 tools fully operational, 1/5 partially useful, 2/5 broken/incomplete. Recommendation: Use test + coverage for mandatory quality gates. Score tool for trends only.