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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Adamant-im__adamant-api-jsclient__36 | Adamant-im/adamant-api-jsclient | 36 | defect | 3dde1c3c5d014eac9e990105e9bc4dbf73f37c9e | 7f3316d00c0e4d6cbd0f8efe3356b1d656414725 | feat: add getTransactionId method | Usage:
```js
import {getTransactionId} from 'adamant-api'
const id = getTransactionId(signedTransaction)
``` | diff --git a/examples/getId/index.ts b/examples/getId/index.ts
new file mode 100644
index 0000000..bab0327
--- /dev/null
+++ b/examples/getId/index.ts
@@ -0,0 +1,23 @@
+import {getTransactionId} from '../../dist';
+
+const id = getTransactionId({
+ type: 8,
+ amount: 0,
+ timestamp: 194049840,
+ asset: {
+ chat:... | 2 | 2 | 1 | [{"id": "G0", "claim": "The node must be shown to return the same tx id as computed locally: post an example that creates a tx locally and broadcasts it to an ADAMANT node, and test both transfer and messaging transactions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
Adamant-im__adamant__127 | Adamant-im/adamant | 127 | defect | b5b436a785ad31dbb04e6ca31804cb8c38dbab5a | 1f199acaf29304e5421013612085d20ae96497c2 | feat: return additional fields for unconfirmed transactions | The properties are changed only in endpoint responses, to avoid breaking the logic | diff --git a/helpers/orderBy.js b/helpers/orderBy.js
index e06b8075..51957bc1 100644
--- a/helpers/orderBy.js
+++ b/helpers/orderBy.js
@@ -31,6 +31,8 @@ function OrderBy (orderBy, options) {
}
}
+ const originalField = sortField || options.sortField;
+
function prefixField (sortField) {
if (!sortFiel... | 1 | 1 | 0 | [{"id": "G0", "claim": "The default sort field for unconfirmed transaction listing should be `timestampMs` with a fallback to `timestamp`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Adamant-im__adamant__89 | Adamant-im/adamant | 89 | defect | c32e740a83ef3ac6fdf7e579f7175b21be5c95e5 | 505720c1e2366bbb1bd54f8ce2102bf745a8cd64 | feat: disconnect from peers on connection errors | https://trello.com/c/l0PvLgan/97-check-adding-and-removing-new-peers
- Made removing and adding a new peer the same log level (`info`)
- Instead of removing a peer, multiple failed requests will change a peer state to `DISCONNECT`
> Previously, the connection errors behavior was to remove the peer from the p... | diff --git a/logic/peer.js b/logic/peer.js
index 35273613..c43a2f6b 100644
--- a/logic/peer.js
+++ b/logic/peer.js
@@ -3,6 +3,8 @@
var _ = require('lodash');
var ip = require('neoip');
+const SUCCESS_RATE_POOL_SIZE = 25;
+
/**
* Creates a peer.
* @memberof module:peers
@@ -72,6 +74,11 @@ Peer.prototype.nullabl... | 3 | 1 | 0 | [{"id": "G0", "claim": "The extra precision in calcSuccessRate is unnecessary; it could simply return Math.round(successRate) instead of rounding to two decimal places.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new isFrozen method in mo... | null |
Adamant-im__adamant__91 | Adamant-im/adamant | 91 | defect | c32e740a83ef3ac6fdf7e579f7175b21be5c95e5 | f02db5448749d649a2b5eaebdd3567e019353e6b | feat: add `includeDirectTrasnfers` param for the `chats/get` endpoint | https://trello.com/c/gX2i1brG/115-feat-add-withoutdirecttransfers-option-to-chats-get
title | diff --git a/modules/chatrooms.js b/modules/chatrooms.js
index c6b2b6d7..273ced9c 100644
--- a/modules/chatrooms.js
+++ b/modules/chatrooms.js
@@ -67,7 +67,18 @@ __private.listChats = function (filter, cb) {
where.push('"c_type" = ${type}');
params.type = filter.type;
}
- if (filter.withoutDirectTransfers... | 3 | 1 | 0 | [{"id": "G0", "claim": "Setting `?withoutDirectTransfers` to false by default is confusing due to the double negative, so the parameter should be renamed, e.g. to `includeDirectTransfers`.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In additi... | null |
Adamnite__goAdamnite__19 | Adamnite/goAdamnite | 19 | defect | cb97945c6e21d101fdf3a8ec5f77f152288b2508 | 0855dce1836baed7004f8e8f5dd043d22633de08 | Contact books | adds a contact book that automatically handles the connection information, for grey and blacklists. Does not choose the whitelist. | diff --git a/networking/constants.go b/networking/constants.go
index a8ebe7ba..86d11059 100644
--- a/networking/constants.go
+++ b/networking/constants.go
@@ -1,8 +1,23 @@
package networking
-import "fmt"
+import (
+ "fmt"
+ "time"
+)
var (
err_preexistingConnection = fmt.Errorf("contact already has active co... | 11 | 5 | 0 | [{"id": "G0", "claim": "The new error variables should not use fmt.Errorf since no formatting is needed, and the names should follow the repo's convention, e.g. ErrorPreexistingConnection, ErrorOutboundCapacityReached and ErrorContactBlacklisted.", "category": "maintainability", "verdict": "supported", "priority": "P2"... | null |
Adamnite__goAdamnite__27 | Adamnite/goAdamnite | 27 | defect | 76590af55b379fdf4154bcce74592e722eb3753d | 98cb5e75a95a77e0620c7be73c425aba408dbeea | POC transaction propagation | the base working idea of the transaction-sending process | diff --git a/consensus/bChamber.go b/consensus/bChamber.go
index c1ed723d..2da370bd 100644
--- a/consensus/bChamber.go
+++ b/consensus/bChamber.go
@@ -8,7 +8,7 @@ import (
// for methods that only apply to the B chamber members
func NewBConsensus(codeServer string) (ConsensusNode, error) {
- conNode, err := newCons... | 4 | 2 | 0 | [{"id": "G0", "claim": "If the commented-out debugging lines at the end of the bulk-node test are not needed, they should be deleted.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An error log should be added at the point where newConsensus retur... | null |
Adamnite__goAdamnite__28 | Adamnite/goAdamnite | 28 | defect | 13b0777fa7258f7bf22a6b8a5f2298fe93711e6f | 6b8f370eec6d029b21dbae666caf8fa944fc3453 | Consensus communication | consensus nodes can propose candidacies and propagate votes. | diff --git a/VM/errors.go b/VM/errors.go
index feeae748..b76898c1 100644
--- a/VM/errors.go
+++ b/VM/errors.go
@@ -1,18 +1,22 @@
package VM
import (
- "errors")
+ "errors"
+)
var (
ErrOutOfGas = errors.New("out of gas")
ErrCodeStoreOutOfGas = errors.New("contract creation code storage ... | 5 | 3 | 1 | [{"id": "G0", "claim": "UploadMethod should check for a 403 status specifically, because with the catch-all non-200 check a 404 response would return the wrong error message.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In UploadContract the neste... | null |
AdguardTeam__dnsproxy__126 | AdguardTeam/dnsproxy | 126 | defect | a6e8b0ce8148505bbb62d0e71456a55e7bac07bf | b20f9048642520657b05046eff95332f6e78be20 | add --insecure flag to set TlsInsecureSkipVerify | This PR covers https://github.com/AdguardTeam/dnsproxy/issues/94 to add a cli flag to disable TLS certificate validation.
| diff --git a/README.md b/README.md
index 6aa0ca3f8..ff3f200a0 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,7 @@ Application Options:
-y, --dnscrypt-port= Listening ports for DNSCrypt
-c, --tls-crt= Path to a file with the certificate chain
-k, --tls-key= Path to a file with the private... | 1 | 1 | 0 | [{"id": "G0", "claim": "Both bootstrapDNS and timeout can also be passed inside `upstream.Options` rather than as separate parameters of `ParseUpstreamsConfig`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AdguardTeam__dnsproxy__128 | AdguardTeam/dnsproxy | 128 | defect | 83dae540426cc03169f673d3dd692e970b05c557 | 714ab4cbf24b371252cbb78beca6756109984bbc | Implement draft-ietf-dprive-dnsoquic-02 | This PR implements the latest DNS-over-QUIC draft-ietf-dprive-dnsoquic-02, as mentioned in issue #127 | diff --git a/README.md b/README.md
index ff3f200a0..5cf82e697 100644
--- a/README.md
+++ b/README.md
@@ -139,9 +139,9 @@ Runs a DNS-over-HTTPS proxy on `127.0.0.1:443`.
./dnsproxy -l 127.0.0.1 --https-port=443 --tls-crt=example.crt --tls-key=example.key -u 8.8.8.8:53 -p 0
```
-Runs a DNS-over-QUIC proxy on `127.0.0... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment should include a link to the draft section it quotes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests should explicitly use the old port 784, since the change moves DoQ to port 8853 and the tests otherw... | null |
Admiral-Piett__goaws__106 | Admiral-Piett/goaws | 106 | defect | d614bb0564e195dec79ef8e4b058ec12827b1d52 | 4358fa27e28aba6af7eb328660fa39f62571e49f | Calculate MD5 checksum of MessageAttributes | fixes #104 | diff --git a/app/gosqs/gosqs.go b/app/gosqs/gosqs.go
index a8ae01ed1..8ffc8ebe7 100644
--- a/app/gosqs/gosqs.go
+++ b/app/gosqs/gosqs.go
@@ -108,6 +108,7 @@ func CreateQueue(w http.ResponseWriter, req *http.Request) {
func SendMessage(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Content-Type", "applic... | 3 | 2 | 2 | [{"id": "G0", "claim": "extractMessageAttributes should check that MessageAttribute.%d.Value.DataType is present instead of using the empty value it gets when it is missing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "extractMessageAttributes sho... | null |
Admiral-Piett__goaws__198 | Admiral-Piett/goaws | 198 | defect | 75098e082c981a2e0afafe119f3c229e53bfe782 | 81dab77c9b0198ff5c540e1be4cd43dc94e423c6 | Added random latency to SQS receives. | Latency is based on the inclusion of two environment variables
(`GOAWS_RANDOM_LATENCY_MIN` and `GOAWS_RANDOM_LATENCY_MAX`), which, if set
will prevent messages from being released from the queue until after a
period of random, simulated latency has elapsed.
The purpose of this change is to aid in local testing ag... | diff --git a/app/gosqs/gosqs.go b/app/gosqs/gosqs.go
index f02c547d6..a4eda5da7 100644
--- a/app/gosqs/gosqs.go
+++ b/app/gosqs/gosqs.go
@@ -174,6 +174,7 @@ func SendMessage(w http.ResponseWriter, req *http.Request) {
msg.MD5OfMessageBody = common.GetMD5Hash(messageBody)
msg.Uuid, _ = common.NewUUID()
msg.GroupID... | 1 | 1 | 0 | [{"id": "G0", "claim": "The random latency values should be configured in goaws.conf instead of environment variables, for consistency with how all other configs are done.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Admiral-Piett__goaws__201 | Admiral-Piett/goaws | 201 | defect | 75098e082c981a2e0afafe119f3c229e53bfe782 | f7154e4a640da5f14d5a00c81d099892fc5db1b4 | Fix panic for concurrent DeleteQueue & ReceiveMessage | Hi @p4tin,
Hope we can merge the below bug fix, thanks!
Fixes panic at goaws/app/gosqs/gosqs.go:376. use case `DeleteQueue()` while something is still blocked by `ReceiveMessage()`
Fixes the below panic in `ReceiveMessage`
```[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x12bf1a0]
gorouti... | diff --git a/app/gosqs/gosqs.go b/app/gosqs/gosqs.go
index f02c547d6..0e31319cf 100644
--- a/app/gosqs/gosqs.go
+++ b/app/gosqs/gosqs.go
@@ -373,9 +373,17 @@ func ReceiveMessage(w http.ResponseWriter, req *http.Request) {
loops := waitTimeSeconds * 10
for loops > 0 {
app.SyncQueues.RLock()
- found := len(app.Sy... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the `if !queueFound` error exit above the `var messageFound bool` computation so ReceiveMessage exits earlier when the queue is not found.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Admiral-Piett__goaws__218 | Admiral-Piett/goaws | 218 | defect | 4d29b1e517cb9a050e9687f8f59a64c3dc3c1875 | d34c4c5d49349e5baf43dc32c8f4c8cf4a256d93 | fix routes order | Requests to `SigningCertURL` are currently handled by `actionHandler` instead of `pemHandler` because of wrong routes order. This PR fix this issue. | diff --git a/app/router/router.go b/app/router/router.go
index 440bd7a9c..82d549679 100644
--- a/app/router/router.go
+++ b/app/router/router.go
@@ -21,8 +21,8 @@ func New() http.Handler {
r.HandleFunc("/health", health).Methods("GET")
r.HandleFunc("/{account}", actionHandler).Methods("GET", "POST")
r.HandleFunc(... | 1 | 1 | 1 | [{"id": "G0", "claim": "A unit test should be written to test these routes (the pem route whose ordering this pull request fixes).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Admiral-Piett__goaws__249 | Admiral-Piett/goaws | 249 | defect | ba73e9b3195a592346488cab2dcaf61807605184 | b8b2d7b4b2f08eca17df37b78bb8792714afa251 | Fix package references from repo migration | We broke all the package references when I inherited this repo. So this should update them so we can at least clone/build/run this repo locally. (Docker not included - still deciding where to host it). | diff --git a/README.md b/README.md
index b50c7d7da..ecc194bb8 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# GoAws
[](https://travis-ci.org/p4tin/goaws)
-You are always welcome to [tweet me](https://twitter.com/gocodecloud) or [buy me a c... | 2 | 1 | 0 | [{"id": "G0", "claim": "The README attribution line the PR added (\"tweet the creator in chief\" / \"buy him a coffee\") should just be removed, or put the new maintainer's name there.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "go.mod probably... | null |
Admiral-Piett__goaws__325 | Admiral-Piett/goaws | 325 | defect | 1a058d0cdc55d2c56fbac86e62a6db723ae8da57 | 6063fc17752e49c2cb2ece53ceaeaf6dbb703446 | Send message to DLQ after correct number of attempts | I just noticed you released the JSON API update, congratulations and thanks for your time and effort!
I was trying it out today and everything seems to work as expected, except for DLQ MaxReceiveCounts. As described in #263 in AWS the attribute describes the number of attempts before sending a message to the DLQ, no... | diff --git a/app/gosqs/change_message_visibility.go b/app/gosqs/change_message_visibility.go
index 6f9b566a..3c3ec45c 100644
--- a/app/gosqs/change_message_visibility.go
+++ b/app/gosqs/change_message_visibility.go
@@ -57,10 +57,10 @@ func ChangeMessageVisibilityV1(req *http.Request) (int, interfaces.AbstractRespo
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The manual adjustment of the loop counter `i` is pointless because the code breaks out of the loop right after, so the line should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's fix (sending... | null |
Admiral-Piett__goaws__338 | Admiral-Piett/goaws | 338 | defect | 913294f47137190c4718463abf46617bf4df86c1 | 7027e239c79a4453f26635ca9281cb9ea475014e | Implement message attribute parsing for PublishBatch | Factor out attribute parsing for SendMessage, SendMessageBatch, and Publish in the process.
I believe this change is adequately covered by the smoke tests, but am happy to be convinced otherwise | diff --git a/app/models/requests.go b/app/models/requests.go
index 81ecadc9..d9ace6c5 100644
--- a/app/models/requests.go
+++ b/app/models/requests.go
@@ -5,7 +5,6 @@ import (
"fmt"
"net/url"
"strconv"
- "strings"
"golang.org/x/text/cases"
"golang.org/x/text/language"
@@ -189,30 +188,41 @@ type SendMessageR... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a couple of direct unit tests for parseMessageAttributes (the reviewer may cannibalize the existing SetAttributesFromForm tests), so the shared parsing logic no longer needs per-case tests going forward.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
Adobe-Consulting-Services__acs-aem-commons__1014 | Adobe-Consulting-Services/acs-aem-commons | 1,014 | defect | dc491d8392ac3341396e420b1dddd7bac7d56224 | 98594a7cefa70ceb76d2765ca885f59abeddf635 | Feature/1005 - Assets Folder Properties Support | Resolves #1005
Re-factored to leverage the default Sling POST Servlet, and invokes the OOTB FolderShareHandler via a PostProcessor.
* Config policy required
* Granite UI names are off the sling:Folder and NOT the [sling:*Folder]/jcr:content
Example property for setting Brand Portal mcConfig property

## [Unreleased]
[Unreleased]: https://github.com/Adobe-Consulting-Services/acs-aem-commons/compare/acs-aem-commons... | 2 | 2 | 0 | [{"id": "G0", "claim": "The getAuthorizedGroups method in AdministratorsOnlyProcessDefinitionFactory should probably be made final.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The getAuthorizedGroups method in AuthorizedGroupProcessDefinitionFactory c... | null |
Adobe-Consulting-Services__acs-aem-commons__1354 | Adobe-Consulting-Services/acs-aem-commons | 1,354 | defect | b4bf04eac51f7c1b373e70b41a3febc69e005413 | edd75ac2444a16920818741405773f15175f6722 | added jmx bean to on-deploy scripts. | makes it easier to see the status of all current scripts and makes re-execution easier.
As I've started to play with on-deploy scripts on my current project, I've found myself wishing there was an easier way to see the on-deploy scripts, their status, etc. Also added a way to re-execute, and to force re-execution o... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c4590dbc9..e840dca0cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
### Changed
- #1343 - CodeClimate now checks for license header
+- #1354 - Added JMX Bean for monitoring and exec... | 3 | 3 | 1 | [{"id": "G0", "claim": "Remove the @ProviderType annotation from OnDeployExecutor since the interface isn't exported.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The scriptProviders field needs to be a threadsafe list, not a plain ArrayList.", "catego... | null |
Adobe-Consulting-Services__acs-aem-commons__1365 | Adobe-Consulting-Services/acs-aem-commons | 1,365 | defect | 4048507cce6bf0531d72a5865f4b9f663b6f2644 | 3337bfa3673321c7487cc56e62a269c7f2c05b18 | Added sling model injector for Shared Component Property values. | Putting this up for review to get feedback. Will add tests once I get confirmation that nothing looks crazy :D | diff --git a/bundle/src/main/java/com/adobe/acs/commons/models/injectors/annotation/SharedValueMapValue.java b/bundle/src/main/java/com/adobe/acs/commons/models/injectors/annotation/SharedValueMapValue.java
new file mode 100644
index 0000000000..0d64fefcec
--- /dev/null
+++ b/bundle/src/main/java/com/adobe/acs/commons/... | 2 | 2 | 1 | [{"id": "G0", "claim": "The fallback `new ValueMapDecorator(Collections.emptyMap())` in the property getters should be replaced with the slightly cheaper `ValueMapDecorator.EMPTY`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request adds... | null |
Adobe-Consulting-Services__acs-aem-commons__1581 | Adobe-Consulting-Services/acs-aem-commons | 1,581 | defect | 59b165575017da39b61a317d89bb303571149bbc | acf3e795293ec2c1a54115dbce15b742c421eefc | Feature/fix 1578 | Issue #1578 is fixed
Connection, username and password fields are added to FileAssetIngestor
Text filed is replaced with password filed for UrlAssetIgestor | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 88d9f52abe..d0a9a94ce2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Changed
- #1571 - Remove separate twitter bundle and use exception trapping to only register AdapterFactory wh... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Connection timeout form field's description should drop the word 'HTTP' since the timeout applies to an SFTP connection, i.e. description = \"Connection timeout (in milliseconds) for SFTP connection\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
Adobe-Consulting-Services__acs-aem-commons__1621 | Adobe-Consulting-Services/acs-aem-commons | 1,621 | defect | c9f307eb60c8676ab8d737ffab4916d426a47932 | 761757b0e7f1ea781f8164d79bea7df63a7ba1ab | add dependency-check-plugin to identify potential vulnerabilities in … | …dependencies
* Ignore guava since Oak is not compatible with newer Guava versions due to removal of Iterators.emptyIterator()
* Update jjwt and jsch to latest versions | diff --git a/.codeclimate.yml b/.codeclimate.yml
index 4c665330cd..91fa9b4edf 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -56,6 +56,7 @@ exclude_patterns:
- "**/vendor/"
- "**/extensions/contentfinder/"
- "*/target/"
+- "**/org/apache/jackrabbit/oak/**"
# Common exclusions
diff --git a/.travis.yml b... | 4 | 1 | 0 | [{"id": "G0", "claim": "The PR author is unhappy that the only workaround was to vendor a fixed copy of org.apache.jackrabbit.oak.spi.commit.CommitInfo (garbage logging makes Travis fail on stderr size) and asks for alternative suggestions.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "int... | null |
Adobe-Consulting-Services__acs-aem-commons__1700 | Adobe-Consulting-Services/acs-aem-commons | 1,700 | defect | 0f94e0ebb91039f06746b58ba7277eace642783c | d34dfe0383b8fa068a4abd2fa0c3b21542e7715b | Add tracking for required client libraries for components | In order to properly generate a form, client libraries should be included. Most usually this means common libraries but there are some components which require special libraries. In order to accommodate these, the FieldComponent and GeneratedDialog now handle client libraries so this can be surfaced more easily. | diff --git a/bundle/src/main/java/com/adobe/acs/commons/mcp/form/FieldComponent.java b/bundle/src/main/java/com/adobe/acs/commons/mcp/form/FieldComponent.java
index 31e1fccfea..6d646cb1dd 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/mcp/form/FieldComponent.java
+++ b/bundle/src/main/java/com/adobe/acs/common... | 2 | 1 | 0 | [{"id": "G0", "claim": "The two addClientLibraries overloads duplicate the same insertion logic and one should simply call the other after converting between collection and array (or vice versa), as Codeclimate will flag the duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"... | null |
Adobe-Consulting-Services__acs-aem-commons__1766 | Adobe-Consulting-Services/acs-aem-commons | 1,766 | defect | e4b480edfada3e75a94d61ee809a4972ddd397c5 | c448579754e1456336be01bdfff8733c6c634d20 | Feature/test user exporter | Added test coverage for the user exporter servlets.
NOTE: I had to change the JCR Queries which are used to find users and groups. It should not make any difference in the result, but the runtime might differ (using indexes or not).
Nevertheless, these queries should be replaced by proper calls to the JCR Userman... | diff --git a/bundle/pom.xml b/bundle/pom.xml
index 1d23f2f38f..eabc2f37ad 100644
--- a/bundle/pom.xml
+++ b/bundle/pom.xml
@@ -443,6 +443,8 @@
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
+
+
<!-- Test Depend... | 7 | 7 | 0 | [{"id": "G0", "claim": "Remove the empty lines the pull request added to bundle/pom.xml.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the LOG logging statements and logger from UserExportServletTest, they are not needed in a test class.... | null |
Adobe-Consulting-Services__acs-aem-commons__1776 | Adobe-Consulting-Services/acs-aem-commons | 1,776 | defect | e4b480edfada3e75a94d61ee809a4972ddd397c5 | 576c87092db5ddccd4a873c6a0234eb526e9f807 | fix possibly negative index | deal with situations that index overflows and returns negative value. this leads to IndexOutOfBoundException | diff --git a/bundle/src/main/java/com/adobe/acs/commons/functions/RoundRobin.java b/bundle/src/main/java/com/adobe/acs/commons/functions/RoundRobin.java
index 4daee317e2..7fe4b1c77f 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/functions/RoundRobin.java
+++ b/bundle/src/main/java/com/adobe/acs/commons/functio... | 2 | 2 | 2 | [{"id": "G0", "claim": "Can you add a Unit Test as well as a changelog.md entry please?", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Can you add a Unit Test as well as a changelog.md entry please?", "category": "documentation", "verdict": "supported",... | null |
Adobe-Consulting-Services__acs-aem-commons__1783 | Adobe-Consulting-Services/acs-aem-commons | 1,783 | defect | 09cf2481b5af0cfee0a5254cc6c907fd0c6a7e9a | a08df82cd0de72377a072dfa2dcb456a9446c831 | Added the possibility to replace the existing host in an attribute | In our current project we have the need to rewrite img src attributes where there is already a host present. In the current setup it does not work and it just prepends the desired host before the matched pattern, resulting in two subsequent hosts. This is not correct so we needed the possibility to replace the existing... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index a4ead60a49..c374dbb13d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## [3.19.0] - 2018-11-03
### Added
+- #1783 - Added the possibility to replace the existing host in an attribute
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new replaceHost field should be a primitive boolean instead of a Boolean wrapper (with plain boolean checks instead of BooleanUtils.isTrue/isFalse), since there is no code path where it is null.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
Adobe-Consulting-Services__acs-aem-commons__1864 | Adobe-Consulting-Services/acs-aem-commons | 1,864 | defect | b8e348dc8c0710149e698af7276565eb8b3c961b | 73679651225bf1bef5911bf839751cbcad40931d | Proposed fix for #1856: Allow specifying Spreadsheet locale. | Now the unit test can explicitly set US as the locale and assert safely about numbers and dates. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2cf823e12c..ecc03a06fa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
- #1774 - Upgraded oakpal dependency to 1.2.0 to support execution in an AEM OSGi runtime.
- #1786 - Shade embedded ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new Variant(Cell) constructor should default to Locale.ROOT, a language/country agnostic locale, instead of Locale.getDefault().", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Instead of a setLocale setter that stores the Locale... | null |
Adobe-Consulting-Services__acs-aem-commons__1874 | Adobe-Consulting-Services/acs-aem-commons | 1,874 | defect | 92a4fdd6c96e78f741b8f3c3f054ef70953e3a68 | d9401b9739e007ef287c0ddfb388a9458aeb4b46 | Improvement - Reports Cleanup | Updating to use triple brackets for the examples, doing some code cleanup and updating servlets to use OSGi R6 Annotations | diff --git a/bundle/src/main/java/com/adobe/acs/commons/reports/internal/ReportCSVExportServlet.java b/bundle/src/main/java/com/adobe/acs/commons/reports/internal/ReportCSVExportServlet.java
index 64373dec4a..1c9a2404fb 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/reports/internal/ReportCSVExportServlet.java... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of using orElse on the page assignment line, the next line could be folded in as another map call with orElse in the return statement, for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Adobe-Consulting-Services__acs-aem-commons__1926 | Adobe-Consulting-Services/acs-aem-commons | 1,926 | defect | a60650e2887f9af33b500faf9e8d1b80df9cdccd | 5902f7e977db149542cac41cb7f2ba9ebaece7ef | Adjust PageCompareDataImplTest to Java 11 | Relevant changes: [211 @ PageCompareDataImplTest](https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/1926/files#diff-6d00b6c9a38408e5cdfe30b51e4de2b0L) + [215 @ PageCompareDataImplTest](https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/1926/files#diff-6d00b6c9a38408e5cdfe30b51e4de2b0L215) | diff --git a/bundle/src/main/java/com/adobe/acs/commons/wcm/comparisons/impl/PageCompareDataImpl.java b/bundle/src/main/java/com/adobe/acs/commons/wcm/comparisons/impl/PageCompareDataImpl.java
index f5abd2e3c1..fe7a755695 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/wcm/comparisons/impl/PageCompareDataImpl.j... | 2 | 1 | 0 | [{"id": "G0", "claim": "The code formatting changes (adding final, indentation) should be done in a separate commit, because the PR is hard to review in its current form.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A changelog entry should be a... | null |
Adobe-Consulting-Services__acs-aem-commons__1927 | Adobe-Consulting-Services/acs-aem-commons | 1,927 | defect | 65fafaaea151ef30819a83f7660d75c4bc95f663 | b2f478ccf51100c17c2b3a8485f1791e777f8333 | Feature/httpcache response cookie exclusion | Making it possible to also exclude specific cookie keys in the http cache. | diff --git a/bundle/src/main/java/com/adobe/acs/commons/httpcache/config/HttpCacheConfig.java b/bundle/src/main/java/com/adobe/acs/commons/httpcache/config/HttpCacheConfig.java
index d0df6e5280..a7323be844 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/httpcache/config/HttpCacheConfig.java
+++ b/bundle/src/mai... | 2 | 2 | 1 | [{"id": "G0", "claim": "The label and description of the OSGi property for config-specific excluded cookie keys (line 221 of HttpCacheConfigImpl.java) are incorrect.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request is missing a chan... | null |
Adobe-Consulting-Services__acs-aem-commons__1967 | Adobe-Consulting-Services/acs-aem-commons | 1,967 | defect | ef45ff65c8a23c56a0a4483ff2d989013bf3bb6b | 8a46d47a41522206685b0d50789d124eefc0b4e8 | Expose OnDeployExecutor Interface and store exception message on result node | Expose OnDeployExecutor Interface: so scripts can be triggered externally
Store exception message on result node: so it can be read | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 37af0bad06..6c277b15c6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## Unreleased
+## [4.3.0] - 2019-06-20
+
+### Added
+- #1967 - Expose On-Deploy Script Executor for external scrip... | 4 | 4 | 4 | [{"id": "G0", "claim": "The MBean-based OnDeployExecutor interface is not suitable as a public API (stringly typed via JMX and exposes TabularDataSupport); the MBean interface should be kept internal (renamed OnDeployExecutorMBean) and a new public interface created that works with the OnDeployScript and OnDeployScript... | null |
Adobe-Consulting-Services__acs-aem-commons__1976 | Adobe-Consulting-Services/acs-aem-commons | 1,976 | defect | 595507aa2320be206c85a3069c91e70060c9b162 | b1bbcf3b713d2c81b18b4e7174ce9e1eaf7885d3 | Fix JDK 11 test errors for Remote Assets and other tests with Mock Server | - Updated RemoteAssetDecoratorTest to no longer rely on PowerMockito
- Updated version of mockserver to fix JDK 11 errors in tests for IntegrationServiceImplTest, S3AssetIngestorTest, and RemoteAssetsBinarySyncImplTest
JDK 11 Before:
```
[ERROR] Errors:
[ERROR] IntegrationServiceImplTest.testJwtToken:77 » N... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index cef1f6411b..0e3a7938d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Changed
- #1945 - Added support for jcr:content creation and update to the Data Importer
+### Fixed
+- #1976 -... | 2 | 1 | 1 | [{"id": "G0", "claim": "The JDK8 Travis builds are failing for this pull request, apparently having something to do with the mock server.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "PowerMockito struggles to work well on JDK9+ in general, so addi... | null |
Adobe-Consulting-Services__acs-aem-commons__2110 | Adobe-Consulting-Services/acs-aem-commons | 2,110 | defect | e32b67d1bc47a78083313aaa08ab9a4b4b1a99dc | 11272731f090422da83608948fd4a77e373337a1 | Adding File Fetcher | Adding a feature to support fetching files from a remote source, loading them into the AEM DAM and replicating the file to publish.
**Justification:**
Some of our customers have an issue where Launch is being by Ad-Blockers but Adobe doesn't support CNAMEs for changing the domain name. Options for handling this ... | diff --git a/bundle/src/main/java/com/adobe/acs/commons/fetchfile/FileFetch.java b/bundle/src/main/java/com/adobe/acs/commons/fetchfile/FileFetch.java
new file mode 100644
index 0000000000..4bf0db8752
--- /dev/null
+++ b/bundle/src/main/java/com/adobe/acs/commons/fetchfile/FileFetch.java
@@ -0,0 +1,37 @@
+/*
+ * #%L
+ ... | 6 | 4 | 2 | [{"id": "G0", "claim": "Fetching the whole binary into memory can get problematic if the fetcher is misused for large binaries; the PR should use the InputStream from the HTTP response and stream the output into the repo instead.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
Adobe-Consulting-Services__acs-aem-commons__2215 | Adobe-Consulting-Services/acs-aem-commons | 2,215 | defect | 82b20d1ba421aff3c3d04057f1f6e9ea6a07cc23 | 29d5015407d8353c0838874d1c569a305492dbb5 | Parameterized granite include | Include granite resource type that allows for parameters to namespace and parameterize included.
Similar to : https://adobe-consulting-services.github.io/acs-aem-commons/features/deprecated/cqinclude-namespace/index.html

### Added
- #2215 - Added Parameterized granite include to support generic dialog snippets
+- #2243 - Added a serv... | 5 | 5 | 2 | [{"id": "G0", "claim": "The servlet should be bound to a resource type (e.g. cq/Page) rather than only selectors/extension, so that page.robots.txt is resolved properly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code assumes request.getResource(... | null |
Adobe-Consulting-Services__acs-aem-commons__2247 | Adobe-Consulting-Services/acs-aem-commons | 2,247 | defect | 32f9051136e10d5d06e4ec346cfd35ff42cbc1c4 | 6a0d39eed4d4d52a09b0636af530f1c7f6006188 | Fix #2245 - Marketo Endpoint Protocol | As #2245 describes the tooltip for the Marketo configuration indicates that the endpoint should start with https:// but the client prepends https://. This PR adjusts the logic to strip https:// if it is provided so the code should work whether or not the protocol is provided in the endpoint URL. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 99fef5fe71..005917a4de 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
[unreleased changes details]: https://github.com/Adobe-Consulting-Services/acs-aem-commons/compare/acs-aem-commons-4.... | 2 | 2 | 0 | [{"id": "G0", "claim": "The CHANGELOG entry for #2245 should read '- #2245 - Marketo Endpoint Protocol Documentation Issue' (hyphen after the issue number) for consistency with the other entries.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In g... | null |
Adobe-Consulting-Services__acs-aem-commons__2424 | Adobe-Consulting-Services/acs-aem-commons | 2,424 | defect | 3b4c5a3d936db4358e2dac2f8fd97bcf2ced939c | ca7b5652fae35de2c0a92fa72f437cbc2e68693c | Feature/tree activation | This adds a tree activation (bulk publish) utility similar to the one discussed in #1060
User can specify one or more replication agents using a comma-delimited list and/or regex patterns.
User can also specify if they want folders only or all items (useful for pushing out folder structures for assets). Also th... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 20332730a3..d0f799eb47 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Added
+- #1060 - New tree activation MCP utility
### Changed
diff --git a/bundle/src/main/java/com/adobe... | 1 | 1 | 0 | [{"id": "G0", "claim": "The default startingPath (/content/dam) is a strange default that is at odds with the FOLDERS_AND_PAGES_ONLY publish filter default, and the author agreed it should be left blank so users must specify it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Adobe-Consulting-Services__acs-aem-commons__2434 | Adobe-Consulting-Services/acs-aem-commons | 2,434 | defect | 45b0b9943f17dddecd5a8c3d45fa9b69596b5513 | 06e2ca894b242e0180a4a54ed7150e5f194a5adc | Feature/set image orientation workflow | AEM search has filter for image orientation but it doesn't work unless images are manually tagged.
This workflow step tags images automatically based on the width / heigh ratio.
Please be gentle, it's my first pull request for this project :)
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 489697cda0..924c3e34d0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Added
- #1060 - New tree activation MCP utility
+- #New workflow process step "Set Image Orientation"
### C... | 8 | 8 | 2 | [{"id": "G0", "claim": "The operator constants (the default config string, DEFAULT, LT and GT) should be moved out of the process class into the config class as public constants, since they are the possible values of the operator field stored there.", "category": "maintainability", "verdict": "supported", "priority": "... | null |
Adobe-Consulting-Services__acs-aem-commons__2465 | Adobe-Consulting-Services/acs-aem-commons | 2,465 | defect | fe1d698b3012909597490690b4fbcd054a10f4fa | 7a6a9cb51a33c5f2d4120a92e65daf4d0cb4ff10 | Add a dispatcher filter that calculates the ttl header based on a pag… | Add a dispatcher filter that calculates the ttl header based on a page property
@davidjgonzalez same remark applies here, I don't mind changing it to OSGi DS when you tell me what branch and when you want to start with release 5.0.0
Also as mentioned, these are HTTP Whiteboard filters. If @bstopp could tell us... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c599c57cbe..d93f4090f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
<!-- Keep this up to date! After a release, change the tag name to the latest release -->
[unreleased changes details]... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new file PropertyBasedDispatcherMaxAgeHeaderFilter.java is missing the standard Apache license header comment block at the top — add it, using the exact text supplied in the suggestion.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Adobe-Consulting-Services__acs-aem-commons__2667 | Adobe-Consulting-Services/acs-aem-commons | 2,667 | defect | f77c139ca8c885ab04519bff9b90e4feadf01ba1 | c7f20fce032322fb3821828234ebce1d2f807b0a | Remove HALT option from MCP as it can result in corruption | 
Removed Halt from MCP process modal as this can result in repo corruption sometimes (per Leo B.)
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index edfe2e9a08..ba5b9c60af 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
<!-- Keep this up to date! After a release, change the tag name to the latest release -->
[unreleased changes details... | 5 | 3 | 0 | [{"id": "G0", "claim": "The FAM watchdog (task.timeout) should also be defaulted to -1 — no watchdog, never terminate — so running tasks are never forcefully interrupted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "badvision advises keeping the... | null |
Adobe-Consulting-Services__acs-aem-commons__2669 | Adobe-Consulting-Services/acs-aem-commons | 2,669 | defect | 276905820fb5d7916351eeac484431cd4db06785 | f15ea0f46b44b0b22b8e4c6c18c81b13ee9794d6 | #2507 improve mcp reports | * Added a ``GenericBlobReport`` which stores the information in a simple JSON in the repo instead of adding a node for each row.
* Adapted the Excel Reporting Servlet to handle both the GenericReport and the GenericBlobReport storage
* Adapted all MCP processes to use the new JSON Store.
TODO:
* Testing in AEM | diff --git a/CHANGELOG.md b/CHANGELOG.md
index f794ea0aeb..0b98ecc316 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
- #2612 - Fix build on Windows
- #2648 - Don't implement Provider type SlingHttpServletRequest in FakeSlingHttpServl... | 3 | 2 | 0 | [{"id": "G0", "claim": "The javadoc @return tag of getReport should read \"the report or null if there is no report\" instead of the typo \"not report\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stray extra closing brace (and blank line)... | null |
Adobe-Consulting-Services__acs-aem-commons__2751 | Adobe-Consulting-Services/acs-aem-commons | 2,751 | defect | 77104988d6971e7d43aa973f859bcdf5a9596f25 | 2a2e45435c0637fcc5ecdc1581fca6fc5087136b | Fix #2749 and #2488: Manage Controlled Processes does not show any process | Fix #2749 and #2488:
When serializing data using
```
gson.toJson(object, writer);
```
we need to ensure response.getWriter() is closed in the end, otherwise it might return an empty json.
see the explanation in https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2749#issuecomment-986244291
... | diff --git a/bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ControlledProcessManagerServlet.java b/bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ControlledProcessManagerServlet.java
index ad4d482db8..07139f9842 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ControlledProcessManagerServlet.j... | 2 | 2 | 1 | [{"id": "G0", "claim": "The servlet's response writer is closed automatically by the servlet engine, so explicitly closing it in the servlets is unnecessary and might cause issues with filters.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test... | null |
Adobe-Consulting-Services__acs-aem-commons__2795 | Adobe-Consulting-Services/acs-aem-commons | 2,795 | defect | ff15e21e422f9de40164639e2d636c3c0d340080 | 85c87ffde5e94ec70f4cbff54e96d18e3ed0378e | first version of working context-prefix mechanism | Here is a working version (PoC if you will), of the "context prefix" feature, see #2794.
- The prefix can be set, unset and updated using the UI (dialog)
<img width="302" alt="image" src="https://user-images.githubusercontent.com/1144233/156466719-10e1ec8c-886b-4727-ae56-3894b58ddadd.png">
<img width="630" alt="im... | diff --git a/bundle/src/main/java/com/adobe/acs/commons/redirects/filter/RedirectFilter.java b/bundle/src/main/java/com/adobe/acs/commons/redirects/filter/RedirectFilter.java
index 413524990c..3f4cadbe7b 100755
--- a/bundle/src/main/java/com/adobe/acs/commons/redirects/filter/RedirectFilter.java
+++ b/bundle/src/main/j... | 5 | 4 | 3 | [{"id": "G0", "claim": "The context-prefix lookup in RedirectFilter.evaluate(), RedirectFilter.match() and Redirects.init() should be expressed as configResource.getValueMap() plus properties.get(Redirects.CFG_PROP_CONTEXT_PREFIX, \"\") instead of ResourceUtil.getValueMap with Optional chaining, and the final modifiers... | null |
Adobe-Consulting-Services__acs-aem-commons__2846 | Adobe-Consulting-Services/acs-aem-commons | 2,846 | defect | 31bfd6cd4d63e2f9105c379abf7725cb8cb8393d | af1e5fe790cd51d49e398ee322f5f8ed7de21c02 | #2837: use injector-specific annotations to prevent the wrong injector from kicking in | Fix https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2837 | diff --git a/bundle/src/main/java/com/adobe/acs/commons/mcp/model/GenericBlobReport.java b/bundle/src/main/java/com/adobe/acs/commons/mcp/model/GenericBlobReport.java
index 609ddd729a..97caaaa391 100644
--- a/bundle/src/main/java/com/adobe/acs/commons/mcp/model/GenericBlobReport.java
+++ b/bundle/src/main/java/com/adob... | 2 | 2 | 2 | [{"id": "G0", "claim": "The report models should use injector-specific annotations (e.g. @ValueMapValue) on all of their fields, not only the multi-value ones, so the remaining generic @Inject fields do not let the wrong injector kick in.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
Adobe-Consulting-Services__acs-aem-commons__2937 | Adobe-Consulting-Services/acs-aem-commons | 2,937 | defect | 06d2c1c5e82545feabba8251e6f3a0ee503964e4 | f76163250070614826573b1ba27eb0c396a49588 | Feature: Providing a way to clean up package installs | When you use Adobe Cloud Manager to deploy new code to your environments on Adobe Managed Service instances, it will generate a unique version number for your package, based on the configuration in the pom.xml file.
The downside of this approach, is that over time, multiple versions of the packages are building up in ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c2807cca47..cfeb62029a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## Unreleased ([details][unreleased changes details])
<!-- Keep this up to date! After a release, change the tag na... | 18 | 15 | 3 | [{"id": "G0", "claim": "Only package versions that are not currently installed should be eligible for garbage collection; a guard must ensure the currently installed package is never removed, whether or not it is the latest version.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
Adobe-Consulting-Services__acs-aem-commons__3023 | Adobe-Consulting-Services/acs-aem-commons | 3,023 | defect | 486e6098275fcb496ed5c01631e9e702b3c3d5e6 | d52b13f57a5515d909e0bcbb00e270f843db965c | #3008 add State column in redirects UI | The PR introduces a new column in the Redirect Manager UI to show the state , e.g. Active, Expired, Pending, etc...
See https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/3008 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index efebdc9d64..f61266534c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
### Added
+- #3008 - Redirect Manager: Add "State" column
- #2977 - Redirect Manager: Add "Effective From" fiel... | 2 | 2 | 0 | [{"id": "G0", "claim": "The Javadoc timeline comment misspells the property name as 'intilDate'; it should read 'untilDate'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The EXPIRED description string capitalizes 'Time' as 'off Time' where it sh... | null |
Adobe-Consulting-Services__acs-aem-commons__3227 | Adobe-Consulting-Services/acs-aem-commons | 3,227 | defect | 81a8041e6281bde221522e16a7d340d0cb62259d | c23e95580244dd479c29490cd33d2ba0612af45f | Use JcrPackageDefinition for retrieving metadata | This is less error prone and faster than acting on the compressed underlying ZIP binary
Always close JcrPackageManager (although it should now no longer be necessary)
Some refactoring
This closes #3225 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1515be19b1..c3f43ebd64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## Unreleased ([details][unreleased changes details])
+- #3225 - PackageGarbageCollector leaves temp files behind... | 2 | 2 | 0 | [{"id": "G0", "claim": "The @Nullable annotation inside Optional<JcrPackageDefinition> is redundant and seems odd, since Optional already covers the nullable case, and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Uncheck... | null |
Adobe-Consulting-Services__acs-aem-commons__3273 | Adobe-Consulting-Services/acs-aem-commons | 3,273 | defect | bc18c3664fc475cad723ba39efb91b712f34b756 | a32df9cf0d6b3c914c389d240da2ea472374bf7a | Re-enable JUnit 4 and JUnit 3 unit tests | Looks like this was broken in #3233. With the addition of JUnit 5, the existing unit tests got ignored (note the sharp drop in overall coverage in the Codecov report). This PR should restore those old tests to full functionality.
Fixes #3270 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6df3083972..8e2c30f0b0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## Unreleased ([details][unreleased changes details])
+### Fix
+
+- Re-enable accidentally disabled unit tests
+... | 4 | 4 | 0 | [{"id": "G0", "claim": "Manage all JUnit dependency versions together with a junit-bom import in the parent POM instead of pinning them individually.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Declare the JUnit engines only as surefire plugi... | null |
Adobe-Consulting-Services__acs-aem-commons__3479 | Adobe-Consulting-Services/acs-aem-commons | 3,479 | defect | 213279b88757a3798893397f09ec74e39f16a1b3 | 979a2981061c602dc544428ddf33ddfc5ad99bb2 | Bugfix: Fixed Configuration Model for Redirect Manager after change in "redirect" resource as "sling:Folder" | ### **Issue**: Regression
### **Cause**:
The resource type for redirects has been changed to `"sling:Folder"`. However, the JCR query used to display the list of configurations has not been updated and currently only retrieves nodes of type `"nt:unstructured"`.
### **Fix**:
Refactor Configurations Model to ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c9ada7f55..43c7fd685b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## Unreleased ([details][unreleased changes details])
+### Fixed
+- #3479 - Fixed JCR Query for Redirect Manager ... | 2 | 2 | 2 | [{"id": "G0", "claim": "The code should be rewritten further to get rid of the JCR query at all, iterating over the children of /conf and matching the bucket/configName resource instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "CreateRedirectConfig... | null |
Adobe-Consulting-Services__acs-aem-commons__3484 | Adobe-Consulting-Services/acs-aem-commons | 3,484 | defect | 213279b88757a3798893397f09ec74e39f16a1b3 | d747a74bdffa620c123040101281f42ef037f99f | A servlet to export redirects to a TXT file to use with pipeline-free redirects | @krystiannowak @kwin @joerghoh
the PR adds a servlet to export redirects into a text file, e.g. http://localhost:4502/conf/my-site/settings/redirects.txt
```
# Redirect Map File
/abc2 /content/applications
/xyz /legacy-1
/content/applications1 /legacy-2
```
This way Redirect Manager can serve redirects f... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c9ada7f55..f0e9f10f7d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
<!-- Keep this up to date! After a release, change the tag name to the latest release -->-
## Unreleased ([details]... | 3 | 3 | 0 | [{"id": "G0", "claim": "The copyright year range in the new files' license headers should be updated to include 2024 as the current year.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The servlet should offer an option (e.g. a selector or param) ... | null |
Adobe-Consulting-Services__acs-aem-commons__3589 | Adobe-Consulting-Services/acs-aem-commons | 3,589 | defect | 530aa757de8c45b95f6a31ff3f3b6107ac02c644 | 28ccc02e4c96c252e505872528e279a5538f4a96 | fixes #2745: Remove cyclic dependency | Remove cyclic dependency by not using OSGi DS to reference the index manager from the EnsureOakIndex OSGi classes | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1701b6dd13..15c8530ad6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
- #3555 Content Sync: prevent timeout errors when sync-ing AEM cloud instances with large volumes of data
- #3560 Re... | 4 | 4 | 0 | [{"id": "G0", "claim": "The Unreleased section of CHANGELOG.md lists items (including #2745) that were already released in 6.12.0, so the changelog needs to be cleaned up before merging.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `webconso... | null |
Adobe-Consulting-Services__acs-aem-commons__741 | Adobe-Consulting-Services/acs-aem-commons | 741 | defect | 79de195d90b55d96a9c0a5c12241a1158c5a7ae1 | bdeafcd150d91564fd844ffe10e31e2cc9415b40 | Content traversing workflows - Synthetic WF and Replication w Options | This PR contains mechanics to support Content Traversing workflows. This is useful in AEM 6.2 as WF Folders can now be selected for applying Workflow to.
- Content Visitor - Walks Page or Asset trees looking for cq:Pages and dam:Assets to process.
- SyntheticWorkflowWrapper - WF Process that executes a param WF Model a... | diff --git a/bundle/src/main/java/com/adobe/acs/commons/util/WorkflowHelper.java b/bundle/src/main/java/com/adobe/acs/commons/util/WorkflowHelper.java
new file mode 100644
index 0000000000..81ca8adb29
--- /dev/null
+++ b/bundle/src/main/java/com/adobe/acs/commons/util/WorkflowHelper.java
@@ -0,0 +1,47 @@
+/*
+ * #%L
+ ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The `count` AtomicInteger in ReplicateWithOptionsWorkflowProcess.execute is created/instantiated but never consumed, so payload counting does nothing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SyntheticWrapperWorkflowPro... | null |
Adyen__kubectl-rexec__68 | Adyen/kubectl-rexec | 68 | defect | e1dccc5c6f9505b6d227eb26e6a41734e02c6c53 | 7b37706529518d819b14b56cc493f65697ce5289 | feat: add audited copy (cp) command | ## Summary
We are using rexec for recorded access for containers inside k8s clusters. For webapps and jobs we also need copy functionality. Since kubectl cp depends on exec, we implemented our own copy using rexec.
**Security Reasons:** Only copying FROM pods is supported (download only). Copying TO pods is inten... | diff --git a/README.md b/README.md
index e1079e9..22469dd 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,7 @@ Tests are currently implemented for the rexec/server
Run the tests like:
`go test ./rexec/server`
+`go test ./plugin`
## Documentation
See the [Design](https://github.com/Adyen/kubectl-rexec/blob/m... | 1 | 1 | 1 | [{"id": "G0", "claim": "Tar archive entry names, which may contain '..', are used unsanitized in file-system operations when computing extraction target paths, allowing zip-slip path traversal outside the destination.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Aetf__libtsm__28 | Aetf/libtsm | 28 | defect | f3015045f1d6984c617997701195d7c02f5d2530 | 2409560a4556b144ff094df617cb81b54c4d59b3 | Expose the VTE flags | This allows the client of the library to supervise the current state
of the terminal and can be useful e.g. for writing your own keyboard
handler. | diff --git a/src/tsm/libtsm.h b/src/tsm/libtsm.h
index 0cc85ab..5a7130c 100644
--- a/src/tsm/libtsm.h
+++ b/src/tsm/libtsm.h
@@ -284,6 +284,26 @@ tsm_age_t tsm_screen_draw(struct tsm_screen *con, tsm_screen_draw_cb draw_cb,
struct tsm_vte;
+/* terminal flags */
+#define TSM_VTE_FLAG_CURSOR_KEY_MODE 0x00000001 /*... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new function tsm_vte_get_flags needs to be added to the exported symbols list in src/tsm/libtsm.sym (LIBTSM_4_1 version script).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Aetf__libtsm__29 | Aetf/libtsm | 29 | defect | f3015045f1d6984c617997701195d7c02f5d2530 | c17ab8885b577bc94a37897d09ff42c8ec7645ab | Add mouse tracking | This patch implements the legacy X10 mode and the newer SGR and SGR Pixel modes. It omits the EXT and URXVT modes because their use is discouraged anyway (https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking). With the first one the encoding is ambigious and the second one is no improvement over SG... | diff --git a/src/tsm/libtsm.h b/src/tsm/libtsm.h
index 0cc85ab..899b21a 100644
--- a/src/tsm/libtsm.h
+++ b/src/tsm/libtsm.h
@@ -320,6 +320,23 @@ enum tsm_vte_color {
TSM_COLOR_NUM
};
+/* mouse tracking */
+#define TSM_VTE_MOUSE_MODE_X10 9
+#define TSM_VTE_MOUSE_EVENT_BTN 1002
+#define TSM_VTE_MOUSE_EVENT_AN... | 5 | 5 | 1 | [{"id": "G0", "claim": "The duplicate `tsm_vte_get_mouse_event` declaration inside tsm-vte.c is redundant and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new calls in test_vte_null use spaces instead of the file's tabs ... | null |
Aetf__libtsm__55 | Aetf/libtsm | 55 | defect | 2ca210165915cbe8d6a98ea96b4531ca1e6425b8 | 1ddb70e707c5813f129e84141867e95f5c9e1d34 | Respond to `OSC 10` (fg color), `OSC 11` (bg color) and `OSC 4` (256-color) queries | * Add `do_osc_internal()` for handling certain `OSC` commands within libtsm instead of delegating them to `vte->osc_cb()`.
* Respond to `OSC 10` (fg color) and `OSC 11` (bg color) queries
Fix #53 | diff --git a/src/tsm/tsm-vte.c b/src/tsm/tsm-vte.c
index cdbdc5e..947e44e 100644
--- a/src/tsm/tsm-vte.c
+++ b/src/tsm/tsm-vte.c
@@ -1220,9 +1220,45 @@ static void do_esc(struct tsm_vte *vte, uint32_t data)
}
}
-static void csi_attribute(struct tsm_vte *vte)
+static void palette_rgb(struct tsm_vte *vte, int code, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment on the OSC 4 handling saying that OSC 4 is \"set/read color palette\" and that only reading (getting) a color is supported, not setting it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AgentOps-AI__tokencost__109 | AgentOps-AI/tokencost | 109 | defect | fc8a2f08978e39b930b43f99b8b167d286592ef9 | 135af9376ec0ea722c37a549ff13c463f13e22b9 | feat: new `refresh_prices` method for synchronous data fetching | # Changelog
Closes #107 #106 #93 #81 #74
- New `refresh_prices` method that uses `update_token_costs` and optionally writes to `model_prices.json`
- Updated the `update_prices.py` script to use this method
- Removed all files and code related to `llama-index`
| diff --git a/pyproject.toml b/pyproject.toml
index 8d34c0c..e12fee9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,14 +10,15 @@ tokencost = ["model_prices.json"]
[project]
name = "tokencost"
-version = "0.1.20"
+version = "0.2.0"
authors = [
{ name = "Trisha Pan", email = "trishaepan@gmail.com" },
{... | 2 | 1 | 0 | [{"id": "G0", "claim": "Consider adding an inline comment to clarify the intent behind the regex pattern, which now uses DOTALL mode for matching.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When using asyncio.run, ensure this synchronous wra... | null |
AgentOps-AI__tokencost__3 | AgentOps-AI/tokencost | 3 | defect | 1225b5e84e45785979f19603bde55d662461badf | 15bf7ee1c666bb3a94937fc97cc32ca4641cd959 | add error handling, add tests, add tox and pyproject files | - Add error handling to methods for invalid models and empty inputs
- Increase test coverage (missing models, invalid models, empty inputs)
- Make methods not case-sensitive
- Add `tox.ini` and `pyproject.toml` files | diff --git a/README.md b/README.md
index 9232470..8b679c8 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,16 @@ token_count, cost = calculator.calculate(text)
print(f"Token Count: {token_count}, Cost: {cost}")
```
+### Running tests
+0. Install ```pytest``` if you don't have it already
+```python
+npi install p... | 1 | 1 | 0 | [{"id": "G0", "claim": "The README's test-installation instructions say `npi install pytest` when they should say `pip install pytest`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AgentOptimizer__agentopt__11 | AgentOptimizer/agentopt | 11 | defect | 12ebcb136c9f1c0f5e9b7d56f74dcd65e24b0a74 | 21d4e052215c55b633f35c44827dcedcc051019c | Add SQLite disk persistence for response cache | ## Summary
- Add optional `cache_dir` parameter to `ResponseCache` and `LLMTracker` for persisting cache entries in a SQLite database (`cache.db`)
- Cache entries survive process restarts: loaded from DB on init, flushed lazily via background thread and on close
- Simplified API: no LRU eviction, no CacheStats, no runt... | diff --git a/agentproxy/src/agentproxy/cache.py b/agentproxy/src/agentproxy/cache.py
index c155e33..0e90e97 100644
--- a/agentproxy/src/agentproxy/cache.py
+++ b/agentproxy/src/agentproxy/cache.py
@@ -6,14 +6,26 @@
Enabled by default; can be disabled via ``LLMTracker(cache=False)`` or at
runtime with ``tracker.cach... | 6 | 3 | 1 | [{"id": "G0", "claim": "CacheEntry.from_dict() uses base64.b64decode without validation, so a corrupted-but-JSON-parsable cache file raises binascii.Error that _load_from_disk does not catch, crashing cache initialization instead of skipping the file.", "category": "correctness", "verdict": "uncertain", "priority": "P1... | null |
AgentOptimizer__agentopt__33 | AgentOptimizer/agentopt | 33 | defect | 4c40049bfcc000e77fbdbcb4510c0899a1ce415e | 8d05dd68f470b191e297eadda7a67067d07a8c85 | layered presentation of model results for bandit algs | # Summary
- Add num_samples field to ModelResult and normalize the price property to return per-sample cost instead of total cost, making pricing comparable across combos with different evaluation counts
- Add layered result presentation for bandit algorithms (ThresholdSE, EpsilonLUCB, ArmElimination): when combos ar... | diff --git a/src/agentopt/model_selection/arm_elimination.py b/src/agentopt/model_selection/arm_elimination.py
index e64d9dd..c545e13 100644
--- a/src/agentopt/model_selection/arm_elimination.py
+++ b/src/agentopt/model_selection/arm_elimination.py
@@ -158,6 +158,7 @@ def _select_sequential(self) -> SelectionResults:
... | 5 | 5 | 5 | [{"id": "G0", "claim": "num_samples can be set to 0 (or a negative value) when all datapoint evaluations fail, so the new per-sample ModelResult.price division can raise ZeroDivisionError; guard it via max(len(scores), 1) at the call sites and/or a zero-guard or Field(ge=1) validation in ModelResult.", "category": "cor... | null |
AgentOptimizer__agentopt__90 | AgentOptimizer/agentopt | 90 | defect | 608295e7c7ff89c7265d97f5f97470f8cc8d74a4 | 20269a2ede52f2f911245c0b512f5dfcfb1ff0d0 | Add Gemini CLI proxy support | ## Summary
This PR adds first-class proxy interception support for Gemini CLI traffic so AgentOpt can observe and attribute Gemini CLI LLM calls using the same provider abstraction already used for OpenAI/Anthropic/Google.
## What changed
### 1) Provider registry updates
- Added a new default provider entry in `src/ag... | diff --git a/examples/gemini_cli_example.py b/examples/gemini_cli_example.py
new file mode 100644
index 0000000..8e479fa
--- /dev/null
+++ b/examples/gemini_cli_example.py
@@ -0,0 +1,44 @@
+"""Example: Track Gemini CLI calls through AgentOpt proxy.
+
+Prerequisites:
+ 1. Install Gemini CLI and authenticate it
+ 2... | 3 | 3 | 1 | [{"id": "G0", "claim": "The pull request should include an example showing how to use the Gemini CLI support.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new example should not expose the LLMTracker plumbing it anchors to (examples/gemini_c... | null |
AgenticGoKit__AgenticGoKit__19 | AgenticGoKit/AgenticGoKit | 19 | defect | 332cdbd904477b87babb0c3b61506abe7fc73891 | 44b5292f7af34e794ffd2d8d788b803950602980 | BugFix: | - Scaffold was not gerating correct agentflow tag
- Native Web search tool now uses Brave Search APIs | diff --git a/go.mod b/go.mod
index a5d7797..ca135ee 100644
--- a/go.mod
+++ b/go.mod
@@ -1,39 +1,38 @@
-module github.com/kunalkushwaha/agentflow
+module kunalkushwaha/agentflow
-go 1.23.0
-
-toolchain go1.23.8
+go 1.24.1
require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.0
github.com/BurntSushi/toml... | 7 | 2 | 2 | [{"id": "G0", "claim": "The root go.mod pins AgentFlow to v0.2.1 while AgentFlowVersion in scaffold/config.go is v0.2.2, causing a version mismatch; the require should be bumped to v0.2.2.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `strings`... | null |
AgileRL__AgileRL__391 | AgileRL/AgileRL | 391 | defect | b28e10fbd23015138da9602fc39eff0ed24e46f0 | 53751517c2cb1cce4373d2ba474bb481908dd237 | Bug fix load on no-cuda device | Bug fix for models saved on GPU machine and loaded on only-CPU machine. | diff --git a/agilerl/algorithms/core/base.py b/agilerl/algorithms/core/base.py
index 70dc0caed..a5f43339c 100644
--- a/agilerl/algorithms/core/base.py
+++ b/agilerl/algorithms/core/base.py
@@ -801,11 +801,13 @@ def load_checkpoint(self, path: str) -> None:
if isinstance(module_cls, list):
... | 1 | 1 | 1 | [{"id": "G0", "claim": "In test_gpu_to_no_cuda_load_checkpoint_single_agent, the subprocess script hardcodes the action space initialization to generate_random_box_space((4,)) while the parameterized test's action space is generate_random_box_space((2,)), and this dimension inconsistency causes an incompatibility when ... | null |
Ahmad45123__workup__102 | Ahmad45123/workup | 102 | defect | f6bb677bd5b4b80243590c63f217771ecf88f6be | 0bacf7e53c47b964a5f8ccd06db75458652c9b6a | Added Caching for findByEmail and fixed the bug with email uniquness | - configured redis cache
- Added caching for findByEmail using @Cachable annotation
- Edited tests to add redis container
- Fixed bug with mail uniqueness when registering
| diff --git a/services/users/src/main/java/com/workup/users/RedisConfig.java b/services/users/src/main/java/com/workup/users/RedisConfig.java
new file mode 100644
index 00000000..2d1939f7
--- /dev/null
+++ b/services/users/src/main/java/com/workup/users/RedisConfig.java
@@ -0,0 +1,8 @@
+package com.workup.users;
+
+impo... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Redis cache host should be an environment variable so that Docker can set the correct host in production.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Ahmad45123__workup__43 | Ahmad45123/workup | 43 | defect | a9f281c1293b1ad6a66f552a8679cdb1824d8539 | 9dff4bf12065b31b44ea253afe8f7de96d2107f8 | Feat/contract and payment commands | - Added more clarifying comments on the req//res templates of the commands
- Added validation to the TerminationRequestCommand
- Implemented HandleTerminationRequest (with initial prototype of validation).
- @Kemosalamy added the remaining configurations of the MQ. | diff --git a/services/contracts/src/main/java/com/workup/contracts/commands/ContractCommandMap.java b/services/contracts/src/main/java/com/workup/contracts/commands/ContractCommandMap.java
index 9a2bb6a1..e233d90c 100644
--- a/services/contracts/src/main/java/com/workup/contracts/commands/ContractCommandMap.java
+++ b/... | 15 | 13 | 0 | [{"id": "G0", "claim": "The code in HandleTerminationRequestCommand.java is not formatted.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The println in HandleTerminationRequestCommand should be reformatted to System.out.println(\"[x] Updated Te... | null |
Ahmad45123__workup__47 | Ahmad45123/workup | 47 | defect | 2e3991cf2cc51d2425b9e100824baf9de88eb0ec | d892db13c39529ba8e97e3b3e9d6926f37e0341d | [Contracts] feat: contracts mark as paid command | - Implemented the Mark Milestone as Paid command.
- Fixed a bug in the TerminationRequest Repository
- Fixed small bug in the InitiateContractCommand
- Added Testing for the commands ( HandleContractTermination, RequestContractTermination).
- TODO: Testing Mark as Paid ( need first some more endpoints to be able to... | diff --git a/services/contracts/src/main/java/com/workup/contracts/ContractsApplication.java b/services/contracts/src/main/java/com/workup/contracts/ContractsApplication.java
index 69afc53c..4eae285e 100644
--- a/services/contracts/src/main/java/com/workup/contracts/ContractsApplication.java
+++ b/services/contracts/sr... | 6 | 4 | 0 | [{"id": "G0", "claim": "The name \"MarkMilestonePayment\" registered for the new command is not meaningful about what it marks — the reviewer asks \"mark what?\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added comment \"//We are termin... | null |
Ahmad45123__workup__53 | Ahmad45123/workup | 53 | defect | 53fce39d027607089fbf99c6f8abac1ca5c01522 | 1d7667ec06ea2ca1e48c6cb53b18e6a6a1f0098d | Users Authentication Requests/Responses | # What
Added all required Authentication (register/login) requests and responses.
# Test
Added new request and response objects to the serialization test | diff --git a/services/users/src/test/java/com/workup/users/RequestsAndResponsesTest.java b/services/users/src/test/java/com/workup/users/RequestsAndResponsesTest.java
index f005e3a8..1a2e6f11 100644
--- a/services/users/src/test/java/com/workup/users/RequestsAndResponsesTest.java
+++ b/services/users/src/test/java/com/... | 6 | 4 | 3 | [{"id": "G0", "claim": "The new request/response classes must use @SuperBuilder(setterPrefix = \"with\") and @Jacksonized, as the rest of the codebase does, instead of @Builder with @JsonDeserialize.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Authent... | null |
Ahmad45123__workup__54 | Ahmad45123/workup | 54 | defect | 1f34452fab19d232947c992d6df18199fae8e3f9 | 6c0279f59e4c65b75803bcd3c807180703a134c4 | feat: Add all freelancer profile CRUD operations | Add CRUD operations of the following classes:
1. Education
2. Experience
3. Achievement
4. Skill
5. Language | diff --git a/services/payments/src/main/java/com/workup/payments/RabbitMQListener.java b/services/payments/src/main/java/com/workup/payments/RabbitMQListener.java
index 3aec1870..9bc796e8 100644
--- a/services/payments/src/main/java/com/workup/payments/RabbitMQListener.java
+++ b/services/payments/src/main/java/com/wor... | 1 | 1 | 0 | [{"id": "G0", "claim": "The MongoDB repository interfaces (Achievement, Education, Experience, Freelancer) are duplicated in the db package and the PR should remove the db-package copies and update imports to use the repositories package.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
Ahmad45123__workup__82 | Ahmad45123/workup | 82 | defect | a62b1cd7951225c4d2c4a8371181cbcbddf635b0 | f09a48d35e1286e7ed4f1e948d516a9594376530 | Contracts commands cache implementation | worked on remaining commands in the contracts service, added initial caching implementation, integrated sending to the payments service.
next steps after this pull request(since it is getting too large):
- thorough testing(properly implementing tests)
- some commands need fixing
- implement cache in other GET c... | diff --git a/services/contracts/pom.xml b/services/contracts/pom.xml
index a377bb9a..0ca96710 100644
--- a/services/contracts/pom.xml
+++ b/services/contracts/pom.xml
@@ -20,6 +20,10 @@
<maven.compiler.target>21</maven.compiler.target>
</properties>
<dependencies>
+ <dependency>
+ <... | 1 | 1 | 1 | [{"id": "G0", "claim": "Payment should be sent on the IN_REVIEW -> ACCEPTED transition (in EvaluateMilestoneCommand) rather than on the transition to IN_REVIEW where the placeholder sits.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Ahoo-Wang__CosId__396 | Ahoo-Wang/CosId | 396 | defect | ce0e30d88a64232d7c85424035c30b95384a6344 | efe8ae4bba8cee3904c4fba322ccc7017acc70a1 | feat: support `spring-boot-actuator` | Changes proposed in this pull request:
- feat: support `Statistical`
- feat: support `SegmentIdStat`
- feat: support `SnowflakeIdStat`
- feat: support `CosIdEndpoint`
- feat: support `CosIdGeneratorEndpoint`
- feat: support `CosIdStringGeneratorEndpoint`
``` yaml
management:
endpoints:
web:
exp... | diff --git a/cosid-core/src/main/java/me/ahoo/cosid/Decorator.java b/cosid-core/src/main/java/me/ahoo/cosid/Decorator.java
new file mode 100644
index 0000000000..cb8c254394
--- /dev/null
+++ b/cosid-core/src/main/java/me/ahoo/cosid/Decorator.java
@@ -0,0 +1,41 @@
+package me.ahoo.cosid;
+
+import javax.annotation.Nonnu... | 1 | 1 | 1 | [{"id": "G0", "claim": "The static Decorator.getActual method declaring a type parameter used only in the return type is a misuse of generics: operations on it are unchecked, it hides unsafe casts at invocations, and it interacts badly with overload resolution.", "category": "design", "verdict": "supported", "priority"... | null |
Aider-AI__aider__1239 | Aider-AI/aider | 1,239 | defect | 301c4265b76a5b8c4a939acb59314e091cacebec | e8e1bd556f4dd1ad175a76fb402134f658824804 | fix: Handle new file creation in the same folder | This is a fix for https://github.com/paul-gauthier/aider/issues/1222. Currently, if you have an existing file and Aider tries to create a file with similar name, the new file doesn't get created since it's fuzzy-matched to an existing file [here](https://github.com/paul-gauthier/aider/blob/301c4265b76a5b8c4a939acb59314... | diff --git a/aider/coders/editblock_coder.py b/aider/coders/editblock_coder.py
index 67439d1c0b2..05803dd77f0 100644
--- a/aider/coders/editblock_coder.py
+++ b/aider/coders/editblock_coder.py
@@ -442,7 +442,15 @@ def find_original_update_blocks(content, fence=DEFAULT_FENCE, valid_fnames=None)
# Check for SEAR... | 1 | 1 | 1 | [{"id": "G0", "claim": "Indexing `lines[i + 1]` without checking `i + 1 < len(lines)` may raise IndexError when HEAD is the last line of the content; add the bounds check before indexing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Aider-AI__aider__199 | Aider-AI/aider | 199 | defect | f62e3e2c902f9a61723944aad0feb190ab0bf6e2 | 7a75cc16e4496da17811a4ac7ec23dd29a730f2c | Openrouter compatibility | Enabling aider to work with openrouter.ai as per #170
If openai-api-base has openrouter.ai in it then it will use a different model class to instantiate and dynamically load the costs and max_tokens from the model list.
It works for all the manual testing I did but needs unit tests and more thorough testing, par... | diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py
index fe1415f0289..04b0ef35c4d 100755
--- a/aider/coders/base_coder.py
+++ b/aider/coders/base_coder.py
@@ -657,7 +657,7 @@ def show_send_output_stream(self, completion):
if len(chunk.choices) == 0:
continue
- ... | 6 | 3 | 1 | [{"id": "G0", "claim": "ChatSummary is currently broken in this implementation (it stores the model name and calls .weak_model on it), and the author expects to fix it in the next day or two.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Running th... | null |
Aider-AI__aider__379 | Aider-AI/aider | 379 | defect | fd34766aa9ef4be7f90cc4eecc2a0aa5f66e0516 | 91bbb0a02cb932aeb59569bc0dc4d3754f1229e4 | add support for gpt-4-vision | I didn't know where to put the IMAGE_EXTENSIONS var so just hard coded it for now
The vision model isn't happy if max_tokens isn't set (it was truncating the response) so I hardcoded it in sendchat, I expect we can remove this when it moves out of preview.
I added a dependency on Pillow to requirements.in to get ... | diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py
index 8aa4ecba1c2..e15156adf11 100755
--- a/aider/coders/base_coder.py
+++ b/aider/coders/base_coder.py
@@ -38,6 +38,8 @@ class ExhaustedContextWindow(Exception):
def wrap_fence(name):
return f"<{name}>", f"</{name}>"
+#NOTE currently duplicat... | 3 | 2 | 1 | [{"id": "G0", "claim": "In get_files_messages the images message should be followed by an assistant turn saying \"Ok\" so the chat history keeps alternating turns.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Sending max_tokens=4096 when switching... | null |
Aider-AI__aider__380 | Aider-AI/aider | 380 | defect | fd34766aa9ef4be7f90cc4eecc2a0aa5f66e0516 | 0f1edd65004cf2bf43206c627e0f57088356e279 | Add `--message-file` flag and unit test | This commit introduces the `--message-file` flag to the `aider` tool, allowing users to specify a file containing the message to send to GPT. This feature processes the reply and then exits, disabling the chat mode. The implementation includes reading the content of the specified file and using it as the prompt message... | diff --git a/aider/main.py b/aider/main.py
index e1462f195b1..c96a42a2332 100644
--- a/aider/main.py
+++ b/aider/main.py
@@ -380,6 +380,12 @@ def main(argv=None, input=None, output=None, force_git_root=None):
metavar="COMMAND",
help="Specify a single message to send GPT, process reply then exit (disab... | 4 | 4 | 2 | [{"id": "G0", "claim": "The short form `-mf` (a single dash followed by two letters) is unusual; the reviewer would prefer a short form like `-f`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The message-file reading should use io.read_text() so that i... | null |
Aider-AI__aider__633 | Aider-AI/aider | 633 | defect | aa1e34982df478d53fcf6595c097fc932351ec8c | 22b7ed61a39f6b758639ba99e40645701bcadcdb | All AIDER_* environment vars may now be placed within .env | This PR addresses #630. I have left it in draft mode as I plan to add doc updates and perhaps some additional tests, but this is a first look. | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 95b44972668..9222c3e2541 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,5 @@
repos:
- - repo: https://github.com/pycqa/isort
+ - repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
dif... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new `TestMain.tearDown` cleanup (`self.tempdir_obj.cleanup()` on a plain `tempfile.TemporaryDirectory`) throws on Windows when a process still holds the temp dir or its files, so these errors need to be caught, e.g. by using `aider/utils.py:IgnorantTemporaryDirectory`.", "category": "correct... | null |
AikidoSec__firewall-java__166 | AikidoSec/firewall-java | 166 | defect | 31eb1be4309d190148df287b8e72c021799123a4 | 5775bd9aa521dc042b53ff9188ca45639ce4cbae | AIK-4442 Report blocked requests per IPList/Botlist | This will add support for a new feature where we check the usefulness of blocking lists by counting "monitored" requests. This also counts blocked requests to keep monitoring your site.
https://aikido.atlassian.net/browse/AIK-4442
| diff --git a/agent_api/src/main/java/dev/aikido/agent_api/background/cloud/api/ReportingApi.java b/agent_api/src/main/java/dev/aikido/agent_api/background/cloud/api/ReportingApi.java
index 4ef6af346..8293e6d66 100644
--- a/agent_api/src/main/java/dev/aikido/agent_api/background/cloud/api/ReportingApi.java
+++ b/agent_a... | 7 | 6 | 1 | [{"id": "G0", "claim": "The three blocking checks in WebRequestCollector.report are all evaluated before the ordered returns, so checkBlockedUserAgents (and its config.isBlockedUserAgent call) runs even when an earlier check already produced a Res; restructure with early returns so each check only runs if the previous ... | null |
AikidoSec__firewall-java__264 | AikidoSec/firewall-java | 264 | defect | f4c0f05690ea069cfde9b34bf1cfedd7dd14c75d | bf4ccd7835f5050d7f1127fffe3ec5a511943240 | Add outbound blocking | <!-- AIKIDO_SECURITY_PR_SUMMARY_START -->
## Summary by Aikido
| Security Issues: 0 | 🔍 Quality Issues: 2 | Resolved Issues: 0 |
| :--- | :--- | :--- |
**🚀 New Features**
* Implemented outbound domain blocking feature and integrated it into config.
**⚡ Enhancements**
* Added thread-local pending hostnames bridge... | diff --git a/agent/src/main/java/dev/aikido/agent/wrappers/ApacheHttpClientWrapper.java b/agent/src/main/java/dev/aikido/agent/wrappers/ApacheHttpClientWrapper.java
index 5b73db4b5..d6db0373b 100644
--- a/agent/src/main/java/dev/aikido/agent/wrappers/ApacheHttpClientWrapper.java
+++ b/agent/src/main/java/dev/aikido/age... | 6 | 6 | 4 | [{"id": "G0", "claim": "A ServiceConfigStore import was added to DNSRecordCollector without any other change, leaving an unused import whose purpose is unexplained.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A hostname blocked by the outboun... | null |
AikidoSec__firewall-java__269 | AikidoSec/firewall-java | 269 | defect | 52484862be7fbfae574b7ff91802aba5ccd7f497 | ad5c75c6aaa04432470eec7b1c7df13122739f25 | Normalizes path to prevent path traversal with "/./" | <!-- AIKIDO_SECURITY_PR_SUMMARY_START -->
## Summary by Aikido
| Security Issues: 0 | 🔍 Quality Issues: 1 | Resolved Issues: 0 |
| :--- | :--- | :--- |
**⚡ Enhancements**
* Normalized paths to remove '/./' sequences and collapse slashes.
**🔧 Refactors**
* Replaced ensureOneLeadingSlash with private normalizePath... | diff --git a/agent_api/src/main/java/dev/aikido/agent_api/vulnerabilities/path_traversal/UnsafePathChecker.java b/agent_api/src/main/java/dev/aikido/agent_api/vulnerabilities/path_traversal/UnsafePathChecker.java
index ac0ae308f..00b88d7e0 100644
--- a/agent_api/src/main/java/dev/aikido/agent_api/vulnerabilities/path_t... | 3 | 2 | 0 | [{"id": "G0", "claim": "normalizePath could use the regex /(\\./)+ to collapse repeated /./ sequences so the while-loop is no longer needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The normalization regex should be precompiled with Patter... | null |
AirtestProject__Airtest__544 | AirtestProject/Airtest | 544 | defect | 3b809b0249a73a78983624f50be4e87a01dd0290 | c2627b7417399195f7c63a428aa92617a567de2d | airtest v1.1.1 更新内容 | 1. airtest-windows模块,增加了一些用于支持windows游戏的相关接口:
- mouse_move
- mouse_down
- mouse_up
- key_press
- key_release
2. 报告页面进行了一些迭代,主要修改项如下:
- 默认显示断言,如无断言,显示全部步骤
- 步骤导航,断言显示用户输入的msg
- 步骤增加查看上下文功能
- 增加图片缩略图快览
- 修复部分浏览器打开页面为空的情况
- 录屏视频UI优化
| diff --git a/airtest/aircv/utils.py b/airtest/aircv/utils.py
index 7f1e349dd..39ea819c1 100644
--- a/airtest/aircv/utils.py
+++ b/airtest/aircv/utils.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+import os
import cv2
import numpy as np
from PIL import Image
@@ -68,3 +69,11 @@ def cv2_2_pil(cv... | 4 | 4 | 1 | [{"id": "G0", "claim": "mouse_down/mouse_up were added to the common api.py although Android cannot support them, so should Android support them too (questioning their placement in the common API)?", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `impo... | null |
AlaSQL__alasql__1794 | AlaSQL/alasql | 1,794 | defect | 294b3984b17fa949ec54922d77fbdba0b9ea4e6b | af0079c48ff53673b8858304f17a13050c20ec27 | Let LIKE work correctly with line breaks in values to fix #1734 | Fix #1734 - LIKE will not work correctly when there is a line break.
| diff --git a/src/15utility.js b/src/15utility.js
index 51345897e9..b1f06c27d7 100755
--- a/src/15utility.js
+++ b/src/15utility.js
@@ -1197,7 +1197,7 @@ var like = (utils.like = function (pattern, value, escape) {
} else if (c === '[' || c === ']') {
s += c;
} else if (c === '%') {
- s += '.*';
+ s += '[\... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new test should run the LIKE operation on the b values so it actually matches the value containing a newline.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There is a bug when the value is 0 because `value || ''` coerces 0 t... | null |
AlaSQL__alasql__2207 | AlaSQL/alasql | 2,207 | defect | 9b3888d2d91f7acfc0347d253e82934025d4b5dd | d356fda2be3cccf044642a4f1aac094f0f0f199c | Add multi-sheet import support for XLSX files | ## Description
Users could only import one sheet at a time from XLSX files. This adds support for importing multiple sheets in a single operation.
## Changes
**API additions:**
- `sheetid: "*"` - imports all sheets from workbook
- `sheetid: ['Sheet1', 'Sheet2']` - imports specific sheets by name
- `sheetid: [0, 1]` ... | diff --git a/src/84from.js b/src/84from.js
index 3eb6dea3c1..2345a46df5 100755
--- a/src/84from.js
+++ b/src/84from.js
@@ -440,6 +440,71 @@ function XLSXLSX(X, filename, opts, cb, idx, query) {
return text;
}
}
+
+ function processSheet(workbook, sheetid, sheetOpt) {
+ var range;
+ var sheetRes = [];
+ if (... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test file should be named test848.js and have its own dedicated Excel example files named test848.* instead of using Excel files from other tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AlaSQL__alasql__2278 | AlaSQL/alasql | 2,278 | defect | e6026118782c9573e8d9e70057802f258a4cccc3 | 573ad16be4340e28ababa69b9ac8a9c3d6a338d9 | Fix: Parser now throws error for invalid column names starting with digits | Thank you for the time you are putting into AlaSQL!
## Description
Fixes #1173 - `alasql.parse()` was silently accepting invalid SQL identifiers like `6minAvgOpac`, parsing them as a number literal with an implicit alias instead of throwing a syntax error.
**Root cause:** Lexer tokenized `6minAvgOpac` as NUMBER (`6`... | diff --git a/src/alasqlparser.jison b/src/alasqlparser.jison
index e50e5daad8..f4c89e3b74 100755
--- a/src/alasqlparser.jison
+++ b/src/alasqlparser.jison
@@ -266,6 +266,9 @@ SETS return 'SET'
'WHILE' return 'WHILE'
'WITH' ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The INVALID token rule should ignore scientific notation (which makes no sense there and would allow '+' in a name) and simply match digits followed by letters/underscore/digits, e.g. \\d+[a-zA-Z_\\d]+, instead of the scientific-notation-aware pattern.", "category": "correctness", "verdict": "su... | null |
AlaSQL__alasql__2304 | AlaSQL/alasql | 2,304 | defect | 3a69ea44108d4126f147be77eccb2b5d050acb61 | ee94d044ee32639e15601cecd22477b78eb8750d | Fix error with ORDER BY in INTERSECT/EXCEPT queries | Fixes the "Unable to get property 'modifier' of undefined or null reference" error that occurs when using ORDER BY with INTERSECT or EXCEPT operations.
## Description
This PR addresses issue #635 where queries using ORDER BY at the end of INTERSECT or EXCEPT operations would fail with a null reference error. The prob... | diff --git a/src/38query.js b/src/38query.js
index 23b8f2b98b..b81789898c 100755
--- a/src/38query.js
+++ b/src/38query.js
@@ -158,10 +158,10 @@ function queryfn3(query) {
// TODO Simplify this part of program
var ud, nd;
if (query.corresponding) {
- if (!query.unionallfn.query.modifier) query.unionallfn.que... | 2 | 2 | 1 | [{"id": "G0", "claim": "Rename the new test file to test/test635-B.js to match the issue number.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The prettier format check (yarn test-format-all) fails on src/38query.js and test/test635-B.js, so CI... | null |
AlaSQL__alasql__2305 | AlaSQL/alasql | 2,305 | defect | 3a69ea44108d4126f147be77eccb2b5d050acb61 | a7b37046bbdb5c4f48d62ba9e13ecd67bb4e953b | Implement binary operators for bitwise operations | Implements support for binary bitwise operators in AlaSQL: left shift (<<), right shift (>>), bitwise AND (&), bitwise OR (|), and bitwise XOR (^).
## Changes Made
- **Type Classification**: Added bitwise operators (`<<`, `>>`, `&`, `|`) to the `toTypeNumberOps` set in `src/50expression.js` to ensure proper type clas... | diff --git a/src/50expression.js b/src/50expression.js
index b1a32bd1b2..2497dc71f4 100755
--- a/src/50expression.js
+++ b/src/50expression.js
@@ -187,7 +187,7 @@
}
}
- const toTypeNumberOps = new Set(['-', '*', '/', '%', '^']);
+ const toTypeNumberOps = new Set(['-', '*', '/', '%', '^', '<<', '>>', '&', '|']);
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test file should be renamed to test155-B.js and its tests refactored to deepEqual the final object instead of using many small assert calls.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AlaSQL__alasql__2308 | AlaSQL/alasql | 2,308 | defect | 3a69ea44108d4126f147be77eccb2b5d050acb61 | d09acf3026eb14924c5a5cbf90f1bdca80e8f93f | Fix REGEXP to support MySQL word boundaries for exact word search | Thank you for the time you are putting into AlaSQL!
## Description
Fixes the issue where MySQL REGEXP word boundaries `[[:<:]]` and `[[:>:]]` were not recognized by AlaSQL, preventing exact word matching in REGEXP queries.
## Changes Made
- **Modified `REGEXP_LIKE` function** in `src/55functions.js` to convert MySQ... | diff --git a/src/55functions.js b/src/55functions.js
index 7164b69d78..6b0de2e14b 100644
--- a/src/55functions.js
+++ b/src/55functions.js
@@ -192,7 +192,11 @@ stdlib.SUBSTRING =
stdfn.REGEXP_LIKE = function (a, b, c) {
// console.log(a,b,c);
- return (a || '').search(RegExp(b, c)) > -1;
+ // Convert MySQL word bo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test file should be named test/test1384.js instead of test/test926.js to match the issue number.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Alberto-Codes__turboquant-vllm__27 | Alberto-Codes/turboquant-vllm | 27 | defect | d5c58f56875fb10997b5b563567bb30b6a7b0829 | 714e5973201d729ebcc7b2d389ed0d0914b2ce74 | feat(verify): add verify CLI for compression quality checks | Users had no way to confirm compression quality on their specific environment before deploying. The verify CLI runs a 128-token random Gaussian prefill through CompressedDynamicCache and reports per-layer cosine similarity vs uncompressed DynamicCache, giving a clear PASS/FAIL verdict.
- Add `src/turboquant_vllm/verif... | diff --git a/pyproject.toml b/pyproject.toml
index 57abbe2..11d78cd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -173,6 +173,7 @@ addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals"]
source = ["turboquant_vllm"]
omit = [
"src/turboquant_vllm/benchmark.py",
+ "src/turboquant_vllm/ver... | 4 | 2 | 0 | [{"id": "G0", "claim": "In the test helper `_make_result()`, `min_cosine` is annotated `float` but the function handles `min_cosine is None`, so the typing is inconsistent and should be either `float | None` or the None branch removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": ... | null |
Alberto-Codes__turboquant-vllm__3 | Alberto-Codes/turboquant-vllm | 3 | defect | bdc2587d74dbe1111f03906dc9fbfeb1fe527156 | 1c6ae38c944622d481a315db8327a3bf249731ff | feat(container): vLLM Containerfile + per-layer cosine tests | Container image, per-layer cosine tests, and MkDocs documentation site.
- Add `infra/Containerfile.vllm` extending vllm-openai with turboquant-vllm from PyPI
- 12 new per-layer cosine + multi-layer composition tests (2/3/4/5-bit thresholds, quality ordering, stability, decode parity)
- MkDocs Material site with auto-g... | diff --git a/infra/Containerfile.vllm b/infra/Containerfile.vllm
new file mode 100644
index 0000000..8974dd4
--- /dev/null
+++ b/infra/Containerfile.vllm
@@ -0,0 +1,22 @@
+FROM docker.io/vllm/vllm-openai:latest
+
+# Install turboquant-vllm from PyPI (plugin auto-registers via entry point)
+RUN pip install --no-cache-di... | 6 | 6 | 3 | [{"id": "G0", "claim": "The build-time verification imports turboquant_vllm.vllm.TQ4AttentionBackend, which pulls in vLLM/FlashAttention/Triton modules and may fail during image build, so verify installation via importlib.metadata (entry point + version) without importing the backend module.", "category": "correctness"... | null |
Alberto-Codes__turboquant-vllm__32 | Alberto-Codes/turboquant-vllm | 32 | defect | 4ecc62e6b89819df58000a0e9cfba4f4cc00dee8 | 4d4e17fd7ab84d138fcee3bdda5d8e918fb343bb | feat(benchmark): add multi-model support for text-only models | benchmark.py was hardcoded to VLM loading (AutoModelForImageTextToText + AutoProcessor). Text-only models like Llama and Mistral need AutoModelForCausalLM + AutoTokenizer with a simpler input path.
- Detect VLM vs text-only via `hasattr(config, "text_config")` matching the established `verify.py` pattern
- Branch `loa... | diff --git a/src/turboquant_vllm/benchmark.py b/src/turboquant_vllm/benchmark.py
index 92f84d8..b1ae7c5 100644
--- a/src/turboquant_vllm/benchmark.py
+++ b/src/turboquant_vllm/benchmark.py
@@ -1,9 +1,12 @@
-r"""Benchmark harness for TurboQuant KV cache compression on Molmo2.
+r"""Benchmark harness for TurboQuant KV cac... | 3 | 1 | 0 | [{"id": "G0", "claim": "Using the name `processor` for both an AutoProcessor (VLM branch) and an AutoTokenizer (text-only branch) makes downstream code harder to read and type-check; consider renaming (e.g., `tokenizer_or_processor`) or returning distinct fields.", "category": "maintainability", "verdict": "opposed", "... | null |
Alberto-Codes__turboquant-vllm__35 | Alberto-Codes/turboquant-vllm | 35 | defect | 6fc60d8634600b1d5b520944d75a42b200c7c02d | c1c6a1aeb4a01e2709d4ba6edc4105b840d537f1 | feat(vllm): add CUDA graph buffer pre-allocation to TQ4 backend | The TQ4 backend previously allocated temporary tensors on every forward()
call for decompress, compress, Q rotation, and row assembly. These dynamic
allocations broke CUDA graph capture for the decode path. This change
pre-allocates max-size scratch buffers on first forward (during vLLM warmup)
and uses them via the ou... | diff --git a/src/turboquant_vllm/vllm/tq4_backend.py b/src/turboquant_vllm/vllm/tq4_backend.py
index 7c7e6f5..73e616e 100644
--- a/src/turboquant_vllm/vllm/tq4_backend.py
+++ b/src/turboquant_vllm/vllm/tq4_backend.py
@@ -40,7 +40,11 @@
from turboquant_vllm.triton.tq4_decompress import tq4_decompress
if TYPE_CHECKIN... | 4 | 1 | 1 | [{"id": "G0", "claim": "tq4_decompress with out= writes using the out tensor's dtype and ignores compute_dtype, so it would be safer to validate that out_k/out_v have the expected dtype/device/shape to avoid silent dtype mismatches if ever called with inconsistent buffers.", "category": "correctness", "verdict": "oppos... | null |
Alberto-Codes__turboquant-vllm__37 | Alberto-Codes/turboquant-vllm | 37 | defect | 4ad22107df0e1ba26a374e7b9992e59843e4fe51 | c8abe0bba6c8c06ecc5810980b598d8211c5501c | feat(triton): add fused paged TQ4 decode attention kernel | Decode attention on compressed TQ4 KV caches required decompressing to
HBM first, then running Flash Attention — three serial HBM operations
per token (read compressed, write FP16, re-read FP16). This fused kernel
reads compressed blocks directly from vLLM's page table, decompresses in
SRAM, and computes attention in a... | diff --git a/experiments/logs/experiment-019-fused-paged-hbm-traffic.json b/experiments/logs/experiment-019-fused-paged-hbm-traffic.json
new file mode 100644
index 0000000..29780a2
--- /dev/null
+++ b/experiments/logs/experiment-019-fused-paged-hbm-traffic.json
@@ -0,0 +1,57 @@
+{
+ "experiment": "019-fused-paged-hbm-... | 5 | 3 | 1 | [{"id": "G0", "claim": "The kernel's KV cache addressing assumes the last cache dimension is contiguous (stride 1), so a non-contiguous/view kv_cache would produce incorrect reads; the wrapper should enforce kv_cache.is_contiguous() (and/or pass stride_cache_byte=kv_cache.stride(2) into the address calculations).", "ca... | null |
Alberto-Codes__turboquant-vllm__39 | Alberto-Codes/turboquant-vllm | 39 | defect | ae7941eb98f90925bd15ff7ccfbcb56637a8f3f5 | e95a76322bf369bd648881e154bfa2f07df8d602 | feat(vllm): add fused paged TQ4 decode backend integration and feature gating | Add opt-in fused decode path to TQ4AttentionImpl, gated by
`TQ4_USE_FUSED_PAGED` env var AND successful kernel import. When enabled,
decode steps use a single `fused_paged_tq4_decode()` call replacing the
decompress-all + FlashAttn + post-rotate pipeline, with decompress buffer
downsizing from full-cache to max_prefill... | diff --git a/experiments/logs/experiment-018-smoke-test.json b/experiments/logs/experiment-018-smoke-test.json
new file mode 100644
index 0000000..8ec3b8f
--- /dev/null
+++ b/experiments/logs/experiment-018-smoke-test.json
@@ -0,0 +1,44 @@
+{
+ "experiment": "018-cuda-graph-decode-latency",
+ "phase": "D7-Phase-C",
+... | 5 | 3 | 2 | [{"id": "G0", "claim": "When fused decode is enabled, decompress_tokens is set to _max_prefill_len without clamping to the actual cache capacity, which can allocate more VRAM than needed if _max_prefill_len exceeds num_blocks * block_size; use min(self._max_prefill_len, max_tokens).", "category": "correctness", "verdic... | null |
Alberto-Codes__turboquant-vllm__52 | Alberto-Codes/turboquant-vllm | 52 | defect | 48243c97146f7f712e07531cd82ba844fe031721 | f8fb1c89da0b043facc723436818379772d6cb78 | feat(triton): add head_dim 64/96 kernel support with non-pow2 padding | Triton `tl.arange` requires power-of-two ranges, so models with non-pow2
head dimensions (e.g., Phi-3-mini with head_dim=96) crashed at kernel
compile time. This adds pad-to-next-power-of-two + boundary masking to
all five Triton kernels, plus comprehensive test coverage at head_dim
64/96/128 and defensive assertions f... | diff --git a/src/turboquant_vllm/triton/flash_attention.py b/src/turboquant_vllm/triton/flash_attention.py
index 204a394..824b061 100644
--- a/src/turboquant_vllm/triton/flash_attention.py
+++ b/src/turboquant_vllm/triton/flash_attention.py
@@ -8,6 +8,7 @@
- Grouped-Query Attention (GQA) with arbitrary Q/KV head r... | 2 | 2 | 2 | [{"id": "G0", "claim": "The module-level `pytest.importorskip(\"vllm\")` skips the new multi-head-dim tests that do not require vLLM, so they should be moved to a non-vLLM-gated module or the skip scoped to the tests that truly depend on vLLM.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": ... | null |
Alberto-Codes__turboquant-vllm__53 | Alberto-Codes/turboquant-vllm | 53 | defect | 44edd603f481d9dfc99af6173211bc3e034bc7c1 | 27d965b3f2bbe53297eae23f10f326dd7492c75c | feat(kv-cache): add sliding window attention bypass for Gemma models | Models with mixed global and sliding window attention layers (Gemma-2,
Gemma-3) now work correctly with CompressedDynamicCache. SWA layers
bypass compression via the `is_sliding` attribute on `DynamicSlidingWindowLayer`,
preserving windowed cache eviction semantics. Global layers compress normally.
- Add SWA bypass in... | diff --git a/src/turboquant_vllm/kv_cache.py b/src/turboquant_vllm/kv_cache.py
index 8e13938..4a34fcd 100644
--- a/src/turboquant_vllm/kv_cache.py
+++ b/src/turboquant_vllm/kv_cache.py
@@ -279,6 +279,12 @@ class CompressedDynamicCache:
Float32 norms are required — fp16 causes output degradation at
10K+ token ... | 2 | 2 | 1 | [{"id": "G0", "claim": "get_compressed() raises ValueError with an 'SWA-bypassed layer' message for every case of missing compressed data, including a global layer that simply has not been updated/compressed yet, and the docstring and error message should distinguish the two cases so the error is accurate and actionabl... | null |
Alberto-Codes__turboquant-vllm__56 | Alberto-Codes/turboquant-vllm | 56 | defect | e0f5d45b63411f7f7fa83f8c2a55b2382a35e922 | f2e6740c068879e4c73cb480c2bf5e0d7b4dca7f | fix(benchmark): add head_dim detection division guard | The `_detect_model_config` one-liner `getattr(..., "head_dim", None) or hidden_size // num_heads` had two bugs: it conflated `head_dim=0` with `None` (falsy conflation via `or`), and it could raise `ZeroDivisionError` when `num_attention_heads=0` with no explicit `head_dim`.
- Split one-liner into explicit three-branc... | diff --git a/src/turboquant_vllm/benchmark.py b/src/turboquant_vllm/benchmark.py
index 6f5a474..0e02f4a 100644
--- a/src/turboquant_vllm/benchmark.py
+++ b/src/turboquant_vllm/benchmark.py
@@ -213,13 +213,30 @@ def _detect_model_config(model: Any) -> dict[str, int]:
Returns:
Dict with head_dim, num_head... | 2 | 2 | 0 | [{"id": "G0", "claim": "The docstring summary of `_detect_model_config` in verify.py should clarify that the fallback applies only when `head_dim` is absent or `None` and `num_attention_heads` is positive.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
Alberto-Codes__turboquant-vllm__65 | Alberto-Codes/turboquant-vllm | 65 | defect | 05a475e5405ddc7d3c213e9e7c0635fd41963321 | f7f4e97535f4b85bef8f1bf97b537761d855fe48 | fix(verify): pass HF_TOKEN to from_pretrained for gated repos | The verify CLI failed on gated HuggingFace models (e.g. Llama-3.2)
because from_pretrained calls did not receive the token parameter.
The HF_TOKEN environment variable was set via direnv but transformers
did not pick it up automatically for file downloads.
- Add os import and read HF_TOKEN from environment once at sta... | diff --git a/README.md b/README.md
index 0e386b9..9055727 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,9 @@
# turboquant-vllm
-TurboQuant KV cache compression as a drop-in vLLM plugin. **3.76x compression, near-identical output quality, one CLI flag to enable.**
+TurboQuant KV cache compression as a drop-in v... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new HF_TOKEN behavior (reading from the environment and forwarding token= to from_pretrained calls) is not covered by tests; a unit test should set HF_TOKEN and assert AutoConfig.from_pretrained and the model from_pretrained call receive token= using mocks.", "category": "testing", "verdict"... | null |
Alberto-Codes__turboquant-vllm__69 | Alberto-Codes/turboquant-vllm | 69 | defect | bee2071fd24e73ac2eba9c5102199f753d5a4727 | fc440684f446984b37963105b151f06b191e3ad1 | fix(quantizer): add dimension guards for clear errors on GQA shape mismatch | Previously, passing a tensor whose last dimension did not match the quantizer's configured dim produced an opaque `RuntimeError` from PyTorch's reshape. This surfaced with Gemma 4 E4B on transformers 5.x, where GQA expansion changed the KV tensor shape before cache update.
- Add `ValueError` guards to `quantize()`, `d... | diff --git a/src/turboquant_vllm/quantizer.py b/src/turboquant_vllm/quantizer.py
index aaf194b..515ea41 100644
--- a/src/turboquant_vllm/quantizer.py
+++ b/src/turboquant_vllm/quantizer.py
@@ -121,7 +121,18 @@ def quantize(self, x: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:
Returns:
Tuple... | 2 | 1 | 1 | [{"id": "G0", "claim": "In test_roundtrip_gqa_expanded_quality, formatting the 0-d tensor returned by cosine_similarity with {cos:.4f} will raise TypeError, so the test fails when the assertion triggers; convert cos to a Python float (e.g. .item()) before formatting.", "category": "correctness", "verdict": "supported",... | null |
Alberto-Codes__turboquant-vllm__81 | Alberto-Codes/turboquant-vllm | 81 | defect | 8c75ba68ea23624bdfda64bab11debb50a80dd82 | 7b069ffb4f3432dbb212cdb062cb2228a81bfa36 | fix(vllm): padded slot size for hybrid model page alignment | Hybrid Mamba+attention models (Qwen3.5) crash on startup with "block_size not being divisible" because TQ4 and Mamba layers compute incompatible page sizes. Reported by @gaby on vllm-project/vllm#38479.
- Pad `real_page_size_bytes` with `next_power_of_2(slot)` for page divisibility
- Pad `get_kv_cache_shape` last dime... | diff --git a/src/turboquant_vllm/vllm/tq4_backend.py b/src/turboquant_vllm/vllm/tq4_backend.py
index dbda760..38ae6e9 100644
--- a/src/turboquant_vllm/vllm/tq4_backend.py
+++ b/src/turboquant_vllm/vllm/tq4_backend.py
@@ -216,13 +216,14 @@ class TQ4FullAttentionSpec(FullAttentionSpec):
@property
def real_pag... | 3 | 3 | 0 | [{"id": "G0", "claim": "The ratio assertion in test_page_size_vs_fp16 only checks ratio >= 1.5, which is too loose for catching regressions; assert the exact expected ratio (or the computed padded page size within a small tolerance).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
Alberto-Codes__turboquant-vllm__83 | Alberto-Codes/turboquant-vllm | 83 | defect | 899f714547e248b4e5d89625498e12d67d18b047 | f27f1d1178b4fdb6cfa2faa7a54fb900e6e629ed | feat(kv-cache): per-layer head_dim support for heterogeneous architectures | Gemma 4 uses head_dim=256 for sliding attention and head_dim=512 for global attention. CompressedDynamicCache assumed a single head_dim for all layers, crashing on heterogeneous models.
- Replace single key_compressor/value_compressor with per-head_dim dicts
- Add `_get_compressors(dim)` for lazy creation on first use... | diff --git a/src/turboquant_vllm/kv_cache.py b/src/turboquant_vllm/kv_cache.py
index 5b7eb9e..35e95cc 100644
--- a/src/turboquant_vllm/kv_cache.py
+++ b/src/turboquant_vllm/kv_cache.py
@@ -279,6 +279,9 @@ class CompressedDynamicCache:
on each cache read. Only one layer's decompressed tensors are held
in memor... | 3 | 3 | 2 | [{"id": "G0", "claim": "An even-dimension check (with a clearer ValueError mentioning the layer_dim) should be added when creating 4-bit compressors in _get_compressors(), because nibble packing will error on odd previously-unseen head dimensions.", "category": "correctness", "verdict": "supported", "priority": "P1", "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.