-
Notifications
You must be signed in to change notification settings - Fork 7
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
n3fit - fit
in fit.py
should be split into seperate functions
#519
Comments
Copying a comment here from #516
I guess I see what you mean, I suppose just by looking at the code especially with where the |
Yes, I am not happy about the
I should then modify that part. The only relevant thing should be the json file with the trials. The |
Sure but whether the relevant thing is the best result or the trials I don't think it's PDF replica/replicas. Maybe then we could have a provider which instances |
No, but the output of Yes, the way to go would be to have a provider for Then Then at the end the |
ah, but then perhaps |
Is this still relevant? |
no |
As I said in #516 (comment) I think
fit
should actually be several functions:I think we can all agree on some of these functions:
I personally also think that hyperoptimization and fitting should be two seperate functions given that they both produce quite different things, and that the
n3fit
runcards could then call whichever of these two actions was necessary, since they seem like mutual exclusive tasks. But probably there is more discussion to have on this point.If all of these functions are in the same file, which is an
n3fit
module (as far as theApp
is concerned) then they will benefit from thereportengine
wizardry of taking other provider functions as function arguments which get automatically handled by the resource builderThe text was updated successfully, but these errors were encountered: