# Fuel Efficiency Path Challenge
## Overview
Welcome to the Fuel Efficiency Path Challenge! In this coding exercise, you are tasked with implementing a series of entities and algorithms to map the most fuel-efficient path through various terrains. This challenge is designed to assess your skills in algorithm implementation, object-oriented programming, and problem-solving.
**NOTE**: Do NOT modify the tests in the `tests` folder. These tests are used to verify your code and should not be changed.
## Solution Submission
Ensure your submission is zipped/compressed, does NOT change the tests, AND includes your `.git` file.
## Challenge Description
Your mission involves two key components: `entities` and `algorithms`. These are represented as two separate folders in the repository. Each folder contains files that define the structure and requirements of components you need to implement.
### Entities
The `entities` folder contains definitions for different objects in a grid that represents various terrains. Your task is to implement the functionality of these entities. The entities include:
- `DownHill`
- `Valley`
- `Position`
- `UpHill`
- `Node`
- `Plateau`
Each of these entities plays a role in the simulation of a vehicle moving through different terrains, affecting its fuel efficiency.
### Algorithms
The `algorithms` folder includes files that describe algorithms for pathfinding. These algorithms will be used to determine the most efficient path through the grid considering the different terrains. The algorithms you need to implement are:
- `Dijkstra`
- `PathFinding`
- `AStar`
You will need to understand and implement these algorithms to find the optimal path in terms of fuel efficiency.
## Testing
To assist you in this challenge, a suite of tests is provided. These tests will guide you through the implementation process and ensure your code meets the specified requirements. The tests can be found in the `tests` folder.
# CI/CD Implementation Requirements
As part of this project, you are required to set up a Continuous Integration and Continuous Deployment (CI/CD) pipeline using GitHub Actions. This pipeline will automate the testing and deployment of your code.
## Workflow Steps
1. **Testing with pytest**: Upon each push or pull request to the main branch, the CI pipeline should automatically execute tests using pytest. This ensures that all new changes are verified before deployment.
2. **Building the Package**: If the tests pass, the next step is to build the Python package. This process involves preparing the package for distribution, ensuring that it is ready for deployment to PyPI.
3. **Creating a GitHub Workflow Artifact**: After successful deployment to PyPI, create a downloadable artifact of your package within the GitHub Workflow. This artifact should be accessible from the GitHub Actions run, allowing users to directly download the package version from GitHub.
## Good Luck!
We look forward to seeing your innovative solutions to this unique and challenging problem. Good luck, and happy coding!
# Rubric for Fuel Efficiency Path Challenge
### Total Points: 100
#### 1. Implementation of Entities (30 points)
- `DownHill` Implementation: 5 points
- `Valley` Implementation: 5 points
- `Position` Implementation: 5 points
- `UpHill` Implementation: 5 points
- `Node` Implementation: 5 points
- `Plateau` Implementation: 5 points
#### 2. Implementation of Algorithms (30 points)
- `Dijkstra` Algorithm Implementation: 15 points
- `PathFinding` Algorithm Implementation: 15 points
#### 3. Code Quality and Style (10 points)
- Readability: 5 points
- Adherence to coding standards/conventions: 5 points
#### 4. Testing and Test Coverage (20 points)
- Comprehensive test cases: 10 points
- Test coverage (measured using a tool like `coverage.py`): 10 points
#### 5. CI/CD Pipeline Implementation (10 points)
- Correct setup of GitHub Actions for pytest: 3 points
- Successful building and packaging of the Python package: 3 points
- Creation of a downloadable GitHub Workflow artifact: 4 points
Raw data
{
"_id": null,
"home_page": "https://github.com/arthurcbaia/desafio-bees",
"name": "fuel-efficiency-pathfinder",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Arthur",
"author_email": "arthurceminbaia@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5d/a6/6eb791350a5ae1324d2bb758ff2e163eb82055d15fd12826e778fc19212a/fuel_efficiency_pathfinder-0.0.1.tar.gz",
"platform": null,
"description": "# Fuel Efficiency Path Challenge\n\n## Overview\n\nWelcome to the Fuel Efficiency Path Challenge! In this coding exercise, you are tasked with implementing a series of entities and algorithms to map the most fuel-efficient path through various terrains. This challenge is designed to assess your skills in algorithm implementation, object-oriented programming, and problem-solving.\n\n**NOTE**: Do NOT modify the tests in the `tests` folder. These tests are used to verify your code and should not be changed. \n\n## Solution Submission\nEnsure your submission is zipped/compressed, does NOT change the tests, AND includes your `.git` file.\n\n## Challenge Description\n\nYour mission involves two key components: `entities` and `algorithms`. These are represented as two separate folders in the repository. Each folder contains files that define the structure and requirements of components you need to implement.\n\n### Entities\n\nThe `entities` folder contains definitions for different objects in a grid that represents various terrains. Your task is to implement the functionality of these entities. The entities include:\n\n- `DownHill`\n- `Valley`\n- `Position`\n- `UpHill`\n- `Node`\n- `Plateau`\n\nEach of these entities plays a role in the simulation of a vehicle moving through different terrains, affecting its fuel efficiency.\n\n### Algorithms\n\nThe `algorithms` folder includes files that describe algorithms for pathfinding. These algorithms will be used to determine the most efficient path through the grid considering the different terrains. The algorithms you need to implement are:\n\n- `Dijkstra`\n- `PathFinding`\n- `AStar`\n\nYou will need to understand and implement these algorithms to find the optimal path in terms of fuel efficiency.\n\n## Testing\n\nTo assist you in this challenge, a suite of tests is provided. These tests will guide you through the implementation process and ensure your code meets the specified requirements. The tests can be found in the `tests` folder.\n\n# CI/CD Implementation Requirements\n\nAs part of this project, you are required to set up a Continuous Integration and Continuous Deployment (CI/CD) pipeline using GitHub Actions. This pipeline will automate the testing and deployment of your code.\n\n## Workflow Steps\n\n1. **Testing with pytest**: Upon each push or pull request to the main branch, the CI pipeline should automatically execute tests using pytest. This ensures that all new changes are verified before deployment.\n\n2. **Building the Package**: If the tests pass, the next step is to build the Python package. This process involves preparing the package for distribution, ensuring that it is ready for deployment to PyPI.\n\n3. **Creating a GitHub Workflow Artifact**: After successful deployment to PyPI, create a downloadable artifact of your package within the GitHub Workflow. This artifact should be accessible from the GitHub Actions run, allowing users to directly download the package version from GitHub.\n\n## Good Luck!\n\nWe look forward to seeing your innovative solutions to this unique and challenging problem. Good luck, and happy coding!\n\n# Rubric for Fuel Efficiency Path Challenge\n\n### Total Points: 100\n\n#### 1. Implementation of Entities (30 points)\n - `DownHill` Implementation: 5 points\n - `Valley` Implementation: 5 points\n - `Position` Implementation: 5 points\n - `UpHill` Implementation: 5 points\n - `Node` Implementation: 5 points\n - `Plateau` Implementation: 5 points\n\n#### 2. Implementation of Algorithms (30 points)\n - `Dijkstra` Algorithm Implementation: 15 points\n - `PathFinding` Algorithm Implementation: 15 points\n\n#### 3. Code Quality and Style (10 points)\n - Readability: 5 points\n - Adherence to coding standards/conventions: 5 points\n\n#### 4. Testing and Test Coverage (20 points)\n - Comprehensive test cases: 10 points\n - Test coverage (measured using a tool like `coverage.py`): 10 points\n\n#### 5. CI/CD Pipeline Implementation (10 points)\n - Correct setup of GitHub Actions for pytest: 3 points\n - Successful building and packaging of the Python package: 3 points\n - Creation of a downloadable GitHub Workflow artifact: 4 points\n",
"bugtrack_url": null,
"license": null,
"summary": "A package for finding fuel-efficient paths",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/arthurcbaia/desafio-bees"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "beff92c1804a78a82f451536371f14182de2f0aae066b104982dbce20c7a616d",
"md5": "4eaa0196bca0be6cddb8569b2b85cf90",
"sha256": "ae9adaeb925a77c09972835e4efa57b32976aedd856f17b4b34176ae129a771d"
},
"downloads": -1,
"filename": "fuel_efficiency_pathfinder-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4eaa0196bca0be6cddb8569b2b85cf90",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17444,
"upload_time": "2024-08-07T00:52:54",
"upload_time_iso_8601": "2024-08-07T00:52:54.189315Z",
"url": "https://files.pythonhosted.org/packages/be/ff/92c1804a78a82f451536371f14182de2f0aae066b104982dbce20c7a616d/fuel_efficiency_pathfinder-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5da66eb791350a5ae1324d2bb758ff2e163eb82055d15fd12826e778fc19212a",
"md5": "f9eb9f8049c57054b6a9933a64721651",
"sha256": "1a3ea5232cf2d5308eb66a405ccd97d65c0f9fd0b8d85361155be76e37567071"
},
"downloads": -1,
"filename": "fuel_efficiency_pathfinder-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f9eb9f8049c57054b6a9933a64721651",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12197,
"upload_time": "2024-08-07T00:52:55",
"upload_time_iso_8601": "2024-08-07T00:52:55.354888Z",
"url": "https://files.pythonhosted.org/packages/5d/a6/6eb791350a5ae1324d2bb758ff2e163eb82055d15fd12826e778fc19212a/fuel_efficiency_pathfinder-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-07 00:52:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "arthurcbaia",
"github_project": "desafio-bees",
"github_not_found": true,
"lcname": "fuel-efficiency-pathfinder"
}