-
Notifications
You must be signed in to change notification settings - Fork 1
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
Clarify workflow for getting the metriq job id #114
Comments
We can run list-jobs (the underlying action, not the cli command) by default whenever the user doesn't pass any job_id to the |
@Changhao-Li This is a good issue to get you started with our development process, and to get you familiarized with the command-line interface of metriq-gym. The current user workflow is the following:
There are many things† that can improved in this workflow, but unfortunately the team had to focus on other priorities so far rather than improving this. However, we believe that step 3. is particularly unintuitive and a clear sticking point. In fact, a first-time user may not realize how to get the New workflow:
We are keeping the CLI very simple, so please don't go with too fancy solutions, as may rewrite it in the future anyway (see #130.) †As you execute this issue and reflect on the current workflow, don't be shy to create issues on this backlog for whatever improvement you think it's necessary 🙏 |
Thanks @cosenal for the explanation, looks like a great issue to get started. Feel free to reach out, @Changhao-Li, if you need support. |
Thanks @cosenal and @nathanshammah for the information. I've modified the workflow accordingly by modifying More specifically, the modified
In
Please let me know if you would like me have a pull request on this to close the issue. Some other improvements we may consider in future: add a |
@Changhao-Li Yes, please make a pull request and we discuss there. |
Right now the README instructions say:
It is not clear to the user where / how to obtain the job ID. One can find it in the
.metriq_gym_jobs.jonsl
file. Some approaches for solution:.metriq_gym_jobs.jonsl
file to find their job id. Cons: (i) over time this file will get quite long and likely not that human readable (ii) you need to switch from working in terminal / notebook to opening up a source file and locating the last job, adding extra steps.run.py
to (i) print the job id as a string that can easily by copied and pasted and (ii) surpress the current logging of things like the IBM queue different transpiler passes to make that printed job id more obvious. The logging could be put behind a--verbose
flag. If there are multiple jobs then thelist-jobs
command can help users keep track on the CLI.I lean towards doing both 2 and 3 of these options.
Thoughts? Other ideas for how to improve this workflow? @vprusso @cosenal @WrathfulSpatula
The text was updated successfully, but these errors were encountered: