mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-17 09:24:34 +08:00
update github issue template
This commit is contained in:
5
.github/ISSUE_TEMPLATE/bug-report.md
vendored
5
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@@ -28,7 +28,8 @@ Steps to reproduce the behavior:
|
|||||||
|
|
||||||
## Environment
|
## Environment
|
||||||
|
|
||||||
**Note**: One could run `python scripts/collect_info.py` under the `qlib` directory to get the following information.
|
**Note**: User could run `cd scripts && python collect_info.py all` under project directory to get system information
|
||||||
|
and paste them here directly.
|
||||||
|
|
||||||
- Qlib version:
|
- Qlib version:
|
||||||
- Python version:
|
- Python version:
|
||||||
@@ -37,4 +38,4 @@ Steps to reproduce the behavior:
|
|||||||
|
|
||||||
## Additional Notes
|
## Additional Notes
|
||||||
|
|
||||||
<!-- Add any other information about the problem here. -->
|
<!-- Add any other information about the problem here. -->
|
||||||
|
|||||||
@@ -9,6 +9,11 @@ QLIB_PATH = Path(__file__).absolute().resolve().parent.parent
|
|||||||
|
|
||||||
|
|
||||||
class InfoCollector:
|
class InfoCollector:
|
||||||
|
'''
|
||||||
|
User could collect system info by following commands
|
||||||
|
`cd scripts && python collect_info.py all`
|
||||||
|
- NOTE: please avoid running this script in the project folder which contains `qlib`
|
||||||
|
'''
|
||||||
def sys(self):
|
def sys(self):
|
||||||
"""collect system related info"""
|
"""collect system related info"""
|
||||||
for method in ["system", "machine", "platform", "version"]:
|
for method in ["system", "machine", "platform", "version"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user