Skip to content
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

MLA Framework V0 #85

Merged
merged 19 commits into from
Jan 11, 2024
Merged

MLA Framework V0 #85

merged 19 commits into from
Jan 11, 2024

Conversation

george-zubrienko
Copy link
Contributor

@george-zubrienko george-zubrienko commented Jan 4, 2024

Part of #83

Scope

Implemented:

  • First version of MLA framework, consisting of 3 base blocks: InputReader, InputProcessor and BaselineAlgorithm.
  • asyncio-powered implementation. Logger is already async-safe. Following PRs will add async implementations for CrystalConnector and related classes using httpx
  • Supports single-iteration algorithms like MIP solvers, simple trainers and forecasters

Checklist

  • GitHub issue exists for this change.
  • Pylint 10.0/10.0 without bloating .pylintrc with exceptions.

Copy link

github-actions bot commented Jan 4, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
esd_services_api_client/beast/v3
   _connector.py1078025%58–74, 81, 93, 101–119, 139–174, 187–218, 226, 251–254, 261–264, 275–292, 302–308, 317–323
   _models.py1002080%46–50, 107–110, 119–127, 137–145, 153–156
esd_services_api_client/boxer
   _auth.py861780%42–43, 52–61, 70–76, 87
   _connector.py895044%54–58, 64–68, 74–76, 82–84, 92–99, 107–113, 121–128, 136–144, 179, 189–195, 209–218, 228–233
   _models.py27293%49–50
esd_services_api_client/crystal
   _connector.py1195256%54–66, 75, 147, 150, 169–196, 208, 217, 238, 243–254, 273–292, 320, 332–342
esd_services_api_client/nexus/abstractions
   logger_factory.py16160%20–58
   nexus_object.py18180%21–57
esd_services_api_client/nexus/algorithms
   __init__.py330%20–22
   _baseline_algorithm.py15150%21–56
   distributed.py14140%21–53
   minimalistic.py10100%20–44
   recursive.py18180%21–58
esd_services_api_client/nexus/core
   app_core.py97970%20–237
   app_dependencies.py58580%20–167
esd_services_api_client/nexus/exceptions
   __init__.py110%20
   _nexus_error.py220%21–27
   input_reader_error.py15150%20–51
   startup_error.py14140%21–48
esd_services_api_client/nexus/input
   __init__.py220%21–22
   input_processor.py39390%20–88
   input_reader.py36360%20–92
tests
   test_crystal_connector.py88199%51
TOTAL109558047% 

Tests Skipped Failures Errors Time
18 0 💤 0 ❌ 0 🔥 13.646s ⏱️

Copy link

github-actions bot commented Jan 4, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
esd_services_api_client/beast/v3
   _connector.py1078025%58–74, 81, 93, 101–119, 139–174, 187–218, 226, 251–254, 261–264, 275–292, 302–308, 317–323
   _models.py1002080%46–50, 107–110, 119–127, 137–145, 153–156
esd_services_api_client/boxer
   _auth.py861780%42–43, 52–61, 70–76, 87
   _connector.py895044%54–58, 64–68, 74–76, 82–84, 92–99, 107–113, 121–128, 136–144, 179, 189–195, 209–218, 228–233
   _models.py27293%49–50
esd_services_api_client/crystal
   _connector.py1185256%54–66, 75, 147, 150, 169–196, 208, 217, 238, 243–254, 273–292, 320, 332–342
esd_services_api_client/nexus/abstractions
   logger_factory.py16160%20–58
   nexus_object.py18180%21–57
esd_services_api_client/nexus/algorithms
   __init__.py330%20–22
   _baseline_algorithm.py15150%21–56
   distributed.py14140%21–53
   minimalistic.py10100%20–44
   recursive.py18180%21–58
esd_services_api_client/nexus/core
   app_dependencies.py58580%20–167
esd_services_api_client/nexus/exceptions
   __init__.py110%20
   _nexus_error.py220%21–27
   input_reader_error.py15150%20–51
   startup_error.py14140%21–48
esd_services_api_client/nexus/input
   __init__.py220%21–22
   input_reader.py36360%20–92
tests
   test_crystal_connector.py88199%51
TOTAL95844454% 

Tests Skipped Failures Errors Time
18 0 💤 0 ❌ 0 🔥 13.693s ⏱️

@george-zubrienko george-zubrienko changed the title WIP - MLA Framework V0 MLA Framework V0 Jan 11, 2024
@george-zubrienko george-zubrienko marked this pull request as ready for review January 11, 2024 15:56
@george-zubrienko george-zubrienko requested a review from a team as a code owner January 11, 2024 15:56
@george-zubrienko george-zubrienko merged commit 068e760 into main Jan 11, 2024
3 checks passed
@george-zubrienko george-zubrienko deleted the mla-framework branch January 11, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants