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
LFDT-web3j__web3j__2084
LFDT-web3j/web3j
2,084
defect
8d9e8ee7840ff06a5f468c16ccf4f3f095a7f0e2
b29a4d4588d8d51db741dc0dabb21ba9b05cd4eb
Bug fix for FastRawTransactionManager.resetNonce
### What does this PR do? Make `FastRawTransactionManager.resetNonce()` reset the nonce ### Where should the reviewer start? #2002 ### Why is it needed? #### AS-IS ```java public synchronized void resetNonce() throws IOException { nonce = super.getNonce(); } ``` #### TO-BE ```java p...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b638f6123..ccedc9b57a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes * Bug fix for Int256 decode range [2^248, type(int256).max] and [ type(int256.min), -(2^24...
6
4
2
[{"id": "G0", "claim": "The pull request should also update CHANGELOG.md with an entry for this fix.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The integration test BesuPrivacyQuickstartIntegrationTest.simplePrivateTransactions failed with an ...
null
LFDT-web3j__web3j__2116
LFDT-web3j/web3j
2,116
defect
3814e433c01cb0ed895021b73e8de9b225479636
1ddd5f6fcfd9950254f56022dddc316acfd214a0
ENS metadata and reverse ENS record set
### What does this PR do? Adds retrieving ENS metadata and lets user set reverse ENS record ### Where should the reviewer start? all ### Why is it needed? Functionality was not available ## Checklist - [x] I've read the contribution guidelines. - [x] I've added tests (if applicable). - [x] I've added a...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ac14f931d..73c1a29c28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes -* +* fixed several code issues found by sonar [#2113](https://github.com/hyperledger/w...
5
2
0
[{"id": "G0", "claim": "The new obtainOffchainResolver(String, Credentials) overload should use a single try block (and a single 'throw new' line) instead of two catch blocks that each catch a generic Exception and throw the same EnsResolutionException.", "category": "design", "verdict": "opposed", "priority": "P2", "s...
null
LFDT-web3j__web3j__2142
LFDT-web3j/web3j
2,142
defect
64db8da690adf17ae3339529622d9b61de80e40b
f8c540a7854ac6545ccf276384aee9dca3b4176d
Dynamic gas provider
### What does this PR do? Adds support for Dynamic Gas Providers ### Where should the reviewer start? review all ### Why is it needed? Currently web3j only supports static and defaut gas Provider, which is not ideal in real world scenarios ## Checklist - [x] I've read the contribution guidelines. - [x] ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f796565eed..4ed77ccda1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes +* fix Transaction.getChainId when v=27 must return null [#2133](https://github.com/hyp...
5
4
1
[{"id": "G0", "claim": "The ZERO_ADDRESS constant added to Contract.java appears to have no use left in the class and should be dropped (the reviewer cannot find where it is used).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The identical Tra...
null
LFDT-web3j__web3j__2173
LFDT-web3j/web3j
2,173
defect
2aa63b9efff2485298e5929f778f0ff6461d887d
3423c59823757335efb30b2f82c2de0fdbd75296
Support for Generation of Custom Error type
### What does this PR do? - Adds `CustomError` class to `abi` package - Adds `CustomErrorEncoder` class to `abi` package - Adds code generation support to `codegen` package for Custom Error(`error`) type introduced in `solidity >=0.8.4` With this PR, `codegen` will be able to generate variables for Custom Error...
diff --git a/abi/src/main/java/org/web3j/abi/CustomErrorEncoder.java b/abi/src/main/java/org/web3j/abi/CustomErrorEncoder.java new file mode 100644 index 0000000000..91356072a3 --- /dev/null +++ b/abi/src/main/java/org/web3j/abi/CustomErrorEncoder.java @@ -0,0 +1,53 @@ +/* + * Copyright 2019 Web3 Labs Ltd. + * + * Lice...
3
1
1
[{"id": "G0", "claim": "Generation of the CUSTOM_ERRORS list should be removed with all its dependencies, including the corresponding tests, because it breaks the D in SOLID; the Event implementation should be taken as a model.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
LFDT-web3j__web3j__2178
LFDT-web3j/web3j
2,178
defect
3da56e5c05d9e261888b4b96591989c18bca03d3
262b5fed0257cfe2ef99d2264a66510ddc4c9618
feat: 7702 decoding
### What does this PR do? Adds support for EIP-7702 transaction encoding/decoding ### Where should the reviewer start? TransactionDecoder ### Why is it needed? Support is missing for this transaction type. This PR allows the `TransactionDecoder` to handle all transaction types. ## Checklist - [x] I've re...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37780f175c..aa161de947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features * bump snapshot version to 4.14.1 [#2176](https://github.com/hyperledger-web3j/web3j/pull...
4
1
0
[{"id": "G0", "claim": "The common assertion lines in testDecoding7702 should be extracted into a shared method instead of being repeated.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer requested a small change to the pull request, ...
null
LFDT-web3j__web3j__2192
LFDT-web3j/web3j
2,192
defect
9dbd2f90468538408eeb9a1e87e8e73a9f3dda3b
7a95b95b5229a9d459055e39f938444df7c54d64
Include the data field returned from custom error Issue(#2180)
### What does this PR do? solves the issue #2180 to expose the revert data field in TransactionException for decoding CustomError ### Where should the reviewer start? from the Contract file, where the issue starts from the investigations ### Why is it needed? to get the custom error from the chain to show at ...
diff --git a/core/src/main/java/org/web3j/protocol/core/methods/response/EthCall.java b/core/src/main/java/org/web3j/protocol/core/methods/response/EthCall.java index 503f861fab..9f96a847da 100644 --- a/core/src/main/java/org/web3j/protocol/core/methods/response/EthCall.java +++ b/core/src/main/java/org/web3j/protocol/...
3
3
1
[{"id": "G0", "claim": "Add a doc comment to extractRevertReasonEncodedData in RevertReasonExtractor.java.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a doc comment to retrieveRevertReasonEncodedData in RevertReasonExtractor.java.", "catego...
null
LFDT-web3j__web3j__2196
LFDT-web3j/web3j
2,196
defect
e9fc47929d0e1cf5b007ec82f5b035f62b88a3c5
1be28531e694a836766e4b60dcbc4d25828ec77e
Not adding blob sidecar for EIP-4844 transaction when encoding for signing
### What does this PR do? Fixes encoding of EIP-4844 transaction for signing ### Where should the reviewer start? `Transaction4844::asRlpValues` ### Why is it needed? I've created a PR to the web3signer repository: https://github.com/Consensys/web3signer/pull/1096/files#diff-e3e39c1cb1261aafa22d5bc9fb0e0e28d...
diff --git a/crypto/src/main/java/org/web3j/crypto/transaction/type/Transaction4844.java b/crypto/src/main/java/org/web3j/crypto/transaction/type/Transaction4844.java index 71ef44a98b..6da5a5d212 100644 --- a/crypto/src/main/java/org/web3j/crypto/transaction/type/Transaction4844.java +++ b/crypto/src/main/java/org/web3...
2
1
1
[{"id": "G0", "claim": "Choosing between the two EIP-4844 RLP representations (block body without sidecar vs pooled transaction with sidecar) by switching on the presence of a signature may be wrong, since a client could pass a signature for a pooled transaction; the class should perhaps expose both RLP representations...
null
LFDT-web3j__web3j__2198
LFDT-web3j/web3j
2,198
defect
e9fc47929d0e1cf5b007ec82f5b035f62b88a3c5
a59adc878f4edcc017a0b56aee60e905fa8e0159
Adding @Generated annotation to generated code Issue(#2081)
### What does this PR do? Adding @Generated annotation to generated code this will help us to, for example, ignore static analysis warning/errors in the generate code. Fixes: #2081 ### Where should the reviewer start? codegen module SolidityFunctionWrapper.java file ### Why is it needed? ignore static analy...
diff --git a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java b/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java index d95fb7c9b8..babf1e06f3 100644 --- a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java +++ b/codegen/src/main/java/org/web3j/codegen/SolidityFu...
1
1
0
[{"id": "G0", "claim": "The pull request should update CHANGELOG.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LFDT-web3j__web3j__2237
LFDT-web3j/web3j
2,237
defect
1797f5e67e1a44f6f0d819f828a5a110a69a7f89
b6d1636a248638b9bc209e3d6364278b2faef0af
fix NPE when encoding transaction with null data
### What does this PR do? NullPointerException during encoding when creating a transaction with null data ### Where should the reviewer start? #2236 ### Why is it needed? to avoid NullPointerException on Transaction encoding ## Checklist - [x] I've read the contribution guidelines. - [x] I've added tes...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8574654ae9..aaeb48d8c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes -* +* fix NPE when encoding transaction with null data +* ### Features diff --git a...
1
1
0
[{"id": "G0", "claim": "The changelog entry for this fix should include a link to the pull request, following the format of other entries.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LFDT-web3j__web3j__2246
LFDT-web3j/web3j
2,246
defect
6791829a3abf9fc2c55212a49abbeb2dfa120c52
091d83c299f6bbbbf05c652fbab35054025f18fb
feat: Add EIP-7702 authorization list support to Transaction
### What does this PR do? This PR adds support for 7702 transactions returned from various ETH API methods, like eth_getBlockByX, eth_getTransactionByX ### Where should the reviewer start? [ResponseTest.java‎](https://github.com/LFDT-web3j/web3j/pull/2246/changes#diff-df1cafe6e01f6bd51dcb7477015a3ae8920c171d1b1bd8...
diff --git a/core/src/main/java/org/web3j/protocol/core/methods/response/AuthorizationTuple.java b/core/src/main/java/org/web3j/protocol/core/methods/response/AuthorizationTuple.java new file mode 100644 index 0000000000..dd7ff5c5aa --- /dev/null +++ b/core/src/main/java/org/web3j/protocol/core/methods/response/Authori...
4
2
1
[{"id": "G0", "claim": "The new TransactionObject constructor that accepts authorizationList lacks test coverage, so a test similar to testEthBlockFullTransactionsWithBlob should be added that includes transactions with authorization lists to ensure proper deserialization from JSON responses.", "category": "testing", "...
null
LFDT-web3j__web3j__2247
LFDT-web3j/web3j
2,247
defect
6791829a3abf9fc2c55212a49abbeb2dfa120c52
de1d08186daa9250792463b74845becd3cc4f8ae
fix(encoder): fix encoding for non-ASCII chars.
Use getBytes(StandardCharsets.UTF_8).length instead of String.length() when calculating offsets for dynamic string arrays. This fixes incorrect ABI encoding for non-ASCII characters (Chinese, Korean, etc.) where multi-byte UTF-8 characters were incorrectly measured by character count instead of byte length. Fixes #1...
diff --git a/abi/src/main/java/org/web3j/abi/TypeEncoder.java b/abi/src/main/java/org/web3j/abi/TypeEncoder.java index f5bc8a3b3b..080a00b6c5 100644 --- a/abi/src/main/java/org/web3j/abi/TypeEncoder.java +++ b/abi/src/main/java/org/web3j/abi/TypeEncoder.java @@ -352,7 +352,8 @@ private static <T extends Type> String en...
2
2
0
[{"id": "G0", "claim": "The added code in TypeEncoder.java is not formatted per the project's spotless style; run `applySpotless` locally.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add an entry for this fix to the changelog's bug section.", "category...
null
LFDT-web3j__web3j__2255
LFDT-web3j/web3j
2,255
defect
deb44d842574f13e9b28537f261eb519fc146b6a
8315323e815e455d8504c5c3863bb81828e91011
Fix ClassLoader leak caused by static ExecutorService in Async
### What does this PR do? This PR adds a manual shutdown method for the static ExecutorService used in Async.java. Right now the executor is only shut down using a JVM shutdown hook. This works for normal applications, but in web containers like Tomcat or Jetty the JVM does not stop when a web application is re...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 01ca7d6979..48dba85f7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes -* Replace raw usage of `EthLog.LogResult` with parameterized type to improve type safety...
3
3
2
[{"id": "G0", "claim": "The lifecycle test should live in the existing AsyncTest class instead of a new AsyncLifecycleTest class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The double-checked re-creation check in getExecutor should also trea...
null
LFDT-web3j__web3j__436
LFDT-web3j/web3j
436
defect
1c4215ff0e9957cfd28e5618b19d7ccdd18cdc1e
7cde32bfd2240ed6bbf23a4c50614cdcdf9894c6
Outputs a warning when non-constant function returns a value
If a transaction function is generated and this function returns a value, generator outputs a warning message. The warning message is sent to the output using the new interface `GenerationReporter`. Fixes #257
diff --git a/codegen/src/main/java/org/web3j/codegen/GenerationReporter.java b/codegen/src/main/java/org/web3j/codegen/GenerationReporter.java new file mode 100644 index 0000000000..4850adeff8 --- /dev/null +++ b/codegen/src/main/java/org/web3j/codegen/GenerationReporter.java @@ -0,0 +1,8 @@ +package org.web3j.codegen;...
1
1
1
[{"id": "G0", "claim": "The warning message should say \"view\" instead of the outdated \"constant\" modifier, per the current Solidity documentation.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LFDT-web3j__web3j__462
LFDT-web3j/web3j
462
defect
d53933e4e1562cedb7f71f5a4264b06b26ab72a9
6b297f8d72da50fd742dc9d6ae8077865607180d
Adds methods "miner_start" and "miner_stop"
Fixes #381
diff --git a/core/src/main/java/org/web3j/protocol/core/Ethereum.java b/core/src/main/java/org/web3j/protocol/core/Ethereum.java index 1accc501dd..fe28c137d8 100644 --- a/core/src/main/java/org/web3j/protocol/core/Ethereum.java +++ b/core/src/main/java/org/web3j/protocol/core/Ethereum.java @@ -2,6 +2,7 @@ import jav...
1
1
1
[{"id": "G0", "claim": "The miner_start/miner_stop functionality is specific to Geth and must be implemented in the JsonRpc2_0Geth class instead of the core Web3j interface before the PR is merged.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LFDT-web3j__web3j__547
LFDT-web3j/web3j
547
defect
913d331122a0fac6c28d88cde061ca60c7f25021
dea90948dd0f394d701c5fdfe247ea821414dc09
[#545] add missing constructor of WalletUtils by using fullWalletFile default
fix #545 add missing constructor of WalletUtils by using lightWalletFile default add and optimize the testcase for it
diff --git a/crypto/src/main/java/org/web3j/crypto/WalletUtils.java b/crypto/src/main/java/org/web3j/crypto/WalletUtils.java index 387dadb91c..df1cdd4cd9 100644 --- a/crypto/src/main/java/org/web3j/crypto/WalletUtils.java +++ b/crypto/src/main/java/org/web3j/crypto/WalletUtils.java @@ -47,6 +47,12 @@ public static Stri...
2
1
1
[{"id": "G0", "claim": "The new two-argument generateNewWalletFile(password, destinationDirectory) should default to generating a full (Scrypt) wallet file rather than a light one, as geth does.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It is unclea...
null
LGUG2Z__komorebi__1323
LGUG2Z/komorebi
1,323
defect
02a2796e7d282a6db93b18c0e5bda32493d1fb34
453b3d00c8982e511c9b96ddd3051d729e6a6ea4
test(window_manger.rs): tests: WM Instance and Focus Workspace
Created a test that creates the WM instance and ensures the instance is running. The test creates a custom socket and then cleans up the socket file after completion. Created a test that creates a WM instance, monitor instance, and workpace. The tests checks to ensure that the expected workspace is focused properly. ...
diff --git a/Cargo.lock b/Cargo.lock index 30bbb77d9..c676027bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2678,6 +2678,7 @@ dependencies = [ "tracing-appender", "tracing-subscriber", "uds_windows", + "uuid", "which", "win32-display-data", "windows 0.60.0", @@ -5546,6 +5547,15 @@ version = "0.2.2" source...
3
3
0
[{"id": "G0", "claim": "The uuid dependency should be moved from [dependencies] to dev-dependencies so it only compiles when running tests.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's code should be formatted by running `cargo +nigh...
null
LMAX-Exchange__disruptor__125
LMAX-Exchange/disruptor
125
defect
c9d5535894b8b702cf014108981aebeb6de9c467
5d5a7f18ae033a7ccf588366a0eecb1b0773d7bd
Add Disruptor.setDefaultExceptionHandler API
…on handler for all event processors and worker pools created by Disruptor regardless of whether they were created before or after the call to setDefaultExceptionHandler. This fixes #122
diff --git a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java b/src/main/java/com/lmax/disruptor/dsl/Disruptor.java index 1168ccbaf..4884bf66b 100644 --- a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java +++ b/src/main/java/com/lmax/disruptor/dsl/Disruptor.java @@ -22,7 +22,6 @@ import com.lmax.disruptor.EventT...
2
2
0
[{"id": "G0", "claim": "The ExceptionHandlerWrapper method `setDelegate` could be renamed (e.g. `updateHandler` or `switchToHandler`) to make its intent clearer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The IllegalStateException message is...
null
LMAX-Exchange__disruptor__360
LMAX-Exchange/disruptor
360
defect
3b5ec74facb180b340ec0bd229cf3be3d715f28c
768e2c1b50ac1853d67048ed9472301db765eed5
Add method to check if disruptor has been started
I have a use case where I want to check if Disruptor has already been started before calling start
diff --git a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java b/src/main/java/com/lmax/disruptor/dsl/Disruptor.java index 38df396e6..3aa8fe779 100644 --- a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java +++ b/src/main/java/com/lmax/disruptor/dsl/Disruptor.java @@ -477,6 +477,16 @@ private boolean hasBacklog() ...
3
2
0
[{"id": "G0", "claim": "The new test uses 2-space indentation while all other code in the codebase and the surrounding tests use 4-space indentation.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should use JUnit assertions (assertFalse/assertTr...
null
LMAX-Exchange__disruptor__364
LMAX-Exchange/disruptor
364
defect
ec49800ea21494651879062a59bd5083850c4ea4
b9555c29d4d07e6c47a059750d5b7cd2e9377890
Add rewind batch feature to the BatchEventProcessor.
When processing an event, if an exception is thrown that could be recoverable via outside influence. Throw a RewindableException that will replay all the events in the current batch.
diff --git a/src/main/java/com/lmax/disruptor/BatchEventProcessor.java b/src/main/java/com/lmax/disruptor/BatchEventProcessor.java index f93397a04..b33ac81e2 100644 --- a/src/main/java/com/lmax/disruptor/BatchEventProcessor.java +++ b/src/main/java/com/lmax/disruptor/BatchEventProcessor.java @@ -42,6 +42,7 @@ public fi...
2
2
1
[{"id": "G0", "claim": "Checkstyle has been updated and requires final on all parameters, so the pull request's new code (e.g. the NanosecondRewindPauseStrategy and RewindableException constructors flagged in the comments) must be updated to use final parameters.", "category": "maintainability", "verdict": "supported",...
null
LMAX-Exchange__disruptor__439
LMAX-Exchange/disruptor
439
defect
c8dcf814f74afa0936b197489c0e9cabce036f94
41e1a94efbd12df36030806a133a6ff3173011bc
Add max batch size limit to BatchEventProcessor
Add an optional `maxBatchSize` parameter to `BatchEventProcessor`. Defaults to `Integer.MAX_VALUE`. Limits the amount of events that will be processed before updating the sequence in the `BatchEventProcessor`. Closes #438
diff --git a/src/main/java/com/lmax/disruptor/BatchEventProcessor.java b/src/main/java/com/lmax/disruptor/BatchEventProcessor.java index 2195c9711..6bfb56924 100644 --- a/src/main/java/com/lmax/disruptor/BatchEventProcessor.java +++ b/src/main/java/com/lmax/disruptor/BatchEventProcessor.java @@ -18,6 +18,7 @@ import j...
5
3
1
[{"id": "G0", "claim": "The magic value Integer.MAX_VALUE passed as the default max batch size in the new three-argument constructor should be replaced with a named constant such as DEFAULT_MAX_BATCH_SIZE.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
LMCache__LMCache__2858
LMCache/LMCache
2,858
defect
440611915595dedd7fb889c78cafac490b4931d0
b4b400462380cc72e119ef73e49a88a9743ac7eb
[refactor]: Replace use_cufile with use_gds/gds_backend config flags
Follow up work post #2799 (AMD hipFile AIS support). Refactor the GDS backend configuration to be backend-agnostic: - Replace extra_config["use_cufile"] with top-level use_gds (bool) config - Add gds_backend config field ("cufile" default) to select GDS library - Rename cufile_buffer_size to gds_buffer_size - Re...
diff --git a/docs/source/api_reference/configurations.rst b/docs/source/api_reference/configurations.rst index b2b27fb781e..8806e13406e 100644 --- a/docs/source/api_reference/configurations.rst +++ b/docs/source/api_reference/configurations.rst @@ -342,9 +342,15 @@ Settings for different storage backends and paths. ...
6
1
0
[{"id": "G0", "claim": "The new `else: raise ValueError(f\"Unsupported gds_backend ...\")` block in GdsBackend.__init__ is unreachable because gds_backend is already validated against _SUPPORTED_GDS_BACKENDS earlier in __init__, and the redundant check should be removed to keep the code clean and avoid confusion when n...
null
LMCache__LMCache__2904
LMCache/LMCache
2,904
defect
f3abfcfca5393d1b42ec258e7bc534ba6f6c85c4
edcbaad0fd8bc36191a637866166876d03ecdcc0
[Feat][DAX] Optimize staged batched restore path and document modification
This PR optimizes the DAX backend's staged restore path. Right next plan is support Higher TP/DP/EP and support MP mode like raw block backend. Before this change, DAX retrieval restored cached chunks through serialized per-chunk restaging, which became the main bottleneck on long-context cache-hit workloads. T...
diff --git a/csrc/mem_alloc.cpp b/csrc/mem_alloc.cpp index 4e831d0a59e..b659b9cae52 100644 --- a/csrc/mem_alloc.cpp +++ b/csrc/mem_alloc.cpp @@ -26,6 +26,23 @@ void free_pinned_ptr(uintptr_t ptr) { } } +void batched_memcpy(const std::vector<uintptr_t>& src_ptrs, + const std::vector<uintptr_t>& ...
6
5
1
[{"id": "G0", "claim": "The new public method batched_get_blocking should have a docstring explaining its purpose, arguments, and return values.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When performing batched memory allocation in the new ba...
null
LMCache__LMCache__2928
LMCache/LMCache
2,928
defect
0f51fab4fa50d77fff589ace6373f03141de4258
c842e816acd26eccb57ceef2bbc7cf8026543d6c
feat: add chunk hashes logger to MP server for offline data analysis
## Summary Record chunk hashes computed during lookup() to rotating JSONL files for offline analysis. Uses async background thread to avoid adding I/O latency to the hot path. Files rotate on a configurable time interval (default 6h) and include human-readable timestamps and model names. Disabled by default (--chunk-h...
diff --git a/lmcache/v1/multiprocess/chunk_hash_logger.py b/lmcache/v1/multiprocess/chunk_hash_logger.py new file mode 100644 index 00000000000..6a72b93cb30 --- /dev/null +++ b/lmcache/v1/multiprocess/chunk_hash_logger.py @@ -0,0 +1,236 @@ +# SPDX-License-Identifier: Apache-2.0 + +""" +ChunkHashLogger: Async JSONL writ...
21
14
9
[{"id": "G0", "claim": "Rotating the log file whenever the model_name changes is problematic for servers handling interleaved requests for different models: it produces many small files that can quickly exhaust max_files and lose older logs, so rotation should be based primarily on the time interval.", "category": "cor...
null
LMCache__LMCache__2978
LMCache/LMCache
2,978
defect
b4d95dcec53354286647c0d35a592cfa8f87db59
b2cbe0d27aa1253b263dd6fd5c65779e4b3fb92c
[MP][Optimize] Skip locked keys during LRU eviction to improve eviction efficiency
In the current LRU eviction implementation, get_eviction_actions blindly selects the first target_count keys from the LRU order without checking whether those keys are actually evictable (i.e., not locked). For example, if target_count = 10 but 8 out of the first 10 LRU keys are currently read-locked or write-locked, ...
diff --git a/lmcache/v1/distributed/eviction.py b/lmcache/v1/distributed/eviction.py index 2576a12201b..29b406d0408 100644 --- a/lmcache/v1/distributed/eviction.py +++ b/lmcache/v1/distributed/eviction.py @@ -5,6 +5,7 @@ # Standard from abc import abstractmethod +from collections.abc import Callable # First Part...
2
2
0
[{"id": "G0", "claim": "The logger.warning in is_key_evictable fires in a benign race where a key can legitimately be missing from _objects during concurrent deletion, so its warning level and its \"this should not happen\" message are misleading and should be lowered to debug (or otherwise not pollute logs).", "catego...
null
LMCache__LMCache__2986
LMCache/LMCache
2,986
defect
7f326118a2f1afc7801988dd02e3055bdf21ef6b
f9a9a6d95f1bebf73568d831ca5649bb316bd774
[Feat] L1 Subscriber
<!-- Thanks for your contribution to LMCache! Here are some tips for you: 1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/LMCache/LMCache/blob/dev/CONTRIBUTING.md 2. If this PR closes another issue, add 'Fixes #<issue number>' somewhere in the PR summary. GitHub will automa...
diff --git a/lmcache/v1/mp_observability/config.py b/lmcache/v1/mp_observability/config.py index e2200d475a5..fc88aceeb6b 100644 --- a/lmcache/v1/mp_observability/config.py +++ b/lmcache/v1/mp_observability/config.py @@ -191,11 +191,13 @@ def init_observability(obs_config: ObservabilityConfig) -> EventBus: if obs_...
5
4
3
[{"id": "G0", "claim": "The L0 reuse-gap recording in `_emit_eviction_metrics` misses the gap between the initial allocation (`alloc_time`) and the first entry in `access_history`, and since gaps are only recorded at eviction time, long-lived blocks that are never evicted are never reported; the reviewer asks to record...
null
LMCache__LMCache__2996
LMCache/LMCache
2,996
defect
06981d6a31e9564181e63d151d021895809bbf8d
ee3e7da28888ca81e7b2b81cad68026ac731e85d
refactor(mp): replace job_id with request_id in query_prefetch_status
The server-internal integer job_id was unnecessarily leaked to the vLLM adapter via _lookup_job_ids / _finished_lookup_jobs, adding a redundant layer of indirection. The external request_id (str) is the natural key and is already stored in every _PrefetchJob. No changes to storage_manager.py or prefetch_controller.p...
diff --git a/lmcache/integration/vllm/vllm_multi_process_adapter.py b/lmcache/integration/vllm/vllm_multi_process_adapter.py index 5342ed86950..dbd847d1b85 100644 --- a/lmcache/integration/vllm/vllm_multi_process_adapter.py +++ b/lmcache/integration/vllm/vllm_multi_process_adapter.py @@ -244,12 +244,10 @@ def __init__(...
4
3
3
[{"id": "G0", "claim": "query_prefetch_status and query_prefetch_lookup_hits return None when the request_id is unknown, which the client interprets as \"still in progress\" and can poll on forever; since an unknown id means the job was already consumed or is invalid, the functions should return 0 instead so the client...
null
LMCache__LMCache__3020
LMCache/LMCache
3,020
defect
755362ae9ae73a435cd97262b1f1065d8d71cb98
88d7a753f0aa2a40ac39c0019f9e13140a2f4705
[MP][optimize] unified touch all keys in end session request
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Medium Risk** > Changes L1 eviction recency tracking by introducing an explicit `on_l1_keys_accessed` event and by touching keys only when read locks fully release, which can alter eviction order and cache hit rates across MP requests. > > **Overview** > Implements a **unified “to...
diff --git a/lmcache/v1/distributed/eviction.py b/lmcache/v1/distributed/eviction.py index 2576a12201b..03db263fc27 100644 --- a/lmcache/v1/distributed/eviction.py +++ b/lmcache/v1/distributed/eviction.py @@ -114,7 +114,7 @@ def on_l1_keys_reserved_read(self, keys: list[ObjectKey]): pass def on_l1_keys_...
8
5
1
[{"id": "G0", "claim": "L1Manager.touch_keys should be decorated with @l1_mgr_synchronized because it iterates self._registered_listeners, which register_listener could modify concurrently, potentially raising a RuntimeError (and it is also missing the -> None return hint).", "category": "correctness", "verdict": "oppo...
null
LMCache__LMCache__3026
LMCache/LMCache
3,026
defect
0784a72dd9a26c6769a939212480ab801e6dd5fb
a5b8aa1c151f256bd9aed3b4ae1604ae24f793ab
[MP] Add extra_config to construct lmcache mp adapter
<!-- Thanks for your contribution to LMCache! Here are some tips for you: 1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/LMCache/LMCache/blob/dev/CONTRIBUTING.md 2. If this PR closes another issue, add 'Fixes #<issue number>' somewhere in the PR summary. GitHub will automa...
diff --git a/lmcache/integration/vllm/lmcache_mp_connector_0180.py b/lmcache/integration/vllm/lmcache_mp_connector_0180.py index 5f14c733a8b..a34c133a445 100644 --- a/lmcache/integration/vllm/lmcache_mp_connector_0180.py +++ b/lmcache/integration/vllm/lmcache_mp_connector_0180.py @@ -104,8 +104,6 @@ def create_schedule...
7
4
2
[{"id": "G0", "claim": "get_lmcache_chunk_size hardcodes ExtraConfigDefault.mq_timeout.value, so any user-provided mq_timeout override is ignored for the initial connection and chunk-size query; it should be refactored to accept a timeout parameter that the adapters pass their resolved _mq_timeout to.", "category": "co...
null
LMCache__LMCache__3042
LMCache/LMCache
3,042
defect
c075e85f4f7051e4c474e149b3fdf418f4dc9abd
5eedace711458ceb2be57e557bbe844b83f99b72
[MP][Feat] Add cache_salt to ObjectKey for cache isolation
## Summary Adds a `cache_salt: str = ""` field to `ObjectKey` and `IPCCacheEngineKey` so same-content / different-user cache entries produce distinct keys. This is the data-model piece of the per-user L2 cache quota feature (PR2 of a 6-PR series). #3029 wired `cache_salt` through the MP adapter surface but left it a...
diff --git a/csrc/storage_backends/fs/connector.cpp b/csrc/storage_backends/fs/connector.cpp index 0b12e2d1e47..6acb16d9111 100644 --- a/csrc/storage_backends/fs/connector.cpp +++ b/csrc/storage_backends/fs/connector.cpp @@ -27,27 +27,55 @@ std::string FSConnector::replace_all(const std::string& str, std::string FSC...
6
6
2
[{"id": "G0", "claim": "cache_salt is embedded into filenames and key strings without rejecting path separators (@/, \\, NUL), so a salt containing / would create a filename with directory separators and cache writes would fail.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
LMCache__LMCache__3088
LMCache/LMCache
3,088
defect
408d6df5c02be3be6f50781452501d8f48ee4297
15de56359f39e4456e3c3715629bf8bdf2704d2e
[Core] Implement advance_request for store/prefetch controller
<!-- Thanks for your contribution to LMCache! Here are some tips for you: 1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/LMCache/LMCache/blob/dev/CONTRIBUTING.md 2. If this PR closes another issue, add 'Fixes #<issue number>' somewhere in the PR summary. GitHub will automa...
diff --git a/docs/design/v1/distributed/l2_adapters/overall.md b/docs/design/v1/distributed/l2_adapters/overall.md index 2306da4e78f..ac2b965162f 100644 --- a/docs/design/v1/distributed/l2_adapters/overall.md +++ b/docs/design/v1/distributed/l2_adapters/overall.md @@ -163,16 +163,19 @@ _process_new_keys(keys) ├─ 2. ...
9
6
4
[{"id": "G0", "claim": "The refactored event loops discard which adapter signaled and instead poll/drain every pending adapter for every in-flight request on each event, an efficiency regression compared with the previous targeted dispatch.", "category": "performance", "verdict": "supported", "priority": "P1", "scope":...
null
LMCache__LMCache__3092
LMCache/LMCache
3,092
defect
d9ed1937bc8fe4e4f355f9ccd129f779669905e4
610cf7289dee613591a0b828eb27119399bfb68c
[ROCm] Add Triton block-sparse attention backend for CacheBlend
## Summary Add `LMCTritonSparseBackend` as a drop-in replacement for `LMCFlashInferSparseBackend` that works on ROCm (AMD GPUs) via Triton kernels. This enables CacheBlend non-prefix KV cache reuse on AMD MI300X and MI355X GPUs without requiring flashinfer. ## Changes ### New files - **`triton_kernels/block_sparse_a...
diff --git a/csrc/event_recorder_hip.h b/csrc/event_recorder_hip.h new file mode 100644 index 00000000000..2f12838b021 --- /dev/null +++ b/csrc/event_recorder_hip.h @@ -0,0 +1,79 @@ +// !!! This is a file automatically generated by hipify!!! +// SPDX-License-Identifier: Apache-2.0 + +#pragma once + +#include <cstdint> ...
21
19
11
[{"id": "G0", "claim": "If num_kv_blocks is 0 the kernel divides by l_i == 0 and takes log(0), producing NaN output and an invalid -inf-based LSE in the normalization step.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "In the merge kernel, if both ...
null
LMCache__LMCache__3094
LMCache/LMCache
3,094
defect
33135270223b094bbe567b0c20a318d8b24f0366
c7a0ff824ebc911eba3e42c9f25c403ba5489bb4
[MP][observability] Add L1+L2 token-level cache hit rate metric
Expose two Prometheus counters driven by a single MP_LOOKUP_PREFETCH_END event, whose ratio is the fraction of tokens requested by a lookup that were served from cache (L1 or L2): rate(lmcache_mp_lookup_hit_tokens_total[5m]) / rate(lmcache_mp_lookup_requested_tokens_total[5m]) Both counters are co-locate...
diff --git a/docs/design/v1/mp_observability/EVENTS.md b/docs/design/v1/mp_observability/EVENTS.md index 3f648e65d15..6af1e50c8aa 100644 --- a/docs/design/v1/mp_observability/EVENTS.md +++ b/docs/design/v1/mp_observability/EVENTS.md @@ -79,11 +79,28 @@ to correlate START/END pairs. | `MP_RETRIEVE_START` | `device` | `...
5
5
2
[{"id": "G0", "claim": "The design plan document's status line says \"Proposal — not yet implemented\" even though this pull request ships the implementation, so the status should be updated to reflect the current state.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
LMCache__LMCache__3098
LMCache/LMCache
3,098
defect
d9ed1937bc8fe4e4f355f9ccd129f779669905e4
7259a06cdf6a8e490b895c31bd056a1ea3884b98
[MP] Add L0<->L1 throughput metrics (store/load GB/s)
Adds two OTel histograms exposed via Prometheus: - lmcache_mp_l0_l1_store_throughput_gbs — GPU->CPU (L0->L1) - lmcache_mp_l0_l1_load_throughput_gbs — CPU->GPU (L1->L0) Both carry `engine_id` and `gpu_id` attributes so operators can distinguish per-vLLM-worker throughput within a shared MP server. Implement...
diff --git a/lmcache/v1/mp_observability/config.py b/lmcache/v1/mp_observability/config.py index 23b141b297a..c1c62977002 100644 --- a/lmcache/v1/mp_observability/config.py +++ b/lmcache/v1/mp_observability/config.py @@ -289,6 +289,7 @@ def init_observability(obs_config: ObservabilityConfig) -> EventBus: if obs_co...
9
5
1
[{"id": "G0", "claim": "The sample_rate check should allow 0 to effectively disable sampling and should use explicit error handling (e.g. raising ValueError) instead of an assert for graceful failure in production.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
LMCache__LMCache__3112
LMCache/LMCache
3,112
defect
604a7e5fca42348c27877f1dab1da8a41e579adb
ddb7233f25f0db78de05f534a205af7e01754f33
[MP][Observability] Add L1/L2 failure health monitoring metrics
**What this PR does / why we need it**: Implements LM-291: L1/L2 failure health monitoring. Adds three tagged OTel counter metrics to the MP-mode observability pipeline so operators can alert on cache-tier failure modes that previously were only visible in debug logs. Three new metrics, all carrying a `model_name...
diff --git a/.gitignore b/.gitignore index 272adae7845..97c1baefc5d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,13 @@ __pycache__/ *.py[cod] *$py.class +# Virtual environments (including symlinks) +.venv + +# Rust build artifacts +rust/**/target/ +rust/**/Cargo.lock + # Distribution / packaging .Python b...
6
2
0
[{"id": "G0", "claim": "The new test should not reach through two levels of private members (`sm._l1_manager._objects`) across class boundaries; the state should be reached through public APIs or a test-only helper per the project style guide.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "...
null
LMCache__LMCache__3128
LMCache/LMCache
3,128
defect
d86f689d27249940efee5e26dedd10271a35dc8a
0aaafcd5b5f24ee2a3a30cbdea703333850a6a1d
[MP] Introduce common http apis
<!-- Thanks for your contribution to LMCache! Here are some tips for you: 1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/LMCache/LMCache/blob/dev/CONTRIBUTING.md 2. If this PR closes another issue, add 'Fixes #<issue number>' somewhere in the PR summary. GitHub will automa...
diff --git a/lmcache/v1/multiprocess/http_apis/common_api.py b/lmcache/v1/multiprocess/http_apis/common_api.py new file mode 100644 index 00000000000..0cf74c47aec --- /dev/null +++ b/lmcache/v1/multiprocess/http_apis/common_api.py @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Aggregate HTTP routes exposed...
8
7
3
[{"id": "G0", "claim": "The docstring of the public conf function is missing the required Args, Returns and Exceptions sections required by the repository style guide.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should use the standard...
null
LMCache__LMCache__3162
LMCache/LMCache
3,162
defect
c87d9984b6329c60e95d06d96c1eacc1481ccbaf
fdc9eedc5aea78961aa1ef29f62f89622380015c
[Refactor] Unify discover+normalize and add EngineType to REGISTER
<!-- Thanks for your contribution to LMCache! Here are some tips for you: 1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/LMCache/LMCache/blob/dev/CONTRIBUTING.md 2. If this PR closes another issue, add 'Fixes #<issue number>' somewhere in the PR summary. GitHub will automa...
diff --git a/lmcache/integration/vllm/vllm_multi_process_adapter.py b/lmcache/integration/vllm/vllm_multi_process_adapter.py index 2b7b128edeb..93e358f16b9 100644 --- a/lmcache/integration/vllm/vllm_multi_process_adapter.py +++ b/lmcache/integration/vllm/vllm_multi_process_adapter.py @@ -12,7 +12,7 @@ # First Party ...
4
1
0
[{"id": "G0", "claim": "The design document docs/design/v1/gpu_connector/layout-invariant.md still references the old function name discover_gpu_kv_format five times and must be updated to reflect the rename to normalize_kv_and_discover_format and its expanded normalization+discovery contract.", "category": "documentat...
null
LMCache__LMCache__3237
LMCache/LMCache
3,237
defect
f35456e1acbf3ad6d0f7a9d673e246920b4e9828
a5ba06220a340bf31394e1b1e7f60e5e7d919982
Refactor: abstract discover_subclasses util method
<!-- Thanks for your contribution to LMCache! Here are some tips for you: 1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/LMCache/LMCache/blob/dev/CONTRIBUTING.md 2. If this PR closes another issue, add 'Fixes #<issue number>' somewhere in the PR summary. GitHub will automa...
diff --git a/lmcache/cli/commands/__init__.py b/lmcache/cli/commands/__init__.py index 115426b37b2..bca3023a7ff 100644 --- a/lmcache/cli/commands/__init__.py +++ b/lmcache/cli/commands/__init__.py @@ -1,34 +1,31 @@ # SPDX-License-Identifier: Apache-2.0 """CLI subcommand package. -To add a new command: - -1. Create ...
3
3
2
[{"id": "G0", "claim": "Use typing.Union and TypeVar generics in subclass_discovery.py (add TypeVar/Union to the imports, annotate _resolve_package's package parameter with Union, and make discover_subclasses generic over base_class) for consistency with the codebase's typing style and better static-analysis support.",...
null
LMCache__LMCache__3280
LMCache/LMCache
3,280
defect
b16de35f0f6a1b502a348312a250d96a19009f5b
3facc1e3a41198a787e4c5dc7c50b53a4e1aacda
feat: add StubCPUDevice to allow import/startup fallback in CPU-only environments
Introduce StubCPUDevice as a torch_dev drop-in for CPU-only environments, allowing the MP server to run without a GPU. Update _detect_device() to fall back to StubCPUDevice when no accelerator is available. Override KV cache layout to HND for CPU backend since vLLM's get_kv_cache_layout() is unavailable in MP mode and ...
diff --git a/lmcache/__init__.py b/lmcache/__init__.py index 4c0e350cef0..2bd31ea266b 100644 --- a/lmcache/__init__.py +++ b/lmcache/__init__.py @@ -32,8 +32,6 @@ def _detect_device() -> tuple[Any, str]: tuple[Any, str]: A tuple of (torch_device_module, device_type_string), e.g. ``(torch.cuda, "cu...
3
3
1
[{"id": "G0", "claim": "Multiple public methods of the new StubEvent, StubStream, and StubCPUDevice classes are missing the docstrings (behavior, args, returns, exceptions) that the repository style guide requires for all new public functions.", "category": "documentation", "verdict": "supported", "priority": "P2", "sc...
null
LMMS__lmms__3382
LMMS/lmms
3,382
defect
0cb6c72e1d9f08a469b536c60b1d05c12a75665a
c42eb2e39389be9e07f523ea285e5b8cd422b9c9
Include past automation patterns in processing
Closes #662. ![lmms-662](https://cloud.githubusercontent.com/assets/2879917/23277311/a6c5c13c-fa0d-11e6-9dbc-537b3b74c88e.gif) I think that ideally, automated values should update when setting the playing position, not just when playing. Opinions on that?
diff --git a/include/Song.h b/include/Song.h index 710c2b592cc..8a75b177944 100644 --- a/include/Song.h +++ b/include/Song.h @@ -97,6 +97,7 @@ class EXPORT Song : public TrackContainer void processNextBuffer(); + void processAutomations(const TrackList& tracks, MidiTime timeStart, fpp_t frames, int tcoNum); i...
6
4
1
[{"id": "G0", "claim": "The PR causes some automation patterns to be ignored, because automation tracks are processed in the order they appear in the song editor, so a later track overwrites the values of an earlier one.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id...
null
LMMS__lmms__3510
LMMS/lmms
3,510
defect
2df56829a31151f448acb48cdacbcc96c0a0e35e
b4250be3f1ef557704e60b54eb1c89cea7303eb1
Make factory samples relative
Factory samples were broken in #1719. This patch attempts to fix the problem by patching `tryToMakeRelative` by looping through all valid `data:/` search paths and making a sample relative if contained within `<path>/samples/`. This DOES NOT have an upgrade routine to relativize existing samples (e.g. in broken R...
diff --git a/src/core/SampleBuffer.cpp b/src/core/SampleBuffer.cpp index f5ec42cdbac..9b799f8df04 100644 --- a/src/core/SampleBuffer.cpp +++ b/src/core/SampleBuffer.cpp @@ -1411,25 +1411,35 @@ void SampleBuffer::setReversed( bool _on ) -QString SampleBuffer::tryToMakeRelative( const QString & _file ) +QString Sam...
2
2
1
[{"id": "G0", "claim": "tryToMakeRelative's new implementation assumes dataDir() is an infix of factorySamplesDir() and could become a hard-to-find breakage if either changes, so a test for tryToMakeRelative should be added (ideally alongside a general-purpose search-path query function) to catch it.", "category": "tes...
null
LMMS__lmms__4211
LMMS/lmms
4,211
defect
926b6542ae6804f346eb1a014ac16e71714b1e5f
3140554328d6e453a17073ce29e88f9b6d4ffab0
Use Canonical Paths for Relative Paths Calculations
Forces strange paths like `/path/.///to/../from/foo/////` to be `/path/from/foo`. Closes #4173
diff --git a/src/core/ConfigManager.cpp b/src/core/ConfigManager.cpp index 734ccb80e46..a99223a9d41 100644 --- a/src/core/ConfigManager.cpp +++ b/src/core/ConfigManager.cpp @@ -225,9 +225,9 @@ bool ConfigManager::hasWorkingDir() const } -void ConfigManager::setWorkingDir( const QString & _wd ) +void ConfigManager:...
1
1
1
[{"id": "G0", "claim": "The added test line `QString fuzPath = absPath.replace(relPath, \"drums/.///kick01.ogg\")` mutates absPath in place, so the fuzzed path clobbers the original and the surrounding assertions won't work; fuzPath should be a copy of absPath with the replace applied to the copy.", "category": "correc...
null
LMMS__lmms__4902
LMMS/lmms
4,902
defect
5ebe0e002d2bb754259f55aec2c00c3a3fc5437f
5101aa021440c9e6c183fd197af09154df5d619a
Make Model class visitable
This makes the different `AutomatableModel`s [visitable](https://en.wikipedia.org/wiki/Visitor_pattern) and adds a visitor based cast function for cleaner code and more type safety. Currently only used in the Lv2 branch, but it's a generic feature.
diff --git a/include/AutomatableModel.h b/include/AutomatableModel.h index 78f4882b423..f5215676e3b 100644 --- a/include/AutomatableModel.h +++ b/include/AutomatableModel.h @@ -33,6 +33,7 @@ #include "MidiTime.h" #include "ValueBuffer.h" #include "MemoryManager.h" +#include "ModelVisitor.h" // simple way to map a...
5
4
0
[{"id": "G0", "claim": "`dcast` should be renamed to something more descriptive (e.g. `dynamicCast`), since `dcast` is unclear and too close to the C++ keyword `dynamic_cast`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `dynamicCast` docu...
null
LMMS__lmms__5117
LMMS/lmms
5,117
defect
1c715bc335b70d92b76bbb5d8c8c71dfba710be7
7a1bc2f71449ac192d1bc930ac717b2b19362337
Improved relative paths
Moves the toRelative/toAbsolute functions out of SampleBuffer and allow paths to be relative to locations other than the sample directory. This is a WIP, partially opened so I can get Windows binaries ;) Essentially just @PhysSong 's solution [here](https://github.com/LMMS/lmms/issues/4180#issuecomment-407307675).
diff --git a/include/PathUtil.h b/include/PathUtil.h new file mode 100644 index 00000000000..ce0dc04da9b --- /dev/null +++ b/include/PathUtil.h @@ -0,0 +1,27 @@ +#ifndef _PATHUTIL +#define _PATHUTIL + +#include <QDir> + +namespace PathUtil +{ + enum Base { AbsoluteBase, FactoryBase, SampleBase, VSTBase, SoundfontBase }...
18
18
0
[{"id": "G0", "claim": "The header guard in PathUtil.h should not start with an underscore and should be named like PATHUTIL_H.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "PathUtil.h should include lmms_export.h and mark the declared function...
null
LMMS__lmms__6602
LMMS/lmms
6,602
defect
989fc338faf658da4abd2c872b8bd6a106312141
c9242b92be1c15486eb541d81b9f9612aa180725
Support per-note detuning and panning with Sf2 Player
See title. Panning only works with FluidSynth >= 2.0, unfortunately, since that's when the `GEN_CUSTOM_BALANCE` generator was introduced. There is a `GEN_PAN` generator that works with older versions, but the channel attenuation doesn't match that of LMMS's other native instruments. I have introduced an `ArrayVector...
diff --git a/CMakeLists.txt b/CMakeLists.txt index c5de064a54a..351dfcc8ade 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -505,7 +505,11 @@ IF(WANT_SF2) find_package(FluidSynth 1.1.0) if(FluidSynth_FOUND) SET(LMMS_HAVE_FLUIDSYNTH TRUE) - SET(STATUS_FLUIDSYNTH "OK") + if(FluidSynth_VERSION_STRING VERSION_...
3
3
1
[{"id": "G0", "claim": "Either bump the required FluidSynth version to 2.0 or later, or provide a warning in the CMake output when per-note panning is not supported.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The clamp arguments are in the wrong or...
null
LabOverWire__mqtt-lib__3
LabOverWire/mqtt-lib
3
defect
555ca7d14116fa4db7636ea586546d26f55daa07
47ea6118b7ec7dc05ea5ce67c73937190e690cfd
fix bridge message loop and add WASM bridge support
## Summary - fix bridge message loop prevention for bidirectional bridges using `route_message_local_only()` - add WASM bridge `no_local` subscription support to prevent receiving own messages - add WASM broker-bridge example with documentation ## Test plan - [x] all 41+ bridge tests pass - [x] clippy passes with no...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 095ad93a..ca66c301 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Ve...
4
4
0
[{"id": "G0", "claim": "The new public method route_message_local_only lacks a doc comment explaining its purpose, when to use it vs route_message, and the publishing_client_id parameter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "route_messag...
null
LabOverWire__mqtt-lib__8
LabOverWire/mqtt-lib
8
defect
311cb2ec213f55ec77c53b70689c0b1fff6ba0fb
679ce696399b83862852aca9659819d6b7efcf08
add will message example and persist subscription options
## Summary - Add WASM will message example with browser UI demonstration - Fix WASM broker keep-alive timeout handling - Fix subscription options persistence bug: brokers now restore full subscription options (no_local, retain_as_published, retain_handling, subscription_id) on session resume with clean_start=false - Ad...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a67e535b..0a7a3396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Ve...
3
2
1
[{"id": "G0", "claim": "In the subscription-options persistence tests, the client is created with with_options(ConnectOptions::new(client_id).with_clean_start(false)) and then connects with the same options passed again to connect_with_options(), which is redundant — consider using MqttClient::new(client_id) instead.",...
null
Labelbox__labelbox-python__1341
Labelbox/labelbox-python
1,341
defect
fbea8c901f94621e46eafd05a7f68af80fdb44aa
3c09f4c6d802be7d06185f1b4fb865f681d037c7
Vb/bulk export metadata by gk sdk 415
Story: https://labelbox.atlassian.net/browse/SDK-415 API PR: https://github.com/Labelbox/intelligence/pull/18615 1. Updated DataRowMetadataOntology bulk_export to support global keys as `Identifiables` 2. Updated the `Identifiables` to support index access and slicing as required by this sdk method
diff --git a/labelbox/client.py b/labelbox/client.py index 87c85d7321..4470190f99 100644 --- a/labelbox/client.py +++ b/labelbox/client.py @@ -183,6 +183,7 @@ def convert_value(value): endpoint = self.endpoint if not experimental else self.endpoint.replace( "/graphql", "/_gql") + try: ...
1
1
0
[{"id": "G0", "claim": "Add a getter for _id_type in Identifiables instead of accessing the private variable directly from _bulk_export.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Labelbox__labelbox-python__1594
Labelbox/labelbox-python
1,594
defect
70b1ac0a896682b2b5e13b1837b765f1f1bbdaf4
2e51ccbd2c19c0843f818fdd2e01ba799c19cc47
[PLT-772] SDK Ontology, project, editor support for chat evaluation
Update methods that create ontology and project as well as setup editor and link ontology to project Approach: - use editor_task_type to identify chat evaluation ontologies and projects but hide this (internal) attribute from the user. Instead use Project ontology_kind and set it based on the editor_task_type - ...
diff --git a/docs/labelbox/index.rst b/docs/labelbox/index.rst index a0cce2c20..0867cba77 100644 --- a/docs/labelbox/index.rst +++ b/docs/labelbox/index.rst @@ -31,6 +31,7 @@ Labelbox Python SDK Documentation model model-run ontology + ontology_kind organization pagination project diff ...
6
4
0
[{"id": "G0", "claim": "The extra_params argument of _create could be **kwargs instead of a dict parameter.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out editor-setup lines in test_create_chat_evaluation_ontology_project should be delete...
null
Labelbox__labelbox-python__1622
Labelbox/labelbox-python
1,622
defect
d860edf72faff776c94828784c5455d7b98f0384
f6f2d54a4fa5457f9055bd1ffd890d75b8091e27
[PLT-1018] Add dataset.set_iam_integration() to select/deselect integrations
Currently, users can create datasets with the SDK but can't modify the integration outside of the UI. This makes migration projects tedious since no automation is possible. The current method brings a quick solution to this problem. With this new method it is possible to: - Set IAM integration for integratio...
diff --git a/libs/labelbox/src/labelbox/schema/dataset.py b/libs/labelbox/src/labelbox/schema/dataset.py index 90a201028..62186722f 100644 --- a/libs/labelbox/src/labelbox/schema/dataset.py +++ b/libs/labelbox/src/labelbox/schema/dataset.py @@ -31,6 +31,7 @@ from labelbox.schema.identifiable import UniqueId, GlobalKey...
7
7
2
[{"id": "G0", "claim": "Split set_iam_integration into two methods (add/remove semantics for associations) and make the iam_integration argument required instead of an optional None-means-unset parameter.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Labelbox__labelbox-python__1676
Labelbox/labelbox-python
1,676
defect
c1a3ac2f3f469eed5a32bb94bfd90e9dcc334d6e
ca0bacb7b821d500252974a03a2fe5070a9f7363
Added the ability to change UIMode on ontology creation
# Description * The linked issue is what prompted me to add this * Highly requested feature with multiple feedback tickets * Essentially gives the ability to toggle on and off the dropdown option for ontology creation * Loom: https://www.loom.com/share/022501be049a404793d51633f0ecbebd?sid=76b36a51-9989-47a9-9123-...
diff --git a/libs/labelbox/src/labelbox/schema/ontology.py b/libs/labelbox/src/labelbox/schema/ontology.py index 32d5a3884..73a4fd4ba 100644 --- a/libs/labelbox/src/labelbox/schema/ontology.py +++ b/libs/labelbox/src/labelbox/schema/ontology.py @@ -98,7 +98,7 @@ class Classification: removed in a future releas...
1
1
0
[{"id": "G0", "claim": "The new field annotation should use `ui_mode: Optional[UIMode] = None` instead of `ui_mode: UIMode = None`, matching the project's typing pattern for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Labelbox__labelbox-python__1683
Labelbox/labelbox-python
1,683
defect
dc86872de463ef723dc50a413093fe8ecd864e88
3336e2b22e4825fbf8102afdd0a5be2115c94351
[MODEL-1474] Quality modes as list
# Description Allow creation of projects as both benchmark and consensus. Can only be rolled out after B&C GA. Fixes # (issue) ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functio...
diff --git a/examples/README.md b/examples/README.md index 30f615bc2..8aca50612 100644 --- a/examples/README.md +++ b/examples/README.md @@ -17,14 +17,9 @@ </thead> <tbody> <tr> - <td>Ontologies</td> - <td><a href="https://github.com/Labelbox/labelbox-python/tree/develop/examples/basics/ontologies....
6
4
2
[{"id": "G0", "claim": "Making queue_mode (quality_mode) take a List[QualityMode] instead of a single QualityMode makes the interface incompatible for SDK users; the method needs to accept either one or the whole list.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
Labelbox__labelbox-python__1707
Labelbox/labelbox-python
1,707
defect
39a8b0b4ebf0fe40c139c18d9e56c7de2c0464f0
3f1fdccc1bd14435e33ff0d1dacc5b714fd47978
Add upload_type to Project
# Description This PR replaces logic mirrored from the api in a custom method with an attribute set by the api directly. This makes it more reliable ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change...
diff --git a/libs/labelbox/src/labelbox/schema/ontology_kind.py b/libs/labelbox/src/labelbox/schema/ontology_kind.py index e33e7cef3e..fe79cb9bc6 100644 --- a/libs/labelbox/src/labelbox/schema/ontology_kind.py +++ b/libs/labelbox/src/labelbox/schema/ontology_kind.py @@ -34,16 +34,16 @@ def is_supported(cls, value): ...
2
1
0
[{"id": "G0", "claim": "The `(self.upload_type == UploadType.Auto) is True` comparison in is_auto_data_generation is redundant; it should simply return self.upload_type == UploadType.Auto.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The is_au...
null
Labelbox__labelbox-python__1767
Labelbox/labelbox-python
1,767
defect
5eb500cfe130229d5d1f3fbc876fdf336940e668
eabad36f0470b902305920421869ef266cdc108c
Add DisconncetedTask
# Description The idea is to improve user experience for long waits. For example, for large data upload tasks, they would have to use code similar to ``` task = dataset.create_data_rows(data_rows) task.wait_till_done() assert task.status == "COMPLETE" ``` And for long waits the task times out ...
diff --git a/docs/labelbox/disconnected-task.rst b/docs/labelbox/disconnected-task.rst new file mode 100644 index 0000000000..8516c06ebd --- /dev/null +++ b/docs/labelbox/disconnected-task.rst @@ -0,0 +1,7 @@ +Disconnected Task +===========================================================================================...
2
2
1
[{"id": "G0", "claim": "Avoid adding the DisconnectedTask type, since its only purpose is delegation to a Task surfaced by task_id.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Do not include both TaskFactory.get and get_task_by_id, since the duplicate...
null
Labelbox__labelbox-python__1771
Labelbox/labelbox-python
1,771
defect
27c77b93f6d45f488ceff1569ba5d68e94b9be2f
2bd487a1e87b946c34bdbbd058b5462efd4f04f3
Vb/search projects filters plt 1399
# Description Add search filters to project list Story: https://labelbox.atlassian.net/browse/PLT-1399 Methods updated: - Client get_labeling_service_dashboards - LabelingServiceDashboard.get_all Adds API/ES search filters as pydantic classes ## Type of change Please delete options that are not rele...
diff --git a/docs/labelbox/index.rst b/docs/labelbox/index.rst index 35bcd03a1f..35118f56f2 100644 --- a/docs/labelbox/index.rst +++ b/docs/labelbox/index.rst @@ -30,6 +30,7 @@ Labelbox Python SDK Documentation labeling-frontend-options labeling-parameter-override labeling-service + labeling-service-d...
2
2
0
[{"id": "G0", "claim": "If _dict_to_graphql_string is still needed (rather than json.dumps), its parameter type should be widened from Union[dict, list] to Union[dict, list, str, number] (or any) for a more accurate type.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"},...
null
Labelbox__labelbox-python__485
Labelbox/labelbox-python
485
defect
6512fdd2c25767f5efcdd2605b5c9fbbdea579ba
e6a8388d1722a4033dc5a643eec623547e51a100
[AL-1716] Datarow Delete Attachment
Added ability to delete an attachment on a datarow https://labelbox.atlassian.net/browse/AL-1716
diff --git a/labelbox/schema/data_row.py b/labelbox/schema/data_row.py index 66cb595dd..9adcd7f8b 100644 --- a/labelbox/schema/data_row.py +++ b/labelbox/schema/data_row.py @@ -96,3 +96,11 @@ def create_attachment(self, attachment_type, }) return Entity.AssetAttachment(self.client, ...
1
1
1
[{"id": "G0", "claim": "The delete logic should live on AssetAttachment (ideally by inheriting from Deletable, otherwise by moving the function there) so users can call attachment.delete() instead of DataRow.delete_attachment(id).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Labelbox__labelbox-python__555
Labelbox/labelbox-python
555
defect
b2b675dcc911bf8caaf379db93090656bdb2ce7e
18911a16de48e8a7d0a175b2f47755b28d4954b8
AL-2183 - Add MediaType support to Project
This is the implementation of https://labelbox.atlassian.net/browse/AL-2183 to create, retrieve and update media types for projects. To highlight that `MediaType` is generic and not specific to projects, the enumeration was relocated to its own file `media_type.py`. ### Terminology We use the terminology `Medi...
diff --git a/labelbox/client.py b/labelbox/client.py index 49d3d5d1b..a653ba999 100644 --- a/labelbox/client.py +++ b/labelbox/client.py @@ -611,6 +611,20 @@ def create_project(self, **kwargs) -> Project: InvalidAttributeError: If the Project type does not contain any of the attribute name...
4
4
1
[{"id": "G0", "claim": "The invalid-media-type error message raised in create_project should be reworded to something shorter like \"f\\\"{media_type} is not a valid media type. Use any of {media_types}.\\\"\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
Labelbox__labelbox-python__565
Labelbox/labelbox-python
565
defect
8f4a839abe971f4bcc609ab4839d589c04903879
b9ffb80975869d80e605c749689e4f50bd52bb0e
[AL-2218] Adding optional metadata_fields to create_data_row()
https://labelbox.atlassian.net/browse/AL-2218 Changes: - Adding metadata_fields as an optional parameter to create_data_row() - Setting metadata_fields as a new Field in DataRow as a new field type, List - Adjusting graphql query parameters to adjust for metadataFields - Caching metadata ontology Heads up: - T...
diff --git a/labelbox/client.py b/labelbox/client.py index 133fb4a40..397547630 100644 --- a/labelbox/client.py +++ b/labelbox/client.py @@ -90,6 +90,7 @@ def __init__(self, 'Authorization': 'Bearer %s' % api_key, 'X-User-Agent': f'python-sdk {SDK_VERSION}' } + self.data_row_me...
4
4
2
[{"id": "G0", "claim": "Caching the ontology on the client means get_data_row_metadata_ontology() may no longer fetch the most up-to-date metadata after it changes, and there is no public way for callers to refresh it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
Labelbox__labelbox-python__717
Labelbox/labelbox-python
717
defect
25ef5f2c754e0dfb6d07b70e5fd9514e9040cfb7
61b65b370c176c7e53e90bf2783a04293e3ac76c
[QQC-506] Rename CATALOG to BATCH in QueueMode
Part of the effort to update our internal naming for QueueMode.Batch. New client SDKs will prefer `BATCHES` value for `QueueMode.Batch`, while still parsing `CATALOG` responses from the API until all our clients update their client version. Needs to be merged after https://github.com/Labelbox/intelligence/pull/10515...
diff --git a/CHANGELOG.md b/CHANGELOG.md index fb3e7ae8dc..960e75dfe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * For more information, visit https://docs.labelbox.com/reference/migrating-to-workflows#upcoming-changes * Updated `project.export_labels` to support filtering by start/end time form...
1
1
0
[{"id": "G0", "claim": "The new CHANGELOG line should be rebased and moved under the \"In Progress\" section once a new version has been released, rather than sitting under the just-released 3.27.2 section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Labelbox__labelbox-python__889
Labelbox/labelbox-python
889
defect
a356b0c993c76678b6b02dadc5289334f74792d3
7428b76ace3f7fa9565b4a72f65e0955e10a8289
last activity filter
* Filter exports by all activity related to the label
diff --git a/CHANGELOG.md b/CHANGELOG.md index d50d40d8f..e4118a9f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog # Version 3.37.0 (2023-xx-xx) +## Added +* New `last_activity_start` param to `project.export_labels()` for filtering which labels are exported. See docstring for more on how ...
2
1
0
[{"id": "G0", "claim": "The debug `print(query_str)` statement added to `Project.export_labels` in labelbox/schema/project.py is unneeded and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new filtered-export test test_exp...
null
Labelbox__labelbox-python__953
Labelbox/labelbox-python
953
defect
6816ffafcf8e4bd451ef69f869163da03023c421
a8c41f56d348b4ed4ed226b7d3d65b04464b2749
[AL-4867] Create batch using global keys
Depends on: https://github.com/Labelbox/intelligence/pull/13652
diff --git a/labelbox/schema/project.py b/labelbox/schema/project.py index d7bd33d31f..4b8becf254 100644 --- a/labelbox/schema/project.py +++ b/labelbox/schema/project.py @@ -671,14 +671,16 @@ def setup(self, labeling_frontend, labeling_frontend_options) -> None: def create_batch(self, name...
3
3
1
[{"id": "G0", "claim": "The \"You can DataRow ids or DataRow objects\" error text is oddly worded and would read better with the word \"provide\" added.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The __check_data_rows_have_been_processed query...
null
Labelbox__labelbox-python__986
Labelbox/labelbox-python
986
defect
606ea8ee52a93c49f2f0343753da9252a58966a5
63d30eb0a430ad5c8ded07b03d4c2d9419d0c8be
[AL-5172] Global key support for Annotation Types
- Adds global_key to Annotation Types and supports NDJsonConverter serialization and deserialization - Added test cases for all currently supported data types - Validate that both globalKey and id cannot be supplied in annotation imports (only for MALPredictionImport, MEAPredictionImport and LabelImport)
diff --git a/labelbox/__init__.py b/labelbox/__init__.py index 47b4a9d70..6cc005fba 100644 --- a/labelbox/__init__.py +++ b/labelbox/__init__.py @@ -5,7 +5,7 @@ from labelbox.schema.project import Project from labelbox.schema.model import Model from labelbox.schema.bulk_import_request import BulkImportRequest -from ...
6
6
1
[{"id": "G0", "claim": "Suggests changing must_set_one's condition so the case where both id and global_key are None is also treated as invalid, 'to be on a safe side'.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The SDK-side data-row validation-...
null
Laboratoria__curriculum__1425
Laboratoria/curriculum
1,425
defect
31d2cae9d565cf314068b4d8e9a592ec97334132
b89293b551eda0e88f468f3ce2e3ff7cf0a6de50
Cambia `copy` para solo copiar archivos de idioma elegido
Ahora el script solo analiza que el README de idioma (pt o es) esta copiado, pero si hay otros markdowns, copian todo. Ahora el comportamiento esta bien con `README` sin `--locale` o `--locale=es` : `README.md` -> `README.md` `--locale=pt` : `README.pt.md` -> `README.md` pero con otros archivos con idioma, no i...
diff --git a/scripts/create-cohort-project.mjs b/scripts/create-cohort-project.mjs index 4147b4d00..9e9186fe1 100755 --- a/scripts/create-cohort-project.mjs +++ b/scripts/create-cohort-project.mjs @@ -79,11 +79,13 @@ const copy = async (src, repoDir, opts) => { await cp(src, repoDir, { recursive: true }); if (o...
1
1
1
[{"id": "G0", "claim": "The script invokes a function named `getAllFilesInDir` that is not declared in the script, so it looks like it was left out of this PR.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Laboratoria__curriculum__1427
Laboratoria/curriculum
1,427
defect
31d2cae9d565cf314068b4d8e9a592ec97334132
12362e8b42f08d63f411196ad1e7be3dc0f0eb9c
Text analyzer dev009 improvements
Fix issue #1393 y #1419 https://laboratoriala.slack.com/archives/C056FVCP1U1/p1688124614768409
diff --git a/projects/01-text-analyzer/README.md b/projects/01-text-analyzer/README.md index eb017506e..d4e0e0946 100644 --- a/projects/01-text-analyzer/README.md +++ b/projects/01-text-analyzer/README.md @@ -204,7 +204,33 @@ relacionados con cada objetivo de aprendizaje. [`<ul>`](https://developer.mozilla.org/en-US...
4
2
1
[{"id": "G0", "claim": "The documentation link for the `<li>` element is repeated in several checklist items and should not be repeated every time.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README should eventually use the more semantic `...
null
Laboratoria__curriculum__1537
Laboratoria/curriculum
1,537
defect
24f5a51ee0a15f345b59fcd2ef44c3616abdfce5
a8797e4fa918c4234ee8115ab0bdb732dae0807d
Add Text Analyzer README in Portuguese
- Se hizo una revisión completa de que todo estuviera en portugués y con la misma estructura del .md original. - Se revisó cada uno de los links que habían y se actualizaron algunos a recursos en portugués.
diff --git a/projects/01-text-analyzer/README.pt.md b/projects/01-text-analyzer/README.pt.md new file mode 100644 index 000000000..18ff3d576 --- /dev/null +++ b/projects/01-text-analyzer/README.pt.md @@ -0,0 +1,576 @@ +# Analisador de Texto + +## Índice + +- [1. Considerações gerais](#1-considerações-gerais) +- [2. Pre...
2
2
1
[{"id": "G0", "claim": "In the README's words example, remove the exclamation mark before \"Sim\" so the sentence only keeps it at the end (\"Sim, você pode fazer isso!\" instead of \"¡Sim, você pode fazer isso!\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
Laboratoria__curriculum__1672
Laboratoria/curriculum
1,672
defect
1de2680e40ef16d29e19985aead2ed487f0e8345
8070960063647264135b4af426893ea88025678c
Dataverse tests fix
Se busca responder al issue #1646 en resolviendo los siguientes pendientes: - quita parseFloat https://github.com/Laboratoria/curriculum/issues/1632#issuecomment-1804646772 - camelCase fallas https://github.com/Laboratoria/curriculum/issues/1632#issuecomment-1804663249 - relajamos https? https://github.com/Laborator...
diff --git a/projects/02-dataverse/README.md b/projects/02-dataverse/README.md index 6916c10e7..81f60c44a 100644 --- a/projects/02-dataverse/README.md +++ b/projects/02-dataverse/README.md @@ -336,6 +336,7 @@ npm run test:oas // Esto es para correr todos los tests de OAs - [ ] Tiene un `<footer>` - [ ] Tiene un `...
5
4
1
[{"id": "G0", "claim": "The 'Number' conversion test (and its counters) in oa-javascript.spec.js is a leftover from the Text Analyzer counters and can be removed from the Dataverse tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If the camelCase r...
null
Laboratoria__curriculum__855
Laboratoria/curriculum
855
defect
e8969d2dc22af253c74da2f88633c87ffc008150
8d70b9c0c37a6756c3ff4790a8f2ce11091ec250
chore(integrate-langs): Add pt-BR readme on cipher project
It is the first one of the languages integrations [issue](https://github.com/Laboratoria/curricula-js/issues/847).
diff --git a/projects/01-cipher/README.pt-BR.md b/projects/01-cipher/README.pt-BR.md new file mode 100644 index 000000000..b140ad954 --- /dev/null +++ b/projects/01-cipher/README.pt-BR.md @@ -0,0 +1,359 @@ +# Cifra de César + +## Índice + +* [1. Prefácio](#1-prefácio) +* [2. Resumo do projeto](#2-resumo-do-projeto) +* ...
34
32
5
[{"id": "G0", "claim": "If the boilerplate comments target students, they should be in both Spanish and Portuguese rather than English.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The index anchor 'leituras completares' should read 'leituras complemen...
null
LadybirdBrowser__ladybird__4860
LadybirdBrowser/ladybird
4,860
defect
cdb249e05807677e9628ef31db7a7b51a08fd3af
547687170212d851d68d2e67b2700a0b5266e4cc
LibCore: MimeType for text/plain has base names with lines folded
Fix and tests for text/plain issue on .shellrc and CMakeList.txt lines folded in LibCore/MimeType.cpp fixes #4859
diff --git a/Libraries/LibCore/MimeData.cpp b/Libraries/LibCore/MimeData.cpp index 1e3ac562b803b..080025f3eb674 100644 --- a/Libraries/LibCore/MimeData.cpp +++ b/Libraries/LibCore/MimeData.cpp @@ -61,8 +61,7 @@ static Array constexpr s_plaintext_suffixes = { // Base names ".history"sv, - ".shellrc"sv - ...
4
4
0
[{"id": "G0", "claim": "The new test file's copyright header credits Andreas Kling, who did not write the test, and should instead credit the actual author or a generic 'the Ladybird Developers' line.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
LadybirdBrowser__ladybird__6286
LadybirdBrowser/ladybird
6,286
defect
319e381eb9cba237927377ad9cff2213bb79cfee
358281bdd354f4095b486b16822f9ef685a46113
Meta+Tests: Update vcpkg dependencies
The primary motivation for this is version 8.1.0 of `fast_float`, which contains a change that fixes #6205. Since the baseline update already caused everything to rebuild, I've also bumped all other dependencies that were a straightforward version change. There is nothing super relevant in the changelogs for these v...
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index bb50a409f5b54..6a62315117b67 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -117,7 +117,7 @@ runs: run: | set -e brew update - brew install autoconf autoconf-ar...
1
1
1
[{"id": "G0", "claim": "Put the regression test in Tests/AK/TestStringConversions.cpp instead of the new JS test file, so that both UTF-8 and UTF-16 strings can be exercised.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LadybirdBrowser__ladybird__6786
LadybirdBrowser/ladybird
6,786
defect
8fa081cb1d7bec1e048c5f89422ef25cfbc412a9
ddb1ae3cb2d2a0959724bb9fe350b9c1ece53d36
LibMedia: Move overlapping audio block correction to the data provider
This prevents PlaybackManager's seek while enabling an audio track from causing the AudioMixingSink to push audio blocks forward unnecessarily. Previously, the seek would cause the initial block or blocks to repeat from the perspective of AudioMixingSink, so it would think that it needs to shift the first block after t...
diff --git a/AK/Time.cpp b/AK/Time.cpp index 96aac19f77ac8..fed3e712f525a 100644 --- a/AK/Time.cpp +++ b/AK/Time.cpp @@ -8,9 +8,12 @@ #include <AK/Checked.h> #include <AK/DateConstants.h> #include <AK/GenericLexer.h> +#include <AK/Math.h> #include <AK/String.h> #include <AK/StringBuilder.h> #include <AK/Time.h> +...
2
2
0
[{"id": "G0", "claim": "from_time_units should compute its Checked<i64> accumulator directly (auto seconds_checked = Checked<i64>(time_units);) instead of wrapping the arithmetic in an IIFE.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new...
null
LadybirdBrowser__ladybird__7346
LadybirdBrowser/ladybird
7,346
defect
e4fb4d7c1af953a71a4f162e8038cca044044d34
68ebba838b7823e9a85e0867f6360e6c73512b0c
LibWeb: Isolate gamepad tests from hardware, and each other
With these changes, tests can't see any real game controllers that are connected to the test machine, and we also forcibly disconnect any virtual gamepads at the end of each test so that forgetting or failing to do so doesn't impact subsequent tests. **EDIT: Both issues I listed below are now resolved, yay.** ---...
diff --git a/Libraries/LibWeb/Gamepad/NavigatorGamepad.cpp b/Libraries/LibWeb/Gamepad/NavigatorGamepad.cpp index e0edd24c3c35e..a3ad3be02704c 100644 --- a/Libraries/LibWeb/Gamepad/NavigatorGamepad.cpp +++ b/Libraries/LibWeb/Gamepad/NavigatorGamepad.cpp @@ -97,8 +97,6 @@ void NavigatorGamepadPartial::handle_gamepad_conn...
2
2
1
[{"id": "G0", "claim": "The per-test clean-up should be hooked into Internals::signal_test_is_done instead of running from a navigation heuristic in begin_navigation, since some tests do more than one navigation.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
LadybirdBrowser__ladybird__7556
LadybirdBrowser/ladybird
7,556
defect
ef1b4a4d57678bb36877be1fccce1515355082ae
afc77d9eeb3ce84f920a0bd01d31648afc52646d
LibWeb: Implement `word-break` functionality using UAX#14 line breaking
~~NOTE: This is built on top of #7536, which should be merged first.~~ We now use ICU's line break iterator to determine soft wrap opportunities, enabling correct line breaking for CJK text. This also gains us 780 WPT subtest passes in the `css/css-text` directory. The improvement can be clearly seen on the C...
diff --git a/Libraries/LibUnicode/CharacterTypes.cpp b/Libraries/LibUnicode/CharacterTypes.cpp index 5bb42d6a23ce3..5d5d685556a69 100644 --- a/Libraries/LibUnicode/CharacterTypes.cpp +++ b/Libraries/LibUnicode/CharacterTypes.cpp @@ -463,4 +463,30 @@ BidiClass bidirectional_class(u32 code_point) return char_directi...
2
2
1
[{"id": "G0", "claim": "Maybe some logic could be added to Utf16View::code_point_at() so TextNode does not have to hand-roll the previous-code-point/surrogate stepping here.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add some basic line segmentation ...
null
LadybirdBrowser__ladybird__7614
LadybirdBrowser/ladybird
7,614
defect
2075eddbf1ce81c09db3436e529c22030345f9e3
a00fbaeba86545f34a3d672ddce623cb0f3f451a
LibMedia: Treat reserved CICP values as unspecified
This aligns with other engines, which treat reserved or invalid CICP values equivalently to unspecified and default to BT.709. This fixes a crash on the [Photopea home page](https://www.photopea.com/) that happened when trying to load https://www.photopea.com/img/goats.mp4. I was able to create a minimal reproduc...
diff --git a/Libraries/LibGfx/ImmutableBitmap.cpp b/Libraries/LibGfx/ImmutableBitmap.cpp index e21d72a6bd886..06ccc165168b2 100644 --- a/Libraries/LibGfx/ImmutableBitmap.cpp +++ b/Libraries/LibGfx/ImmutableBitmap.cpp @@ -221,6 +221,7 @@ static sk_sp<SkColorSpace> color_space_from_cicp(Media::CodingIndependentCodePoi ...
2
2
1
[{"id": "G0", "claim": "The PR only keeps reserved CICP values out of ImmutableBitmap by defaulting them downstream, so the reviewer asks that the CICP values be defaulted in ImmutableBitmap itself (and that default_code_points_if_unspecified() then be dropped), because crafted invalid CICP values in the container coul...
null
LadybirdBrowser__ladybird__7759
LadybirdBrowser/ladybird
7,759
defect
617b8cb247bc78f8b1da6aa120af75b1b87aa27a
86cfbb0cc4c0555e46ff4daac7926b4c0f5b8f15
LibWeb: Implement basics of the WebXR testing framework
Continuation of https://github.com/LadybirdBrowser/ladybird/pull/7424. We need this to run any of the WPT tests. This also removes our own test for sessionSupported, since the WPT one now works. Additional WPT tests will need some integration with WebGL though.
diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txt index 6a7d260e6deca..8406df282f3d2 100644 --- a/Libraries/LibWeb/CMakeLists.txt +++ b/Libraries/LibWeb/CMakeLists.txt @@ -718,11 +718,13 @@ set(SOURCES Infra/ByteSequences.cpp Infra/JSON.cpp Infra/Strings.cpp + Internals/Fa...
4
4
1
[{"id": "G0", "claim": "The copyright headers of the new files FakeXRDevice.cpp and XRTest.cpp name Tim Flynn instead of the actual author of the code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Window.cpp is missing a blank line between the n...
null
LadybirdBrowser__ladybird__7834
LadybirdBrowser/ladybird
7,834
defect
4a8ef68b90551bb8f49856675aca076f91fa7d68
aa5e49dd3f9120d663a84867c4a4b295680ca498
LibWasm: Various GC improvements
This PR: 1. Adds support for parsing typeuse references (`ref null typeidx`) by extending `ValueType`, 2. array types in parsing and validation, 3. and validation of the type section. This allows modules like ```wat (module (type $T (struct (field i32) (field f32))) (type $T1 (struct (field i32) (field ...
diff --git a/Libraries/LibWasm/AbstractMachine/AbstractMachine.h b/Libraries/LibWasm/AbstractMachine/AbstractMachine.h index 6e0fffc041a2f..db2d42b3774d6 100644 --- a/Libraries/LibWasm/AbstractMachine/AbstractMachine.h +++ b/Libraries/LibWasm/AbstractMachine/AbstractMachine.h @@ -103,6 +103,7 @@ class Value { ...
2
2
1
[{"id": "G0", "claim": "The value printer should print a separate name for TypeUseReference values instead of sharing the unsupported-heap-ref output.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ValueType's m_argument variant should use Empty as ...
null
LadybirdBrowser__ladybird__8158
LadybirdBrowser/ladybird
8,158
defect
7b0d818f8e55d314216f1bfdfd264e323b34e176
f98b05295e98730a1b47ea38f91bf938a7eda537
AK+LibGC: Introduce `weak_callback()`
Neat little template to make working with WeakPtr/strong refs and GC::Weak a bit easier on the eyes.
diff --git a/AK/WeakPtr.h b/AK/WeakPtr.h index f24c411ad5046..95fd9bf05a19c 100644 --- a/AK/WeakPtr.h +++ b/AK/WeakPtr.h @@ -173,14 +173,13 @@ class [[nodiscard]] WeakPtr { RefPtr<WeakLink> m_link; }; -template<typename T> -template<typename U> -inline ErrorOr<WeakPtr<U>> Weakable<T>::try_make_weak_ptr() const ...
5
5
4
[{"id": "G0", "claim": "AK::weak_callback's use of make_weak_ptr/strong_ref would fail to compile for types that are not ref-counted (such as the Request type in #8155); the reviewer proposed an alternative implementation built on `if constexpr (requires { obj.ref(); obj.unref(); })`.", "category": "correctness", "verd...
null
LadybirdBrowser__ladybird__8415
LadybirdBrowser/ladybird
8,415
defect
ebaad09b1b5d3854dffcaae1e6ee971861240628
27f104a2e6c6d82541f83786cc0cfa3fe5d7fcf7
LibJS: Route canParseSource() through Script::parse() and align rust parser behavior
This fixes a split-brain in the `test-js` harness. `canParseSource()` was using the C++ parser, while runtime parsing goes through `Script::parse()` (Rust-first). That meant parser-facing tests could pass while exercising a different path than what the runtime would execute, masking non-alignment with the standard. ...
diff --git a/Libraries/LibJS/Rust/src/parser/declarations.rs b/Libraries/LibJS/Rust/src/parser/declarations.rs index ae33d880ee569..a423a9f203e5b 100644 --- a/Libraries/LibJS/Rust/src/parser/declarations.rs +++ b/Libraries/LibJS/Rust/src/parser/declarations.rs @@ -241,6 +241,10 @@ impl Parser<'_> { Non...
3
3
1
[{"id": "G0", "claim": "The pull request cannot be merged while it makes CI fail, and the author has to include fixes for any problems the change exposes.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "If checking out and building in the middle of t...
null
LadybirdBrowser__ladybird__8965
LadybirdBrowser/ladybird
8,965
defect
f4372de6e81a87925066d4d1cb01759e0ada5c2c
814fe1979bc844144b7cae5b6e118c1399bf4099
Short-circuit CacheIndex eviction when under its size limit
makes Google Maps go much faster! remove_entries_exceeding_cache_limit() is called after every network response, but the cache is usually still under budget and nothing needs to evict. Every one of those calls currently still runs the window-function eviction SQL over the whole CacheIndex table just to conclude ...
diff --git a/Libraries/LibHTTP/Cache/CacheIndex.cpp b/Libraries/LibHTTP/Cache/CacheIndex.cpp index 7a980e49d176d..1cacf5791f272 100644 --- a/Libraries/LibHTTP/Cache/CacheIndex.cpp +++ b/Libraries/LibHTTP/Cache/CacheIndex.cpp @@ -167,6 +167,8 @@ ErrorOr<void> CacheIndex::create_entry(u64 cache_key, u64 vary_key, String ...
3
1
1
[{"id": "G0", "claim": "In terms of the API it feels wrong to call ::delete_entry() inside ::create_entry(); instead take m_entries.ensure(cache_key) and check containment before appending, which also avoids trashing and recreating the vector when an entry is the only one present.", "category": "design", "verdict": "un...
null
LadybirdBrowser__ladybird__8978
LadybirdBrowser/ladybird
8,978
defect
e955f5d5e20e276063ba3e7095a5f6af8b5c5544
3224c7906bcb382480373a827100f1c75df7cd27
test-web: Dont leak captured fds when a helper process dies
Ensure test-web stays under the open fd limit on runs featuring many WebWorker aborts and high repeat counts.
diff --git a/Tests/LibWeb/test-web/TestRunCapture.cpp b/Tests/LibWeb/test-web/TestRunCapture.cpp index 0c906f34c891a..d16d96020bf05 100644 --- a/Tests/LibWeb/test-web/TestRunCapture.cpp +++ b/Tests/LibWeb/test-web/TestRunCapture.cpp @@ -28,6 +28,12 @@ TestRunCapture::TestRunCapture() process_manager.on_process_add...
1
1
1
[{"id": "G0", "claim": "The on_process_exited handler should drain the captured stdout/stderr pipes before the helper output capture is removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Lakhankumawat__LearnCPP__465
Lakhankumawat/LearnCPP
465
defect
5a8ff8d9a283332e12c2e454da795134a6af15bc
709bb0213e1d63911f0aa0ddc5207af695b96998
#395: Created a C++ file and updated readme for Shortest Common Super-sequence
## Related Issue - Given two strings str1 and str2, the task is to find the length of the shortest string that has both str1 and str2 as subsequences. (please mention issue number #395 ) - Added the code implementation of Shortest Common Super-sequence Problem using dp. - Added the explanation of Shortest Common Su...
diff --git a/D-DynamicProgramming/README.md b/D-DynamicProgramming/README.md index 84a73b65b..4adecde0f 100644 --- a/D-DynamicProgramming/README.md +++ b/D-DynamicProgramming/README.md @@ -2,15 +2,14 @@ # Table of content - [Dynamic Programming](#dynamic-programming) - [Equal Sum Partition Problem](#equal-sum-partit...
3
3
2
[{"id": "G0", "claim": "The main function should take user input instead of running only on hardcoded demo strings.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README needs a working image and must follow the repository's README guidelines.",...
null
LangStream__langstream__201
LangStream/langstream
201
defect
fd319349b7ec38b00b5338acd81ba6ebbc506937
07031798183b29a40aaac4e3b5754bb9497cb8c6
Fix null agentId in composite agents status
For composite agent, the nested agent Id was always null. For instance ``` status: status: status: "DEPLOYED" reason: null agents: drop1: status: status: "DEPLOYED" reason: null workers: test-drop1-0: status: "RUNNING" reason: null ...
diff --git a/examples/applications/openai-completions/configuration.yaml b/examples/applications/openai-completions/configuration.yaml index 0e2f50e93..6274e5efa 100644 --- a/examples/applications/openai-completions/configuration.yaml +++ b/examples/applications/openai-completions/configuration.yaml @@ -16,7 +16,7 @@ ...
2
2
1
[{"id": "G0", "claim": "The change of `resources:` to `resources: []` in examples/applications/openai-completions/configuration.yaml is unrelated to the pull request's purpose and should not be part of it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
LangStream__langstream__286
LangStream/langstream
286
defect
78190a3d6e85f143308544a0f4ebdb52e513cd09
1183b03517b020e3ffe421438769cf827ecf1776
Allow asynchronous processing in AgentProcessor and in AgentSinks
Rework the AgentProcessor API to allow asynchronous processing. The idea is that some agents perform IO and they should not block the pipeline. The main challenge then is about guaranteeing the ordering of processing and also committing the offsets "in order" to Kafka. With a Pulsar Shared subscription life would...
diff --git a/langstream-api/src/main/java/ai/langstream/api/runner/code/AgentCodeAndLoader.java b/langstream-api/src/main/java/ai/langstream/api/runner/code/AgentCodeAndLoader.java index f8bbe365e..5f3a79c9f 100644 --- a/langstream-api/src/main/java/ai/langstream/api/runner/code/AgentCodeAndLoader.java +++ b/langstream...
10
10
0
[{"id": "G0", "claim": "The javadoc of AgentProcessor.process still documents the old throwing, list-returning signature and must be updated to match the new RecordSink-based one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added creation-m...
null
LangStream__langstream__363
LangStream/langstream
363
defect
7657fc0e6c430b27b925688ba8d27c4b95f7a95b
761d860faa027ff92ced9afdd9a09a9714c7ac40
Implement gateway events
Fixes #352 * Moved the producer creation before the handshake response in the producer endpoint * Added a new event for client connected and disconnected * Added new field ´events-topic´ in the gateway which is the topic to write on the events The write of the client connected event is sync and, in case of fail...
diff --git a/langstream-api-gateway/src/main/java/ai/langstream/apigateway/websocket/AuthenticationInterceptor.java b/langstream-api-gateway/src/main/java/ai/langstream/apigateway/websocket/AuthenticationInterceptor.java index aa6d25885..9c86d3c9f 100644 --- a/langstream-api-gateway/src/main/java/ai/langstream/apigatew...
1
1
1
[{"id": "G0", "claim": "The new events API classes should live in the package `ai.langstream.api.events` instead of `ai.langstream.api.runner.topics.events`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LangStream__langstream__406
LangStream/langstream
406
defect
e1379ebca8d561edff090a92a83c866d10600272
a22657b1318a25f3d1555b3c43b5a3de4802a203
Add gRPC processor agent
For preliminary review. Still need to: * Put the agent in its own artifact * Build a NAR * Resolve TODOs
diff --git a/langstream-runtime/langstream-runtime-impl/pom.xml b/langstream-runtime/langstream-runtime-impl/pom.xml index c7d03bace..f44eb52a3 100644 --- a/langstream-runtime/langstream-runtime-impl/pom.xml +++ b/langstream-runtime/langstream-runtime-impl/pom.xml @@ -117,6 +117,12 @@ <scope>runtime</scope> ...
3
2
1
[{"id": "G0", "claim": "An untrusted remote server could OOM the runtime by sending a large number of schemas, since the schema maps are unbounded; the author judged it not an issue for now but said a limit may have to be added in the future.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": ...
null
LangStream__langstream__413
LangStream/langstream
413
defect
0e5f74de17c601654691a49e47da266f5e9b4804
fa522e5c7a06a9f1ad5ea2e9a11c3e6df390e965
[kafka] Support writing messages with different schemas
Summary: Use a smarter algorithm to cache the Serialiser while producing to a Kafka topic
diff --git a/langstream-kafka-runtime/src/main/java/ai/langstream/kafka/runner/KafkaProducerWrapper.java b/langstream-kafka-runtime/src/main/java/ai/langstream/kafka/runner/KafkaProducerWrapper.java index a56d09a97..e205c419e 100644 --- a/langstream-kafka-runtime/src/main/java/ai/langstream/kafka/runner/KafkaProducerWr...
1
1
0
[{"id": "G0", "claim": "The serializer-choice log on line 175 is emitted on every write; it should be logged only when the serializer changes.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LangStream__langstream__421
LangStream/langstream
421
defect
1bcdeb2b622d946fabbd746195a8926772fe3e10
0e60be78c815ae390084bc84fdd5836466aa24a1
Introduce deletion-mode for assets
Same of https://github.com/LangStream/langstream/pull/418 but for assets. new field `deletion-mode: none|delete`. Default is none When deletion-mode=delete, the `delete-statements` field is required (list[] string) and all the statements are executed at deletion time. ``` assets: - name: "vsearch-keyspace"...
diff --git a/langstream-agents/langstream-vector-agents/src/main/java/ai/langstream/agents/vector/cassandra/CassandraAssetsManagerProvider.java b/langstream-agents/langstream-vector-agents/src/main/java/ai/langstream/agents/vector/cassandra/CassandraAssetsManagerProvider.java index dab573af0..79d39e395 100644 --- a/lan...
2
2
2
[{"id": "G0", "claim": "The automatic fallback that generates a DROP TABLE/DROP KEYSPACE statement when no delete-statements are configured is a bad idea because the table or keyspace may have other dependencies (e.g. INDEXes) that the generated statement does not account for; if there is no statement the code should d...
null
LangStream__langstream__477
LangStream/langstream
477
defect
5372fc89f3e52819c00bde6198f023617d1f8cd7
cde9e193ffc1e40240b9b30d4c1e56fed8da9a37
Implement ai-text-completions - OpenAI
* New agent type `ai-text-completions` that calls the completions API * Configuration properties are the same as the ai-chat-completions API * Streaming is supported as well Added example here: https://github.com/LangStream/langstream/tree/openai-text-completions/examples/applications/openai-text-completions
diff --git a/examples/applications/openai-completions/README.md b/examples/applications/openai-completions/README.md index 0be01f7d8..778af0034 100644 --- a/examples/applications/openai-completions/README.md +++ b/examples/applications/openai-completions/README.md @@ -1,6 +1,6 @@ -# OpenAI Completions +# OpenAI Chat Co...
3
3
2
[{"id": "G0", "claim": "The commented-out `#langstream docker run test -app ...` line in the example README should be moved.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The prompt value in examples/applications/openai-text-completions/pipeline....
null
LangStream__langstream__484
LangStream/langstream
484
defect
be6d83b491a5dfd9d4d146417bbc906214692dda
b68514dfba35651357ebc46948c48464df993a82
Implement ai-text-completions for VertexAI and HuggingFace inf
* Implemented `ai-text-completions` agent for vertexAI. Only one prompt must be specified. The API is the same and Vertex inference the response depending on the model. Using a text model in the chat agent will cause runtime errors. Using a chat model in the text agent will cause runtime errors. * Implemented `ai-text...
diff --git a/langstream-agents/langstream-ai-agents/src/main/java/ai/langstream/ai/agents/services/impl/HuggingFaceProvider.java b/langstream-agents/langstream-ai-agents/src/main/java/ai/langstream/ai/agents/services/impl/HuggingFaceProvider.java index d3400fc6c..16c116250 100644 --- a/langstream-agents/langstream-ai-a...
1
1
1
[{"id": "G0", "claim": "Methods that return a CompletableFuture should not throw Exception (the @SneakyThrows-added checked exception on getChatCompletions/getTextCompletions).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LangStream__langstream__537
LangStream/langstream
537
defect
40c23ea68586b9a1805ec7c3933ee9a6ff1567af
a600a470ca32765eaca872c79ab0618107291210
New http-request agent
* Added new `http-request` agent * It accepts * url: http(s) url to call without query-string * query-string (map): accepts string as template. encoding is done automatically * method: "get" by default * headers (map): accepts string as template e.g. X-Custom-Header: {{{ value.id }}} * body: body to se...
diff --git a/examples/applications/http-request-processor/README.md b/examples/applications/http-request-processor/README.md new file mode 100644 index 000000000..347b662a4 --- /dev/null +++ b/examples/applications/http-request-processor/README.md @@ -0,0 +1,19 @@ +# Http Request processor + +This sample application sh...
4
3
2
[{"id": "G0", "claim": "Make the query string parameters configurable, otherwise a way to perform escaping has to be provided.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Make the url a constant in the first iteration, to prevent malicious usage such ...
null
LangStream__langstream__546
LangStream/langstream
546
defect
2401a407fa9c5f5484c7fa8e3273445334dcf3f6
404dedf2b7385ffd21872e52ba219bba41566e0f
Add Azure blob storage source
Changes: * New source `azure-blob-storage-source` that reads azure blobs * The auth properties are the same as the code storage config * The properties are idle-time and file-extensions like the s3-source
diff --git a/examples/applications/http-request-processor/README.md b/examples/applications/http-request-processor/README.md new file mode 100644 index 000000000..347b662a4 --- /dev/null +++ b/examples/applications/http-request-processor/README.md @@ -0,0 +1,19 @@ +# Http Request processor + +This sample application sh...
2
1
1
[{"id": "G0", "claim": "The pull request carries files belonging to the separate http-request-processor work (the example README, gateways.yaml, pipeline.yaml and related runtime/test code) that are unrelated to the Azure blob storage source and should not be part of this change.", "category": "maintainability", "verdi...
null
LangStream__langstream__583
LangStream/langstream
583
defect
05408d17276e7d5e429a8e7b1f233a2400ee97f4
32910e6ff7d3b4026d84428e24325fc420602db6
Add vector database sink config validation and documentation
Vector databases configuration were not validated and documented because it's per datasource' service Changes: * Added doc for each implementation
diff --git a/langstream-agents/langstream-vector-agents/src/main/java/ai/langstream/agents/vector/jdbc/JdbcWriter.java b/langstream-agents/langstream-vector-agents/src/main/java/ai/langstream/agents/vector/jdbc/JdbcWriter.java index 0756b17f1..b7c6c2dad 100644 --- a/langstream-agents/langstream-vector-agents/src/main/j...
2
2
0
[{"id": "G0", "claim": "The Solr agent configuration name should read \"Apache Solr\" (and its description \"Writes data to Apache Solr service.\") instead of just \"Solr\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new vector-database co...
null
LangStream__langstream__604
LangStream/langstream
604
defect
914ee2277e725b83c07628147f9b48cd30bddfa7
773338b638fbd91f4f2d3805065068ab878a8dce
Cli: fix docker run on linux
Changes: * Set generated files readable for every user to avoid permissions error. The files are copied to $HOME/.langstream/tmp directory which is protected to other unix machine users but still readable from the container * Improve the installation script error message After these changes, I successfully setup ...
diff --git a/bin/get-cli.sh b/bin/get-cli.sh index df773e923..39dcf5bed 100755 --- a/bin/get-cli.sh +++ b/bin/get-cli.sh @@ -45,18 +45,7 @@ echo " |___/ "; get_latest_release_tarball_url() { - if ! command -v jq > /dev/null; then - echo "Not found." - echo ...
2
1
1
[{"id": "G0", "claim": "The downloaded temp file should not be made readable by everyone (and should be handled with the NIO UnixFileAttributes API instead of the legacy File API) in case it contains secrets.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
LangStream__langstream__622
LangStream/langstream
622
defect
17c7c29b715ea43bca2a4e81ca6136ac81b9e972
f40e33554308734a1c02259c2088508582b97117
CLI: cache github repository for faster deployments
Currently every time the user specify a github repository for the application/secrets/instance we clone the entire git repository N times. If the user submit the deploy again, the repo is cloned from sctratch again. 99% of use cases are to download from this repo and it takes up to 10 seconds. Changes: * Save git ...
diff --git a/langstream-cli/src/main/java/ai/langstream/cli/LangStreamCLI.java b/langstream-cli/src/main/java/ai/langstream/cli/LangStreamCLI.java index 5a78229d8..61f461196 100644 --- a/langstream-cli/src/main/java/ai/langstream/cli/LangStreamCLI.java +++ b/langstream-cli/src/main/java/ai/langstream/cli/LangStreamCLI....
2
2
2
[{"id": "G0", "claim": "Make the local caching of GitHub repositories configurable instead of always on.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new persistent repository cache has no handling for a corrupted cache directory; the reviewer asks...
null
LangStream__langstream__643
LangStream/langstream
643
defect
8e3399518c89f5d9e3b6b2b3d8010d33cd161857
c4bf48e4d0dd56d74e4a5dc15d87552d6324ffed
WebCrawler: use disk to store status if configured
Changes: * Added new parameter `state-storage`: `s3|disk` (default "s3") to the webcrawler. * If disk is configured, a disk is automatically requested at runtime. the size is inferred from `resources.disk.size` if configured ,otherwise is 256M. The type is also inferred if configured * Created implementation to stor...
diff --git a/conf/cli.yaml b/conf/cli.yaml index fa4f1c48a..20efec03c 100644 --- a/conf/cli.yaml +++ b/conf/cli.yaml @@ -1,19 +1,3 @@ -# -# Copyright DataStax, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain...
3
3
2
[{"id": "G0", "claim": "The PR must provide an explicit configuration parameter (state-storage: \"s3\" | \"agent-disk\") to choose between S3 and a disk attached to the agent instead of auto-detecting, and when disk is selected the NodeProvider may automatically configure a disk with the default storage type and about ...
null
LangStream__langstream__645
LangStream/langstream
645
defect
f0ed0836c0176a3cc034b9710ebdca71de8aa565
c3b7467cb564cb4b60500155cddf34241c28532e
Add persistent state directory to python agents
Changes: - Added new Python AgentContext class to the API - An agent can access it by defining ``` from langstream import SimpleRecord, Processor, AgentContext import logging, os class Exclamation(Processor): def init(self, config, context: AgentContext): self.context = context def process(...
diff --git a/langstream-agents/langstream-agent-grpc/src/main/java/ai/langstream/agents/grpc/PythonGrpcAgentProcessor.java b/langstream-agents/langstream-agent-grpc/src/main/java/ai/langstream/agents/grpc/PythonGrpcAgentProcessor.java index 2c57c0c2c..bc896a2f8 100644 --- a/langstream-agents/langstream-agent-grpc/src/m...
6
5
0
[{"id": "G0", "claim": "The indentation added before the [packages] section header in the Pipfile looks unintended and should be reverted.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Giving Agent.init a required context parameter may be a bre...
null
LangStream__langstream__654
LangStream/langstream
654
defect
958f5c1591e3894e5453484ce5c5d4c07b71d63e
f3166c3e822feec8e6548139f083ceddcbb89053
[python] Add support for hot reload of python code in docker mode
Summary: When you are working locally, add the ability to automatically reload python code without restarting the container In "docker run" mode the cli start watching on the python files. In case of any python file that has changed the python agent is restarted, picking up the new version of the code. The is...
diff --git a/langstream-agents/langstream-agent-grpc/src/main/java/ai/langstream/agents/grpc/AbstractGrpcAgent.java b/langstream-agents/langstream-agent-grpc/src/main/java/ai/langstream/agents/grpc/AbstractGrpcAgent.java index 7bfabb427..ed6e5f2e1 100644 --- a/langstream-agents/langstream-agent-grpc/src/main/java/ai/la...
2
2
0
[{"id": "G0", "claim": "The new --watch-files command-line option has a copy-pasted help description (\"Start the UI\") that should be changed to describe watching files.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "restartAgents should use the ...
null
LangStream__langstream__660
LangStream/langstream
660
defect
d80c7f074c02dbc9c22ac89eb90793ac71aed8d0
2854126547ecfc712a6bc53ce9f327f4a16d2097
API gateway: cache topic producer for the same gateway
Changes: * We use Guava cache to keep producer by gateway. The cache is LRU and every access refresh the ttl. * The max size is configurable (max 100 across all tenants). The cache can be disabled
diff --git a/langstream-api-gateway/pom.xml b/langstream-api-gateway/pom.xml index ef2dd74af..18dffefb1 100644 --- a/langstream-api-gateway/pom.xml +++ b/langstream-api-gateway/pom.xml @@ -142,6 +142,10 @@ <artifactId>langstream-core</artifactId> <version>${project.version}</version> </dependency> + <depend...
5
5
2
[{"id": "G0", "claim": "The synchronized modifier on getOrCreate is not needed because the cache is already thread-safe, and it would be a point where many threads are blocked while one producer is being created.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
LangStream__langstream__669
LangStream/langstream
669
defect
5eea50c4f551a20cea1d799288f302b769a29f74
eced8dbd8a5774091a90fb64821feac613c60369
Service gateway: direct interaction with agent
Changes: * Added support for gateway 'service' that instead of specifying output and input topic, you can specify an agent-id. The agent must be of type the new type 'service' * The requests are forwarded including query string and headers. POST, PUT, DELETE, GET methods are all supported
diff --git a/langstream-api-gateway/pom.xml b/langstream-api-gateway/pom.xml index ef2dd74af..18dffefb1 100644 --- a/langstream-api-gateway/pom.xml +++ b/langstream-api-gateway/pom.xml @@ -142,6 +142,10 @@ <artifactId>langstream-core</artifactId> <version>${project.version}</version> </dependency> + <depend...
3
3
2
[{"id": "G0", "claim": "The forwardTo proxy should not read the remote agent's whole response body as a String (restTemplate.exchange(..., String.class)); the response should be returned with its original body/stream.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
LangStream__langstream__747
LangStream/langstream
747
defect
651eec55e4251b1e46fb4ebd2c37145459059eb0
d37612ad0e131d123a5941fd2b5e14cc0281bf8c
Add more tests and add back validation for some agents
Summary: - add tests for Python sources with big messages - add fn:length function - add validation for agents with nested collections (like "compute") (the integration tests failed due to a type in the compute agent, but the validation was not working) - suppress errors in some shutdown cases for Python agents (th...
diff --git a/langstream-agents/langstream-agent-grpc/src/main/java/ai/langstream/agents/grpc/AbstractGrpcAgent.java b/langstream-agents/langstream-agent-grpc/src/main/java/ai/langstream/agents/grpc/AbstractGrpcAgent.java index c21d5dcff..6b728c2fd 100644 --- a/langstream-agents/langstream-agent-grpc/src/main/java/ai/la...
2
2
0
[{"id": "G0", "claim": "The new import should use a regular Guava dependency instead of org.testcontainers' shaded copy of com.google.common.base.Strings.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new code should build the big payload w...
null
LaurentMazare__tch-rs__137
LaurentMazare/tch-rs
137
defect
30e05f046047ba8a5b4cf57cea68c446430ab87b
fc583002dd2ce7eb37c4911e8766e6c97c986032
More tensor conversions from Vec and primitives
The PR made following changes. - Implement `From<Vec<_>> for Tensor` - Support array or vec of bool type conversion - More conversion tests
diff --git a/src/tensor/mod.rs b/src/tensor/mod.rs index 0e5ba0e1d..4c47c998c 100644 --- a/src/tensor/mod.rs +++ b/src/tensor/mod.rs @@ -560,6 +560,7 @@ try_into_impl!(f32); try_into_impl!(i32); try_into_impl!(f64); try_into_impl!(i64); +try_into_impl!(bool); macro_rules! try_from_impl { ($type:ident) => { @...
2
1
0
[{"id": "G0", "claim": "In the ndarray-to-Tensor try_from conversion it would make sense to use the fallible f_reshape instead of reshape, so that a reshape failure is returned as an error rather than panicking.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1"...
null
LaurentMazare__tch-rs__156
LaurentMazare/tch-rs
156
defect
18b17225d5206d26b7ae251f15ce3019d086751d
80a6aa4e22695fe4312c56411be9d051b55652d6
Allow loading partial sets of pretrained weights
The current load method for loading weights in the var store performs a robust check that all of the variables of the var store can be found in the weights file. This is adequate for running inference or fine-tuning without architecture change. It is common to load a set of pre-trained weights for the base of a mode...
diff --git a/src/nn/var_store.rs b/src/nn/var_store.rs index b067af38..d0d04aeb 100644 --- a/src/nn/var_store.rs +++ b/src/nn/var_store.rs @@ -37,7 +37,8 @@ pub struct Path<'a> { #[derive(Debug)] pub struct Entry<'a> { name: &'a str, - variables: MutexGuard<'a, Variables>, // This field holds the mutex lock +...
4
4
2
[{"id": "G0", "claim": "Printing to stdout when a variable is missing seems fragile; the reviewer asks that load_partial instead return the variable names that were not updated so the caller can decide what to do with them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null