How aamir09/ftzard works
Main Components
• Environment & Deployment:
• The Dockerfile shows that the project is containerized.
• Pixi is used for environment activation and dependency isolation.
• Configuration:
• The “ftzard/config” folder contains YAML configuration files (including Dagster job configurations and Hydra configurations).
• Pipeline/Orchestration:
• The “ftzard/pipeline” directory holds the core pipeline logic. Within it, you have notebooks for each step (e.g., data cleaning, preprocessing, inference, hyperparameter tuning, sampling, retraining) and a central “pipeline.py” file.
• Dagster configuration files (in ftzard/config/dagster) define each step’s execution details.
• Experiment Tracking:
• MLflow is integrated, which logs runs for each experiment step. The MLflow database (mlflow.db) in the notebooks folder and the MLflow UI tasks in pixi are examples of this.
• Data Versioning:
• Although DVC-related files have been cleaned out for a new setup, the README explains that DVC is used to track data artifacts and link them with Git commits.
• Utility Modules:
• The “ftzard/utils” folder includes helper functions (e.g., common utilities, custom Dagster I/O managers, and MLflow integration routines).
Architectural Patterns and Design Principles
• Make it clear that configuration files (managed by Hydra and stored in ftzard/config) feed both Dagster orchestration and overall system parameters.
• That each pipeline step is responsible for executing complex tasks (like data cleaning or model training) and that results (artifacts, metadata) are logged and passed downstream.
• Bidirectional interaction between pipeline processing and external services like MLflow for logging and monitoring, and Git/DVC for version control.