Skip to content

CuraFrame v1.5.0 — Release Notes

Choose a tag to compare

@dfeen87 dfeen87 released this 13 Feb 15:06
· 140 commits to main since this release
ee4862c

Summary

This release focuses on resolving all identified bugs, improving code quality, and strengthening repository hygiene across the CuraFrame application. All fixes were implemented with minimal, targeted changes to preserve existing behavior and maintain code clarity.


Critical Bug Fixed

Streamlit Application Syntax Error

A major syntax error in apps/console_streamlit/app.py was caused by Markdown documentation being accidentally included as Python code after line 511. This prevented the Streamlit console application from running.
The invalid block has been removed, restoring full application functionality.


Code Quality Improvements

Unused Imports Removed

Unused imports were removed from the following files:

  • cura_frame/core.pyABC, abstractmethod
  • cura_frame/constraints_library.pyselectivity_satisfied
  • apps/console_streamlit/app.pyDict, Any
  • launch_console.pyos
  • tests/test_core.pywithin_range

Unused Variable Cleanup

In probabilistic_satisfaction (within cura_frame/comparators.py), the unused variable nominal was replaced with _ to indicate intentional non‑use.

Logging Performance Improvements

Six logging statements in cura_frame/core.py were converted from f‑strings to lazy % formatting to avoid unnecessary string interpolation.

Subprocess Error Handling

In launch_console.py, the subprocess.run() call was updated to include check=False for explicit error‑handling behavior.

Code Style and Formatting

Trailing whitespace was removed from all Python files to ensure full PEP 8 compliance.

Repository Hygiene

A .gitignore file was added to exclude build artifacts, cache directories, and other non‑source files.


Verification Results

  • Tests: 37/37 passing
  • Flake8: 0 errors
  • Pylint: 10.00/10
  • Code Review: No issues found
  • Security Scan (CodeQL): 0 alerts

All validation steps confirm that the codebase is stable, clean, and free of security vulnerabilities.


Files Modified

A total of 9 files were updated across 3 commits:

  • .gitignore (created)
  • cura_frame/core.py
  • cura_frame/comparators.py
  • cura_frame/constraints_library.py
  • apps/console_streamlit/app.py
  • apps/__init__.py
  • apps/__main__.py
  • launch_console.py
  • tests/test_core.py