|
| 1 | +name: Bug report |
| 2 | +description: Report a reproducible bug in QQA4CO. |
| 3 | +title: "[Bug]: " |
| 4 | +labels: ["bug", "needs-triage"] |
| 5 | +body: |
| 6 | + - type: markdown |
| 7 | + attributes: |
| 8 | + value: | |
| 9 | + Thanks for taking the time to file a bug report. Please fill in |
| 10 | + the sections below — runnable reproduction code is the single |
| 11 | + most useful thing you can give us. |
| 12 | + - type: textarea |
| 13 | + id: summary |
| 14 | + attributes: |
| 15 | + label: Short description |
| 16 | + description: One or two sentences describing what went wrong. |
| 17 | + placeholder: "qqa.anneal returns NaN best_obj when ..." |
| 18 | + validations: |
| 19 | + required: true |
| 20 | + - type: textarea |
| 21 | + id: repro |
| 22 | + attributes: |
| 23 | + label: Minimal reproduction |
| 24 | + description: | |
| 25 | + A self-contained snippet that reproduces the issue. Prefer |
| 26 | + synthetic graphs over private data. |
| 27 | + render: python |
| 28 | + placeholder: | |
| 29 | + import networkx as nx, qqa |
| 30 | + g = nx.random_regular_graph(d=3, n=64, seed=0) |
| 31 | + prob = qqa.MaximumIndependentSet(g, device="cpu") |
| 32 | + res = qqa.anneal(prob, sol_size=8, num_epochs=100, |
| 33 | + min_bg=-2.0, max_bg=0.1, device="cpu") |
| 34 | + print(res.best_obj) |
| 35 | + validations: |
| 36 | + required: true |
| 37 | + - type: textarea |
| 38 | + id: actual |
| 39 | + attributes: |
| 40 | + label: Actual behaviour |
| 41 | + description: Full stack trace or unexpected output. |
| 42 | + render: shell |
| 43 | + validations: |
| 44 | + required: true |
| 45 | + - type: textarea |
| 46 | + id: expected |
| 47 | + attributes: |
| 48 | + label: Expected behaviour |
| 49 | + description: What did you expect to happen instead? |
| 50 | + validations: |
| 51 | + required: true |
| 52 | + - type: input |
| 53 | + id: qqa_version |
| 54 | + attributes: |
| 55 | + label: qqa version |
| 56 | + description: "Output of: python -c 'import qqa; print(qqa.__version__)'" |
| 57 | + placeholder: "0.4.0" |
| 58 | + validations: |
| 59 | + required: true |
| 60 | + - type: input |
| 61 | + id: torch_version |
| 62 | + attributes: |
| 63 | + label: torch version |
| 64 | + placeholder: "2.4.1+cpu" |
| 65 | + validations: |
| 66 | + required: true |
| 67 | + - type: input |
| 68 | + id: python_version |
| 69 | + attributes: |
| 70 | + label: Python version |
| 71 | + placeholder: "3.11.9" |
| 72 | + validations: |
| 73 | + required: true |
| 74 | + - type: dropdown |
| 75 | + id: device |
| 76 | + attributes: |
| 77 | + label: Device |
| 78 | + options: |
| 79 | + - "CPU" |
| 80 | + - "CUDA (NVIDIA)" |
| 81 | + - "MPS (Apple Silicon)" |
| 82 | + - "Other / not sure" |
| 83 | + validations: |
| 84 | + required: true |
| 85 | + - type: input |
| 86 | + id: os |
| 87 | + attributes: |
| 88 | + label: Operating system |
| 89 | + placeholder: "Ubuntu 22.04 / macOS 14.5 / Windows 11" |
| 90 | + validations: |
| 91 | + required: true |
| 92 | + - type: textarea |
| 93 | + id: extra |
| 94 | + attributes: |
| 95 | + label: Additional context |
| 96 | + description: Anything else worth knowing — recent changes, related issues, screenshots. |
0 commit comments