|
1 | 1 | --- |
2 | 2 | name: Bug report |
3 | | -about: Create a report to help us improve |
4 | | -title: '' |
5 | | -labels: '' |
| 3 | +about: Report a reproducible problem with the statista library (distributions, EVA, sensitivity, time-series, plotting) |
| 4 | +title: "[Bug]: " |
| 5 | +labels: [bug] |
6 | 6 | assignees: '' |
7 | | - |
8 | 7 | --- |
9 | 8 |
|
10 | | -**Describe the bug** |
11 | | -A clear and concise description of what the bug is. |
| 9 | +## Description |
| 10 | +A clear and concise description of the bug. What is wrong and what did you expect instead? |
| 11 | + |
| 12 | +## Minimal Reproducible Example (MRE) |
| 13 | +Provide the smallest code snippet that reproduces the issue. Include imports and any necessary setup. If randomness is involved, set a fixed seed. |
| 14 | + |
| 15 | +```python |
| 16 | +# Please adjust to the minimal code that triggers the issue |
| 17 | +import numpy as np |
| 18 | +import pandas as pd |
| 19 | +from statista import distributions # or the relevant module |
| 20 | + |
| 21 | +np.random.seed(42) # if applicable |
| 22 | + |
| 23 | +# code here |
| 24 | +``` |
| 25 | + |
| 26 | +### Data sample (if applicable) |
| 27 | +- If the bug depends on specific data, include a very small CSV/JSON snippet or describe its structure (columns, dtypes, units, missing values). If data cannot be shared, describe how to synthesize a similar dataset. |
| 28 | + |
| 29 | +``` |
| 30 | +# Small CSV-like example or a few rows/records |
| 31 | +``` |
| 32 | + |
| 33 | +## Steps to Reproduce |
| 34 | +1. ... |
| 35 | +2. ... |
| 36 | +3. ... |
| 37 | + |
| 38 | +## Expected behavior |
| 39 | +Describe what you expected to happen. |
12 | 40 |
|
13 | | -**To Reproduce** |
14 | | -Steps to reproduce the behavior: |
15 | | -1. Go to '...' |
16 | | -2. Click on '....' |
17 | | -3. Scroll down to '....' |
18 | | -4. See error |
| 41 | +## Actual behavior / Error traceback |
| 42 | +Paste the full error/traceback if there is one. |
19 | 43 |
|
20 | | -**Expected behavior** |
21 | | -A clear and concise description of what you expected to happen. |
| 44 | +``` |
| 45 | +<full traceback here> |
| 46 | +``` |
22 | 47 |
|
23 | | -**Screenshots** |
24 | | -If applicable, add screenshots to help explain your problem. |
| 48 | +### Plots / Figures |
| 49 | +- If the issue is visual (e.g., plotting, distribution fit diagnostics), attach images or paste code that generates the figure. |
| 50 | +- Mention the Matplotlib backend if relevant (e.g., Agg, TkAgg). |
25 | 51 |
|
26 | | -**Desktop (please complete the following information):** |
27 | | - - OS: [e.g. iOS] |
28 | | - - Browser [e.g. chrome, safari] |
29 | | - - Version [e.g. 22] |
| 52 | +## Environment |
| 53 | +Please complete the following information: |
| 54 | +- OS: [e.g., Windows 11, macOS 14, Ubuntu 24.04] |
| 55 | +- Python: [e.g., 3.11.7] |
| 56 | +- statista version: [e.g., 0.6.3] |
| 57 | +- Installation method: [pip, from source, editable install] |
| 58 | +- Key dependencies (if relevant): |
| 59 | + - numpy: [e.g., 2.0.1] |
| 60 | + - scipy: [e.g., 1.14.1] |
| 61 | + - pandas: [e.g., 2.2.2] |
| 62 | + - matplotlib: [e.g., 3.9.1] |
| 63 | + - scikit-learn: [e.g., 1.5.1] |
| 64 | +- Locale/encoding (if data-related): [e.g., en_US.UTF-8] |
30 | 65 |
|
31 | | -**Smartphone (please complete the following information):** |
32 | | - - Device: [e.g. iPhone6] |
33 | | - - OS: [e.g. iOS8.1] |
34 | | - - Browser [e.g. stock browser, safari] |
35 | | - - Version [e.g. 22] |
| 66 | +## Randomness and Determinism |
| 67 | +- Does the bug disappear or change with a different random seed? |
| 68 | +- If applicable, specify any seeds used (e.g., np.random.seed(42)). |
36 | 69 |
|
37 | | -**Additional context** |
38 | | -Add any other context about the problem here. |
| 70 | +## Additional context |
| 71 | +Add any other context that might help us diagnose the problem (links to docs pages, related issues, configuration, system constraints). |
0 commit comments