-
Notifications
You must be signed in to change notification settings - Fork 14
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
improve docstrings #957
Comments
@Roger-luo Kindly assign this issue to me. I will start with #946 |
@shubhusion could you point out the methods and classes you would like to work on (perhaps in the end) then I'll open an issue for you? |
I intend to do the whole issue since there is a bounty associated with it. I will start with parse folder (https://github.com/QuEraComputing/bloqade-python/tree/main/src/bloqade/builder/parse) all 4 files for now you can consider. ( 9 classes overall) |
Ok, that is amazing @shubhusion! just in case of confusion, I updated the bounty description a bit - it should be 20 USD for every 5 docstrings. As per the amount listed on the website, 50 docstrings will be 200 USD. |
Can I use this issue only or have you created a new issue for improving docstrings ? |
Hey @Roger-luo, I've submitted a PR addressing the enhancement of one-liner docstrings. Please review it and let me know if it aligns with your expectations. If there are any discrepancies or further adjustments needed, feel free to point them out. Your feedback will help me understand the project's standards better, guiding my future PRs. |
why was the bounty assigned when the hackathon was to start from May 29 @Roger-luo |
@shubhusion this PR Can be merged but without a bounty since you have broke the Rules |
@AbdullahKazi500 How did I break a rule? The issue had bounty tag and @Roger-luo accepted that. You can check our discussion. |
The hackathon was to start on May 29 that is today and all hacking and PRs were to made from Today |
I didn't know that it was part of a hackathon. I assumed it as an open bounty. |
@shubhusion the Bounty tag was to identify that this is a bounty issue not for you to start working on it |
@shubhusion it is not an open bounty and if you have assumed then it is your mistake I guess |
No issues , i will make more PRs for bounties, which will be accepted from today. Just merge this PR if possible. |
@AbdullahKazi500 if i make another PR to improve docstrings will that be accepted ? |
@shubhusion nope that PR won't be accepted since you have already made a PR if the new PR is different than the old PR maybe yes |
Yeah, new PR will be different since this issue involves improving docstring . In this PR, only some docstrings were improved as a starting point. Each PR will involve different files documentation update. |
Then maybe yes you can make a New PR with a different code and that might be okay |
@AbdullahKazi500 can you please confirm this? |
I got a reply from Kallie (organizer of unitaryhack):
please feel free to submit a new PR if any of you want to work on this (just don't work on the same docstring). You can share the bounty of this issue (I'll open a new issue for you, just list the methods you want to claim) |
@Roger-luo Kindly assign the following classes to me present in (https://github.com/QuEraComputing/bloqade-python/tree/main/src/bloqade/compiler/analysis/common). |
@Roger-luo many methods do not have docstrings are those also covered in this issue? you told me 50 docstrings for 200$ bounty |
In general, we would prefer adding docstring for the methods the user will touch, e.g., the APIs for task https://github.com/QuEraComputing/bloqade-python/blob/main/src/bloqade/task/base.py#L50
Actually I think the |
Hi @Roger-luo , I created #970 for docstrings in "tasks/base.py" for unitary hack. |
Improve Docstrings, Remove Markdown Errors
Hi @Roger-luo , I fixed doc strings for some files, could you please take a look? |
@Roger-luo , give me some time to create separate issues, created one for PR merged recently. |
@Manvi-Agrawal Please do not create separate issues, I will count your total amount of bounty and create issues for you because we need to notify on unitaryhack side too. Regarding who wants to work on the docstring, it might not be clear, as mentioned above, that we don't want a bounty on helper functions that only developers will use or private ones. I made the exception to accept #978 because we didn't say this explicitly. However, we will not accept docstrings added to helper functions or private methods in the future. Please work on public APIs in the user space, as I mentioned in #957. You should at least look at the quick start and tutorial to understand what this package does and create docstrings for those in the user space (meaning users may use them). And please DO NOT submit multiple PRs when you still have PR under review, this will not give you more bounties, and it will create a lot of duplicated work for us to review the PR and for you to correct them. |
@Roger-luo , thanks for your review. I didnt know that this was how it was supposed to be done. I thought of saving you some admin hassle, thats why created the issues.
Sure thing, since it was a documentation change, I thought I would be able to get them in without much hassles :-). I am happy to wait until my other PRs are reviewed. |
@Roger-luo @AbdullahKazi500 My two PRs were merged successfully. But My Name is not present on the leaderboard. can you guide me whom to contact ? |
Hi all I'm opening new issues and will contact unitaryhack to track things correctly today. |
see format in #956
bounty: 20 USD/per 5 docstring
please specify which method/class you will be working on, and we will open a new issue for you
The text was updated successfully, but these errors were encountered: