|
| 1 | +--- |
| 2 | +# Inspired by https://github.com/doomemacs/doomemacs/blob/master/.github/ISSUE_TEMPLATE/bug_report.yml |
| 3 | +name: 📝 Bug Report |
| 4 | +description: Report something that isn't working as intended |
| 5 | +labels: ["bug"] |
| 6 | +body: |
| 7 | +- type: markdown |
| 8 | + attributes: |
| 9 | + value: | |
| 10 | + First, carefully read [CONTRIBUTING.md](https://github.com/aesara-devs/aesara/blob/main/.github/CONTRIBUTING.md) and the following to determine whether or not you have a valid Aesara issue: |
| 11 | +
|
| 12 | + - Is there already a GitHub Issue or Discussion for this issue? |
| 13 | +
|
| 14 | + If so, please expand upon any specifics of your issue in the existing Issue/Discussion. |
| 15 | +
|
| 16 | + - Does your issue only arise in a library that uses Aesara? |
| 17 | +
|
| 18 | + If so, please submit your issue to that library's issue tracker first. From there, the Aesara-specific details can be worked out and a valid Aesara issue can be identified. **Issues framed primarily in third-party libraries are liable to being marked as invalid and closed.** |
| 19 | +
|
| 20 | + - Does your issue involve OS and/or environment-specific settings (e.g. installation and/or compilation issues)? |
| 21 | +
|
| 22 | + If so, please create a [Discussion](https://github.com/aesara-devs/aesara/discussions) instead. From there, we can help determine whether or not the issue is due to faulty logic in Aesara (i.e. a valid issue) or something specific to your local setup. |
| 23 | +
|
| 24 | +- type: markdown |
| 25 | + attributes: |
| 26 | + value: "-----" |
| 27 | +- type: textarea |
| 28 | + attributes: |
| 29 | + label: Expected behavior |
| 30 | + description: | |
| 31 | + A concise description of what you're trying to do and what you expect to see. |
| 32 | +
|
| 33 | + Try to include: |
| 34 | +
|
| 35 | + - Minimal, self-contained, and reproducible examples (i.e. an [MWE](https://en.wikipedia.org/wiki/Minimal_reproducible_example)). |
| 36 | + - Precise details about the expected output/results (e.g. "The output should consist of the values..."). |
| 37 | +
|
| 38 | + placeholder: | |
| 39 | + I'm trying to compute the ... of ... as follows: |
| 40 | +
|
| 41 | + ```python |
| 42 | + import aesara |
| 43 | + import aesara.tensor as at |
| 44 | +
|
| 45 | + x = at.vector("x") |
| 46 | + ... |
| 47 | +
|
| 48 | + fn = aesara.function([x], ...) |
| 49 | +
|
| 50 | + fn(...) |
| 51 | + ``` |
| 52 | +
|
| 53 | + The results should be the value... |
| 54 | + validations: |
| 55 | + required: true |
| 56 | +- type: textarea |
| 57 | + attributes: |
| 58 | + label: Current behavior |
| 59 | + description: | |
| 60 | + A concise description of the issue(s) you're observing. |
| 61 | +
|
| 62 | + Try to include: |
| 63 | +
|
| 64 | + - Any associated output and/or error messages. |
| 65 | + - Any attempts you made to resolve the issue yourself, and their result. |
| 66 | + placeholder: | |
| 67 | + The example above does not return a value and instead raises a `ValueError` error. |
| 68 | +
|
| 69 | + Here is the backtrace: |
| 70 | +
|
| 71 | + ``` |
| 72 | + ValueError: ... |
| 73 | + ``` |
| 74 | + validations: |
| 75 | + required: true |
| 76 | +- type: input |
| 77 | + id: aesara-version |
| 78 | + attributes: |
| 79 | + label: Aesara Version |
| 80 | + description: | |
| 81 | + Provide the version of Aesara obtained from `pip show aesara`. |
| 82 | + placeholder: 2.x.x |
| 83 | + validations: |
| 84 | + required: true |
| 85 | +- type: input |
| 86 | + id: python-version |
| 87 | + attributes: |
| 88 | + label: Python Version |
| 89 | + description: | |
| 90 | + Provide the version of Python obtained from `python --version`. |
| 91 | + placeholder: 3.8.x |
| 92 | + validations: |
| 93 | + required: true |
| 94 | +- type: input |
| 95 | + id: os |
| 96 | + attributes: |
| 97 | + label: Operating System |
| 98 | + description: | |
| 99 | + Provide the name of your operating system (e.g. Ubuntu, OSX, Windows). |
| 100 | + placeholder: Ubuntu |
| 101 | + validations: |
| 102 | + required: true |
| 103 | +- type: checkboxes |
| 104 | + attributes: |
| 105 | + label: In which type of virtual environment is Aesara installed? |
| 106 | + options: |
| 107 | + - label: conda |
| 108 | + - label: pip |
| 109 | +- type: input |
| 110 | + id: aesara-config |
| 111 | + attributes: |
| 112 | + label: Aesara Config |
| 113 | + description: | |
| 114 | + Upload the contents of `python -c "import aesara; print(aesara.config)"` to [pastebin](https://pastebin.com), [gist](https://gist.github.com), or a similar service, then provide the link to it here. |
| 115 | + placeholder: https://pastebin.com/fakeurl |
| 116 | + validations: |
| 117 | + required: true |
0 commit comments