Commit Graph

66 Commits

Author SHA1 Message Date
Bruno Domingues
2f84d7ac20 SIENTIAPDE-1243: Update SonarQube Scan Action to v6 in quality-gate workflow. 2025-10-02 12:37:55 -03:00
Bruno Domingues
4285ddb59d SIENTIAPDE-1243: Improve versioning logic in quality gate and optimize workflow
This commit refactors the version calculation logic in the quality gate workflow to handle initial releases and improve accuracy. It also adds disk space cleanup to the workflow and uses --no-cache-dir when installing dependencies to prevent caching issues.
2025-10-02 12:18:52 -03:00
Bruno Domingues
9a1355fe9b SIENTIAPDE-1243: Add Temporal namespace setup guide to README and improve validation script. 2025-10-02 10:08:02 -03:00
Bruno Domingues
8f4ac3284e SIENTIAPDE-1243: Remove Redis dependency and related configurations. 2025-10-01 18:16:21 -03:00
Bruno Domingues
c12973410c SIENTIAPDE-1243: Add .bandit/ and validate.txt to .gitignore to exclude code quality tool cache files. 2025-10-01 18:02:39 -03:00
Bruno Domingues
07e699aae2 SIENTIAPDE-1243: Fix: Corrected dataframe inference and mlflow repository tests, and updated activity method calls in format and export prediction tests. 2025-10-01 17:54:02 -03:00
Bruno Domingues
ef3c2a0c8a SIENTIAPDE-1243: Add type ignores and fix datetime index formatting in gates and model repository. 2025-10-01 17:44:45 -03:00
Bruno Domingues
8bcee4c6a0 SIENTIAPDE-1243: Fix: Resolved mypy errors and added pandas stubs. Addressed type hinting issues and suppressed mypy warnings to improve code quality and maintainability. 2025-10-01 17:36:47 -03:00
Bruno Domingues
dfc190c818 SIENTIAPDE-1243: Refactor and enhance model manager activities and workflows
This commit includes several changes:

- Reorganized imports and class inheritance in activities.py, gates.py and mlflow.py for better readability and maintainability.
- Improved error handling and logging in gates.py and mlflow.py.
- Added input validation and filtering in gates.py to ensure data quality.
- Enhanced prediction formatting and storage policy management in gates.py.
- Updated metrics.py to use consistent naming conventions and labels.
- Refactored connectors_config.py to use type hints and improve code clarity.
- Updated conditional and MLFlow filters for better data quality checks.
- Improved model repository logic for retraining and updating models.
- Enhanced worker.py to include SDK metrics and improved error handling.
- Refactored workflows for better modularity and error handling.
- Updated tests to reflect the changes and improve test coverage.
2025-10-01 17:28:57 -03:00
Bruno Domingues
b102f79087 SIENTIAPDE-1243: Remove OPC server integration and add code quality tools.
This commit removes the OPC server integration from the Model Manager, including related activities, repositories, metrics, and configuration. It also adds code quality tools such as Ruff (linting/formatting), mypy (type checking), and Bandit (security analysis) along with a validation script and CI/CD integration for automated code validation. The README has been updated to reflect these changes.
2025-10-01 16:25:08 -03:00
Bruno Domingues
bc4d98f78d SIENTIAPDE-1243: Rename project from 'laborious' to 'model-manager' across codebase and configuration. This includes updating project names in environment variables, Makefiles, README, metrics, and Helm chart values. 2025-10-01 14:41:24 -03:00
Bruno Domingues
aba4a3f1a5 SIENTIAPDE-1243: Refactor: Rename 'laborious' package to 'model_manager'
This commit renames the 'laborious' package to 'model_manager' across the entire project. This includes renaming directories, modules, references in code, configuration files, and documentation to reflect the new package name. This change improves clarity and consistency within the project.
2025-10-01 14:29:24 -03:00
Bruno Domingues
e318b91c63 SIENTIAPDE-1243: Update README with correct repository name and installation instructions. 2025-10-01 14:11:36 -03:00
Bruno Domingues
e83dd9d3c2 SIENTIAPDE-1243: Implement automatic version calculation and branch validation in quality gate workflow, and update SonarQube project properties. (+190 -10 lines) 2025-10-01 11:41:24 -03:00
Bruno Domingues
93d0849c80 SIENTIAPDE-1243: Initial commit of the model manager project, adding core files and configurations.
This commit introduces the initial project structure, including:
- .env.example: Example environment configuration.
- .github/workflows/quality-gate.yml: CI workflow for quality checks.
- .gitignore: Specifies intentionally untracked files that Git should ignore.
- Makefile: Automation of tasks like docker builds.
- README.md: Project documentation.
- Source code for model management, activities, utils, worker and workflows.
- Test suite.
- Dockerfile for the simulator.
- sonar-project.properties: SonarQube configuration file.
- values.yaml: Helm chart values for deployment.
2025-09-30 14:55:38 -03:00
Bruno Domingues
e79b35a1fb Initial commit 2025-09-30 13:38:26 -03:00