-
Notifications
You must be signed in to change notification settings - Fork 1
perf(backend): enhance backend for reproducible builds and modular structure #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1566507
build(backend): update Dockerfile and requirements for reproducible b…
cristofima 277c408
build(training): add requirements.lock for reproducible builds
cristofima 1e75f7d
build(backend): simplify Dockerfile by removing lock file handling
cristofima ec40de8
test(backend/training): add unit tests for eda, pre-processor, and tr…
cristofima 37eecfa
refactor(backend/training): move files into folders for better modula…
cristofima 3b27f03
docs: update testing documentation with new test metrics and structure
cristofima 424d48d
ci(backend): remove requirements-dev.txt from deployment triggers
cristofima 5818c28
build(training): update ONNX comment for clarity
cristofima 3ff7509
docs: update changelog with dependency version updates
cristofima File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ build/ | |
| coverage/ | ||
| htmlcov/ | ||
| test-results/ | ||
| *-coverage.xml | ||
| *coverage*.xml | ||
| *-tests.xml | ||
|
|
||
| # AWS SAM | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # Backend API Dockerfile for local development | ||
| # Backend API Dockerfile | ||
| FROM python:3.11-slim | ||
|
|
||
| WORKDIR /app | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,22 @@ | ||
| fastapi==0.109.0 | ||
| uvicorn==0.27.0 | ||
| mangum==0.17.0 | ||
| boto3==1.34.0 | ||
| pydantic==2.5.0 | ||
| pydantic-settings==2.1.0 | ||
| python-multipart==0.0.6 | ||
| pandas==2.1.4 | ||
| numpy==1.26.3 | ||
| python-jose==3.3.0 | ||
| onnxruntime==1.16.3 | ||
| # FastAPI Stack | ||
| fastapi>=0.115.0,<1.0.0 # ReDoc fix in 0.115+ | ||
| uvicorn>=0.27.0,<0.41.0 # ASGI server | ||
| mangum>=0.17.0,<0.20.0 # AWS Lambda adapter | ||
| python-multipart>=0.0.6,<1.0.0 # Form/file upload support | ||
|
|
||
| # AWS SDK | ||
| boto3>=1.34.0,<2.0.0 # AWS services | ||
|
|
||
| # Data Validation | ||
| pydantic>=2.5.0,<3.0.0 # Schema validation | ||
| pydantic-settings>=2.1.0,<3.0.0 # Settings management | ||
|
|
||
| # Data Processing | ||
| pandas>=2.1.4,<3.0.0 # DataFrame operations | ||
| numpy>=1.26.0,<2.0.0 # Numerical operations | ||
|
|
||
| # Auth | ||
| python-jose>=3.3.0,<4.0.0 # JWT handling | ||
|
|
||
| # Model Inference | ||
| onnxruntime>=1.16.0,<2.0.0 # ONNX model inference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.