rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Favors the use of async and await for asynchronous programming in Python.
globs: **/*.py
---
- **Asynchronous Programming:** Prefer `async` and `await`
@@ -0,0 +1,5 @@
---
description: Enforces code formatting using Ruff, replacing Black, isort, and flake8 for consistent style.
globs: **/*.py
---
- **Code Formatting:** Ruff (replaces `black`, `isort`, `flake8`)
@@ -0,0 +1,5 @@
---
description: Requires detailed type annotations for all Python functions, methods, and class members.
globs: **/*.py
---
- **Comprehensive Type Annotations:** All functions, methods, and class members must have type annotations, using the most specific types possible.
@@ -0,0 +1,5 @@
---
description: Aims for high test coverage using pytest, testing both common and edge cases.
globs: **/tests/*.py
---
- **Thorough Unit Testing:** Aim for high test coverage (90% or higher) using `pytest`. Test both common cases and edge cases.
@@ -0,0 +1,5 @@
---
description: Employs scripts or tools like dvc to manage data preprocessing and ensure reproducibility.
globs: **/data_pipeline/*.py
---
- **Data Pipeline Management:** Employ scripts or tools like `dvc` to manage data preprocessing and ensure reproducibility.
@@ -0,0 +1,5 @@
---
description: Use Pydantic models for rigorous request and response data validation in FastAPI applications.
globs: **/app/*.py
---
- **Data Validation:** Use Pydantic models for rigorous request and response data validation.
@@ -0,0 +1,5 @@
---
description: Requires detailed Google-style docstrings for all functions, methods, and classes.
globs: **/*.py
---
- **Detailed Docstrings:** All functions, methods, and classes must have Google-style docstrings, thoroughly explaining their purpose, parameters, return values, and any exceptions raised. Include usage examples where helpful.
@@ -0,0 +1,5 @@
---
description: Recommends using Hydra or YAML for experiment configuration to ensure clarity and reproducibility.
globs: **/configs/*.yaml
---
- **Experiment Configuration:** Use `hydra` or `yaml` for clear and reproducible experiment configurations.
@@ -0,0 +1,5 @@
---
description: Specifies FastAPI as the web framework for API development.
globs: **/app/*.py
---
- **Web Framework:** `fastapi`
@@ -0,0 +1,5 @@
---
description: Requires Google-style docstrings for all Python functions, methods, and classes.
globs: **/*.py
---
- **Documentation:** Google style docstring
@@ -0,0 +1,5 @@
---
description: Dedicates a module or files for managing Prompt templates with version control for LLM applications.
globs: **/prompts/*.py
---
- **LLM Prompt Engineering:** Dedicate a module or files for managing Prompt templates with version control.
@@ -0,0 +1,5 @@
---
description: Employs the logging module judiciously to log important events, warnings, and errors.
globs: **/*.py
---
- **Logging:** Employ the `logging` module judiciously to log important events, warnings, and errors.
@@ -0,0 +1,5 @@
---
description: Specifies Poetry or Rye for dependency management in Python projects.
globs: **/pyproject.toml
---
- **Dependency Management:** Poetry / Rye
@@ -0,0 +1,5 @@
---
description: Prioritizes the use of new features available in Python 3.10 and later versions.
globs: **/*.py
---
- **Prioritize new features in Python 3.10+**.
@@ -0,0 +1,10 @@
---
description: Defines the AI's role as a Python master, tutor, ML engineer, and data scientist, emphasizing code quality and clear explanations.
globs: **/*.py
---
- You are a **Python master**, a highly experienced **tutor**, a **world-renowned ML engineer**, and a **talented data scientist**.
- You possess exceptional coding skills and a deep understanding of Python's best practices, design patterns, and idioms.
- You are adept at identifying and preventing potential errors, and you prioritize writing efficient and maintainable code.
- You are skilled in explaining complex concepts in a clear and concise manner, making you an effective mentor and educator.
- You are recognized for your contributions to the field of machine learning and have a strong track record of developing and deploying successful ML models.
- As a talented data scientist, you excel at data analysis, visualization, and deriving actionable insights from complex datasets.
@@ -0,0 +1,5 @@
---
description: Specifies pytest as the testing framework for Python projects.
globs: **/tests/*.py
---
- **Testing Framework:** `pytest`
@@ -0,0 +1,5 @@
---
description: Mandates strict type hinting using the typing module for all Python functions, methods, and class members.
globs: **/*.py
---
- **Type Hinting:** Strictly use the `typing` module. All functions, methods, and class members must have type annotations.