Skip to content

Commit e2473d4

Browse files
authored
Expand the bug issue template & add a template for questions (#873)
1 parent 18f543b commit e2473d4

4 files changed

Lines changed: 110 additions & 23 deletions

File tree

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,66 @@
11
name: Bug report
22
description: Report a problem with qsim or this project
3-
type: Bug
43
body:
54
- type: markdown
65
attributes:
76
value: |
8-
Thank you for taking the time to fill out this bug report!
7+
Thank you for taking the time to open an issue report. Before
8+
continuing, it's worth [searching through the existing issues in this
9+
repository](https://github.com/quantumlib/qsim/issues?q=is%3Aissue) in
10+
case the same topic has already been reported.
911
1012
- type: textarea
1113
attributes:
1214
label: Describe the issue
1315
description: >-
14-
Please explain clearly and in detail what the issue is. What led up
15-
to it, or how did you encounter it?
16+
Please explain clearly and in detail what the issue is. What were you
17+
trying to do? What happened? What was unexpected about what happened?
18+
placeholder: >-
19+
Describe the issue here
1620
validations:
1721
required: true
1822

19-
- type: input
20-
attributes:
21-
label: What version of qsim are you using?
22-
validations:
23-
required: false
24-
2523
- type: textarea
2624
attributes:
27-
label: How can the issue be reproduced?
25+
label: Tell us how to reproduce the issue
2826
description: >-
29-
Explain in a step-by-step fashion what someone else would need to
27+
Explain in a step-by-step fashion what someone else will need to
3028
do in order to reproduce the issue. If possible, include literal
3129
examples of commands or code using [Markdown fenced code
3230
blocks](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
3331
For long output, paste the text into [collapsed
3432
sections](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections)
3533
or attach text files.
34+
placeholder: >-
35+
Write a step-by-step explanation of how to reproduce the issue here
36+
validations:
37+
required: false
38+
39+
- type: input
40+
attributes:
41+
label: Tell us the version of qsim or qsimcirq (if relevant)
42+
description: |-
43+
For qsim software problems, we need to know the exact version you are
44+
using. If you are using the Python package and are running within a
45+
terminal emulator, then typing the following command in the shell will
46+
print the version number:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
47+
```python3 -c 'import qsimcirq; print(qsimcirq.__version__)'```<br>
48+
If you are using a Google Colab or Jupyter notebook environment,
49+
then running the following command in a notebook cell will print
50+
the version number:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
51+
`import qsimcirq; print(qsimcirq.__version__)`
52+
placeholder: >-
53+
Write the qsim version number here
54+
validations:
55+
required: false
56+
57+
- type: input
58+
attributes:
59+
label: Tell us the computing environment (if relevant)
60+
description: >-
61+
Please tell us if you are using Linux, macOS, Windows, Google Colab, or
62+
something else, and its version.
63+
placeholder: >-
64+
Describe the computing environment and its version here
3665
validations:
3766
required: false

.github/ISSUE_TEMPLATE/2-feature-request.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
name: Feature request
2-
description: Request a new feature or change in qsim
2+
description: Request a feature or suggest an enhancement
33
type: Enhancement
44
body:
55
- type: markdown
66
attributes:
7-
value: |
8-
Thank you for taking the time to fill out this feature request form!
7+
value: >-
8+
Thank you for your interest in qsim! Before continuing, it's worth
9+
[searching through the existing issues in this
10+
repository](https://github.com/quantumlib/qsim/issues?q=is%3Aissue) in
11+
case the same feature has already been requested.
912
1013
- type: textarea
1114
attributes:
12-
label: Is your feature request related to a use case or problem?
15+
label: What is your request or suggestion?
1316
description: >-
14-
Please tell us the context of your request. Is it to help you do
15-
something that you currently cannot due to limitations in qsim, or is it
16-
an idea for an enhancement or new functionality, or something else?
17+
Please describe the request and its context in detail. Is the feature
18+
something that would help you do something that you currently cannot due
19+
to limitations in qsim, or is it an idea for an enhancement or new
20+
functionality, or something else?
21+
placeholder: >-
22+
Describe the feature request here
1723
validations:
1824
required: true
1925

@@ -24,6 +30,8 @@ body:
2430
If you have ideas or preferences for the solution, you can let us know
2531
here. If you are aware of other similar or related work, please let us
2632
know about it here.
33+
placeholder: >-
34+
Describe your proposed solution here
2735
validations:
2836
required: false
2937

@@ -34,7 +42,7 @@ body:
3442
Please choose from among the following options. If the lack of this
3543
feature is blocking important work, please choose from among P0–P2.
3644
options:
37-
- P0 – needed no later than a week
45+
- P0 – needed within two weeks
3846
- P1 – needed by the next release
3947
- P2 – needed within two quarters
4048
- P3 – not blocked; it's an idea
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Question
2+
description: As a question
3+
type: Question
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >-
8+
Thank you for your interest in qsim! Before continuing, it's worth
9+
[searching through the existing issues in this
10+
repository](https://github.com/quantumlib/qsim/issues?q=is%3Aissue) in
11+
case the same question has already been asked and possibly answered.
12+
13+
- type: textarea
14+
attributes:
15+
label: What is the question?
16+
description: >-
17+
Please provide enough details and contextual information so that the
18+
question is answerable.
19+
placeholder: >-
20+
Write your question here
21+
validations:
22+
required: true
23+
24+
- type: input
25+
attributes:
26+
label: Does this concern a specific version of qsim? If so, what version?
27+
placeholder: >-
28+
Write the qsim version number here
29+
validations:
30+
required: false
31+
32+
- type: input
33+
attributes:
34+
label: Is it specific to a computing environment? If so, which one?
35+
description: >-
36+
If the platform and operating system version may be relevant, please
37+
tell us those details as well. It may matter, for example, whether you
38+
are using Linux, macOS, Windows, or Google Colab, as well as whether
39+
you are trying to use CUDA (and what version), and other details.
40+
placeholder: >-
41+
Describe the computing environment here
42+
validations:
43+
required: false
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,25 @@ type: Task
44
body:
55
- type: markdown
66
attributes:
7-
value: |
8-
Thank you for taking the time to fill out this feature request form!
7+
value: >-
8+
Thank you for your interest in qsim! Before continuing, it's worth
9+
[searching through the existing issues in this
10+
repository](https://github.com/quantumlib/qsim/issues?q=is%3Aissue) in
11+
case the same or similar task already exists.
912
1013
- type: textarea
1114
attributes:
1215
label: What is the task?
16+
placeholder: >-
17+
Describe the task here
1318
validations:
1419
required: true
1520

1621
- type: textarea
1722
attributes:
1823
label: (Optional) Do you have ideas or preferences for the approach?
24+
placeholder: >-
25+
Describe a suggested or preferred approach here
1926
validations:
2027
required: false
2128

@@ -26,7 +33,7 @@ body:
2633
Please choose from among the following options. If the lack of this
2734
feature is blocking important work, please choose from among P0–P2.
2835
options:
29-
- P0 – needed no later than a week
36+
- P0 – needed within two weeks
3037
- P1 – needed by the next release
3138
- P2 – needed within two quarters
3239
- P3 – not blocked; it's an idea

0 commit comments

Comments
 (0)