-
Notifications
You must be signed in to change notification settings - Fork 17
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
[work in progress] Big main #6
Conversation
I'd like to see this added to |
cd9a0b3
to
59849c9
Compare
|
Nope. View it as a sort of "apt" for planning-like software. So, yes, easy install of planners, but also libraries, utilities, etc. |
Hi Masataro, before you start hacking away: this PR plans to address many issues at the same time (parameter specifications, task filtering, task transformation, batch task creation, uniform output filenames). I think some of these deserve their own PR. Also, task filtering and task transformation feel like candidates for external postprocessing tools to me. I think it's best to have them as standalone tools. For batch task creation, I think we can eventually move the code from https://github.com/rleap-project/batch-pddl-generator into this repo. Your That leaves mainly the parameter specification issue. Which use case do you envision here? If the goal is to get good error messages for an invalid parameter combination, I think the best approach is to change the generator code and add argument checking and error messages there. If the goal is to present the valid parameter ranges to users, I think the same applies: add or improve the existing help messages in the generator code. This would definitely be helpful for users. |
ecabb62
to
e3f5817
Compare
This is not an immediate task and I do not plan to do it for now. I just made a placeholder.
This is a HUGE reinvention of wheel and I do not think worth pursuing.
|
ah, didn't catch the part that you use the SMAC hyperparamter tuner. |
I don't pursue these non-trivial goals. I simply make this set of generators usable and streamlined. Nothing new, simply refine and improve. Currently I have to manually look into each generator, learn the usage from README, and eventually write code that does the job I want. I did it for 5 domains for my recent paper. The result of this PR will be a generator with a common API that is well documented in a centralized manner. |
Alright. In any case, I suggest to start with a minimal solution and to only tackle one domain in the first PR. Ideally, a domain where not all parameter combinations are allowed. Then we can see whether a centralized design is helpful or whether it's better to improve the generators themselves. |
5a17cea
to
8d7985b
Compare
I see you're hard at work here Masataro. Let me reiterate though: I won't be able to review the changes for ~60 domains. If you want to eventually have your work merged into this repo, you need to tackle a single domain in its own PR. |
it is just about 3 hours of burst work ... It is nothing. |
If you would take time to review changes (thanks!), I would recommend checking the commits tagged as [api] and [implementation]. So nothing in any specific domain really matters in these commits, I treat them largely as test cases for assessing the utility of the tooling. I left the details as the room for improvement for future users. By the way, I have not introduced a single line of change in the existing code base --- I have only moved the original files (it was necessary for being compatible with python tooling) and added several new files, no existing files are modified significantly. |
8d7985b
to
7f96712
Compare
5628f36
to
f09e8da
Compare
Please tackle a single domain in the first PR. Ideally, a domain where not all parameter combinations are allowed. Then we can see whether a centralized design is helpful or whether it's better to improve the generators themselves. Also, I'd like to keep the generator dirs in the top-level. |
3dd20a7
to
8769e30
Compare
I am afraid you still don't get the aim and the scope of this PR. I understand a parameter validation feature is useful, but that is clearly the next step and not this step. As I said earlier, I can separate the PR into just a API proposal, removing any domain-related commits. |
By the way, I have already started using the PR branch in my project and it is quite useful already. |
this is a work-in-progress PR which I made to make it easy to follow the update.
The idea is to have a central init file which can generate any domain with any hyperparameter, also controlling for the output pathname naming convention.
todo: