From 3f3ea13b0cb50ad32e9ceaea638feb578e32ff9a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2026 16:34:18 +0000 Subject: [PATCH] fix: Resolve syntax and indentation errors causing test suite failures - Fixed indentation error in `tests/unit/engine/services/test_config_analyzer.py` on line 543 inside the `TestMatryoshkaImpactEstimation` class. - Fixed an unmatched parentheses error in `tests/unit/engine/services/test_config_analyzer.py` on line 203. - Refactored `AsymmetricEmbeddingProviderSettings` in `src/codeweaver/providers/config/categories/embedding.py` to fix overlapping/duplicate method definitions for `dimension_tuple`, `datatype_tuple`, `validate_model_compatibility`, `dimension`, and `datatype`. - Fixed a syntax error introduced during a previous unmerged PR inside `src/codeweaver/providers/config/categories/embedding.py` on line 851. Note: - The tests under `tests/unit/cli/test_config_command.py` still exhibit failures due to `CodeWeaverEngineSettings` mock behavior completely bypassing the actual validation exception `pydantic` would raise (`ValidationError`). This behavior makes `test_invalid_provider_rejected` fail, and should be evaluated further. Co-authored-by: bashandbone <89049923+bashandbone@users.noreply.github.com>