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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PANTHEONtech__lighty__855 | PANTHEONtech/lighty | 855 | defect | c578f3389f97459f2dc7d63becbdd4d13f1ce287 | 6653f475428bed90b80ef3fa7de4297822a0dd73 | Introduce BGP lighty module + app | - Bump odl dependencies to latest (needed for some bugfixes)
- Cleanup applications dependencies
- Explicitly allow java serialization of akka messages
- Introduce BGP lighty module + app
Signed-off-by: marekzatko <Marek.Zatko@pantheon.tech> | diff --git a/lighty-applications/lighty-bgp-app/pom.xml b/lighty-applications/lighty-bgp-app/pom.xml
new file mode 100644
index 0000000000..ac8ef20d8a
--- /dev/null
+++ b/lighty-applications/lighty-bgp-app/pom.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.... | 9 | 8 | 3 | [{"id": "G0", "claim": "The BgpModule attributes ribExtensionConsumerContext, routingPolicyFactory, codecsRegistry, tableTypeRegistryConsumer and stateCollector could be local variables instead of fields.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
PANTHEONtech__lighty__944 | PANTHEONtech/lighty | 944 | defect | 34c60c2939cba8d891c7765b13270da2b7ebcd5a | 415e4b4b26b1f390aace0ccaa63cb3b14aa76fe6 | Add Swagger unit test inside RNC Module | - Fix Smoke tests (Close resources and add missing assertions)
- Add test to Swagger API availability in RNC module
ID: 1772 | diff --git a/lighty-applications/lighty-rnc-app-aggregator/lighty-rnc-module/src/test/java/io/lighty/applications/rnc/module/SwaggerTest.java b/lighty-applications/lighty-rnc-app-aggregator/lighty-rnc-module/src/test/java/io/lighty/applications/rnc/module/SwaggerTest.java
new file mode 100644
index 0000000000..d3f73ea9... | 4 | 4 | 0 | [{"id": "G0", "claim": "The single-use getRequest(uri) convenience overload is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Field declarations should be grouped static final first, then static, then private, ... | null |
PANTHEONtech__lighty__945 | PANTHEONtech/lighty | 945 | defect | 5bd22a11fa20bc70e12957f4bbffa423e19a8274 | 9d62738a866425ee401ac4cdd90addd2478d8a9a | Clean-up in lighty JSON configuration | - Add option to describe with optional parameter `usedBy` which module in lighty requires yang model in JSON configuration.
- Remove unused yang models from JSON configuration.
- Fix SampleConfigTest in Netconf sb.
- Change order of ModuleId parameters to make it more readable.
`{ "nameSpace": "urn:opendaylight:... | diff --git a/lighty-core/lighty-common/src/main/java/io/lighty/core/common/models/ModuleId.java b/lighty-core/lighty-common/src/main/java/io/lighty/core/common/models/ModuleId.java
index 748b193cdb..14b4f32c2c 100644
--- a/lighty-core/lighty-common/src/main/java/io/lighty/core/common/models/ModuleId.java
+++ b/lighty-c... | 2 | 1 | 0 | [{"id": "G0", "claim": "Please reformulate the unclear comment describing the usedBy field, and clarify why it is a String and what value format is expected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ModuleId constructor taking XMLNam... | null |
PANTHEONtech__lighty__949 | PANTHEONtech/lighty | 949 | defect | 97ed24eb09f396547ce0a94886164c315c85cb28 | 2c53fc81909f3773af5c82d7faa56585b5f3bba0 | Fix not started JUnit test in gNMI | When in one project is used Junit4 and Junit5 than only Junit5 test will start with maven build. If in project
is already test with Junit5. Switch other tests to Junit5.
Plaintext mode stop working in gNMI after bumping grpc to higher version than 1.32.3.
https://github.com/grpc/grpc-java/releases/tag/v1.33.0
R... | diff --git a/lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/src/main/java/io/lighty/modules/gnmi/simulatordevice/impl/SimulatedGnmiDevice.java b/lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/src/main/java/io/lighty/modules/gnmi/simulatordevice/impl/SimulatedGnmiDevice.java
index 5f3d26c6f6..55246d2bc... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the new start() ordering the plaintext setting should be checked first, so that when the user chooses plaintext the provided certificatePath/keyPath are ignored (or, alternatively, an incorrect-configuration error is raised when plaintext and certificates are both given).", "category": "corre... | null |
PANTHEONtech__lighty__971 | PANTHEONtech/lighty | 971 | defect | 84713d73db00660232f66c28dc117ead54b9f8ce | 7e659f01083d3178138a136fbe1a6232447600a3 | Fix converting path to YIID in gNMI | 1) If in schemacontext is present, augmentation node with same name as searched node. It will find first augmentation node instead of searched node. For example, if in gNMI is sent update request
```bash
update {
path {
elem {
name: "openconfig-interfaces:interfaces"
}
elem {
name: "in... | diff --git a/lighty-modules/lighty-gnmi/lighty-gnmi-test/src/test/java/io/lighty/modules/gnmi/test/gnmi/SimulatorCrudTest.java b/lighty-modules/lighty-gnmi/lighty-gnmi-test/src/test/java/io/lighty/modules/gnmi/test/gnmi/SimulatorCrudTest.java
index fbdb134b81..1e619de7e8 100644
--- a/lighty-modules/lighty-gnmi/lighty-g... | 2 | 2 | 0 | [{"id": "G0", "claim": "Make the new getConfigData() test helper in SimulatorCrudTest static.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G7", "claim": "Make addAugmentationNodeToIdentifier static and build the identifier with AugmentationIdentifier.create ... | null |
PBH-BTN__trunker__64 | PBH-BTN/trunker | 64 | defect | ed43fe2432d9e311e362c9d3df9cc1e38931b27d | ca687eb0b3681d2a4fdd1e0344c2e38db75b1f21 | feat: implement XDP-based kernel-level IP filtering | Add XDP/eBPF support for high-performance IP filtering on Linux:
- Kernel-level packet dropping before reaching application layer
- Port-based filtering (only filter configured tracker ports)
- Support for both IPv4 and IPv6 addresses
- Fallback to application-layer filtering when XDP unavailable
- Configuration-d... | diff --git a/Dockerfile b/Dockerfile
index 1e3e770..9af0291 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,12 +3,23 @@ ARG COMMIT_SHA
ARG VERSION
ARG TARGETPLATFORM
WORKDIR /build
+
COPY . .
+
+# Install bpf2go for generating eBPF code
+RUN go install github.com/cilium/ebpf/cmd/bpf2go@latest
+
+# Build the applicat... | 26 | 5 | 3 | [{"id": "G0", "claim": "The Go side converts IPv4 addresses with binary.LittleEndian.Uint32 while the eBPF program looks the blocked_ipv4 key up in network byte order, so IPv4 bans silently never match (also on the RemoveIPv4/TestIPv4 lines); use binary.BigEndian.Uint32 instead.", "category": "correctness", "verdict": ... | null |
PCGen__pcgen__6050 | PCGen/pcgen | 6,050 | defect | ac12be7aeee3847f20ded2450ca90918e6b7664b | 16257b5a9cbaac87edda089310b54e7a5542839c | Refactoring Formula tests | I found some parts of the tests for the ReferenceFormulas that I thought could be improved.
Please let me know what you think. | diff --git a/code/src/java/pcgen/base/formula/MultiplyingFormula.java b/code/src/java/pcgen/base/formula/MultiplyingFormula.java
index 2f0d9805e12..da242527e2e 100644
--- a/code/src/java/pcgen/base/formula/MultiplyingFormula.java
+++ b/code/src/java/pcgen/base/formula/MultiplyingFormula.java
@@ -45,7 +45,6 @@ public Mu... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test member `f` should be given a more descriptive variable name in AddingFormulaTest, and likewise in the other formula test classes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is a whitespace inconsistency... | null |
PCGen__pcgen__6374 | PCGen/pcgen | 6,374 | defect | 467bcdc36c9cc7bbdfb8f6b6f2175a8b007046b7 | 79b1d993dbdcc90e4ca546d91352d8a7afbe7c76 | Sanitize filenames when creating them from character name | Resolves CODE-3501, which was caused by using characters from a character name which are not allowed in filenames. | diff --git a/code/src/java/pcgen/gui2/PCGenFrame.java b/code/src/java/pcgen/gui2/PCGenFrame.java
index e9592aa2b7e..b4b96091348 100644
--- a/code/src/java/pcgen/gui2/PCGenFrame.java
+++ b/code/src/java/pcgen/gui2/PCGenFrame.java
@@ -111,6 +111,7 @@
import pcgen.system.PCGenPropBundle;
import pcgen.system.PCGenSetting... | 2 | 1 | 1 | [{"id": "G0", "claim": "sanitizeFilename should check or handle a null parameter (e.g. via an explicit check or a non-null annotation) instead of letting replaceAll throw on null input.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "At both call sit... | null |
PDOK__gokoala__138 | PDOK/gokoala | 138 | defect | 8f66e650d055b22e713a97173603f8cdaf8788b2 | 2800048928991ab5d14b33b28e61745acf98e094 | Implement separate styles for each supported projection | # Omschrijving
Een omschrijving van wat je hebt toegevoegd/veranderd:
https://dev.kadaster.nl/jira/browse/PDOK-15750
## Type verandering
(Verwijder de opties die niet relevant zijn.)
- Nieuwe feature
- Verbetering oude feature
- Refactor
- Aanpassing van de configuratie
# Checklist:
- [x] Ik heb... | diff --git a/examples/config_all.yaml b/examples/config_all.yaml
index 296fb3f19..9ac1a8aca 100644
--- a/examples/config_all.yaml
+++ b/examples/config_all.yaml
@@ -49,6 +49,10 @@ ogcApi:
zoomLevelRange:
start: 12
end: 12
+ - srs: EPSG:3035
+ zoomLevelRange:
+ start: ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The backwards-compatibility code should be made clearer, in code or in a comment, explaining how it keeps existing style URLs working while a style per projection is advertised.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
PDOK__gokoala__161 | PDOK/gokoala | 161 | defect | ee1bcb6ba5c5f97f6d030d85e09d65c4582ae002 | a486f2252f8e69c53b0849f11a786570f8ec69b7 | Validate 3dgeovolumes responses (optionally) | # Omschrijving
Een omschrijving van wat je hebt toegevoegd/veranderd:
https://dev.kadaster.nl/jira/browse/PDOK-16117
## Type verandering
(Verwijder de opties die niet relevant zijn.)
- Verbetering oude feature
- Aanpassing van de configuratie
- Breaking change
# Checklist:
- [x] Ik heb de code in... | diff --git a/config/config.go b/config/config.go
index 8e0faf8c2..0d9ef18de 100644
--- a/config/config.go
+++ b/config/config.go
@@ -437,6 +437,13 @@ type OgcAPI3dGeoVolumes struct {
// Collections to be served as 3D GeoVolumes
Collections GeoSpatialCollections `yaml:"collections" json:"collections"`
+
+ // Wheth... | 2 | 2 | 1 | [{"id": "G0", "claim": "The config comment should say \"JSON responses\" instead of \"GeoJSON/JSON-FG responses\", since the validated responses are 3D Tiles or quantized mesh, not GeoJSON/JSON-FG.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
PDOK__gokoala__173 | PDOK/gokoala | 173 | defect | fbc92248519695c8c8b76c02285f858aa3b7c120 | f8dc56be13aadab2bbf0cff21f23d510fc1352ad | Various changes for WCAG compliance | # Omschrijving
Een omschrijving van wat je hebt toegevoegd/veranderd:
https://kadaster.atlassian.net/browse/PDOK-16305
## Type verandering
(Verwijder de opties die niet relevant zijn.)
- Verbetering oude feature
- Refactor
- Aanpassing van de configuratie
# Checklist:
- [x] Ik heb de code in deze... | diff --git a/assets/i18n/active.en.toml b/assets/i18n/active.en.toml
index 344bef5c5..ae219e17e 100644
--- a/assets/i18n/active.en.toml
+++ b/assets/i18n/active.en.toml
@@ -18,12 +18,16 @@ Example = "Example"
On = "on"
As = "as"
Of = "of"
+To = "Go to"
+For = "for"
# Layout frame
ToMain = "To main content"
Logo... | 4 | 3 | 1 | [{"id": "G0", "claim": "Asks why the SwitchLanguage string in the English locale file is Dutch, suggesting it may be so that Dutch users who accidentally end up in the English variant can still read it.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "\"Wi... | null |
PDOK__gokoala__256 | PDOK/gokoala | 256 | defect | 36a5d72c36cb39d5f159d8365ed2c203a43e68ae | 43479f29d1d98b3f461fa86fc4b8c8717a59cf8b | feat(html): truncate long descriptions on certain pages | # Description
On certain pages (collections overview, features overview), overly long descriptions distract from the page contents. On these pages, the descriptions are truncated. The full description remains on the collection page.
## Type of change
- New feature
# Checklist:
- [x] I've double-checked t... | diff --git a/go.mod b/go.mod
index c065ba3e7..ef5c9661e 100644
--- a/go.mod
+++ b/go.mod
@@ -38,6 +38,7 @@ require (
replace github.com/wk8/go-ordered-map/v2 v2.1.8 => github.com/rkettelerij/go-ordered-map/v2 v2.2.1
require (
+ github.com/aquilax/truncate v1.0.0
github.com/bahlo/generic-list-go v0.2.0 // indirect... | 1 | 1 | 0 | [{"id": "G0", "claim": "The aquilax/truncate dependency is not worth pulling in because the needed truncation logic is simple enough to implement directly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PDOK__gokoala__260 | PDOK/gokoala | 260 | defect | 2dc75f500e8842b9f33ada1e83a2749678a9ea66 | 96a50c4b49b78d4e4edf73e646e6f1f6942dee0d | Expand health endpoint | # Description
Previously, the `/health` endpoint would simply respond with an HTTP 200 to indicate the server is up. However, when serving vector tiles, the server may be up while the separate tileserver is down or otherwise unreachable. In this case the `/health` endpoint should not return HTTP 200. The endpoint ha... | diff --git a/README.md b/README.md
index b2d2775b9..dd83fde6d 100644
--- a/README.md
+++ b/README.md
@@ -101,9 +101,11 @@ ogcApi:
### GeoPackage requirements
GoKoala has a few requirements regarding GeoPackages backing an OGC API Features:
+
- Each feature table must contain a [RTree](https://www.geopackage.org/gu... | 5 | 3 | 0 | [{"id": "G0", "claim": "In the new README health-check paragraph, the word 'configured' can be dropped to improve the sentence structure (e.g. 'based on the deepest zoomlevel of EPSG:28992 configured (e.g., ...)').", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "... | null |
PDOK__gokoala__267 | PDOK/gokoala | 267 | defect | 5f45017ad044e4367b6105f40cf4332acec9c571 | ef1bada2491694dfe6d9fe7e3a4ff6fdc9c478ad | fix: for OGC API Tiles validator findings | # Description
- Add `tileMatrixSetLimits` to `/tiles`
- Add `tileMatrixSetURI` to `/tiles` for registered TileMatrixSets
- Correct `operationId` suffixes in `/api`
- Return HTTP 404 instead of HTTP 204 on out of bounds requests
- Add e2e-test for OGC API Tiles conformance
## Type of change
(Remove irreleva... | diff --git a/cmd/main_test.go b/cmd/main_test.go
index 075396d0f..505fb1515 100644
--- a/cmd/main_test.go
+++ b/cmd/main_test.go
@@ -130,7 +130,7 @@ func Test_newRouter(t *testing.T) {
log.Print(recorder.Body.String()) // to ease debugging
switch {
case strings.HasSuffix(tt.apiCall, "json"):
- assert.JSO... | 3 | 3 | 0 | [{"id": "G0", "claim": "The reviewer asks to drop the redundant verb prefix from the new OpenAPI operationIds — \"getTileMatrixSetsList\"/\"getTileMatrixSet\" should go (M001/M002), and for the collection-scoped operations he asks whether \"getVectorTiles\"/\"getVectorTilesMetadata\"/\"getTile\" can be removed from the... | null |
PDOK__gokoala__303 | PDOK/gokoala | 303 | defect | 071eda131ee686c4ff12981105efe2fda4146e66 | 60f2c1b1d34c253357c66947686a85d2e7012c4e | feat: implement OAF part 5, schema in openAPI spec | # Description
Advertise/enforce schema in OpenAPI spec for GeoJSON and JSON-FG properties.
## Type of change
- New feature
# Checklist:
- [ ] I've double-checked the code in this PR myself
- [ ] I've left the code better than before ([boy scout rule](https://wiki.c2.com/?BoyScoutRule))
- [ ] The code i... | diff --git a/README.md b/README.md
index 75a5e6157..d33503b51 100644
--- a/README.md
+++ b/README.md
@@ -199,7 +199,6 @@ Design principles:
of during request handling.
- Assets/templates/etc should be explicitly included in the Docker image, see COPY
commands in [Dockerfile](Dockerfile).
-- Document your changes... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo in the new Sources section of internal/engine/templates/openapi/README.md, changing _now_ to _know_.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PDOK__gokoala__397 | PDOK/gokoala | 397 | defect | d90f8e76eb09142861f1739d7471a5d38f2eff60 | 684afc2642185f1fd324ef69ccd7a60b3887b9d6 | Collection page adjustments for search collection | # Description
Some improvements on the collection page, which make the sources of the search collection more transparent
## Type of change
- Improvement of existing feature
# Checklist:
- [x] I've double-checked the code in this PR myself
- [x] I've left the code better than before ([boy scout rule](htt... | diff --git a/assets/css/gokoala.css b/assets/css/gokoala.css
index 7ece96517..e3da6c7c3 100644
--- a/assets/css/gokoala.css
+++ b/assets/css/gokoala.css
@@ -33,6 +33,12 @@
.card-header a:hover {
color: var(--secondary-color);
}
+.collapse-chevron {
+ transition: transform 0.2s ease-in-out;
+}
+a[data-bs-toggl... | 6 | 5 | 3 | [{"id": "G0", "claim": "Regular (non-remote) collections no longer get their normal blue header, and search collections that live in the same dataset are rendered with an external-link icon even though they are not external.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
PDOK__gokoala__411 | PDOK/gokoala | 411 | defect | 2423d12e5f71bf17f8b19f286e12399ec0797a0a | 8f36b448bbf8cf7efdaed0aa4a180e0c2d383193 | Converted some bool fields to pointers | # Description
_What_ have you changed and _why_?
## Type of change
(Remove irrelevant options)
- Minor change (typo, formatting, version bump)
- New feature
- Improvement of existing feature
- Bugfix
- Refactoring
- Configuration change
- Breaking change
# Checklist:
- [ ] I've double-checked th... | diff --git a/config/config_test.go b/config/config_test.go
index 4fd4a7651..7d4df1e2f 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -13,6 +13,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
+ "k8s.io/utils/ptr"
)
func init() {
@@ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly added k8s.io/utils dependency seems unnecessary for only a ptr function, so do without that lib, e.g. by putting the helper in the existing internal/engine/util package.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
PDOK__gokoala__442 | PDOK/gokoala | 442 | defect | c35cd128bfa59fd313701e1a03fb733c1f4ecd39 | dbcccbd7ad873c91c4323caf123fe92c9afb5874 | feat(config): allow for URL as thumbnail as well as full path and filename | # Description
A more flexible approach to accepting images as thumbnail, while still supporting the old way
## Type of change
- New feature
# Checklist:
- [x] I've double-checked the code in this PR myself
- [x] I've left the code better than before ([boy scout rule](https://wiki.c2.com/?BoyScoutRule)... | diff --git a/config/config.go b/config/config.go
index 4cb6acc4c..7ef32377a 100644
--- a/config/config.go
+++ b/config/config.go
@@ -4,7 +4,10 @@ package config
import (
"errors"
"fmt"
+ "net/url"
"os"
+ "path"
+ "strings"
"github.com/creasty/defaults"
"github.com/go-playground/validator/v10"
@@ -268,6 +27... | 6 | 6 | 0 | [{"id": "G0", "claim": "Don't use the package-level global var DynamicAssets; gatherDynamicAssets can return the set instead so the global variable can be removed, because a global is a risk here.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ExtractFil... | null |
PJK__libcbor__138 | PJK/libcbor | 138 | defect | e0bca14be53b00a62e682438f7b7090567ef02f3 | 421d661445092aa69c166d1b3ca6e6bf6d5c66b7 | fail stream decoding whenever the context stack size reaches a threshold | Right now this threshold is set to 255. Maybe it's better to make it a config value in configuration.h.in? | diff --git a/src/cbor/internal/builder_callbacks.c b/src/cbor/internal/builder_callbacks.c
index d6857aab..c0569cd9 100644
--- a/src/cbor/internal/builder_callbacks.c
+++ b/src/cbor/internal/builder_callbacks.c
@@ -203,7 +203,10 @@ void cbor_builder_byte_string_start_callback(void *context) {
struct _cbor_decoder_co... | 4 | 4 | 1 | [{"id": "G0", "claim": "The repeated stack-push error-handling block should be factored into a macro similar to CHECK_RES.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded 255 stack size limit should be moved to a build-time constan... | null |
PJK__libcbor__205 | PJK/libcbor | 205 | defect | 7b806bf9662b2e85ee199df88364b5e8c1073a39 | efa5c19618a77a9d9f9babeb0e2d789af960e638 | Make the buffer_size optional in cbor_serialize_alloc() | # PR: Make the buffer_size optional in cbor_serialize_alloc()
## Description
In my case I don't care exactly how many bytes were allocated, I just need the number of bytes the CBOR item serialized to.
## Checklist
- [X] I have read followed [CONTRIBUTING.md](https://github.com/PJK/libcbor/blob/master/CONTRI... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0b121751..3b5ab26a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
Next
---------------------
+- Make the buffer_size optional in `cbor_serialize_alloc` [[#205]](https://github.com/PJK/libcbor/pull/205) (by [hughsie@](https://github.com/hughsie))
0.9.0 (2... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the unused setup in test_auto_serialize_no_size (the definite array of four uint64 items that is only decref'd and never contributes to the assertion).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Build the test ... | null |
PQClean__PQClean__198 | PQClean/PQClean | 198 | defect | e7d936e24a31488e98eba94f0e15c392bff53691 | 82383c204ee34e3197facb0f683a43dde9328d61 | Add release function for AES key schedule | liboqs has several AES implementations available to it, one of which (OpenSSL EVP) requires that the key schedule be allocated on the heap and released after use. In particular it cannot be done on the stack (see https://github.com/openssl/openssl/issues/962#issuecomment-208792020). This patch adds a release function f... | diff --git a/common/aes.c b/common/aes.c
index 9533c1171..a46efcb73 100644
--- a/common/aes.c
+++ b/common/aes.c
@@ -622,3 +622,21 @@ void aes256_ctr(unsigned char *out, size_t outlen, const unsigned char *iv, cons
aes_ctr(out, outlen, iv, ctx->sk_exp, 14);
}
+#ifdef __GNUC__
+# define UNUSED(x) UNUSED_ ## x _... | 3 | 2 | 1 | [{"id": "G0", "claim": "Windows compilers reject the unused parameters of the no-op release functions as written with the UNUSED/__attribute__ macros, so the macros should be dropped and the parameters silenced with a plain `(void)r;` instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop... | null |
PQClean__PQClean__207 | PQClean/PQClean | 207 | defect | 4f19ea25d04ac89d4aa140509ff251a9ca95c006 | 6461896475ad6cd556a0ccb8a779c10867ca40f8 | Add abstract state duplication for SHA256 incremental hashing API | The SPHINCS+ SHA-256 variants do an operation where they make a copy of the hash context (state) by doing a memcpy. This doesn't work if the hash context is mapped onto an abstract pointer object, for example when mapping it on to an `EVP_MD_CTX` object in the OpenSSL EVP API like we do in liboqs (https://github.com/o... | diff --git a/common/sha2.c b/common/sha2.c
index cc42f7601..47bc62fc3 100644
--- a/common/sha2.c
+++ b/common/sha2.c
@@ -4,6 +4,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <string.h>
#include "sha2.h"
@@ -528,6 +529,10 @@ void sha512_inc_init(sha512ctx *state) {
}
}
+void sha256_inc_dupe_sta... | 3 | 2 | 1 | [{"id": "G0", "claim": "The state-duplication API should also be added for the other SHA-2 hash functions (SHA-224/384/512), which have the same problem.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The state-duplication API should tentatively also be ... | null |
PQClean__PQClean__213 | PQClean/PQClean | 213 | defect | d4b612fe9aa2d43280bd6fea9b619d4dea2c2903 | 1a27f40937d3a4ed69a0a0b37e2f8f9376015656 | Only absorb root part of pk in haraka message hashing. | <!-- This template will help you get your code into PQClean. -->
<!-- Type some lines about your submission -->
Fix to only absorb root part of the pk in the message hash of Haraka, as required in the NIST specification.
<!-- If you are not submitting a new scheme, we suggest removing the following lines -->
##... | diff --git a/crypto_sign/sphincs-haraka-128f-robust/clean/hash_haraka.c b/crypto_sign/sphincs-haraka-128f-robust/clean/hash_haraka.c
index 2c8c1fe83..5dd551f7b 100644
--- a/crypto_sign/sphincs-haraka-128f-robust/clean/hash_haraka.c
+++ b/crypto_sign/sphincs-haraka-128f-robust/clean/hash_haraka.c
@@ -72,7 +72,7 @@ void ... | 3 | 1 | 1 | [{"id": "G0", "claim": "The change to haraka message hashing alters the KAT and testvector outputs, so the META files' recorded hashes should be updated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because SPHINCS+ tests are not run in CI at the ... | null |
PQClean__PQClean__278 | PQClean/PQClean | 278 | defect | 9023fef55861faccd82146cf599b9e46fb9606aa | 35e4b0faa10c64e6e870a98b0d2bff98b283f55c | Clean up undefined behaviour | This PR:
* Fixes the undefined behaviour tests
* Enables the `-fsanitize` tests in CI (only on amd64)
* Fixes a bunch of UB, as described below.
Fix signed-integer overflow by doing a 64-bit multiplication and then casting it down.
* [x] Fix UB in Kybers
* [x] Fix UB in NTRU-HTRSS701
* [x] Fix UB in light... | diff --git a/.circleci/config.yml b/.circleci/config.yml
index 406512906..8e9a10378 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -108,6 +108,22 @@ jobs:
CC: clang
ARCH: amd64
PQCLEAN_ONLY_TYPES: kem
+ amd64-clang-sanitizers-kem:
+ <<: *nativejob
+ environment:
+ PQCLE... | 2 | 1 | 0 | [{"id": "G0", "claim": "The operands must be upcast to int32_t before the multiplication (int16_t result = (int16_t)((int32_t)a * (int32_t)b)); the PR probably does the cast on the outside instead, which would not avoid the overflowing multiplication.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
PQClean__PQClean__367 | PQClean/PQClean | 367 | defect | 168e3625988defacdf10812642e4d412fb295dc0 | ab906604589db917a4722d6fb0a1ad5897916449 | FrodoKEM: Fix bug in the output of the ct_verify function | A bug in the CCA transformation was reported on the pqc-forum on 2020-12-10:
https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/kSUKzDNc5ME
It was fixed today in https://github.com/microsoft/PQCrypto-LWEKE/commit/669522db63850fa64d1a24a47e138e80a59349db.
This PR ports that fix to PQClean.
| diff --git a/SECURITY.md b/SECURITY.md
index 9575607a6..e5beb5d70 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -24,6 +24,9 @@ Use at your own risk.
### 2019-XX-XX
-->
+### 2020-12-11
+* The fix of the timing leak in the CCA transform of FrodoKEM in [PR #303](https://github.com/PQClean/PQClean/pull/303) was ineffec... | 1 | 1 | 1 | [{"id": "G0", "claim": "The version URL in the META.yml files must be updated to reference the new upstream commit as part of this change.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
PQClean__PQClean__541 | PQClean/PQClean | 541 | defect | 1b7f6bfa63ec0c9893d2ac8160aeaafe00fdbc0a | ef149dcf635dea88340532de67d622fd59c070c1 | Add tests for variable-length signatures | <!-- This template will help you get your code into PQClean. -->
<!-- Type some lines about your submission -->
This PR adds tests for variable-length signatures, as discussed in #530.
There are two tests:
1. Fill the signature buffer with random bytes before calling the signing operation. Check to see that the... | diff --git a/test/crypto_sign/functest.c b/test/crypto_sign/functest.c
index 8850f3ba7..2f3a8dfec 100644
--- a/test/crypto_sign/functest.c
+++ b/test/crypto_sign/functest.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <valgrind/memcheck.h>
#ifndef NTESTS
#define NTESTS 5
@... | 2 | 1 | 1 | [{"id": "G0", "claim": "Hide the Valgrind-specific code (the valgrind/memcheck.h include and the VALGRIND_* calls) behind a define such as PQCLEAN_USE_VALGRIND, passed in from test_valgrind.py, instead of hard-requiring Valgrind.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
PQClean__PQClean__70 | PQClean/PQClean | 70 | defect | e74fcbecc01f4a912062a6700e00d1724a38883d | f1ad306e58e0b914f7ea16e4467be7d6733d631d | Windows tests | Runs the python testing framework on Windows.
PR is based on #68.
Closes #49 | diff --git a/.astylerc b/.astylerc
index cba802e42..21047d057 100644
--- a/.astylerc
+++ b/.astylerc
@@ -10,6 +10,5 @@
--add-braces
--convert-tabs
--mode=c
---lineend=linux
# disable backup files
--suffix=none
diff --git a/.clang-tidy b/.clang-tidy
index 9ec04c263..c871d3057 100644
--- a/.clang-tidy
+++ b/.clan... | 2 | 1 | 1 | [{"id": "G0", "claim": "Skipping the formatting test when astyle is not installed hides a broken CI: if the CI systems stop having astyle, that should surface as a failure rather than a silent skip.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ../... | null |
PQClean__PQClean__74 | PQClean/PQClean | 74 | defect | 7a36262f6a0af758a02fdc25c2e4e17c20c3b111 | 760b5926c4b49ad279105140571aa4b2d38aca02 | Add incremental API for SHAKE and SHA3 | This takes a step towards fixing #73. That issue also requires incremental SHA256, but that is less urgent; the Keccak variants suffice for most schemes. Merging this should be sufficient to move #73 to beyond 'accepting submissions.' | diff --git a/common/fips202.c b/common/fips202.c
index 66e97ae25..ceeb6a5c4 100644
--- a/common/fips202.c
+++ b/common/fips202.c
@@ -402,6 +402,157 @@ static void keccak_squeezeblocks(uint8_t *h, size_t nblocks,
}
}
+/*************************************************
+ * Name: keccak_inc_init
+ *
+ * Des... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test_fips202 target should not be added to the all target in test/Makefile.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PQClean__PQClean__75 | PQClean/PQClean | 75 | defect | 91c2fb59cf6139cb0f77fe62775da21373244945 | f0ffc5969677531270af70af51059015aec0e755 | Add incremental SHA2 | Currently we only offer SHA384 and SHA512. This adds SHA2, as well as an incremental API for all SHA2 variants. Closes #73.
It's block-level rather than byte-level (which is the case for SHA3), but that's a bit more tricky. Users of an incremental SHA2 API will likely be aware of block-level hashing anyway. | diff --git a/common/sha2.c b/common/sha2.c
index 13582c1d0..12ba35bec 100644
--- a/common/sha2.c
+++ b/common/sha2.c
@@ -7,14 +7,29 @@
#include "sha2.h"
-static uint64_t load_bigendian(const unsigned char *x) {
- return (uint64_t)(x[7]) | (((uint64_t)(x[6])) << 8) | (((uint64_t)(x[5])) << 16) |
- (((u... | 1 | 1 | 0 | [{"id": "G0", "claim": "The documentation should state that the incremental blocks are 64 bytes and point to where this is documented.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PRQL__prql__3450 | PRQL/prql | 3,450 | defect | 5b89ba79eb0ded4f3221b3d10232e4360802907c | a396c6642efcfab48d1d68d68173715828d7d2f6 | fix: Do not panic for invalid lineage in transforms | Makes the case in #3266 not panic.
But it gives a horrible error code dumping the ast? node or something like that.
Also this is essentially my first rust usage, so feel free to point out any rust things I'm doing wrong
Fixes #3266
The error with the input from the issue:
```
Error: "expected Expr { kind:... | diff --git a/crates/prql-compiler/src/semantic/resolver/transforms.rs b/crates/prql-compiler/src/semantic/resolver/transforms.rs
index b427199bf2c8..4f42b4f4e33b 100644
--- a/crates/prql-compiler/src/semantic/resolver/transforms.rs
+++ b/crates/prql-compiler/src/semantic/resolver/transforms.rs
@@ -524,8 +524,7 @@ impl ... | 4 | 4 | 0 | [{"id": "G0", "claim": "Given how bad the error message from the bare `ty_frame_or_default(body)?` is, wrap it in `map_err` so the error message points to issue #3266 for more details.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the new test into... | null |
PRQL__prql__3517 | PRQL/prql | 3,517 | defect | 67b7547b33820990eeedecf8579c32b29b9b700a | f49b209221f8d6ba3092a4a9540987dbc6d01c49 | fix!: Update case syntax to use brackets over braces | BREAKING CHANGE: This is a breaking change to case syntax.
Resolves #3462 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34984a818833..99016b355237 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
**Language**:
+- _Breaking:_ Case syntax now uses brackets `[]` rather than braces `{}`.
+
+ To convert previous PRQL queries to this new syntax simply change
+ `case { ... }` t... | 2 | 2 | 1 | [{"id": "G0", "claim": "The breaking-change changelog entry should be moved out of the section that will ship as 0.9.5 and into the 0.10.0 section.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The two case-syntax changelog entries should be cons... | null |
PRQL__prql__3883 | PRQL/prql | 3,883 | defect | 4a3e43f67fb71a9682c929f585d8efa0e1582723 | 28d7708732d188dea927cc2bb0ed5ff869ca63fa | feat: add filter based on a list of values | closes #993 | diff --git a/prqlc/prql-compiler/src/semantic/resolver/transforms.rs b/prqlc/prql-compiler/src/semantic/resolver/transforms.rs
index bd499dd8d4c6..0bbf8f87d50f 100644
--- a/prqlc/prql-compiler/src/semantic/resolver/transforms.rs
+++ b/prqlc/prql-compiler/src/semantic/resolver/transforms.rs
@@ -238,6 +238,14 @@ impl Res... | 4 | 4 | 0 | [{"id": "G0", "claim": "The in_values.insert(0, value) construction of the RqOperator args could be written more idiomatically in Rust (e.g. push/extend, concat, or an iterator chain), if the author wants.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c... | null |
PRQL__prql__3913 | PRQL/prql | 3,913 | defect | 41dbf82a6154db6c81e28af644a0fdf89c71af9a | 0261574b94ecbf55555a2216582c5722d21bb9cc | feat: add string functions in a `string` module | Continue work on #217
closes #3238
<img width="821" alt="Screenshot 2023-12-12 at 19 01 41" src="https://github.com/PRQL/prql/assets/18406791/81345019-9828-4988-b20c-ffb03c65aa3b">
| diff --git a/prqlc/prql-compiler/src/semantic/resolver/snapshots/prql_compiler__semantic__resolver__test__frames_and_names-2.snap b/prqlc/prql-compiler/src/semantic/resolver/snapshots/prql_compiler__semantic__resolver__test__frames_and_names-2.snap
index 77598841c181..a4e76496607c 100644
--- a/prqlc/prql-compiler/src/s... | 4 | 2 | 2 | [{"id": "G0", "claim": "Top-level `length` is too general a name, so eventually the string functions like `length` should live within a `string` namespace.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new `starts_with`/`contains`/`ends_with` defini... | null |
PRQL__prql__3988 | PRQL/prql | 3,988 | defect | be7dda23f30c09f7db98997afd3b6774e1be262a | e50c16fc2468723ac1a21c7b0bda32d7ce8eecfa | fix: support group with take more than 1 | fix #3986 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index dce9ecab6a99..aba59ca43b32 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,9 @@
**Fixes**:
+- Do not compile to `DISTINCT ON` when `take n` is used with `group` for the
+ targets `clickhouse`, `duckdb` and `postgres`. (@PrettyWood, #3988)
+
**Documentation**... | 2 | 2 | 1 | [{"id": "G0", "claim": "The DISTINCT ON condition treats a take range with no upper bound (take n..) as take 1, so such queries will not compile correctly.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new group_sort_limit_take_1 integration te... | null |
PRQL__prql__3989 | PRQL/prql | 3,989 | defect | be7dda23f30c09f7db98997afd3b6774e1be262a | a3e46c63a95225fb3ee0c20e1afa187e18057f12 | feat: infer array to be of type of union of items | Closes #2822
Behavior before this commit:
```
['hello', null] -> array of text, type error at second element
[false, 'hello'] -> array of bool, type error at second element
```
Behavior after:
```
['hello', null] -> array of text || null
[false, 'hello'] -> array of bool || text
``` | diff --git a/prqlc/prql-compiler/src/semantic/resolver/expr.rs b/prqlc/prql-compiler/src/semantic/resolver/expr.rs
index 1fdee7fbf0d0..103223a29d58 100644
--- a/prqlc/prql-compiler/src/semantic/resolver/expr.rs
+++ b/prqlc/prql-compiler/src/semantic/resolver/expr.rs
@@ -197,27 +197,6 @@ impl PlFold for Resolver<'_> {
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Array inference should use the union of the types of the array's items rather than their intersection.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request title should be updated and a changelog entry added.", "ca... | null |
PRQL__prql__5464 | PRQL/prql | 5,464 | defect | 17d7c513388eb0b04ec5c86af467375626e40512 | 829af57e9e3972e759d6f506d771e984076d1016 | fix(postprocess): ensure columns required by sorting are properly redirected | This is a tricky one. Basically, what happens on `main` right now is that when a sort step in a CTE uses a column that is not part of the final columns in the main pipeline, CId redirection does not work, which results on the `ORDER BY` clause being done on a column of a table that might not be available in the final s... | diff --git a/prqlc/prqlc/src/sql/pq/postprocess.rs b/prqlc/prqlc/src/sql/pq/postprocess.rs
index b6a3b2ecf7c3..169d55f3d880 100644
--- a/prqlc/prqlc/src/sql/pq/postprocess.rs
+++ b/prqlc/prqlc/src/sql/pq/postprocess.rs
@@ -10,7 +10,7 @@ use super::anchor::CidRedirector;
use super::ast::*;
use crate::ir::generic::Colu... | 2 | 1 | 0 | [{"id": "G0", "claim": "Reduce the size of the diff by testing the SQL compilation with a couple of standard inline tests instead of the full integration tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Adjust the test so that the CTE-folding new-c... | null |
PRQL__prql__5821 | PRQL/prql | 5,821 | defect | 0a494100b430debffd77c839dce02597e519ca4e | 0e4b5c0aaab0c085c0298d7b08895167922b6729 | feat: add oracle_sql dialect support | Add basic support for Oracle SQL dialect to force quotes on identifiers. | diff --git a/prqlc/bindings/elixir/lib/prql.ex b/prqlc/bindings/elixir/lib/prql.ex
index 47d756c3375c..04ed2be677cf 100644
--- a/prqlc/bindings/elixir/lib/prql.ex
+++ b/prqlc/bindings/elixir/lib/prql.ex
@@ -18,6 +18,7 @@ defmodule PRQL do
| :clickhouse
| :duckdb
| :glaredb
+ | ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `cli::test::get_targets` snapshot will fail in CI: with `#[strum(serialize_all = \"lowercase\")]` the `OracleSql` variant serializes as `oraclesql` without a separator, so the `sql.oracle_sql` line added at cli/test.rs:89 will not match, and the CLI target name also diverges from the Elixir ... | null |
PRQL__prql__5875 | PRQL/prql | 5,875 | defect | b5091abe8b11d35dc228bd70c96bc646c532cbb3 | b530fa24b3d9ccb94166c7e4a9c037473a0d6722 | fix: apply redirect correctly when resolving wildcard on `this` | The following PRQL fails compilation:
```
from albums
select { album_id, title, artist_id }
sort this.*
```
With the error:
```
Error:
╭─[ :1:1 ]
│
1 │ ╭─▶ from albums
┆ ┆
3 │ ├─▶ sort this.*
│ │
│ ╰───────────────── table instance cannot be referenced directly... | diff --git a/prqlc/prqlc/src/semantic/module.rs b/prqlc/prqlc/src/semantic/module.rs
index 08fe6fbce490..4f841bd76162 100644
--- a/prqlc/prqlc/src/semantic/module.rs
+++ b/prqlc/prqlc/src/semantic/module.rs
@@ -186,7 +186,10 @@ impl Module {
log::trace!("... following redirect {redirect}");
le... | 1 | 1 | 1 | [{"id": "G0", "claim": "CI fails on `queries::results::wildcard_this` because the new integration test is missing the `integration__queries__results__wildcard_this.snap` snapshot, which has to be committed alongside the others; project guidance also prefers small inline `insta::assert_snapshot!` tests in sql.rs over `.... | null |
PRQL__prql__5877 | PRQL/prql | 5,877 | defect | 2c0465adea29a28c7691334fb64dc001474a4796 | c7cd20114afed2d1fa2f4c0afc789069e9987861 | fix: fold exprs within tuple_map evaluation | The following PRQL fails with a panic during compilation:
```
let add_four = func a -> a + 4
from foo
select {x, y}
derive (tuple_map add_four foo.*)
```
The error is:
```
The application panicked (crashed).
Message: called `Option::unwrap()` on a `None` value
Location: prqlc/prqlc/src/semantic/reso... | diff --git a/prqlc/prqlc/src/semantic/resolver/transforms.rs b/prqlc/prqlc/src/semantic/resolver/transforms.rs
index c6a66aa62bb0..476dc5d43901 100644
--- a/prqlc/prqlc/src/semantic/resolver/transforms.rs
+++ b/prqlc/prqlc/src/semantic/resolver/transforms.rs
@@ -328,10 +328,16 @@ impl Resolver<'_> {
le... | 1 | 1 | 1 | [{"id": "G0", "claim": "Propagate the fold error with `?` instead of swallowing it: the `Err(_) => expr` fallback discards the diagnostic and re-emits the unfolded FuncCall, which may still hit the lineage-calculation panic this PR aims to prevent.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
PRQL__prql__5878 | PRQL/prql | 5,878 | defect | 2c0465adea29a28c7691334fb64dc001474a4796 | d80d9a0da8f647c0e934952ea3f0768c9fb3c8da | feat: replace tuple_every with tuple_reduce | As I was looking at the `tuple_*` functions in the std lib, I noticed that `tuple_every` is a fairly straightforward function which essentially applies an "AND" reduce operation across its single tuple-value parameter. This PR replaces that single-purpose function with `tuple_reduce`, capable of performing a reduce acr... | diff --git a/prqlc/prqlc/src/semantic/resolver/transforms.rs b/prqlc/prqlc/src/semantic/resolver/transforms.rs
index c6a66aa62bb0..1879573101be 100644
--- a/prqlc/prqlc/src/semantic/resolver/transforms.rs
+++ b/prqlc/prqlc/src/semantic/resolver/transforms.rs
@@ -303,18 +303,45 @@ impl Resolver<'_> {
.w... | 4 | 1 | 0 | [{"id": "G0", "claim": "Match on the `Literal::String` variant directly instead of rebuilding the quoted serialization via `to_string()`, which is clearer and avoids consuming `init.kind`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Using `\"... | null |
PSLmodels__Tax-Calculator__1169 | PSLmodels/Tax-Calculator | 1,169 | defect | 48653912803b03f8f662620a8cb9c449847625f5 | d416967034ac5864210e985bc0a43e4ac4b10ae9 | Current law parameter updates | This PR updates `current_law_policy.json` to reflect the latest IRS release. It address issue #1165 opened by @MattHJensen. All updates came from [this](https://www.irs.gov/uac/newsroom/in-2017-some-tax-benefits-increase-slightly-due-to-inflation-adjustments-others-are-unchanged) IRS website and the [revenue procedure]... | diff --git a/taxcalc/current_law_policy.json b/taxcalc/current_law_policy.json
index a2fea7be5..da3741f64 100644
--- a/taxcalc/current_law_policy.json
+++ b/taxcalc/current_law_policy.json
@@ -28,13 +28,15 @@
"row_label": ["2013",
"2014",
"2015",
- ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The EITC investment income limit parameter in taxcalc/current_law_policy.json should have cpi_inflated set to true instead of false.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new Growth.REAL_GDP_GROWTH_RATES values s... | null |
PSLmodels__Tax-Calculator__2588 | PSLmodels/Tax-Calculator | 2,588 | defect | a65f2c64f09620522d4fc1b325a30a040117456b | 6f64b7802152a2772ba3a890672c0b75d91e4487 | Editing policy_current_law.json to incorporate ARPA.json values | This pull request edits the policy_current_law.json file to incorporate the [ARPA.json](https://github.com/PSLmodels/examples/blob/main/psl_examples/taxcalc/ARPA.json) parameter values.
cc @jdebacker | diff --git a/taxcalc/policy_current_law.json b/taxcalc/policy_current_law.json
index 806ce7fcc..67e36e6ef 100644
--- a/taxcalc/policy_current_law.json
+++ b/taxcalc/policy_current_law.json
@@ -1271,26 +1271,51 @@
{
"year": 2026,
"MARS": "single",
- "value": ... | 4 | 4 | 4 | [{"id": "G0", "claim": "The value entry flagged in CTC_new_c should carry year 2022, not the duplicated 2013 that makes the Value objects fail to span the specified parameter space (test error).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The cac... | null |
PSLmodels__Tax-Calculator__2753 | PSLmodels/Tax-Calculator | 2,753 | defect | a81737d2d8876cf7111b80f4e6892c23c3ac7e52 | 8ab58fc2f58e2e1531741243782f84fb65c084b4 | 4.0.0 release | This PR prepares Tax-Calc 4.0.0 new version release.
please check [release.md](https://github.com/PSLmodels/Tax-Calculator/blob/ee589b9f3b907a75244cdf289e8354a048d9551c/docs/about/releases.md) file for the new features of the model. | diff --git a/docs/about/releases.md b/docs/about/releases.md
index 1677e0d7d..064f2d27b 100644
--- a/docs/about/releases.md
+++ b/docs/about/releases.md
@@ -3,6 +3,20 @@ Release history
Go [here](https://github.com/PSLmodels/Tax-Calculator/pulls?q=is%3Apr+is%3Aclosed)
for a complete commit history.
+2024-06-01 Rele... | 2 | 2 | 0 | [{"id": "G0", "claim": "\"Reframewrok\" in the 4.0.0 release note is misspelled and should be reworded, perhaps as \"Apply a new framework for the payroll...\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release note should say the last me... | null |
PSP-Archive__ARK-4__193 | PSP-Archive/ARK-4 | 193 | defect | d4f473d1d95d39be81f513cb6d9198058c93a023 | da9d1de660174de7c2085994fd8c6a92e872c329 | Systemctrl cleanup | Systemctrl cleanup now all consolidates into 1 file `common/include/systemctrl.h`
~I have only compiled successfully not actually tested on PSP.~ | diff --git a/common/include/kubridge.h b/common/include/kubridge.h
index e1fe15803..3a52a4ae1 100644
--- a/common/include/kubridge.h
+++ b/common/include/kubridge.h
@@ -10,6 +10,7 @@ extern "C"{
#include <pspkernel.h>
#include <pspsysmem_kernel.h>
#include <pspctrl.h>
+#include <psputilsforkernel.h>
#include <m... | 1 | 1 | 1 | [{"id": "G0", "claim": "Changing STMOD_HANDLER from void to int could lead to unintended results since the entire CFW is written with this function as void, so it should be changed back.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
PSeitz__wana_kana_rust__12 | PSeitz/wana_kana_rust | 12 | defect | 855b83d15d7fdadc4ff8b13377c2ae3ccf3f93f4 | bae258c419cf65135dbb37813abc152e0aa89a3d | fix #11 | Fixes #11 | diff --git a/Cargo.toml b/Cargo.toml
index 519f58d..94eee4d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,16 +13,17 @@ version = "2.1.0"
include = ["src/**/*", "LICENSE", "README.md"]
[dependencies]
-fnv = "1.0.6"
-itertools = "0.8.1"
+fnv = "1.0.7"
+itertools = {version = "0.10.5", optional = true}
lazy_static ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The previous version with an explicit early return for empty input is more readable than the single boolean expression, which requires reading the whole expression to understand what happens on empty input.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
PV-Bhat__vibe-check-mcp-server__44 | PV-Bhat/vibe-check-mcp-server | 44 | defect | 454047392edd7df0ee903e8777fc871d9ba0e8ab | a61d0e5088ddd4e747820ec1886eb0c427b98ea6 | feat(cli): add install --client claude with idempotent config merge | ## Summary
- add a `vibe-check-mcp install --client claude` command that locates Claude Desktop configs, merges a sentinel-managed entry, supports `--dry-run` diffs via the `diff` package, and creates timestamped backups for atomic updates
- extend secret resolution with an interactive `ensureEnv` helper that prioritiz... | diff --git a/README.md b/README.md
index 144ff72..e3ea0c0 100644
--- a/README.md
+++ b/README.md
@@ -155,23 +155,26 @@ docker build -t vibe-check-mcp .
docker run -e GEMINI_API_KEY=your_gemini_api_key -p 3000:3000 vibe-check-mcp
```
-### Integrating with Claude Desktop
-Add to `claude_desktop_config.json`:
-```json... | 1 | 1 | 1 | [{"id": "G0", "claim": "When a custom config path starts with `~`, expandHomePath strips only the tilde and passes the remaining absolute path to path.join, so the home directory is discarded and `~/Library/...` resolves to `/Library/...`; strip the `~/` prefix so the result stays under the user's home directory.", "ca... | null |
PV-Bhat__vibe-check-mcp-server__55 | PV-Bhat/vibe-check-mcp-server | 55 | defect | f78c4f55a6b8515442a04090ccc65826900d1cac | 86ebee8835fd27897ed32ce54ef4d6f02de70d23 | Enforce provider key validation in ensureEnv prompts | ## Summary
- add provider-specific validation rules to `ensureEnv` and include target file labels in prompts
- surface invalid provider keys immediately in both interactive and non-interactive flows
- update CLI environment tests to use valid key formats and cover retry/error scenarios
## Testing
- npx vitest run test... | diff --git a/src/cli/env.ts b/src/cli/env.ts
index 69eb33d..65f73f0 100644
--- a/src/cli/env.ts
+++ b/src/cli/env.ts
@@ -7,6 +7,25 @@ import { stdin as input, stdout as output } from 'node:process';
const { mkdir, readFile, rename, writeFile } = fsPromises;
+const PROVIDER_VALIDATIONS: Record<string, { regex: RegE... | 1 | 1 | 1 | [{"id": "G0", "claim": "ensureEnv's early return for optional keys (`if (!requiredKeys && resolved.size > 0) return { wrote: false };`) runs before validation failures recorded in invalidReasons are surfaced, so with one valid and one invalid provider key the function exits without logging the invalid value or promptin... | null |
PV-Bhat__vibe-check-mcp-server__64 | PV-Bhat/vibe-check-mcp-server | 64 | defect | 4f93f93a7d1aa8dc31400da5f2ded4abc09a5577 | 7da2376d1d99f2de65b5bd217423ee5b9c6f91ab | Improve JSON-RPC compat shim and HTTP fallback | ## Summary
- add nonce-aware JSON-RPC compatibility IDs and expose the formatter for debugging
- normalize HTTP Accept headers, force JSON responses for legacy clients, and ensure InvalidParams errors surface in discovery mode
- extend coverage for stdio/HTTP shims, clarify documentation, and record the audit in CODEX_... | diff --git a/CODEX_REPORT.md b/CODEX_REPORT.md
new file mode 100644
index 0000000..fa67c0a
--- /dev/null
+++ b/CODEX_REPORT.md
@@ -0,0 +1,24 @@
+# CODEX Report
+
+## Audit notes
+- JSON-RPC requests reach the server over both stdio and HTTP: stdio connections wrap the transport before `server.connect` and HTTP posts pa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The HTTP handler toggles the shared transport's `_enableJsonResponse` flag globally rather than per request, so a concurrent SSE request may observe the flag still enabled and get a JSON response instead of an SSE stream; consider making the flag request-scoped or restoring it before handling ot... | null |
PX4__PX4-Autopilot__21606 | PX4/PX4-Autopilot | 21,606 | defect | 599a66c8a5f33fd9e139ab950e716d0e36a3e809 | c53ef6b97681a0aee582e6ad8ae94caf4cfa5139 | RC switch improvement for mid air (re)gain/fallback | ### Solved Problem
- 1 Unexpected action regaining RC
- Valid RC with switch in position A
- RC signal lost (or RC is turned off)
- Switch is moved to position B
- RC regained after a few minutes
- trigger for switch position B is immediately executed
- 2 Unexpected action first time RC
- Vehicle fl... | diff --git a/src/lib/avoidance/ObstacleAvoidanceTest.cpp b/src/lib/avoidance/ObstacleAvoidanceTest.cpp
index 593bbabbd72..008a8758a9e 100644
--- a/src/lib/avoidance/ObstacleAvoidanceTest.cpp
+++ b/src/lib/avoidance/ObstacleAvoidanceTest.cpp
@@ -198,7 +198,6 @@ TEST_F(ObstacleAvoidanceTest, oa_desired)
// WHEN: we s... | 2 | 1 | 1 | [{"id": "G0", "claim": "The hardcoded 200_ms reschedule delay could use the COM_RC_LOSS_T parameter instead.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should be tried on the bench to confirm all the cases listed in the description."... | null |
PX4__PX4-Autopilot__21852 | PX4/PX4-Autopilot | 21,852 | defect | f120ebcdc0f2110ccfaed1bb5552365f8e679be6 | 6994eeb731e7e869ac15d41ca54b0db387901481 | Support Figure of eight loitering | <!--
Thank you for your contribution!
Get early feedback through
- Dronecode Discord: https://discord.gg/dronecode
- PX4 Discuss: http://discuss.px4.io/
- opening a draft pr and sharing the link
-->
### Solved Problem
Add support for a figure of eight loitering pattern for fixed wing vehicles (can e.g. ... | diff --git a/boards/px4/sitl/default.px4board b/boards/px4/sitl/default.px4board
index fa7276f76ea1..137aca8bb187 100644
--- a/boards/px4/sitl/default.px4board
+++ b/boards/px4/sitl/default.px4board
@@ -18,6 +18,7 @@ CONFIG_MODULES_FLIGHT_MODE_MANAGER=y
CONFIG_MODULES_FW_ATT_CONTROL=y
CONFIG_MODULES_FW_AUTOTUNE_ATTIT... | 4 | 1 | 1 | [{"id": "G0", "claim": "Gate the mavlink figure-eight code on MAVLINK_MSG_ID_FIGURE_EIGHT_EXECUTION_STATUS instead of CONFIG_FIGURE_OF_EIGHT so it builds without the development mavlink dialect, and drop CONFIG_FIGURE_OF_EIGHT or make clear it is fixed-wing with a dependency on CONFIG_MODULES_FW_POS_CONTROL.", "categor... | null |
PX4__PX4-Autopilot__23973 | PX4/PX4-Autopilot | 23,973 | defect | b492947459914bdff76c30837821244cbe4b61ae | cad4d14e1ef138fd5ca7ac418db233def4ff035e | commander: ensure health report is always sent out before failsafe notificaation | As the failsafe message can reference the health report, the health report needs to be sent out first. This is generally the case, except there is a rate limiter set to 2 seconds. So if the report changes quickly, it is sent out delayed (potentially after the failsafe report).
| diff --git a/src/modules/commander/Commander.cpp b/src/modules/commander/Commander.cpp
index cc1393b966f0..d2dd5e4c793c 100644
--- a/src/modules/commander/Commander.cpp
+++ b/src/modules/commander/Commander.cpp
@@ -716,6 +716,8 @@ Commander::Commander() :
}
updateParameters();
+
+ _failsafe.setOnNotifyUserCallbac... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `is_armed` parameter this PR adds to `Report::report()` (and threads through `reportIfUnreportedDifferences()`) is never actually used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "One of the CI failures on this pul... | null |
PX4__PX4-Autopilot__25753 | PX4/PX4-Autopilot | 25,753 | defect | 6e579cb75a349be5a7ff46932f38759168928a31 | a5b3584afc8d7560c5496a3e494983a3d7d8721f | EKF2: rotate vel on heading reset | ### Solved Problem
After a heading reset, the velocity vector was not adjusted accordingly, leading to inconsistent body-velocity behavior. For example, if a fixed-wing aircraft receives a 90° heading reset, the velocity vector remains in its original orientation. This causes the aircraft to appear to fly sideways rel... | diff --git a/src/modules/ekf2/EKF/ekf.h b/src/modules/ekf2/EKF/ekf.h
index 1a8466c96d55..80ef94b9fc6d 100644
--- a/src/modules/ekf2/EKF/ekf.h
+++ b/src/modules/ekf2/EKF/ekf.h
@@ -1019,6 +1019,7 @@ class Ekf final : public EstimatorInterface
void resetQuatStateYaw(float yaw, float yaw_variance);
void propagateQuatRe... | 2 | 1 | 0 | [{"id": "G0", "claim": "The rotation should use `_state.vel.xy()` instead of `R_yaw * Vector2f(_state.vel)` in resetHorizontalVelocityToMatchYaw.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test's comment \"// Land to allow reset on ground,... | null |
PX4__PX4-Autopilot__26268 | PX4/PX4-Autopilot | 26,268 | defect | e371c4edd916f2e18b66893233ea1f396a88652e | 7606db0c0e094d96b343d7575beb978c48a53011 | [EKF2] Clear mag fault when healthy again | ### Solved Problem
The `mag_fault` flag is set when a yaw emergency reset needed to be done. This prevents the EKF from using the mag during the whole flight and there is currently no way to clear the fault. In some cases, the incorrect heading is due to a temporary mag disturbance and it would be beneficial to restar... | diff --git a/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_control.cpp b/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_control.cpp
index d03229f7c2f9..575e1fb5679f 100644
--- a/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_control.cpp
+++ b/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_control.cpp
@@ -1... | 1 | 1 | 0 | [{"id": "G0", "claim": "The printf(\"dist bottom: %f\\n\", (double)_ekf->getHagl()); line in the new mag-fault test is a leftover from debugging and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PX4__PX4-Autopilot__26583 | PX4/PX4-Autopilot | 26,583 | defect | 4880bd5d8cb24dfb0811ac6a7c8ce77fc60abc31 | e48f212188c7d85e3c81c09262d8f3e3b57ac7f9 | fix(mathlib): correct MedianFilter comparator to satisfy strict-weak … | ## Summary
Fixes #25917
The `MedianFilter` comparator violated strict-weak ordering, producing non-deterministic medians whenever NaN values entered the sliding window. This caused observable instability in rangefinder fog detection, gyroscope calibration, GyroFFT notch selection, and RPM estimation.
## Root Cau... | diff --git a/src/lib/mathlib/math/filter/MedianFilter.hpp b/src/lib/mathlib/math/filter/MedianFilter.hpp
index b483e59e7c78..2ffd75f8a40b 100644
--- a/src/lib/mathlib/math/filter/MedianFilter.hpp
+++ b/src/lib/mathlib/math/filter/MedianFilter.hpp
@@ -44,6 +44,13 @@
#include <stdlib.h>
#include <stdint.h>
#include <s... | 5 | 5 | 1 | [{"id": "G0", "claim": "The px4_is_floating_point template declarations are manually aligned and should use single spaces only.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The non-finite comparison line lacks a space after `if` and should rea... | null |
PX4__PX4-Autopilot__26634 | PX4/PX4-Autopilot | 26,634 | defect | 16e6036536f6ac42398453b62de74aa188fd826e | 92093618e6e70e9a9c2d96c8169022810d4e375b | feat(sensors/gps): move GPS antenna offsets to per-receiver parameters | ## Summary
- Move antenna position configuration from single `EKF2_GPS_POS_X/Y/Z` params to per-receiver `SENS_GPS{0,1}_OFF{X,Y,Z}` in the sensors module
- Each offset slot is matched to a physical receiver by device ID (`SENS_GPS{0,1}_ID`), falling back to uORB instance index when no IDs are configured
- Antenna offs... | diff --git a/msg/SensorGps.msg b/msg/SensorGps.msg
index 2e94d174f344..062489b82e91 100644
--- a/msg/SensorGps.msg
+++ b/msg/SensorGps.msg
@@ -87,4 +87,8 @@ uint8 RTCM_MSG_USED_NOT_USED = 1
uint8 RTCM_MSG_USED_USED = 2
uint8 rtcm_msg_used # Indicates if the RTCM message was used successfully by the receiver
+float... | 4 | 2 | 2 | [{"id": "G0", "claim": "Replace the three added antenna_offset_x/y/z fields with a single float32 antenna_offset[3] field annotated [m] [@frame body frame FRD] [@invalid NaN If invalid/unknown].", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR must ... | null |
PackmindHub__packmind__114 | PackmindHub/packmind | 114 | defect | 4d3d76ce3333e046aaa8c58cd8c6a4c6b7aa42f2 | cb5f621f1990ea535aa3ced7f9c54ca7fee3ee24 | Fix IDOR vulnerability on target ownership validation | - Fix an IDOR vulnerability where authenticated users could
deploy packages, recipes, and standards to targets belonging to
other organizations
- Add OrganizationScopedRepository base class with SQL-level org
scoping via Target → GitRepo → GitProvider → Organization joins
- Validate target ownership in P... | diff --git a/apps/api/src/app/organizations/deployments/deployments.controller.ts b/apps/api/src/app/organizations/deployments/deployments.controller.ts
index ba9f3ce56c..d3bb5a005d 100644
--- a/apps/api/src/app/organizations/deployments/deployments.controller.ts
+++ b/apps/api/src/app/organizations/deployments/deploym... | 2 | 2 | 1 | [{"id": "G0", "claim": "The reviewer asks how findByIdsInOrganization behaves when targetIds is empty and suggests it may be worth adding a check for that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The target-ownership validation logic dup... | null |
PackmindHub__packmind__122 | PackmindHub/packmind | 122 | defect | bd5680f38b08cb69bba3dd05a90827d80c7df77a | 3beb7a8210b2eaf04491f2ee6d7f6cd7bb1734c2 | ✨ feat(standards): add 'Created by' column with user avatar | - Add createdBy field to Standard type with userId and email
- Enrich StandardRepository to fetch user info using TypeORM QueryBuilder
- Create UserAvatarWithInitials component with tooltip showing email
- Add 'Created by' column in StandardsList displaying creator avatar
- Generate consistent avatar colors based o... | diff --git a/apps/frontend/src/domain/standards/components/StandardsList.tsx b/apps/frontend/src/domain/standards/components/StandardsList.tsx
index 45724a18ed..ee66ac438d 100644
--- a/apps/frontend/src/domain/standards/components/StandardsList.tsx
+++ b/apps/frontend/src/domain/standards/components/StandardsList.tsx
@... | 4 | 4 | 1 | [{"id": "G0", "claim": "The inline createdBy shape on Standard should be dropped and Standard defined via a reusable WithCreator<T> helper (with a CreatedBy type), so the same pattern can be applied to commands, skills, packages, etc.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
PackmindHub__packmind__139 | PackmindHub/packmind | 139 | defect | 59b234241720e7abbf3d1612e6464352c729eeab | 2fc9f0a6246d5b49c35d21a8433f53adf5a3057e | Feat/cli severity exit code | ## Explanation
<!-- Describe the changes in this pull request -->
<!-- Reference any existing issue, drop the section otherwise -->
Relates to #
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Improvement/Enhancement
- [ ] Refactoring
- [ ] Documentation
- [ ] Breaking change
## Affected Co... | diff --git a/apps/cli/src/application/services/DiffViolationFilterService.spec.ts b/apps/cli/src/application/services/DiffViolationFilterService.spec.ts
index 54184ceccd..677c727abd 100644
--- a/apps/cli/src/application/services/DiffViolationFilterService.spec.ts
+++ b/apps/cli/src/application/services/DiffViolationFil... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the lint summary, the per-severity lines count files with `violations.length` (all files with any violations) instead of files containing that specific severity, so a file with errors and a file with warnings both show as \"2 file(s)\"; track file counts per severity as suggested.", "category... | null |
PackmindHub__packmind__195 | PackmindHub/packmind | 195 | defect | 3fef7517b603c033c82bdd3d274fa98b36d65e0a | 11a994453bd7b07a7e7d87176fe28c9cdabecab7 | Add .packmindignore support for CLI lint command | ## Explanation
Add support for `.packmindignore` files in the CLI lint command. This allows users to exclude additional files/folders from analysis without modifying CLI source code, similar to `.gitignore`.
The `.packmindignore` file supports:
- One pattern per line (same glob syntax as existing `ListFiles.matchesGl... | diff --git a/apps/cli/CHANGELOG.MD b/apps/cli/CHANGELOG.MD
index 5287a8a076..14237e70e5 100644
--- a/apps/cli/CHANGELOG.MD
+++ b/apps/cli/CHANGELOG.MD
@@ -2,6 +2,8 @@
## Added
+- Add `.packmindignore` file support to exclude files/folders from linting without modifying CLI source code
+
## Changed
## Fixed
dif... | 5 | 4 | 2 | [{"id": "G0", "claim": "When stopDirectory is null (outside a git repo), readIgnorePatterns walks up to the filesystem root and may collect .packmindignore patterns from unrelated ancestor directories; bound the walk to startDirectory or at least document the behaviour.", "category": "correctness", "verdict": "supporte... | null |
PackmindHub__packmind__234 | PackmindHub/packmind | 234 | defect | eb9660bea3d85ad7042c89bc1ca524212d732959 | 3ff57306cf6411d0c66caeabbd60a6f25b902753 | CLI lint supports negative globs patterns. | ## Explanation
This PR refactors the scope matching logic used for file filtering in linting operations into a dedicated, reusable utility module. The `fileMatchesTargetAndScope` and `buildEffectivePattern` functions are extracted from `LintFilesAgainstRuleUseCase` and `LintFilesFromConfigUseCase` into a new `scopeMat... | diff --git a/apps/cli/src/application/useCases/LintFilesAgainstRuleUseCase.spec.ts b/apps/cli/src/application/useCases/LintFilesAgainstRuleUseCase.spec.ts
index e4686fc4e4..c8fd68a325 100644
--- a/apps/cli/src/application/useCases/LintFilesAgainstRuleUseCase.spec.ts
+++ b/apps/cli/src/application/useCases/LintFilesAgai... | 1 | 1 | 0 | [{"id": "G0", "claim": "The negative-pattern early-return branch in buildEffectivePattern is dead code at every actual call site, since fileMatchesTargetAndScope always strips the '!' first, and the returned '!'-prefixed pattern would invert match semantics if ever passed to minimatch; remove the branch (or pass the fu... | null |
PackmindHub__packmind__46 | PackmindHub/packmind | 46 | defect | d690f530fa26e8fdb2c28838bb1e97786f8740a9 | d171f31aeb9198a4543f3846dc61b1734c8929bc | Support --status option to get overview of current installed packages locally #45 | ## Explanation
Relates to #45
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [x] Improvement/Enhancement
- [ ] Refactoring
- [ ] Documentation
- [ ] Breaking change
## Affected Components
- CLI
## Testing
- [x] Unit tests added/updated
- [x] Manual testing completed
## TODO List
-... | diff --git a/CHANGELOG.MD b/CHANGELOG.MD
index 7e841eed7b..b57e8e75a3 100644
--- a/CHANGELOG.MD
+++ b/CHANGELOG.MD
@@ -2,6 +2,8 @@
## Added
+- CLI: Add `install --status` command to display all packmind.json files and their packages in the workspace (#45)
+
## Changed
## Fixed
diff --git a/apps/cli/src/Packmin... | 2 | 2 | 0 | [{"id": "G0", "claim": "The code fence formatting in apps/doc/docs/cli.md around the install example is inconsistent and malformed (four opening backticks with 'bash', a stray '@' after the closing fence, and a four-backtick closing fence) and should use consistent triple backticks.", "category": "documentation", "verd... | null |
PaddlePaddle__FastDeploy__3521 | PaddlePaddle/FastDeploy | 3,521 | defect | c389a4013cbf596c0461b2c52a7a8a19bf2dd131 | 778ee82f8ae2a0e86e0f41ac0102f38cb14a4631 | [Feat] Support streaming transfer data using ZMQ | Support streaming transfer data using ZMQ
Already verified cases:
- mixed EP in single node (text mode without mtp)
- TP in single node (text mode without mtp)
TODO:
- accelerate the serialize and deserialize process
- adapt and verify logprob
- adapt and verify speculate decoding | diff --git a/fastdeploy/envs.py b/fastdeploy/envs.py
index 0155e260f05..a0956d6c8cf 100644
--- a/fastdeploy/envs.py
+++ b/fastdeploy/envs.py
@@ -86,6 +86,8 @@
"FD_JOB_ID": lambda: os.getenv("FD_JOB_ID"),
# support max connections
"FD_SUPPORT_MAX_CONNECTIONS": lambda: int(os.getenv("FD_SUPPORT_MAX_CONNECT... | 3 | 2 | 1 | [{"id": "G0", "claim": "The purpose of the newly added hardcoded time.sleep(3) after ZmqClient server setup is unclear (waiting for initialisation or for the connection), and a more elegant way of waiting should be used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
PaddlePaddle__FastDeploy__4086 | PaddlePaddle/FastDeploy | 4,086 | defect | 06f4b49ca377b6c90623325a8d7aebf7ae52015a | 4a33b731c16a8d1772a2649845a4ce47732f3c49 | [fix]Modify follow-up push parameters and Modify the verification method for thinking length | 1.Modify the follow-up push parameter `generated_token_ids` to `completion_token_ids`.
2.Modify the verification method for `reasoning_max_tokens` so that when `reasoning_max_tokens` exceeds `max_tokens`, its value is set equal to `max_tokens`. | diff --git a/fastdeploy/entrypoints/engine_client.py b/fastdeploy/entrypoints/engine_client.py
index 777689c7361..a082e3ac170 100644
--- a/fastdeploy/entrypoints/engine_client.py
+++ b/fastdeploy/entrypoints/engine_client.py
@@ -229,8 +229,13 @@ def valid_parameters(self, data):
raise ValueError(f"max_... | 2 | 2 | 1 | [{"id": "G0", "claim": "The processor should stop taking completion_token_ids out of request metadata and take it directly from the request instead, which requires adding the field to the request protocol and also modifying the doc file.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
PaddlePaddle__FastDeploy__4137 | PaddlePaddle/FastDeploy | 4,137 | defect | 2adca04f1f1251aea2443422a816848579137008 | 17375eb2344edca4ac1c94dfe3d6e75eb9fcd614 | [fix]update apply_chat_template | 由于PaddleFormer 升级到了0.2.3,AutoTokenizer进行了改造,直接继承了hf的AutoTokenizer,导致apply_chat_template方法的用法发生变化,适配新版本apply_chat_template方法的用法。 | diff --git a/fastdeploy/entrypoints/engine_client.py b/fastdeploy/entrypoints/engine_client.py
index b6c0008c3a7..2c73567e833 100644
--- a/fastdeploy/entrypoints/engine_client.py
+++ b/fastdeploy/entrypoints/engine_client.py
@@ -145,6 +145,9 @@ async def add_requests(self, task):
"""
task["preproces... | 3 | 3 | 1 | [{"id": "G0", "claim": "Even when chat_template_kwargs is empty or absent, chat_template and tools still need to be appended to it, but the added `if task.get(\"chat_template_kwargs\")` guard skips setting them in that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
PaddlePaddle__FastDeploy__4535 | PaddlePaddle/FastDeploy | 4,535 | defect | 429dd2b1db8372e0c70e8727edbe30de245d3178 | c6a1dbace98bb7042098e4826b0c69e963ca5580 | [Fearture] Support cache kv cache for output tokens | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/config.py b/fastdeploy/config.py
index e99d8f53109..c61bd587224 100644
--- a/fastdeploy/config.py
+++ b/fastdeploy/config.py
@@ -1230,6 +1230,7 @@ class CacheConfig:
enc_dec_block_num (int): Number of encoder-decoder blocks.
prealloc_dec_block_slot_num_threshold (int): Number o... | 5 | 4 | 3 | [{"id": "G0", "claim": "The new cache_output_tokens method only checks enable_prefix_caching and should also check enable_output_caching to be consistent with its caller in token_processor.py.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new t... | null |
PaddlePaddle__FastDeploy__4554 | PaddlePaddle/FastDeploy | 4,554 | defect | 3ce2c8f754a18ab6bc843326009c69d8fdd56624 | 40d6ddf69693959a024131d7eefadbae3eea6587 | [Feature] mm prefix cache | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/cache_manager/prefix_cache_manager.py b/fastdeploy/cache_manager/prefix_cache_manager.py
index a2dc1ce3448..4f955b0dd58 100644
--- a/fastdeploy/cache_manager/prefix_cache_manager.py
+++ b/fastdeploy/cache_manager/prefix_cache_manager.py
@@ -14,8 +14,10 @@
# limitations under the License.
"""
... | 10 | 5 | 1 | [{"id": "G0", "claim": "The Chinese comment on the block-size line in mm_build_path should be translated to English (\"# The last block may not be filled\") for maintainability in an international codebase.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
PaddlePaddle__FastDeploy__4900 | PaddlePaddle/FastDeploy | 4,900 | defect | 7b354887793de8c54b2340b0389ef0220889fb50 | 008e3b1a1b9f0a2686e755645320ba1becc59daf | [BugFix] When the value of "temperature" is 0, adjust it to 1e-06 | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/engine/engine.py b/fastdeploy/engine/engine.py
index e4c0b717ad8..77f5227a2a5 100644
--- a/fastdeploy/engine/engine.py
+++ b/fastdeploy/engine/engine.py
@@ -251,6 +251,8 @@ def add_requests(self, task, sampling_params=None, **kwargs):
request = Request.from_dict(task)
llm_logge... | 1 | 1 | 1 | [{"id": "G0", "claim": "The temperature check in add_requests should be changed to `if abs(sampling_params.temperature) < 1e-06: sampling_params.temperature = 1e-06` instead of `sampling_params.temperature == 0`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
PaddlePaddle__FastDeploy__5438 | PaddlePaddle/FastDeploy | 5,438 | defect | 80efe98f8da9fe61de70d14f532a87574ccbb713 | 0ab64f6db65c879c19899e63361e9fd0a282536a | [PD Disaggregation] Unify the disaggregation info and the pd communication | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/cache_manager/cache_messager.py b/fastdeploy/cache_manager/cache_messager.py
index 25a3b50e6e9..01f2272d087 100644
--- a/fastdeploy/cache_manager/cache_messager.py
+++ b/fastdeploy/cache_manager/cache_messager.py
@@ -282,6 +282,7 @@ def prefill_layerwise_send_cache_thread(self):
... | 12 | 3 | 0 | [{"id": "G0", "claim": "The '\"role\": \"decode\"' entry carries a contentless 'TODO: remove role' comment giving no context on why or when the role field can be removed; remove the field (as suggested) or make the TODO informative.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
PaddlePaddle__FastDeploy__5497 | PaddlePaddle/FastDeploy | 5,497 | defect | 83ea9646f902a0443ca3b760f400e498f9714100 | d5d8c7cb7a4efe172e66a907f1a5cfd20c1ab5fc | [XPU] add speculate_get_logits | ## Motivation
add speculate_get_logits
## Modifications
add speculate_get_logits
## Usage or Command
No
## Accuracy Tests
No
## Checklist
- [ ] Add at least a tag in the PR title.
- Tag list: [`[FDConfig]`,`[APIServer]`,`[Engine]`, `[Scheduler]`, `[PD Disaggregation]`, `[Executor]`, `[Grap... | diff --git a/custom_ops/xpu_ops/src/ops/mtp/speculate_get_logits.cc b/custom_ops/xpu_ops/src/ops/mtp/speculate_get_logits.cc
new file mode 100644
index 00000000000..106ac758d9d
--- /dev/null
+++ b/custom_ops/xpu_ops/src/ops/mtp/speculate_get_logits.cc
@@ -0,0 +1,77 @@
+// Copyright (c) 2025 PaddlePaddle Authors. All Ri... | 3 | 2 | 2 | [{"id": "G0", "claim": "The CPU context allocated with `new baidu::xpu::api::Context` in SpeculateGetLogits is never destroyed, which may leak memory.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The wrapper should add check validation for the inp... | null |
PaddlePaddle__FastDeploy__5769 | PaddlePaddle/FastDeploy | 5,769 | defect | 7247dc5f3acc646578f5da66f7635951d7592b75 | 981f74da373ca4065f31a50801ea071893f894ec | [Feature] Add startup version check mechanism for Paddle | ## Motivation
当FastDeploy运行环境中的Paddle版本(commit)与编译时Paddle版本不一致时,可能导致未知错误,难以诊断。本PR在FastDeploy启动时自动检查版本一致性,当检测到不匹配时输出警告。
## Modifications
### 核心实现
- **新增 `get_version_info()` 函数** (`fastdeploy/utils.py`)
- 解析 `version.txt` 返回版本信息字典(fastdeploy_commit, paddle_commit, paddle_version, cuda_version, cxx_version, fastdep... | diff --git a/fastdeploy/__init__.py b/fastdeploy/__init__.py
index 4e6343f8cfe..2feda6dddd7 100644
--- a/fastdeploy/__init__.py
+++ b/fastdeploy/__init__.py
@@ -47,7 +47,7 @@
from fastdeploy.engine.sampling_params import SamplingParams
from fastdeploy.entrypoints.llm import LLM
-from fastdeploy.utils import current... | 2 | 2 | 0 | [{"id": "G0", "claim": "The code comments and the warning log added by this pull request should be written in English instead of Chinese.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The bare `pass` statement in the except block is redundant bec... | null |
PaddlePaddle__FastDeploy__5878 | PaddlePaddle/FastDeploy | 5,878 | defect | dc13344ab89c55bde21026d6acdf6d6ac426120a | 943ffd9a6211c1e59fb5f0173685d05d05dfac2f | [XPU] move xpu_attn_backend.py to FastDeploy/fastdeploy/model_executor/layers/backends/xpu | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/layers/attention/__init__.py b/fastdeploy/model_executor/layers/attention/__init__.py
index 1ae0ef361de..c6f326a8729 100644
--- a/fastdeploy/model_executor/layers/attention/__init__.py
+++ b/fastdeploy/model_executor/layers/attention/__init__.py
@@ -23,14 +23,12 @@
from .mla_atte... | 1 | 1 | 0 | [{"id": "G0", "claim": "The moved file xpu_attn_backend.py should be named attention.py directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PaddlePaddle__FastDeploy__5879 | PaddlePaddle/FastDeploy | 5,879 | defect | ac39c0f887f9f5e093fcf78bb6edaf0135ccde38 | 77177f0cebb3341f060d7a790c6ab43047c0faac | [BugFix] fix eb5 prefix bug | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/cache_manager/prefix_cache_manager.py b/fastdeploy/cache_manager/prefix_cache_manager.py
index 91b23a29717..9c1f752a9ca 100644
--- a/fastdeploy/cache_manager/prefix_cache_manager.py
+++ b/fastdeploy/cache_manager/prefix_cache_manager.py
@@ -1422,25 +1422,24 @@ def _revert_match_blocks(
... | 2 | 1 | 1 | [{"id": "G0", "claim": "When _roll_back_block modifies the prefix tree, request.num_cached_blocks and cache_info may need to be updated too, since they represent what is actually in the tree (previously, on a full token hit, both held the full-hit values from the tree's perspective).", "category": "correctness", "verdi... | null |
PaddlePaddle__FastDeploy__6069 | PaddlePaddle/FastDeploy | 6,069 | defect | 0d372e4fb2699009be3995fa06ac47b4f4c23a2d | 760c41c2eedc69bf76051dffa361277f0c1be465 | [BugFix] Fix token_penalty kernel | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/custom_ops/gpu_ops/speculate_decoding/speculate_get_token_penalty_multi_scores.cu b/custom_ops/gpu_ops/speculate_decoding/speculate_get_token_penalty_multi_scores.cu
index 180b1ba7907..0219c36ae00 100644
--- a/custom_ops/gpu_ops/speculate_decoding/speculate_get_token_penalty_multi_scores.cu
+++ b/custom_op... | 2 | 2 | 1 | [{"id": "G0", "claim": "In token_penalty_multi_scores.cu, bad_tokens_now should be declared as const int64_t * (pointer type) instead of int64_t, since the kernel indexes it with bad_tokens_now[i] and the integer declaration would fail to compile.", "category": "correctness", "verdict": "supported", "priority": "P0", "... | null |
PaddlePaddle__FastDeploy__6070 | PaddlePaddle/FastDeploy | 6,070 | defect | c8e882f9c6c1615d064ec13ecc6e6a3f70cd014a | d599e50b9855bdbc49aafbedad43af5be8acd9ef | [Cherry-Pick][CI] Fix token_penalty kernel(#6069) | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/custom_ops/gpu_ops/speculate_decoding/speculate_get_token_penalty_multi_scores.cu b/custom_ops/gpu_ops/speculate_decoding/speculate_get_token_penalty_multi_scores.cu
index 180b1ba7907..0219c36ae00 100644
--- a/custom_ops/gpu_ops/speculate_decoding/speculate_get_token_penalty_multi_scores.cu
+++ b/custom_op... | 1 | 1 | 1 | [{"id": "G0", "claim": "The variable bad_tokens_now is declared without the pointer symbol '*', so the pointer address is assigned to an int64_t instead of a pointer type, which would cause a compile error or undefined behaviour; it should be declared as const int64_t *bad_tokens_now = bad_tokens + bi * bad_words_len."... | null |
PaddlePaddle__FastDeploy__6163 | PaddlePaddle/FastDeploy | 6,163 | defect | 955785e2e016f9baa7ff4973ce4317c758e6e636 | 6fd556797088951b62e067c6ba4e802d174ebcfe | [UT] Add GLM E2E tests for non-MTP and MTP | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/layers/moe/routing_indices_cache.py b/fastdeploy/model_executor/layers/moe/routing_indices_cache.py
index d754f54651a..13319bac59b 100644
--- a/fastdeploy/model_executor/layers/moe/routing_indices_cache.py
+++ b/fastdeploy/model_executor/layers/moe/routing_indices_cache.py
@@ -379... | 1 | 1 | 1 | [{"id": "G0", "claim": "The two GLM_45 test cases should adjust their baseline and execution-result storage path names, since the current glm45air paths conflict with the earlier single-card case; add a _tp4 suffix in the multi-card scenario to distinguish them, e.g. glm45air_tp4 and glm45air_mtp_tp4.", "category": "co... | null |
PaddlePaddle__FastDeploy__6202 | PaddlePaddle/FastDeploy | 6,202 | defect | 85db063da6b7caa006ac79decc4924799328339c | ffdae9ae43e9b9e47b36c66e85ba81870c9c16ce | [BugFix] fix cache transfer tasks failure after cache cleared | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/cache_manager/cache_transfer_manager.py b/fastdeploy/cache_manager/cache_transfer_manager.py
index 1e6fa2261fb..d5b0b74514b 100644
--- a/fastdeploy/cache_manager/cache_transfer_manager.py
+++ b/fastdeploy/cache_manager/cache_transfer_manager.py
@@ -233,6 +233,25 @@ def __init__(self, args):
... | 14 | 2 | 1 | [{"id": "G0", "claim": "Several new checks compare the prefix_tree_status_signal signal itself (or its raw .value array) against PrefixTreeStatus instead of its .value[0] element — e.g. in recv_data_transfer_result and sync_swap_task — so the status comparison does not behave as intended.", "category": "correctness", "... | null |
PaddlePaddle__FastDeploy__6339 | PaddlePaddle/FastDeploy | 6,339 | defect | 6563b8307c683198cb51cf5730894ae2b14b60ca | d6d3fdbdf9d799cb3c51d4ad905c399d57db54c2 | [Feature] console print statistical metrics | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/engine/common_engine.py b/fastdeploy/engine/common_engine.py
index d43adc1dd08..b2428ea2cfa 100644
--- a/fastdeploy/engine/common_engine.py
+++ b/fastdeploy/engine/common_engine.py
@@ -49,6 +49,7 @@
)
from fastdeploy.engine.resource_manager import ResourceManager
from fastdeploy.engine.sched.... | 2 | 2 | 0 | [{"id": "G0", "claim": "In PD-disaggregation (PD分离) scenarios the newly logged block/usage metrics may be inaccurate, and this should be looked at later.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When using local schedule scheduling, the waitin... | null |
PaddlePaddle__FastDeploy__6370 | PaddlePaddle/FastDeploy | 6,370 | defect | b84056fdaaa748be58262e67b916db1448cf7a65 | b284f8d7c0e98264b857c01958f43f88287ef73a | [Feature]Log Format Normalization and Trace Log Optimization | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/__init__.py b/fastdeploy/__init__.py
index e54957bfa51..24c454d3b73 100644
--- a/fastdeploy/__init__.py
+++ b/fastdeploy/__init__.py
@@ -14,6 +14,27 @@
# limitations under the License.
"""
+# Configure root logger first to unify log formats
+# This must be done before importing any modules t... | 2 | 2 | 0 | [{"id": "G0", "claim": "The large paddle-logger interception/configuration block is unrelated to worker_process's main function and should be moved out of worker_process.py into the logging area as a clearly documented function that worker_process only calls.", "category": "design", "verdict": "supported", "priority": ... | null |
PaddlePaddle__FastDeploy__6375 | PaddlePaddle/FastDeploy | 6,375 | defect | cae2709efffb2bf7c55be21f087f4e2fa42dad59 | e312b0174a87e09428f3fa1d21cc76bac9d77906 | [BugFix] PD reorder fix and add ut | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/docs/usage/environment_variables.md b/docs/usage/environment_variables.md
index 94b23c9865f..f2f2b2b42bd 100644
--- a/docs/usage/environment_variables.md
+++ b/docs/usage/environment_variables.md
@@ -227,5 +227,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
# Worker process health chec... | 3 | 3 | 2 | [{"id": "G0", "claim": "The reviewer asks why the PR adds a second way to enable IDs reordering - a global ENABLE_PD_REORDER env var OR-ed into the backend-capability check in _process_reorder - instead of enabling reorder on the append attention backend itself.", "category": "design", "verdict": "supported", "priority... | null |
PaddlePaddle__FastDeploy__6438 | PaddlePaddle/FastDeploy | 6,438 | defect | 83b4b082ab99de8c2093dc07aaf7b4d1e43976e7 | 1f7570a1bf5f7c8bb487a72a254df925675b4ddc | [BugFix] fix num_cpu_blocks computation | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/cache_manager/cache_transfer_manager.py b/fastdeploy/cache_manager/cache_transfer_manager.py
index ed3524ed240..78daf35d095 100644
--- a/fastdeploy/cache_manager/cache_transfer_manager.py
+++ b/fastdeploy/cache_manager/cache_transfer_manager.py
@@ -48,7 +48,7 @@
FileStore,
MooncakeStor... | 6 | 2 | 2 | [{"id": "G0", "claim": "The rewritten init log in prefix_cache_manager.py reads self.cache_config.bytes_per_token_per_layer, which would raise AttributeError at initialization on CacheConfig/stub objects that lack the attribute (e.g. the fake cache_config in tests/cache_manager/test_prefix_cache_manager.py that only pr... | null |
PaddlePaddle__FastDeploy__6457 | PaddlePaddle/FastDeploy | 6,457 | defect | e40fb16912e5086bcb3a1a4c95f9cfc56e69390e | 3db4f47cd501f221b5a1c2c8ac98e4a4fb1afffa | [Optimization] Enable BF16 gate computation for GLM and Qwen | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/config.py b/fastdeploy/config.py
index 49068366ba8..3e65871a251 100644
--- a/fastdeploy/config.py
+++ b/fastdeploy/config.py
@@ -214,6 +214,7 @@ def __init__(
self.pad_token_id: int = -1
self.eos_tokens_lens: int = 2
self.lm_head_fp32: bool = False
+ self.gate_f... | 3 | 2 | 0 | [{"id": "G0", "claim": "The --gate_fp32 argument added in worker_process.py should be spelled --gate-fp32 to be consistent with the --gate-fp32 definition in args_utils.py (argparse converts hyphens, so internal use is unaffected).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "int... | null |
PaddlePaddle__FastDeploy__6660 | PaddlePaddle/FastDeploy | 6,660 | defect | c529c2ad98cc4e44922aa7266577f2ac30331bee | ecceb52af092e80bf35b9a268c2e3cadc81657ca | [Optimization] enable trtllm_all_reduce fusion kernel in glm model | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/config.py b/fastdeploy/config.py
index b15a6dc824b..bd94bf3794e 100644
--- a/fastdeploy/config.py
+++ b/fastdeploy/config.py
@@ -671,6 +671,7 @@ def __init__(
self.pod_ip: str = None
# enable the custom all-reduce kernel and fall back to NCCL(dist.all_reduce).
self.dis... | 9 | 5 | 2 | [{"id": "G0", "claim": "Renaming the o_proj/input_layernorm/post_attention_layernorm prefixes (adding .enable_all_reduce / .enable_all_reduce_fusion) changes the generated parameter names so they no longer match the checkpoint keys, and the tensor-parallel mappings were not updated, so model weights fail to load.", "ca... | null |
PaddlePaddle__FastDeploy__6680 | PaddlePaddle/FastDeploy | 6,680 | defect | c1f7991aece25d6f147e8d08cfda3d68afed9fa5 | bf6251482c90513849629b6b48f3690837ae75e6 | [Optimization] Optimize ttft for prefill pd | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/docs/usage/environment_variables.md b/docs/usage/environment_variables.md
index dc46549e4f3..07f9dd2f144 100644
--- a/docs/usage/environment_variables.md
+++ b/docs/usage/environment_variables.md
@@ -147,9 +147,6 @@ environment_variables: dict[str, Callable[[], Any]] = {
# Whether to enable the decode... | 12 | 5 | 1 | [{"id": "G0", "claim": "The scheduler loop should use the lock-free `exist_tasks()` instead of `num_tasks()` when it only needs to know whether the queue is empty, to reduce lock contention and scheduling-thread overhead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
PaddlePaddle__FastDeploy__6697 | PaddlePaddle/FastDeploy | 6,697 | defect | 4ed483d20b679c6dd974c61a748a492cbd74b4b5 | e7d00c4efca0e989abd186c6d43a585b104f4317 | [Feature] support compute shared experts before combine for better overlap | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py b/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py
index fb48d7b82d1..f1cf9ce578b 100644
--- a/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py
+++ b/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py
@@ ... | 2 | 1 | 1 | [{"id": "G0", "claim": "In moe.py the CUDA branches of forward_split_allgather, forward_chunked_moe and forward_normal pass shared_experts unconditionally to self.quant_method.apply, which would raise TypeError for MoE quant method apply() overrides that do not accept the parameter (e.g. mxfp4.py, nvfp4.py) even when s... | null |
PaddlePaddle__FastDeploy__6718 | PaddlePaddle/FastDeploy | 6,718 | defect | 97a4b3631ea1f7f9ab2936e5fb25883519d7a4ba | c37aba6d90d79ab4969c1963bf479596f5161d19 | [PD Disaggregation][RL] Register to router with version and support rdma eager connect for pd | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/cache_manager/cache_messager.py b/fastdeploy/cache_manager/cache_messager.py
index e1e093e2012..b934c3e74c7 100644
--- a/fastdeploy/cache_manager/cache_messager.py
+++ b/fastdeploy/cache_manager/cache_messager.py
@@ -107,6 +107,8 @@ def get_decode_ip_idx(task):
"""For compatibility, get dec... | 11 | 3 | 2 | [{"id": "G0", "claim": "The new RegisterManager (heartbeat registration plus eager RDMA connect threads) has no unit test coverage, and the PR deletes the existing tests for the router registration thread without adding replacement tests; tests should be added for router-unconfigured/router-configured thread start and ... | null |
PaddlePaddle__FastDeploy__6877 | PaddlePaddle/FastDeploy | 6,877 | defect | b61731bb961aaa4d77be8cc2ea32021d4a1b2e36 | 273bf3d5220706c921af789dfc901a161d2a8431 | [Loader]add multi-thread model loading | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/config.py b/fastdeploy/config.py
index a26e694a0c4..f0ec1abed45 100644
--- a/fastdeploy/config.py
+++ b/fastdeploy/config.py
@@ -1381,6 +1381,7 @@ def __init__(
self.dynamic_load_weight: bool = False
self.load_strategy: Optional[Literal["ipc", "ipc_snapshot", "meta", "normal", ... | 10 | 4 | 2 | [{"id": "G0", "claim": "The reviewer asks whether multi-thread loading could be enabled by default and whether that would bring back the previous memory-fragmentation problem.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "DEFAULT_NUM_THREADS = 8 is a magi... | null |
PaddlePaddle__FastDeploy__7029 | PaddlePaddle/FastDeploy | 7,029 | defect | 6cff780fdbfe8131008d30adb965c43ab8372c6c | 1592098c5f9de0757a80e72dd7c0c9f86795d8c1 | [XPU] Refactor get_padding_offset to single kernel. | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/custom_ops/xpu_ops/src/ops/get_padding_offset.cc b/custom_ops/xpu_ops/src/ops/get_padding_offset.cc
index 7251eabd9b7..274dba7ee16 100644
--- a/custom_ops/xpu_ops/src/ops/get_padding_offset.cc
+++ b/custom_ops/xpu_ops/src/ops/get_padding_offset.cc
@@ -16,29 +16,29 @@
#include "paddle/extension.h"
#includ... | 9 | 3 | 1 | [{"id": "G0", "claim": "xpu_pre_process passes token_num_cpu, a 0-d CPU paddle.Tensor, as the third argument of get_padding_offset whose pybind binding takes int64_t cpu_token_num, so the pybind conversion will raise a type error and the call fails at runtime; extract a Python scalar (e.g. int(...item())) instead.", "c... | null |
PaddlePaddle__FastDeploy__7039 | PaddlePaddle/FastDeploy | 7,039 | defect | 820eb60ec667f9fe89ebdf6d6ecf79af270c110f | 3ad41c95b1191a5889b8614139c8bf2203a8ffcc | [Optimization] merge_allreduce | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/models/glm4_moe.py b/fastdeploy/model_executor/models/glm4_moe.py
index ecef165d86c..78ee4c23086 100644
--- a/fastdeploy/model_executor/models/glm4_moe.py
+++ b/fastdeploy/model_executor/models/glm4_moe.py
@@ -25,6 +25,7 @@
from paddleformers.utils.log import logger
from fastd... | 1 | 1 | 0 | [{"id": "G0", "claim": "The variable self._pure_tp should be renamed to self.merge_ffn_tp because the name would be easier to understand.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
PaddlePaddle__FastDeploy__7164 | PaddlePaddle/FastDeploy | 7,164 | defect | 938e7dd881fbd2afdfd6bfcda943d58506309404 | 8021e7d799b818e01be8a689f2e9641d7b310bcf | [OP]Unify MoE op with moe_permute path for bf16 GLM | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
<!-- Des... | diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
index 0c86270c630..581bd06b61b 100644
--- a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
+++ b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_ba... | 5 | 2 | 1 | [{"id": "G0", "claim": "A debug print(\"use moe_permute in tp\") statement was left in production code in apply_tp and should be deleted or replaced with conditional logger.debug output.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "The PR desc... | null |
PaddlePaddle__FastDeploy__7166 | PaddlePaddle/FastDeploy | 7,166 | defect | 98f3fc92674e24ae4ec005d61dd29293773404b3 | 8dea19880096c4e246b9d63b59f131c973597db0 | [Speculative Decoding] fix mtp stop_seqs and limit thinking bugs | ## Motivation
本 PR 修复投机解码中 speculate_set_stop_value_multi_seqs 和 speculate_limit_thinking_content_length 两个 kernel 因 step_idx 语义变更引起的索引错误。
## Modifications
### speculate_set_stop_value_multi_seqs
1、修复 can_stop 判断:step_idx_now >= min_token_limit → step_idx_now + accept_num >= min_token_limit,因为 step_idx 不再包含... | diff --git a/custom_ops/gpu_ops/speculate_decoding/speculate_limit_thinking_content_length.cu b/custom_ops/gpu_ops/speculate_decoding/speculate_limit_thinking_content_length.cu
index 18aa5d53d21..ae1315848aa 100644
--- a/custom_ops/gpu_ops/speculate_decoding/speculate_limit_thinking_content_length.cu
+++ b/custom_ops/g... | 5 | 1 | 0 | [{"id": "G0", "claim": "The XPU kernels (speculate_set_stop_value_multi_seqs.xpu and speculate_limit_thinking_content_length.xpu) were not synced with the new step_idx semantics — they still use the old formulas, the old step_idx rollback logic and lack the pre_ids_end check — so multi-hardware behaviour would be incon... | null |
PaddlePaddle__FastDeploy__7180 | PaddlePaddle/FastDeploy | 7,180 | defect | 2632e6cf32796ccec5e759771d2b1e7572a211a9 | b16a738fd749f8858a35e1c8120b6fc82b5b0627 | [XPU] Unify Spec and non-spec branch.(#6947) | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/custom_ops/xpu_ops/src/ops/mtp/verify_draft_token.cc b/custom_ops/xpu_ops/src/ops/mtp/verify_draft_token.cc
new file mode 100644
index 00000000000..fa685e30a68
--- /dev/null
+++ b/custom_ops/xpu_ops/src/ops/mtp/verify_draft_token.cc
@@ -0,0 +1,205 @@
+// Copyright (c) 2024 PaddlePaddle Authors. All Rights ... | 18 | 2 | 2 | [{"id": "G0", "claim": "_init_speculative_proposer now calls create_proposer for every non-None spec_method, so configuring NGRAM or SUFFIX on XPU (whose proposers depend on CUDA-only code) would fail at initialization/runtime; reviewers asked to restrict XPU to supported methods or degrade gracefully.", "category": "c... | null |
PaddlePaddle__FastDeploy__7241 | PaddlePaddle/FastDeploy | 7,241 | defect | 49b3d0d32656ef7e35107b8f968fcffedab7be01 | 6867ac3002e654e514202eefddb2e4fa1f5b0d08 | [Optimization] 移除 num_blocks 上限限制 | ## 背景
之前为规避"块数过多导致非法内存访问"问题,在 `worker_process.py` 中对 `num_blocks_local` 硬编码了 40000 的上限。随着问题根因得到修复,该限制已无必要,且会错误地压低实际可用 KV Cache 块数,影响显存利用率。
## 变更内容
### 1. 移除 num_blocks_local 硬上限限制
**文件**: `fastdeploy/worker/worker_process.py`
- 注释掉原有的 `num_blocks_local > 40000` 上限截断逻辑,让系统按实际显存自动计算可用 KV Cache 块数,不再人为截断到 4... | diff --git a/fastdeploy/worker/worker_process.py b/fastdeploy/worker/worker_process.py
index 2f51359959f..691ccf4de7d 100644
--- a/fastdeploy/worker/worker_process.py
+++ b/fastdeploy/worker/worker_process.py
@@ -705,11 +705,11 @@ def initialize_kv_cache(self) -> None:
# 2. Calculate the appropriate number... | 5 | 3 | 0 | [{"id": "G0", "claim": "Commenting out the 40000 num_blocks_local cap without any explanation, validation or replacement protection risks the illegal memory access the removed NOTE warns about; the cap should be kept, made configurable, or replaced with a dynamic limit, with reasons and tests, before merging.", "catego... | null |
PaddlePaddle__FastDeploy__7337 | PaddlePaddle/FastDeploy | 7,337 | defect | fcf8b1336db70316fb471183d95eecaf4cbc8ea2 | e87f31db1e91e227616150fd49ee80b05b711ef2 | [RL]moe bf16 ep support paddle batch_gemm | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
index f927cd8c5ee..51f88e1fb41 100644
--- a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
+++ b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_ba... | 6 | 1 | 0 | [{"id": "G0", "claim": "The new batched_gemm path dropped the down_proj_bias handling that the original compute_ffn performed, so results are incorrect when layer.with_bias=True.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "using_weighted_combine ... | null |
PaddlePaddle__FastDeploy__7338 | PaddlePaddle/FastDeploy | 7,338 | defect | 9985b192b49fc89231f04d1f3ce24d0976dc9a25 | fff9836adcb38e6e635d80b9ee63f702cc8a225e | [Cherry-Pick][RL]moe bf16 ep support paddle batch_gemm(#7337) | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
index c115a8b2d01..d3ba141486f 100644
--- a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
+++ b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_ba... | 4 | 4 | 2 | [{"id": "G0", "claim": "paddlefleet_ops is imported via try_import and may be None, so calling paddlefleet_ops.fused_swiglu_scale without an availability check can crash at runtime (AttributeError) when paddlefleet is unavailable; add a check or a fallback.", "category": "correctness", "verdict": "supported", "priority... | null |
PaddlePaddle__FastDeploy__7339 | PaddlePaddle/FastDeploy | 7,339 | defect | 2ac9b894090328ee090ccf5ce082b9afa7aa39ab | b198d49b33729a8f271df792a324b105ebe4b6e4 | [Cherry-Pick][RL]moe bf16 ep support paddle batch_gemm(#7337) | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
index f927cd8c5ee..51f88e1fb41 100644
--- a/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_backend.py
+++ b/fastdeploy/model_executor/layers/moe/fused_moe_cutlass_ba... | 6 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks to confirm whether paddle.incubate.nn.functional.batched_gemm accepts a Python list as its third argument, noting the original code passed a Tensor; if the API only accepts Tensor, recv_num_tokens_per_expert_list must first be converted (e.g. paddle.to_tensor(..., dtype=paddle.... | null |
PaddlePaddle__FastDeploy__7349 | PaddlePaddle/FastDeploy | 7,349 | defect | 26d6a20c2fa912706063e70d6dec6cbb76f2f563 | 22e8a13963609f5a8f93bf5db050be41cb9daed7 | [Speculate Decoding] Fix step_idx semantics in reasoning_phase_token_constraint and speculate set_value kernels | ## Motivation
适配 step_idx 新语义。
- **旧语义**:step_idx 表示处理后累加的 token 数量,pre_ids_now[0] 为预留位(prompt 最后一个 token)
- **新语义**:step_idx 表示历史已生成的 token 数量,pre_ids_now[0] 为第一个 output token
本 PR 同步修改相关 kernel 及其单测。
## Modifications
**`custom_ops/gpu_ops/reasoning_phase_token_constraint.cu`**
- 修复 `update_reasoning_... | diff --git a/custom_ops/gpu_ops/reasoning_phase_token_constraint.cu b/custom_ops/gpu_ops/reasoning_phase_token_constraint.cu
index 09a267923c6..a2f2d37b6a5 100644
--- a/custom_ops/gpu_ops/reasoning_phase_token_constraint.cu
+++ b/custom_ops/gpu_ops/reasoning_phase_token_constraint.cu
@@ -38,7 +38,7 @@
// - In ... | 4 | 1 | 0 | [{"id": "G0", "claim": "Other speculate decoding files (e.g. draft_model_update.cu, ngram_match.cu) may contain index calculations inconsistent with the new step_idx semantics; the reviewer asks for a unified check and fix (suggesting a follow-up PR).", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
PaddlePaddle__FastDeploy__7361 | PaddlePaddle/FastDeploy | 7,361 | defect | 225fc8d222d8f6a2e3e731c32c2162094c2a4650 | 3c1226c48436298aae8dac4e7d6cb5f23d12e012 | [Feature] 为 FusedMoE 添加 hidden_size 显式参数支持 | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
Motivation
... | diff --git a/fastdeploy/model_executor/layers/moe/moe.py b/fastdeploy/model_executor/layers/moe/moe.py
index 4a2e2819a94..120a4ecc302 100644
--- a/fastdeploy/model_executor/layers/moe/moe.py
+++ b/fastdeploy/model_executor/layers/moe/moe.py
@@ -153,6 +153,7 @@ class FusedMoE(nn.Layer):
def __init__(
self,... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `hidden_size` parameter defaults to -1 (a magic number) with no validation, so if a future caller instantiates `FusedMoE` without passing it, `self.hidden_size = -1` may cause errors or unexpected behaviour downstream (e.g. `paddle.empty(shape=[0, self.hidden_size])` in `forward_chunked_moe`... | null |
PaddlePaddle__FastDeploy__7379 | PaddlePaddle/FastDeploy | 7,379 | defect | 144dc17b14caa8fc18826439abbf5f293955edf7 | 3f8081171fad66c3468c0eec7f2c1924ec1f292b | [Cherry-Pick][RL] Add clear_graph_opt_backend for glm4_mtp (#7378) | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/fastdeploy/model_executor/models/glm4_mtp.py b/fastdeploy/model_executor/models/glm4_mtp.py
index c28023202d2..2ffb3b4d844 100644
--- a/fastdeploy/model_executor/models/glm4_mtp.py
+++ b/fastdeploy/model_executor/models/glm4_mtp.py
@@ -369,3 +369,7 @@ def forward(
)
return hidden_states... | 1 | 1 | 0 | [{"id": "G0", "claim": "The method name `clear_grpah_opt_backend` is misspelled — `grpah` should be `graph` (the same typo already exists in the base decorator.py) — and the spelling should be corrected, suggested uniformly across the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P2", ... | null |
PaddlePaddle__FastDeploy__7382 | PaddlePaddle/FastDeploy | 7,382 | defect | 26c47c2afc760bd078b345ebcee4b40d40e58c8d | a9969c75a904a40cf9527f3e2243e286f73f8da2 | [Feature] 添加 MoE 层 latent mode 支持 | ## 📋 Review 摘要
**PR 概述**:添加 MoE 层的 latent mode 支持(输入/输出的 latent projection)
**变更范围**:model_executor/layers/moe/(MoE 层实现)
**影响面 Tag**:`[Feature]` `[OP]`
### 📝 PR 规范检查
标题缺少有效的 Tag。
**标题建议**(可直接复制):
- `[Feature] 添加 MoE 层 latent mode 支持`
**描述模板**(可直接复制):
## Motivation
为 MoE 层添加 latent mode,支持在... | diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py b/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py
index f1cf9ce578b..acc08901c3a 100644
--- a/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py
+++ b/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py
@@ ... | 8 | 8 | 7 | [{"id": "G0", "claim": "apply_tp is called with fc1_latent_proj and fc2_latent_proj although the abstract apply_tp signature defines no such parameters, so when ep_size <= 1 the subclass implementation cannot accept the extra arguments and a runtime error occurs.", "category": "correctness", "verdict": "supported", "pr... | null |
PaddlePaddle__FastDeploy__7405 | PaddlePaddle/FastDeploy | 7,405 | defect | e0a1653b26f6d1d359dad0f6d648fe3c6bf19cf6 | a25fc5896e06d2d1d85bbe1d7771a781fd05c56a | [CI] Add pytest failure log collection and persistence | <!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md -->
<!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. -->
## Motivat... | diff --git a/tests/batch_invariant/test_batch_invariance_op_addmm.py b/tests/batch_invariant/test_batch_invariance_op_addmm.py
index bca856d3b28..45e60c67d32 100644
--- a/tests/batch_invariant/test_batch_invariance_op_addmm.py
+++ b/tests/batch_invariant/test_batch_invariance_op_addmm.py
@@ -63,7 +63,7 @@ def test_alph... | 10 | 8 | 8 | [{"id": "G0", "claim": "The assertion in test_alpha_zero was inverted to `diff.item() != 0`, which makes the test deliberately fail; it should be restored to `== 0`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The assertion on cached_tokens in te... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.