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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PlanSys2__ros2_planning_system__51 | PlanSys2/ros2_planning_system | 51 | defect | be30c286a5a3d0fd49737fbcac13965418a35706 | f0da0bf19ea25114d7134a3bb31251167227be35 | Fixed multiple issues with predicate add/delete | Fixed add and delete for predicates. Proper behavior should be that you can add a predicate that already exists and delete one that does not (as long as the key is correct). | diff --git a/plansys2_problem_expert/src/plansys2_problem_expert/ProblemExpert.cpp b/plansys2_problem_expert/src/plansys2_problem_expert/ProblemExpert.cpp
index 123f6d08f..d6d1f2dcc 100644
--- a/plansys2_problem_expert/src/plansys2_problem_expert/ProblemExpert.cpp
+++ b/plansys2_problem_expert/src/plansys2_problem_expe... | 4 | 4 | 1 | [{"id": "G0", "claim": "The `break` statements added in `existInstance` and `existPredicate` are redundant because the `found` variable in the loop condition already ends the loop, so they (and their 'speeds up' comments) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
PlanSys2__ros2_planning_system__59 | PlanSys2/ros2_planning_system | 59 | defect | c02da5a20f3cc91ba86060d9e6b97fc100a359d7 | 84dcaf363552cc939e4ea18c8e2346ab04e12049 | Fix the call of the get_problem_instance service | Attempt to fix the problem in the test case of the `get_problem_instance` problem. | diff --git a/plansys2_problem_expert/src/plansys2_problem_expert/ProblemExpertClient.cpp b/plansys2_problem_expert/src/plansys2_problem_expert/ProblemExpertClient.cpp
index 85b6797b5..75c972383 100644
--- a/plansys2_problem_expert/src/plansys2_problem_expert/ProblemExpertClient.cpp
+++ b/plansys2_problem_expert/src/pla... | 1 | 1 | 0 | [{"id": "G0", "claim": "The leftover debug std::cout trace of problem_node's activation state in terminal_test.cpp should be removed (the reviewer asked whether it may be replaced with an ASSERT_*) to minimize test output.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
PlanSys2__ros2_planning_system__79 | PlanSys2/ros2_planning_system | 79 | defect | 250a95deb6ebbd2f8bc6c26540ff658c1c7312d6 | 1b6e916c87b6b5746fc59f400d4471f38066edf3 | Improve the information at runtime | Dear all,
This PR improves the information produced to monitor the execution:
1. While executing a plan, the Executor publish at 1Hz in `/action_execution_info` the feedback about every action while executing a plan. This message is a `plansys2_msgs::msg::ActionExecutionInfo`.
```
int8 NOT_EXECUTED=1
int8 EXE... | diff --git a/plansys2_bt_actions/test/unit/bt_action_test.cpp b/plansys2_bt_actions/test/unit/bt_action_test.cpp
index 67e6434e2..b58cf3bbb 100644
--- a/plansys2_bt_actions/test/unit/bt_action_test.cpp
+++ b/plansys2_bt_actions/test/unit/bt_action_test.cpp
@@ -29,7 +29,6 @@
#include "plansys2_executor/ActionExecutor.h... | 4 | 1 | 1 | [{"id": "G0", "claim": "The new Knownledge message omits the functions (valuations), which are part of the knowledge, and the reviewer asks whether their absence is on purpose.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After updating to the cur... | null |
PlasmaFAIR__fortitude__124 | PlasmaFAIR/fortitude | 124 | defect | 680a5dfeee4dc182c2d97b87788b056012edca23 | 5ff24485cb4d51f673c10d91c6284b6d804a095d | Fix reading config files | Also make sure we bubble up errors from the TOML parser
Fixes #118
The two main problems with the previous solution were:
- no control of case normalisation (we want kebab-case)
- surprising error handling with problems in config file
Easiest solution is less clever, but seems to work better.
Part of th... | diff --git a/Cargo.lock b/Cargo.lock
index 76fc0d399..8b1236e5c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -150,21 +150,6 @@ dependencies = [
"anstyle",
"clap_lex",
"strsim",
- "terminal_size",
-]
-
-[[package]]
-name = "clap_config"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-i... | 2 | 1 | 0 | [{"id": "G0", "claim": "Instead of CLI `ignore` overriding the config file's ignore list (which the added TODO itself says should extend it), consider adding an `--extend-ignore` flag.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`line-length` should b... | null |
PlasmaFAIR__fortitude__145 | PlasmaFAIR/fortitude | 145 | defect | f4ed94860c8c461e8a188691726032ffdacfbdaa | 60dffcfb91ba646ba6cbb63abd44eebd74315854 | Add fancy progress bar | Since https://github.com/PlasmaFAIR/fortitude/pull/127, diagnostics are not printed as they are created, but instead are printed all at once after checking all files. On large projects, this can give the impression that the program is hanging, and gives no indication of when the program might be done.
This adds a fa... | diff --git a/Cargo.lock b/Cargo.lock
index 9faf560aa..2a41613e4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -114,6 +114,12 @@ dependencies = [
"serde",
]
+[[package]]
+name = "bumpalo"
+version = "3.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79296716171880943b8470b5f8d03aa... | 6 | 5 | 2 | [{"id": "G0", "claim": "The progress bar's contrast is poor in the reviewer's terminal (just a blue bar appearing briefly), and the styling should be adjusted to be clearer.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The progress bar vanishes too qui... | null |
PlasmaFAIR__fortitude__187 | PlasmaFAIR/fortitude | 187 | defect | cfeb1375904632e920656848621e5b1b5a853b64 | 980300d33a6150b8aa7a3a3b833ea38c01704093 | Add fix for `trailing-whitespace` | I spent far too long figuring this out from scratch before it occurred to me that Ruff implements the exact same rule and I could just steal most of it. To my credit, I came up with basically the same solution, and barely had to change anything after realising. For example, I had this to get the number of bytes to remo... | diff --git a/.githooks/pre-commit b/.githooks/pre-commit
index c71ea9e17..ff07a268c 100755
--- a/.githooks/pre-commit
+++ b/.githooks/pre-commit
@@ -8,7 +8,7 @@ echo "Running Fortitude pre-commit hook..."
caveat="If you really know what you're doing, commit again with --no-verify"
echo "Testing Rust..."
-cargo test... | 1 | 1 | 0 | [{"id": "G0", "claim": "The diagnostic's line/col arguments should be changed to (line_end_byte, idx, line_end_byte) instead of (line.trim_end().len(), idx, line.len()).", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
PlasmaFAIR__fortitude__232 | PlasmaFAIR/fortitude | 232 | defect | 6b1dab63e4ba626c0f8411ec7b141bdfb0ace395 | fe3c04335aa1e18c804f5cecfb85d0cf02582999 | Add per-file-ignores | Fixes https://github.com/PlasmaFAIR/fortitude/issues/6
Allows the user to specify `--per-file-ignores` and `--extend-per-file-ignores` to switch off rules/categories for specific files:
```bash
fortitude check --per-file-ignores=myfile.f90:typing,myotherfile.f90:S001
```
Using `--extend-per-file-ignores` on ... | diff --git a/Cargo.lock b/Cargo.lock
index d0ae7d487..4b5c1c7ff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -409,6 +409,8 @@ dependencies = [
"clap",
"colored",
"fortitude_macros",
+ "glob",
+ "globset",
"indicatif",
"insta",
"insta-cmd",
diff --git a/fortitude/Cargo.toml b/fortitude/Cargo.toml
index cb3bbd... | 3 | 2 | 1 | [{"id": "G0", "claim": "The construction of per_file_ignores in check() could avoid the mutable intermediate variable by chaining the iterators directly, per the reviewer's suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Per-fil... | null |
PlasmaFAIR__fortitude__285 | PlasmaFAIR/fortitude | 285 | defect | 6c7423f8f28d283e72835bc1bd8dc460317c4bd1 | cb44942c113d8f9e0539605e1b54b7f74b402bc9 | Respect `.gitignore` | Fixes https://github.com/PlasmaFAIR/fortitude/issues/231
I spent a while trying to get Ruff's implementation of this working, but it required pulling in a lot of additional infrastructure that I didn't fully understand, so this seemed the safer option.
The use of the `WalkBuilder` seems messy, but when I tried bu... | diff --git a/Cargo.lock b/Cargo.lock
index f20b73fdf..c6e28f93f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -410,6 +410,7 @@ dependencies = [
"colored",
"fortitude_macros",
"globset",
+ "ignore",
"indicatif",
"insta",
"insta-cmd",
@@ -445,7 +446,6 @@ dependencies = [
"tree-sitter-fortran",
"unicode-widt... | 3 | 3 | 0 | [{"id": "G0", "claim": "Build the walker once at this level instead of building a new walker for each individual directory, which would also make it easier to switch to the parallel walker later.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use TypesBu... | null |
PlasmaFAIR__fortitude__307 | PlasmaFAIR/fortitude | 307 | defect | 0707f31aae21fd3b9e8c57df7b659611b75f5e69 | 89675e5576643c947b07eda2bcc6982c14c832ce | Add ability to read from stdin | Closes #136
Also adds `--output-file` argument as a bonus | diff --git a/fortitude/src/check.rs b/fortitude/src/check.rs
index 619d7b5d3..134fdbce9 100644
--- a/fortitude/src/check.rs
+++ b/fortitude/src/check.rs
@@ -19,7 +19,8 @@ use crate::settings::{
ExcludeMode, FixMode, GitignoreMode, OutputFormat, PatternPrefixPair, PreviewMode, ProgressBar,
Settings, UnsafeFixe... | 3 | 2 | 0 | [{"id": "G0", "claim": "When `--stdin-filename` is given, `--force-exclude` is not obeyed (as ruff does); this was deliberately left out of the pull request.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc-comment on `resolve_default_files` i... | null |
PlasmaFAIR__fortitude__445 | PlasmaFAIR/fortitude | 445 | defect | 5a8f26583ecd5b0eeaafcbc06ca41ded4e818185 | f8c6747004529083ecaa4f840654f6b8a1cab710 | Rename `single-quote-string` to `bad-quote-string`, add option | Includes option to set preferred quote character
Closes #440 | diff --git a/docs/rules.md b/docs/rules.md
index 95890ddaa..f11dc809e 100644
--- a/docs/rules.md
+++ b/docs/rules.md
@@ -83,7 +83,7 @@
| S221 | [function-missing-result](rules/function-missing-result.md) | Function missing result() specifier | <span title='Rule is in preview'>🧪</span> <span title='Automatic fix not a... | 2 | 2 | 0 | [{"id": "G0", "claim": "The doc-comment code fence is mislabelled: the example replacement code is Fortran, so the fence should read ```f90 instead of ```python.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment for the string-literal... | null |
PlasmaFAIR__fortitude__522 | PlasmaFAIR/fortitude | 522 | defect | edcbc860092111e12e3f23c65162d54d671c6f76 | d29b2a862903f9680b014e1109689a17128b5d48 | Add rules for nonconforming characters and tabs | Closes #77
~Rendering currently is not great:~
```
crates/fortitude_linter/resources/test/fixtures/portability/PORT031.f90:4:1: PORT031 Invalid tab character
|
2 | ! the horrible whitespace!
3 | program invalid_tab
4 | implicit none
| ^ PORT031
5 | print*, "Don't flag this: "
6 | ! Or ... | diff --git a/crates/fortitude_linter/resources/test/fixtures/portability/PORT031.f90 b/crates/fortitude_linter/resources/test/fixtures/portability/PORT031.f90
new file mode 100644
index 000000000..e022abf08
--- /dev/null
+++ b/crates/fortitude_linter/resources/test/fixtures/portability/PORT031.f90
@@ -0,0 +1,12 @@
+! I... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new `InvalidTab` rule should be on by default rather than Optional, though that might upset some people.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should offer user control over the number of replacement spaces use... | null |
PlasmaFAIR__fortitude__535 | PlasmaFAIR/fortitude | 535 | defect | 8a8e34491ea4faaf1ccace7cf09400d5f20fe4cd | d2c6d47d166867daefa1115985cc0453b9d69301 | Add `--isolated` option, and user-specific config files | Builds on #534, another step towards #509 and #513. This now has most of the machinery to also implement extending other config files.
Adds options to ignore all config files, and to find user-specific config files (if no others are found)
Next step is to change how we find files to discover the closest config fi... | diff --git a/Cargo.lock b/Cargo.lock
index 8866e32b6..dba71a447 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -291,7 +291,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
dependencies = [
"lazy_static",
- "windows-sys 0... | 10 | 6 | 0 | [{"id": "G0", "claim": "Rename `FortitudeConfig` and `FortconfigDiscoveryStrategy` to `ConfigFile` and `ConfigFileDiscoveryStrategy` to match ruff's naming and better distinguish them from `Settings`/`Options`/`Configuration`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
PlasmaFAIR__fortitude__540 | PlasmaFAIR/fortitude | 540 | defect | 8a8e34491ea4faaf1ccace7cf09400d5f20fe4cd | 8bf14d3a21db4852768458f8960fed5812396bbe | Add `fortitude config` command | Gives command-line help for the various config options | diff --git a/crates/fortitude/src/cli.rs b/crates/fortitude/src/cli.rs
index e379c3f92..4b1f8d14e 100644
--- a/crates/fortitude/src/cli.rs
+++ b/crates/fortitude/src/cli.rs
@@ -15,6 +15,8 @@ use fortitude_linter::{
};
use fortitude_workspace::configuration::{Configuration, ConfigurationTransformer};
+use crate::com... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `--help` docstring for the config key argument should be expanded to say that running the command with no key shows the top-level options and that nested options are separated with '.', e.g. 'check.fix'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
PlasmaFAIR__fortitude__542 | PlasmaFAIR/fortitude | 542 | defect | ee16a0078e159499ef7d8ccc79b291f27f766392 | 65d42e105d43f06e2531e33f083afd77f7115257 | Add more capabilities to `fortitude explain` | - `--summary` to give one line summaries of the output
- `--list-categories` to list the categories
- `--output-format` to get the output as json
I was also thinking of using [termimad](https://github.com/Canop/termimad/tree/main) to render the output, but decided that might be a bit too far | diff --git a/Cargo.lock b/Cargo.lock
index 8866e32b6..65626f4a2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -199,7 +199,7 @@ dependencies = [
"android-tzdata",
"iana-time-zone",
"num-traits",
- "windows-link",
+ "windows-link 0.1.3",
]
[[package]]
@@ -291,7 +291,7 @@ source = "registry+https://github.com/rust... | 1 | 1 | 0 | [{"id": "G0", "claim": "With markdown rendering enabled there is no space between rules when printing several at once; the reviewer suggested inserting a newline after each description and printing a '---' separator between rules (not to be merged directly, since the suggestion omits the for-loop's top line).", "catego... | null |
PlaytikaOSS__testcontainers-spring-boot__1699 | PlaytikaOSS/testcontainers-spring-boot | 1,699 | defect | 0c0d81a551081d7d442c84553b6b49b81b23336d | 6857e192a05e29d85c1fd66d410e0898ba85b4e3 | module embedded aerospike enterprise | added module embedded aerospike enterprise with configured mandatory durable deletes by default | diff --git a/embedded-aerospike-enterprise/README.adoc b/embedded-aerospike-enterprise/README.adoc
new file mode 100644
index 0000000000..498ea48a66
--- /dev/null
+++ b/embedded-aerospike-enterprise/README.adoc
@@ -0,0 +1,65 @@
+=== embedded-aerospike-enterprise
+
+Extension for `embedded-aerospike` module.
+
+By defau... | 5 | 4 | 1 | [{"id": "G0", "claim": "The README misdescribes the module - calling it an 'Extension for embedded-aerospike' and framing durable deletes as the 'Problem to be solved' - when it is a full-blown Aerospike container with additional features.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"... | null |
PlaytikaOSS__testcontainers-spring-boot__2234 | PlaytikaOSS/testcontainers-spring-boot | 2,234 | defect | ae40783c894a304efb9ef2a94686acbb72555123 | f9cdc31dac612b4c7bdea3faf73c10a0a90fea34 | Enabled Rabbit Streams by adding ability to expose additional ports | This PR Adds the property `embedded.rabbitmq.additionalPorts`, which allows us to expose arbitrary port. If you enable the RabbitMQ Streams plugin, you can also expose the port 5552 to use for streams tests.
This is my first PR with this project. I hope I've followed the conventions.
Closes #2157 | diff --git a/embedded-rabbitmq/README.adoc b/embedded-rabbitmq/README.adoc
index acb5a9e651..a0257d1a8f 100644
--- a/embedded-rabbitmq/README.adoc
+++ b/embedded-rabbitmq/README.adoc
@@ -21,8 +21,9 @@
* `embedded.rabbitmq.dockerImage` `(default is 'rabbitmq:4.0-alpine')`
** Image versions on https://hub.docker.com/_/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new stream test resource files should use YAML format instead of .properties.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PlaytikaOSS__testcontainers-spring-boot__2340 | PlaytikaOSS/testcontainers-spring-boot | 2,340 | defect | c3c6c83a0129a232ce6ed9a2861b07223a98000f | f454290a068bd3ff33f62c33f9dd78f32d2f09ff | Add support for Temporal (#2339) | Closes #2339
The reason to start a container from a Dockerfile is that Temporal CLI is the only way to start Temporal Server in [development mode](https://docs.temporal.io/cli#start-dev-server) using an in-memory database.
The [existing images](https://hub.docker.com/u/temporalio) expect a preconfigured database.
| diff --git a/embedded-temporal/README.adoc b/embedded-temporal/README.adoc
new file mode 100644
index 0000000000..d0f5a54c2a
--- /dev/null
+++ b/embedded-temporal/README.adoc
@@ -0,0 +1,27 @@
+=== embedded-temporal
+
+==== Maven dependency
+
+.pom.xml
+[source,xml]
+----
+<dependency>
+ <groupId>com.playtika.testcon... | 1 | 1 | 0 | [{"id": "G0", "claim": "The image built from the PR's own Dockerfile should be replaced with an existing published Temporal image (or one pushed to Docker Hub) so it is renovate-managed and ARM-compatible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PlaytikaOSS__testcontainers-spring-boot__2698 | PlaytikaOSS/testcontainers-spring-boot | 2,698 | defect | dd9be4f66b99fd1b7d65b613d67f10134e62e8fb | 998adb3fa55c7ae06c9d85c78c4b96cb66851123 | feat(embedded-mongodb): add support to launch mongo as a replicaset | My team is using mongo change streams for more and more things, but it's a little difficult to make test containers launch mongod as a replicaset. I saw there was an open issue for this #1182 so hopefully people are interested.
The documentation for the mongo container is really sparse on how to do this, so if nothi... | diff --git a/embedded-mongodb/README.adoc b/embedded-mongodb/README.adoc
index 939b3cb9ce..1b433a3545 100644
--- a/embedded-mongodb/README.adoc
+++ b/embedded-mongodb/README.adoc
@@ -23,6 +23,7 @@
* `embedded.mongodb.username`
* `embedded.mongodb.password`
* `embedded.mongodb.database` `(default is test)`
+* `embedd... | 5 | 2 | 1 | [{"id": "G0", "claim": "Extract the common container configuration out of the if/else so only the replica-set-specific settings are configured inside the if statement.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add the regular (standalone) wai... | null |
PlaytikaOSS__testcontainers-spring-boot__766 | PlaytikaOSS/testcontainers-spring-boot | 766 | defect | fcf9e7acbd2eba932624086bfaf4920930e7a50f | 1092f3de473e8f06b9a48735bad89e222f28d7be | #697 added azurite support | This would be a possible fix for https://github.com/Playtika/testcontainers-spring-boot/issues/697, it adds support for Azurite, the local version of Azure Storage
- see https://github.com/Azure/Azurite
- being tested with https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-... | diff --git a/README.adoc b/README.adoc
index 051dfb4754..881f3b3507 100644
--- a/README.adoc
+++ b/README.adoc
@@ -273,6 +273,8 @@ Available values can be taken from `com.github.dockerjava.api.model.Capability`
=== link:embedded-artifactory/README.adoc[embedded-artifactory]
+=== link:embedded-azurite/README.adoc[e... | 2 | 2 | 2 | [{"id": "G0", "claim": "The azurite docker image version should be replaced with a fixed version instead of \"latest\", since the newest container may fail when it is not compatible with the testcontainers-spring-boot setup.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
PlaytikaOSS__testcontainers-spring-boot__792 | PlaytikaOSS/testcontainers-spring-boot | 792 | defect | 18b83f64ad39c36feeef0471383050d3ac397c22 | 9356747ab6d6ed1925043b0edb1aa6951dd1c052 | Google Cloud Storage support | The image used as a base: https://github.com/fsouza/fake-gcs-server | diff --git a/README.adoc b/README.adoc
index 42cc04aa53..caa49b9e3a 100644
--- a/README.adoc
+++ b/README.adoc
@@ -253,6 +253,8 @@ Available values can be taken from `com.github.dockerjava.api.model.Capability`
=== link:embedded-google-pubsub/README.adoc[embedded-google-pubsub]
+=== link:embedded-google-storage/RE... | 9 | 6 | 2 | [{"id": "G0", "claim": "The module relies on fake-gcs-server, which is not an officially supported mock and may behave differently from real storage; the reviewer asks what the issue would be with the officially suggested testing approach and whether the fake server is stable enough.", "category": "design", "verdict": ... | null |
PlaytikaOSS__testcontainers-spring-boot__815 | PlaytikaOSS/testcontainers-spring-boot | 815 | defect | 7f9f38a7635e4e62c3325b700da19615d8bf1c42 | fd11564fbe749ba7536efcccd6ef91f65c247559 | Pub sub dead letter | Allow to define dead letter policy for subscriptions for generated pub/sub resources | diff --git a/embedded-google-pubsub/README.adoc b/embedded-google-pubsub/README.adoc
index a96d3d866e..97544bb99d 100644
--- a/embedded-google-pubsub/README.adoc
+++ b/embedded-google-pubsub/README.adoc
@@ -16,7 +16,7 @@
* `embedded.google.pubsub.enabled` `(true|false, default is true)`
* `embedded.google.pubsub.re... | 2 | 2 | 1 | [{"id": "G0", "claim": "The reviewer asks the author to check what the removed subscription parameters PushConfig.getDefaultInstance() and ack deadline 100 stood for and whether they are still needed now that createSubscription builds the Subscription directly.", "category": "correctness", "verdict": "supported", "prio... | null |
Plonky3__Plonky3__1112 | Plonky3/Plonky3 | 1,112 | defect | 658115aae28312e97cd3ef38d1ab046839f734a8 | 26fb960a1c243bb1e631f44081aa858f452ca225 | clippy: add `needless_pass_by_value` | Should avoid PRs like https://github.com/Plonky3/Plonky3/pull/1111
The general rule of this lint is:
> Checks for functions taking arguments by value, but not consuming them in its body.
>
> Taking arguments by reference is more flexible and can sometimes avoid unnecessary allocations.
See https://rust-lang.... | diff --git a/Cargo.toml b/Cargo.toml
index c62fe8ba84..53ef2feabe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,6 +51,7 @@ nursery = { level = "warn", priority = -1 }
# Some pedantic lints
semicolon_if_nothing_returned = "warn"
+needless_pass_by_value = "warn"
redundant_pub_crate = "allow"
too_long_first_doc_... | 3 | 3 | 0 | [{"id": "G0", "claim": "The `&(impl Iterator<Item = F> + Clone)` twiddles parameters are a weird lint workaround and a different approach (e.g. `impl Iterator<Item = &F> + Clone`) should be found.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `#[all... | null |
Plonky3__Plonky3__1114 | Plonky3/Plonky3 | 1,114 | defect | 658115aae28312e97cd3ef38d1ab046839f734a8 | d10d196666c7f7c06f662166ca4d96edde1c1cdb | Add preprocessed/transparent columns to uni-stark | Add preprocessed column support to uni-stark with helper functions
- Add process_preprocessed_trace helper to verifier.rs
- Add commit_preprocessed_trace helper to prover.rs
- Add PairBuilder support to DebugConstraintBuilder
- Update Air trait to support preprocessed_trace with degree parameter
- Add PREPROCESS... | diff --git a/air/src/air.rs b/air/src/air.rs
index 56a77ca6e4..2f0958a0bd 100644
--- a/air/src/air.rs
+++ b/air/src/air.rs
@@ -8,7 +8,6 @@ use p3_matrix::dense::RowMajorMatrix;
pub trait BaseAir<F>: Sync {
/// The number of columns (a.k.a. registers) in this AIR.
fn width(&self) -> usize;
-
/// Return a... | 4 | 1 | 0 | [{"id": "G0", "claim": "Replace the if-let construction of preprocessed_pair in uni-stark/src/check_constraints.rs with the more idiomatic preprocessed.as_ref().map(...) form.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move the doc comment 'In... | null |
Plonky3__Plonky3__1150 | Plonky3/Plonky3 | 1,150 | defect | 5132bc789066484367ae8a833246665360056bd3 | 4c1acb1b6d0ca733c9b31d0ab92cc28781298f07 | Add Preprocessed trace setup and VKs | Please see the related PR #1151 for its usage in batch-starks. | diff --git a/uni-stark/src/prover.rs b/uni-stark/src/prover.rs
index b0ce759c04..21aa6ddef0 100644
--- a/uni-stark/src/prover.rs
+++ b/uni-stark/src/prover.rs
@@ -17,6 +17,24 @@ use crate::{
StarkGenericConfig, SymbolicAirBuilder, Val, get_log_quotient_degree, get_symbolic_constraints,
};
+/// Prover-side reusa... | 5 | 5 | 0 | [{"id": "G0", "claim": "The `preprocessed_width > 0` check is already tested earlier, so the prover should build the preprocessed commitment and data with `preprocessed.map(|pp| (pp.commitment.clone(), &pp.prover_data)).unzip()` instead of the guarded if/else.", "category": "maintainability", "verdict": "supported", "p... | null |
Plonky3__Plonky3__1152 | Plonky3/Plonky3 | 1,152 | defect | 5132bc789066484367ae8a833246665360056bd3 | 2b07fef075c75a51f2af87303779d0d597710266 | challenger: add `observe_base_as_algebra_element ` to `FieldChallenger` trait | `observe_base_as_ext` was an isolated method used mainly for recursion purpose.
But for better practicality and better ergonomics, this is probably better to integrate this directly into the `FieldChallenger` trait, since this usage may be useful for other users and not limited to the batch stark configuration.
... | diff --git a/batch-stark/src/config.rs b/batch-stark/src/config.rs
index d91f106687..5dcf34c1d9 100644
--- a/batch-stark/src/config.rs
+++ b/batch-stark/src/config.rs
@@ -22,26 +22,6 @@ pub type PcsProof<SC> = <<SC as StarkGenericConfig>::Pcs as Pcs<
<SC as StarkGenericConfig>::Challenger,
>>::Proof;
-/// Helpe... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new method should be bounded by `Algebra<F>` rather than `ExtensionField<F> + BasedVectorSpace<F>` (with `BasedVectorSpace<F>` retained as needed by `observe_algebra_element`).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`o... | null |
Plonky3__Plonky3__1172 | Plonky3/Plonky3 | 1,172 | defect | c9d8c3e0b8b5d62e318ea8aef6e9e16da0f27f15 | da62e2d88bb577ef77f91812690a90c45a22c6b8 | feat: add `SubAirBuilder` module | Backported from https://github.com/Plonky3/Plonky3-recursion with additional simplifications thanks to #1170.
Also tweaked the doc and added a simple integration test to highlight the sub-builder. | diff --git a/uni-stark/src/lib.rs b/uni-stark/src/lib.rs
index 491504a67f..88623cd1bd 100644
--- a/uni-stark/src/lib.rs
+++ b/uni-stark/src/lib.rs
@@ -10,6 +10,7 @@ mod folder;
mod preprocessed;
mod proof;
mod prover;
+mod sub_builder;
mod symbolic_builder;
mod symbolic_expression;
mod symbolic_variable;
@@ -21,6... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `AirBuilder` mentions in the sub_builder.rs module doc comment should be wrapped in intra-doc links (`[AirBuilder]`) like the other references.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `SubAirBuilder` struct f... | null |
Plonky3__Plonky3__1230 | Plonky3/Plonky3 | 1,230 | defect | f723a7f17d41c49681f76143d5d776c9253a943f | aa3b7269f6e4e6746024e573352762ce6ac2e64e | Avoid change of Pcs's `open` method signature | #1178 added an argument to the `open` method in PCS. This PR removes that change, by implementing an additional method `open_with_preprocessing`.
In #1178 , the additional argument was used when ZK was enabled to determine whether preprocessing data is available, as they should be opened differently (they do not go ... | diff --git a/batch-stark/src/prover.rs b/batch-stark/src/prover.rs
index 2a439c1e5f..02b3466bcf 100644
--- a/batch-stark/src/prover.rs
+++ b/batch-stark/src/prover.rs
@@ -429,14 +429,7 @@ where
rounds.push(lookup_round);
}
- pcs.open(
- rounds,
- &mut challenger,
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The default `open_with_preprocessing` implementation in commit/src/pcs.rs should include an assert or debug_assert (e.g. that `is_preprocessing` is false) to guard its validity.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Plonky3__Plonky3__1239 | Plonky3/Plonky3 | 1,239 | defect | 9321ea8163f799b1b34f050cb8aed97c3926b730 | 2c77222cebf15e90068a4782969ee195334c3007 | refactor: integrate `Lookup` logic into the `Air` trait | ## Description
This PR refactors the lookup argument system as an attempt to tackle #1235, removing the overhead of using intermediary `AirLookupHandler` trait and `AirNoLookup` wrapper, by integrating all lookup functionality directly into the `Air` trait.
## Motivation
AIRs should in essence already contain ... | diff --git a/air/Cargo.toml b/air/Cargo.toml
index 8388256948..fe6cd67817 100644
--- a/air/Cargo.toml
+++ b/air/Cargo.toml
@@ -12,6 +12,8 @@ categories.workspace = true
[dependencies]
p3-field.workspace = true
p3-matrix.workspace = true
+serde = { workspace = true, features = ["derive", "alloc"] }
+tracing.workspace... | 3 | 2 | 0 | [{"id": "G0", "claim": "The doc-comment line should read \"Elements from either the main execution trace or a lookup table\" instead of \"from the either\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc-comment argument line should say `l... | null |
Plonky3__Plonky3__1352 | Plonky3/Plonky3 | 1,352 | defect | dda815a6d1a390234f25a21cc82e151f3d275f47 | 97665d82663e4b20b46b358779419c28c682c694 | feat(fri): handle extrapolation for LDEs | Previously the function panicked when domain.shift() != Val::GENERATOR or lde.height() < domain.size(). This PR adds an extrapolation path that recovers polynomial coefficients from the committed LDE and re-evaluates on the target domain. The original zero-copy fast path is preserved for the common case. | diff --git a/fri/src/hiding_pcs.rs b/fri/src/hiding_pcs.rs
index d5f4095911..70bdc26db1 100644
--- a/fri/src/hiding_pcs.rs
+++ b/fri/src/hiding_pcs.rs
@@ -9,7 +9,7 @@ use p3_field::coset::TwoAdicMultiplicativeCoset;
use p3_field::{ExtensionField, Field, TwoAdicField, batch_multiplicative_inverse};
use p3_matrix::Matr... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request has no test validating the new extrapolation behaviour it introduces.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Plonky3__Plonky3__1373 | Plonky3/Plonky3 | 1,373 | defect | eb8016a6a8d262846248dcd88fcae19abe4d5c86 | aefaaf5a9b5d89065c3fd792ce816d5f362a50a9 | feat: add high-arity support in `MerkleTree` and `MMCS` | Follow-up work to #1359.
Add N-arity support, with N > 2 power-of-two, to `MerkleTree` and `MerkleTreeMmcs`, with showcasing in tests and benches with the newly added width-32 Poseidon2 instance over BabyBear.
The "shape" of the tree was made dynamic, so that we do not need to tweak the LDE of inner matrices in M... | diff --git a/batch-stark/tests/simple.rs b/batch-stark/tests/simple.rs
index 77c766b317..474fc2f0fd 100644
--- a/batch-stark/tests/simple.rs
+++ b/batch-stark/tests/simple.rs
@@ -7,7 +7,9 @@ use p3_air::symbolic::{SymbolicAirBuilder, SymbolicExpression};
use p3_air::{Air, AirBuilder, BaseAir, PermutationAirBuilder};
... | 6 | 4 | 2 | [{"id": "G0", "claim": "The doc comment \"The first item is salts; the second is the usual Merkle proof (sibling digests).\" above `type Proof` in hiding_mmcs.rs should not be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The run_batch_s... | null |
Plonky3__Plonky3__1380 | Plonky3/Plonky3 | 1,380 | defect | 1e7705c49eba3590751488225b62c5684807ad6b | 67325eef90cd0649801be7cf95d9864c3945a84b | feat(air): Minimum support for periodic columns | This PR includes the minimum amount of changes required in the SymbolicAir to allow downstream implementers to support periodic columns. Eventually, we should add support for the existing STARKs. See https://github.com/0xMiden/Plonky3/pull/44. | diff --git a/air/src/air.rs b/air/src/air.rs
index 391b4854f5..d5a28975de 100644
--- a/air/src/air.rs
+++ b/air/src/air.rs
@@ -351,6 +351,15 @@ pub trait AirBuilder: Sized {
}
}
+/// Extension of [`AirBuilder`] for builders that supply periodic column values.
+pub trait PeriodicAirBuilder: AirBuilder {
+ ///... | 2 | 2 | 0 | [{"id": "G0", "claim": "An issue should be opened to track the TODO that periodic columns approximate degree as 1 instead of Winterfell's n/p - 1.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An issue should be opened to track that periodic columns are... | null |
Plonky3__Plonky3__1387 | Plonky3/Plonky3 | 1,387 | defect | fa38f855f6ac01525bb78d4f549ec846e5d977a1 | 4d15da5da85c6b8dd8e4c6837ea0fab32d997f7d | air: change return type of preprocessed in air builder | Related https://github.com/Plonky3/Plonky3/pull/1375#discussion_r2873723150 and https://github.com/Plonky3/Plonky3/pull/1375#pullrequestreview-3888226432
cc @Nashtare @SyxtonPrime | diff --git a/air/src/air.rs b/air/src/air.rs
index 6bf7c26812..fc7ef0d9fd 100644
--- a/air/src/air.rs
+++ b/air/src/air.rs
@@ -246,12 +246,10 @@ pub trait AirBuilder: Sized {
/// Return the matrix representing the main (primary) trace registers.
fn main(&self) -> Self::M;
- /// Return an optional matrix ... | 3 | 1 | 1 | [{"id": "G0", "claim": "The new `where AB::M: Clone` requirement on SubAirBuilder's impl blocks may be an issue for downstream users, who would have to add the bound to their own `Air<AB>` impls.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A `MatrixVi... | null |
Plonky3__Plonky3__1390 | Plonky3/Plonky3 | 1,390 | defect | fa38f855f6ac01525bb78d4f549ec846e5d977a1 | 2aa5581ab4fe1724bb5fcab15a4beae2a932db62 | introduce AirLayout struct to bundle symbolic builder parameters | Replace 6 individual usize parameters with a single Copy struct across SymbolicAirBuilder::new() and all symbolic constraint helper functions. | diff --git a/Cargo.toml b/Cargo.toml
index 12f7fd7022..43ba1c9798 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -67,9 +67,7 @@ clap = { version = "4.5.23", features = ["derive"] }
criterion = "0.8"
hashbrown = "0.16.0"
hex-literal = "1.0.0"
-itertools = { version = "0.14.0", default-features = false, features = [
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Setting every AirLayout field explicitly instead of using `..Default::default()` in the `layout` and `layout_with_perm` test helpers would let both functions be made `const`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Plonky3__Plonky3__1392 | Plonky3/Plonky3 | 1,392 | defect | 9e2d1151957635a61c8ee0cb6c9ee002591a8c76 | 7cad3c69fdab77de3e7e10bf80703e54c01560b6 | Move Lookup-related Air to `batch-stark` and `lookup` | Built on top of https://github.com/Plonky3/Plonky3/pull/1391
The current lookup abstraction is tightly linked to the Air and is inherently dependent on the batch-stark's lookup implementation. This PR moves them to the relevant crates. | diff --git a/air/Cargo.toml b/air/Cargo.toml
index 0eaa622cbc..a39956b234 100644
--- a/air/Cargo.toml
+++ b/air/Cargo.toml
@@ -12,7 +12,6 @@ categories.workspace = true
[dependencies]
p3-field.workspace = true
p3-matrix.workspace = true
-serde = { workspace = true, features = ["derive", "alloc"] }
tracing.workspace... | 2 | 2 | 0 | [{"id": "G0", "claim": "Asks why `eval_with_lookups` is a standalone free function in the lookup crate rather than a method callable as `air.eval_with_lookups(...)`, suggesting the method form would be easier to call.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
Plonky3__Plonky3__1451 | Plonky3/Plonky3 | 1,451 | defect | e7bd2107ed7a0ec73a86d912aa8aa88ac9fd7af3 | a566be29f827c1661c46bb0d395a40f0df781046 | Make batched_linear_combination chunk size per-impl tunable | ## Summary
- Add `BATCHED_LC_CHUNK` associated const to `Algebra<F>` with match dispatch in the default `batched_linear_combination` impl
- Lets each packed field override the chunk size without duplicating the chunking logic
- Benchmarked NEON values: MontyField31 and Mersenne31 = 16, Goldilocks = 2; AVX2/AVX-512 impl... | diff --git a/baby-bear/benches/bench_field.rs b/baby-bear/benches/bench_field.rs
index 4b2762faa9..3732ca35a2 100644
--- a/baby-bear/benches/bench_field.rs
+++ b/baby-bear/benches/bench_field.rs
@@ -2,9 +2,9 @@ use criterion::{BatchSize, Criterion, criterion_group, criterion_main};
use p3_baby_bear::BabyBear;
use p3_... | 6 | 5 | 0 | [{"id": "G0", "claim": "chunked_linear_combination should make the values/coeffs length check an unconditional assert_eq! with a helpful message instead of a debug_assert_eq!, and then downgrade or remove the later assert_eq!s.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
Plonky3__Plonky3__1469 | Plonky3/Plonky3 | 1,469 | defect | c132e6924a9e048558f728489613206982fcb920 | e64c210a5e6daad75810eef62958435e05284c46 | Harden verifier shape checks | This PR makes the verifier validate proof shape against the AIR instead of trusting proof-supplied metadata.
It now rejects mismatched public value lengths, trun... | diff --git a/batch-stark/src/verifier/mod.rs b/batch-stark/src/verifier/mod.rs
index d4361eea8e..e2afc1cf28 100644
--- a/batch-stark/src/verifier/mod.rs
+++ b/batch-stark/src/verifier/mod.rs
@@ -210,7 +210,9 @@ where
return Err(InvalidProofShapeError::PreprocessedWidthMismatch { air: i }.into());
... | 4 | 4 | 1 | [{"id": "G0", "claim": "The tampered-metadata test should assert all fields of the GlobalLookupDataMetadataMismatch error (expected/got name and aux_idx), not just air and lookup, to check the error's sensitive fields are correct.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
Plonky3__Plonky3__1512 | Plonky3/Plonky3 | 1,512 | defect | 9d6f6654bfe0c15540abbfe02b423a7368a85a25 | 6b075ed0ebddca73f38f193018deae2eb6ea655b | field: add division ops for packed binomial extension | Add Div and DivAssign support for PackedBinomialExtensionField using batched inversion, aligning packed binomial behavior with the packed-division direction in Refs #1457. | diff --git a/field/src/extension/packed_binomial_extension.rs b/field/src/extension/packed_binomial_extension.rs
index fe5971f700..07deaa6766 100644
--- a/field/src/extension/packed_binomial_extension.rs
+++ b/field/src/extension/packed_binomial_extension.rs
@@ -1,8 +1,9 @@
+use alloc::vec;
use alloc::vec::Vec;
use c... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new packed binomial extension division operations should have tests in the field test suite.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The packed/packed division implementation should not allocate a Vec; a manual batch i... | null |
Plonky3__Plonky3__1535 | Plonky3/Plonky3 | 1,535 | defect | a2a0d2645a20a167cf5a9e250b133b876b4dc8ce | 9842e67d523148f37f23b6d13800c55d534a00ec | Guard verifier degree_bits | This adds explicit `degree_bits` validation in both `uni-stark` and `batch-stark` verifiers before any subtraction or domain construction.
Today a malicious proof can drive paths like `degree_bits - is_zk` and `1 << degree_bits` / `1 << (degree_bits +log_num_quotient_chunks)` without a prior bounds check. That i... | diff --git a/batch-stark/src/verifier/mod.rs b/batch-stark/src/verifier/mod.rs
index d4361eea8e..125aeebf02 100644
--- a/batch-stark/src/verifier/mod.rs
+++ b/batch-stark/src/verifier/mod.rs
@@ -24,6 +24,33 @@ use crate::proof::BatchProof;
use crate::symbolic::get_log_num_quotient_chunks;
use crate::transcript::Batch... | 8 | 8 | 1 | [{"id": "G0", "claim": "The checked_pow2 helper duplicated in both verifiers should live in a shared crate (e.g. p3-util) and be reused, with unit tests validating its behaviour, and the #[inline] attribute is unnecessary for this private single-call function.", "category": "maintainability", "verdict": "supported", "p... | null |
Plonky3__Plonky3__257 | Plonky3/Plonky3 | 257 | defect | c1141acb1bd293b7da7984922e75a2b6b9814c0b | f2fede9b29b105d602d7e808250ae203f660b2ff | Poseidon2 speedups | Refactored Poseidon2 code.
Moved Babybear and Goldilocks specific code out of the Poseidon crate and into the relevant field crates. (Similar to what we have done with the MDS code)
This lets us write field specific code for matmul_internal and similar functions leading to a `> ~20%` speed up on all benchmarks.
... | diff --git a/baby-bear/Cargo.toml b/baby-bear/Cargo.toml
index b9b665fa82..f79881f99f 100644
--- a/baby-bear/Cargo.toml
+++ b/baby-bear/Cargo.toml
@@ -6,11 +6,15 @@ license = "MIT OR Apache-2.0"
[dependencies]
p3-field = { path = "../field" }
-rand = "0.8.5"
+p3-poseidon2 = { path = "../poseidon2" }
+p3-symmetric =... | 17 | 15 | 5 | [{"id": "G0", "claim": "The comment above the diffusion matrices should be updated: the arrays shown are the true forms converted to Monty form below, not the other way round.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "MONTY_BITS should not be... | null |
Plonky3__Plonky3__579 | Plonky3/Plonky3 | 579 | defect | 5118b420a68999f92248bfb146b65dcafbb6d1d4 | 21d77856d49780ab3e9e3a27b360520c6278d320 | Add FRI early stopping | This PR reopens #417 and changes its base branch to main. | diff --git a/blake3-air/examples/prove_blake3_baby_bear_poseidon2.rs b/blake3-air/examples/prove_blake3_baby_bear_poseidon2.rs
index cad8f512c2..b5461297b4 100644
--- a/blake3-air/examples/prove_blake3_baby_bear_poseidon2.rs
+++ b/blake3-air/examples/prove_blake3_baby_bear_poseidon2.rs
@@ -59,6 +59,7 @@ fn main() -> Re... | 6 | 5 | 1 | [{"id": "G0", "claim": "Add a comment somewhere (or an issue) noting that the `log_final_poly_len` parameter / FRI early stopping is currently ignored and not implemented in `CirclePcs`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is an o... | null |
Plonky3__Plonky3__620 | Plonky3/Plonky3 | 620 | defect | d83d9d348da8c937e214390f01fe2ab233cf180a | 39368bb6422747013575278f5428b793e61b7f10 | Field Crate Refactor: Emptying out the FieldExtensionAlgebra trait | Note this is not merging into main. The plan is to develop the Field crate refactor in a separate branch and then merge it all in in a single PR. This will avoid the need for a collection of small API breaking changes.
The point of this PR is to do about the half the work required in order to delete the `FieldExtens... | diff --git a/baby-bear/src/extension.rs b/baby-bear/src/extension.rs
index 04c2dfab7c..2f737be182 100644
--- a/baby-bear/src/extension.rs
+++ b/baby-bear/src/extension.rs
@@ -3,7 +3,7 @@ mod test_quartic_extension {
use alloc::format;
use p3_field::extension::BinomialExtensionField;
- use p3_field::{Fiel... | 4 | 2 | 0 | [{"id": "G0", "claim": "The body of `ith_basis_element` should be replaced with `Self::deserialize_fn(|j| F::from_bool(i == j))` instead of the if/else.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`serialize_as_slice` should be renamed to `se... | null |
Plonky3__Plonky3__676 | Plonky3/Plonky3 | 676 | defect | 5d8115dc7e40ec388e6cf460d4e8cc8ea9e647f4 | c9ca04e4eda0c2de0246afcb97a6f82295057ca1 | Coset crate | This PR, developed in collaboration with @Antonio95, implements the `p3-coset` crate which, together with `p3-poly`, provides essential building blocks for implementing the STIR low-degree test in Plonky3. By separating this functionality into a dedicated crate, we aim to make the main PR more modular and easier to rev... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c18ace16b4..5abcb8e027 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -105,6 +105,7 @@ jobs:
cargo check --verbose --package p3-blake3
cargo check --verbose --package p3-challenger
cargo check --ve... | 20 | 19 | 2 | [{"id": "G0", "claim": "The new TwoAdicCoset duplicates the existing TwoAdicMultiplicativeCoset in commit/src/domain, and the two structs should be merged and the coset functionality moved into the field crate.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
Plonky3__Plonky3__758 | Plonky3/Plonky3 | 758 | defect | fa4a4e29ba127758cbcf085786694853c325932f | 628e386d7ca30734c4f526dfe41dc00f058f7529 | field helpers: add unit tests | Should close https://github.com/Plonky3/Plonky3/issues/356 | diff --git a/field/src/helpers.rs b/field/src/helpers.rs
index e76810a596..50a33c3d38 100644
--- a/field/src/helpers.rs
+++ b/field/src/helpers.rs
@@ -1,9 +1,8 @@
use alloc::vec::Vec;
use core::iter::Sum;
-use core::mem::{ManuallyDrop, MaybeUninit};
+use core::mem::MaybeUninit;
use core::ops::Mul;
-use num_bigint:... | 12 | 10 | 0 | [{"id": "G0", "claim": "The `arr` initialization in `field_to_array` can avoid the unsafe `assume_init` by using `let mut arr: [_; D] = [const { MaybeUninit::uninit() }; D];`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment explaining... | null |
Plonky3__Plonky3__759 | Plonky3/Plonky3 | 759 | defect | 88d7f059500fd956a7c1eb121e08653e5974728d | 33bed48dfbdfd57eebc0921ec8284bf1f03c7f93 | fix: Missing size checks in FRI | This is not merging to `main`. This is a patch commit to branch `openvm-v1.0` that cherry-picks fix https://github.com/Plonky3/Plonky3/commit/367f76133c3e614f65e856ef21c4963237d6907d for https://github.com/Plonky3/Plonky3/security/advisories/GHSA-m23j-cj9m-ppg9 onto the commit https://github.com/Plonky3/Plonky3/commit/... | diff --git a/circle/src/pcs.rs b/circle/src/pcs.rs
index f251f3ef4c..4b56f45cee 100644
--- a/circle/src/pcs.rs
+++ b/circle/src/pcs.rs
@@ -16,6 +16,7 @@ use p3_matrix::row_index_mapped::RowIndexMappedView;
use p3_matrix::{Dimensions, Matrix};
use p3_maybe_rayon::prelude::*;
use p3_util::log2_strict_usize;
+use p3_ut... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the doc comment on `ZipEq` in util/src/zip_eq.rs, which misreads `a` abd `b` for `a` and `b` and omits the word `checked`, to read: \"Equality of the lengths of `a` and `b` are checked at construction time.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "... | null |
Plonky3__Plonky3__874 | Plonky3/Plonky3 | 874 | defect | af5cc61575bd58f8795e4c5f23e5e4137c9a7763 | 4738be7a733c94803d3012b818287677f46d039e | Extension Field Tests | Thanks to #873 I realized we were missing some tests for our extension fields.
This PR adds 3 simple tests ensuring that the extension field trait is working correctly.
Two of the tests are just directly testing methods in either ExtensionField or ExtensionPacking. The third is additionally doing some simple Galo... | diff --git a/baby-bear/src/extension_test.rs b/baby-bear/src/extension_test.rs
index 5e1386c7e8..f1375098f6 100644
--- a/baby-bear/src/extension_test.rs
+++ b/baby-bear/src/extension_test.rs
@@ -5,7 +5,7 @@ mod test_quartic_extension {
use num_bigint::BigUint;
use p3_field::extension::BinomialExtensionField;
... | 3 | 3 | 0 | [{"id": "G0", "claim": "Replace `assert_eq!(extension_elem.as_base(), None)` with `assert!(extension_elem.as_base().is_none())`, using `is_none` instead of comparing with `None`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rewrite the manual ... | null |
Plonky3__Plonky3__886 | Plonky3/Plonky3 | 886 | defect | 46590e2935136284fb86b580b152c11ca1a5c7f3 | 9c61cb33f37e0f6daa8b8edb1b07a3b77f2a398e | p3-field: more packing and cleanup | Some small cleanups in `p3-field`. The goal is to make the slice operations more uniform (serial vs parallel).
This PR could go further, and would be happy to discuss.
- make use of the slice functions in other places to benefit of packing
- move them to `PackedField` (similar to `linear_combination`)
# Detai... | diff --git a/dft/src/radix_2_small_batch.rs b/dft/src/radix_2_small_batch.rs
index f30317e8e6..6457a9caa7 100644
--- a/dft/src/radix_2_small_batch.rs
+++ b/dft/src/radix_2_small_batch.rs
@@ -4,7 +4,7 @@ use alloc::vec::Vec;
use core::cell::RefCell;
use core::iter;
-use p3_field::{Field, PackedField, PackedValue, Tw... | 4 | 4 | 2 | [{"id": "G0", "claim": "The pull request deletes the `#[inline]` attribute on `reconstitute_from_base`, apparently unintentionally, and it should be restored.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Repointing the name `scale_slice_in_place` ... | null |
Plonky3__Plonky3__891 | Plonky3/Plonky3 | 891 | defect | 1f0ee17e535c2222c61525eb447cf2cfc4001ab4 | d53e0d99a6ba086084316b164d896fea2483946a | Rename FriConfig/FriGenericConfig | Currently we have a pair of a struct and trait called `FriConfig` and `FriGenericConfig` respectively. This is reasonably confusing given that `FriConfig` does not implement `FriGenericConfig` and indeed they are encapsulating reasonably different things.
This gets more confusing as many functions involve `2` inputs... | diff --git a/circle/src/folding.rs b/circle/src/folding.rs
index c74b46bc1e..7d80279dfd 100644
--- a/circle/src/folding.rs
+++ b/circle/src/folding.rs
@@ -6,25 +6,25 @@ use itertools::Itertools;
use p3_commit::Mmcs;
use p3_field::extension::ComplexExtendable;
use p3_field::{ExtensionField, batch_multiplicative_inver... | 1 | 1 | 0 | [{"id": "G0", "claim": "The trait FriConfiguration (formerly FriGenericConfig) implements a strategy pattern for FRI folding and its name should be changed to something more appropriate such as FriFoldingStrategy or FriFolder, while the scalar-holding struct may remain FriConfig.", "category": "design", "verdict": "sup... | null |
Plonky3__Plonky3__893 | Plonky3/Plonky3 | 893 | defect | 1f0ee17e535c2222c61525eb447cf2cfc4001ab4 | 320e3f365a56a1b2ebecfce9df754aff8d695f30 | Adding comments to FRI code | Adding a large batch of comments to the Fri code both prover and verifier.
Should be essentially no code changes (outside of renaming a couple of small things), just lots and lots of comments.
Hopefully this makes it easier to follow what is going on in the code.
I've left a couple of TODO's for refactors we s... | diff --git a/fri/src/prover.rs b/fri/src/prover.rs
index b665eece9e..730c3fc2b8 100644
--- a/fri/src/prover.rs
+++ b/fri/src/prover.rs
@@ -1,11 +1,10 @@
use alloc::vec;
use alloc::vec::Vec;
-use core::iter;
use itertools::{Itertools, izip};
use p3_challenger::{CanObserve, FieldChallenger, GrindingChallenger};
us... | 12 | 12 | 1 | [{"id": "G0", "claim": "The query_proofs construction should drop the chained map/closure style for the reviewer's simpler repeat_with block that samples the index first, and the same restructure applies to the copied code in the Circle prover.", "category": "design", "verdict": "supported", "priority": "P2", "scope": ... | null |
Plonky3__Plonky3__930 | Plonky3/Plonky3 | 930 | defect | 75ba34b82bf7d9bc276d61f5ba5c988d4a4da7fa | 8fe38dbe14c346284083852ea65f5227f6e2ae20 | Replace `Copy` with `Clone` in `AirBuilder`'s `Var` | This PR aims at enabling more complex `Var`s that do not necessarily have `Copy`.
I did not notice any performance degradation on my laptop (MacBook M3). | diff --git a/air/src/air.rs b/air/src/air.rs
index f5476ba372..392b2fdef2 100644
--- a/air/src/air.rs
+++ b/air/src/air.rs
@@ -32,7 +32,7 @@ pub trait AirBuilder: Sized {
type Expr: Algebra<Self::F> + Algebra<Self::Var>;
type Var: Into<Self::Expr>
- + Copy
+ + Clone
+ Send
+ ... | 3 | 2 | 0 | [{"id": "G0", "claim": "The array-init dependency should not be added as a plain versioned dependency of keccak-air: it should be moved below the p3 dependencies and declared in the main Cargo.toml for .workspace mode — or, per the follow-up, removed entirely along with its import.", "category": "maintainability", "ver... | null |
Plonky3__Plonky3__961 | Plonky3/Plonky3 | 961 | defect | d0c4a36a0df1b49b9599cca490dc4c0fc26aa43c | ec5e402565ff313107a26ebce61912320878fec9 | Minor FRI refactor - make open input its own function | Currently the `prove_fri` and `verify_fri` functions accept, as an input, a function `open_input` which either produces (or checks in the case of the verifier) a collection of opening points of our committed matrices at a given index.
These functions are then defined as closures in `fri/src/two_adic_pcs.rs` inside t... | diff --git a/fri/src/prover.rs b/fri/src/prover.rs
index 37e8ed36ce..14f37be203 100644
--- a/fri/src/prover.rs
+++ b/fri/src/prover.rs
@@ -4,14 +4,17 @@ use core::iter;
use itertools::{Itertools, izip};
use p3_challenger::{CanObserve, FieldChallenger, GrindingChallenger};
-use p3_commit::Mmcs;
+use p3_commit::{Batc... | 4 | 3 | 0 | [{"id": "G0", "claim": "The trait method `<MyPcs as Pcs<Challenge, Challenger>>::natural_domain_for_degree` is called inside map closures on both the prover-side and verifier-side test code, and Copilot suggests hoisting the trait resolution out of the loop to avoid repeated trait-resolution overhead.", "category": "pe... | null |
Plume-org__Plume__494 | Plume-org/Plume | 494 | defect | b945d1f602aba50d2cfdc77eba0742f6e707632b | e6e2ef51a3a45246f5b89b0f1997409e73d7d79c | Centralize configuration and add some new config | Ideally, if someone could review the idea in [this comment](https://github.com/Plume-org/Plume/issues/273#issuecomment-474982184), I'd like to add the implementation to this pr too | diff --git a/plume-cli/src/main.rs b/plume-cli/src/main.rs
index 28ca7b72a..5aba00b5c 100644
--- a/plume-cli/src/main.rs
+++ b/plume-cli/src/main.rs
@@ -6,7 +6,7 @@ extern crate rpassword;
use clap::App;
use diesel::Connection;
-use plume_models::{Connection as Conn, DATABASE_URL};
+use plume_models::{Connection as... | 3 | 2 | 0 | [{"id": "G0", "claim": "The USE_HTTPS setting should be dropped and people forced to set up HTTPS, since it no longer helps local development because of CSRF.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The config module should use rocket's own Conf... | null |
Plume-org__Plume__555 | Plume-org/Plume | 555 | defect | a20d2df50aaf39ab7e40a76c074449fac44be617 | 875200b63aabebd9afe6a0de2cf87bb3510d3049 | import migrations and don't require diesel_cli for admins | this is an attempt at integrating migrations to plm, with the goal to remove need for diesel_cli, and to allow arbitrary rust in migrations (can come handy for many reasons, like need to upgrade tantivy index version due to upstream changes, without need to take special steps for sysadmins)
- [x] backbone for the fe... | diff --git a/Cargo.lock b/Cargo.lock
index 1c6357a27..cc14ce035 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -615,7 +615,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"devise_core 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.1... | 4 | 1 | 1 | [{"id": "G0", "claim": "The `[[ \"plume_macro-c53c304b7b109570\" =~ ^plume_macro ]]` test in run_unit_test.sh compares against a hardcoded literal instead of $filename, so it is always true and the script removes every test binary instead of only the plume_macro one.", "category": "correctness", "verdict": "supported",... | null |
PlusToolkit__PlusLib__736 | PlusToolkit/PlusLib | 736 | defect | fbb91a42e5a43f34560f16abbd1cb1e59d692cdb | 8bf686142336e0316eb07fc66e6f13a8fbb84e48 | ENH: Add initial support for Andor high sensitivity CCD cameras | This PR adds base support for interfacing with Andor CCD cameras. Most of the changes here made by @dzenanz
The corresponding PlusBuild changes currently live at https://github.com/dzenanz/PlusBuild and we'll make a PR for that too.
CC @dzenanz @jamesobutler @jrojasUNC can you give these changes another look? Sq... | diff --git a/src/PlusConfigure.h.in b/src/PlusConfigure.h.in
index 67ce94907..79ab98a53 100644
--- a/src/PlusConfigure.h.in
+++ b/src/PlusConfigure.h.in
@@ -105,6 +105,7 @@ typedef unsigned long int vtkMTimeType;
#cmakedefine PLUS_USE_V4L2
#cmakedefine PLUS_USE_VTKVIDEOIO_MKV
#cmakedefine PLUS_USE_INFRARED_SEEK_CAM
... | 15 | 13 | 2 | [{"id": "G0", "claim": "The device class should follow the video-device naming convention and be named vtkPlusAndorVideoSource in so-named .h/.cxx files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The shutter mode parameter, currently an int... | null |
PointCloudLibrary__pcl__3306 | PointCloudLibrary/pcl | 3,306 | defect | b2212ef2466ba734bcd675427f6d982a15fd780a | 9216c470732b97a417885bce61d3627f71c5bd56 | Fix `CropBox` with indices; add new assertions for unit tests | In order to cover the current crop box issue, I have added new pcl_tests functions. I'm not sure if you will agree with my adding so I'm waiting for your review about it.
The fix on CropBox class is pretty obvious just replace some index by (*indices_)[index]
Fixes #2922.
| diff --git a/common/include/pcl/pcl_tests.h b/common/include/pcl/pcl_tests.h
index 5b242218dd4..7d73731ab14 100644
--- a/common/include/pcl/pcl_tests.h
+++ b/common/include/pcl/pcl_tests.h
@@ -219,6 +219,52 @@ namespace pcl
return ::testing::AssertionSuccess ();
}
+
+ template<typename V>
+ ... | 7 | 4 | 0 | [{"id": "G0", "claim": "Implement the new vector assertions like the existing ones: a function that returns ::testing::AssertionResult, renamed to VectorContainsAll (without 'expect') and moved to the internal namespace, plus a pair of 'expect' and 'assert' convenience macros built on PRED_FORMAT2.", "category": "desig... | null |
PointCloudLibrary__pcl__3316 | PointCloudLibrary/pcl | 3,316 | defect | b2212ef2466ba734bcd675427f6d982a15fd780a | cd45d8e9cfae18e58fb579346d640b25a1024d7d | Add concatenate operation for `PolygonMesh` | Fixes #3311
There's a little more than `+=` and `+` operations for `PolygonMesh`. I can create a separate commit for `PointCloud` but the loc touched were relevant so I create just one PR.
I've simplified the logic a bit to use standard way of some simple operations | diff --git a/common/include/pcl/PolygonMesh.h b/common/include/pcl/PolygonMesh.h
index 8120c06a251..d6fd937a186 100644
--- a/common/include/pcl/PolygonMesh.h
+++ b/common/include/pcl/PolygonMesh.h
@@ -1,6 +1,7 @@
/* Auto-generated by genmsg_cpp for file /work/ros/pkgs-trunk/point_cloud_perception/pcl/msg/PolygonMesh.m... | 5 | 5 | 5 | [{"id": "G0", "claim": "The polygons copied over from RHS need their point indices remapped (e.g. with std::transform and back_inserter), otherwise they point into the first mesh's points.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "PCLPointCloud... | null |
PointCloudLibrary__pcl__3401 | PointCloudLibrary/pcl | 3,401 | defect | 04a8485aa9919ea1b62b5d6e2af5d49ffca1e55c | c5bbc70fc3179d899d1c5eda673d44fdf7eccbb0 | Deprecate `getFields()` with output parameter in favor of overload with return value | For `pcl::getFields<PointT>`:
* Adds a return value style function
* Deprecates the outparameter version
* Converts usage to the new version
/fixes #3380 | diff --git a/common/include/pcl/common/impl/io.hpp b/common/include/pcl/common/impl/io.hpp
index ea5b4c0e67b..19dd00043ce 100644
--- a/common/include/pcl/common/impl/io.hpp
+++ b/common/include/pcl/common/impl/io.hpp
@@ -59,7 +59,16 @@ template <typename PointT> int
pcl::getFieldIndex (const std::string &field_name,
... | 3 | 2 | 0 | [{"id": "G0", "claim": "The deprecation message should read `use getFields<PointT>() with return value instead`, since `typename decltype(cloud)::PointType` is too hard to parse, need not be a valid C++ expression, and refers to a `cloud` that does not exist here.", "category": "documentation", "verdict": "supported", ... | null |
PointCloudLibrary__pcl__3402 | PointCloudLibrary/pcl | 3,402 | defect | 04a8485aa9919ea1b62b5d6e2af5d49ffca1e55c | bed3c76908ae94db2dc288d0f33916f364bbb6c7 | Use generic detection idiom in `isFinite()` | Enhances PCL to have `isXYFinite`, `isXYZFinite`, `isNormalFinite` to handle specific cases in algorithm, not dependent on the actual type but still dependent on the contents.
Adds concepts like classes for future modernization for SFINAE.
\fixes #2664 (the concerns raised in it) | diff --git a/common/include/pcl/point_types.h b/common/include/pcl/point_types.h
index b3d1a453785..ad0dba99c0e 100644
--- a/common/include/pcl/point_types.h
+++ b/common/include/pcl/point_types.h
@@ -790,12 +790,33 @@ namespace pcl
has_field<PointT, boost::m... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new traits use virtually the same names (up to case) for different things and CamelCase for metaprogramming; the reviewer asks whether something like `enable_if_has_xyz` would be better instead.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}... | null |
PointCloudLibrary__pcl__3441 | PointCloudLibrary/pcl | 3,441 | defect | f5997d30ac7a4827c9b70895fdd5cb0f39df872f | 750d464c0d7b34eb43f978e9bbdf626157629b68 | Refactor `pcl::eigen33()` to reduce potential errors (and remove bug) | I was going through #3057 and found it hard to understand what was going on. So I refactored the code to become more legible and in the process, I inadvertently fixed the bug too.
The test cases are still in the other PR, and I haven't compiled either my changes or against the test cases yet....
Supercedes and cl... | diff --git a/common/include/pcl/common/impl/eigen.hpp b/common/include/pcl/common/impl/eigen.hpp
index cca8a3c23c2..247b4e66526 100644
--- a/common/include/pcl/common/impl/eigen.hpp
+++ b/common/include/pcl/common/impl/eigen.hpp
@@ -39,6 +39,7 @@
#ifndef PCL_COMMON_EIGEN_IMPL_HPP_
#define PCL_COMMON_EIGEN_IMPL_HPP_
... | 4 | 4 | 1 | [{"id": "G0", "claim": "The whole helper should be implemented with Eigen types: build the 3x3 matrix of cross products with the comma initializer, take a rowwise() norm reduction, and extract the largest eigenvalue and eigenvector with maxCoeff().", "category": "design", "verdict": "supported", "priority": "P2", "scop... | null |
PointCloudLibrary__pcl__3574 | PointCloudLibrary/pcl | 3,574 | defect | 88262aafc95f270e9b8ec0da814fd11351d6a62d | b6474c34ae065f23014f32a9b9e94421901725a9 | Fix indexing bug in `IntegralImageNormalEstimation` | Fix wrong indexing in IntegralImageNormalEstimation
Fixes #3573 | diff --git a/features/include/pcl/features/impl/integral_image_normal.hpp b/features/include/pcl/features/impl/integral_image_normal.hpp
index d78357ecdab..ebe5054ac30 100644
--- a/features/include/pcl/features/impl/integral_image_normal.hpp
+++ b/features/include/pcl/features/impl/integral_image_normal.hpp
@@ -1114,8 ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a small test covering the fix for #3573 so the changed behaviour is verified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Another bug exists in IntegralImageNormalEstimation (the right-hand border check) and its fix should... | null |
PointCloudLibrary__pcl__3976 | PointCloudLibrary/pcl | 3,976 | defect | ad01da9fbd4de62afd8d9f735d907f0bca9f63f1 | a15b8fa9ec2c7c3710fdf97c0b2174a7cf8162c9 | Adding tests for CropHull and using hull_cloud instead of input in getHullCloudRange | part of PR #3883 for fixup only issue #3960
resolve #3960 | diff --git a/filters/include/pcl/filters/impl/crop_hull.hpp b/filters/include/pcl/filters/impl/crop_hull.hpp
index e0ce3fe6bdb..9d606a4bf50 100644
--- a/filters/include/pcl/filters/impl/crop_hull.hpp
+++ b/filters/include/pcl/filters/impl/crop_hull.hpp
@@ -104,16 +104,19 @@ pcl::CropHull<PointT>::getHullCloudRange ()
... | 11 | 10 | 1 | [{"id": "G0", "claim": "Delete the commented-out tests that will fail (but belong to the parent PR) from the new test file.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use SetUp to generate the test data (store it in a class member) and run the check... | null |
PointCloudLibrary__pcl__4017 | PointCloudLibrary/pcl | 4,017 | defect | e6cd952fee332cfc40612e80e1a65f178257436a | 8607dc03af8ae1d19cc5a15f0d24750282d1860b | [Visualizer] Fix crashes and exceptions in `updatePointCloud()` | Setting the Cells count more explicitly seems to do the trick.
`vertices->SetCells (nr_points, cells);`
Failed to correctly identify that we changed its array/count. Maybe, one should look into this another day,
Closes #3452 | diff --git a/test/visualization/test_visualization.cpp b/test/visualization/test_visualization.cpp
index a6c4c5c6c86..9cd48adefdd 100644
--- a/test/visualization/test_visualization.cpp
+++ b/test/visualization/test_visualization.cpp
@@ -39,6 +39,7 @@
#include <pcl/test/gtest.h>
+#include <pcl/common/generate.h>
#... | 2 | 2 | 0 | [{"id": "G0", "claim": "Merge the new unit test into this pull request together with the fix (rather than landing the test separately, potentially as a failing test in master) so that it can be verified in CI here and merged once CI turns green.", "category": "process", "verdict": "supported", "priority": "P2", "scope"... | null |
PointCloudLibrary__pcl__4328 | PointCloudLibrary/pcl | 4,328 | defect | 3cb0cf4a2120a16c8527abcb366b76372fcf54ba | 14b3ceff31a8f4c1a006de45b30ace94c63f9fe9 | Fix UniformSampling filter by correcting distance calculation to voxel center | UniformSampling uses the closest point to every voxel center as the sample point. But it uses the point closest to the voxel index as the sample point in the repo.
https://github.com/PointCloudLibrary/pcl/blob/3cb0cf4a2120a16c8527abcb366b76372fcf54ba/filters/include/pcl/filters/impl/uniform_sampling.hpp#L115 | diff --git a/filters/include/pcl/filters/impl/uniform_sampling.hpp b/filters/include/pcl/filters/impl/uniform_sampling.hpp
index c08574f50e8..55a0641a44c 100644
--- a/filters/include/pcl/filters/impl/uniform_sampling.hpp
+++ b/filters/include/pcl/filters/impl/uniform_sampling.hpp
@@ -111,9 +111,11 @@ pcl::UniformSampli... | 4 | 1 | 0 | [{"id": "G0", "claim": "If the voxel center is to be used, compute it with the simpler vectorized expression (setting ijk[3] = 0.5 and taking (ijk + 0.5) * leaf_size_) instead of the component-wise constructor, and clarify whether voxel_center[3] has to be 1 or 0.", "category": "maintainability", "verdict": "supported"... | null |
PointCloudLibrary__pcl__4389 | PointCloudLibrary/pcl | 4,389 | defect | a90d982b4772ccf505d3365cd1fcf78e76f93b22 | 80d7f8a1a0e8ba3c157456dcc8781fe00b386184 | Fix application of setMinimumPointsNumberPerVoxel for PCLPointCloud2 implementation of VoxelGrid | VoxelGrid applyFilter implementation for PCLPointCloud2 wasn't applying min_points_per_voxel_, as described in this issue: https://github.com/PointCloudLibrary/pcl/issues/4388
This PR fixes the implementation of applyFilter for PCLPointCloud2 to be more similar to implementation of applyFilter for
```
template <t... | diff --git a/filters/src/voxel_grid.cpp b/filters/src/voxel_grid.cpp
index 7ad23fa7416..2ae51df635b 100644
--- a/filters/src/voxel_grid.cpp
+++ b/filters/src/voxel_grid.cpp
@@ -385,12 +385,22 @@ pcl::VoxelGrid<pcl::PCLPointCloud2>::applyFilter (PCLPointCloud2 &output)
// we need to skip all the same, adjacenent idx ... | 9 | 8 | 0 | [{"id": "G0", "claim": "The test could access the r, g and b values directly instead of reinterpret_casting the packed rgb value.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new VoxelGridMinPoints test should supply sufficient line breaks... | null |
PointCloudLibrary__pcl__5015 | PointCloudLibrary/pcl | 5,015 | defect | a39143c64d03b2906589deed3e1047e23b436124 | c1d5bacab33cc9375d8a2f86136dab2a2f0932ba | Link to specific libraries for IO, Surface and visualization. | As some vtk library polluted cuda flags with -FPIC.
I couldn't figure out which VTK library that did this, ie. to try rewrite the properties like done with the Qt libraries. | diff --git a/gpu/kinfu/CMakeLists.txt b/gpu/kinfu/CMakeLists.txt
index 8289b8ba13a..9b86018b836 100644
--- a/gpu/kinfu/CMakeLists.txt
+++ b/gpu/kinfu/CMakeLists.txt
@@ -26,11 +26,7 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURC
PCL_CUDA_ADD_LIBRARY(${LIB_NAME} COMPONENT ${SUBSYS_NA... | 6 | 5 | 1 | [{"id": "G0", "claim": "The explicit VTK library list added for pcl_io under VTK < 9 may contain libraries that are not required for pcl_io (e.g. vtkRendering), and the author should check why each is needed and drop any that do not belong.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
PointCloudLibrary__pcl__5218 | PointCloudLibrary/pcl | 5,218 | defect | 78084cf1df09fd1efd917035367592b746c2f7a3 | 1efbe7e35cf3b8f4990d4ec98bc30b9ada1e2a92 | Misc small fixes and improvements | Several small commits that seemed too small for individual PRs.
For details, see commit messages | diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
index 8bad30c50ae..d14e85b779f 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.md
+++ b/.github/ISSUE_TEMPLATE/bug-report.md
@@ -26,7 +26,7 @@ What happens instead of the expected behavior?
**To Reproduce**
-Provide a link to a... | 2 | 1 | 0 | [{"id": "G0", "claim": "The loops added in tools/compute_hausdorff.cpp should iterate the cloud directly (e.g. `for (const auto &point : cloud_a)`) instead of using the `.points` member, and in multiple places.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
PointCloudLibrary__pcl__5270 | PointCloudLibrary/pcl | 5,270 | defect | 6db82661ca1a19cabc785faf7b2d6d41b7483dcc | 457a2d3eb6ce7a36abb9a3fb4a9ef1a2a97dc658 | [sample_consensus] Fix inconsistent sample validation | Address inconsistencies in sample validation of
- [x] SampleConsensusModelLine
- [x] SampleConsensusModelCylinder
- [x] SampleConsensusModelCone
- [x] SampleConsensusModelPlane
- [x] SampleConsensusModelCircle2D
- [x] SampleConsensusModelCircle3D
- [x] ~~SampleConsensusModelStick~~ → might better be part of a fi... | diff --git a/sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp b/sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp
index 1a338671a34..e8423d2f596 100644
--- a/sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp
+++ b/sample_consensus/include/pcl/samp... | 6 | 5 | 0 | [{"id": "G0", "claim": "The error message in computeModelCoefficients should be adapted so it no longer sounds like only the number of samples is tested, and isSampleGood's failure path should get its own message (e.g. that the two sample points are (almost) the same).", "category": "documentation", "verdict": "support... | null |
PointCloudLibrary__pcl__5400 | PointCloudLibrary/pcl | 5,400 | defect | a92da8b793cda3567b89ce86b2f9ed9215e1918d | 87c98d1abf5c3a6024c8455ea7d2b78322e20b5e | Add empty point cloud support at pcd file. | write methods
* Return warning instead of error when size is 0
* Handling of 0 div
* Return an error when given a PointCloud2 class with field size of 0
PCDReder::readHeader
* Modified to use bool variable instead of value
to determine unread value of width and height
* Not to return an error when the size i... | diff --git a/io/include/pcl/io/impl/pcd_io.hpp b/io/include/pcl/io/impl/pcd_io.hpp
index b1499ffebb3..3d554221d21 100644
--- a/io/include/pcl/io/impl/pcd_io.hpp
+++ b/io/include/pcl/io/impl/pcd_io.hpp
@@ -113,8 +113,7 @@ pcl::PCDWriter::writeBinary (const std::string &file_name,
{
if (cloud.empty ())
{
- thro... | 8 | 8 | 1 | [{"id": "G0", "claim": "Use `if (compressed_size > 0)` instead of `if (compressed_size)` for the compression-success check in writeBinaryCompressed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add the same sstream failure check after reading ... | null |
PointCloudLibrary__pcl__5506 | PointCloudLibrary/pcl | 5,506 | defect | 9c0fd442699aa194f438bb41a1fbb4cfc888a3f6 | 7d6cf7bf57676b576e1623700c3800e041515438 | Use initialization list instead of ctor body (useInitializationList) | Fixes #4155 | diff --git a/apps/src/face_detection/face_trainer.cpp b/apps/src/face_detection/face_trainer.cpp
index 0bb54399f56..db6db8a7b45 100644
--- a/apps/src/face_detection/face_trainer.cpp
+++ b/apps/src/face_detection/face_trainer.cpp
@@ -25,10 +25,9 @@ main(int argc, char** argv)
pcl::console::parse_argument(argc, argv, ... | 9 | 6 | 2 | [{"id": "G0", "claim": "Asks whether values such as forest_fn, which appear both in parse_argument calls and in the struct's setters, should be removed together with the corresponding parse_argument lines, noting the author's understanding is not to remove them.", "category": "maintainability", "verdict": "opposed", "p... | null |
PointCloudLibrary__pcl__5593 | PointCloudLibrary/pcl | 5,593 | defect | 4f5dedb171c3be7da29651c0ef50fad105b8eb19 | 50efd14411e359ec9c0bf726862e0fa3c604678c | Added modernize-return-braced-init-list to clang-tidy checks | Added the [`modernize-return-braced-init-list`](https://clang.llvm.org/extra/clang-tidy/checks/modernize/return-braced-init-list.html) `clang-tidy` check | diff --git a/.clang-tidy b/.clang-tidy
index fb4b590a1b4..80625eda8a4 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -7,6 +7,7 @@ Checks: >
modernize-deprecated-headers,
modernize-redundant-void-arg,
modernize-replace-random-shuffle,
+ modernize-return-braced-init-list,
modernize-use-auto,
mo... | 3 | 3 | 0 | [{"id": "G0", "claim": "Undo the unrelated reformatting (spacing/style) changes in io/src/openni2_grabber.cpp, which bloat the clang-tidy PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an explanatory comment saying why linting (modernize... | null |
PointCloudLibrary__pcl__5690 | PointCloudLibrary/pcl | 5,690 | defect | f523d942a31bba77dbdf539eb23ca8c2801ed38c | c012d57f9f298deaa2cb7fef45e2cc2ce2086895 | Add computeCentroidAndOBB function |
/** \brief Compute centroid, OBB, PCA axes of a given set of points.
* OBB is oriented like the three axes (major, middle and minor) with
* major_axis = obb_rotational_matrix.col(0)
* middle_axis = obb_rotational_matrix.col(1)
* minor_axis = obb_rotational_matrix.col(2)
* one way to visualize OBB w... | diff --git a/common/include/pcl/common/centroid.h b/common/include/pcl/common/centroid.h
index 0f456f16b4b..a4df2575a74 100644
--- a/common/include/pcl/common/centroid.h
+++ b/common/include/pcl/common/centroid.h
@@ -589,6 +589,61 @@ namespace pcl
return (computeCovarianceMatrix<PointT, double> (cloud, indices, co... | 13 | 10 | 0 | [{"id": "G0", "claim": "Use Eigen's vec1.cross(vec2) instead of the hand-written cross product, and add a comment explaining why this is done.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be a good idea to try using an Eigen affine tr... | null |
PointCloudLibrary__pcl__5767 | PointCloudLibrary/pcl | 5,767 | defect | 6bb70d68cabd9f9177966b097891b62e4d6fbf9f | 3a60d23d328dcf8f63b9373947948064eb61bbff | Improve PPFRegistration | - add function getBestPoseCandidates to have access to all pose candidates, not just the one with the most votes
- use ceil instead of floor, otherwise the accumulator_array can be too small in some cases
- do not only use the single highest peak from accumulator array, but use more peaks if they have similarly many ... | diff --git a/registration/include/pcl/registration/impl/ppf_registration.hpp b/registration/include/pcl/registration/impl/ppf_registration.hpp
index 18c5855605d..24c431acccc 100644
--- a/registration/include/pcl/registration/impl/ppf_registration.hpp
+++ b/registration/include/pcl/registration/impl/ppf_registration.hpp... | 1 | 1 | 0 | [{"id": "G0", "claim": "Most of the variables in the peak-selection block of computeTransformation could be declared const.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PointCloudLibrary__pcl__5780 | PointCloudLibrary/pcl | 5,780 | defect | 233bec8f524f1316aaa80a8eed2314df2c3bedfc | 90c7900002f624aec353c7478b692f5711985566 | Modify FlannSearch to return Indices of Point Cloud (issue #5774) | FlannSearch was returning, in the radiusSearch and nearestKSearch, the Indices of the Indices passed, which is inconsistent with the other search classes. This solves issue #5774.
I'm just opening the PR to start the discussion on this change. I'm still trying to understand and run the tests. As said, though, the... | diff --git a/search/include/pcl/search/flann_search.h b/search/include/pcl/search/flann_search.h
index e3461988feb..9aa0b38f8fe 100644
--- a/search/include/pcl/search/flann_search.h
+++ b/search/include/pcl/search/flann_search.h
@@ -363,6 +363,8 @@ namespace pcl
Indices index_mapping_;
bool identity_m... | 3 | 3 | 2 | [{"id": "G0", "claim": "Extend test/search/test_search.cpp to cover FlannSearch the same way KdTree is covered, so the change is exercised in CI.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When k exceeds the number of points in the index, FlannSearc... | null |
PointCloudLibrary__pcl__5942 | PointCloudLibrary/pcl | 5,942 | defect | 910ccc61737612daad06e11fc79e51540d6480fc | 5852265c029268254c7931a02f02113194cfe357 | VoxelGridOcclusionEstimation should always round down to go from coordinates to voxel indices. | Fixes #5941 | diff --git a/filters/include/pcl/filters/impl/voxel_grid_occlusion_estimation.hpp b/filters/include/pcl/filters/impl/voxel_grid_occlusion_estimation.hpp
index 63fac68a267..80f7cf501ac 100644
--- a/filters/include/pcl/filters/impl/voxel_grid_occlusion_estimation.hpp
+++ b/filters/include/pcl/filters/impl/voxel_grid_occl... | 3 | 2 | 2 | [{"id": "G0", "claim": "When computing the ray entry point `start`, `t_min` should be adapted with the epsilon guard (as done at the first rayTraversal site), because numerical errors can place the entry voxel outside the bounding box; mvieth asked for the fix and then pinpointed the second rayTraversal overload at lin... | null |
PointCloudLibrary__pcl__6389 | PointCloudLibrary/pcl | 6,389 | defect | 8dd410058f7acfd825e078dd9ef078677ebd929c | 693541277badacfad38615b637ade98ec03e5e44 | Add multithread support to boundary estimation | Fixes #6387 | diff --git a/features/include/pcl/features/boundary.h b/features/include/pcl/features/boundary.h
index a56be0abf13..b6be217b2bc 100644
--- a/features/include/pcl/features/boundary.h
+++ b/features/include/pcl/features/boundary.h
@@ -164,7 +164,20 @@ namespace pcl
u = p_coeff_v.cross3 (v);
}
+ /**... | 5 | 4 | 2 | [{"id": "G0", "claim": "The PCL_DEBUG and PCL_WARN messages in setNumberOfThreads incorrectly reference \"NormalEstimationOMP::setNumberOfThreads\" instead of \"BoundaryEstimation::setNumberOfThreads\", which is confusing when debugging or when users see the warning.", "category": "documentation", "verdict": "supported... | null |
PokemonGoF__PokemonGo-Bot__1523 | PokemonGoF/PokemonGo-Bot | 1,523 | defect | ee9e32cd6c413a1e04b1286a1df37e4f27d9b871 | 5f8449639712007f4e22e5e9a565ff90265b4497 | Event system for logs and web socket communication | # **THE EVENT SYSTEM!**
**ATTENTION:** This pull request implements the system only, but doesn't use it and the system is subject to changes before being used!
**DISCLAIMER:** The objective of this system is to provide an easy way to log messages (properly using the `logging` module, because we're grown ups) and to s... | diff --git a/configs/config.json.example b/configs/config.json.example
index 2aeb3f9193..04716c3323 100644
--- a/configs/config.json.example
+++ b/configs/config.json.example
@@ -6,6 +6,7 @@
"gmapkey": "GOOGLE_MAPS_API_KEY",
"max_steps": 5,
"catch_pokemon": true,
+ "websocket_server": false,
"spi... | 6 | 2 | 1 | [{"id": "G0", "claim": "The _setup_event_system method should be placed lower in pokemongo_bot/__init__.py.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The manual socketio-client.py script should be turned into a unit test that runs automatic... | null |
PokemonGoF__PokemonGo-Bot__1682 | PokemonGoF/PokemonGo-Bot | 1,682 | defect | dc2fa60b14cd7be1ed689de509e1d32ba63aa4fe | 0cb77868879bdecb91cc63d0fe41f8d9716ee90b | [DEV FEATURE] Test framework .... beginning | Short Description:
Trying to add unit testing. So it's a draft for now, I just used ApiWrapper as an example to show you what I've done and get feedbacks. And more importantly, should I continue with this style ?
I added a .travis.yml entry, I'm not sure if it is going to work, let's see
| diff --git a/.travis.yml b/.travis.yml
index 34e5a3e0e6..e673e7c618 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,4 +12,4 @@ install:
- pip install pylint
script:
- python pylint-recursive.py
- - python -m unittest discover -s pokemongo_bot -p "*_test.py"
+ - python run_tests.py
diff --git a/CONTRIBUTORS.m... | 5 | 5 | 1 | [{"id": "G0", "claim": "StepWalker silently stays in place (does not step at all) when the requested distance is too big, and a RuntimeError should be added to StepWalker to catch such unintended use.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": ... | null |
PokemonGoF__PokemonGo-Bot__2244 | PokemonGoF/PokemonGo-Bot | 2,244 | defect | bdf2e7d9cc0b2fa5fb04bb9dc4f9f09f967cd9ea | 7901b40234a5c7aa6ee15b334a5f2c59e5670d66 | Refactor evolve_all worker | Short Description:
Refactor of the evolve_all task
Fixes:
- Remove transfer of evolved pokemon (should be handle by transfer task)
- Add order_by config flag to choose to evolve by iv or cp (default: cp)
- Add evolve_iv_min as threshold for evolve by iv (order by cp under threshold)
- Fix _validate_config not called... | diff --git a/configs/config.json.cluster.example b/configs/config.json.cluster.example
index a1df5cdedc..5613061a84 100644
--- a/configs/config.json.cluster.example
+++ b/configs/config.json.cluster.example
@@ -21,12 +21,15 @@
"type": "TransferPokemon"
},
{
- "type": "EvolveAll",
+ ... | 6 | 2 | 2 | [{"id": "G0", "claim": "With the reported settings (evolve_all 'all', order_by 'iv', evolve_iv_min 0.8, use_lucky_egg false) the task does not work as expected, and an example config for the new options should be added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
PokemonGoF__PokemonGo-Bot__3417 | PokemonGoF/PokemonGo-Bot | 3,417 | defect | 01bc14de0543196de6688dc6bd560739db59fd14 | 61783322276806d7b0d7665a0d96478349d0c724 | Give the possibility to disable a task | We can now disable a task from the config file.
Add `enabled` true by default in base task class
| diff --git a/configs/config.json.example b/configs/config.json.example
index 08c844218c..eee4e06320 100644
--- a/configs/config.json.example
+++ b/configs/config.json.example
@@ -7,23 +7,35 @@
"libencrypt_location": "",
"tasks": [
{
- "type": "HandleSoftBan"
+ "type": "HandleSoftBan",
+ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The example config should not add the enabled config block to every task because it is clutter and looks required; instead show one other task with enabled false as the example.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
PokemonGoF__PokemonGo-Bot__3455 | PokemonGoF/PokemonGo-Bot | 3,455 | defect | 0c3c4c004d5081b91ffe278850d1b1821e4f63b4 | 7f19afb518ed5de714ae7730460745e77612b263 | Better inventory: attacks & movesets, IV CP perfection, pokemon level, etc.. | ## Short Description:
Added information about attacks and movesets to the new inventory system.
Also added more metrics and info for pokemons.
## Explanation:
1. New static helpers added: **FastAttacks**, **ChargedAttacks**, **LevelToCPm**
2. New instance classes added:
- **Attack**, **ChargedAttack**: Informati... | diff --git a/.gitignore b/.gitignore
index 4721ce0253..06973c1249 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,6 +100,7 @@ share/
# PyCharm IDE settings
.idea/
+*.iml
# Personal load details
src/
diff --git a/data/level_to_cpm.json b/data/level_to_cpm.json
new file mode 100644
index 0000000000..d2483d9a41
-... | 5 | 4 | 4 | [{"id": "G0", "claim": "Tests should be added for the new inventory logic so it is verified and future breakages can be caught.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The static CPM values in level_to_cpm.json should not be used; cp_multiplier a... | null |
PokemonGoF__PokemonGo-Bot__3467 | PokemonGoF/PokemonGo-Bot | 3,467 | defect | 01bc14de0543196de6688dc6bd560739db59fd14 | 8fb7a89629f48caa9e08a55c0b0840332bf8390a | UpdateTitleStats -> UpdateLiveStats, new stat, refactoring | ## Short Description:
After https://github.com/PokemonGoF/PokemonGo-Bot/pull/3312 was merged, the worker's name wasn't appropriate anymore.
He's now called `UpdateLiveStats`.
I also made some refactoring, unit tests and added a new stat to display (`captures_per_hour`, as requested in https://github.com/PokemonGoF/Pok... | diff --git a/pokemongo_bot/cell_workers/__init__.py b/pokemongo_bot/cell_workers/__init__.py
index 68d181947a..7933425b63 100644
--- a/pokemongo_bot/cell_workers/__init__.py
+++ b/pokemongo_bot/cell_workers/__init__.py
@@ -17,4 +17,4 @@
from collect_level_up_reward import CollectLevelUpReward
from follow_cluster impo... | 5 | 2 | 0 | [{"id": "G0", "claim": "The task should stop early (skip the tick) when both terminal_log and terminal_title are false, so users can keep it in their config without slowing the bot when nothing is required.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "cl... | null |
PokemonGoF__PokemonGo-Bot__3912 | PokemonGoF/PokemonGo-Bot | 3,912 | defect | d6c5bb32865bc70ab804005c968e8ef608a3d6ab | 76c047a7efbfe80e66c8d7023205046d6dcf8174 | Gps noise | ## Short Description:
Simulates GPS noise. The random walk at StepWalker has growing variance at the expected potision (what is partly slowing down the bot.)
This way, the variance is guaranteed to be within the expected range (because it is not accumulating the noise).
- Polyline should replicate a human better with ... | diff --git a/pokecli.py b/pokecli.py
index 064c87c9ba..8adba555bc 100644
--- a/pokecli.py
+++ b/pokecli.py
@@ -465,6 +465,24 @@ def _json_loader(filename):
type=float,
default=1
)
+ add_config(
+ parser,
+ load,
+ short_flag="-rgn",
+ long_flag="--replicate_gps_nois... | 4 | 4 | 1 | [{"id": "G0", "claim": "The documented default for gps_noise_range is wrong: the help text says 0.00025 but the code sets default=True.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because the noise values are effectively identical on every reques... | null |
PokemonGoF__PokemonGo-Bot__4589 | PokemonGoF/PokemonGo-Bot | 4,589 | defect | b4835edcb18cfe3710836b0eec4a769efdaae471 | 969791dbea0d25b91c5d9687c864b014d0e0544b | Gurzeh 4553 | ## Short Description:
As current_level_xp is not available in API, we put hard coded values in matrix xp_per_level and referred to it to calculate accurate stats.
## Details
at any level, level_stats should show (like the app):
XP earned at the current level / XP to pass next level
in fact, level_apps shows (XP pre... | diff --git a/pokemongo_bot/cell_workers/update_live_stats.py b/pokemongo_bot/cell_workers/update_live_stats.py
index f7ae1877e6..b903244c47 100644
--- a/pokemongo_bot/cell_workers/update_live_stats.py
+++ b/pokemongo_bot/cell_workers/update_live_stats.py
@@ -172,8 +172,14 @@ def _update_title(self, title, platform):
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The hardcoded xp_per_level values are opaque: how is the data structured and is there any pattern to read it by?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "tests/update_live_stats_test.py must be updated to match the ... | null |
PokemonGoF__PokemonGo-Bot__4724 | PokemonGoF/PokemonGo-Bot | 4,724 | defect | 36e66ddd0b58748b07ed54d8ec5ad97d5777e211 | a0938b721482e33d421681254eef21fd46142418 | Delay task logs | ## Short Description:
I just wanted to find a way to put a delay between each "moving_to_fort" log.
The implementation is bit more generic to allow easily setup a delay for other worker too.
I know that this is not a needed stuff, and probably useless
But, hey ! I'm python beginner, just having fun :P
```
{
... | diff --git a/configs/config.json.example b/configs/config.json.example
index 29256ebea5..c756d0c9e4 100644
--- a/configs/config.json.example
+++ b/configs/config.json.example
@@ -169,7 +169,8 @@
"enabled": true,
"lure_attraction": true,
"lure_max_distance": 2000,
- "walker":... | 3 | 3 | 1 | [{"id": "G0", "claim": "The config key `log_delay` is misleadingly named - a reader takes it to mean that log output is delayed from showing, when it actually sets the minimum interval between repeated task logs - and should be renamed to clearer wording such as `log_interval`.", "category": "design", "verdict": "suppo... | null |
PokemonGoF__PokemonGo-Bot__4938 | PokemonGoF/PokemonGo-Bot | 4,938 | defect | 5858a02435e19ffb9b3641f24cea0d6c0a43c1be | 71522e9dba43c4f04c4dd295bce8c5ee0f2036dc | Add experimental pokemon upgrade (power-up) logic | Add experimental pokemon upgrade (power-up) logic
Add upgrade cost data file
| diff --git a/configs/config.json.optimizer.example b/configs/config.json.optimizer.example
index 3005ebbd80..c08bed77c2 100644
--- a/configs/config.json.optimizer.example
+++ b/configs/config.json.optimizer.example
@@ -13,34 +13,39 @@
"evolve_only_with_lucky_egg": false,
"evolve_count_for_lucky_egg": 80,
... | 3 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks why the upgrade-cost data repeats entries like [1, 200] instead of going [1, 200], [2, 200] per level.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The level added to level_to_cpm.json makes test_levels_to_c... | null |
PokemonGoF__PokemonGo-Bot__5147 | PokemonGoF/PokemonGo-Bot | 5,147 | defect | 83c154645da127e0d061f93a2d073ee1423e7e3d | 2edd135b0396b87ae0d236f14bc208f2ce8f0682 | Improve humanize walking variance | - Account for bearing when adding in walking "sway"
- We now only sway "left" and "right" as we head towards our destination
| diff --git a/pokemongo_bot/human_behaviour.py b/pokemongo_bot/human_behaviour.py
index 0e0f7c5faf..56382ccff0 100644
--- a/pokemongo_bot/human_behaviour.py
+++ b/pokemongo_bot/human_behaviour.py
@@ -24,6 +24,9 @@ def random_lat_long_delta():
# Return random value from [-.000025, .000025]. Since 364,000 feet is equ... | 10 | 10 | 7 | [{"id": "G0", "claim": "random_lat_long_delta2 takes a bearing parameter but never uses it, so the variance calculation does not actually change with the bearing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With `import math` replacing `from math... | null |
PokemonGoF__PokemonGo-Bot__5382 | PokemonGoF/PokemonGo-Bot | 5,382 | defect | 5a4e4841b775088b9f9d170f1872fcbca1170b76 | c821b4d3bdebadcab121b2c12f29232b57b023ce | Bug fix on FollowPath, MoveToFort and PolylineGenerator | - Fix a crash with PolylineGenerator when speed is zero
- Fix a bug in FollowPath that think destination is reached each time we walk one step of a Polyline
- Fix FollowPath and MoveToFort tasks not returning RUNNING when they are actually the ones dictating the position.
Should fix issues users are having when they p... | diff --git a/pokemongo_bot/cell_workers/follow_path.py b/pokemongo_bot/cell_workers/follow_path.py
index 91f113de52..adf7513b43 100644
--- a/pokemongo_bot/cell_workers/follow_path.py
+++ b/pokemongo_bot/cell_workers/follow_path.py
@@ -141,7 +141,7 @@ def work(self):
return WorkerResult.SUCCESS
i... | 3 | 2 | 2 | [{"id": "G0", "claim": "Making MoveToFort return WorkerResult.RUNNING bypasses tasks configured after it and assumes a task order (e.g. CatchPokemon after MoveToFort would never run), so movement control should not depend on task order — the reviewer questioned the design and the author proposed a bot-wide move_lock va... | null |
PokemonGoF__PokemonGo-Bot__5591 | PokemonGoF/PokemonGo-Bot | 5,591 | defect | 7124d1514f8c876443798344eac876b8cae1d5db | b8b7e6fcfec6ccec72dc2096ddb366a243bac401 | Avoid task init if task is disabled | ## Description
Disable task initialization if task is disabled in its config.
## Closes
#5501
| diff --git a/pokemongo_bot/base_task.py b/pokemongo_bot/base_task.py
index 151b9006a5..fb99ac5c3a 100644
--- a/pokemongo_bot/base_task.py
+++ b/pokemongo_bot/base_task.py
@@ -16,9 +16,11 @@ def __init__(self, bot, config):
"""
self.bot = bot
self.config = config
+ self.enabled = config.get('enabled', ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The disabled-task check should not be implemented as a blanket early-return in BaseTask.__init__ — base-class logic there can cause unexpected behaviour and stops initialize() being called so tasks cannot customize their disabled handling; the check belongs in tree_config_builder instead.", "cat... | null |
Polkadex-Substrate__Polkadex__798 | Polkadex-Substrate/Polkadex | 798 | defect | 89584dba7af6bd53696fcdae50df0003c0d6ed40 | 96c712d59dfcc96839f47ba53ffc883e833ee13a | Iv thea benchmarks | ## Describe your changes
Thea pallet benchmarks implementation and weights integration for extrinsics;
## Checklist before requesting a review
- [x] I have performed a self-review of my code.
- [x] If it is a core feature, I have added thorough tests.
- [x] I removed all Clippy and Formatting Warnings.
- [x]... | diff --git a/pallets/thea/src/benchmarking.rs b/pallets/thea/src/benchmarking.rs
new file mode 100644
index 000000000..1a67f9a42
--- /dev/null
+++ b/pallets/thea/src/benchmarking.rs
@@ -0,0 +1,109 @@
+// This file is part of Polkadex.
+//
+// Copyright (c) 2022-2023 Polkadex oü.
+// SPDX-License-Identifier: GPL-3.0-or-... | 3 | 3 | 0 | [{"id": "G0", "claim": "Restore the removed copyright/license header blocks in the autogenerated weights files (pallets/liquidity/src/weights.rs, pallets/ocex/src/weights.rs and pallets/rewards/src/weights.rs), since substrate's autogenerated weights files carry copyrights.", "category": "maintainability", "verdict": "... | null |
Polprzewodnikowy__N64FlashcartMenu__114 | Polprzewodnikowy/N64FlashcartMenu | 114 | defect | 7fa60f4253c638cf5cf4cdf4b904e1bd17e5a658 | b373c60b322fd0b6fe38e33f6028c13925d4e176 | Update save type labels to use unambigous units | <!--- Provide a general summary of your changes in the Title above -->
## Description
Prefer `kbit` and `Mbit` instead of ambiguous `K` for save type units
## Motivation and Context
<!--- What does this sample do? What problem does it solve? -->
<!--- If it fixes/closes/resolves an open issue, please link to t... | diff --git a/src/flashcart/64drive/64drive.c b/src/flashcart/64drive/64drive.c
index 4a23d4d2c..0fd47bef0 100644
--- a/src/flashcart/64drive/64drive.c
+++ b/src/flashcart/64drive/64drive.c
@@ -170,7 +170,7 @@ static flashcart_err_t d64_load_save (char *save_path) {
size_t save_size = f_size(&fil);
- bool is... | 2 | 1 | 0 | [{"id": "G0", "claim": "The \"SRAM 768kbit\" entry in set_save_type_context_menu should be updated similarly to the corresponding label in format_rom_save_type.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The trailing comments in the rom_info.c m... | null |
PolyhedraZK__Expander__214 | PolyhedraZK/Expander | 214 | defect | c92620ef4c22cfec515c388a9c6429873ef10f0e | 6e66702286aaa3d63c2fec1131cbb1bb5999a74b | unify serdes for circuit | cross ref https://github.com/PolyhedraZK/ExpanderCompilerCollection/pull/115
- use a unified `ExpSerdes` trait for all serialization APIs
- removed `FieldForECC`, merged API into `Field`
- implemented `PartialEq` for field equality check (and checked edge cases for 0 == MODULUS)
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e90869b18..b57f7daae 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -108,4 +108,4 @@ jobs:
run: |
cargo run --bin=gkr --release -- -t 16 -f gf2ext128
cargo run --bin=gkr --release -- -t 16 -f m... | 6 | 2 | 1 | [{"id": "G0", "claim": "The placeholder `MODULUS: U256 = U256::ZERO; // should not be used` constants added to the field implementations should be `unimplemented!()` so that any misuse fails loudly instead of silently yielding zero.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
PolyhedraZK__Expander__220 | PolyhedraZK/Expander | 220 | defect | 3b5892fe24d838daa45943730f33b53b670b364e | c8358c8cea1e9b40e515225e8f1fc86489973df7 | Shared Memory for Circuit | This PR adds the shared memory feature, allowing multiple mpi processes to share the same circuit without allocating additional memory. The program logic should be correct, but the interface may need to be refactored, and the extensive use of raw pointers may need to be minimized. Any suggestions are appreciated. | diff --git a/Cargo.lock b/Cargo.lock
index 6f786141c..f49a63830 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -476,11 +476,15 @@ version = "0.1.0"
dependencies = [
"arith",
"ark-std",
+ "bytes",
"config",
+ "config_macros",
"ethnum",
"gkr_field_config",
"log",
+ "mpi",
"mpi_config",
+ "poly_commit",
"ran... | 11 | 9 | 1 | [{"id": "G0", "claim": "The reviewer asks whether the gates in ecc_circuit.rs are being copied (and confirms in gates.rs that the PR makes Gate Copy), seeking confirmation of the copy-based handling.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The han... | null |
PolyhedraZK__Expander__223 | PolyhedraZK/Expander | 223 | defect | c92620ef4c22cfec515c388a9c6429873ef10f0e | 4bcdbb18274c23e4f703b5ed19c081f1d0c3d5e1 | PCS: Reduce excessive matrix transposes in Orion | We are attempting to reduce the number of matrix transposes in Orion down to 1, while the transpose should happen after expander code encoding, before MT commitment - eventually the transpose should happen across multiple MPI cores. | diff --git a/poly_commit/src/orion/base_field_impl.rs b/poly_commit/src/orion/base_field_impl.rs
index 91fd45026..276cb62c3 100644
--- a/poly_commit/src/orion/base_field_impl.rs
+++ b/poly_commit/src/orion/base_field_impl.rs
@@ -25,16 +25,8 @@ where
let packed_rows = row_num / ComPackF::PACK_SIZE;
assert_eq!(... | 1 | 1 | 0 | [{"id": "G0", "claim": "Allocating an additional O(N) scratch buffer to transpose in place inside the per-chunk loop of the base-field commit test is too costly.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PolyhedraZK__Expander__236 | PolyhedraZK/Expander | 236 | defect | 4d546606e21267d76171d335e168c5e82d014b67 | 3a3e6b393bed13a8e0ef78bc4ad3c62bfaf50232 | PCS: Orion MPI transpose and MPI MT opening | This PR was finalizing the purpose of "single matrix transpose during Orion commit" on MPI scale, with detailed changes as follows:
1. As previously suggested - invoking Orion commit with MPI world size > 1, a single MPI matrix transpose is invoked, detailed implementation see `mpi_utils.rs`:
* For matrix tran... | diff --git a/Cargo.lock b/Cargo.lock
index 5118d2a9e..a28c50d7a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -111,7 +111,6 @@ dependencies = [
"rand",
"raw-cpuid",
"serdes",
- "sha2",
"tynm",
]
@@ -786,7 +785,6 @@ dependencies = [
"rand",
"raw-cpuid",
"serdes",
- "sha2",
"thiserror",
"tynm",
]
@@ -... | 2 | 2 | 0 | [{"id": "G0", "claim": "Using `Into<usize>` as the bound on `ExpanderPCS::Params` is confusing; introduce a dedicated `Params` trait or add more comments explaining the bound.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `usize` newly returned by `... | null |
PolyhedraZK__Expander__300 | PolyhedraZK/Expander | 300 | defect | 76b77857ded1091aecc2f9fbf98329880b449205 | c2e8a37da99b936cf56ba5cf5b323f4bea6ec0e1 | Alignment in SharedMem | Fix a bug related to data alignment in `MPISharedMemory`, e.g. aligns `AVX512` to 64-byte storage. | diff --git a/Cargo.lock b/Cargo.lock
index 860966265..56e8bf727 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -384,6 +384,7 @@ dependencies = [
"gkr_engine",
"gkr_hashers",
"log",
+ "mersenne31",
"mpi",
"poly_commit",
"rand",
diff --git a/circuit/Cargo.toml b/circuit/Cargo.toml
index b8cbd83d3..b7bc96e69 1006... | 2 | 1 | 0 | [{"id": "G0", "claim": "Rephrase the MPISharedMemory trait documentation, which states that all types are aligned to 8 bytes, to clarify that 8 bytes is a minimum alignment and that the implementation handles types with higher alignment requirements.", "category": "documentation", "verdict": "supported", "priority": "P... | null |
PolyhedraZK__Expander__301 | PolyhedraZK/Expander | 301 | defect | 76b77857ded1091aecc2f9fbf98329880b449205 | c6f0012a02a0ca5b3345b93ee46c335f4b39c4f6 | Zf/rep field engine | This PR implements BN254xN config, which is useful if we want a single kernel to handle multiple simd. We use this feature extensively in ZKCuda, where the total size is fixed, but the number of available cores are machine-specific. For configs other than BN254, we've yet to support it in ZKCuda, and we'll merge it int... | diff --git a/arith/src/bn254.rs b/arith/src/bn254.rs
index e2c243bd4..5fe1df5c4 100644
--- a/arith/src/bn254.rs
+++ b/arith/src/bn254.rs
@@ -6,7 +6,7 @@ use crate::{ExtensionField, FFTField, Field, SimdField};
pub use halo2curves::bn256::Fr;
-const MODULUS: U256 = U256([
+pub(crate) const MODULUS: U256 = U256([
... | 8 | 3 | 2 | [{"id": "G0", "claim": "Ord::cmp for FrxN is implemented with unimplemented!, so calling the method panics at runtime and violates the Ord trait's contract.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "PartialOrd::partial_cmp for FrxN is implement... | null |
PolyhedraZK__Expander__305 | PolyhedraZK/Expander | 305 | defect | 239bf53fed90b45d4e32d38991f52e4e1e352bda | 58a253fcc6d6f96a8f9eeb8bcaf683b72c4416d0 | Allow variable-length polys in SumOfProduct Poly and PCS Claims Merging | In sumcheck for the `SumOfProduct` Poly, we required all the polynomials to have the same length. In some cases where there were smaller polynomials, we padded them to max length, and then commit, merge, and open. This worked, but were not very efficient. This PR made the following changes:
1. Allow variable-length ... | diff --git a/arith/polynomials/src/sum_of_products.rs b/arith/polynomials/src/sum_of_products.rs
index 37809115c..bace017d1 100644
--- a/arith/polynomials/src/sum_of_products.rs
+++ b/arith/polynomials/src/sum_of_products.rs
@@ -1,6 +1,6 @@
use arith::Field;
-use crate::{MultiLinearPoly, MultilinearExtension};
+use ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The manual coefficient-padding block in test_sumcheck_generic_padding_helper should be made more concise and readable by using the already-implemented `lift_to_n_vars` method from the `MutableMultilinearExtension` trait.", "category": "maintainability", "verdict": "supported", "priority": "P2", ... | null |
PolyhedraZK__Expander__59 | PolyhedraZK/Expander | 59 | defect | 2f1a5e060cb58a9a662e54404b92e1d3e1a3cc17 | 3ebc61e3e3e6dca5aff299ad768efd5defac5e6c | Minor: Criterion benchmarking on GKR hash proving | Running benchmark for a GKR (either vanilla or GKR^2) prover for proving a hashing under single threaded setting. | diff --git a/Cargo.toml b/Cargo.toml
index 208a34482..85bb6d2f3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -62,3 +62,8 @@ warp = "0.3.7"
name = "arith"
harness = false
path = "arith/benches/field.rs"
+
+[[bench]]
+name = "gkr-hashes"
+harness = false
+path = "benches/gkr_hashes.rs"
\ No newline at end of file
diff ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The two Config::new impl blocks should not be merged into one generic impl, and BN254Config is not implemented correctly - it should get its own parameters (field_size: 254, grinding_bits: 0) instead of inheriting M31's.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
PolyhedraZK__Expander__95 | PolyhedraZK/Expander | 95 | defect | fb82b2121290b21957a3ae5f944f2f76f8005ea0 | 2bad33f983279c0b0d26523b14ca579e9961a066 | refactoring field impl | the workspace now looks as follows:
```
[workspace]
members = [
"arith", # definitions of Field, Extensions, SIMDS
"arith/gf2",
"arith/gf2_128",
"arith/goldilocks",
"arith/mersenne31",
"bi-kzg"
]
```
miscs:
- changed `debug_assert` to `assert`
- fixed the minor bug with r... | diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 000000000..d5135e984
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,2 @@
+[build]
+rustflags = ["-C", "target-cpu=native"]
\ No newline at end of file
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 33a1f29df..d3be... | 1 | 1 | 1 | [{"id": "G0", "claim": "The m31.rs test file left with unresolved merge-conflict markers may not be included in CI, so these tests (base-field and SIMD field tests) could go unrun.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Polymarket__clob-client__223 | Polymarket/clob-client | 223 | defect | 0a826fd2bc727cb02d8950066934dfbdb6d05700 | b4dc459c21bf804d392be83b2e6dc018d6575dc2 | Fix incompatibilities between `Buffer.from()` and `atob()` | In #216, we switched from `Buffer.from()` to `atob()` to reduce the bundle size in browsers. This turned out to cause some regressions because these two implementations are not the same. Specifically, Node’s `Buffer.from()` is more liberal in what it accepts:
- Node’s `Buffer.from()` [parses `base64url`-encoded string... | diff --git a/.claude/settings.local.json b/.claude/settings.local.json
new file mode 100644
index 00000000..e69de29b
diff --git a/package.json b/package.json
index a9416bd5..620ac95c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@polymarket/clob-client",
"description": "Typescript c... | 4 | 2 | 2 | [{"id": "G0", "claim": "The debug console.log(base64) left in base64ToArrayBuffer pollutes console output and logs HMAC secrets to the console in production, exposing sensitive authentication credentials, and should be removed before merging.", "category": "security", "verdict": "supported", "priority": "P0", "scope": ... | null |
Polymarket__clob-client__308 | Polymarket/clob-client | 308 | defect | 51a5be1013d0a20cc203422730d79864b362cd66 | 3425639471462ea24205c2dd52e26a8b3c786cec | throw on error | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Changes core request/response behavior by optionally throwing exceptions, which can alter consumer control flow if enabled; default behavior remains unchanged.
>
> **Overview**
> Adds an opt-in `throwOnError` flag to `ClobClient` that converts API error-shaped resp... | diff --git a/README.md b/README.md
index b8be0e9b..137ceaf0 100644
--- a/README.md
+++ b/README.md
@@ -46,3 +46,32 @@ const signatureType = 1;
```
See [examples](examples/) for more information
+
+### Error Handling
+
+By default, API errors are returned as `{ error: "...", status: ... }` objects. To have the clien... | 2 | 1 | 1 | [{"id": "G0", "claim": "throwIfError passes result.statusText to the ApiError constructor, but the errorHandling function in http-helpers/index.ts never includes statusText in any returned error object, so ApiError.statusText is always undefined in practice, making it a dead field that misleads consumers.", "category":... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.