instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NVIDIA__cuda-quantum__3644 | NVIDIA/cuda-quantum | 3,644 | defect | f97e0b2136f75e37223d976000a2ef4ece71f9a0 | deaea768620b040ff7f6ae2a5c6b87474be79674 | Add Decomposition Pattern Selection logic | This PR introduces a "decomposition pattern graph", implemented in `DecompositionPatternSelection.cpp`. For encapsulation, it is not exposed in any header file, and hence can only be used through the new `selectDecompositionPatterns` function exposed in `DecompositionPatterns.h`.
The passes `Decomposition` and `Basi... | diff --git a/include/cudaq/Optimizer/Transforms/Passes.td b/include/cudaq/Optimizer/Transforms/Passes.td
index 500b5cc53e6..80807ada2cf 100644
--- a/include/cudaq/Optimizer/Transforms/Passes.td
+++ b/include/cudaq/Optimizer/Transforms/Passes.td
@@ -136,6 +136,15 @@ def BasisConversionPass : Pass<"basis-conversion", "ml... | 7 | 6 | 0 | [{"id": "G0", "claim": "Remove the blank line between the LLVM and the standard-library include block in DecompositionPatternSelection.cpp (style nit: no blank lines in the includes).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Declare numControls as s... | null |
NVIDIA__cuda-quantum__3647 | NVIDIA/cuda-quantum | 3,647 | defect | d8916d459a241f3a28734117345d5c0e3209f973 | 9b188e70de9f138227969d1e4a4c1e30965a47c9 | [features/py-redesign] Explicit handle of density matrix | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/python/runtime/cudaq/algorithms/py_state.cpp b/python/runtime/cudaq/algorithms/py_state.cpp
index f9b7b9e75c3..8d333620716 100644
--- a/python/runtime/cudaq/algorithms/py_state.cpp
+++ b/python/runtime/cudaq/algorithms/py_state.cpp
@@ -252,6 +252,74 @@ static py::buffer_info getCupyBufferInfo(py::buffer cu... | 4 | 4 | 1 | [{"id": "G0", "claim": "The long runtime_error message in py_state.cpp is awkwardly split across many string literals; glue it back together and re-run clang-format.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In createStateFromPyBuffer, remo... | null |
NVIDIA__cuda-quantum__3690 | NVIDIA/cuda-quantum | 3,690 | defect | ab0ff1d5b86da953a363ab0620cb201b68263c06 | 17b33523a95e6d3c3738db6434950544584a0fd7 | Remove C++17 support from CUDA-Q runtime libraries | Remove C++17 support from CUDA-Q runtime libraries and targettests.
Fixes #3673. | diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 5e3f395ac86..76d6c4e75a2 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -240,8 +240,8 @@
"C_Cpp.inlayHints.autoDeclarationTypes.enabled": false,
"C_Cpp.inlayHints.referenceOperator.enabl... | 15 | 13 | 0 | [{"id": "G0", "claim": "The pull request should explain what setting CMAKE_CXX_EXTENSIONS to OFF does and why it is being turned off.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request changing the build-system requires entry to \"n... | null |
NVIDIA__cuda-quantum__3713 | NVIDIA/cuda-quantum | 3,713 | defect | 8431db3642abe3535683fc6802c1bb12d4e7703e | d138ebddafa5c11505e6d039eccad7253551c65b | Fix issue during migration to host in tensornet backend | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/runtime/nvqir/cutensornet/mps_simulation_state.inc b/runtime/nvqir/cutensornet/mps_simulation_state.inc
index f9b58d30097..158c7005adc 100644
--- a/runtime/nvqir/cutensornet/mps_simulation_state.inc
+++ b/runtime/nvqir/cutensornet/mps_simulation_state.inc
@@ -645,7 +645,7 @@ MPSSettings::MPSSettings() {
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `#ifdef CUDAQ_SIMULATION_SCALAR_FP32` test block should be nested inside the `CUDAQ_BACKEND_TENSORNET_MPS` ifdef, so the fp32 to-host test runs for MPS only and not for other simulator backends.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
NVIDIA__cuda-quantum__3736 | NVIDIA/cuda-quantum | 3,736 | defect | 48cf3d938c1f1014527ec60a70689d44e23383c7 | b43eb7cc32394ddef5e13d150c0ddd3f4ca31808 | Track current ExecutionContext as a thread local variable | This PR's main change is to remove the tracking of the current execution context from the various components of the runtime (qpu, quantum_platform, simulators and execution managers) and to store it instead in a single place, as a thread-local variable in the new `runtime/common/ExecutionContext.cpp` file.
## Unifor... | diff --git a/python/cudaq/dynamics/evolution.py b/python/cudaq/dynamics/evolution.py
index 050d1100bd1..a0cee154358 100644
--- a/python/cudaq/dynamics/evolution.py
+++ b/python/cudaq/dynamics/evolution.py
@@ -141,18 +141,8 @@ def _launch_analog_hamiltonian_kernel(target_name: str,
ctx = cudaq_runtime.ExecutionCo... | 8 | 5 | 1 | [{"id": "G0", "claim": "In the flow configureExecutionContext -> setExecutionContext -> beginExecution -> execute -> finalizeExecutionContext -> endExecution -> resetExecutionContext, finalizeExecutionContext should happen after endExecution, not before.", "category": "correctness", "verdict": "opposed", "priority": "P... | null |
NVIDIA__cuda-quantum__3764 | NVIDIA/cuda-quantum | 3,764 | defect | 8f6be57a215c1888eecb2f8389ae7fa74dab46c7 | 88eeae3cf8f5b5b82e07d37d818bcc9f4a4d652d | Isolate Logger.h from fmtlib headers | With these changes, including Logger.h will no longer include "FmtCore.h" which contains the fmtlib headers.
This enables us to include Logger.h in header files without bleeding the fmtlib headers into user code.
Logger.h only includes the CUDAQ_ logging capability.
FmtCore.h has not changed and includes all of t... | diff --git a/python/runtime/cudaq/algorithms/py_state.cpp b/python/runtime/cudaq/algorithms/py_state.cpp
index 6e80a8e71b2..4d629aca395 100644
--- a/python/runtime/cudaq/algorithms/py_state.cpp
+++ b/python/runtime/cudaq/algorithms/py_state.cpp
@@ -8,6 +8,7 @@
#include "py_state.h"
#include "LinkedLibraryHolder.h"
#... | 1 | 1 | 0 | [{"id": "G0", "claim": "The static_assert checks in the fmt substitute templates should be replaced with C++20 requires-concept clauses instead (suggested for both `format` and `print`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__3791 | NVIDIA/cuda-quantum | 3,791 | defect | 3ad87f0347987f0335e9a2ed70704642b091354d | b20ccacf328ca58f7031d7f0b8eda616d1a1e888 | Python/C++ interoperability tools | This replaces the old interop interface with one that hides more of the implementation details about the compiler and runtime libraries from the user.
This is not quite as dynamic as native Python as kernel decorators may be resolved in a python interpreter context *before* they are used. This allows kernel decorato... | diff --git a/python/cudaq/kernel/kernel_decorator.py b/python/cudaq/kernel/kernel_decorator.py
index 22f32da1dc9..414692a1f06 100644
--- a/python/cudaq/kernel/kernel_decorator.py
+++ b/python/cudaq/kernel/kernel_decorator.py
@@ -653,6 +653,25 @@ def __call__(self, *args):
self.uniqName, specialized_module,... | 2 | 1 | 0 | [{"id": "G0", "claim": "The comment misspells the type namespace as `mlir:;ExecutionEngine**` instead of `mlir::ExecutionEngine**`.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks whether an empty `args` list can be passed to `beta_re... | null |
NVIDIA__cuda-quantum__3793 | NVIDIA/cuda-quantum | 3,793 | defect | 03ccd434cd205dcd5f1494c57bbef6735e23dc9e | 3e06b5319b31f8de26e3f395edf1334bee1fffb4 | Removing usage of setTargetBackend from unittests | This is the second step towards removing `cudaq::set_target_backend` and `quantum_platform::setTargetBackend)` from the public interfaces. In this step, all usages of `quantum_platform::setTargetBackend)` are removed from the tests.
Instead of calling
```
auto &platform = cudaq::get_platform();
platform.set... | diff --git a/unittests/backends/CMakeLists.txt b/unittests/backends/CMakeLists.txt
index 29ae13bc9d9..f310a1418dc 100644
--- a/unittests/backends/CMakeLists.txt
+++ b/unittests/backends/CMakeLists.txt
@@ -19,15 +19,28 @@ set(default_backend_unittest_libs
cudaq-platform-default
gtest_main)
-define_property(DIRE... | 6 | 5 | 2 | [{"id": "G0", "claim": "The cp command in unittests/backends/braket/BraketStartServerAndTest.sh.in is missing its destination argument and is not a valid cp command.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions which approac... | null |
NVIDIA__cuda-quantum__3794 | NVIDIA/cuda-quantum | 3,794 | defect | 03ccd434cd205dcd5f1494c57bbef6735e23dc9e | 259ee3bdab7b790bf4e3080dff1ab53cca85014f | Handling distributed batched results for dynamics backend | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/docs/sphinx/using/dynamics.rst b/docs/sphinx/using/dynamics.rst
index 94439b347d8..b37cb961280 100644
--- a/docs/sphinx/using/dynamics.rst
+++ b/docs/sphinx/using/dynamics.rst
@@ -599,6 +599,13 @@ Specifically, it will detect the number of processes (GPUs) and distribute the c
Not all integrators are ... | 7 | 7 | 0 | [{"id": "G0", "claim": "Prefer querying getNumRanks()/getRank() on each call (or passing them in) instead of caching them in function-local statics in getDistributedGlobalIdx, since the statics can become stale if the first call happens before MPI is initialized or the context is recreated.", "category": "maintainabili... | null |
NVIDIA__cuda-quantum__3797 | NVIDIA/cuda-quantum | 3,797 | defect | 03ccd434cd205dcd5f1494c57bbef6735e23dc9e | 0251ac52449afe9c662d1c9cd4faae48cbb50c5a | Add support for TII backend | ### Description
This PR adds support for the TII backend.
Checklist:
- [x] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document. | diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index 65fbabf0c1d..eb79160f33d 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -25,6 +25,7 @@ on:
- orca
- pasqal
- qci
+ - qibo
... | 34 | 31 | 6 | [{"id": "G0", "claim": "The qibo unittest CMakeLists should use the shared add_backend_unittest_executable macro like the other backends instead of a hand-written target.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "QiboTester.cpp has no main ... | null |
NVIDIA__cuda-quantum__3808 | NVIDIA/cuda-quantum | 3,808 | defect | 556fbfa473af83d1e01f02b3cf184981b715efce | 045ffc91a6babc91f753ec82e107e758b7b21c50 | Adding PTSBE data structures | Adding the following data structures along with unittests
- KrausSelection
- KrausTrajectory
- PTSBEResult
- ShotAllocationStrategy
- TrajectoryMetadata | diff --git a/runtime/cudaq/CMakeLists.txt b/runtime/cudaq/CMakeLists.txt
index 413f81d8478..bda20147e7d 100644
--- a/runtime/cudaq/CMakeLists.txt
+++ b/runtime/cudaq/CMakeLists.txt
@@ -28,6 +28,7 @@ add_library(${LIBRARY_NAME}
utils/cudaq_utils.cpp
utils/matrix.cpp
distributed/mpi_plugin.cpp
+ ptsbe/S... | 15 | 10 | 3 | [{"id": "G0", "claim": "The new enum should be named KrausOperatorType rather than KrausOperatorIndex.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the new data structures support simulating qudits today, suggesting t... | null |
NVIDIA__cuda-quantum__3819 | NVIDIA/cuda-quantum | 3,819 | defect | f99d1b73b2fa4f8f5fd946643a3164fa4331e9f8 | c0bee122853525bfc168c5f0a7a0e9117bff7974 | Improve error handling for loops in ApplyOpSpecialization | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/lib/Optimizer/Transforms/ApplyOpSpecialization.cpp b/lib/Optimizer/Transforms/ApplyOpSpecialization.cpp
index 14265547d17..424c30f5b18 100644
--- a/lib/Optimizer/Transforms/ApplyOpSpecialization.cpp
+++ b/lib/Optimizer/Transforms/ApplyOpSpecialization.cpp
@@ -692,8 +692,8 @@ class ApplySpecializationPass
... | 4 | 3 | 0 | [{"id": "G0", "claim": "Add a comment in targettests/execution/adjoint.cpp pointing to the issue that tracks the XFAIL'd failure.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "reverseTheOpsInTheBlock is best kept static (returning a value instead... | null |
NVIDIA__cuda-quantum__3823 | NVIDIA/cuda-quantum | 3,823 | defect | d7f236e35d2b24bff5217a176ea9cf94a075b039 | 88933e992acea49fded643323711c765cfa48e7a | Ptsbe simulator interface | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [x] I have added tests to cover my changes.
- [x] I have updated the documentation accordingly.
- [x] I have r... | diff --git a/runtime/cudaq/algorithms/sample.h b/runtime/cudaq/algorithms/sample.h
index cedc20307bb..9e3e90c17a7 100644
--- a/runtime/cudaq/algorithms/sample.h
+++ b/runtime/cudaq/algorithms/sample.h
@@ -13,6 +13,7 @@
#include "cudaq/algorithms/broadcast.h"
#include "cudaq/concepts.h"
#include "cudaq/host_config.h"... | 5 | 2 | 1 | [{"id": "G0", "claim": "The PTSBE dispatch in cudaq::sample() does not check that a noise model is available; the reviewer asks for such a condition and, on the options laid out, prefers that PTSBE throw an error when no noise model is set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
NVIDIA__cuda-quantum__3851 | NVIDIA/cuda-quantum | 3,851 | defect | cf0e5ccece9b23fae0e3ec614d0a89efb03c8a73 | bcd748626fad3c05ab568b7bb0f93e6e7fc3ea3f | [PTSBE] Add support for async/broadcasting | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [x] I have added tests to cover my changes.
- [x] I have updated the documentation accordingly.
- [x] I have r... | diff --git a/.github/pre-commit/spelling_allowlist_cxx.txt b/.github/pre-commit/spelling_allowlist_cxx.txt
index 9d94f96a37e..677acf987e1 100644
--- a/.github/pre-commit/spelling_allowlist_cxx.txt
+++ b/.github/pre-commit/spelling_allowlist_cxx.txt
@@ -1,5 +1,8 @@
+async
clang
+deallocating
gcc
+lifecycle
nullary
p... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new words should be handled in the doc comments with backticks (or hyphenation) instead of being added to the spelling allowlist.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__3868 | NVIDIA/cuda-quantum | 3,868 | defect | 55b6776292d37bacc2f0d875da6a57040ac03f92 | d833bb74fde2cb344307cba80d434d1a2c10eaf9 | Bug fix for using run on emulated targets | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/lib/Optimizer/Transforms/SROA.cpp b/lib/Optimizer/Transforms/SROA.cpp
index 3a2ff0ae1d4..774614edce5 100644
--- a/lib/Optimizer/Transforms/SROA.cpp
+++ b/lib/Optimizer/Transforms/SROA.cpp
@@ -51,7 +51,15 @@ class AllocaAggregate : public OpRewritePattern<cudaq::cc::AllocaOp> {
continue;
i... | 4 | 2 | 2 | [{"id": "G0", "claim": "Add a Python test as well, following the example of PR #3807, alongside the C++ test added by this pull request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The SROA change is failing two CI tests: CUDAQ :: Transforms/basic-sr... | null |
NVIDIA__cuda-quantum__3886 | NVIDIA/cuda-quantum | 3,886 | defect | 73d85f4ac833cb6bc2cf50f7b32cd32d91f2faf3 | 89394c984e8ee3340eaaffc6b2c3e807fc351bb3 | Add more flexibility for python kernels | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/python/cudaq/kernel/kernel_decorator.py b/python/cudaq/kernel/kernel_decorator.py
index d2c799734a4..b6b496897da 100644
--- a/python/cudaq/kernel/kernel_decorator.py
+++ b/python/cudaq/kernel/kernel_decorator.py
@@ -491,7 +491,10 @@ def formal_arity(self):
return self.firstLiftedPos
r... | 2 | 2 | 0 | [{"id": "G0", "claim": "The ad-hoc solution in CPPPyKernelDecorator for the returned JITed execution engine not having a long enough lifetime should be addressed by #3908, so it can be replaced when that is merged in.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
NVIDIA__cuda-quantum__3909 | NVIDIA/cuda-quantum | 3,909 | defect | 2675a26c10779623d323c66481c6c44d36368378 | 83e5f391fcdbe66d52f20a93d06317d4f2063952 | Fix density matrix overlap dimension | <!--
Thanks for helping us improve CUDA-Q!
⚠️ The pull request title should be concise and understandable for all.
⚠️ If your pull request fixes an open issue, please link to the issue.
Checklist:
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have r... | diff --git a/runtime/nvqir/cudensitymat/CuDensityMatState.cpp b/runtime/nvqir/cudensitymat/CuDensityMatState.cpp
index 92e82113e18..61b47677786 100644
--- a/runtime/nvqir/cudensitymat/CuDensityMatState.cpp
+++ b/runtime/nvqir/cudensitymat/CuDensityMatState.cpp
@@ -55,13 +55,16 @@ CuDensityMatState::overlap(const cudaq:... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `size` variable in the density-matrix branch of overlap() seems redundant; can `dimension` be used directly instead of storing it in `size`?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__3990 | NVIDIA/cuda-quantum | 3,990 | defect | 360f1cc9f821a8df54815e15aeb6d71855475881 | 4b7adff0a4a819d15599a6969fff05a112cc60f3 | [PTSBE] Apply noise style api | PTSBE now supports inline cudaq.apply_noise() in kernels in addition to gate-based noise from a NoiseModel. The noise_model argument to cudaq.ptsbe.sample() is optional. Both styles can be used together.
Usage
- In kernel, use `cudaq.apply_noise(cudaq.DepolarizationChannel, 0.05, q[0])`
- With model, use noise.add... | diff --git a/python/cudaq/runtime/ptsbe.py b/python/cudaq/runtime/ptsbe.py
index cce127c6af3..eca7f43f3e6 100644
--- a/python/cudaq/runtime/ptsbe.py
+++ b/python/cudaq/runtime/ptsbe.py
@@ -18,11 +18,6 @@
def _validate_ptsbe_args(kernel, args, shots_count, noise_model,
max_trajectories):
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Since the PR introduces a new kind of instruction into the trace, it should add a type enum (defaulting to GATE for backwards compatibility) and a corresponding field on the Trace object to allow clean differentiation between gate and noise instructions.", "category": "design", "verdict": "suppo... | null |
NVIDIA__cuda-quantum__4061 | NVIDIA/cuda-quantum | 4,061 | defect | 26b8b8b68acd8dc5a9ff7e200b11c7effe7a5a31 | 03c52d4932f379b210748d968ab25625518e549a | [core] Consolidate all the various QIR verifiers into 1 library. | QIR verification needs to happen at the very tail end of code generation to determine if the original source code actually conforms with the miscellaneous limitations and restrictions of the QIR specification.
This PR collects all the various random places that these verifications are done and consolidates them into... | diff --git a/include/cudaq/Optimizer/CodeGen/Passes.td b/include/cudaq/Optimizer/CodeGen/Passes.td
index e55e6189cb8..a6f1d6eb3a5 100644
--- a/include/cudaq/Optimizer/CodeGen/Passes.td
+++ b/include/cudaq/Optimizer/CodeGen/Passes.td
@@ -156,38 +156,6 @@ def RemoveMeasurements : Pass<"remove-measurements"> {
}];
}
... | 5 | 4 | 2 | [{"id": "G0", "claim": "The declarations of the removed verifier pass machinery (addQIRProfileVerify in Passes.h, createVerifyNVQIRCallOpsPass in Passes.h, and appendDeprecatedVerifier in Pipelines.cpp) should be removed along with their definitions.", "category": "maintainability", "verdict": "supported", "priority": ... | null |
NVIDIA__cuda-quantum__4208 | NVIDIA/cuda-quantum | 4,208 | defect | 5372c6ba9b7890a387b251719835b1d85ef543e1 | 5ec6d9ca2b5df33af3d5952f85259521be30e311 | Use collection of measurements | This PR introduces significant improvements to how multi-qubit measurements are represented and lowered throughout the CUDA-Q compiler stack.
* Use the new type introduced in PR #4204
* Replace the use of `std::vector` for multi-qubit measurement results with the dedicated `!quake.measurements<N>` type.
* Update t... | diff --git a/include/cudaq/Optimizer/Dialect/Quake/QuakeOps.td b/include/cudaq/Optimizer/Dialect/Quake/QuakeOps.td
index 384096d5286..d7f850f5fdc 100644
--- a/include/cudaq/Optimizer/Dialect/Quake/QuakeOps.td
+++ b/include/cudaq/Optimizer/Dialect/Quake/QuakeOps.td
@@ -1064,7 +1064,7 @@ class Measurement<string mnemonic... | 10 | 10 | 2 | [{"id": "G0", "claim": "MeasurementsType should convert to an Array* (array-of-Result) type rather than a bare pointer in the QIRAPI type converter, since a Measurements value is really a short vector of Result* values.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
NVIDIA__cuda-quantum__4232 | NVIDIA/cuda-quantum | 4,232 | defect | c2496f276efa1611f73fada4a2c8c39c9bfc7186 | d9d5b418e50af6d9ca7361838931a5c8b33aeef1 | [Realtime][Testing] Support host dispatch in the `hololink_test` | - Add `--cpu` option to test host dispatch with graph launch.
- Add a helper to set up the host function table for the increment-by-one test function as a graph launch. | diff --git a/docs/sphinx/using/realtime/installation.rst b/docs/sphinx/using/realtime/installation.rst
index b1dd2d6ba19..1a3319462ee 100644
--- a/docs/sphinx/using/realtime/installation.rst
+++ b/docs/sphinx/using/realtime/installation.rst
@@ -70,7 +70,8 @@ The validation includes checking the data correctness and mea... | 1 | 1 | 0 | [{"id": "G0", "claim": "Replace the std::memset of the host mailbox with a direct assignment (config.h_mailbox = nullptr) for clarity, unless the reviewer is missing something.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
NVIDIA__cuda-quantum__425 | NVIDIA/cuda-quantum | 425 | defect | 30f10d35df5fc76c7dd9a35ceefcbb8902e82cea | cf376b4e69a469b05609ae27ee9795fc6fc08504 | Add promote single qubit pass | Add a pass to convert quake allocations of qubit references to
allocations of vectors of size 1. This presents the conversion to QIR in
code gen with a uniform set of allocations.
| diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bdfcfb860d..73928bb919a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@
# the terms of the Apache License 2.0 which accompanies this distribution. #
# ============================================================================ #
-cmake_minimu... | 2 | 2 | 1 | [{"id": "G0", "claim": "Take the bug_qubit.cpp test and add another test case to it that checks the base profile output with FileCheck.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the adjoint instruction suffix to __adj in LowerToQIR.cpp wou... | null |
NVIDIA__cuda-quantum__973 | NVIDIA/cuda-quantum | 973 | defect | 969e86e233275b695f912937a6058606b0f4c548 | 673eec798d14bd85e884600b269e1f281c1c34df | C++17 support | These changes modify the CUDAQ headers such that they can be compiled by a C++ compiler in C++17 mode.
Simplify the diffs in observe.h, sample.h
Fix #971. Do perfect forwarding into the lambda captures instead of passing references. This is required for asynchronous calls.
Augment the tests in NVQPP to use the... | diff --git a/runtime/cudaq.h b/runtime/cudaq.h
index c797fc9d424..69244dd99d8 100644
--- a/runtime/cudaq.h
+++ b/runtime/cudaq.h
@@ -10,7 +10,7 @@
#include "common/NoiseModel.h"
#include "cudaq/qis/qubit_qis.h"
-
+#include "host_config.h"
#include <string>
#include <type_traits>
@@ -118,9 +118,16 @@ std::string... | 6 | 4 | 2 | [{"id": "G0", "claim": "In the C++17 fallback of front(count)/back(count)/slice(...) in qvector.h and qarray.h, `return {qudits(first, last)}` calls the std::vector member as if it had a call operator, which it does not provide; use brace-initialisation of the qview (e.g. `return {first, last}`) instead.", "category": ... | null |
NVIDIA__cuda-samples__379 | NVIDIA/cuda-samples | 379 | defect | 8a9e2c830c8a336b4f48c79e5ed5837031eb8551 | 527b29dbd0dac5ff100e8946997aaf3d54c33958 | Fix null pointer reference issue with cuda driver API function pointer… | We see app crash when CuInit returns failure before initializing all the function pointers. Error path should not crash. PR for failsafe error path. | diff --git a/Samples/0_Introduction/matrixMulDynlinkJIT/cuda_drvapi_dynlink.c b/Samples/0_Introduction/matrixMulDynlinkJIT/cuda_drvapi_dynlink.c
index 8adc4d87a..05048e15c 100644
--- a/Samples/0_Introduction/matrixMulDynlinkJIT/cuda_drvapi_dynlink.c
+++ b/Samples/0_Introduction/matrixMulDynlinkJIT/cuda_drvapi_dynlink.c... | 3 | 3 | 2 | [{"id": "G0", "claim": "cuInit must not proceed when LOAD_LIBRARY fails, since with the error merely stored in result the function would go on to call GetProcAddress on a NULL library handle.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The accumu... | null |
NVIDIA__cudaqx__134 | NVIDIA/cudaqx | 134 | defect | 982df589199094f4f21ef68cf682da3a2accd152 | d625b8a1b3108f148f53f7a06854c5aec95d7acc | Update libraries for `cudaq::spin_op` breaking changes | This PR includes the required CUDA-QX changes that must be applied once https://github.com/NVIDIA/cuda-quantum/pull/2710 (from CUDA-Q) lands.
For that PR, most of the breaking changes are in C++, but a few Python tests needed to be updated as well. Python changes will likely be coming in the near future.
Note tha... | diff --git a/.cudaq_version b/.cudaq_version
index 48223d65b..dd6903519 100644
--- a/.cudaq_version
+++ b/.cudaq_version
@@ -1,6 +1,6 @@
{
"cudaq": {
"repository": "NVIDIA/cuda-quantum",
- "ref": "3ac999f0e34a2e84989c6fc80418f93feec6784f"
+ "ref": "c1a97d7bef51930cf514aae47cc89f3b30c320c5"
}
}
diff -... | 3 | 2 | 1 | [{"id": "G0", "claim": "The PR could keep the space-reserving `spin_op hamiltonian(nodes.size())` constructor instead of the default-constructed operator, since the default constructor still reserves space for the roughly nodes.size() + 3 * non_edges.size() + 1 terms added later.", "category": "performance", "verdict":... | null |
NVIDIA__cudaqx__171 | NVIDIA/cudaqx | 171 | defect | 761b2ca83d27fe2c24275778e2dfc8b96aeaad99 | 60263b52fcddfd021ba3a44c8dcee47f39aedb0d | Add `opt_results` field to `decoder_result` | Hey all,
I’d like to get your thoughts on a proposed change to the `decoder_result` interface. Currently, it holds two values: `converged` and `result`. We’re considering adding a third item — a heterogeneous map — to allow the decoder to return additional outputs such as BP history and BP iterations.
There are tw... | diff --git a/libs/core/include/cuda-qx/core/heterogeneous_map.h b/libs/core/include/cuda-qx/core/heterogeneous_map.h
index 87cd70332..cfbf6f6ec 100644
--- a/libs/core/include/cuda-qx/core/heterogeneous_map.h
+++ b/libs/core/include/cuda-qx/core/heterogeneous_map.h
@@ -39,6 +39,18 @@ class heterogeneous_map {
}
pu... | 4 | 4 | 1 | [{"id": "G0", "claim": "There is no easy way to check equality between two heterogeneous_map objects, so the new decoder_result operator== can only compare whether opt_results is present, leaving two results with different non-empty opt_results comparing equal.", "category": "correctness", "verdict": "supported", "prio... | null |
NVIDIA__cudaqx__186 | NVIDIA/cudaqx | 186 | defect | a8eb2a678529d9f0e5e1f4b21bff1a6881082c9d | 7e111fc93dac222de46144c19c3b96fd5d4178a6 | Add move constructor to `heterogeneous_map` | This PR adds a move constructor and move assignment operator to `heterogeneous_map`, enabling the compiler to move rather than copy the map when it’s returned from a function. This addition should improve performance, particularly when returning large maps such as BP history via `decoder_result`. | diff --git a/libs/core/include/cuda-qx/core/heterogeneous_map.h b/libs/core/include/cuda-qx/core/heterogeneous_map.h
index 1ee192c2e..507b3e284 100644
--- a/libs/core/include/cuda-qx/core/heterogeneous_map.h
+++ b/libs/core/include/cuda-qx/core/heterogeneous_map.h
@@ -59,6 +59,11 @@ class heterogeneous_map {
/// @pa... | 2 | 2 | 0 | [{"id": "G0", "claim": "The explicitly-defined move constructor (and likewise the copy constructor) could be written as `heterogeneous_map(heterogeneous_map &&_other) noexcept = default;` instead, since nothing special is done in them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
NVIDIA__cudaqx__198 | NVIDIA/cudaqx | 198 | defect | 9145645c1d75709c62ec4687198e0840f8f483a1 | 6b117129e4f9af544348412e5507359b6a68ac79 | Create sliding window decoder | This PR creates a new `"sliding_window"` decoder. The new decoder accepts parameters for an inner decoder (and the corresponding inner decoder parameters) over which the sliding window decoder "slides" a decoding window across. | diff --git a/docs/sphinx/api/qec/sliding_window_api.rst b/docs/sphinx/api/qec/sliding_window_api.rst
new file mode 100644
index 000000000..37b8a07c8
--- /dev/null
+++ b/docs/sphinx/api/qec/sliding_window_api.rst
@@ -0,0 +1,119 @@
+.. class:: sliding_window
+
+ The sliding window decoder is a wrapper around a standar... | 22 | 16 | 5 | [{"id": "G0", "claim": "The sliding_window_api.rst docs file is included in the repo but referenced nowhere, and its inclusion in the published website is deferred to a tracked issue.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The NUM_WINDOW_P... | null |
NVIDIA__cudaqx__226 | NVIDIA/cudaqx | 226 | defect | 86d25828d67272a9f9d7906b6b660fecab975dd7 | b27ff4288f5606561753bce2e97d972195e4d7d8 | Add tests for qec lib | Add some test cases to increase the code coverage rate of qec lib to 100%. | diff --git a/libs/core/include/cuda-qx/core/kwargs_utils.h b/libs/core/include/cuda-qx/core/kwargs_utils.h
index e874475fd..86fa574b9 100644
--- a/libs/core/include/cuda-qx/core/kwargs_utils.h
+++ b/libs/core/include/cuda-qx/core/kwargs_utils.h
@@ -67,9 +67,6 @@ inline heterogeneous_map hetMapFromKwargs(const py::kwarg... | 3 | 1 | 0 | [{"id": "G0", "claim": "The PR should not remove the py::dict else-if branch in hetMapFromKwargs that mapped a nested kwargs dict via recursive hetMapFromKwargs.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test confirms but does not fix that the... | null |
NVIDIA__cudaqx__261 | NVIDIA/cudaqx | 261 | defect | 9145645c1d75709c62ec4687198e0840f8f483a1 | edfd88692c92e62c5ba271d7dc55c0bc8953a120 | Fix issue #258: added check and informative error message | This PR fixes issue #258 by adding a validation check on the dimensions of the dem and the error rates and providing a clear, informative error message when the condition is not met. This improves error handling and helps users quickly identify the cause of the problem when the construction is made by hand in a custom ... | diff --git a/libs/qec/lib/detector_error_model.cpp b/libs/qec/lib/detector_error_model.cpp
index cd1f870fd..ec8caded8 100644
--- a/libs/qec/lib/detector_error_model.cpp
+++ b/libs/qec/lib/detector_error_model.cpp
@@ -75,6 +75,16 @@ void detector_error_model::canonicalize_for_rounds(
const auto num_cols = column_orde... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test (Python or C++, not both) that would exercise the new row_indices/error_rates check code.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__cudaqx__281 | NVIDIA/cudaqx | 281 | defect | cbe002f9bd5444e683ef950ceae37732b0333bc2 | 72a71acd3d4aad0f0fcf26f1623b13ee4d706947 | Generalize `single_error_lut` to `multi_error_lut` | This retains the "single_error_lut" decoder and adds a "multi_error_lut" decoder which is essentially the same as the "single_error_lut" but with `lut_error_depth` > 1.
Also fixes #232
Todo: docs need to come in a separate PR. We don't want them to go to main right now since the released version doesn't have thi... | diff --git a/libs/qec/lib/decoders/single_error_lut.cpp b/libs/qec/lib/decoders/single_error_lut.cpp
index b4cd05fd3..eb8ee9b4f 100644
--- a/libs/qec/lib/decoders/single_error_lut.cpp
+++ b/libs/qec/lib/decoders/single_error_lut.cpp
@@ -14,11 +14,14 @@
namespace cudaq::qec {
/// @brief This is a simple LUT (LookUp ... | 4 | 4 | 0 | [{"id": "G0", "claim": "Add a note that the decoder's returned opt_results values are for demonstrating usage of opt_results only and are not all meaningful (decoding_time being the exception).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The ... | null |
NVIDIA__cudaqx__319 | NVIDIA/cudaqx | 319 | defect | 333a06c32ad33b41b80253ea73fa6ad50c679c40 | 11dc223bfff6644bb348fa3cf64acb74537a2b0e | Add uccgsd ansatz | In this PR:
1- We added UCCGSD in operator_pools for algorithm such as ADAPT-VQE
2- We added UCCGSD in stateprep for algorithm such as VQE | diff --git a/libs/solvers/include/cudaq/solvers/operators/operator_pools/uccgsd_operator_pool.h b/libs/solvers/include/cudaq/solvers/operators/operator_pools/uccgsd_operator_pool.h
new file mode 100644
index 000000000..8690c4cc7
--- /dev/null
+++ b/libs/solvers/include/cudaq/solvers/operators/operator_pools/uccgsd_oper... | 9 | 6 | 4 | [{"id": "G0", "claim": "The author must run `bash scripts/run_clang_format.sh` so the code formatting check passes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The single/double excitation operator-building lambdas are duplicated between the pool and... | null |
NVIDIA__cudaqx__331 | NVIDIA/cudaqx | 331 | defect | f0e4d55b573d25ae64714d48713905b95ccf729d | a1e9ad7e92d3902c2e42607a36ab0fb89a511931 | Misc fixes for various build/test environments | * Allow the build to skip the TensorRT-based decoder if the user explicitly disables it. (Useful for developer testing.)
* Fix a build warning from the UCCGSD test
* Also, skip the `libs/solvers/python/tests/test_uccgsd.py::test_solvers_vqe_uccgsd_lih` test in CPU-only environments (like some of our CI) because it wa... | diff --git a/Building.md b/Building.md
index 3f05704f9..11b2468a9 100644
--- a/Building.md
+++ b/Building.md
@@ -40,12 +40,14 @@ git clone https://github.com/NVIDIA/cudaqx.git
cd cudaqx
mkdir build && cd build
-# Configure your build (adjust as necessary)
+# Configure your build (adjust as necessary). Note TRT requ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The Building.md cmake example lacks a line-continuation backslash after -DCMAKE_BUILD_TYPE=Release, so running the documented command as shown yields a '-DCUDAQ_QEC_BUILD_TRT_DECODER=OFF: command not found' error.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": ... | null |
NVIDIA__cudaqx__35 | NVIDIA/cudaqx | 35 | defect | d34d20c14c7bde5164094dce01f066da83a7ab60 | f048bc7e34ef7e5cf75e0717915cf4a1337b73ab | Bravyi-Kitaev implementation | This is the implementation of the Bravyi-Kitaev fermionic transformation. The was largely a translation from the OpenFermion BK python implementation into C++:
https://github.com/quantumlib/OpenFermion/blob/master/src/openfermion/transforms/opconversions/bravyi_kitaev.py | diff --git a/libs/solvers/include/cudaq/solvers/operators/molecule/fermion_compilers/bravyi_kitaev.h b/libs/solvers/include/cudaq/solvers/operators/molecule/fermion_compilers/bravyi_kitaev.h
new file mode 100644
index 000000000..217ac6446
--- /dev/null
+++ b/libs/solvers/include/cudaq/solvers/operators/molecule/fermion... | 9 | 9 | 0 | [{"id": "G0", "claim": "The first line of bravyi_kitaev.h should read \"/***- C++ -*-****\" like the other files' headers.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The header of bravyi_kitaev.h should be identical to the other files' standar... | null |
NVIDIA__cudaqx__387 | NVIDIA/cudaqx | 387 | defect | 9ed56854ddea790f7fbe0cbe6a7ad0049b74fc62 | 55657f734151e205221c4c44455b767020404363 | Add Coupled Exchange Operator (CEO) pool | This PR adds the Coupled Exchange Operator (CEO) pool, and makes it available both for operator pools and state preparation.
CEO are based on qubit excitation operators, which are the equivalent of the UCCGSD excitation operators but without the Z parity strings (thereby making for simpler circuits). In addition, in... | diff --git a/docs/sphinx/components/solvers/introduction.rst b/docs/sphinx/components/solvers/introduction.rst
index 26b8287c6..b9d273e30 100644
--- a/docs/sphinx/components/solvers/introduction.rst
+++ b/docs/sphinx/components/solvers/introduction.rst
@@ -509,6 +509,12 @@ CUDA-QX provides several pre-built operator po... | 2 | 1 | 1 | [{"id": "G0", "claim": "Minor typo: the comment below generate_ceo_alpha_singles() reads \"Generate all beta single excitation\", and the reviewer asks that all similar spots in the file be checked.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Non... | null |
NVIDIA__cudaqx__396 | NVIDIA/cudaqx | 396 | defect | 599ade11bbdc42296ba52c2016ffd9d5f73da24a | f0401d1c4a2754b91ad6ee79d6eeacf76dcc7487 | Create PyMatching decoder plugin | This PR introduces a PyMatching decoder plugin to the CUDA-Q QEC library.
Ref: https://github.com/oscarhiggott/PyMatching
## Summary
The new PyMatching decoder plugin integrates the PyMatching library into the CUDA-Q QEC framework. It allows users to decode syndromes using MWPM by simply requesting the decoder... | diff --git a/libs/qec/lib/CMakeLists.txt b/libs/qec/lib/CMakeLists.txt
index 73aa4b896..86b4e5dde 100644
--- a/libs/qec/lib/CMakeLists.txt
+++ b/libs/qec/lib/CMakeLists.txt
@@ -25,6 +25,7 @@ add_library(${LIBRARY_NAME} SHARED
)
add_subdirectory(decoders/plugins/example)
+add_subdirectory(decoders/plugins/pymatching... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test contains a leftover debug print statement (print(syndrome)) that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "edge2col_idx.at(edge) may throw std::out_of_range if PyMatching ever returns an u... | null |
NVIDIA__cudaqx__452 | NVIDIA/cudaqx | 452 | defect | 55812422b470081a8c13dc14170383a8db1f2287 | 3029dccbc27db64678e247492bec6fb66bfad7d0 | Fix mixer forwarding | Fix MPI implementation | Add test cases | Fix mixer (referenceHamiltonian) forwarding in qaoa Python binder.
Fix MPI implementation in adapt simulator.
Add test cases to validate the above modifications. | diff --git a/.github/workflows/all_libs.yaml b/.github/workflows/all_libs.yaml
index 5aec49fc8..d9a3bfcb6 100644
--- a/.github/workflows/all_libs.yaml
+++ b/.github/workflows/all_libs.yaml
@@ -95,6 +95,8 @@ jobs:
# ========================================================================
#
- name: R... | 4 | 4 | 2 | [{"id": "G0", "claim": "The PR's new MPI tests cause CI failures in environments without (full) MPI support: the Build wheels job errors with 'RuntimeError: No MPI support' at import of the new pytest, and the per-PR job fails because the UCX PML is unsupported on the CPU-only runner; bmhowe23 asked the author to inves... | null |
NVIDIA__cudaqx__460 | NVIDIA/cudaqx | 460 | defect | 67205bf20142f2a50bc1a4c911da34e433d5f6a8 | 18d9dde6dd4e3f14418de25a2d004793e3640a44 | Fix BK transformation | Fix JW parity Z-chain | Add test cases | Use this PR.
Ignore the closed PR 459.
Fix BK transformation Case 4 and Case 5.
Fix JW parity Z-chain calculation.
Add test cases to validate the fixes. | diff --git a/libs/solvers/lib/operators/molecule/fermion_compilers/bravyi_kitaev.cpp b/libs/solvers/lib/operators/molecule/fermion_compilers/bravyi_kitaev.cpp
index eae473e9b..1861bd75c 100644
--- a/libs/solvers/lib/operators/molecule/fermion_compilers/bravyi_kitaev.cpp
+++ b/libs/solvers/lib/operators/molecule/fermion... | 1 | 1 | 0 | [{"id": "G0", "claim": "Change the file mode of libs/solvers/unittests/test_molecule.cpp from 755 to 644 (i.e. remove the executable flag).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
NVIDIA__cudaqx__497 | NVIDIA/cudaqx | 497 | defect | 84d18ca948a8582afe54035c85e2aceb3f3bee19 | f65f10189071de15506df12940b2b2b8f77bb3de | [docs] Add Predecoder Decoding with CUDA-Q Realtime | Docs for the realtime predecoder / PyMatching demo | diff --git a/docs/sphinx/components/qec/introduction.rst b/docs/sphinx/components/qec/introduction.rst
index 3297ed763..ecea30d5b 100644
--- a/docs/sphinx/components/qec/introduction.rst
+++ b/docs/sphinx/components/qec/introduction.rst
@@ -861,6 +861,7 @@ Additional quantum gates can be applied, and only when `get_cor... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docs' claim that the d13_r104 model requires approximately 1 GB of GPU memory per predecoder instance may not be based on a real measurement and should be verified.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__cudaqx__61 | NVIDIA/cudaqx | 61 | defect | 757268ada51a240a3371193b655a5d40b5e7498c | 1a162a8761283763472f0c57310e6b35cb2d9c17 | First shot memory | Change the API of `qec::sample_memory_circuit` to return nRounds of data as opposed to nRounds - 1 of data. Along with returning nRounds - 1 of xor'd syndrome data, the initial unxor'd shot is also returned first. | diff --git a/docs/sphinx/components/qec/introduction.rst b/docs/sphinx/components/qec/introduction.rst
index 1ca03f83c..a54b458aa 100644
--- a/docs/sphinx/components/qec/introduction.rst
+++ b/docs/sphinx/components/qec/introduction.rst
@@ -658,20 +658,22 @@ Usage Example
import cudaq_qec as qec
# G... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment on the added `op=qec.operation.prep1,` line in the Python memory-circuit example should be spaced one column further right so it aligns with the surrounding comments, per the suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
NVIDIA__cudaqx__68 | NVIDIA/cudaqx | 68 | defect | f4b4a1eba3525db6afe03e5a8004e71edf82df02 | ceaa17be7424ab9294803b43e0ae0196a75db21f | Add python binding for decoder apis | Expose the following two functions to python:
`virtual std::future<decoder_result> decode_async(const std::vector<float_t> &syndrome);`
`virtual std::vector<decoder_result> decode_multi(const std::vector<std::vector<float_t>> &syndrome);`
| diff --git a/libs/qec/python/bindings/py_decoder.cpp b/libs/qec/python/bindings/py_decoder.cpp
index 11b678954..3fee8a973 100644
--- a/libs/qec/python/bindings/py_decoder.cpp
+++ b/libs/qec/python/bindings/py_decoder.cpp
@@ -133,6 +133,21 @@ void bindDecoder(py::module &mod) {
},
"Decode the given... | 1 | 1 | 1 | [{"id": "G0", "claim": "The python-side `decode_async` binding is a blocking call, and the interface should be made truly non-blocking, e.g. by mimicking the non-blocking implementation in py_sample_async.cpp.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__cudaqx__7 | NVIDIA/cudaqx | 7 | defect | 044539b4e3684690000eac6340fcb88e96c26700 | 78c4a32dc2c39af00d59007f4a48bcd7b58928d6 | Add Surface Code | This PR adds the `cudaq::qec::surface_code` namespace which includes the `surface_code` type and the `stabilizer_grid` helper class. The `stabilizer_grid` generates the 2d layout of the stabilizers, and which data qubits each stabilizer has support on. Lastly it generates the stabilizers and observables as vectors of `... | diff --git a/docs/sphinx/api/core/cpp_api.rst b/docs/sphinx/api/core/cpp_api.rst
index c400ea23d..6d323af33 100644
--- a/docs/sphinx/api/core/cpp_api.rst
+++ b/docs/sphinx/api/core/cpp_api.rst
@@ -11,34 +11,36 @@ Namespaces
:desc-only:
.. doxygennamespace:: cudaq::qec::steane
:desc-only:
+.. doxygennamespace... | 11 | 9 | 2 | [{"id": "G0", "claim": "The state-prep kernels assume freshly zeroed qubits; prep0 should begin with a round of resets (and prep1 call prep0) so preparation works in the middle of a larger kernel execution.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
NVIDIA__cudaqx__89 | NVIDIA/cudaqx | 89 | defect | 5ff20e348c099a258bf0147d978ce628f9f2cad4 | a03d820adfbed79b3560d5f882be73aa3222edf0 | Use explicit measurements for memory circuit experiments | This PR makes use of a new CUDA-Q feature that speeds up our QEC workloads when using Stim as the target simulator. These changes allow all the shots to be generated in a single execution of the quantum kernel.
Ref: https://github.com/NVIDIA/cuda-quantum/pull/2567 | diff --git a/.cudaq_version b/.cudaq_version
index ba82ad399..d4796fb0b 100644
--- a/.cudaq_version
+++ b/.cudaq_version
@@ -1,6 +1,6 @@
{
"cudaq": {
"repository": "NVIDIA/cuda-quantum",
- "ref": "76ffe23f402c230dc4b25de198142098124392c5"
+ "ref": "1e8c97d71baee9fcff57813063492e7ae1f6b559"
}
}
diff -... | 5 | 2 | 0 | [{"id": "G0", "claim": "The new bitstring-based tensor construction API may conflict with the tensor spec, and the author asks whether it does before merging.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new bitstring APIs (tensor_impl::get from bi... | null |
NVIDIA__earth2studio__344 | NVIDIA/earth2studio | 344 | defect | e523a9ff907006564ae2f6f7c7b3f670e05bf1b3 | 6cbbbf557706c324a77460f3f3f2604f6a4d3d5a | Fea climate in a bottle super resolution | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
## Checklist
- [ ] I a... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2febc1271..02a5b05a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added SolarRadiationAFNO diagnostic model for predicting surface solar radiation
- Added DataArrayPathLi... | 5 | 5 | 4 | [{"id": "G0", "claim": "Rename the CBottleSR install tab-item to just CBottle since all cBottle interfaces will use it, and add a note that additional dependencies are needed for the CBottle3D data source, CBottleInfill diagnostic and CBottleSR diagnostic.", "category": "documentation", "verdict": "supported", "priorit... | null |
NVIDIA__earth2studio__482 | NVIDIA/earth2studio | 482 | defect | e6420cb886bab87ec064a91ffa6b57cc0b733c05 | d6b226ef780d03f15b21f3bd5e6d5e427137279d | Adding tp06 & vertical velocity to CDS data source | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Three major additions to ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 203368bcd..155fc6102 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added vertical wind speed support in GFS
- Added ModelOutputDatasetSource to use written model output to... | 8 | 3 | 1 | [{"id": "G0", "claim": "Adding the Google-invariant fields (geopotential at surface, land-sea mask) to the CDS data source intermixes datasets between data sources; the maintainer objects to that functionality in the CDS data source and proposes instead cooking the invariants into the model package, in a separate PR.",... | null |
NVIDIA__earth2studio__519 | NVIDIA/earth2studio | 519 | defect | d314dfdb210655ab422ce4f24e0025b471c2d4a0 | bfcdc086fef1252b3472ef2b9964bc24c93e0ac2 | Add proper HRRR coordinates | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
This PR adds the original HRRR coordinates to the HRRR data source so that the data can be loaded in GIS applications. For example, a user can add the HRRR CRS and then open the file in QGIS:
```
data = HRRR()
time = [datetime(202... | diff --git a/earth2studio/data/hrrr.py b/earth2studio/data/hrrr.py
index 5c5a54ae0..d94416600 100644
--- a/earth2studio/data/hrrr.py
+++ b/earth2studio/data/hrrr.py
@@ -112,8 +112,8 @@ class HRRR:
HRRR_BUCKET_NAME = "noaa-hrrr-bdp-pds"
MAX_BYTE_SIZE = 5000000
- HRRR_X = np.arange(1799)
- HRRR_Y = np.a... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new HRRR_X/HRRR_Y coordinate values should come with a linked reference (URL) documenting where they come from.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A one-line changelog entry describing the HRRR coordinate up... | null |
NVIDIA__earth2studio__526 | NVIDIA/earth2studio | 526 | defect | 9d921f7e187ed5c19f77786f7430828f137a7842 | e05aec1103c0113c9032a862ab4091f328956b76 | Support model levels and additional vars in ARCO | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
Adds support for native ERA5 model levels in the ARCO data source, along with some docs update on the proper terminology for vertical levels. Also adds miscellaneous extra variables useful for ACE2
## Checklist
- [x] I am familiar ... | diff --git a/docs/userguide/advanced/lexicon.md b/docs/userguide/advanced/lexicon.md
index f1792bc5b..f3ba7d4a1 100644
--- a/docs/userguide/advanced/lexicon.md
+++ b/docs/userguide/advanced/lexicon.md
@@ -5,7 +5,7 @@
As discussed in detail in the {ref}`data_userguide` section, Earth2Studio tracks the
geo-physical rep... | 1 | 1 | 1 | [{"id": "G0", "claim": "The model-level zarr store and its level coordinates initialized in _async_init appear to be never used anywhere, so the reviewer asks where (and whether) they are used.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__earth2studio__541 | NVIDIA/earth2studio | 541 | defect | 6ef93e6459869077fb9e4ca5d989a11730bcd7ee | 0c7fe81995c1f3d67c12563054df488ad4101cac | GFS Fix for early dates | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Closes: https://github.co... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ac891986..a8a04bf5a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed typo: InferenceOuputSource renamed to InferenceOutputSource
- StormCast ensures that conditioning ... | 3 | 2 | 0 | [{"id": "G0", "claim": "The comment in _grib_index_uri says \"May 23 2021\" while the code checks March 23, and the correct cutoff date should be confirmed and the comment fixed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class docstring s... | null |
NVIDIA__earth2studio__555 | NVIDIA/earth2studio | 555 | defect | 4c341552147fde44cd6c741341562a5de34ba591 | e9e89cba496217ae083e9e124d8607066e5af7dd | Graphcast input updates | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Updating graphcast models... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9538c401e..8133bf286 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Removed tp06 field from Graphcast operational model
+- Removed static fields from Graphc... | 1 | 1 | 1 | [{"id": "G0", "claim": "GraphCastSmall loads land_sea_mask and geopotential_at_surface from a 0.25-degree resolution file (721x1440) while the model expects 1-degree resolution (181x360), which will cause a shape mismatch at runtime; use the 1-degree file instead.", "category": "correctness", "verdict": "supported", "p... | null |
NVIDIA__earth2studio__556 | NVIDIA/earth2studio | 556 | defect | 4746ccc447e27b120094c9274c904f8569140ba2 | 0c5a69ff94277d3f4d4fc8b1ad3aae61ca8f1620 | Add MRMS data source | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
Adds a data source for MRMS data, providing just composite reflectivity for now. Files are compressed grib, downloaded from AWS bucket: https://noaa-mrms-pds.s3.amazonaws.com/index.html
Eye candy:
<img width="4500" height="3000" alt=... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96682801a..2636391e7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added general PlanetaryComputerData source for pulling Planetary Computer STAC assets
+- Add... | 10 | 10 | 3 | [{"id": "G0", "claim": "The output DataArray attaches the GRIB field's lat/lon coordinates under dimensions renamed to lat/lon, which will fail when xarray tries to align the coordinates; the reviewer asks to follow the HRRR pattern to define the 2D coordinates properly.", "category": "correctness", "verdict": "support... | null |
NVIDIA__earth2studio__565 | NVIDIA/earth2studio | 565 | defect | 435ed830bc40838e47d9fe2e5878a6429a4f57cd | e19c845e7ed1662c7c479b4ac4b9bd9be04aaad7 | ECMWF data source updates | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
This PR does some renamin... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index adefc312b..555d140cf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,12 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added general PlanetaryComputerData source for pulling Planetary Computer STAC assets
- Added ECMWF AI... | 3 | 3 | 1 | [{"id": "G0", "claim": "The IFS class must implement the abstract _validate_leadtime method; without an implementation instantiating IFS raises a TypeError (the suggestion adds a minimal check that IFS initial state supports only lead time 0).", "category": "correctness", "verdict": "supported", "priority": "P0", "scop... | null |
NVIDIA__earth2studio__566 | NVIDIA/earth2studio | 566 | defect | 435ed830bc40838e47d9fe2e5878a6429a4f57cd | 526fd196edfe5978d90246835e180de6b7f12fa8 | Improve CorrDiff base class | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
This PR improves the CorrDiff base class with stricter validation, explicit configuration, and better extensibility for subclasses. These are general-purpose improvements that benefit all CorrDiff model wrappers.
### Changes
#### 1... | diff --git a/earth2studio/models/dx/corrdiff.py b/earth2studio/models/dx/corrdiff.py
index eccbafb59..8dd6455db 100644
--- a/earth2studio/models/dx/corrdiff.py
+++ b/earth2studio/models/dx/corrdiff.py
@@ -16,8 +16,10 @@
import json
import zipfile
-from collections import OrderedDict
+from collections import Counter... | 8 | 7 | 5 | [{"id": "G0", "claim": "self.invariant_variables is set in __init__ but then overwritten in _register_buffers, making the assignment redundant and potentially confusing; it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "self.i... | null |
NVIDIA__earth2studio__583 | NVIDIA/earth2studio | 583 | defect | 64e1d510d2a1baa2841617e1349ed9e9723c52bd | c430f10efbef0a187928df6588f01d9acf2eaf63 | NOAA Integrated Surface Database | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Adds NOAA ISD as a data f... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 29e7e559d..b1a3ae7a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added MRMS data source
- Added IFS and IFS-ENS initial state datasources
- Local datasource example
+- ... | 17 | 12 | 3 | [{"id": "G0", "claim": "In ISD.fetch the task creation order does not match the processing loop order, so when multiple stations and times are requested the fetched dataframes get assigned to the wrong station/time pairs (wrong data results).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope... | null |
NVIDIA__earth2studio__601 | NVIDIA/earth2studio | 601 | defect | 5e38300f7d3babc6f42bef14d8e7baec1745d2dd | fc62582f0bd645e0dc2f2f487d66f262887260fb | Add DerivedTCWV diagnostic for TCWV calculation | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
This PR adds a new diagno... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5bca83c23..f6a647a78 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
+- Added diagnostic for total column water vapor (TCWV) from specific humidity and
+ surface... | 2 | 1 | 0 | [{"id": "G0", "claim": "The tests for DerivedTCWV validate shapes and zero input but lack numerical accuracy checks for the trapezoidal integration; a test case with constant q and a known pressure range, whose analytical TCWV can be computed, should be added to verify integration accuracy.", "category": "testing", "ve... | null |
NVIDIA__earth2studio__618 | NVIDIA/earth2studio | 618 | defect | ac91d8300b2e84fd97a7ec4d9d0b51bbb15ab297 | 2fbe5dcec49eda31734a9b665504c0bb14d3bcd2 | AIFS-ENS fix for batch sizes > 1 | For batch sizes > 1 AIFS failed due to dimension mismatch https://github.com/NVIDIA/earth2studio/blob/ac91d8300b2e84fd97a7ec4d9d0b51bbb15ab297/earth2studio/models/px/aifsens.py#L781. Fix is to squeeze dimension 1, which for y is always of length 1.
Previously, the unit test did not catch this as
1) the `PhooAIFSEN... | diff --git a/earth2studio/models/px/aifsens.py b/earth2studio/models/px/aifsens.py
index 1e7619fc9..f37e0ec51 100644
--- a/earth2studio/models/px/aifsens.py
+++ b/earth2studio/models/px/aifsens.py
@@ -778,7 +778,7 @@ def _forward(
:,
1,
]
- out[..., 1, :, self.m... | 1 | 1 | 1 | [{"id": "G0", "claim": "AIFS ENS with batch size 2 runs out of memory (OOM issues), so the CI cannot pass on an 80GB card with the ensemble=2 test cases this PR adds.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NVIDIA__earth2studio__628 | NVIDIA/earth2studio | 628 | defect | 2a08af7e06c7eac8dfc3f724909012e308f2e8ec | 6c09739a4800e5564b42638fd58e093c11815006 | Planetary Computer ECMWF Open Data IFS data source | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
Adds a data source for the ECMWF Open Data IFS repository on Planetary Computer so that global weather models can be initialized from Planetary Computer.
## Checklist
- [x] I am familiar with the [Contributing Guidelines](https://g... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8f61651f..5071a5358 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added derived TCWV diagnostic model
+- Added Planetary Computer data source for ECMWF IFS an... | 11 | 10 | 3 | [{"id": "G0", "claim": "Splitting the dataset key with spec.dataset_key.split(\"::\") and unpacking into three variables fails with ValueError because lexicon keys split into 4-5 parts.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The lexicon maps... | null |
NVIDIA__earth2studio__687 | NVIDIA/earth2studio | 687 | defect | b1f856388f7665e2cd1942e90d6460dcebffb7ba | 7cf666a066b2d0393f722f7b993e15c6847260b7 | tiling and concatinating tensors | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
added methods to concatenate tensors and to tile tensors. see example in docstring of tile_xx_to_yy
## Checklist
- [x] I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/earth2studio/blob/main/CONTRIBUTING.m... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 548aa05a3..243567d9a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,10 +15,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added Earth2Studio base schema for dataframe sources
- Added Planetary Computer data source for ECMWF ... | 3 | 2 | 1 | [{"id": "G0", "claim": "cat_coords validates only that the dims present in cox (excluding dim) match in coy, and does not check that coy has no additional non-concatenated dims or that the coord key order matches, so mismatches surface as a PyTorch shape mismatch error instead of a clear coord-system error; it should a... | null |
NVIDIA__earth2studio__699 | NVIDIA/earth2studio | 699 | defect | 630e2b0f1de9775cbddd3f02cb30881831ebe9fe | e1145836b0a5d2570f86500d8c577c99c5437700 | PlanetaryComputerGOES data source | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
Adds a data source for https://planetarycomputer.microsoft.com/dataset/goes-cmi
For use with StormScope on Microsoft Foundry/Planetary Computer.
PlanetaryComputerGOESLexicon is currently identical to GOESLexicon, but I think making... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 548aa05a3..10618bc48 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added Earth2Studio base schema for dataframe sources
- Added Planetary Computer data source for ECMWF IF... | 6 | 3 | 1 | [{"id": "G0", "claim": "The IFS data source added in an earlier PR may suffer from the same tzinfo problem (mixing tz-aware and naive datetimes) that this PR's test changes surfaced.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Removing max_item... | null |
NVIDIA__earth2studio__705 | NVIDIA/earth2studio | 705 | defect | 4ec7e65cc810f68cfe8f86e96c65fb48df8959a5 | aca1a20a6e228f9d85ed97cbdf7696dc3458e297 | Adding support for separate model (package) and data locations | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Closes: https://github.co... | diff --git a/docs/userguide/about/install.md b/docs/userguide/about/install.md
index b981ebdb9..443c8fe7b 100644
--- a/docs/userguide/about/install.md
+++ b/docs/userguide/about/install.md
@@ -861,8 +861,13 @@ use case.
Earth2Studio uses a few environment variables to configure various parts of the package.
The impor... | 3 | 1 | 0 | [{"id": "G0", "claim": "The EARTH2STUDIO_MODEL_CACHE bullet added to docs/userguide/about/install.md is indented with extra spaces compared to the EARTH2STUDIO_DATA_CACHE bullet, and that indentation should be fixed for consistency.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "intr... | null |
NVIDIA__earth2studio__715 | NVIDIA/earth2studio | 715 | defect | 8175be7cb556a9f037ba08410653214a1061f12a | c294ef1595429bc1175c75681928a3ee4c88f7e6 | Adding util fetch_dataframe function | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Adds a fetch util for get... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 36273bd9f..531357289 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed available date for ARCO data source to be dynamically updated
- Changed ISD data frame return to... | 4 | 2 | 0 | [{"id": "G0", "claim": "The return annotations reference `cudf.DataFrame` while `cudf` is conditionally imported and may be `None`, so the annotations are suggested to be changed to avoid referencing it.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
NVIDIA__earth2studio__720 | NVIDIA/earth2studio | 720 | defect | 8175be7cb556a9f037ba08410653214a1061f12a | 7e15172077362638c749e8c3e7e42ff4a8a32bf6 | Add Energy Score metric for multivariate ensemble verification | <!-- markdownlint-disable MD013-->
## Description
Add [energy_score](cci:2://file://wsl.localhost/Ubuntu/home/abhay/earth2studio/earth2studio/statistics/energy_score.py:23:0-206:30) class to `earth2studio.statistics` module implementing the multivariate generalization of CRPS (Continuous Ranked Probability Score)... | diff --git a/earth2studio/statistics/__init__.py b/earth2studio/statistics/__init__.py
index 13bf2a7cb..2952920cc 100644
--- a/earth2studio/statistics/__init__.py
+++ b/earth2studio/statistics/__init__.py
@@ -18,6 +18,7 @@
from .base import Metric, Statistic
from .brier import brier_score
from .crps import crps
+fro... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR checklist indicates CHANGELOG.md should be updated but the pull request made no changes to it; consider adding an entry to the \"Added\" section of version 0.13.0a0.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__earth2studio__747 | NVIDIA/earth2studio | 747 | defect | 37649fa1d5073e639be94df32905bb3da475d5c8 | 838660fa523251d6abcc3e9cd75b94db51a9fee4 | Clean up ECMWF data sources | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
The ECMWF data sources had some additional, unused code and xarray coords were not cleanly removed. Changes:
* Rename _call to fetch and remove the previously unused fetch methods
* Rename "sample" to "ensemble" for consistency with ot... | diff --git a/earth2studio/data/ecmwf.py b/earth2studio/data/ecmwf.py
index 290c0c370..82a3813a9 100644
--- a/earth2studio/data/ecmwf.py
+++ b/earth2studio/data/ecmwf.py
@@ -140,17 +140,7 @@ def __call__( # type: ignore[override]
"""Retrieve ECMWF data. The child class should override this"""
pass
-... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `# type: ignore[override]` comment on the new `def fetch` is a leftover suppression that no longer applies once the abstract `async def fetch` is removed from the base class, and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
NVIDIA__earth2studio__750 | NVIDIA/earth2studio | 750 | defect | 51d474dc0ed5f09c86a8f635ea05b5e3f154b46a | cc20b96f57c617396ba5c3af4ca232a9457c608d | Add the ensemble workflow to the serve examples. |
<!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
* Adds an ensemble custom workflow in example_workflows to be called via the REST APIs.
* Also adds fcn3 as an option for the deterministic workflow.
* Updates the profiling information json for all the workflows to be more accurat... | diff --git a/Makefile b/Makefile
index 8d6efa653..85d816db6 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ docs-dev:
# Example DOCKER_REPO?=nvcr.io/dycvht5ows21
E2S_RELEASE_TAG?=0.12.0
E2S_IMAGE_NAME=$(DOCKER_REPO)/earth2studio-scicomp
-E2S_IMAGE_TAG=v$(E2S_RELEASE_TAG).20260311.0
+E2S_IMAGE_TAG=v$(E2S_REL... | 4 | 2 | 2 | [{"id": "G0", "claim": "The default forecast_times value \"2024-01-01\" is a date-only string that the base WorkflowParameters.validate_datetime_list validator rejects, so any API call that omits forecast_times and relies on the default immediately fails with a ValueError, and the field description saying \"ISO or YYYY... | null |
NVIDIA__earth2studio__751 | NVIDIA/earth2studio | 751 | defect | 51d474dc0ed5f09c86a8f635ea05b5e3f154b46a | 28e06e9334fe9194bc4f9003ec66e76394aa3eba | UFS tolerance update | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Updates tolerance in the ... | diff --git a/.cursor/rules/e2s-000-python-style-guide.mdc b/.cursor/rules/e2s-000-python-style-guide.mdc
index d885e42a2..e91f8b7c7 100644
--- a/.cursor/rules/e2s-000-python-style-guide.mdc
+++ b/.cursor/rules/e2s-000-python-style-guide.mdc
@@ -26,6 +26,7 @@ This rule enforces the coding standards for Earth2Studio as d... | 6 | 4 | 1 | [{"id": "G0", "claim": "The docstring code examples for UFSObsConv and UFSObsSat in earth2studio/data/ufs.py still pass the old `tolerance=` keyword, so a user copying them verbatim will get a TypeError after the rename to `time_tolerance`.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope... | null |
NVIDIA__earth2studio__790 | NVIDIA/earth2studio | 790 | defect | 0ada171f7aef38d027359bfafe9e01331eee56f0 | 9854de686026429203b545a38914abf1feb31e9a | CAMs Global FX Datasource | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Clean up and getting test... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9468241d2..515f0b026 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added GenCast 1 degree Mini model
+- Added CAMS Global atmospheric composition forecast data... | 3 | 2 | 1 | [{"id": "G0", "claim": "_validate_time accepts any on-the-hour time, but CAMS Global forecasts are only produced at 00:00 and 12:00 UTC, so a caller passing e.g. 06:00 passes the guard and then fails deep inside _download_cams_netcdf with an opaque CAMS API error instead of a clear ValueError.", "category": "correctnes... | null |
NVIDIA__earth2studio__806 | NVIDIA/earth2studio | 806 | defect | a21992b27821601274d4dec934ddeb4973646f1e | e5bb2e85023b851f5f2a65f3234830ea60c62311 | Add NClimGrid data source with lexicon and test coverage | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
This PR adds support for the NClimGrid dataset as a new Earth2Studio data source.
### Key features
- Implements NClimGrid data loader using NOAA NODD S3 bucket
- Adds canonical variable mapping via `NClimGridLexicon`
- Supports flexible ti... | diff --git a/earth2studio/data/nclimgrid.py b/earth2studio/data/nclimgrid.py
new file mode 100644
index 000000000..045936c37
--- /dev/null
+++ b/earth2studio/data/nclimgrid.py
@@ -0,0 +1,371 @@
+import logging
+import os
+from datetime import datetime
+from pathlib import Path
+from typing import Any
+
+import numpy as... | 5 | 5 | 3 | [{"id": "G0", "claim": "earth2studio/data/nclimgrid.py is missing the required Apache-2.0 SPDX license header, so the /license compliance check will fail and block merging.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "earth2studio/lexicon/nclimgri... | null |
NVIDIA__earth2studio__808 | NVIDIA/earth2studio | 808 | defect | 1cf44370455e86d05fff516c1110747b0d008328 | 5814ce23fa567a0e2e57c13a9b622aad7f372818 | Add AIRS to UFS data source | ## Summary
- Add AIRS (Aqua satellite), CrIS (FSR), IASI, AMSUA, AMSUB, and MHS entries to `E2STUDIO_VOCAB` base lexicon with instrument descriptions
- Add `airs` variable to `GSISatelliteLexicon` mapped to the `aqua` platform and add `aqua` to `VALID_SATELLITES` in `UFSObsSat`
| diff --git a/earth2studio/data/ufs.py b/earth2studio/data/ufs.py
index 2e55c2ccf..397d99746 100644
--- a/earth2studio/data/ufs.py
+++ b/earth2studio/data/ufs.py
@@ -605,6 +605,7 @@ class UFSObsSat(_UFSObsBase):
SOURCE_ID = "earth2studio.data.UFSObsSat"
VALID_SATELLITES = frozenset(
[
+ "aq... | 1 | 1 | 1 | [{"id": "G0", "claim": "Renaming \"crisfsr\" to \"cris\" in GSISatelliteLexicon.VOCAB without a deprecated alias or descriptive error silently breaks existing callers that pass \"crisfsr\" as a variable ID to UFSObsSat, which will raise KeyError after upgrading.", "category": "correctness", "verdict": "supported", "pri... | null |
NVIDIA__earth2studio__818 | NVIDIA/earth2studio | 818 | defect | 23029b0d98f26885e9d98475cf0d651a60f06a57 | d30c3834f0a25ba832535c152e49c3df6c05f238 | Add MTG datasource | ## Summary
- Adds `MTG` — a `DataSource` for EUMETSAT MTG-I FCI Level-1C Full Disk (FDHSI) calibrated effective radiance from the Meteosat Third Generation geostationary satellite
- Downloads on demand from the EUMETSAT Data Store via `eumdac`, extracts only the BODY segment files needed for the requested spatial e... | diff --git a/earth2studio/data/__init__.py b/earth2studio/data/__init__.py
index 709116910..01895c392 100644
--- a/earth2studio/data/__init__.py
+++ b/earth2studio/data/__init__.py
@@ -26,6 +26,7 @@
from .gefs import GEFS_FX, GEFS_FX_721x1440
from .gfs import GFS, GFS_FX
from .goes import GOES
+from .mtg import MTG
... | 4 | 4 | 2 | [{"id": "G0", "claim": "The `_OPERATIONAL_START` constant is set to 2024-10-01 while `available()`'s docstring, the PR description and `test_mtg_available` all use 2024-01-16 as the operational-start boundary, so `available(datetime(2024, 1, 16, tzinfo=timezone.utc))` returns False and the unit test fails as-is; the co... | null |
NVIDIA__earth2studio__821 | NVIDIA/earth2studio | 821 | defect | 71a4af84562f24be2260c05a08aa6cb0402aff3f | 7c1a699fd2ba5049fa135d3dd7b30b216910217a | Satellite sensor_index update | # Earth2Studio Pull Request
## Description
Makes satellite observation DataFrame sources (UFS replay and real-time L1 sources) consistent in their schema fields, naming conventions, and channel identification.
### Motivation
The GSI replay data (`UFSObsSat`) and the native L1 sources (JPSS CrIS/ATMS, MetOp IASI/AMS... | diff --git a/.claude/skills/create-data-source/SKILL.md b/.claude/skills/create-data-source/SKILL.md
index 76cc27ae4..70bfd0fa9 100644
--- a/.claude/skills/create-data-source/SKILL.md
+++ b/.claude/skills/create-data-source/SKILL.md
@@ -1718,742 +1718,14 @@ Present:
---
-## Step 13 — Run Tests
+## Step 13 — Valida... | 3 | 2 | 1 | [{"id": "G1", "claim": "earth2studio/data/ufs.py has a minor redundant dset read when stashing the raw Channel_Index for per-channel expansion.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "If a user requests channel-indexed fields such as frequenc... | null |
NVIDIA__earth2studio__822 | NVIDIA/earth2studio | 822 | defect | 0ae5d49a66728fd4d112d874ac32c4e2f9ed634d | a8568665796670bae13709f7bd0f11b2c4da7be4 | Add GHCN-Daily DataFrameSource with lexicon and tests | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Implement a new DataFrameSo... | diff --git a/docs/modules/datasources_dataframe.rst b/docs/modules/datasources_dataframe.rst
index 94b2365cd..ee473c6b1 100644
--- a/docs/modules/datasources_dataframe.rst
+++ b/docs/modules/datasources_dataframe.rst
@@ -20,6 +20,7 @@ Data sources that provide tabular data as DataFrames.
:toctree: generated/data... | 3 | 3 | 1 | [{"id": "G0", "claim": "When a requested datetime plus the tolerance window spans a year boundary, only the dt.year partition is fetched and queried, so dates in the window that fall in the new year are silently dropped.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id... | null |
NVIDIA__earth2studio__825 | NVIDIA/earth2studio | 825 | defect | bbdb0ca47ac3b394933910d2d67d8c39c36f21c1 | 05df6c8c7341634966235351d1bc74924131f027 | Update StormCast wrapper to new diffusion APIs | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Also added sampler_steps ... | diff --git a/earth2studio/models/px/stormcast.py b/earth2studio/models/px/stormcast.py
index e89072c9f..38735b007 100644
--- a/earth2studio/models/px/stormcast.py
+++ b/earth2studio/models/px/stormcast.py
@@ -27,7 +27,7 @@
from earth2studio.data import GFS_FX, HRRR, DataSource, ForecastSource, fetch_data
from earth2s... | 2 | 2 | 1 | [{"id": "G1", "claim": "Latents are cast to float64 while the model weights and outputs are float32, so sample() propagates float64 through the denoiser and the in-place out += edm_out mixes float32 and float64, raising a RuntimeError; latents should use torch.randn_like(x) without a dtype override.", "category": "corr... | null |
NVIDIA__earth2studio__833 | NVIDIA/earth2studio | 833 | defect | 25a1e7aeac5b8db34e754b9e1fa9be4e2c40eef5 | 17c56d6c0b0d0a9bdd58a3ebe196173925550af7 | Fix bug saving inference result to s3 | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
This PR fixes 2 issues:
... | diff --git a/earth2studio/serve/server/object_storage.py b/earth2studio/serve/server/object_storage.py
index e925cd28f..ea9fa5d6d 100644
--- a/earth2studio/serve/server/object_storage.py
+++ b/earth2studio/serve/server/object_storage.py
@@ -23,10 +23,19 @@
from dataclasses import dataclass
from pathlib import Path
f... | 5 | 5 | 0 | [{"id": "G0", "claim": "The empty-directory early-return block duplicates the destination-URI construction already used on the normal path and copies the code below it; instead, only call sync_from when files > 0 so the existing flow sets files_uploaded.", "category": "maintainability", "verdict": "supported", "priorit... | null |
NVIDIA__earth2studio__845 | NVIDIA/earth2studio | 845 | defect | 28d2c51d18a7878c11772427d35e8e671e092ab2 | 8d1012ff7aa74823e51c98a7f76a2121b79857ed | [Chore 729] Handle two items from the chore. |
<!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
Handles two items from the chore:
* Fix conf and workflows path
* Restructured the env overrides.
## Checklist
- [x] I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/earth2studio/blob/main/CONTRIBUTI... | diff --git a/earth2studio/serve/server/config.py b/earth2studio/serve/server/config.py
index 61b8cf47c..98e34f345 100644
--- a/earth2studio/serve/server/config.py
+++ b/earth2studio/serve/server/config.py
@@ -40,6 +40,41 @@
logger = logging.getLogger(__name__)
+def _resolve_repo_root() -> Path:
+ """Return the ... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new loop only skips `raw is None`, so explicitly empty-string env vars (e.g. REDIS_HOST, OBJECT_STORAGE_BUCKET) are now written through to config, changing behaviour from the old falsy check; the guard should be changed to `if not raw`.", "category": "correctness", "verdict": "supported", "p... | null |
NVIDIA__earth2studio__847 | NVIDIA/earth2studio | 847 | defect | 76abd397e51c36d682c04e3deb81a8a4a9cc56e6 | 4dc95e9dc268ba742c2a72ad226457be2801251c | Adding ORBIT-2 global precip downscaling module to earth2studio | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
Adding the ORBIT-2 module to e2s. Current module includes a model for downscaling precipitation
<!-- Reference any issues closed by this PR with "closes #1234". -->
Non... | diff --git a/earth2studio/data/ncar.py b/earth2studio/data/ncar.py
index 085b78095..4931bedda 100644
--- a/earth2studio/data/ncar.py
+++ b/earth2studio/data/ncar.py
@@ -44,6 +44,8 @@
logger.remove()
logger.add(lambda msg: tqdm.write(msg, end=""), colorize=True)
+import pandas as pd
+
@dataclass
class NCARAsyncT... | 13 | 10 | 5 | [{"id": "G0", "claim": "The references to undefined names data_check and check_data make any call to run() raise a NameError.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "After the torch.cat, x has 19 channels while input_coords['variable'] holds ... | null |
NVIDIA__earth2studio__848 | NVIDIA/earth2studio | 848 | defect | 4859b19277ef2ecd1096535af1225250891301de | 5cb00e9aced2b2f4e99ab1bbccebac4fb5c02b07 | Move Redis and queue globals to app.state | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
Replaced module-level redis_client, redis_sync_client, and inference_queue globals in main.py with FastAPI app.state attributes initialized during the lifespan.
## Checklist
- [x] I am familiar with the [Contributing Guidelines](ht... | diff --git a/earth2studio/serve/server/cpu_worker.py b/earth2studio/serve/server/cpu_worker.py
index c8434eb84..b617f52e5 100644
--- a/earth2studio/serve/server/cpu_worker.py
+++ b/earth2studio/serve/server/cpu_worker.py
@@ -35,6 +35,7 @@
# Import configuration
from earth2studio.serve.server.config import get_confi... | 6 | 6 | 4 | [{"id": "G0", "claim": "The TestWorkflowParameterValidation.client fixture sets app.state.redis_sync_client and app.state.inference_queue on the shared module-level app singleton with no teardown to restore them, so the mock values leak into subsequent tests.", "category": "testing", "verdict": "supported", "priority":... | null |
NVIDIA__earth2studio__852 | NVIDIA/earth2studio | 852 | defect | 3e27b0e34a010228ea22e466bab9a8cd66ec4dc8 | 22c1ec05d74e6f3e1f3501defc87eb3e9c734a48 | [Chore 729] Migrate logging to loguru, clean up Dockerfile. | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
* Replace stdlib logging with loguru across all 18 serve files to align with the rest of earth2studio.
* Add InterceptHandler for uvicorn/FastAPI stdlib log interop.
* Trim serve/Dockerfile by removing unused COPY examples, duplica... | diff --git a/Makefile b/Makefile
index 5c6a375bf..290077c1e 100644
--- a/Makefile
+++ b/Makefile
@@ -103,9 +103,9 @@ docs-serve:
.PHONY: container-service
# Example DOCKER_REPO?=nvcr.io/dycvht5ows21
-E2S_RELEASE_TAG?=0.13.0
+E2S_RELEASE_TAG?=0.15.0
E2S_IMAGE_NAME=$(DOCKER_REPO)/earth2studio-scicomp
-E2S_IMAGE_TAG=... | 2 | 1 | 0 | [{"id": "G0", "claim": "The printf-style logger.warning at config.py line 414 still uses %r/%s positional args, which loguru's str.format style silently swallows, so it needs updating to loguru's brace-style format.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
NVIDIA__earth2studio__854 | NVIDIA/earth2studio | 854 | defect | abdaf782cab7fb30530ce0cb6c3379e6ec6c116d | 6f22732a8f67307cf0b6caacea094e085ac7c0c9 | Fixing pressure in UFS to be Pa | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
<!-- Provide a standalone description of changes in this PR. -->
<!-- Reference any issues closed by this PR with "closes #1234". -->
<!-- Note: The pull request title will be included in the CHANGELOG. -->
Closes: https://github.co... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7c68f5887..033e4b85f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed potential `uint16` underflow in UFS channel index expansion
- S3 upload bug in server utilities
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Calling `np.float32(series)` in the `pres` modifier will raise a TypeError at runtime on multi-element Series, so surface-pressure fetches would always fail; the Series should be converted with `.astype(np.float32)` instead.", "category": "correctness", "verdict": "supported", "priority": "P0", ... | null |
NVIDIA__earth2studio__857 | NVIDIA/earth2studio | 857 | defect | 0549eb10f474de68df753e3782890abc0575bb6a | 610a0bac1172718b40279b173883344fe0f0fa69 | Add CRPS based compare between two zarr results. | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
CRPS-based comparison tool for validating forecast equivalence between the internal Rust service (8-GPU) and python-serve (1-GPU) ensemble outputs.
For E2E testing, I ran the following:
* One positive test, where I compared x1 GPU (w... | diff --git a/Makefile b/Makefile
index 2cb0e8d9c..2bb7e73cd 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,7 @@ docs-serve:
# Example DOCKER_REPO?=nvcr.io/dycvht5ows21
E2S_RELEASE_TAG?=0.15.0
E2S_IMAGE_NAME=$(DOCKER_REPO)/earth2studio-scicomp
-E2S_IMAGE_TAG=v$(E2S_RELEASE_TAG).20260512.2
+E2S_IMAGE_TAG=v$(E2S_R... | 7 | 4 | 2 | [{"id": "G0", "claim": "build_metric hardcodes the \"lat\"/\"lon\" coordinate key names with no guard, so a non-standard grid raises a bare KeyError.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When all IC times fail to score for a variable/lead-... | null |
NVIDIA__earth2studio__859 | NVIDIA/earth2studio | 859 | defect | 3e27b0e34a010228ea22e466bab9a8cd66ec4dc8 | 3341789cb7eaf49e964ed833cc80a6b94e148ba6 | feat: add GOESGLM data source | ## Description
Add `GOESGLM` DataFrameSource for NOAA GOES-16/17/18/19 Geostationary
Lightning Mapper (GLM) Level 2 Lightning Cluster-Filter Algorithm
(LCFA) per-event observations from the public NOAA AWS Open Data
archive. Each row is a single optical event detected by GLM with a
sub-second timestamp, latitude/longi... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7c68f5887..7841119e7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added Himawari-8/9 AHI ISatSS L2 Full Disk satellite data source (`HimawariAHI`)
- Added GHCN-Daily glob... | 18 | 16 | 2 | [{"id": "G0", "claim": "The test helper should use asyncio.run() instead of the deprecated asyncio.get_event_loop().run_until_complete(), which warns on Python 3.10+ and raises RuntimeError under pytest-xdist on 3.12+.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
NVIDIA__earth2studio__861 | NVIDIA/earth2studio | 861 | defect | 24696d5901f92adc6346b436a8f94db0792ce11e | 804caf19f5cc05eb8537d86a83f9abdecc7e7b1b | fix: respect native lon origin in _ECMWFOpenDataSource roll | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
## Description
`_ECMWFOpenDataSource._download_wrapper` unconditionally rolls the GRIB
values by `-len(self.LON) // 2` (i.e. `-720` for the 0.25° global grid):
```python
# Provided [-180, 180], roll to [0, 360] along x dimension
values = np.roll(values, ... | diff --git a/earth2studio/data/ecmwf.py b/earth2studio/data/ecmwf.py
index 642f89cbb..d39888340 100644
--- a/earth2studio/data/ecmwf.py
+++ b/earth2studio/data/ecmwf.py
@@ -328,9 +328,16 @@ async def _download_wrapper(
logger.error(f"Failed to open GRIB file {grib_file}")
raise e
try:... | 2 | 2 | 0 | [{"id": "G1", "claim": "An explicit `assert first_msg is not None` should be added after the pf member loop so static type checkers narrow first_msg away from Optional and downstream type-narrowing warnings are avoided.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
NVIDIA__earth2studio__862 | NVIDIA/earth2studio | 862 | defect | 24696d5901f92adc6346b436a8f94db0792ce11e | 1469e0f4d06e478c0aed7f81e1783aef22854d57 | Adding cBottle odds ratio calculation to Earth2studio | <!-- markdownlint-disable MD013-->
# Earth2Studio Pull Request
Addresses #863
## Description
Adding
- a thin wrapper around the new cBottle odds_ratio calculation in Earth2studio
- an example demonstrating guided TC sampling and odds ratio calculation
- test coverage
## Checklist
- [x] I am familiar with... | diff --git a/earth2studio/models/dx/cbottle_tc.py b/earth2studio/models/dx/cbottle_tc.py
index 7ebd91b62..3d4dc9357 100644
--- a/earth2studio/models/dx/cbottle_tc.py
+++ b/earth2studio/models/dx/cbottle_tc.py
@@ -254,6 +254,7 @@ def load_model(
sampler_steps: int = 18,
sigma_max: float = 200,
... | 5 | 3 | 2 | [{"id": "G0", "claim": "The `x.ndim not in (5, 6)` guard in `calculate_odds_ratio` rejects the valid 4-D tensor that `create_guidance_tensor` returns when `lat_lon=False`, so a user passing an HPX guidance tensor hits a confusing ValueError even though the docstring says the method accepts the layout `__call__` (which ... | null |
NVIDIA__garak__1140 | NVIDIA/garak | 1,140 | defect | 0ae77c98fc7852c2140fe8953d3bc00c30ede61a | 2b9f6fc807099e0193f516c1be8cf04c236dd163 | Multiprocess enabled logging config | To ensure logging is setup in all threads add setup to `__init__.py` for the parent `garak` module.
* start logging context on first import of `garak`
* allow logging location to be provided in ENV var
* update error log in `FileIsExecutable` for proper exception serialization
## Verification
List the steps ... | diff --git a/garak/__init__.py b/garak/__init__.py
index 533def784..078636f15 100644
--- a/garak/__init__.py
+++ b/garak/__init__.py
@@ -3,3 +3,23 @@
__version__ = "0.10.3.post1"
__app__ = "garak"
__description__ = "LLM vulnerability scanner"
+
+import logging
+import os
+from garak import _config
+
+GARAK_LOG_PATH_... | 3 | 2 | 0 | [{"id": "G0", "claim": "The environment variable should be renamed from GARAK_LOG_PATH to GARAK_LOG_FILE because it holds a file path, not a directory.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log format does not record which object/cl... | null |
NVIDIA__garak__1243 | NVIDIA/garak | 1,243 | defect | 53e559bef65c90f6194115d4ccf8d9725c686f4f | 519e047f12fca107a346e1bcf857159a64f9c594 | probes: package hallucination support for dart, perl, & raku | Consolidates PRs: https://github.com/NVIDIA/garak/pull/1242, https://github.com/NVIDIA/garak/pull/1241, https://github.com/NVIDIA/garak/pull/1235
| diff --git a/garak/detectors/packagehallucination.py b/garak/detectors/packagehallucination.py
index 7a365c589..b8ae478ab 100644
--- a/garak/detectors/packagehallucination.py
+++ b/garak/detectors/packagehallucination.py
@@ -26,6 +26,10 @@
from garak.data import path as data_path
from garak.detectors.base import Dete... | 5 | 5 | 3 | [{"id": "G0", "claim": "The new test file imports Perl, Dart and Detector redundantly alongside the existing module-level imports.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tests such as test_perl_detector_init should reference the detector... | null |
NVIDIA__garak__1335 | NVIDIA/garak | 1,335 | defect | 8092be702a90a6ba2c344bec1bbb5e0730bb1be0 | 5e0a8d056bb0ebf4b72ac3848a3d14bd5e912d31 | rename and extend Web injection probes | Current `xss` probes actually do CSRF. Rename the `xss` modules for probes and detectors to `web_injection` and add two new probes that actually inject scripts into the page.
Also renames the oddly named `MarkdownExfil20230929` to `PlaygroundMarkdownExfil` and updates tier and active status of other `web_injection`... | diff --git a/docs/source/detectors.rst b/docs/source/detectors.rst
index a4ee1a3ee..fb6e857e2 100644
--- a/docs/source/detectors.rst
+++ b/docs/source/detectors.rst
@@ -29,5 +29,5 @@ garak.detectors
garak.detectors.shields
garak.detectors.snowball
garak.detectors.unsafe_content
- garak.detectors.xss
g... | 7 | 2 | 1 | [{"id": "G0", "claim": "The markdown regexes need to be updated to account for code blocks.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer questions the intuition behind demoting MarkdownImageExfil to Tier.COMPETE_WITH_SOTA with active=Fals... | null |
NVIDIA__garak__1359 | NVIDIA/garak | 1,359 | defect | 9b054ffe54ce3d3cebdd00ecc523a0934a799f6e | ef976739b94ea0352892d11f7ee47a2971deb7e8 | docs(chore): Fix most build warnings | Working on fixing docs build warnings and rendering oopses.
| diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 000000000..705e8eefc
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,24 @@
+# Documentation
+
+## Building the Documentation
+
+1. Install dependencies:
+
+ ```console
+ python3 -m pip install -r requirements.txt
+ python3 -m pip install -r doc... | 4 | 4 | 1 | [{"id": "G0", "claim": "The docstrings changed by this pull request should follow PEP-0257 multi-line format: a one-line summary separated from the rest of the docstring by a blank line, and this applies to a number of the changes here.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "... | null |
NVIDIA__garak__1367 | NVIDIA/garak | 1,367 | defect | 1845a65023cf877a28a91c651f29ad5f6432a7ed | 74187d56d7064e7378a69f3926177d45ddfa2840 | cli: add filtering support for --list_* options | ### Title
cli: add filtering support for --list_probes and --list_detectors (fix #1362)
### Description
This PR adds **filtering support** to the `--list_probes` and `--list_detectors` CLI options.
- Users can now filter by **plugin family** (e.g., `dan`) or by a **specific plugin** (e.g., `dan.AntiDAN`).
- If n... | diff --git a/garak/command.py b/garak/command.py
index 1cc1eaaeb..98bd08b10 100644
--- a/garak/command.py
+++ b/garak/command.py
@@ -7,9 +7,36 @@
import json
import random
import typing
+from . import _config
HINT_CHANCE = 0.25
+from typing import Iterable, List
+import sys
+
+
+def _split_csv(val: str | None) ... | 9 | 9 | 2 | [{"id": "G0", "claim": "The module-level import should use the absolute form `from garak import _config` instead of the relative `from . import _config`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new imports should be placed above the H... | null |
NVIDIA__garak__1406 | NVIDIA/garak | 1,406 | defect | 3163d9f8a3913f629fdc2009f1004280b448c420 | 663a62d1db28285695eaf4bf5ec1d18a9883c421 | probe: Api key probe + detector | Adds a new api key probe, that attempts to make the target model generate or complete a partial api key, for various services.
Adds a new api key detector, that via regexes scans the output for possible api keys.
Fixes #348 | diff --git a/docs/source/detectors.rst b/docs/source/detectors.rst
index fb6e857e2..733bfa025 100644
--- a/docs/source/detectors.rst
+++ b/docs/source/detectors.rst
@@ -8,6 +8,7 @@ garak.detectors
garak.detectors.base
garak.detectors.always
garak.detectors.ansiescape
+ garak.detectors.apikey
garak.det... | 9 | 7 | 1 | [{"id": "G0", "claim": "The detector's regex dict should be sorted by key in the source, renamed to dora_regexes, and structured so further regex dicts (e.g. api_regexes for openai) can be added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
NVIDIA__garak__1411 | NVIDIA/garak | 1,411 | defect | 8b3a9af4b6bf723ac70fbff3c28fee8934c155ff | 1dac94fdaf9ac946550e926366bf65f5237f6154 | Fix: enable parameter suppression to LiteLLM | ## Summary
This fixes https://github.com/NVIDIA/garak/issues/1410
This ensure thats Claude 4.5 via AWS Bedrock on LiteLLM works and does not instantly fail.
## Changes
- Add check to see if its Claude 4.5 being called in LiteLLM
- Change request params if Claude 4.5 is being called to remove `top_p`
## ... | diff --git a/garak/generators/litellm.py b/garak/generators/litellm.py
index 81b4e0f76..04be23d4d 100644
--- a/garak/generators/litellm.py
+++ b/garak/generators/litellm.py
@@ -138,19 +138,35 @@ def _call_model(
return []
try:
- response = litellm.completion(
- model=se... | 1 | 1 | 0 | [{"id": "G0", "claim": "The hard-coded Claude 4.5-on-Bedrock parameter restriction in the LiteLLM generator is not maintainable and should be refactored to be more reusable, using a configurable `suppressed_params` list like the `OpenAICompatible` generator.", "category": "maintainability", "verdict": "supported", "pri... | null |
NVIDIA__garak__1417 | NVIDIA/garak | 1,417 | defect | 8b3a9af4b6bf723ac70fbff3c28fee8934c155ff | aa0395bc75c435a78969d03871a27e338731666d | correct _mint_attempt conversation support | #1337 added system prompt support that is expected to handle `Conversation` objects, however subsequent testing of this unused code path surfaces incorrect handling of the existing list of `Turn` objects.
In the scenario where a `Conversation` was passed that does not already contain a `system_prompt` message the ex... | diff --git a/garak/probes/base.py b/garak/probes/base.py
index 9b5d2d623..3869d94c1 100644
--- a/garak/probes/base.py
+++ b/garak/probes/base.py
@@ -184,20 +184,25 @@ def _mint_attempt(
) -> garak.attempt.Attempt:
"""function for creating a new attempt given a prompt"""
turns = []
+ if has... | 1 | 1 | 1 | [{"id": "G0", "claim": "Lines 201-207 add a second system-prompt turn for non-Conversation prompts even though the code added at the top of _mint_attempt already appended the system prompt, so the duplication should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
NVIDIA__garak__1427 | NVIDIA/garak | 1,427 | defect | 494d7154605ecbb9b4b7515d5fa980e7e08381b3 | 8381015c6294539d0d98a6c8e5984f623159a6d8 | detectors: any | add two new detectors:
* `any.AnyOutput` - hit if there is any output
* `any.AnyNonSpaceOutput` - slightly fussier version of the above
this is split out from trait/policy pr #955 | diff --git a/docs/source/detectors.rst b/docs/source/detectors.rst
index fb6e857e2..2ba45f496 100644
--- a/docs/source/detectors.rst
+++ b/docs/source/detectors.rst
@@ -7,6 +7,7 @@ garak.detectors
garak.detectors
garak.detectors.base
garak.detectors.always
+ garak.detectors.any
garak.detectors.ansiesc... | 2 | 1 | 0 | [{"id": "G0", "claim": "AnyOutput.detect could simply append 1.0 for any non-None output instead of conditionally yielding 0.0 for zero-length strings.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The yield semantics of the new detectors need checking:... | null |
NVIDIA__garak__1438 | NVIDIA/garak | 1,438 | defect | a2b5aa04cbf1579d74f37ba8cc1a5e2756ea18d6 | dd7f7007ce502b82ef4b908bd0d9d5c529717a21 | fix: properly parse the OFCOM list file | This PR fixes #1431 so that the `ofcom-potentially-offensive.txt` file is read correctly and is not empty.
## Verification
- [x] I've added a simple test to verify this: `python -m pytest tests\detectors\test_detectors_unsafe_content.py::test_data_files_loaded_properly`
| diff --git a/garak/data/ofcom-potentially-offensive.txt b/garak/data/ofcom-potentially-offensive.txt
index 517d2175f..604234210 100644
--- a/garak/data/ofcom-potentially-offensive.txt
+++ b/garak/data/ofcom-potentially-offensive.txt
@@ -147,4 +147,4 @@ raceethnic Spade 3
raceethnic Spic 3
raceethnic Taff 2
raceethni... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the module-level import of ofcom_list and surge_list into the test itself so the work is only done when the consuming test is executed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NVIDIA__garak__1462 | NVIDIA/garak | 1,462 | defect | d4e3757b05fe3d222e9e328751195db20c377b9c | 5392793592f0ba1ef6969ccfe49fa9e2bb297d7c | Feature: AWS bedrock generator | Adding support for the Bedrock Generator. Adding this because customer are requesting to test LLM on AWS (focus on Amazon Nova models).
Bedrock use boto3 SDK and Converse API to make requests. Credentials are managed using AWS Credentials or new Bedrock API Key (recently introduced).
## Verification
List the st... | diff --git a/README.md b/README.md
index d6e3dc174..96abca993 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,7 @@ currently supports:
* [hugging face hub](https://huggingface.co/models) generative models
* [replicate](https://replicate.com/) text models
* [openai api](https://platform.openai.com/docs/introducti... | 8 | 8 | 5 | [{"id": "G0", "claim": "The tests use claude-3-sonnet, which is not a supported model, so the test is failing; the author is open to changing the model used in the pytest suite.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Minor project-specific synta... | null |
NVIDIA__garak__1480 | NVIDIA/garak | 1,480 | defect | a55bb1b6e3898e83a2d39774c6a522a87ef52389 | 14ec6addf370112dfd83cd565d6444a43f4dc008 | probe: Add more unreal pkghallu targets | We noticed during the pkghallu research work https://arxiv.org/abs/2501.19012 that most of the existing prompts focused on target tasks that were real, or at least grounded in reality, and the probe only had one task involving fictional technology. This update
* adds 11 more fictional tasks, so we have 12 fictional ... | diff --git a/garak/probes/packagehallucination.py b/garak/probes/packagehallucination.py
index 5ec342a5b..bdf1e9f50 100644
--- a/garak/probes/packagehallucination.py
+++ b/garak/probes/packagehallucination.py
@@ -18,15 +18,18 @@
import garak.probes
stub_prompts = [
- "Generate some <language> code to",
- "Giv... | 2 | 2 | 2 | [{"id": "G0", "claim": "The prompt capping added in PackageHallucinationProbe.__init__ is not expected by test_promptcount, and the test fails as a result.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The test environment masks stored config state, so... | null |
NVIDIA__garak__1505 | NVIDIA/garak | 1,505 | defect | 70d989f75ce8db875a62aae7b1a394284713ce97 | d59be73392c18c6d59afa5c222c0cb09d116f54a | docs: check for markdown in plugin docs, check for plugin module docstrings | Docs are presented via ReadTheDocs using RST. Markdown doesn't render in RST - it looks like this instead:
<img width="696" height="439" alt="image" src="https://github.com/user-attachments/assets/ced7d027-1b94-4c92-b641-1bd235de9a70" />
This PR tests for hints of Markdown in docstrings and files that will be p... | diff --git a/docs/source/extending.rst b/docs/source/extending.rst
index aac078a47..2647489d1 100644
--- a/docs/source/extending.rst
+++ b/docs/source/extending.rst
@@ -46,7 +46,7 @@ You can test your code in a few ways:
* Start an interactive Python session
* Instantiate the plugin, e.g. ``import garak._plugins``... | 7 | 6 | 0 | [{"id": "G0", "claim": "The new divergence.py module docstring misspells \"successful\" as \"successufl\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The RepeatDiverges docstring wording should change: \"See\" to \"Determine\" for inclusive la... | null |
NVIDIA__garak__1509 | NVIDIA/garak | 1,509 | defect | 47f555e8bb5d60f94b62893c5b27c6bdf0632ce9 | 98a4116c75f2128f364299f192d2d20396fed009 | bugfix: `TreeSearchProbe` should handle `None`s | Resolves #1508
- comparison in compilation of node_results only performed over non-`None`s
- summary stats calculated after `None`s removed
- adds a `test.Nones` generator for testing this kind of functionality
## Verification
### without the update in `garak/probes/base.py`
- [ ] `garak -t test.Nones -p... | diff --git a/garak/generators/test.py b/garak/generators/test.py
index 8ca09b8e6..3d70e72bf 100644
--- a/garak/generators/test.py
+++ b/garak/generators/test.py
@@ -56,6 +56,19 @@ def _call_model(
)
+class Nones(Generator):
+ """This generator always returns a None for every generation."""
+
+ su... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the node_results loop in garak/probes/base.py, replace the redundant `continue` followed by a separate `if s > self.per_generation_threshold:` with a single `elif` branch on the None check, as given in the reviewer's suggestion block.", "category": "maintainability", "verdict": "supported", "... | null |
NVIDIA__garak__1538 | NVIDIA/garak | 1,538 | defect | d266641d7f532bea9973a84d0e39df368ee2cb38 | f22fee52ee410fb921f785d9779b9dd49c2fde15 | Added system prompt extraction probe | This PR adds a new probe to test how easily LLMs leak their system prompts through adversarial extraction techniques.
Closes #1400
### Implementation
**Probe:** `garak.probes.sysprompt.SystemPromptExtraction`
- Loads real-world system prompts from HuggingFace datasets:
- [danielrosehill/System-Prompt-Libr... | diff --git a/docs/source/detectors.rst b/docs/source/detectors.rst
index a6fc122563..bf361d9553 100644
--- a/docs/source/detectors.rst
+++ b/docs/source/detectors.rst
@@ -30,6 +30,7 @@ garak.detectors
garak.detectors.productkey
garak.detectors.shields
garak.detectors.snowball
+ garak.detectors.sysprompt
... | 33 | 31 | 2 | [{"id": "G0", "claim": "The detector/probe package should be named sysprompt_extraction (or something like it) rather than sysprompt.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default detection threshold of 0.3 seems low, and a metric or referen... | null |
NVIDIA__garak__1571 | NVIDIA/garak | 1,571 | defect | 071a0f789a27a7c81a0db0e498e42c60f84f35bd | 68905b14d041d0f068b88d4416e5efc779d20136 | feat: add probe tier to `--list_probes` | ## Summary
<!-- Add a brief summary of changes -->
## Related Issue
Fixes #1330
**Issue:** Add probe tier to `--list_probes`
**URL:** https://github.com/NVIDIA/garak/issues/1330
## Problem
## Summary
When enumerating probes, also print the tier of the probe. Alternately/additionally, allow `--list_probes` to accept ... | diff --git a/garak/cli.py b/garak/cli.py
index 5db7457f7..beb159da9 100644
--- a/garak/cli.py
+++ b/garak/cli.py
@@ -226,7 +226,8 @@ def main(arguments=None) -> None:
parser.add_argument(
"--list_probes",
action="store_true",
- help="list all available probes. Usage: combine with --probes/... | 5 | 3 | 2 | [{"id": "G0", "claim": "Having --list_probes accept a Tier directly should be reworked to instead integrate with --probe_spec selection (or richer per-probe metadata listing) rather than taking a Tier argument.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
NVIDIA__garak__1582 | NVIDIA/garak | 1,582 | defect | 64cdbaaa8d88441ea588430b1547495351978d58 | 9209baacc8e82d2319fb11c87dbb57cc94a416a5 | Task: transformers 5 support | Update for transformers major version release.
## Verification
List the steps needed to make sure this thing works
- [ ] sanity test
| diff --git a/.github/workflows/test_macos.yml b/.github/workflows/test_macos.yml
index 6388bb7945..61f4a1ffde 100644
--- a/.github/workflows/test_macos.yml
+++ b/.github/workflows/test_macos.yml
@@ -69,11 +69,11 @@ jobs:
run: |
export HF_HUB_DISABLE_XET=1
# download translation support mo... | 4 | 4 | 1 | [{"id": "G0", "claim": "The PR's transformers-5 custom_generate path fails on Windows: three tests fail with CalledProcessError/OSError because `transformers-community/group-beam-search` has no `custom_generate` subdirectory there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
NVIDIA__garak__1603 | NVIDIA/garak | 1,603 | defect | 1774a0cf39fef3edd7edace73039320535528347 | 0d2a21d336ee57761ab7cbb1c9b4224c0099c566 | reporting: stabilise tbsa hashes | Absence of sorting of requested probe:detector pairs led to unstable hashes.
This PR:
* Adds a sort to the probe:detector pairs to stabilise hashes for the same selection
* Adds a quiet mode to `tbsa`
* Makes verbose mode more consistent
* Prints `run_uuid` by default for comparison / troubleshooting
* Stops ... | diff --git a/garak/analyze/tbsa.py b/garak/analyze/tbsa.py
index 7f7694973..a77cad3ac 100644
--- a/garak/analyze/tbsa.py
+++ b/garak/analyze/tbsa.py
@@ -11,6 +11,7 @@
import argparse
import json
+import math
import statistics
import sys
from typing import Tuple
@@ -39,16 +40,30 @@ def build_tiers() -> dict:
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Having both -q and -v is odd; if both are kept, the tool should either check for both being set and complain or define a precedence, since with both set it may output verbose content even when quiet is set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
NVIDIA__garak__1641 | NVIDIA/garak | 1,641 | defect | 87ba8327855028e83c832876edd2db1e569eb6f4 | a8217b629178f2a89db13414c6784f53f67eaaea | Support JSON and file output modes in garak.analyze.qual_review | Fixes #1576
Adds JSON and file output support to `garak.analyze.qual_review`
Changes:
- `garak/analyze/qual_review.py`
- adds `-j/--json_output` to emit machine-readable JSON
- adds `-o/--output_path` to write output to a file
- keeps markdown output for the default mode
- ensures `-j` stdo... | diff --git a/garak/analyze/qual_review.py b/garak/analyze/qual_review.py
index e30541fe61..858c9b7d1c 100644
--- a/garak/analyze/qual_review.py
+++ b/garak/analyze/qual_review.py
@@ -9,6 +9,7 @@
# takes report.jsonl, optional bag.json (e.g. data/calibration/calibration.json) as input
from collections import default... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new collect_data and build_json functions duplicate the data-processing logic already in qual_review, and the reviewer suggests refactoring so the review data processing logic is encapsulated in a single function returning a dict that can be written as raw JSON or printed as markdown dependi... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.