Skip to content

v3.19.29 - Quality & Test Coverage Release

Choose a tag to compare

@noahgift noahgift released this 29 Oct 18:08
· 2217 commits to main since this release

πŸŽ‰ v3.19.29 - Quality & Test Coverage Release

Highlights

DEPYLER-0307 Phase 2: Built-in Function Quick Wins βœ… COMPLETE

  • ✨ Example 13: 100% compilation success (28/28 functions)
  • πŸ“ˆ Success rate: 50% β†’ 100% (+50 percentage points!)
  • πŸ”§ Fixed ALL 24 compilation errors
  • ⏱️ Total time: ~6 hours

v3.19.1 Phase 1: Test Coverage Improvements βœ… COMPLETE

  • πŸ“Š Coverage: 58.77% β†’ 60.92% (+2.15%)
  • βœ… 24 new integration tests added
  • πŸ“ +838 lines covered across codebase
  • πŸ§ͺ Test categories: Set/string/dict/list methods + advanced features

Key Improvements

Built-in Functions Fixed (11 Fixes)

  1. βœ… all()/any() with generator expressions
  2. βœ… range() iterator in sum()
  3. βœ… max()/min() with 2 arguments
  4. βœ… Range precedence in sum()
  5. βœ… Variable naming in for loops
  6. βœ… int(str) casting
  7. βœ… enumerate() usize casting
  8. βœ… zip() tuple indexing
  9. βœ… Generator expression references
  10. βœ… Use-after-move in indexing

Test Coverage Expansion

  • Set operations: add(), remove(), frozenset()
  • String methods: lower(), split(), replace(), strip(), starts_with(), ends_with()
  • Dict methods: keys(), values(), items()
  • List methods: extend(), remove(), pop(), clear()
  • Advanced features: lambdas, ternary, comprehensions, attribute access

Technical Details

Files Modified: 6 files, 1,286 insertions, 19 deletions
Commits: 2 (92c4cd7, a31f6c7)
Quality Gates: All passing βœ…

  • TDG Grade: β‰₯A-
  • Complexity: Within limits
  • SATD: 0 violations
  • Tests: 453 passed, 46 integration tests

Installation

cargo install depyler --version 3.19.29

Or add to your Cargo.toml:

[dependencies]
depyler-core = "3.19.29"

What's Next

v3.19.2: Quality Improvements

  • Goal: Reduce complexity violations from 76 β†’ ≀40
  • Target: Low-hanging fruit (complexity 11-15)
  • Estimated: 6-8 hours

Full Changelog: https://github.com/paiml/depyler/blob/main/CHANGELOG.md


πŸ€– Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com