Commit Graph

4 Commits

Author SHA1 Message Date
LearningCircuit
c8dc94feb1 fix: Major pre-commit hook compliance improvements
- Replace standard logging with loguru across codebase (50+ files)
- Fix logger.exception usage in exception handlers (100+ fixes)
- Update environment variable access to use SettingsManager
- Improve pre-commit hooks to handle legitimate use cases
- Fix formatting and linting issues

Reduced custom code check violations from 268 to 38 (86% reduction)
Reduced env var check violations from 73 to 57 (22% reduction)
2025-07-16 00:33:02 +02:00
Daniel Petti
0a488db081 Install Ruff and fix all the Ruff errors. (#428)
* Install Ruff and fix all the Ruff errors.

* Fix pre-commit failures.

* Potential fix for code scanning alert no. 104: Information exposure through an exception

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Fix pre-commit failures.

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-05 16:03:01 -04:00
LearningCircuit
0135248f88 fix: correct import paths and output directories
- Fix relative imports in benchmarks/cli.py to use siblings (.optimization) not parents (..benchmarks)
- Update all optimization and benchmark scripts to use structured output directories
- Ensure all examples create output in examples/{benchmarks,optimization}/results/
- Update API module to use os.path.join for path construction
- Add missing plotly and kaleido dependencies for visualization
- Update .gitignore to exclude results directories
2025-05-14 09:25:12 -04:00
LearningCircuit
aa5531a29a Add benchmark module components and examples
- Add benchmark CLI module with parameter optimization, comparison and profiling functionality
- Add efficiency module for speed and resource monitoring
- Add comparison module for evaluating different configurations
- Add example scripts for benchmarks and optimization
- Updated import references from 'benchmarking' to 'benchmarks' module
2025-05-14 09:24:52 -04:00