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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CurvineIO__curvine__766 | CurvineIO/curvine | 766 | defect | 3104a1c450dd73ae566752d6ccb8fd2730b11181 | c28e2d8942466160b50276c0dc4064873e6117fb | fix(server): only bump inode_file_num on symlink add, not force update | ## Problem
PR #764 added `inode_file_num` updates for symlink create/delete. Review noted that `apply_symlink` ran for both new symlinks and `force=true` replacements of an existing symlink; the latter must not increase the live file count.
## Design
Thread an `is_add` flag into `apply_symlink`: `true` when `unpro... | diff --git a/curvine-server/src/master/meta/fs_dir.rs b/curvine-server/src/master/meta/fs_dir.rs
index a1ebfc3dd..07ae32d1d 100644
--- a/curvine-server/src/master/meta/fs_dir.rs
+++ b/curvine-server/src/master/meta/fs_dir.rs
@@ -948,6 +948,7 @@ impl FsDir {
let name = link.name().to_string();
parent... | 1 | 1 | 0 | [{"id": "G0", "claim": "The apply_symlink doc comment references a `link` parameter that the function does not take and should be rephrased to describe the parent's dentry/edge instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
CycloneDX__sbom-utility__19 | CycloneDX/sbom-utility | 19 | defect | 2e6b44815e8d0a2ca2d79a0e1aadf6d30a719648 | c0bb57e7c7df6d0e7e0305d92591217f24da23d8 | Add the omitempty directive for the JSON marshaller for all CycloneDX struct fields | This should not only fix #13, for the `license` command output in JSON, but also for other commands that emit JSON such as the `vulnerability list` command.
Please note that empty child structures are NOT omitted which is left for future, more involved changes described in issue #18. | diff --git a/cmd/license_test.go b/cmd/license_test.go
index f88b618e..4dcb0796 100644
--- a/cmd/license_test.go
+++ b/cmd/license_test.go
@@ -237,7 +237,7 @@ func TestLicenseListCdx14MarkdownNoneFound(t *testing.T) {
func TestLicenseListCdx13Json(t *testing.T) {
lti := NewLicenseTestInfoBasic(TEST_LICENSE_LIST_CD... | 2 | 2 | 2 | [{"id": "G0", "claim": "The CDXProperty.Name struct tag duplicates the \"omitempty\" JSON option, a staticcheck SA5008 error that should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CDXProperty.Value struct tag duplicates the \"o... | null |
CycloneDX__sbom-utility__22 | CycloneDX/sbom-utility | 22 | defect | ad07311c700fe0c9af0e9ca2c0f7dac628c058db | 0bc55c91a65184a1d5d0eeec6460ff4089f866d8 | Improve responsiveness of SBOMs that have large #s of errors | Add "max" (default value) to stop processing and avoid excessive marshalling of JSON structures. | diff --git a/cmd/license_list.go b/cmd/license_list.go
index 4aacce2a..15cf1873 100644
--- a/cmd/license_list.go
+++ b/cmd/license_list.go
@@ -61,13 +61,6 @@ const (
LICENSE_FILTER_KEY_BOM_LOCATION = "bom-location"
)
-// lc.License.Id,
-// lc.License.Name,
-// lc.License.Url,
-// lc.Expression,
-// lc.License.Tex... | 3 | 3 | 0 | [{"id": "G0", "claim": "The CDXLicense MarshalJSON ignores the error returned by json.Marshal of the Text attachment, leaving errors unhandled.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CDXLicense MarshalJSON ignores the error returned by j... | null |
Cyfrin__aderyn__669 | Cyfrin/aderyn | 669 | defect | 48d7a5fa16df6176d760edc39de65f3489d3e519 | 24a8b0b8e95e20111800e5f9b797c334909bd63f | Refactor Callgraph | ### 1. Direction Naming
* "Forward" & "Downstream" are now "Inward"
* "Backward" & "Upstream" are now "Outward".
Rationale: mimic debugging terminology.
When developers use a debugger to navigate the call stack, they "Step Into" and "Step Out" of function calls.
### 2. "Investigator" Keyword Removed
The ... | diff --git a/aderyn_core/src/context/investigator/standard.rs b/aderyn_core/src/context/graph/callgraph.rs
similarity index 62%
rename from aderyn_core/src/context/investigator/standard.rs
rename to aderyn_core/src/context/graph/callgraph.rs
index 70329a925..c16ddeb26 100644
--- a/aderyn_core/src/context/investigator/s... | 1 | 1 | 0 | [{"id": "G0", "claim": "It would be nice to re-export CallGraph, CallGraphDirection and CallGraphVisitor from the `graph` module so detector modules can import all of them at once.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
CytopiaTeam__Cytopia__660 | CytopiaTeam/Cytopia | 660 | defect | 0aa4c7e17d06db5083c2a08a79037db3f5494c6f | 4d2e57f2583c12267e7a242173dbe6f59c53e48e | :memo: Better TypeLists | + Refactored TypeLists so they are better documented and easier to use
+ Added TypeList::TypeSwitch
+ Added TypeList::CommonType
+ Added IntegralTypeSwitcher
+ Added TypeList::Map
+ Added TypeList::Reduce
+ Added TypeList::ForEach
+ Added is_typelist trait
+ Added is_variant trait
+ Added is_tuple trait
+ Add... | diff --git a/src/Events.hxx b/src/Events.hxx
index 757644b443..47f1113fcb 100644
--- a/src/Events.hxx
+++ b/src/Events.hxx
@@ -4,7 +4,7 @@
#include <string>
#include "betterEnums.hxx"
-#include "util/Meta.hxx"
+#include "util/TypeList.hxx"
using std::string;
diff --git a/src/Game.hxx b/src/Game.hxx
index ab924... | 8 | 8 | 1 | [{"id": "G0", "claim": "The new implementation file should be renamed from TypeList.impl.hxx to TypeList.inl.hxx for naming consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new TypeList headers are missing from src/CMakeLists.txt ... | null |
CytopiaTeam__Cytopia__927 | CytopiaTeam/Cytopia | 927 | defect | bc95791343435a5e7d50197f0150a3e96c172f8a | eabfee86263a57a96aa8220913042e468b2eea8e | More unit test work (detailed title in progress) | There's a few things this PR will have/I am working on. Making a draft so I can see how my progress affects coverage, also to help me keep track of what I have done. Will mostly be focusing on UI since that's what I know best, but I'll be looking at other parts too.
Tentative task list:
- [x] Create more unit tests... | diff --git a/src/engine/UIManager.cxx b/src/engine/UIManager.cxx
index 38bde2e0ea..17909bb64c 100644
--- a/src/engine/UIManager.cxx
+++ b/src/engine/UIManager.cxx
@@ -283,8 +283,6 @@ void UIManager::closeOpenMenus()
element->setVisibility(false);
}
}
-
- return;
}
void UIManager::drawUI() const
@@ -... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the commented-out line (// m_selectedItem = nullptr;) from the new ComboBox::clear() function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
CytopiaTeam__Cytopia__984 | CytopiaTeam/Cytopia | 984 | defect | 562ba2a526dafa0c2506b19dbb9f8202eacd51fd | f50c8771b6e6e0c9fa5c5c4c7ae88dee056ab077 | :tada: Added ImGUI AngelScript bindings | This PR allows you to create ImGUI windows with AngelScript

| diff --git a/data/resources/test.as b/data/resources/test.as
index 6542ec54bc..0bf148e07a 100644
--- a/data/resources/test.as
+++ b/data/resources/test.as
@@ -1,4 +1,19 @@
+bool open = true;
+
void main()
{
print("Hello world from AngelScipt\n");
-}
\ No newline at end of file
+}
+
+// Game entry point - called eve... | 7 | 2 | 0 | [{"id": "G0", "claim": "Reviewer questions the naming of the symbols declared in ScriptEngine.hxx (terse remark 'small symbol ?').", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ImGUI demo added to data/resources/test.as should be moved to u... | null |
CytopiaTeam__Cytopia__988 | CytopiaTeam/Cytopia | 988 | defect | 6631682e9e7c6341a7607683aee62b9bafa22230 | 9718ba9ebe0d398c4925c89c1505c98ffdf602f0 | imgui: move build menu to imgui logic | + remove logic for build menu with ui natives widgets
+ draw build menu aligment inplace
+ draw and create only need elements
+ avoid creating textures for all buttons in buildmenu | diff --git a/data/resources/data/UILayout.json b/data/resources/data/UILayout.json
index 2ea4128a3d..b28b182add 100644
--- a/data/resources/data/UILayout.json
+++ b/data/resources/data/UILayout.json
@@ -24,226 +24,22 @@
"FontSize": 42
}
],
- "MainMenuButtons": [
+ ... | 11 | 8 | 4 | [{"id": "G0", "claim": "Enclose all `if` (and `for`) blocks in {} braces, even single-line bodies, according to the project coding guidelines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the commented-out RenderFrame(...) call left ins... | null |
D4Vinci__Scrapling__168 | D4Vinci/Scrapling | 168 | defect | 54f2c96adfdae477248d6bd0045eb11b2bd6842e | 00ad6b4c5f3dc0f219cf7151d14f383b23df2a41 | fix: Selector.get_all_text() doesn't get all text #167 | - Selector.get_all_text() no longer ignores tail text nodes
- Added new unit test
<!--
You are amazing! Thanks for contributing to Scrapling!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
<!--
Describe the big picture of your changes here to communicate... | diff --git a/scrapling/parser.py b/scrapling/parser.py
index 166e6ea66..eced0a9f7 100644
--- a/scrapling/parser.py
+++ b/scrapling/parser.py
@@ -58,6 +58,7 @@
_find_all_elements_with_spaces = XPath(
".//*[normalize-space(text())]"
) # This selector gets all elements with text content
+_find_all_text_nodes = XPa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The get_all_text nested-content test should be moved from tests/parser/test_general.py to tests/parser/test_parser_advanced.py instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
D4Vinci__Scrapling__241 | D4Vinci/Scrapling | 241 | defect | 2046527575c879a0586b953966387eacad2b3aff | 1ac26733d80ec095a2960641e4c68e30a886a6ae | fix: duplicate ID segments in full-path selector generation | ## Summary
Full-path CSS and XPath selectors produce duplicate ID segments for elements with `id` attributes.
**Before:**
```
body > #main > #main > #target > #target
//body/[@id='main']/[@id='main']/[@id='target']/[@id='target']
```
**After:**
```
body > #main > #target
//body/[@id='main']/[@id='target']
```
## Roo... | diff --git a/scrapling/core/mixins.py b/scrapling/core/mixins.py
index c2e742021..5cbcba46c 100644
--- a/scrapling/core/mixins.py
+++ b/scrapling/core/mixins.py
@@ -47,7 +47,7 @@ def _general_selection(self: Any, selection: str = "css", full_path: bool = Fals
if counter[target.tag] > 1:
... | 2 | 2 | 1 | [{"id": "G0", "claim": "In XPath full-path mode, the entries built for elements with id are predicates only (e.g. `[@id='main']`), so joining them with `\"//\" + \"/\".join(...)` yields steps like `//body/[@id='main']/[@id='target']` that are not valid XPath syntax; emit a node test with the predicate (e.g. `*[@id='...... | null |
DA0-DA0__polytone__42 | DA0-DA0/polytone | 42 | defect | 8be00afb42ab7dcfa0f600a95a066d1ef99d9a09 | e8411d9135a2eedcf3c7a89bb6b0eb13bf8af0d3 | fix cw v1.2 | We only need cw v1.2 in the voice, so no reason to block note for it
also did clippy and fmt
The `just optimize` was using rust-optimizer and not workspace-optimizer, which for some reason messed up dependency versions, so fixed that. | diff --git a/Cargo.lock b/Cargo.lock
index 90f8762..3282b01 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15,9 +15,9 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.69"
+version = "1.0.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "224afbd727c3d6e4b90103ece64b8d1b6... | 5 | 5 | 0 | [{"id": "G0", "claim": "contracts/polytone-tester/Cargo.toml should use `workspace = true` for cosmwasm-std instead of pinning version 1.2.4 with the ibc3 feature, like the root workspace does.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "cont... | null |
DASDAE__dascore__292 | DASDAE/dascore | 292 | defect | ad8e216952ef4987fbf677795fe3f843a90f2cca | 90cc58c4a134b8f2b9a8aa061ed669ed67fc958f | Coordinate recipe | <!--
Thanks for contributing to DASCore, community contributions are most welcomed!
Before contributing, please read through the [contributors doc](https://dascore.org/contributing/contributing.html)
Before making big changes to the code or adding large complex features, it is a good idea to
[open a discussion... | diff --git a/dascore/data_registry.txt b/dascore/data_registry.txt
index 7f55cdd6e..e5a644788 100644
--- a/dascore/data_registry.txt
+++ b/dascore/data_registry.txt
@@ -13,3 +13,4 @@ prodml_2.1.h5 47875ae1fa17d99849cdb595e9fa6853d162605c1556be90225f37aaa123dded h
h5_simple_1.h5 52803b26a5738da541cc9b32b867434cad0a8456... | 9 | 9 | 2 | [{"id": "G0", "claim": "The docstring would be more accurate if it described the operation as updating existing non-dimensional coordinates rather than 'will either add new coordinates, or update existing ones'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
DASDAE__dascore__326 | DASDAE/dascore | 326 | defect | bde3da3ccf19afe04687937d451c08fef09c4bf5 | 9d2db24ce0bbff6dba675407d8d32eebd7502e3c | fix correlate rough edges |
## Description
This PR tweaks the `Patch.correlate` code to add additional comments and test the case of complex data, as well as make other small improvements.
## Checklist
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings or appro... | diff --git a/dascore/proc/coords.py b/dascore/proc/coords.py
index 180adf5d5..d6765e8e5 100644
--- a/dascore/proc/coords.py
+++ b/dascore/proc/coords.py
@@ -164,9 +164,9 @@ def update_coords(self: PatchType, **kwargs) -> PatchType:
>>> import dascore as dc
>>> pa = dc.get_example_patch()
>>> # Add 1 to a... | 2 | 2 | 1 | [{"id": "G0", "claim": "The docstring's Example 4 comment should say \"Correlate along time dimension\" instead of \"Correlate along distance dimension\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The variable \"cor_array\" should be renamed ... | null |
DASDAE__dascore__373 | DASDAE/dascore | 373 | defect | 8e935703f0f25c43bd91d3633a1b478c4815eee7 | 3e768760c980978e096fc1ec715f1bc947200a8c | Pad | <!--
Thanks for contributing to DASCore, community contributions are most welcomed!
Before contributing, please read through the [contributors doc](https://dascore.org/contributing/contributing.html)
Before making big changes to the code or adding large complex features, it is a good idea to
[open a discussion... | diff --git a/dascore/core/coords.py b/dascore/core/coords.py
index 7acb899d1..b4f03064a 100644
--- a/dascore/core/coords.py
+++ b/dascore/core/coords.py
@@ -563,7 +563,7 @@ def update(self, **kwargs):
out = out.convert_units(units)
return out
- def get_sample_count(self, value, samples=False)... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the redundant check that skips non-dimension names (`if dim not in patch.dims: continue`) in pad(), because get_multiple_dim_value_from_kwargs already ensures only existing dims come back, making the branch unreachable and costing full test coverage.", "category": "maintainability", "verd... | null |
DASDAE__dascore__430 | DASDAE/dascore | 430 | defect | 8fa6680708407ec11107a93b3579d69554feadfb | e2748e1fedec3b45c77190c39cf396b7d9b0f0cf | add_distance_to | ## Description
This PR adds a `add_distance_to` patch method for calculating the distance to a point specified by a series. It can then be used to sort the channels of the patch. See #429.
## Checklist
I have (if applicable):
- [x] referenced the GitHub issue this PR closes.
- [x] documented the new featu... | diff --git a/dascore/core/patch.py b/dascore/core/patch.py
index 6bd10cc30..3537d02ca 100644
--- a/dascore/core/patch.py
+++ b/dascore/core/patch.py
@@ -250,6 +250,7 @@ def channel_count(self) -> int:
squeeze = dascore.proc.coords.squeeze
append_dims = dascore.proc.coords.append_dims
transpose = dascore.... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the `patch_with_distance` variable in the `add_distance_to` docstring example to `patch_with_origin_dist`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DASDAE__dascore__515 | DASDAE/dascore | 515 | defect | 2d2a7dd41dd4b587a0e538d8fe7b0410391dc63c | 6955147b61cb59aaa61f6b806469ee99b731bda7 | fix_514 | <!--
Thanks for contributing to DASCore, community contributions are most welcomed!
Before contributing, please read through the [contributors doc](https://dascore.org/contributing/contributing.html)
Before making big changes to the code or adding large complex features, it is a good idea to
[open a discussion... | diff --git a/dascore/io/prodml/__init__.py b/dascore/io/prodml/__init__.py
index 202a1d3a3..a0088e54e 100644
--- a/dascore/io/prodml/__init__.py
+++ b/dascore/io/prodml/__init__.py
@@ -1,8 +1,6 @@
"""
Support for prodML format.
-This is used by Silixa's iDAS as an HDF5 format and perhaps other interrogators.
-
Mor... | 5 | 2 | 2 | [{"id": "G0", "claim": "If RawDataTime has 0 or 1 samples, (len(time_array) - 1) yields 0 or -1, causing an incorrect step or a division by zero later; return a coord derived from the array in that degenerate case before computing step.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
DASDAE__dascore__535 | DASDAE/dascore | 535 | defect | 4242dc7ba687e2ec728ff90961c97e9f1c9f7fd7 | c130c26882d16c7d6587a7f0d385eef864f5f394 | np.dropna to include inf | ## Description
This PR makes `drop_na` include inf by default but this can be controlled with a new `include_inf` argument. Same for `fill_na`.
## Checklist
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings or appropriate doc page.
-... | diff --git a/dascore/proc/basic.py b/dascore/proc/basic.py
index 1de2d291c..84ca1cb63 100644
--- a/dascore/proc/basic.py
+++ b/dascore/proc/basic.py
@@ -490,7 +490,12 @@ def _apply_op_units(patch, other, operator, attrs, reversed=False):
@patch_function()
-def dropna(patch: PatchType, dim, how: Literal["any", "all... | 2 | 2 | 2 | [{"id": "G0", "claim": "The dropna docstring's Notes should be updated because with include_inf=True (the default) the function uses numpy.isfinite, not pandas.isnull, so 'nullish' is defined by pandas.isnull is no longer accurate.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
DASDAE__dascore__561 | DASDAE/dascore | 561 | defect | d843736696cc8dd0ec8a3497952af733f1f6c676 | 28d7f49435ff7e6ed2aacdc9e7d613527311ec44 | Align to coord | ## Description
This PR implements a new patch method called `align_to_coord` which gives fine-grained control over shifting parts of a patch over arbitrary dimensions. .
## Checklist
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings ... | diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index f6187dd1c..7cd2ece89 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -3,7 +3,7 @@ Thanks for contributing to DASCore, community contributions are most welcomed!
Before contributing, please r... | 7 | 3 | 1 | [{"id": "G0", "claim": "The shift-calculation function does not validate its inputs, so an empty shifts array would crash on shifts.min()/shifts.max(), a non-positive n_samples could produce invalid output sizes, and in valid mode output_size could become negative when the shift range exceeds n_samples.", "category": "... | null |
DASDAE__dascore__589 | DASDAE/dascore | 589 | defect | 1dccf58c6e44ee84cd750d388676e74bb7e10d1e | b2bbc3f6349879489bff2a7fdee2b216d6322032 | support and testing for valencia febus files | ## Description
This PR tries to make the Febus parser more flexible so that it can also handle older (version 1) files. Closes #587.
## Checklist
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings and/or appropriate doc page.
- [ ] in... | diff --git a/dascore/__init__.py b/dascore/__init__.py
index f8a95846b..d2aa46e37 100644
--- a/dascore/__init__.py
+++ b/dascore/__init__.py
@@ -1,5 +1,8 @@
"""DASCore - A library for fiber optic sensing."""
from __future__ import annotations
+
+import warnings
+
from rich import print # noqa
from dascore.core.p... | 8 | 4 | 0 | [{"id": "G0", "claim": "warnings.warn() at dascore/io/febus/utils.py:198 should specify stacklevel=2 (per Ruff B028) so the warning points to the caller's location rather than this internal function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
DASDAE__dascore__590 | DASDAE/dascore | 590 | defect | 1ebc98fc6c61989714c35e75239a7d8ae2e93bf7 | bb5379ee9021f25fcb9e9b8bbd778c360da74549 | add type hints to patch functions | ## Description
This PR just adds some missing type hints to patch functions.
## Checklist
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings and/or appropriate doc page.
- [ ] included tests. See [testing guidelines](https://dascore.o... | diff --git a/dascore/proc/coords.py b/dascore/proc/coords.py
index c5e2547fa..1f223b9db 100644
--- a/dascore/proc/coords.py
+++ b/dascore/proc/coords.py
@@ -22,7 +22,7 @@
@patch_function()
-def snap_coords(patch: PatchType, *coords, reverse=False):
+def snap_coords(patch: PatchType, *coords, reverse: bool = False)... | 3 | 1 | 0 | [{"id": "G0", "claim": "The cval type hint on sobel_filter says float while the runtime validation in _check_sobel_args accepts float | int, so the hint should be widened to float | int.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The detrend par... | null |
DASDAE__dascore__614 | DASDAE/dascore | 614 | defect | a80f225345f12180c011fca3a91229dbf373ddf9 | 3ee3918c5c4618a43fee9400fde0bc10c59f9d61 | support older dasvader files | ## Description
This PR adds support for older DASVader files. In these files the data are stored in a reference called 'strainrate' rather than 'data'.
## Checklist
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings and/or appropriate... | diff --git a/dascore/io/dasvader/utils.py b/dascore/io/dasvader/utils.py
index f536505f6..45caf0d82 100644
--- a/dascore/io/dasvader/utils.py
+++ b/dascore/io/dasvader/utils.py
@@ -16,7 +16,6 @@
# Therefore the Unix epoch offset for JLD2 DateTime integers is 62135683200000 ms.
_JULIA_EPOCH_MS = 62135683200000
-
at... | 11 | 5 | 2 | [{"id": "G0", "claim": "Format detection now classifies files without \"atrib\" as DASVader, but DASVaderV1.scan still unconditionally accesses rec[\"atrib\"], so scan flows (including dc.scan) will fail at runtime for older atrib-less files, leaving the new compatibility path incomplete.", "category": "correctness", "... | null |
DASDAE__dascore__615 | DASDAE/dascore | 615 | defect | a80f225345f12180c011fca3a91229dbf373ddf9 | 6b1d7de8be722687e56d896a82c38e9c130b7e7d | numpy int indexing and ufunc signature fallback |
## Description
This PR ensure a single numpy int can be used in `Patch.select` (as currently a python int can) and adds some testing around ufunc signatures and fallbacks for when signatures fail.
This fixes the codecov CI failure in #614.
## Checklist
I have (if applicable):
- [ ] referenced the Gi... | diff --git a/dascore/utils/array.py b/dascore/utils/array.py
index 7a36648d2..159b3db34 100644
--- a/dascore/utils/array.py
+++ b/dascore/utils/array.py
@@ -384,12 +384,14 @@ def _reassemble_patch(result, patch, func, args, kwargs):
# to the array so we can adjust the coords accordingly.
try:
sig = i... | 3 | 2 | 2 | [{"id": "G0", "claim": "In `_to_slice`, `slice(limits, limits + 1)` now performs NumPy scalar arithmetic on np.integer inputs, which wraps around for fixed-width dtypes at their max value (e.g. np.uint8(255)) and can yield a wrong/empty slice, so `limits` should be cast to a Python int before building the slice.", "cat... | null |
DASDAE__dascore__647 | DASDAE/dascore | 647 | defect | 574e291e483e77f2fe7f464c798af0113f09340c | c7bc672107de3d1e4e1e5caa4329e2b8d70f2088 | workaround for dasvader HDF2 compatibility issue. | • ## Description
This PR makes DASVader legacy JLD2 handling explicit on newer HDF5 stacks.
Legacy DASVader files can contain anonymous JLD2 object references which read successfully on older stacks but fail on newer h5py/HDF5 combinations. Instead of letting those failures surface as low-level h5py errors, ... | diff --git a/benchmarks/test_io_benchmarks.py b/benchmarks/test_io_benchmarks.py
index 9b11dfd46..5614455d8 100644
--- a/benchmarks/test_io_benchmarks.py
+++ b/benchmarks/test_io_benchmarks.py
@@ -8,7 +8,7 @@
import pytest
import dascore as dc
-from dascore.exceptions import MissingOptionalDependencyError
+from das... | 7 | 7 | 1 | [{"id": "G0", "claim": "scan() in core.py accesses rec[\"atrib\"] directly without _dereference, so legacy files that get a clear DASVaderCompatibilityError on read() may fail differently on scan().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
DASDAE__dascore__652 | DASDAE/dascore | 652 | defect | 2bc087e04604f872775dd35d4623f37b984c3542 | 2b5e5786c9aff12738ee42445dd77dceed890130 | add remote HTTP regression tests |
## Description
This PR fixes a race condition in the testing of http UPaths introduced in #645
I have (if applicable):
- [ ] referenced the GitHub issue this PR closes.
- [ ] documented the new feature with docstrings and/or appropriate doc page.
- [ ] included tests. See [testing guidelines](https://d... | diff --git a/tests/test_io/test_remote_http.py b/tests/test_io/test_remote_http.py
index 634bc6f64..2a7374fad 100644
--- a/tests/test_io/test_remote_http.py
+++ b/tests/test_io/test_remote_http.py
@@ -159,9 +159,12 @@ def test_http_range_hdf5_read_succeeds(
"""Range-capable HTTP servers should support DASCore ... | 3 | 3 | 3 | [{"id": "G0", "claim": "The tests import get_cached_local_file from dascore.utils.remote_io and monkeypatch/call it, but the function is not defined anywhere in the codebase, so pytest collection fails with ImportError and the monkeypatch/call sites raise AttributeError before any test runs.", "category": "correctness"... | null |
DATA-DOG__go-sqlmock__129 | DATA-DOG/go-sqlmock | 129 | defect | 4d2035c8791f5f1eb8e280e3e429c89c25da8ab5 | 92e5f46c1cb6e98e03894bb6967301fe6fe8b1cc | Apply parameter converter on row values | Apply `driver.DefaultParameterConverter.ConvertValue` on input values when building a row. With this fix we now use pure `driver.Value` internally.
This is the fix [I teased in #127](https://github.com/DATA-DOG/go-sqlmock/pull/127#issuecomment-404494587). | diff --git a/rows.go b/rows.go
index 836f49b..6477ed6 100644
--- a/rows.go
+++ b/rows.go
@@ -126,6 +126,17 @@ func (r *Rows) AddRow(values ...driver.Value) *Rows {
row := make([]driver.Value, len(r.cols))
for i, v := range values {
+ // Convert user-friendly values (such as int or driver.Valuer)
+ // to databas... | 3 | 1 | 1 | [{"id": "G0", "claim": "Running the multi-package tests in coverage mode appears to be supported only on Go 1.10.x, so the pull request will not be merged unless the bash scripts check that the Go version is >= 1.10.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1... | null |
DATA-DOG__go-sqlmock__134 | DATA-DOG/go-sqlmock | 134 | defect | c8e01dc2443e2e807166dfcbcc6f5051d6cb0423 | 3cbf32d5e7413a59c37f2851e3c6e26f9005832f | Allow to use a custom converter | Allow to use a custom converter if mocking a driver that supports some advanced data types like `[]string` in [kshvakov/clickhouse](https://github.com/kshvakov/clickhouse/).
Changes:
* added [functional options](https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis) to sqlmock.New and sqlmock.NewW... | diff --git a/driver.go b/driver.go
index 2a480fe..876f7a2 100644
--- a/driver.go
+++ b/driver.go
@@ -39,7 +39,7 @@ func (d *mockDriver) Open(dsn string) (driver.Conn, error) {
// and a mock to manage expectations.
// Pings db so that all expectations could be
// asserted.
-func New() (*sql.DB, Sqlmock, error) {
+fun... | 1 | 1 | 0 | [{"id": "G0", "claim": "Create an options.go file and move the option there, renaming WithValueConverter to ValueConverterOption, and update the godoc for the New and NewWithDSN methods since they now accept options.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DATA-DOG__go-sqlmock__318 | DATA-DOG/go-sqlmock | 318 | defect | 3476f31d8fc4d652040f8d534380f5b54a8d3a42 | fd971def423315aacad9923a9a9eb8e4ab86ce11 | CSVColParser: correctly set nil values in Rows | I am using a struct with a `*string` such as
```golang
type Result struct {
Value *string `json:"value,omitempty"`
}
```
Previously the `NULL` passed to `FromCSVString(..)` was not working correctly.
After scanning the result Rows of the query into the struct resulted in an empty string.
With this cha... | diff --git a/rows.go b/rows.go
index 24b1bcd..3e916ca 100644
--- a/rows.go
+++ b/rows.go
@@ -15,7 +15,7 @@ const invalidate = "☠☠☠ MEMORY OVERWRITTEN ☠☠☠ "
// CSVColumnParser is a function which converts trimmed csv
// column string to a []byte representation. Currently
// transforms NULL to nil
-var CSVColumnParser... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new col3 nil-check's Fatalf should report col3 and col3 instead of col2 and col2.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
DATA-DOG__go-txdb__51 | DATA-DOG/go-txdb | 51 | defect | 164f0b8f537414c9a05123ff55ded733052e38e7 | b7e1748eda39726a58f9873dfbb7b86ad8dfb8ad | Refactor tests and add CI | - move all tests to txdb_test package
- refactor tests, make it easy to add more drivers
- enable github action CI for mysql & postgresql
- fix some lint warnings | diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..b0be61f
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,64 @@
+name: Continuous Integration
+on: [push, pull_request]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@... | 4 | 3 | 1 | [{"id": "G0", "claim": "The lint job pins go-version 1.19 while the integration job uses 1.20, and the reviewer feels both should be 1.20.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "setup-go's go-version-file input could be used to read the ... | null |
DATA-DOG__go-txdb__64 | DATA-DOG/go-txdb | 64 | defect | d75c6fddd9e8cb43a1db7110ab974acdca7fda72 | 08031bc23d46264a49e861ef2cde8753623e5b1c | fix beginTxOnce() context cancel | we received this error.
```
transaction has already been committed or rolled back errors
```
fix: https://github.com/DATA-DOG/go-txdb/issues/43#issuecomment-1625076132
| diff --git a/db_go18.go b/db_go18.go
index 91bf4db..269b784 100644
--- a/db_go18.go
+++ b/db_go18.go
@@ -53,12 +53,16 @@ func (c *conn) beginTxOnce(ctx context.Context, done <-chan struct{}) (*sql.Tx,
}
go func() {
select {
- case <-ctx.Done():
- // operation was interrupted by context cancel, so we cancel pa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The restructured select is incorrect: if read correctly, `<-ctx.Done()` and `<-c.ctx.Done()` are only checked once upon initialization and, falling to the default case, only `<-ctx.Done()` is ever checked afterwards, so the select should be restructured to check `<-ctx.Done()` persistently with ... | null |
DFHack__dfhack__2392 | DFHack/dfhack | 2,392 | defect | 2d406269120b0034d498d0c0e473ad42e27844bc | a74bddb56417032f4014cf8aa1b18b82d0f9980c | Unit Tests: integrates googletest | I couldn't figure out how to get ctest working, but the unit tests are integrated into CI at least. Just need more than one unit test now. | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 83f3490da50..53bfca76eef 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -83,7 +83,7 @@ jobs:
-B build-ci \
-G Ninja \
-DDFHACK_BUILD_ARCH=64 \
- -DBUILD_TESTS:BOOL=ON \
+... | 5 | 4 | 1 | [{"id": "G0", "claim": "Could `build-ci/library/tests/test-library` be run in a separate CI step instead of inside an `if` condition in the Run tests step, which is messy and forces the `exit 1` at the end?", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
DHowett__go-plist__54 | DHowett/go-plist | 54 | defect | 591f970eefbbeb04d7b37f334a0c4c3256e32876 | d93fe75f65d627248dd4916f45734ec818644c4b | Enable CF$UID packing for *step formats | Although Apple's NSKeyedArchiver does not want to encode to things that are neither XML nor binary, GNUstep's version has no such limitation. On GNUstep they do what Apple does for XML for the text format too.
The proposed change consolidates the packing into one place.
Closes #53. | diff --git a/common_data_for_test.go b/common_data_for_test.go
index bc4d625..fcdccb8 100644
--- a/common_data_for_test.go
+++ b/common_data_for_test.go
@@ -626,8 +626,10 @@ var tests = []TestData{
0xffffffffff,
},
Documents: map[int][]byte{
- XMLFormat: []byte(xmlPreamble + `<plist version="1.0"><array>... | 1 | 1 | 1 | [{"id": "G0", "claim": "The composite literal in cfUID.toDict is missing a trailing comma after uint64(p), which does not compile in Go.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
DHowett__go-plist__64 | DHowett/go-plist | 64 | defect | 117a925f21509a9550f452433c190139e480a726 | 895254aa2a9c8dbb594987369051d15941f634d5 | text: add ' to the runes to be quoted when using OpenStep format | Received a "error parsing text property list: missing ; in dictionary .." error when opening an Xcode project saved encoded by the package.
Found the roor cause to be a dictionary value containing an aposthrope, e.g. "JSON's".
Added this character to the bitmap containing quotable chars.
| diff --git a/common_data_for_test.go b/common_data_for_test.go
index ac35e1f..e67b8bf 100644
--- a/common_data_for_test.go
+++ b/common_data_for_test.go
@@ -159,6 +159,16 @@ var tests = []TestData{
BinaryFormat: []byte{98, 112, 108, 105, 115, 116, 48, 48, 85, 72, 101, 108, 108, 111, 8, 0, 0, 0, 0, 0, 0, 1, 1, 0, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test case's Name string misspells \"apostrophe\" as \"aposthrope\" and should read \"String containing apostrophe\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DIYgod__RSSHub__14782 | DIYgod/RSSHub | 14,782 | defect | d1f30d7d0ed12ede2474b5fcb2b667cb23be712c | 817a2feadff4631de4091bdf450e9234ac2194a2 | feat: add javdb session config and cookieJar to fakeGot | <!--
If you have any difficulties in filling out this form, please refer to https://docs.rsshub.app/joinus/new-rss/submit-route
如果你在填写此表单时遇到任何困难,请参考 https://docs.rsshub.app/zh/joinus/new-rss/submit-route
-->
## Involved Issue / 该 PR 相关 Issue
Close #14423
## Example for the Proposed Route(s) / 路由地址示例
<!-... | diff --git a/lib/config.ts b/lib/config.ts
index c915144c4a40..54675ad817c2 100644
--- a/lib/config.ts
+++ b/lib/config.ts
@@ -284,6 +284,9 @@ export type Config = {
zodgame: {
cookie?: string;
};
+ javdb: {
+ session?: string;
+ };
};
const value: Config | Record<string, any> = {};
... | 5 | 5 | 2 | [{"id": "G0", "claim": "The new javdb entries in lib/config.ts (both the Config type and calculateValue) should be inserted in alphabetical order per the RSSHub script standard.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new JavDB sectio... | null |
DIYgod__RSSHub__14934 | DIYgod/RSSHub | 14,934 | defect | 76bc7216edefc3c38423b32a31a5cc737811e954 | 9578d8987080074c09280d0b8fbb713bda4d1123 | test: add full routes test | <!--
If you have any difficulties in filling out this form, please refer to https://docs.rsshub.app/joinus/new-rss/submit-route
如果你在填写此表单时遇到任何困难,请参考 https://docs.rsshub.app/zh/joinus/new-rss/submit-route
-->
## Involved Issue / 该 PR 相关 Issue
Close #
## Example for the Proposed Route(s) / 路由地址示例
<!--
Pl... | diff --git a/lib/registry.test.ts b/lib/registry.test.ts
index ebc5c7526d56..d168eb59906f 100644
--- a/lib/registry.test.ts
+++ b/lib/registry.test.ts
@@ -1,55 +1,8 @@
-import { describe, expect, it, afterAll } from 'vitest';
-process.env.SOCKET = 'socket';
-
+import { describe, expect, it } from 'vitest';
import app ... | 1 | 1 | 0 | [{"id": "G0", "claim": "lib/routes.test.ts uses require() to import '../assets/build/routes.json', a module that is not published (eslint rule n/no-unpublished-require).", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DIYgod__RSSHub__21160 | DIYgod/RSSHub | 21,160 | defect | 4c4339c625f62632bd65ec7f54a2d1b7cd4c5d79 | 1e8083a00258bd833ed322a2d3a38b87f04e3d56 | fix(route/dailypush): use puppeteer | ## Example for the Proposed Route(s) / 路由地址示例
```routes
/dailypush
/dailypush/latest
/dailypush/tag/backend
/dailypush/tag/backend/trending
/dailypush/tag/backend/latest
```
## New RSS Route Checklist / 新 RSS 路由检查表
- [ ] New Route / 新的路由
- [ ] Follows [Script Standard](https://docs.rsshub.app/joinus... | diff --git a/lib/routes/bilibili/cache.ts b/lib/routes/bilibili/cache.ts
index 63c3a201f601..e4add3e2226c 100644
--- a/lib/routes/bilibili/cache.ts
+++ b/lib/routes/bilibili/cache.ts
@@ -38,7 +38,7 @@ const getCookie = (disableConfig = false) => {
let waitForRequest = new Promise<string>((resolve) => {
... | 6 | 5 | 3 | [{"id": "G0", "claim": "Enhancing each article via getPuppeteerPage creates a new Puppeteer browser session per URL (and initially in parallel), violating the avoid-multiple-sessions rule; reuse a single browser session (newPage per fetch) or use plain HTTP requests for detail pages.", "category": "performance", "verdi... | null |
DIYgod__RSSHub__21300 | DIYgod/RSSHub | 21,300 | defect | 02c6e436c66d6ab5d78a68f8458525943700463a | ac4491332a1c437db138eb766ee5a5458f548525 | feat(api): add cache probing | <!--
If you have any difficulties in filling out this form, please refer to https://docs.rsshub.app/joinus/new-rss/submit-route
如果你在填写此表单时遇到任何困难,请参考 https://docs.rsshub.app/zh/joinus/new-rss/submit-route
-->
## Involved Issue / 该 PR 相关 Issue
Close #20768
## Example for the Proposed Route(s) / 路由地址示例
<!--... | diff --git a/lib/api/category/one.ts b/lib/api/category/one.ts
index b5021b545f66..a8c8726cb9d2 100644
--- a/lib/api/category/one.ts
+++ b/lib/api/category/one.ts
@@ -45,6 +45,7 @@ const QuerySchema = z.object({
const route = createRoute({
method: 'get',
path: '/category/{category}',
+ description: 'Names... | 4 | 2 | 2 | [{"id": "G0", "claim": "The status tests call `/route/status?path=...` while the handler validates the `requestPath` query param, so the requests will likely fail validation and return 400 instead of exercising the 404/200/503 paths, and the tests should be updated to use `?requestPath=` (or the schema/handler changed ... | null |
DIYgod__RSSHub__21546 | DIYgod/RSSHub | 21,546 | defect | cacb6e46c6d0ad09e065e6d768136895ff44f13e | f4020afe073dc7738f06b9ff0836b9116a2d1d63 | fix(ua): ensure header-generator and custom ua are effective with each other | <!--
If you have any difficulties in filling out this form, please refer to https://docs.rsshub.app/joinus/new-rss/submit-route
如果你在填写此表单时遇到任何困难,请参考 https://docs.rsshub.app/zh/joinus/new-rss/submit-route
-->
## Involved Issue / 该 PR 相关 Issue
Close #
## Example for the Proposed Route(s) / 路由地址示例
<!--
Ple... | diff --git a/lib/app.test.ts b/lib/app.test.ts
index 185cc6f620f1..88ba65138338 100644
--- a/lib/app.test.ts
+++ b/lib/app.test.ts
@@ -3,8 +3,6 @@ import { describe, expect, it, vi } from 'vitest';
import app from '@/app';
-const { config } = await import('@/config');
-
describe('index', () => {
it('serve in... | 1 | 1 | 1 | [{"id": "G0", "claim": "Conditioning generateHeaders(...) on config.isDefaultUA makes headerGeneratorOptions a no-op whenever an operator sets UA or NO_RANDOM_UA, regressing routes that explicitly request browser presets because client-hint headers like sec-ch-ua* are no longer generated, which can reintroduce anti-bot... | null |
DIYgod__RSSHub__21574 | DIYgod/RSSHub | 21,574 | defect | 72c632595c24d387520d1c5e502e4f6dc7df83d3 | f08e740cbcd88a1613a823a829423099557d48dc | feat(core): add honeybadger support | <!--
If you have any difficulties in filling out this form, please refer to https://docs.rsshub.app/joinus/new-rss/submit-route
如果你在填写此表单时遇到任何困难,请参考 https://docs.rsshub.app/zh/joinus/new-rss/submit-route
-->
## Involved Issue / 该 PR 相关 Issue
Close #8062
## Example for the Proposed Route(s) / 路由地址示例
<!--
... | diff --git a/lib/app-bootstrap.tsx b/lib/app-bootstrap.tsx
index c1bd50bc1811..25468be6864f 100644
--- a/lib/app-bootstrap.tsx
+++ b/lib/app-bootstrap.tsx
@@ -10,6 +10,7 @@ import antiHotlink from '@/middleware/anti-hotlink';
import cache from '@/middleware/cache';
import debug from '@/middleware/debug';
import head... | 1 | 1 | 1 | [{"id": "G0", "claim": "Honeybadger.configure is called with default options, so its uncaught-exception hook is enabled when HONEYBADGER_API_KEY is set, which changes process-lifecycle behavior alongside the existing process.on('uncaughtException') logger and can terminate the server on uncaught exceptions that previou... | null |
DLR-RM__BlenderProc__1158 | DLR-RM/BlenderProc | 1,158 | defect | 1ddf57026e3588bb770e97926c15baa5d9476ec7 | 3639017c41c5c7e36ecb0cb324929bc469753c86 | Allow use of external bpy package from python environment | Allow BlenderProc to use [bpy python module](https://pypi.org/project/bpy/) without installing Blender.
Controlled by the `USE_EXTERNAL_BPY_MODULE` environmental variable, to distinguish between the normal and this BlenderProc behavior. Allows plugging BlenderProc inside any `python` pipeline without having to run ... | diff --git a/blenderproc/__init__.py b/blenderproc/__init__.py
index 1f4b9f951..42b6f22a8 100644
--- a/blenderproc/__init__.py
+++ b/blenderproc/__init__.py
@@ -3,6 +3,21 @@
import os
import sys
from .version import __version__
+from .python.utility.SetupUtility import SetupUtility, is_using_external_bpy_module
+
+#... | 4 | 4 | 1 | [{"id": "G0", "claim": "The docs should give the required dependencies directly as a single pip install command instead of a plain list the user has to assemble manually.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "SetupUtility.setup() is not n... | null |
DLR-RM__BlenderProc__457 | DLR-RM/BlenderProc | 457 | defect | 33bd8ef10cdd3510abd46b2038c15e62e7654452 | f30d6e48aa428d8a371ad020a6929f97d4999935 | fix: load_haven_mat() loads more materials | The `load_haven_mat()` function now also loads material where the color map is identified by `"_diffuse_"`, `"_col_"` or `"_albedo_"`.
wip for #455 | diff --git a/blenderproc/python/loader/HavenMaterialLoader.py b/blenderproc/python/loader/HavenMaterialLoader.py
index 6bcc5006d..ca37decf8 100644
--- a/blenderproc/python/loader/HavenMaterialLoader.py
+++ b/blenderproc/python/loader/HavenMaterialLoader.py
@@ -1,6 +1,5 @@
import glob
import os
-
import addon_utils
... | 4 | 2 | 1 | [{"id": "G0", "claim": "The removed comment explaining that texture map identifiers are differently capitalized should be added back, as it is still valid.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Haven textures folder path in the test s... | null |
DLR-RM__BlenderProc__640 | DLR-RM/BlenderProc | 640 | defect | e7ee5ac20d25aa44d4863e8da4a8c72e87398569 | 369d3eaccaaf97d218af69a6d77f8ad06b43ec46 | Iss 636 parent cleanup | **Merge first: #633**
* Puts all children / parent methods into the entity class
* get_children() and get_parent() now use `convert_to_entity_subclass` to return the blender objects wrapped into the correct class
* Adds tests
Fixes #636 | diff --git a/blenderproc/python/loader/BlendLoader.py b/blenderproc/python/loader/BlendLoader.py
index aa0b55607..214c5ab39 100644
--- a/blenderproc/python/loader/BlendLoader.py
+++ b/blenderproc/python/loader/BlendLoader.py
@@ -4,9 +4,7 @@
import bpy
from blenderproc.python.utility.BlenderUtility import collect_al... | 2 | 1 | 0 | [{"id": "G0", "claim": "Asks whether non-mesh, non-light scene objects such as structs or the camera are handled by convert_to_entity_subclass (the function currently has no branch for them).", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "The new blender_ob... | null |
DLR-RM__stable-baselines3__1186 | DLR-RM/stable-baselines3 | 1,186 | defect | e3b24829a57ece38f78436cfea38aaa62d059850 | a7f3811c88901b879edb3c06b4c3710f1dfcfddb | Fix `tests/test_distributions.py` type hint | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
<!--- You can use the syntax ... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 9ae202bb36..98e1d091f7 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -37,6 +37,7 @@ Others:
^^^^^^^
- Used issue forms instead of issue templates
- Fixed flake8 config to be compatible with flake8 6+
+- Fixed ``tests/test_di... | 1 | 1 | 1 | [{"id": "G0", "claim": "Removing the np.array() wrapper may reintroduce the bug it worked around (sb3-contrib#83), so either the test should be improved or the type annotation of MultiCategoricalDistribution should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
DLR-RM__stable-baselines3__1194 | DLR-RM/stable-baselines3 | 1,194 | defect | b46396a6644d6f262984014c7fe3ecaf713db86d | f8b9744f54089c7fbc708e9ec29ded3c8f1092ba | Fix `test_vec_normalize.py`, `test_tensorboard.py` and `common/monitor.py` type hint | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
In this PR, I also replaced `Union[int, float]` by just `float`, as they are equivalent for type hint:
In https://peps.python.org/pep-0484/#the-numeric-tower
> Rather than requiring... | diff --git a/docs/guide/tensorboard.rst b/docs/guide/tensorboard.rst
index 15cc67e6f3..ba694fb09f 100644
--- a/docs/guide/tensorboard.rst
+++ b/docs/guide/tensorboard.rst
@@ -268,11 +268,9 @@ Here is an example of how to save hyperparameters in TensorBoard:
class HParamCallback(BaseCallback):
- def __in... | 2 | 1 | 0 | [{"id": "G0", "claim": "The isinstance workaround for reading gamma (which BaseAlgorithm does not define) in the test's HParamCallback is not satisfying, and mypy could probably be ignored there instead, since the test would fail if the wrong object were used.", "category": "design", "verdict": "supported", "priority":... | null |
DLR-RM__stable-baselines3__1238 | DLR-RM/stable-baselines3 | 1,238 | defect | b702884c23b6aeaa5d2a830b37d6b15fb1bdf983 | 985e825bbe28a9693d69e4e44e32a8d7da5d78c6 | Refactor observation stacking | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
### Summary of changes:
- `StackedObservations` now supports Dict as an observation space. It handles this by nesting instances of StackedObservation.
- `DictStackedObservation` has... | diff --git a/setup.cfg b/setup.cfg
index 37ffa17f3b..3698ded4fa 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -48,7 +48,6 @@ exclude = (?x)(
| stable_baselines3/common/vec_env/__init__.py$
| stable_baselines3/common/vec_env/base_vec_env.py$
| stable_baselines3/common/vec_env/dummy_vec_env.py$
- | stable_b... | 3 | 1 | 0 | [{"id": "G0", "claim": "Consider whether the `.stacked_observation_space` property is a better alternative to the deprecated `stack_observation_space` method, which the author suggests should be removed since the docstring workaround covers all cases.", "category": "design", "verdict": "uncertain", "priority": "P2", "s... | null |
DLR-RM__stable-baselines3__1286 | DLR-RM/stable-baselines3 | 1,286 | defect | 92f7a6f23b90a9965c2e9cbe53f775055c5e0dc4 | 8fc77a0b8dbfd4a5bd980dd348ed42719c77d730 | Add sticky actions for Atari games | <!--- Provide a general summary of your changes in the Title above -->
## Description
See:
https://github.com/DLR-RM/stable-baselines3/issues/635#issuecomment-1375802447
Whether this default setting will change in the future is still an open question.
This is the implementation that uses the environment argu... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index db9d6c6271..fb47d0879e 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -13,6 +13,7 @@ Breaking Changes:
New Features:
^^^^^^^^^^^^^
+- Added ``repeat_action_probability`` argument in ``AtariWrapper``.
`SB3-Contrib`_
^^^^^... | 5 | 4 | 1 | [{"id": "G0", "claim": "Apply the same conditional wrapping to Sticky action as to NoopResetEnv, i.e. only wrap with StickyActionEnv when action_repeat_probability > 0, to avoid wrapping when not needed and sampling for nothing.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
DLR-RM__stable-baselines3__1301 | DLR-RM/stable-baselines3 | 1,301 | defect | 5ee90095352d6e6f4da901cff341e399f5a458c7 | dab2cc030afcef3c038800c4f451c830725042e3 | Add the argument `dtype` (default to `float32`) to the noise | ## Description
Fixed noise to return float32, instead of the default float64, to be consistent with gym action.
Changed all outputs of noise classes to float32, by casting with `np.astype(np.float32)`.
## Motivation and Context
Closes #1278
## Types of changes
<!--- What types of changes does your code intr... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index ebbb9f2622..69db3bb8e7 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -26,6 +26,7 @@ New Features:
Bug Fixes:
^^^^^^^^^^
- Fixed Atari wrapper that missed the reset condition (@luizapozzobon)
+- Fixed action noise to return f... | 2 | 1 | 0 | [{"id": "G0", "claim": "The dtype should be added to the constructor, defaulting to np.float32, so the noise can also work with other dtypes instead of the hardcoded astype(np.float32).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation nee... | null |
DLR-RM__stable-baselines3__1400 | DLR-RM/stable-baselines3 | 1,400 | defect | c5adad82b2c1733bd8add7e2eeb49a895b635856 | 5230bf57e5ea22329862bc652366bbbac2bc85ec | Make check_env assertions in regards to observation_space more actionable | ## Description
Provide more actionable assertions when checking the observation_space, as requested in #1399
In particular, add dedicated `AssertionError` for:
- a different shape of `obs` and `observation_space`
- a different dtype of `obs` and `observation_space`
- different lower bounds of `obs` and `observa... | diff --git a/README.md b/README.md
index 0e0b38de8f..f7b9adc277 100644
--- a/README.md
+++ b/README.md
@@ -104,7 +104,7 @@ pip install stable-baselines3[extra]
**Note:** Some shells such as Zsh require quotation marks around brackets, i.e. `pip install 'stable-baselines3[extra]'` ([More Info](https://stackoverflow.com... | 3 | 3 | 3 | [{"id": "G0", "claim": "The upper-bound assertion message should print np.max(observation_space.high) instead of the incorrect np.min(observation_space.high).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The observation_space.contains() failure me... | null |
DLR-RM__stable-baselines3__1443 | DLR-RM/stable-baselines3 | 1,443 | defect | 4232f9daa97408dd58844e5587cd8a5adcaffaf5 | 9bfa06c8a5829a15a43fe7ad885dbf78a2b51b37 | Fix VecExtractDictObs does not handle terminal observation | This pull request add handling of terminal observation in ``VecExtractDictObs``
## Motivation and Context
closes #1441
- [x] I have raised an issue to propose this change ([required](https://github.com/DLR-RM/stable-baselines3/blob/master/CONTRIBUTING.md) for new features and bug fixes)
## Types of changes
- [... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index dec4c2cddb..4ae5e471d6 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -21,6 +21,7 @@ New Features:
Bug Fixes:
^^^^^^^^^^
+- Fixed ``VecExtractDictObs`` does not handle terminal observation (@WeberSamuel)
Deprecations:
^^... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should call step() with a valid action per environment (env.step([env.action_space.sample() for _ in range(env.num_envs)])) instead of the placeholder env.step(None), so the step path is actually exercised.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "int... | null |
DLR-RM__stable-baselines3__1463 | DLR-RM/stable-baselines3 | 1,463 | defect | dc09d81f9c07943ddbeac57405d9ae2a31f4d434 | 8e44663edf490794434bd00d1e8d23f83db5e929 | Fix DQN target update interval for multi-env | <!--- Provide a general summary of your changes in the Title above -->
## Description
closes #1373 (Target interval for DQN changes when saving and reloading the model)
The root cause lies in the function `_setup_model()` in `dqn/dqn.py`.
When the model is set up, the target update interval is updated by:
`s... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 6fc6dfab61..83e7b47ea5 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -35,6 +35,7 @@ New Features:
Bug Fixes:
^^^^^^^^^^
- Fixed ``VecExtractDictObs`` does not handle terminal observation (@WeberSamuel)
+- Fixed loading DQN c... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new test_dqn_target_update_interval should use a temporary path (like the other tests) instead of writing dqn_cartpole to the working directory.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should create the two Ca... | null |
DLR-RM__stable-baselines3__1484 | DLR-RM/stable-baselines3 | 1,484 | defect | 63a0bb9da13cb98450b83dae75ea2cce582c9b92 | 525f3ea2477b05d5f00f33674ce965fec033452c | Fix Colab logger error | <!--- Provide a general summary of your changes in the Title above -->
## Description
Related : https://github.com/python/mypy/issues/15191
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
<!--- Y... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 60750c2af6..5e4ea7c054 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -3,7 +3,7 @@
Changelog
==========
-Release 2.0.0a7 (WIP)
+Release 2.0.0a8 (WIP)
--------------------------
**Gymnasium support**
@@ -37,6 +37,7 @@ Bug... | 3 | 3 | 1 | [{"id": "G0", "claim": "araffin said the 'Fixed logger for Google Colab' bug-fix entry is not worth mentioning since the bug was introduced in the unreleased 2.0.0a7, and would rather the changelog mention a breaking change in the way the logger checks the file.", "category": "documentation", "verdict": "supported", "p... | null |
DLR-RM__stable-baselines3__1524 | DLR-RM/stable-baselines3 | 1,524 | defect | 1bfb55df0edc6882ecadf499419cd3ecb8fe6a79 | c216f7303854099f1602a4c104927b9ecca0a159 | Fix env checker single-step-env edge case (#1521) | ## Description
Before this change, env checker failed to `reset()` the tested environment before calling `step()` when checking for `Inf` / `NaN`. This could cause environments which happened to have only one `step()` available before the episode was terminated to fail.
This is now fixed.
## Motivation and Conte... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 16a7737e52..d2a3d60602 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -3,7 +3,7 @@
Changelog
==========
-Release 2.0.0a10 (WIP)
+Release 2.0.0a11 (WIP)
--------------------------
**Gymnasium support**
@@ -39,6 +39,8 @@ B... | 3 | 3 | 1 | [{"id": "G0", "claim": "The custom StepCalledAfterEnvTerminatedException is unnecessary since it is not caught anywhere; an assert is enough.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The render() method should drop the mode argument, which was remo... | null |
DLR-RM__stable-baselines3__1525 | DLR-RM/stable-baselines3 | 1,525 | defect | 8416f03c14977cbe6d09037a97936c4fa8f13a57 | 9f4b15cda865ce72c62821b37031e3d8718af87b | Fix render bug for vec env wrappers | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
See https://github.com/DLR-RM/rl-baselines3-zoo/pull/379
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issu... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 42c390789b..613f72c68b 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -3,7 +3,7 @@
Changelog
==========
-Release 2.0.0a11 (WIP)
+Release 2.0.0a12 (WIP)
--------------------------
**Gymnasium support**
@@ -63,7 +63,7 @@ O... | 5 | 4 | 2 | [{"id": "G0", "claim": "M002 asks why the render_mode argument was removed without first being deprecated, and M003 asks why the lookup is not moved into VecEnv itself with render_mode removed from VecEnv.__init__.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
DLR-RM__stable-baselines3__1543 | DLR-RM/stable-baselines3 | 1,543 | defect | 4fcda6b2d453a179c615162a36624d654e3456b2 | de9fc2ed9927e42660a61ee723677c3cbf99d537 | Fix wrong episode length after loading HER replay buffer | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
Fixes issue #1542
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
<... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index f9913c4b47..06efe5b3a5 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -41,6 +41,7 @@ Bug Fixes:
- Fixed loading DQN changes ``target_update_interval`` (@tobirohrer)
- Fixed env checker to properly reset the env before calling ... | 4 | 4 | 3 | [{"id": "G0", "claim": "Removing `self.dones[self.pos - 1] = True` leaves the truncated episode unsampleable because its ep_length stays 0; the line should be kept and `self.ep_length` also updated, to stay consistent with the previous version.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
DLR-RM__stable-baselines3__1572 | DLR-RM/stable-baselines3 | 1,572 | defect | 4fdb65ecf3705ba54de5f363a9c1b51a7cbda9b3 | b7a0cc32c9a7b5f883ecc87061b607bcb9c4a828 | Fix to use float64 actions for off policy algorithms | ## Description
Using float64 actions in continuous off-policy algorithms like TD3 and DDPG caused an error.
The core of the issue is how `ReplayBuffer` and `RolloutBuffer` are storing actions. The `RolloutBuffer` for On-Policy algorithms always casts the actions to float32. The ReplayBuffer on the other hand doesn´... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index fab7dd11cc..f206543115 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -43,6 +43,7 @@ Bug Fixes:
for ``Inf`` and ``NaN`` (@lutogniew)
- Fixed HER ``truncate_last_trajectory()`` (@lbergmann1)
- Fixed HER desired and achieved ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The buffers should only be cast to np.float32 for float types, otherwise the unconditioned float32 cast of observations (and actions) wastes a lot of space when using image observations.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
DLR-RM__stable-baselines3__1635 | DLR-RM/stable-baselines3 | 1,635 | defect | 84163b468c99538f2c98a3ebcc6124974ec631fd | 4386be5a399fd25668fe32c5373ed252e4cb0c93 | Add np.ndarray as a recognized type for TB histograms. | Currently the SB3 tensorboard writer only supports torch.Tensor as a histogram value. However, the SummaryWriter actually also allows np.ndarray as a value. This PR enables this.
## Motivation and Context
Closes #1634
- [x] I have raised an issue to propose this change ([required](https://github.com/DLR-RM/s... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index ae9ffcd732..5cda8cc62f 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -53,6 +53,7 @@ New Features:
^^^^^^^^^^^^^
- Added Python 3.11 support
- Added Gymnasium 0.29 support (@pseudo-rnd-thoughts)
+- Enabled np.ndarray logging ... | 4 | 3 | 1 | [{"id": "G0", "claim": "Add_histogram with an np.ndarray raises TypeError on supported but older stacks (numpy>=1.24 with torch<2.0), so the write path needs a fallback — the author proposed wrapping the call in try/except and the maintainer proposed casting to a torch tensor with from_numpy() and outputting a warning ... | null |
DLR-RM__stable-baselines3__1648 | DLR-RM/stable-baselines3 | 1,648 | defect | f4ec0f6afa1a23b0e0b746174cd0074471cc0b89 | 29503071ec5979629ba107786049939e4ee8f519 | Fix type hints for callbacks, utils and `VecTranspose` | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
<!--- You can use the... | diff --git a/docs/guide/callbacks.rst b/docs/guide/callbacks.rst
index e08c003673..5b2cfaee5a 100644
--- a/docs/guide/callbacks.rst
+++ b/docs/guide/callbacks.rst
@@ -119,23 +119,18 @@ A child callback is for instance :ref:`StopTrainingOnRewardThreshold <StopTraini
"""
Base class for triggering callba... | 6 | 2 | 1 | [{"id": "G0", "claim": "The training_env alias should be a read-only @property derived from model.get_env() so that it cannot be written and cannot go out of sync; the reviewer also asks why the alias is needed at all.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
DLR-RM__stable-baselines3__1652 | DLR-RM/stable-baselines3 | 1,652 | defect | f4ec0f6afa1a23b0e0b746174cd0074471cc0b89 | 54e439f1f207ff06b1904c2d71b849faa60b6b9b | Fix squash output unscaling when using gSDE | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
Closes #1592
1. Prevent setting `squash_output=True` if not `use_sde=True.`
2. Unscales actions taken during training if `squash_output=True.`
To check whether the actions have been... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index fd209dea8b..6d6d611334 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -3,6 +3,36 @@
Changelog
==========
+Release 2.1.1
+--------------------------
+
+Breaking Changes:
+^^^^^^^^^^^^^^^^^
+
+New Features:
+^^^^^^^^^^^^^
+
+... | 3 | 3 | 0 | [{"id": "G0", "claim": "In collect_rollouts, the new unsquash/clip branch is missing the explanatory comment and the comment above the branch should be moved down.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The assert message should read \"squ... | null |
DLR-RM__stable-baselines3__1662 | DLR-RM/stable-baselines3 | 1,662 | defect | 84163b468c99538f2c98a3ebcc6124974ec631fd | e5ebb1012717d3eba97dd8ab4650cf28964cb57b | Fixes replay buffer device after loading in OffPolicyAlgorithm | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
I set the device of the replay buffer to the device of the model in `load_replay_buffer()` for `OffPolicyAlgorithm.` This avoids having to set the device manually after loading, as sugges... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index ae9ffcd732..5fa4213804 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -23,6 +23,7 @@ Bug Fixes:
- Moves VectorizedActionNoise into ``_setup_learn()`` in OffPolicyAlgorithm (@PatrickHelm)
- Prevents out of bound error on Window... | 2 | 1 | 1 | [{"id": "G0", "claim": "A better fix might be to recompute `self.device` when unpickling the replay buffer (e.g. via pickle magic methods as done in `VecNormalize`) instead of setting `replay_buffer.device = self.device` after loading.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced... | null |
DLR-RM__stable-baselines3__1707 | DLR-RM/stable-baselines3 | 1,707 | defect | c6c660e51bdad1a60e3770e121a88dcb666e7dbf | 46e1f9f2411b265a5fc0b546eb89fdf45da325b9 | fix: Follow PEP8 guidelines and evaluate falsy to truthy with `not` rather than `is False`. | <!--- Provide a general summary of your changes in the Title above -->
## Description
`OffPolicyAlgorithm` and `OnPolicyAlgorithm` evaluated the callback returns incorrectly using `is False` which only works if the returned type is a singleton boolean. This was fine for the default environments which us the singlet... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 3fade42aad..a476f6dafd 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -27,6 +27,7 @@ Bug Fixes:
- Fixed success reward dtype in ``SimpleMultiObsEnv`` (@NixGD)
- Fixed check_env for Sequence observation space (@corentinlger)
-... | 5 | 3 | 1 | [{"id": "G0", "claim": "The reviewer suggests dropping the new test's edge-case parametrization (at least the non-`False` values), since `_on_step` is only supposed to return `bool`.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The changelog entry sho... | null |
DLR-RM__stable-baselines3__1720 | DLR-RM/stable-baselines3 | 1,720 | defect | aab545901fe331814f822060d677f22191cba419 | 03794210c4f59243ca1de1877f612e5a89d5db07 | Add rollout_buffer_class parameter to on-policy algorithms | <!--- Provide a general summary of your changes in the Title above -->
## Description
This PR adds a `rollout_buffer_class` and a `rollout_buffer_kwargs` parameter to the on-policy algorithms.
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open... | diff --git a/stable_baselines3/a2c/a2c.py b/stable_baselines3/a2c/a2c.py
index fda20c9c06..64846bd185 100644
--- a/stable_baselines3/a2c/a2c.py
+++ b/stable_baselines3/a2c/a2c.py
@@ -4,10 +4,13 @@
from gymnasium import spaces
from torch.nn import functional as F
+from stable_baselines3.common.buffers import Rollout... | 5 | 4 | 3 | [{"id": "G0", "claim": "The changes from this PR seem to have introduced a cyclic dependency between modules in different parts of the code.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The rollout buffer is created in _setup_model without passing... | null |
DLR-RM__stable-baselines3__1870 | DLR-RM/stable-baselines3 | 1,870 | defect | 8b3723c6d8420bb978f4d68409ff5189f87fe107 | 8eaf7d61ed13205ef2ab3dbd2298b3b03e3da8ea | Log success rate for on policy algorithms | <!--- Provide a general summary of your changes in the Title above -->
Hi, I changed the ```on_policy_algorithm.py``` file to enable showing rollout/success_rate on the monitor for ```OnPolicyAlgorithm```
## Description
<!--- Describe your changes in detail -->
I added ```dones``` as argument to ```self._upda... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 9ed1cfc09c..3087c8e07a 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -41,6 +41,7 @@ Breaking Changes:
New Features:
^^^^^^^^^^^^^
+- Added rollout/success_rate option for OnPolicyAlgorithm (@corentinlger)
Bug Fixes:
^^^... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changelog should mention the fix of the monitor_wrapper argument that was not passed to the parent class.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DLR-RM__stable-baselines3__1901 | DLR-RM/stable-baselines3 | 1,901 | defect | 5623d98f9d6bcfd2ab450e850c3f7b090aef5642 | 5ab2fcd77dd39288cb233ca526da3201fa03e6a4 | Cast learning_rate to float lambda for pickle safety when doing model.load | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
closes #1900
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
<!--... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index c1560201c5..331ae1db2c 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -48,6 +48,7 @@ New Features:
Bug Fixes:
^^^^^^^^^^
- Fixed ``monitor_wrapper`` argument that was not passed to the parent class, and dones argument that wa... | 2 | 1 | 0 | [{"id": "G0", "claim": "A better solution may be to call value_schedule(1.0) and check that the return type is a float, outputting a useful error message if not.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Explicitly name the lambda parameter `progress_... | null |
DLR-RM__stable-baselines3__1937 | DLR-RM/stable-baselines3 | 1,937 | defect | 6c00565778e5815e4589afc7499aafbd020535ae | cee4d3845bed3e471451794e9d3f6c3329a508b9 | Fix error when loading a model that has net_arch manually set to None | ## Description
Changed the conditional when loading the `policy_kwargs` to handle the case where the saved `net_arch` is `None`, simplified the code a bit, and added a test.
## Motivation and Context
I ran into this issue when using a wrapper script that potentially passes `None` to the `net_arch` parameter, and t... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index d773885340..fec35a6419 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -17,6 +17,7 @@ Bug Fixes:
- Fixed memory leak when loading learner from storage, ``set_parameters()`` does not try to load the object data anymore
and onl... | 2 | 2 | 0 | [{"id": "G0", "claim": "Since \"policy_kwargs\" is always in data, the first .get is unnecessary and the code should read data[\"policy_kwargs\"].get(\"net_arch\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author can add their id (@jak... | null |
DLR-RM__stable-baselines3__1975 | DLR-RM/stable-baselines3 | 1,975 | defect | 1a69fc831414626cbbcf13343c6e78d9accb9104 | 3b84f71bb2b47ca2dc657c7c5205901b6c061f30 | Add support for pre and post linear modules in `create_mlp` | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
Related to #1069 and https://github.com/DLR-RM/stable-baselines3/pull/1036 and https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/pull/243 (DroQ and CrossQ)
I also ad... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0efc16e564..822e0cb3f1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,9 +5,9 @@ name: CI
on:
push:
- branches: [ master ]
+ branches: [master]
pull_request:
- branches: [ master ]
+ branches: [master]... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring/code of the new pre_linear_modules/post_linear_modules parameters should clarify whether the input dim is the same for all modules (i.e. that these modules must maintain the input tensor dimension).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "... | null |
DLR-RM__stable-baselines3__2017 | DLR-RM/stable-baselines3 | 2,017 | defect | 512eea923afad6f6da4bb53d72b6ea4c6d856e59 | 66ab6d3be274b5a54606e8119efd70997f2cb05d | Add warning when using PPO on GPU and update doc | Closes issue [#2012](https://github.com/DLR-RM/stable-baselines3/issues/2012).
Added comment to PPO documentation that CPU should primarily be used unless using CNN as well as sample code. Added warning to user for both PPO and A2C that CPU should be used if the user is running GPU without using a CNN, reference Iss... | diff --git a/docs/modules/ppo.rst b/docs/modules/ppo.rst
index b5e667241f..4285cfb506 100644
--- a/docs/modules/ppo.rst
+++ b/docs/modules/ppo.rst
@@ -88,6 +88,23 @@ Train a PPO agent on ``CartPole-v1`` using 4 environments.
vec_env.render("human")
+.. note::
+
+ PPO is meant to be run primarily on the CPU,... | 4 | 4 | 4 | [{"id": "G0", "claim": "The duplicated warning code in A2C.__init__ should be extracted into a reusable helper function so it can be shared by PPO and other projects, with the condition checking `policy == \"MlpPolicy\"` and using the `self.device` PyTorch device object instead of string comparison.", "category": "desi... | null |
DLR-RM__stable-baselines3__2125 | DLR-RM/stable-baselines3 | 2,125 | defect | c1e503c21e068668da5072d91d0408da0d7c0a17 | a6d8c073b3d996f8d4459818611c3bcc7f8bc175 | Use classes instead of lambdas for schedules | …rtable schedules
Previously, using closures (e.g., lambdas) for learning_rate or clip_range caused segmentation faults when loading models across different platforms (e.g., macOS to Linux), because cloudpickle could not safely serialize/deserialize them.
## Description
Refactor schedule-related helper functions... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 9b4aa00a80..7a3c668004 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -15,6 +15,7 @@ New Features:
Bug Fixes:
^^^^^^^^^^
- Fixed docker GPU image (PyTorch GPU was not installed)
+- Fixed segmentation faults caused by non-port... | 2 | 2 | 0 | [{"id": "G0", "claim": "The name FloatConverterSchedule does not say what the class does (it wraps a constant or callable schedule into a picklable float-casting Schedule), so it should be replaced by a new get_schedule helper or renamed, e.g. to FloatSchedule, with its docstring explaining its utility.", "category": "... | null |
DLR-RM__stable-baselines3__2139 | DLR-RM/stable-baselines3 | 2,139 | defect | ef03d3370b4afb6093b16850764d10ca802cad50 | 20409bc4782491015171c28cc44336aebff4f6e2 | Add a warning for Graph spaces in env checker | ## Abstract change
Resolves the issue of supporting the gymnasium.graph instances not being support in sb3 .
## Description
This pull request introduces support for `Graph` observation spaces in the Stable-Baselines3 environment checker, along with minor code cleanups and new test cases. The most significant... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index b436686eca..b168a00993 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -16,6 +16,7 @@ Bug Fixes:
^^^^^^^^^^
- Fixed docker GPU image (PyTorch GPU was not installed)
- Fixed segmentation faults caused by non-portable schedules ... | 4 | 4 | 3 | [{"id": "G0", "claim": "Keep the pull request minimal: only update the env checker and its tests, reverting the graph-support changes to other modules (buffers, policies, preprocessing, utils, dummy_vec_env, graph_layers), with full graph support left to another issue.", "category": "design", "verdict": "supported", "p... | null |
DLR-RM__stable-baselines3__2144 | DLR-RM/stable-baselines3 | 2,144 | defect | 6af0601dc3c91d5e5477f10ca6976e77a24cccc8 | b91050ca94f8bce7a0285c91f85da518d5a26223 | Add `NStepReplayBuffer` and `n_steps` arguments for off-policy algorithms | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
Reviving https://github.com/DLR-RM/stable-baselines3/pull/81
closes https://github.com/DLR-RM/stable-baselines3/issues/47
Idea based on https://github.com/younggyoseo/FastTD3 impl... | diff --git a/stable_baselines3/common/buffers.py b/stable_baselines3/common/buffers.py
index 004adae90e..b943532fb2 100644
--- a/stable_baselines3/common/buffers.py
+++ b/stable_baselines3/common/buffers.py
@@ -838,3 +838,63 @@ def _get_samples( # type: ignore[override]
advantages=self.to_torch(self.advan... | 6 | 5 | 1 | [{"id": "G0", "claim": "Fix the typo in the comment, changing \"temporarly\" to \"temporarily\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the unused function compute_expected_nstep_reward2 to reduce dead code.", "category": "maintaina... | null |
DLR-RM__stable-baselines3__2163 | DLR-RM/stable-baselines3 | 2,163 | defect | bf51a6233a8f934a68430f8f78e44360410d23ca | a1eaf2ed4fe64d5bcfeae26c8404cd0fb89c8a74 | Use proper `dtype` for `RolloutBuffer` storage | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
- Make rollout buffers behave like replay buffers in terms of storage dtype
- Get observation & action space dtypes in `BaseBuffer.__init__`
- Store dtypes in a new `BufferDTypes` d... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 9f4cb7dc05..7d915f0952 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -3,6 +3,19 @@
Changelog
==========
+Release 2.7.1a1 (WIP)
+--------------------------
+**Unify the dtype decision logic for all buffer classes**
+
+New Fe... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new BufferDTypes dataclass is unnecessary complexity; the space's own dtype (e.g. self.observation_space.dtype) could simply be used when needed instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should n... | null |
DLR-RM__stable-baselines3__2244 | DLR-RM/stable-baselines3 | 2,244 | defect | 499b424408459adc7fa1137d8d546f289dcd4ce3 | 69ef3f2a8eca16fc6901473303f99d531b860c7a | Move pandas and matplotlib to optional extras | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
Reduce the number of dependencies.
TODO:
- [ ] Open a PR in RL zoo, need to add pandas to plot dependencies
## Motivation and Context
<!--- Why is this change required? What p... | diff --git a/README.md b/README.md
index 5d4498831..ccb570610 100644
--- a/README.md
+++ b/README.md
@@ -19,8 +19,8 @@ These algorithms will make it easier for the research community and industry to
## Main Features
-**The performance of each algorithm was tested** (see *Results* section in their respective page),... | 3 | 3 | 0 | [{"id": "G0", "claim": "The changelog entry has a duplicated word (\"only only\") that should be corrected to a single \"only\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelog breaking-change entry should say pandas/matplotlib are ne... | null |
DLR-RM__stable-baselines3__553 | DLR-RM/stable-baselines3 | 553 | defect | 3efab0d267e74cb03264411d4500ddde0c163404 | 9dfbb3b866a9a2482319f88900270f8fb917b0b8 | Avoid putting target networks into training mode | Avoid putting target networks into training mode
## Description
Each policy is currently put into training mode by calling `self.policy.train()`. This affect policy networks with batch norm and dropout. For DQN, SAC and TD3, this call will also put the target networks into training mode. This is incorrect behaviour... | diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst
index 6a1965a896..21927928a9 100644
--- a/docs/misc/changelog.rst
+++ b/docs/misc/changelog.rst
@@ -4,7 +4,7 @@ Changelog
==========
-Release 1.2.0a2 (WIP)
+Release 1.2.0a3 (WIP)
---------------------------
Breaking Changes:
@@ -17,6 +17,7 @@ New F... | 5 | 5 | 0 | [{"id": "G0", "claim": "set_training_mode should have a default behaviour in the base model instead of being abstract, since a default would avoid duplicated implementations in every policy class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The call t... | null |
DLR-SC__tigl__1021 | DLR-SC/tigl | 1,021 | defect | f6f1e4c9042be2232d036f24c82e69b1363b7ab8 | 126f79806bfc27e2192dfc1ef324dbc2e770340d | Implemented Fuselage Profile Type: Superellipse ( #1016) | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
With the superellipse profile type, the CPACS standard profile type is now fully implemented.
The profile curves are generated using the functionality of the CFunctionToBSpline class wi... | diff --git a/src/common/tiglcommonfunctions.cpp b/src/common/tiglcommonfunctions.cpp
index 3514677876..6838a6bf03 100644
--- a/src/common/tiglcommonfunctions.cpp
+++ b/src/common/tiglcommonfunctions.cpp
@@ -523,7 +523,7 @@ ListPNamedShape GroupFaces(const PNamedShape shape, tigl::ShapeGroupMode groupTy
sha... | 6 | 5 | 1 | [{"id": "G0", "claim": "The exception thrown when the superEllipse definition is missing should have a more detailed error message (it names the wrong function, CCPACSFuselageProfile::BuildWire, and gives no context).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
DLR-SC__tigl__274 | DLR-SC/tigl | 274 | defect | 10b340f60683025c7a21b7ff5d553b1033f7e03a | 3a295142257c8b616b05142e9ba0cfe1c742e239 | Added API func. tiglFuselageGetCrossSectionArea | The function tiglFuselageGetCrossSectionArea is committed which
computes the area of a fuselage section. A helper function GetArea
which computes the area of a TopoDS_Shape and the test for
tiglFuselageGetCrossSectionArea are committed as well.
Fixes issue #259 | diff --git a/src/api/tigl.cpp b/src/api/tigl.cpp
index d72779907c..1096db7d07 100644
--- a/src/api/tigl.cpp
+++ b/src/api/tigl.cpp
@@ -2501,6 +2501,65 @@ TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSectionCenter(TiglCPACSConfigur
return TIGL_SUCCESS;
}
+TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetCros... | 2 | 2 | 1 | [{"id": "G0", "claim": "The EXPECT_NEAR assertions in the getSectionArea test (and all other EXPECT_NEAR calls) swap the first two arguments; they should be EXPECT_NEAR(expected_value, actual_value, tolerance), i.e. EXPECT_NEAR(M_PI*0.5*0.5, area, 3e-2).", "category": "correctness", "verdict": "supported", "priority": ... | null |
DLR-SC__tigl__278 | DLR-SC/tigl | 278 | defect | 8dabfa3b152ce112804542defb09cb510ccb34a7 | ec9ebc89fa1b3e6a72f89c5d40318d9cba038b45 | Jk/issue 216 | New API function tiglIntersectWithPlaneSegment
Fixes #216.
The direction of projection w does not have to be orthogonal to (P2-P1) in this implementation. The "internal version" of the API function CTiglIntersectionCalculation includes an optional flag to force the projection to be orthogonal to (P2-P1) in the p... | diff --git a/TIGLViewer/src/TIGLViewerDocument.cpp b/TIGLViewer/src/TIGLViewerDocument.cpp
index dc266f383e..6b975a276b 100644
--- a/TIGLViewer/src/TIGLViewerDocument.cpp
+++ b/TIGLViewer/src/TIGLViewerDocument.cpp
@@ -1924,6 +1924,23 @@ void TIGLViewerDocument::drawIntersectionLine()
writeToStatusBar(tr("Calc... | 9 | 9 | 3 | [{"id": "G0", "claim": "HashableProjection should seed its hash with boost::hash<double>()(result.X()) and then combine Y and Z, instead of combining into an initial hash of zero, which probably causes issues.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
DLR-SC__tigl__424 | DLR-SC/tigl | 424 | defect | 3ef37cdabbfd5c20094b91c5eab1f641730402aa | 209c04de30f8fbc58eea1089288f864752196ae4 | Spline approx continuous | Extended the approximation and interpolation function for B-spline curves by a method for merging closed curves C2 continuously. Added also a test for this extension. | diff --git a/src/geometry/CTiglBSplineAlgorithms.cpp b/src/geometry/CTiglBSplineAlgorithms.cpp
index 455ca5523b..95bf9e58e4 100644
--- a/src/geometry/CTiglBSplineAlgorithms.cpp
+++ b/src/geometry/CTiglBSplineAlgorithms.cpp
@@ -1332,17 +1332,24 @@ Handle(Geom_BSplineSurface) CTiglBSplineAlgorithms::createGordonSurfaceGe... | 6 | 5 | 3 | [{"id": "G0", "claim": "The new boolean state members is_closed and first_and_last (and the first/last computation inside InterpolatePoint) should be replaced by private methods such as isClosed() and firstAndLastInterpolated() with C++-style names, instead of stored state.", "category": "design", "verdict": "supported... | null |
DLR-SC__tigl__767 | DLR-SC/tigl | 767 | defect | 1060d6f4b1ed622fdd5b7a2800a06b0bb4aa4e41 | 2164b67f8fe7857f179c111caf6e804dbdc836d9 | Prevent hard crash with guide curves | <!--- Provide a general summary of your changes in the Title above -->
## Description
fixes #766. I did not add an `assert` to CTiglPointToBSpline as mentioned in the issue description, because
- checking for uniqueness up to floating point precision is not super trivial, especially since the class takes a `Hand... | diff --git a/src/fuselage/CTiglFuselageSegmentGuidecurveBuilder.cpp b/src/fuselage/CTiglFuselageSegmentGuidecurveBuilder.cpp
index b596ff507c..bce4100f1a 100644
--- a/src/fuselage/CTiglFuselageSegmentGuidecurveBuilder.cpp
+++ b/src/fuselage/CTiglFuselageSegmentGuidecurveBuilder.cpp
@@ -94,6 +94,13 @@ std::vector<gp_Pnt... | 3 | 3 | 1 | [{"id": "G0", "claim": "The catch-all in CTiglCurveConnector::InterpolateGuideCurvePart should catch a specific exception instead of everything, since it is unclear what exception OpenCascade's interpol.Perform() throws.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
DLR-SC__tigl__968 | DLR-SC/tigl | 968 | defect | dc973ee8f3748514e9e414a78c0ee0d818dae826 | c33403df4ff304a3ad992e587a99062e75feaf9a | Gmsh integration | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
## How Has This Been Tested?
<!--- Please descr... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d08929dd3..17c739d112 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,17 +29,7 @@ endif(NOT DEFINED CMAKE_INSTALL_BINDIR)
# these settings are required in order to create fully relocatable
# libraries on osx
-set(CMAKE_MACOSX_RPATH ON)
-set(CMAKE_SKIP_... | 19 | 16 | 1 | [{"id": "G0", "claim": "The removal of the macOS RPATH settings from CMakeLists.txt looks unjustified - the reviewer asks why the change was necessary (it left a garbled commented-out line behind).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
DMOJ__judge-server__1091 | DMOJ/judge-server | 1,091 | defect | 10ff96a305aa31711f597ffa374382a835be6ac7 | 1638784eb247adbae999bd008888002244cf50b4 | executors/BF: optimize BF using LLVM | There are a few parts to this BF optimizing compiler: simple loop pass, translation into LLVM, `opt`, `llc -O2`, `ld`.
### Simple loop pass (Python)
Optimizes simple loops. `opt` can optimize these loops too, but it takes a long time to do so. If this step is skipped, the BF program [1162081](https://dmoj.ca/src/... | diff --git a/.freebsd.test.py b/.freebsd.test.py
index f5bdea9c8..7f6a1eda3 100644
--- a/.freebsd.test.py
+++ b/.freebsd.test.py
@@ -5,7 +5,6 @@
EXECUTORS = [
'AWK',
- 'BF',
'C',
'C11',
'CPP03',
diff --git a/dmoj/executors/BF.py b/dmoj/executors/BF.py
index 02aed9bbb..b25e7134d 100644
--- a/dm... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new bf_rte_low test's memory limit of 4 relies on undocumented mmap rounding to page size and is broken in some cases, so the test should specify a reasonable limit instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
DMOJ__judge-server__1126 | DMOJ/judge-server | 1,126 | defect | 6612aa9d37ee04b62b4ce0ce63517f257359bf88 | 4284d9b015d9aa39729db5e2d7192451e5db00a8 | Add `locate` command | * Add `locate` command: output is
```
Skipped self-tests
Running local judge...
/tmp/problems/a
/tmp/problems/b
c is not a valid problem, skipping
```
for file structure
```
/tmp/problems » tree
.
├── a
│ └── init.yml
└── b
└── init.yml
3 directories, 2 files
```
* Add typing annotations t... | diff --git a/dmoj/commands/__init__.py b/dmoj/commands/__init__.py
index 06c50933f..c1ef0382c 100644
--- a/dmoj/commands/__init__.py
+++ b/dmoj/commands/__init__.py
@@ -3,6 +3,7 @@
from dmoj.commands.base_command import Command, commands, register_command
from dmoj.commands.diff import DifferenceCommand
from dmoj.co... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new assertion should use the standard assertIsNone idiom rather than assertIs(None, ...).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DMOJ__judge-server__1228 | DMOJ/judge-server | 1,228 | defect | 1abfacaec1ae0051b2338d503e6384dea318e174 | 531108167f2ff46e357e84b05199c7805366c76c | C/++ executor updates | A series of updates to C/C++/Clang++ executors.
1. Change the `__cpluscplus` comparison in the `CPP23` executor to equality: this way we don't get trolled when C++26 is added.
2. Add new Clang++ executors for C++17, C++20, C++23
3. Add C23 executor
4. Rename the old `CLANGX` executor to `CLANGX14` to match the ot... | diff --git a/.freebsd.test.py b/.freebsd.test.py
index ba485a56e..3e588287e 100644
--- a/.freebsd.test.py
+++ b/.freebsd.test.py
@@ -11,8 +11,10 @@
'CPP11',
'CPP14',
'CPP17',
+ 'CPP20',
'CLANG',
- 'CLANGX',
+ 'CLANGX14',
+ 'CLANGX23',
'F95',
'JAVA8',
'MONOCS',
diff --git a... | 2 | 2 | 2 | [{"id": "G0", "claim": "The FreeBSD test list omits the PR's new CLANGX17 and CLANGX20 executors, so those executors are not tested on FreeBSD.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new language keys such as CLANGX14 exceed the site's 6-cha... | null |
DMOJ__judge-server__325 | DMOJ/judge-server | 325 | defect | 6e2c5f9cdd3bf1d87dc875c9aa6c8f035029dc91 | c9fc94d184fe46c04663ace5bfe9b6686b56471e | Detect Unicode Classes in Java; #311 | Modified the regexes in `dmoj.executor.java_executor` to account for Unicode submissions, and added a unit test for malformed UTF-8. | diff --git a/dmoj/executors/java_executor.py b/dmoj/executors/java_executor.py
index 4daf84c57..9e4570d75 100644
--- a/dmoj/executors/java_executor.py
+++ b/dmoj/executors/java_executor.py
@@ -13,13 +13,11 @@
from dmoj.utils.unicode import utf8bytes, utf8text
from .base_executor import CompiledExecutor
-recomment =... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a space before `re.U` and pass `re.U` to all the regexes for consistency, since on Python 3 it is the default and Python 2 should not behave differently.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `mock` impor... | null |
DMOJ__judge-server__327 | DMOJ/judge-server | 327 | defect | 7a7c6cce9da1b14fbed0d9181f7d441c7ce02a0f | 47181cb6f2e27076a240c24cafebba46944115bc | Fix Appveyor CI Errors | Now passes all tests except for the `VC` executor, which is not required, and the `java8_unicode_classname` test, which is a Windows/Java issue. | diff --git a/.appveyor.test.py b/.appveyor.test.py
index b2ec5eb0c..a27566c19 100644
--- a/.appveyor.test.py
+++ b/.appveyor.test.py
@@ -14,11 +14,11 @@
def main():
- unicode_stdout_stderr()
logging.basicConfig(level=logging.INFO)
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
sys.stderr =... | 2 | 2 | 1 | [{"id": "G0", "claim": "Undo the naive sys.stdout/sys.stderr overrides that replaced unicode_stdout_stderr's body and do not call unicode_stdout_stderr from .appveyor.test.py, inlining the Windows-specific wrapping there instead, since the current setup breaks Linux.", "category": "correctness", "verdict": "supported",... | null |
DMOJ__judge-server__480 | DMOJ/judge-server | 480 | defect | 4413fa5becfa54a37c3c9575128ae5c6a9a42c1f | 3833d87a65abb5a4da03ada38d40da56cdc958cb | Move ANSI HTML-ifying to the site | Addresses #478.
Should not be merged until the appropriate site-side change is made. | diff --git a/.appveyor.test.py b/.appveyor.test.py
index 754f6e1ac..43a0fa4b2 100644
--- a/.appveyor.test.py
+++ b/.appveyor.test.py
@@ -7,7 +7,7 @@
from dmoj import judgeenv, executors
from dmoj.testsuite import Tester
-from dmoj.utils.ansi import ansi_style
+from dmoj.utils.ansi import print_ansi
from dmoj.utils... | 4 | 1 | 0 | [{"id": "G0", "claim": "The `list` wrapper in `print_ansi` is unnecessary; the `map` object can be passed straight to `print`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`print_ansi` is not relevant to this change and should be moved out int... | null |
DMOJ__judge-server__503 | DMOJ/judge-server | 503 | defect | d700741798506572112ffe4c253aefe2e8debbb0 | 8e4dbfd5dcb1c70384822cad509dace238357b84 | Use `Decimal` in floats checker | Closes #456. | diff --git a/dmoj/checkers/floats.py b/dmoj/checkers/floats.py
index 4e519f3de..3bc4b19e3 100644
--- a/dmoj/checkers/floats.py
+++ b/dmoj/checkers/floats.py
@@ -1,3 +1,4 @@
+from decimal import Decimal
from re import split as resplit
from dmoj.error import InternalError
@@ -27,7 +28,13 @@ def verify_default(process... | 4 | 3 | 2 | [{"id": "G0", "claim": "Unit tests should be added for the new Decimal-based high-precision behaviour of the floats checker.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The extra blank line added right after the check() function signature should be r... | null |
DMOJ__judge-server__728 | DMOJ/judge-server | 728 | defect | 10ff96a305aa31711f597ffa374382a835be6ac7 | eaa4519b88a50cd37942287a9a992ec10a78fb78 | Use problem globs to declare problem storage roots | Closes #772. Also supersedes #1026. | diff --git a/dmoj/judgeenv.py b/dmoj/judgeenv.py
index cfdb74385..54b2cad11 100644
--- a/dmoj/judgeenv.py
+++ b/dmoj/judgeenv.py
@@ -1,4 +1,5 @@
import argparse
+import glob
import logging
import os
import ssl
@@ -12,7 +13,9 @@
from dmoj.utils.unicode import utf8text
problem_dirs = ()
+problem_globs = ()
probl... | 6 | 6 | 1 | [{"id": "G0", "claim": "Update the pull request description to include a sample config for the new problem_storage_globs setting.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test regexes could be replaced with test globs once problem_storag... | null |
DMOJ__judge-server__843 | DMOJ/judge-server | 843 | defect | 2b91a47dd8536bb8d18013bdb9f1cda1e9fa15af | a5fca20ecf2af343cacce9acd43436e2fd0b21f0 | Allow for checkers to call `int()` | The current behaviour requires an argument to be passed to `int(...)`, however, this breaks `defaultdict(int)`. | diff --git a/dmoj/utils/builtin_int_patch.py b/dmoj/utils/builtin_int_patch.py
index 6f1a3af0e..e246b7acb 100644
--- a/dmoj/utils/builtin_int_patch.py
+++ b/dmoj/utils/builtin_int_patch.py
@@ -24,7 +24,7 @@ def __hash__(self):
class patched_int(int_, metaclass=patched_int_meta):
- def __new__(cls, s, *args, **k... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test in dmoj/tests/test_int_patch.py covering the pull request's change (checkers being able to call int()), which is otherwise untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
DMOJ__judge-server__873 | DMOJ/judge-server | 873 | defect | 69fb153504b28bcf2932eb3d5a4b17cf22ff8b00 | 8be58bbac9fe062fb2dffa6df126d9bce36d024e | change regex to filesystem policy matcher, first step of #871 | This is the first step of migrating to Landlock support. A very simplistic implementation is given here. | diff --git a/.freebsd.test.py b/.freebsd.test.py
index 9a3f352da..f30fa504d 100644
--- a/.freebsd.test.py
+++ b/.freebsd.test.py
@@ -3,6 +3,8 @@
from dmoj import judgeenv
from dmoj.citest import ci_test
+from dmoj.executors.filesystem_rules import FilesystemPolicy, File
+
EXECUTORS = [
'AWK',
'BF',
@@ -3... | 9 | 8 | 6 | [{"id": "G0", "claim": "The new rule treats /sys/devices/system/cpu/online as a directory when it is a file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Directories such as /sys/devices/system/cpu are marked as files, so the rule kind is wrong.",... | null |
DNSControl__dnscontrol__1243 | DNSControl/dnscontrol | 1,243 | defect | f0026b8073c6b2daef68faec219e4bbdc0df5672 | 6635ed0a5902146332f802edbfd17b8bc0b51e10 | CLOUDFLAREAPI: Adds CF_WORKER_ROUTE. | Initial implementation of CF_WORKER_ROUTE.
Adds [Cloudflare Worker routes](https://developers.cloudflare.com/workers/platform/routes) support via new `CF_WORKER_ROUTE` function.
No tests, as I have yet to understand the tests infrastructure. But the code is working as I did some manual tests with a personal CF ac... | diff --git a/docs/_functions/domain/CF_WORKER_ROUTE.md b/docs/_functions/domain/CF_WORKER_ROUTE.md
new file mode 100644
index 0000000000..06d861729c
--- /dev/null
+++ b/docs/_functions/domain/CF_WORKER_ROUTE.md
@@ -0,0 +1,29 @@
+---
+name: CF_WORKER_ROUTE
+parameters:
+ - pattern
+ - script
+---
+
+`CF_WORKER_ROUTE` ... | 9 | 8 | 3 | [{"id": "G0", "claim": "The CF_WORKER_ROUTE doc should read \"uses the [Cloudflare Workers]\" instead of \"uses [Cloudflare Workers]\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The CF_WORKER_ROUTE doc paragraph must be extremely clear that D... | null |
DNSControl__dnscontrol__1569 | DNSControl/dnscontrol | 1,569 | defect | e5de7b5359ee9b1ecfd1daa48027c583eb3fc2c2 | 6aab177c4af012ec072c4a6e5fac1cd4bfa882c9 | POWERDNS: Cleanup and fix parsing of TXT records | The PowerDNS API is quite strange. It accepts long TXTs without requiring to split them and returning them as they came in.
e.g. `"averylooooooo[...]oooooongstring"` or `"string" "string"`
Splitting on DNS level will be done on the fly. | diff --git a/providers/powerdns/convert.go b/providers/powerdns/convert.go
index 9540132abd..ed8c6fc55b 100644
--- a/providers/powerdns/convert.go
+++ b/providers/powerdns/convert.go
@@ -2,7 +2,6 @@ package powerdns
import (
"github.com/StackExchange/dnscontrol/v3/models"
- "github.com/miekg/dns/dnsutil"
"github... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new parseTxt function (the TXT parsing path added in toRecordConfig) should have a unit test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
DNSControl__dnscontrol__1597 | DNSControl/dnscontrol | 1,597 | defect | 48c7435dcf30829578d829f1f3dafdd4f673c2b6 | ff8bc8db5f0dae519068620cbd367ae5220bc146 | Update TXT handling for Exoscale | @pierre-emmanuelJ Please run the integration tests to see if I broke anything.
Changes:
* Updated TXT record processing
* Added you to OWNERS (sorry if you've been missing announcements!)
* upgraded github.com/exoscale/egoscale v0.59.0 => v1.19.0
| diff --git a/OWNERS b/OWNERS
index f3311d877d..ea2c7a2d70 100644
--- a/OWNERS
+++ b/OWNERS
@@ -13,6 +13,7 @@ providers/dnsimple @aeden
providers/dnsmadeeasy @vojtad
providers/doh @mikenz
providers/easyname @tresni
+providers/exoscale @pierre-emmanuelJ
providers/gandi_v5 @TomOnTime
providers/gcloud @riyadhalnur
pr... | 3 | 2 | 2 | [{"id": "G0", "claim": "The EXOSCALE integration tests are failing (04:Null_MX, 24:CAA_Issue_1374:CAA_spaces, 28:SRV:SRV_record), which should be addressed before merge.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The provider should be updated in an... | null |
DNSControl__dnscontrol__1610 | DNSControl/dnscontrol | 1,610 | defect | 0f04639891f9d7e08e66a0c5179625fe09e5ee06 | 394e659595d2c487a462d8ead08a7414ed79103a | DNSIMPLE: do not support unpaired double quotes in TXT | DNSimple supports multiple double-quotes strings in a TXT record, but does not correctly support unpaired or escaped double-quotes currently.
IE the following are valid
```
asdf
"asdf"
"asdf" "asdf"
!@#$ %^&*()([][{}{<></'`:;-_=+\
```
however `as\"df` and `as"df` are not
This removes the extra string pro... | diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go
index 94dfc573de..cc514e3fc4 100644
--- a/integrationTest/integration_test.go
+++ b/integrationTest/integration_test.go
@@ -905,6 +905,8 @@ func makeTests(t *testing.T) []*TestGroup {
tc("Create TXT with double-quote", txt("foodq... | 2 | 2 | 1 | [{"id": "G0", "claim": "getTargetRecordContent should add a \"TXT\" case that returns properly quoted TXT strings (suggested rc.GetTargetRFC1035Quoted()) instead of falling through to GetTargetField().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
DNSControl__dnscontrol__1625 | DNSControl/dnscontrol | 1,625 | defect | 44001dc99962a1a09ef5b5b18173c9473dc863d7 | d647abd835d070a16f7fc0aa4a19b42dd64e911c | Domainnameshop provider | Closes #1611
Most tests pass, except for the `GeneralACD` tests that change the TTLs as DomainNameShop only supports TTLs that are a multiple of 60 (i.e. TTL % 60 == 0). I am not quite sure what the best solution for handeling those instances. I am open for suggestions.
Other than that there are a few features t... | diff --git a/OWNERS b/OWNERS
index f843197e51..d166a1ed6e 100644
--- a/OWNERS
+++ b/OWNERS
@@ -12,6 +12,7 @@ providers/digitalocean @Deraen
providers/dnsimple @onlyhavecans
providers/dnsmadeeasy @vojtad
providers/doh @mikenz
+providers/domainnameshop @SimenBai
providers/easyname @tresni
providers/gandi_v5 @TomOnTi... | 7 | 7 | 1 | [{"id": "G0", "claim": "The provider's TTL handling should follow the approach the Linode provider uses for its similar TTL situation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The provider's handling of multi-part long TXT records causes the gentxt... | null |
DNSControl__dnscontrol__1768 | DNSControl/dnscontrol | 1,768 | defect | 46b742d09f67646c2b33937f254c1c73b6bb3383 | d6f6f7bfb8224a4d0d19de750d7c3f7ab0521c5e | VULTR: use API v2 | Vultr v1 API has been deprecated and govultr has been upgraded to v2.
I've adapted VULTR code to use v2 API instead of v1.
I've tried to test on my side but if someone can confirm changes works that be awesome. | diff --git a/go.mod b/go.mod
index 497ebfe020..0d0c9008f9 100644
--- a/go.mod
+++ b/go.mod
@@ -51,7 +51,6 @@ require (
github.com/tdewolff/minify/v2 v2.12.3
github.com/transip/gotransip/v6 v6.17.0
github.com/urfave/cli/v2 v2.17.1
- github.com/vultr/govultr v1.1.1
github.com/xddxdd/ottoext v0.0.0-20210101073831-... | 1 | 1 | 0 | [{"id": "G0", "claim": "staticcheck flags that the Go identifiers next_i and current_i should not use underscores and should be nextI and currentI.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DNSControl__dnscontrol__2239 | DNSControl/dnscontrol | 2,239 | defect | a58fb7721419bb13cd7c952bb35903fff6feb19a | b046e90760f81f54c3f0d9c7140db815b42848ba | AXFRDDNS: Fix integration tests | Fixes https://github.com/StackExchange/dnscontrol/issues/1913
These are some fixes for the experimental branch `tlim_corrector`. It also includes some minor code improvements and a fix for #1913 . | diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go
index a50e5d8d4c..13d2955072 100644
--- a/integrationTest/integration_test.go
+++ b/integrationTest/integration_test.go
@@ -201,6 +201,12 @@ func makeChanges(t *testing.T, prv providers.DNSServiceProvider, dc *models.Doma
//}
... | 6 | 4 | 1 | [{"id": "G0", "claim": "Remove the blank line between the action (the diff call) and its related `if err != nil` check.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a `diff2.REPORT` case to the switch over changes so that variant is handle... | null |
DNSControl__dnscontrol__2482 | DNSControl/dnscontrol | 2,482 | defect | 31bf652e3409a15be649ab65d64382aa9df94553 | 53f8b160b3bb03dd59332c882169c494975af8b8 | GCLOUD: Support "private domains" plus many bugfixes | Hi all,
First I'd like to acknowledge and thank the dnscontrol community for contributing to such a useful project.
We needed to implement some changes with the GCLOUD provider in a private fork of dnscontrol a few years back and finally have had time to submit some of these back to the public project.
This PR addre... | diff --git a/documentation/providers/gcloud.md b/documentation/providers/gcloud.md
index 4c0900b212..aba14354fe 100644
--- a/documentation/providers/gcloud.md
+++ b/documentation/providers/gcloud.md
@@ -90,6 +90,37 @@ will enable it on your account, responding with a list of names to use in the `n
> `name_server_set... | 6 | 6 | 0 | [{"id": "G0", "claim": "An issue should be created to track, for future action, the split-horizon limitation noted in the TODO comment this pull request added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The printer.Debugf lines this pull req... | null |
DNSControl__dnscontrol__2673 | DNSControl/dnscontrol | 2,673 | defect | 811fa5477fe304a83c303c47bb74bdf2cff8d96b | 6e11965b82598567cf1e3e26c2880be972912021 | TRANSIP: Fixed integration tests: Edge cases and TXT records fixed | # What
Fixes integration tests for trans IP. Fixes #2670 and fixes #2330
- Remove slashes on quoted strings
- Add A records to integration tests which were missing a base record
- Separate ALIAS integration tests, TransIP support ALIAS only on apex records
- Change the update record set using recreate to not ... | diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go
index 821d1f09e5..52398cb184 100644
--- a/integrationTest/integration_test.go
+++ b/integrationTest/integration_test.go
@@ -1035,11 +1035,17 @@ func makeTests(t *testing.T) []*TestGroup {
// that.
testgroup("CNAME",
- tc("R... | 4 | 4 | 1 | [{"id": "G0", "claim": "The test case strings in models/slashes_test.go would be more clear if they were quoted using backticks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "regexp.MustCompile should be at the global level rather than run insi... | null |
DNSControl__dnscontrol__2708 | DNSControl/dnscontrol | 2,708 | defect | cd371c114924377e13a7a0d809ce7459eafca4f7 | e3bb6103b6a17df5f894d6fa03fe90bb14872a14 | TRANSIP: Fix TXT quoting | Fixes !2702
- Fix TXT quoting, by not quoting at all. TransIP doesn't need it (any more)
- Fix and added some auditrecord entries to let integration tests pass
- A TransIP TXT record cannot be empty
- TransIP trims spaces from TXT records. | diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go
index 2c1725c270..944c709558 100644
--- a/integrationTest/integration_test.go
+++ b/integrationTest/integration_test.go
@@ -1126,6 +1126,7 @@ func makeTests(t *testing.T) []*TestGroup {
tc("TXT with semicolon ws", txt("foosc2", `... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add an integration test case for a TXT record with leading whitespace (\"TXT leading ws\").", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DNSControl__dnscontrol__2741 | DNSControl/dnscontrol | 2,741 | defect | 1bbf9c4293f6cd5127bf190ead5ed738dd11c437 | 95869d27f5f12259d6929d23523db12d0683c614 | NEW DNS PROVIDER: Realtime Register (REALTIMEREGISTER) | <!--
## Before submiting a pull request
Please make sure you've run the following commands from the root directory.
go vet ./...
go fmt ./...
go generate ./...
go mod tidy
## Release changelog section
Help keep the release changelog clear by pre-naming the proper section in the GitHub pull request title... | diff --git a/integrationTest/providers.json b/integrationTest/providers.json
index ac55cbe51c..fb261e51f5 100644
--- a/integrationTest/providers.json
+++ b/integrationTest/providers.json
@@ -253,6 +253,13 @@
"domain": "$POWERDNS_DOMAIN",
"serverName": "$POWERDNS_SERVERNAME"
},
+ "REALTIMEREGISTER": {
+ ... | 9 | 9 | 1 | [{"id": "G0", "claim": "The TXT entries in AuditRecords should carry '// Last verified 2024-01-03' comments, as the suggestion block requests.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GetZoneRecordsCorrections contains a duplicate `if err !=... | null |
DNSControl__dnscontrol__2926 | DNSControl/dnscontrol | 2,926 | defect | 3a9b41317584298a403fb419efa88df4e50e9422 | 4320a9f65e54857600133283d4ce8da71f68af31 | Enable support for SVCB/HTTPS in GCLOUD and HEDNS | <!--
## Before submiting a pull request
Please make sure you've run the following commands from the root directory.
go vet ./...
go fmt ./...
go generate ./...
go mod tidy
## Release changelog section
Help keep the release changelog clear by pre-naming the proper section in the GitHub pull request title... | diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts
index d23a599388..68e0268434 100644
--- a/commands/types/dnscontrol.d.ts
+++ b/commands/types/dnscontrol.d.ts
@@ -1079,6 +1079,26 @@ declare function DnsProvider(name: string, nsCount?: number): DomainModifier;
*/
declare function FRAME(nam... | 1 | 1 | 0 | [{"id": "G0", "claim": "It would make sense to document the `go generate` command in the docs, since no task or documentation tells contributors they need to run it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
DNSControl__dnscontrol__4139 | DNSControl/dnscontrol | 4,139 | defect | 97b7b43d105fe80e5ceb8b24c05bf37e51bdc7f0 | 5179a4ce4f2643f0a5303e00f27c6af215864a1f | BUGFIX: Make `OPENPGPKEY` records functional. | I'm unable to get DNSControl to create an `OPENPGPKEY` record that `gpg` or [`openpgpkey`](https://github.com/letoams/hash-slinger/) will accept. From what I can tell, it looks like DNSControl always corrupts or misinterprets the input, meaning that there is no possible input that will produce a valid result. But if I ... | diff --git a/commands/commands.go b/commands/commands.go
index eb0c404cf2..80298b4330 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -43,6 +43,12 @@ var _ = cmd(catDebug, &cli.Command{
// Run will execute the CLI.
func Run(v string) int {
+ cli.VersionFlag = &cli.BoolFlag{
+ Name: "version",
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's new OPENPGPKEY encoding makes the pkg/js parse test 056 fail, and the author should look at it and, if the actual results are correct, update the expected fixture and regenerate.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.