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

Refactor interfaces #187

Merged
merged 50 commits into from
Mar 30, 2023
Merged

Refactor interfaces #187

merged 50 commits into from
Mar 30, 2023

Conversation

isazi
Copy link
Collaborator

@isazi isazi commented Feb 1, 2023

With this pull request we want to structurally, at least at first, refactor some of KT's code to allow developers of components such as observers, strategies, backends, and so on to more easily extend KT.

The discussion for this PL is in issue #177

As of today the PR is not ready for merging.

isazi and others added 25 commits October 28, 2022 15:04
… `run`

This simplifies the strategies since they do not need to deal with the runner environment. Instead, this is handled inside `tune_kernel` in `interface.py`.
@isazi isazi assigned isazi and stijnh Feb 1, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 55 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@isazi
Copy link
Collaborator Author

isazi commented Feb 2, 2023

Some tests are failing, we need to check them.

@isazi
Copy link
Collaborator Author

isazi commented Mar 22, 2023

I'll run a bunch of tests on this branch on the DAS. If everything works I'll run the examples. If this also works, I guess we can merge the pull request back into master.

@isazi
Copy link
Collaborator Author

isazi commented Mar 24, 2023

All checks are passing here, I have 4 failures in tests on the DAS. So we finish checking and can merge next week.

@isazi
Copy link
Collaborator Author

isazi commented Mar 27, 2023

All failing tests are due to Numpy 1.24 not being supported yet. @stijnh is looking into it for future proofing on our side (scikit-learn also needs to support Numpy 1.24, they do not do it properly yet).

@isazi
Copy link
Collaborator Author

isazi commented Mar 27, 2023

I plan to check all the examples on Tuesday the 28th of March, to be sure we did not break anything, and after that run black on the modified files to harmonize their style.

@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 52 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@isazi
Copy link
Collaborator Author

isazi commented Mar 29, 2023

The examples seem to work fine with this branch, some errors spotted are not directly related to changes here, so I believe this can be merged.
Do @stijnh and @benvanwerkhoven agree?

@benvanwerkhoven
Copy link
Collaborator

I agree!

@stijnh
Copy link
Member

stijnh commented Mar 30, 2023

Looks good to me!

@isazi isazi merged commit 7c6f709 into master Mar 30, 2023
@isazi isazi deleted the refactor_interface branch March 30, 2023 13:18
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.

None yet

3 participants