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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Netflix__zuul__1766 | Netflix/zuul | 1,766 | defect | 7456b0dc43ae60c3c61d30b31a92761b6cbc0144 | 811e370e86ace46f451c84d85ebc9375562c5ea8 | Add Lazy cache for originalhost | Add Lazy cache for originalhost when parsing headers | diff --git a/zuul-core/src/main/java/com/netflix/zuul/message/http/HttpRequestMessageImpl.java b/zuul-core/src/main/java/com/netflix/zuul/message/http/HttpRequestMessageImpl.java
index 4cc24192dc..109efbe4ad 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/message/http/HttpRequestMessageImpl.java
+++ b/zuul-core/s... | 3 | 2 | 0 | [{"id": "G0", "claim": "The property flag that allows disabling caching of the original host is unnecessary; since the original host is fetched on the inbound request and should not be mutated by header processing, it should simply always be cached.", "category": "design", "verdict": "supported", "priority": "P2", "sco... | null |
Netflix__zuul__1778 | Netflix/zuul | 1,778 | defect | 305325e07209fbcf24b7949514d67d85feeb98e2 | fe32a75866b03095babafe1dc6786eebd25d3f55 | Fix fetching body content after buffer has been read | When fetching the body content of a `ZuulMessage`, the returned content differs based on if the body content chunks have been read, i.e. after it has been proxied to an upstream origin.
This change uses the `writerIndex` to instead track the total number of readable bytes of the bytebuf, so the entire content is alw... | diff --git a/zuul-core/src/main/java/com/netflix/zuul/message/ZuulMessageImpl.java b/zuul-core/src/main/java/com/netflix/zuul/message/ZuulMessageImpl.java
index d72bfaf2e2..10d21177ef 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/message/ZuulMessageImpl.java
+++ b/zuul-core/src/main/java/com/netflix/zuul/messag... | 1 | 1 | 1 | [{"id": "G0", "claim": "Since the PR changes getBody() and getBodyLength() to always return the complete buffered body rather than the pending readable bytes, the javadoc of both APIs should say so.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netflix__zuul__1824 | Netflix/zuul | 1,824 | defect | b008f90e4a1faf88c9f33b571e2d8c8079c0671a | 2948016c74a02f83dbfeeff25fd61c7f15d8687a | Add new retry policy adjustment method | Adds a more specific adjustRetryPolicyIfNeeded for cases when we have a HttpResponse from the origin (e.g. origin returned 503) | diff --git a/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java b/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java
index a6f07a5451..33067c99ab 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java
+++ b/zuul-core/src/main/java/co... | 1 | 1 | 0 | [{"id": "G0", "claim": "Can the new two-argument overload of adjustRetryPolicyIfNeeded be avoided by folding the response-derived condition into the original method with an ||, which would feel cleaner?", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netflix__zuul__1841 | Netflix/zuul | 1,841 | defect | d4b9916fd9d7a063f8092ad82466c1c9ac7f02c6 | df2cef2490e64e47efdeba1acc3b38db1e38cdbc | Handle close_notify in ConnectionPoolHandler | I also added a new status category to differentiate this failure from connection resets | diff --git a/zuul-core/src/main/java/com/netflix/zuul/exception/OutboundErrorType.java b/zuul-core/src/main/java/com/netflix/zuul/exception/OutboundErrorType.java
index b39fe87682..9f77df7de5 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/exception/OutboundErrorType.java
+++ b/zuul-core/src/main/java/com/netflix... | 1 | 1 | 0 | [{"id": "G0", "claim": "CLOSE_NOTIFY_CONNECTION should map to 502 rather than 504, since it is technically the equivalent of CONNECT_ERROR.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netflix__zuul__1903 | Netflix/zuul | 1,903 | defect | 9510021b79f0279d512be12fea1a54e95ee4f6e0 | 3c11674c3d48bf1952a266167f9d1adce6b367ad | Move connection pool metric creation to a separate class for easier reuse | DefaultClientChannelManager creates a ton of counters that get passed around to various connection pooling classes. I created a new data class that can hold all of the various counters. I didn't try and tackle the ugly methods that take all of the counters as an argument since i'd have to make a lot of breaking changes... | diff --git a/zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/ConnectionPoolMetrics.java b/zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/ConnectionPoolMetrics.java
new file mode 100644
index 0000000000..8821e4d6f3
--- /dev/null
+++ b/zuul-core/src/main/java/com/netflix/zuul/netty/connection... | 1 | 1 | 0 | [{"id": "G0", "claim": "The metric names should be inlined with the full prefix (e.g. \"connectionpool_create\") at each creation site in the create method, and the \"METRIC_PREFIX +\" concatenation removed, so a whole metric name can be matched when searching for where a metric is emitted.", "category": "maintainabili... | null |
Netflix__zuul__1909 | Netflix/zuul | 1,909 | defect | ea3374a73f60c5c99fdf4d235135912c1c1c8d9d | a83ef36978be800cb1807f9041ac13943a15f873 | Add a channel handler for HTTP request header read timeouts | This lets us specify timeouts around HTTP headers, which proves useful for mitigating attacks on endpoints that have necessarily long overall request timeouts due to long request bodies. The handler is gated by a `server.http.request.headers.read.timeout.enabled` bool property and specified by a `server.http.request.he... | diff --git a/zuul-core/src/main/java/com/netflix/zuul/netty/server/BaseServerStartup.java b/zuul-core/src/main/java/com/netflix/zuul/netty/server/BaseServerStartup.java
index 6fe9713d90..b7368d845d 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/netty/server/BaseServerStartup.java
+++ b/zuul-core/src/main/java/co... | 6 | 5 | 0 | [{"id": "G0", "claim": "The default HTTP request headers read timeout should be 10s instead of 5s as a slightly more forgiving default.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "HttpHeadersTimeoutHandler should not be a final class (final classes ma... | null |
Netflix__zuul__1948 | Netflix/zuul | 1,948 | defect | dd8e8870cac4ee4a1683d8e2d9ee34cd53631866 | fc514c043891c5d9cb0dbacea94f684b3da4e570 | Use a custom scheduler for async filters | Adds a custom rx scheduler for use with async filters that avoids the need to re-schedule tasks to run on the event loop when the execution is already on the event loop | diff --git a/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java b/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java
index 419043fb17..3664fa456c 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java
+++ b/zuul-core/src/main/java/co... | 2 | 1 | 0 | [{"id": "G0", "claim": "The integration tests should also force at least one test to run with multiple worker event loops (1 vs 2 workers), not only the single-worker configuration the PR adds.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider usi... | null |
Netflix__zuul__2014 | Netflix/zuul | 2,014 | defect | 9b6b5910da1143e11d7a0a39ee958c6c7fc9a949 | a68adf3488a89a772ca4615e5af1d5b9da3ec0c4 | Only warn when writing to client before LastContent when a body is expected | If a client request is responded by an origin immediately whilst the client is still sending the request (i.e. the origin has enough details in the headers to respond) then warnings are logged.
This PR silences those warnings for cases when the client does not have a body but the origin still responded before the cl... | diff --git a/zuul-core/src/main/java/com/netflix/zuul/netty/server/ClientResponseWriter.java b/zuul-core/src/main/java/com/netflix/zuul/netty/server/ClientResponseWriter.java
index 2cb4862e7e..4e8839714c 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/netty/server/ClientResponseWriter.java
+++ b/zuul-core/src/mai... | 1 | 1 | 1 | [{"id": "G0", "claim": "Release the body buffer created with Unpooled.copiedBuffer in warningOnlyForRequestsWithBody if it is not already released somewhere else.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netflix__zuul__2018 | Netflix/zuul | 2,018 | defect | f62955db0850e89a4668e908d384117be1ee9ae8 | 6fbba1f2dec1f958182cc9d79542d48fefc45630 | Fix query parsing in massageRequestURI | Currently, if query param values are encoded, this method decodes them and pulls out any hidden query params before sending them off to the origin.
Example:
- A request arrives with this query param: `param=123%26hidden%3Dvalue`
- ProxyEndpoint decodes this query param and converts it to `param=123` and `hidden=v... | diff --git a/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java b/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java
index 3cd608f06f..cfad196e21 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/filters/endpoint/ProxyEndpoint.java
+++ b/zuul-core/src/main/java/co... | 2 | 2 | 0 | [{"id": "G0", "claim": "make the massageRequestURI method package-private instead of protected.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "the dynamic property name should follow the existing `zuul.feature.enabled` naming convention instead of `zuul.... | null |
Netflix__zuul__2054 | Netflix/zuul | 2,054 | defect | e44fafd0721005f4b4b48dcd67874a592ba431d5 | 40c6ba4067f1cff34ea5544d49f080fddd8bec5d | Add SNI handshake metrics | Improving TLS handshake metrics - adding SNI information. Looking into things we can improve walking into the last NLB migration | diff --git a/zuul-core/src/main/java/com/netflix/netty/common/ssl/SslHandshakeInfo.java b/zuul-core/src/main/java/com/netflix/netty/common/ssl/SslHandshakeInfo.java
index d175e1956f..e6cb0dae33 100644
--- a/zuul-core/src/main/java/com/netflix/netty/common/ssl/SslHandshakeInfo.java
+++ b/zuul-core/src/main/java/com/netf... | 1 | 1 | 1 | [{"id": "G0", "claim": "Adding the raw requested-SNI value as a tag on the server.ssl.handshake counters may run into cardinality issues (the sni could be anything, particularly for wildcard certs), needing a cardinality limiter (such as CardinalityLimiters.rollup) or a per-cluster overridable function.", "category": "... | null |
Netflix__zuul__2072 | Netflix/zuul | 2,072 | defect | fdcf7c10c6d790aca45c648ba9617b2d3658d574 | 0f16b66dd1f0cb9f0dd794d967f5ad4787b53813 | Introduce the idea of filter constraints | Adds a new annotation based mechanism for adding restrictions around when a filter should run. The purpose is to enable centralizing common shouldFilter logic | diff --git a/zuul-core/src/main/java/com/netflix/zuul/Filter.java b/zuul-core/src/main/java/com/netflix/zuul/Filter.java
index 6ba35eb49c..04b8cc7b39 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/Filter.java
+++ b/zuul-core/src/main/java/com/netflix/zuul/Filter.java
@@ -53,6 +53,11 @@
*/
FilterSyncTy... | 2 | 2 | 1 | [{"id": "G0", "claim": "Make the ZuulMessage parameter of FilterConstraint.isConstrained @NonNull so the nullability contract is explicit.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ZuulFilter.constraints() dereferences the @Filter annotation without... | null |
Netflix__zuul__717 | Netflix/zuul | 717 | defect | 9b6832d6395121ec3e6f542adf435695ff680288 | 65ee4e0049351cf08f86ea130c26d8101eb0b7ae | ZuulFiltersModule now injects AbstractConfiguration. | ZuulFiltersModule used to statically load AbstractConfiguration via
ConfigurationManager.getConfigInstance(). This limits the user's ability
to bind various configuration loading mechanisms via the injector.
This fixes #716 | diff --git a/zuul-core/src/main/java/com/netflix/zuul/init/ZuulFiltersModule.java b/zuul-core/src/main/java/com/netflix/zuul/init/ZuulFiltersModule.java
index 02628d61cba..efcf5efcf3f 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/init/ZuulFiltersModule.java
+++ b/zuul-core/src/main/java/com/netflix/zuul/init/Zu... | 2 | 2 | 1 | [{"id": "G0", "claim": "The catch block around loadCascadedPropertiesFromResources should rethrow the failure as a RuntimeException that chains the original exception so the original stack trace is not lost.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
Netflix__zuul__872 | Netflix/zuul | 872 | defect | b04693dd41d6ad68d3570b8807b5f7ed8c221861 | 8330968395fc2b1614e049faa748551bd16c8612 | New API to modify header values only if valid | New APIs to set and add headers only if their name and values are valid. | diff --git a/zuul-core/src/main/java/com/netflix/zuul/message/Headers.java b/zuul-core/src/main/java/com/netflix/zuul/message/Headers.java
index 2087c94cfb..39c12d8290 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/message/Headers.java
+++ b/zuul-core/src/main/java/com/netflix/zuul/message/Headers.java
@@ -195,6... | 11 | 8 | 1 | [{"id": "G0", "claim": "Rewrite isValid with guard clauses so it returns early instead of nesting the validity check, improving readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "findInvalid should return the ABSENT constant instead of ... | null |
NethermindEth__juno__1279 | NethermindEth/juno | 1,279 | defect | c9e9b01b1a0e64f39264a502e8da5e32a192f6ef | ca5a485232a96339f36f2892bc014be203e4dbc5 | Implement subscribe new heads | I attempted to match Ethereum's behavior. The test passes. ~I haven't done any local integration tests yet.~ Local e2e test works. | diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go
index 228c5e5332..d4ff89e855 100644
--- a/blockchain/blockchain.go
+++ b/blockchain/blockchain.go
@@ -42,6 +42,7 @@ type Reader interface {
EventFilter(from *felt.Felt, keys [][]felt.Felt) (*EventFilter, error)
Pending() (Pending, error)
+ Subscribe... | 4 | 4 | 2 | [{"id": "G0", "claim": "The subscription implementation is over-complicated: two event.Subscription instances plus a pubsub.Registry that adds little value, and it can be simplified (e.g. drop the registry and keep per-subscription cancelers).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "... | null |
NethermindEth__juno__1757 | NethermindEth/juno | 1,757 | defect | 6317b0dd0e2c877a66e3c032cc00a3923572923a | e451e07d722007b93999fe5ed773ce02579b2412 | Fixes compilation of Cairo 2 classes | Closes #1748
Original error: "Cannot compile Sierra version 1.5.0 with the current compiler (sierra version: 1.4.0)" for input provided as new unit test | diff --git a/starknet/rust/Cargo.toml b/starknet/rust/Cargo.toml
index 481e5eb406..2e32426293 100644
--- a/starknet/rust/Cargo.toml
+++ b/starknet/rust/Cargo.toml
@@ -8,10 +8,8 @@ edition = "2021"
[dependencies]
serde = "1.0.171"
serde_json = { version = "1.0.96", features = ["raw_value"] }
-cairo-lang-starknet = "=... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add tests that run using rust compiled code so the Cairo 2 compilation fix is verified once and for all.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cairo-lang-* packages in vm/rust/Cargo.toml are not used in this rust cod... | null |
NethermindEth__juno__2051 | NethermindEth/juno | 2,051 | defect | dc46ab306bf999c2d920c532a2f1f0fead503d01 | 5012c44182fc15b2ca0211fad2c6f7ea273d8636 | Support plugins | This PR implements plugin support. Any plugin that follows the JunoPlugin interface can plug into Juno.
```
type JunoPlugin interface {
Init() error
Shutdown() error // Todo: Currently this function will never be called.
NewBlock(block *core.Block, stateUpdate *core.StateUpdate, newClasses map[felt.Felt]core.... | diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go
index ee2411c471..7f0d4024ac 100644
--- a/blockchain/blockchain.go
+++ b/blockchain/blockchain.go
@@ -828,6 +828,26 @@ func (b *Blockchain) RevertHead() error {
return b.database.Update(b.revertHead)
}
+func (b *Blockchain) GetReverseStateDiff() (*co... | 11 | 9 | 2 | [{"id": "G0", "claim": "The Synchronizer's plugin field should not be a pointer to an interface (*junoplugin.JunoPlugin); the interface value is already a pointer, so the * and the (*s.plugin) dereferences are unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
NethermindEth__juno__2153 | NethermindEth/juno | 2,153 | defect | 72535cc41d7b8fc78429732751d331c83de6d35b | dc8352667fa53ab21b5390a8c72bfc5da05e132d | feat: Update transactionCommitmentPoseidon function to handle different transaction types | The code changes in `transactionCommitmentPoseidon` function update the logic to handle different transaction types. With the changes, the function now checks the type of the transaction and updates the digest accordingly. For `DeployTransaction` and `L1HandlerTransaction`, the digest is updated with a zero value, whil... | diff --git a/core/block_pkg_test.go b/core/block_pkg_test.go
new file mode 100644
index 0000000000..57379d436f
--- /dev/null
+++ b/core/block_pkg_test.go
@@ -0,0 +1,61 @@
+package core
+
+import (
+ "testing"
+
+ "github.com/NethermindEth/juno/core/felt"
+ "github.com/NethermindEth/juno/utils"
+ "github.com/stretchr/te... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the new test the loop offsets (0+i, 1+i, 2+i) make the transaction hashes overlap across iterations (0,1,2,1,2,3,2,3,4), and the reviewer questions why they are needed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NethermindEth__juno__2176 | NethermindEth/juno | 2,176 | defect | 67430decdec8c8218a0bbe00ecba89b0863ef10b | 5bbc1290aab7f1c6deb83ee89cec2f6d4657082b | Refactor ProofNode to use interface | ### Description
This PR refactors the `ProofNode` struct into `ProofNode` interface where `Binary` and `Edge` implements it.
### Rationale
Throughout the codebase, I noticed a similar pattern with `ProofNode`, that is:
```
if proofNode.Binary != nil {
// ... do something
} else if proofNode.Edge != nil {
... | diff --git a/core/trie/proof.go b/core/trie/proof.go
index dfbcc1fb21..9720497fa6 100644
--- a/core/trie/proof.go
+++ b/core/trie/proof.go
@@ -7,51 +7,35 @@ import (
"github.com/NethermindEth/juno/core/felt"
)
+var (
+ ErrUnknownProofNode = errors.New("unknown proof node")
+ ErrChildHashNotFound = errors.New("can... | 7 | 6 | 1 | [{"id": "G0", "claim": "Remove the external starknet-p2p-specs link comment from core/trie/proof.go, since core should not reference external systems like p2p.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The unknown-node error in pathSplitO... | null |
NethermindEth__juno__2223 | NethermindEth/juno | 2,223 | defect | a9d11d4f9d60b1fe23bb5a15e75edd6ad718aac4 | e4b412b8a3906bc4ef8f67e1aad2e36c7d7e6dd5 | Fix upper bound issue in `CalculatePrefixSize` | ### Description
This PR modifies the `db size` command to also check for leftover key-value pairs in the database. It also fixes an upper bound bug as the `UpperBound` iterator option is exclusive, not inclusive. | diff --git a/cmd/juno/dbcmd.go b/cmd/juno/dbcmd.go
index d9892b6be1..6adbd6ed95 100644
--- a/cmd/juno/dbcmd.go
+++ b/cmd/juno/dbcmd.go
@@ -203,7 +203,8 @@ func dbSize(cmd *cobra.Command, args []string) error {
items [][]string
)
- for _, b := range db.BucketValues() {
+ buckets := db.BucketValues()
+ for _, b :=... | 2 | 1 | 0 | [{"id": "G0", "claim": "The constant added at db/pebble/db.go:20 should be renamed from `byteLimit` to `maxByte = ^byte(0)` to better describe and be more idiomatic (explicitly subjective; the reviewer says feel free to ignore).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introd... | null |
NethermindEth__juno__2285 | NethermindEth/juno | 2,285 | defect | c55d90f31a4969cb87980b39d716a3850825fdf1 | d1f052764bf6b262a17ae186c2a2ef2ae97ab697 | Block's version verifies only the major version | Block's protocol version verification checks only the major part of the version | diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go
index 918683b020..18fa77db3d 100644
--- a/blockchain/blockchain.go
+++ b/blockchain/blockchain.go
@@ -53,7 +53,7 @@ type Reader interface {
var (
ErrParentDoesNotMatchHead = errors.New("block's parent hash does not match head block hash")
- supported... | 1 | 1 | 1 | [{"id": "G0", "claim": "The block version check should ignore only the patch version — the major-only comparison also ignores minor-version differences, which should still be rejected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NethermindEth__juno__2341 | NethermindEth/juno | 2,341 | defect | e55aa34d96601fe49d14b4b99aaba0389fe981c5 | 269e515feeb54bce99454070c192fddb454c1508 | implement a mempool for the sequencer | This PR implements a mempool required for the sequencer. | diff --git a/mempool/mempool.go b/mempool/mempool.go
new file mode 100644
index 0000000000..24ca8f85a6
--- /dev/null
+++ b/mempool/mempool.go
@@ -0,0 +1,231 @@
+package mempool
+
+import (
+ "encoding/binary"
+ "errors"
+
+ "github.com/NethermindEth/juno/core"
+ "github.com/NethermindEth/juno/core/felt"
+ "github.com/N... | 14 | 10 | 4 | [{"id": "G0", "claim": "New should return Pool by value instead of *Pool so the struct is not forced onto the heap.", "category": "performance", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "tailHash (and likewise headHash) should receive the felt as a pointer argument instead o... | null |
NethermindEth__juno__2460 | NethermindEth/juno | 2,460 | defect | 0ff97b1e8def7137db02efaac5724a67fdfeb650 | fd177d03883c54f9209faa32bb2b49cd562d2c84 | Fix storage proof RPC method to support head block | Accepts the request as long as the block ID matches the head block | diff --git a/rpc/v8/storage.go b/rpc/v8/storage.go
index 0fa877d6f8..f30b73c45b 100644
--- a/rpc/v8/storage.go
+++ b/rpc/v8/storage.go
@@ -80,16 +80,17 @@ type StorageProofResult struct {
func (h *Handler) StorageProof(id BlockID,
classes, contracts []felt.Felt, storageKeys []StorageKeys,
) (*StorageProofResult, *j... | 3 | 2 | 2 | [{"id": "G0", "claim": "In the head-block check the OR operator makes the condition true as soon as the block number differs from head.Number, so the block hash is never evaluated for such requests; all fields must be verified instead (the reviewer suggests ANDing the checks).", "category": "correctness", "verdict": "s... | null |
NethermindEth__juno__2483 | NethermindEth/juno | 2,483 | defect | bde784cc1d62b1156bc12623bce2c8f635f85840 | 3afaa8ea3ce51a7c659a90378b5e84c875844659 | add validation for rpcv8.Transaction Resource bounds |
resources bounds must have all fields present for rpc v8 calls ([spec](https://github.com/starkware-libs/starknet-specs/blob/436e6307bab3938339e4bf469f14dee79b50802d/api/starknet_api_openrpc.json#L3503)) | diff --git a/rpc/v8/transaction.go b/rpc/v8/transaction.go
index 87a597ab63..436c9f3e0f 100644
--- a/rpc/v8/transaction.go
+++ b/rpc/v8/transaction.go
@@ -224,7 +224,7 @@ type Transaction struct {
CallData *[]*felt.Felt `json:"calldata,omitempty" validate:"required_if=Type INVOKE"`
Entry... | 2 | 2 | 0 | [{"id": "G0", "claim": "The error from RegisterValidation should be reported with a panic call instead of log.Fatalf, since 'log' is not needed here.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "req.Version.String() should be stored in a local... | null |
NethermindEth__juno__2486 | NethermindEth/juno | 2,486 | defect | bd16b82c8bb1c17f2db17589534dde4602516320 | c32e01233fb734d246494886f57946b976285315 | refactor: Reuse v6 starknet_getTransactionByHash handler for v7 | rpc pkg cleanup according to issue #2437
- **for v6:** Updated handler code to take into account pending block as well.
- **for v7:** Reuse v6 handler for v7 as the logic is the same.
- **for v8:** The logic is the same as v6/v7, but not exactly the returned `Transaction` type (more particularly, `Resource` ty... | diff --git a/rpc/v6/transaction.go b/rpc/v6/transaction.go
index 753b1844a4..64536811ae 100644
--- a/rpc/v6/transaction.go
+++ b/rpc/v6/transaction.go
@@ -11,6 +11,7 @@ import (
"github.com/NethermindEth/juno/clients/gateway"
"github.com/NethermindEth/juno/core"
"github.com/NethermindEth/juno/core/felt"
+ "github... | 1 | 1 | 0 | [{"id": "G0", "claim": "The v6 `TransactionByHash` handler should also handle the `pending` block the same way v7 does, by reusing the same code and continuing the refactor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
NethermindEth__juno__2611 | NethermindEth/juno | 2,611 | defect | 4d1613774837e877a4f083bcf5bd0cdf5984b109 | 4c5f492923f8396afef0d8fcfcfb04cfbc7d41b4 | Add 'L1_DATA_GAS' missing field from marshal func of the 'starknet.Resource' type | Solves https://github.com/NethermindEth/juno/issues/2610
It was a missing field from the `starknet.Resource` type. The `rpc.Resource` was correct, but the `starknet.Resource` was missing a field. | diff --git a/starknet/transaction.go b/starknet/transaction.go
index baa81d015d..e5d0b2eacc 100644
--- a/starknet/transaction.go
+++ b/starknet/transaction.go
@@ -135,6 +135,8 @@ func (r Resource) MarshalText() ([]byte, error) {
switch r {
case ResourceL1Gas:
return []byte("L1_GAS"), nil
+ case ResourceL1DataGas... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new Resource marshal/unmarshal tests should also verify that the returned error is the expected one, not just that an error occurs (in both TestResourceMarshalText and TestResourceUnmarshalJSON).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
NethermindEth__juno__2691 | NethermindEth/juno | 2,691 | defect | 29bd7efbb313f85e8f9d82f258fadc14c10a54ac | 582e86dec8bc8f62ccf8a232b594fcac71d3fd6a | feat(node): dynamic windows for feeder http requests | This PR implements a dynamic window for feeder gateway HTTP requests. The problem arises when user has network connection problems, or tries to fetch big blocks like [this one](https://alpha-mainnet.starknet.io/feeder_gateway/get_block?blockNumber=1256131). Currently, Juno allows user to specify the HTTP request timeou... | diff --git a/clients/feeder/feeder.go b/clients/feeder/feeder.go
index d18c87f734..43977a504b 100644
--- a/clients/feeder/feeder.go
+++ b/clients/feeder/feeder.go
@@ -24,6 +24,7 @@ import (
var ErrDeprecatedCompiledClass = errors.New("deprecated compiled class")
type Backoff func(wait time.Duration) time.Duration
+... | 18 | 14 | 6 | [{"id": "G0", "claim": "The retry log entry depends on a user-provided value (the request URL), which the security scanner flags as a log-injection risk.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G2", "claim": "The growth heuristic should use three tiers - 2x ... | null |
NethermindEth__juno__2801 | NethermindEth/juno | 2,801 | defect | 91a784c605dff38a355b8da8f92d23c5b1078cca | e10b6aa0ba9d8a41df53ae1e0681eed46ff7de98 | fix: mempool.LoadFromDB incorrect restore mempool from db | This PR addresses the incorrect mempool restoration from DB.
Enhanced `TestRestoreMempool` test with deep equality check for `expected transactions` and `restored transactions`
Close #2792 | diff --git a/mempool/mempool.go b/mempool/mempool.go
index e4e30cfa64..e0f9ee18bb 100644
--- a/mempool/mempool.go
+++ b/mempool/mempool.go
@@ -167,15 +167,7 @@ func (p *Pool) LoadFromDB() error {
if err != nil {
return err
}
- newMemPoolTxn := &memPoolTxn{Txn: curTxn.Txn}
- if curTxn.NextHash != nil {
- n... | 6 | 5 | 0 | [{"id": "G0", "claim": "The loop variable `transaction` should be renamed to `tx` because the one-letter difference from `transactions` makes the two long names hard to tell apart.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The slice `transa... | null |
NethermindEth__juno__2804 | NethermindEth/juno | 2,804 | defect | 9b9a9b73417479b3038883de5ac328c3ce07cff4 | 891de5ea48e395c61da530af646eab42420caffb | Fix(RPC 0.8): V3 tx missing 'l1_data_gas' field handling | This PR adjusts marshaling of `ResourceBoundsMap.L1DataGas` field to always be non-nil and return default values.
In order to ensure `starknet-rs` integration tests related to v3 txs expecting `l1_data_gas` field are passing, changes made in #2797 are added to this PR
Closes #2799 | diff --git a/.github/workflows/deploy-and-test.yaml b/.github/workflows/deploy-and-test.yaml
index aae55e84b2..4b74b94695 100644
--- a/.github/workflows/deploy-and-test.yaml
+++ b/.github/workflows/deploy-and-test.yaml
@@ -95,7 +95,7 @@ jobs:
needs: [deploy]
uses: ./.github/workflows/starknet-rs-tests.yml
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The starknet-rs tests could run against two versions (v0_7 and v0_8) similar to the starknet-go tests, though the reviewer concedes this may not belong in this PR.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
NethermindEth__juno__2829 | NethermindEth/juno | 2,829 | defect | f9c28501da9dde7b0ff644a5685f111a377fe0b6 | a173a4a667d8e27f90f4fabadadef9139e92a1c2 | refactor: update block id | Make interacting with Block ID safer by making it's data private and only interacting with it via getter functions.
Also, refactored the fields inside. The struct grows in size but is capable of holding all the required information inside itself. No external references.
We can make it smaller by using reference a... | diff --git a/rpc/v8/block.go b/rpc/v8/block.go
index a44d125caf..f97f04e2da 100644
--- a/rpc/v8/block.go
+++ b/rpc/v8/block.go
@@ -3,6 +3,7 @@ package rpcv8
import (
"encoding/json"
"errors"
+ "fmt"
"github.com/NethermindEth/juno/core"
"github.com/NethermindEth/juno/core/felt"
@@ -10,49 +11,117 @@ import (
... | 4 | 2 | 0 | [{"id": "G0", "claim": "Consider replacing the single mutable BlockID type with four distinct types implementing BlockIdentifier so invalid states are unrepresentable and hash/number access is type-safe.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If ... | null |
NethermindEth__juno__2871 | NethermindEth/juno | 2,871 | defect | f78d739fe58ee2fac819f34f181ce640dc3404e2 | d575450b5ca9bf84a464cd0f228c44e03b4def55 | Fix/0.14.0 beta | Includes Minor Changes
- Updates feeder urls
- SubmittedTransactionsCache uses txHash from gateway response
- SubmittedTransactionsCache test uses mock gateway instead of gateway test client
- Updates `validator_test` expected commitments to correct values for starknet version v0.14.0 | diff --git a/consensus/validator/validator_test.go b/consensus/validator/validator_test.go
index f16f43e8b2..3af7cac5a8 100644
--- a/consensus/validator/validator_test.go
+++ b/consensus/validator/validator_test.go
@@ -132,7 +132,7 @@ func TestEmptyProposal(t *testing.T) {
// Step 3: ProposalFin
// Note: this commi... | 2 | 1 | 0 | [{"id": "G0", "claim": "The ContractAddress and ClassHash fields added to the test gateway response struct are not required and, since nil fields do not marshal meaningfully, they should be deleted from the test rather than kept for readability.", "category": "testing", "verdict": "supported", "priority": "P2", "scope"... | null |
NethermindEth__juno__3044 | NethermindEth/juno | 3,044 | defect | f7ed24eab8f492bbdf7140b011af47917682c55a | 89a606ce754732fd786fd8f527b8dbd68f2e0730 | Tendermint: implement a sync mechanism | This PR is a continuation of https://github.com/NethermindEth/juno/pull/3024. Creating a fresh PR was easier than rebaseing on main. | diff --git a/consensus/driver/commit_listener.go b/consensus/driver/commit_listener.go
index 13866f4aee..68af80bfd4 100644
--- a/consensus/driver/commit_listener.go
+++ b/consensus/driver/commit_listener.go
@@ -12,6 +12,8 @@ import (
)
// CommitListener is a component that is used to notify different components tha... | 10 | 10 | 2 | [{"id": "G0", "claim": "The closing brackets of the pipeline.Bridge/FanIn/Stage call chain should be split onto separate lines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replacing the plain != comparison of proposal.Sender with types.AddrCm... | null |
NethermindEth__juno__3059 | NethermindEth/juno | 3,059 | defect | c9c786afb4c7ea7393d38c7ac28a6db4a06fcd1c | 3da1bc4b1992ca99736174093e4edba5922b1c67 | recieved transaction stream in 'starknet_subscribeNewTransactions' | When the RECEIVED status is included in the subscription filter of `starknet_subscribeNewTransactions`, the node will also stream transactions that it has forwarded to the sequencer. This PR implements the functionality to stream transactions received directly by the node. | diff --git a/.github/workflows/deploy-and-test.yaml b/.github/workflows/deploy-and-test.yaml
index 167ee88e22..4afbe67979 100644
--- a/.github/workflows/deploy-and-test.yaml
+++ b/.github/workflows/deploy-and-test.yaml
@@ -153,7 +153,7 @@ jobs:
needs: [deploy]
uses: ./.github/workflows/starknet-go-tests.yml
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Reviewer asks whether the comment added above receivedTxFeed in the v6 handler, which says the feed should not be Teed and is broadcast 'for rpcv9 to consume', is accurate, given that it talks about rpcv9 inside the v6 handler.", "category": "documentation", "verdict": "supported", "priority": "... | null |
NethermindEth__juno__3282 | NethermindEth/juno | 3,282 | defect | 8f98d52caa39d9de2b759f7a10f01424019db7b9 | 373032dec9843b46c8bde1e7148f16862a194d62 | feature(trie): create `rawDB` trieDB engine | It introduces rawDB engine for the `trie2`, which is used by the new state. In this PR:
- The new package with rawDB is created. The structure of the package is quite simple and follows the pattern of `pathdb` and `hashdb` both in structure and interfaces.
- `Contract`, `Class` and `Contract Storages` are written dir... | diff --git a/core/state/history_test.go b/core/state/history_test.go
index 54c2cd6b40..25dfe4c8ba 100644
--- a/core/state/history_test.go
+++ b/core/state/history_test.go
@@ -20,10 +20,12 @@ func TestNewStateHistory(t *testing.T) {
assert.NotNil(t, history.state)
})
- t.Run("invalid state root", func(t *testing.... | 10 | 10 | 2 | [{"id": "G0", "claim": "Owners are typed as the generic *felt.Felt (the rawdb parameters and the contractStorageNodesMap key) and should use a more descriptive type such as felt.Address, with a TODO left over the interface definition until the types are updated.", "category": "maintainability", "verdict": "supported", ... | null |
NethermindEth__juno__3322 | NethermindEth/juno | 3,322 | defect | 584e500e7f300e395f0411df0af9e090173c10d1 | 2e1ba23f6e9ba4cf1618f38a1a0bcd55c18d2453 | fix: getBlockWithTx* fetch block header and txns separately | fixes #3261 | diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go
index 0771a6e6d9..e39dacc7ee 100644
--- a/blockchain/blockchain.go
+++ b/blockchain/blockchain.go
@@ -33,6 +33,8 @@ type Reader interface {
TransactionByHash(hash *felt.Felt) (transaction core.Transaction, err error)
TransactionByBlockNumberAndIndex... | 5 | 4 | 4 | [{"id": "G0", "claim": "The test expectations in rpc/v9/block_test.go still expect BlockByNumber/BlockByHash/Head, so TestBlockWithTxHashes and TestBlockWithTxs no longer match the refactored implementation and need updating to expect BlockHeaderByNumber and TransactionsByBlockNumber.", "category": "testing", "verdict"... | null |
NethermindEth__juno__3367 | NethermindEth/juno | 3,367 | defect | 2335b431f6d39a8cac0c68cd6afa22516250339a | c92ac35751208b39e9b6f45e0d5c9354c8f4b122 | fix: l1 handler message hash to txn hash mapping | Due to a bug, only the first L1Handler transaction in a block was written to MsgHash to L2TxnHash mapping, resulting in consecutive ones to be missing, leading to to error in `starknet_getMessageStatus`.
Includes migration | diff --git a/core/accessors.go b/core/accessors.go
index 4ff16ed0e3..ea143edb63 100644
--- a/core/accessors.go
+++ b/core/accessors.go
@@ -337,7 +337,14 @@ func DeleteL1HandlerTxnHashByMsgHash(w db.KeyValueWriter, msgHash []byte) error
func WriteL1HandlerMsgHashes(w db.KeyValueWriter, txns []Transaction) error {
for... | 6 | 4 | 2 | [{"id": "G0", "claim": "The pull request should include tests for the new migration.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Using a buffered channel for the block numbers appears at least 15% faster in the reviewer's benchmark and should be adop... | null |
NethermindEth__juno__3382 | NethermindEth/juno | 3,382 | defect | 34d3ff6dadb23596a291ce72973d6c83fe2349fa | ef38a4e57949268c9d1cdd90126d979570d860f2 | feat(rcpv10): implement event filtering using multiple addresses | This PR introduces support for filtering events by list of addresses in `starknet_getEvents` and `starknet_subscribeEvents` for rpc v10. The spec allows either a single address or a list of addresses. Edge cases:
- a list containing single address is treated the same as a single address
- empty list is treated as no ... | diff --git a/blockchain/aggregated_bloom_filter_cache_test.go b/blockchain/aggregated_bloom_filter_cache_test.go
index aebb802a63..c3cc0df4dc 100644
--- a/blockchain/aggregated_bloom_filter_cache_test.go
+++ b/blockchain/aggregated_bloom_filter_cache_test.go
@@ -177,7 +177,8 @@ func TestMatchBlockIterator_InsertAndQuer... | 22 | 22 | 0 | [{"id": "G0", "claim": "The new addressOrList type should use []felt.Felt rather than []*felt.Felt as its underlying type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If EventFilter can receive []felt.Felt, the filteredAddresses allocation in Blockcha... | null |
NethermindEth__juno__3413 | NethermindEth/juno | 3,413 | defect | 710026050d5c4f3f5b18711e37ae7e865f2cae8b | 249958ff7b1761e7330160af7ddd1efa4b0b701d | feat: add db-memtable-count configuration option | ## Summary
- Add `--db-memtable-count` CLI flag (default: 2) that maps to Pebble's `MemTableStopWritesThreshold`, controlling how many memtables can queue before stalling writes
- Wire the option through `cmd/juno` → `node.Config` → `pebblev2.WithMemtableCount()`
- Add tests and documentation (config options table + p... | diff --git a/cmd/juno/juno.go b/cmd/juno/juno.go
index cbfbc1b4f9..76c596007f 100644
--- a/cmd/juno/juno.go
+++ b/cmd/juno/juno.go
@@ -100,6 +100,7 @@ const (
disableRPCBatchRequestsF = "disable-rpc-batch-requests"
dbCompactionConcurrencyF = "db-compaction-concurrency"
dbMemtableSizeF ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The earlier assert.Equal calls above the new line in TestOptions should also put the expected value first and `opt.*` as the last argument.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "There is a lint error in the pull reques... | null |
NethermindEth__juno__3506 | NethermindEth/juno | 3,506 | defect | b69b825cddb4e85728e4d96a29b3e01d57088004 | 55f34ddf82bb6017dc32f764ac883b2ab8504111 | refactor(blockchain): change default transaction layout to combined and remove related flags from commands | ## Summary
- Makes the `blocktransactions` migration mandatory (no longer opt-in) and switches the defau... | diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go
index f98677c231..eefd62e930 100644
--- a/blockchain/blockchain.go
+++ b/blockchain/blockchain.go
@@ -97,7 +97,7 @@ func New(database db.KeyValueStore, network *utils.Network) *Blockchain {
l1HeadFeed: feed.New[*core.L1Head](),
cachedFilters:... | 3 | 3 | 0 | [{"id": "G0", "claim": "The transactionLayout field (and the conditional layout logic behind it) should be removed or justified, since the pull request makes combined layout the default anyway.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G2", "claim": "Th... | null |
NethermindEth__juno__3535 | NethermindEth/juno | 3,535 | defect | a6a642586f6ba8456fbef293429e4e0a60640960 | 48e2445674ffcc15b47ca968d44ccd763f22d1a8 | refactor(blockchain): replace method chaining with functional options | Method-chaining setters stay on the public API, so a fully constructed Blockchain can be reconfigured at any time. When options depend on each other, a setter must cascade updates to everything that was already configured based on a now-stale value. Each setter ends up needing to know about every other option.
Func... | diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go
index eefd62e930..34e37a0747 100644
--- a/blockchain/blockchain.go
+++ b/blockchain/blockchain.go
@@ -81,7 +81,38 @@ type Blockchain struct {
transactionLayout core.TransactionLayout
}
-func New(database db.KeyValueStore, network *utils.Network) *Blo... | 2 | 1 | 0 | [{"id": "G0", "claim": "Build the `opts` slice with its known capacity (make([]blockchain.Option, 0, 1)) instead of declaring a nil slice, so it is stack-allocated and easier to read.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change adds a ... | null |
NethermindEth__juno__858 | NethermindEth/juno | 858 | defect | e38ad45dc26ba39b2217f6d4a460817ad801df5b | c622f653cd9d7cc5665792d3bddb731b973f47da | Only accept finalized blocks on L1 | Resolves #826
Depends on #860 | diff --git a/l1/all_test.go b/l1/all_test.go
new file mode 100644
index 0000000000..e4613e2fd2
--- /dev/null
+++ b/l1/all_test.go
@@ -0,0 +1,284 @@
+package l1_test
+
+import (
+ "context"
+ "fmt"
+ "net"
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/NethermindEth/juno/blockchain"
+ "github.com/NethermindEth/juno/db... | 8 | 6 | 2 | [{"id": "G0", "claim": "A drop in the finalised L1 height can be a benign artefact of load-balanced RPC providers, so the client should simply ignore it instead of returning errReorgFinalisedBlock and shutting the service down.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
NethermindEth__sedge__125 | NethermindEth/sedge | 125 | defect | 66ca03b9ce0ad6b8d8c0696f746032ab2d66104d | 50279642ac5bd86de816b3df74ec501e3067ec6e | Check for newer releases | Resolves #124
## Changes:
- Add check for newer releases on GitHub
## Types of changes
- [x] New feature (non-breaking change which adds functionality)
## Testing
**Requires testing**
- [x] Yes
**In case you checked yes, did you write tests?**
- [x] Yes
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 316026da4..585b074fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Added
+- Add check for newer releases on GitHub
+
## [v0.3.0] - 2022-09-15
### A... | 5 | 5 | 2 | [{"id": "G0", "claim": "Group the Go imports conventionally (standard library first, then a blank line and the external/internal packages) in cli/root.go, cli/version.go and internal/utils/version.go, as the three suggestion blocks request.", "category": "maintainability", "verdict": "supported", "priority": "P3", "sco... | null |
NethermindEth__sedge__135 | NethermindEth/sedge | 135 | defect | ae43f67fa94acf84c63b1b7339d2acdecbe9fe0c | 45c7f7189fefad7de13c8f28840d789a00a3f677 | Fix keystore permissions when saving | Resolves #105
The command wasn't executed as admin, and now, we are using standard ways to execute those commands with admin permissions
## Changes:
- Execute keystore password saving as admin using standard ways
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes... | diff --git a/cli/keys.go b/cli/keys.go
index a546a97bd..6c9feb243 100644
--- a/cli/keys.go
+++ b/cli/keys.go
@@ -25,6 +25,7 @@ import (
"strings"
"github.com/NethermindEth/sedge/configs"
+ "github.com/NethermindEth/sedge/internal/pkg/commands"
"github.com/NethermindEth/sedge/internal/utils"
"github.com/manifo... | 1 | 1 | 1 | [{"id": "G0", "claim": "Using os.WriteFile would be better than the commands API to create and write the keystore password file, since the used commands may cause trouble on other OS like Windows.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NethermindEth__sedge__140 | NethermindEth/sedge | 140 | defect | 9a2f0100e7bfcdc8d00827a6454078288bfb7a10 | 2373330fce4f01f11b6815f2086292d987f78ee9 | Keystores Generation | ## Changes:
- Allow keystore generation without the use of the staking deposit cli
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 45365c230..647a17863 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
-### Added
+### Added
- Check for new Sedge releases on GitHub. Sedge will now report... | 3 | 3 | 1 | [{"id": "G0", "claim": "The CHANGELOG entry added by the pull request should use the suggested wording, because the current line (\"Changed how `sedge keys` works so it don't use staking deposit cli.\") is inaccurate — sedge's own keystore mechanism is experimental and staking-deposit-cli is still used for mainnet.", "... | null |
NethermindEth__sedge__154 | NethermindEth/sedge | 154 | defect | caa2fe3712d345698d566378a13d79af51112509 | 07a8ddf4c64b1767c05042c7bd2007cb769163e4 | Add logging flag | Currently, some services have `json-file` as the logging driver, and others not, to improve logging driver configuration the `--logging` flag is added. If `--logging` flag is not `none` the logging section is generated for each service, using the provided value as the driver name. The default value is `json`.
### Ge... | diff --git a/cli/cli.go b/cli/cli.go
index 9eb26e8af..47855b8ab 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -61,6 +61,7 @@ var (
mapAllPorts bool
noMev bool
noValidator bool
+ loggingFlag string
)
const (
@@ -162,6 +163,10 @@ func preRunCliCmd(cmd *cobra.Command, args []string) e... | 2 | 1 | 0 | [{"id": "G0", "claim": "Please add a description to the functions in configs/logging.go, using other functions in the same package as reference.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mevboost services are also missing a logging driver... | null |
NethermindEth__sedge__171 | NethermindEth/sedge | 171 | defect | 8354338b69bc49a2fbc5c913ae33130ff3e32e4d | 2a80062be295c39721972d99b30931c1a9bb789d | Add Windows platform | ## Changes:
- Add Windows as supported platform
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or featu... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index d102f4740..0b01dcbd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Added
+
+- Windows Support.
+
+### Changed
+
+- Completely replace keystore generat... | 4 | 3 | 1 | [{"id": "G0", "claim": "stdevMac asks why the Windows support change and the Ethereum mainnet keystore replacement are combined in the same PR and whether there is a reason for that.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "GenerateJWTSecret in int... | null |
NethermindEth__sedge__196 | NethermindEth/sedge | 196 | defect | 12c41a1cad7ff8cf153e88e7c11e5849988b597c | 20659701a68cb7fe8a9322c6414be0aacd53dbba | Add support for custom testnets | ## Changes:
- Add support for custom testnets
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature... | diff --git a/cli/actions/slashing_test.go b/cli/actions/slashing_test.go
index 088076f76..a05834850 100644
--- a/cli/actions/slashing_test.go
+++ b/cli/actions/slashing_test.go
@@ -2,7 +2,6 @@ package actions_test
import (
"errors"
- "io/ioutil"
"os"
"path/filepath"
"testing"
@@ -169,7 +168,7 @@ func TestSla... | 15 | 14 | 3 | [{"id": "G0", "claim": "Fix the \"comma separeted\" typos in the execution-bootnodes and consensus-bootnodes flag descriptions and remove the stale TODO comment on cli/cli.go line 153.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The custom-ttd ... | null |
NethermindEth__sedge__203 | NethermindEth/sedge | 203 | defect | e8209cb70abc9a32f7c1d55302cb92c2b8b4d9a5 | f6f69219a464303e284faec3dc1848cd0ef79953 | Add `run` command | Adds the new command `run` to set up and run all the services generated.
## Changes:
- Add `SetupContainers` action
- Add `RunContainers` action
- Add `run` command
- Add missing commands for Windows:
- `docker compose create`
- `docker compose build`
- Update commands `docker compose <up,pull,create,build>` to de... | diff --git a/cli/actions/actions.go b/cli/actions/actions.go
index 1edd51796..dab6e588f 100644
--- a/cli/actions/actions.go
+++ b/cli/actions/actions.go
@@ -1,6 +1,7 @@
package actions
import (
+ "github.com/NethermindEth/sedge/internal/pkg/commands"
"github.com/NethermindEth/sedge/internal/pkg/services"
"githu... | 7 | 7 | 1 | [{"id": "G0", "claim": "RunContainers should log the docker-compose up command (at log info level, as Sedge displays meaningful commands) before running it, so users can tell how to run the compose script.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "S... | null |
NethermindEth__sedge__207 | NethermindEth/sedge | 207 | defect | 2ccaabc866c64f74a0cd1f533284915cd3336f89 | eed05b74654507c9cf4362bd21a4344f33743e0c | Remove config file | ## Changes:
- Remove config file and all code dependecies
## Types of changes
What types of changes does your code introduce?
- [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [x] Documentation Update
- [x] Refactoring (no functional changes, no api chang... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6192d0ff8..0e84507d8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Removed
+
+- Removed config file dependency.
+
### Added
- When generating new ... | 8 | 8 | 1 | [{"id": "G0", "claim": "In CHANGELOG.md the Removed section should go after the Changed section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the commented-out `//supported := utils.Contains(supportedClients, client)` line left in clients... | null |
NethermindEth__sedge__208 | NethermindEth/sedge | 208 | defect | ee5b007a53e7d636ce991892d9160da835771d3f | c21846e2dbac918a2775431399da4b7bfbe267f7 | Validator import keys action | ## Changes:
- Add command `sedge import-keys`
## Types of changes
What types of changes does your code introduce?
- [x] New feature (non-breaking change which adds functionality)
## Testing
**Requires testing**
- [x] Yes
**In case you checked yes, did you write tests?**
- [x] Yes | diff --git a/cli/actions/actions.go b/cli/actions/actions.go
index 8622a5edf..39e165381 100644
--- a/cli/actions/actions.go
+++ b/cli/actions/actions.go
@@ -27,6 +27,7 @@ type SedgeActions interface {
SetupContainers(SetupContainersOptions) error
RunContainers(RunContainersOptions) error
InstallDependencies(Insta... | 23 | 17 | 12 | [{"id": "G0", "claim": "The error strings inlined in cli/actions/importKeys.go should be defined in actions/errors.go like the other errors.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hardcoding the validator image versions in importKeys.go ... | null |
NethermindEth__sedge__220 | NethermindEth/sedge | 220 | defect | f02687dc2261f003311de8a56d421179e734641b | 0b65e2b45bf4de3833860e93157f7c0b396ce878 | Set name to containers | ## Changes:
- Added flag `--container-tag` to add a suffix to sedge containers name.
## Types of changes
- [x] New feature (non-breaking change which adds functionality)
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index f09077482..a3db41272 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
with the new command `slashing-export`.
- Support the new command `run`, used to run all the services ge... | 5 | 5 | 3 | [{"id": "G0", "claim": "The separator joining the tag in ContainerNameWithTag should be kebab-case (hyphen) instead of camel_case (underscore).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ServiceCtSlashingData container constant lacks the sedge pr... | null |
NethermindEth__sedge__242 | NethermindEth/sedge | 242 | defect | d85d2024dea44d8ac12ff5ec2d1be718d68cb888 | c3c5914194eddbc43689019a0f73d259a0968a4a | Update Erigon image and Geth Patch for TTD | ## Changes:
- Update Erigon docker image tag
- Update Geth docker image version
| diff --git a/cli/cli.go b/cli/cli.go
index b34a0e51f..5038485e7 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -341,6 +341,10 @@ func runCliCmd(cmd *cobra.Command, args []string, flags *CliCmdFlags, clientImag
if combinedClients.Execution != nil {
combinedClients.Execution.SetImageOrDefault(clientImages.execution)
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment should read \"Patch Geth image if network needs TTD to be set\" instead of \"Patch Geth image if needed\" (suggested verbatim).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment should read \"Patch Ge... | null |
NethermindEth__sedge__253 | NethermindEth/sedge | 253 | defect | ee279b0503b806a39525476deadb552566dcf455 | d98f2fbf3542c0949db2faf5838ab546cc9f1036 | Fix validator blocker | Remove the `consensus-health` service and leave the `validator-blocker` as the only container that protects the `validator`. In this case, after waiting the necessary time, would start executing the same loop that was in the `consensus-health` before this PR. In this way, we would have a single container whose only fun... | diff --git a/cli/actions/generation_test.go b/cli/actions/generation_test.go
index ba95fb30c..367581135 100644
--- a/cli/actions/generation_test.go
+++ b/cli/actions/generation_test.go
@@ -343,11 +343,6 @@ func TestGenerateDockerCompose(t *testing.T) {
assert.True(t, re.MatchString(authEndpoint), "Execution Auth ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should also check that the validator-blocker service's command is not empty.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NethermindEth__sedge__256 | NethermindEth/sedge | 256 | defect | ee279b0503b806a39525476deadb552566dcf455 | 1f8231e018ef8b07b2b33693956f066cbcc7dfec | Show only relay_url when mev-boost service is active | ## Changes:
- Show only relay_url when mev-boost service is active
## Types of changes
- [x] Bugfix (non-breaking change which fixes an issue)
## Testing
**Requires testing**
- [x] Yes
- [ ] No
**In case you checked yes, did you write tests?**
- [x] Yes
- [ ] No
| diff --git a/cli/cli.go b/cli/cli.go
index b8dce7fe1..e48286e87 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -38,8 +38,7 @@ import (
)
const (
- slashingImportFile = "slashing-import.json"
- execution, consensus, validator, mevBoost = "execution", "consensus", "validator", "mevboost"
+ executi... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add regression tests for the newly added WithMevBoostClient function.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NethermindEth__sedge__310 | NethermindEth/sedge | 310 | defect | e585a03b791a946fd1c1094f1182bddfd633ed76 | 84a28ed7409c4fc14dc079c2e94d83512c0e997d | Release v1.2.3 | # Changes:
- Prepare develop to be merged in main and make the release | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 378d9d2fa..b41372dd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [v1.2.3] - 2023-08-11
+
+### Added
+
+- Support for Erigon in Gnosis.
+
+### Fixed
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "Update the [v1.2.3] release date in CHANGELOG.md from 2023-08-11 to the correct date.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NethermindEth__sedge__315 | NethermindEth/sedge | 315 | defect | 3f03977ed068f5c217dd0cbeb736a3f817b7ec11 | 0b8b58e585853d9aa93402da593c53e63ea8e1c0 | Remove TTD of params | ## Changes:
- Remove TTD of the params, including test cases, command flags and geth patch for custom testnets.
## Types of changes
- [x] Bugfix (non-breaking change which fixes an issue)
| diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index de212fef4..a34327c3a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,8 +11,13 @@ jobs:
name: Build sedge
strategy:
matrix:
- go: ["1.19"]
- os: [ubuntu-latest, windows-latest, ma... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should update the CHANGELOG to reflect its changes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NethermindEth__sedge__389 | NethermindEth/sedge | 389 | defect | 870874f66d4e0898ae3ebbde7da3e71fe3ef5191 | 6312eab7303392e01f39170682c4f7c71c8c6785 | Add Lido Flow | ## Changes:
- Add Lido flow in Sedge user flows setup
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or... | diff --git a/cli/cli.go b/cli/cli.go
index 42a201017..78b749bbf 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -25,6 +25,8 @@ import (
eth2 "github.com/protolambda/zrnt/eth2/configs"
+ "github.com/NethermindEth/sedge/internal/lido/contracts"
+ "github.com/NethermindEth/sedge/internal/lido/contracts/mevboostrelaylist... | 7 | 6 | 0 | [{"id": "G0", "claim": "selectNetwork in cli/cli.go should be refactored to a Factory Method style (or any other functional approach) so the network options are extensible for future node setups.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The conditi... | null |
NethermindEth__sedge__402 | NethermindEth/sedge | 402 | defect | 01fcb11eba4e92d467c3a822256f070579de5ea7 | 9185de6d5ab9c4d4455071a2a4d81ce0c5685856 | Lido Tier 1 Integration CLI | ## Changes:
- Display Lido Node Operator data using `sedge lido-status` command
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2864f2a72..6f59fe9b6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Added
+- New command `lido-status` to display data of Lido Node Operator.
+
### Fix... | 11 | 9 | 6 | [{"id": "G0", "claim": "The command's help text lists \"Alerts for penalties and exit requests\" although the command never displays alerts, and the line should be removed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The command should validate... | null |
NethermindEth__sedge__407 | NethermindEth/sedge | 407 | defect | 7398c2b8df64b115440a6acbb843e082f7363354 | de10054b7210436eb644400b330e5b7d87f11238 | Add OP stack using nethermind to Sedge | ## Changes:
- Add op stack to Sedge using nethermind
- Support on Mainnet and Sepolis
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
## Testing
**Requires testing**
- [x] Yes
- [ ] No
**In case you checked ye... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b4d9fd4b..81f3f7e52 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [v1.5.0] - 2024-09-05
+### Added
+- Add support for Optimism and Base, using Nethermind Client on Main... | 3 | 3 | 2 | [{"id": "G0", "claim": "The client image version changes are not reflected in the CHANGELOG.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The OP quickstart doc does not describe what services a full node setup includes and that Nethermind is use... | null |
NethermindEth__sedge__425 | NethermindEth/sedge | 425 | defect | 79483254584e421db0e84b11111b4efd527d66ac | 7562b3c4d15aaef06409f272f4fac212d99eda9b | Add lido-exporter alert rules and alertmanager for monitoring stack | ## Changes:
- Include lido-exporter alerts for penalties and exit requests metrics.
- Include Prometheus alertmanager to Prometheus and Grafana
- Add Grafana OnCall plugin to Grafana
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-bre... | diff --git a/internal/monitoring/services/grafana/config/prom.yml b/internal/monitoring/services/grafana/config/prom.yml
index 1c39a3d67..9d1a470f2 100644
--- a/internal/monitoring/services/grafana/config/prom.yml
+++ b/internal/monitoring/services/grafana/config/prom.yml
@@ -19,4 +19,12 @@ datasources:
# Fiel... | 2 | 2 | 0 | [{"id": "G0", "claim": "The ExitRequestDetected alert's summary and description misstate the plural case — they should read \"Exit requests detected\" and \"One or more exit requests have been detected ...\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
NethermindEth__sedge__464 | NethermindEth/sedge | 464 | defect | 6d8c249d79cd7f0fd43accbdd343fc4e80cbb82d | 2732768a352d1724163cde01198b2d2960fc56e5 | Refac/integrate monitoring pkg | ## Changes:
- [refac: Integrate ComposeManager into sedgeActions](https://github.com/NethermindEth/sedge/commit/01156afd86e21a5aa94c29ce61d8b6ee4850fadf)
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an i... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index a04eae355..a2b6d5110 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [v1.7.0] - 2024-10-24
+### Changed
+- Update "sedge-data" default directory.
+
### Added
- Support M... | 4 | 3 | 1 | [{"id": "G0", "claim": "The changelog entry \"Update \\\"sedge-data\\\" default directory\" is placed under the released [v1.7.0] section and should be under [Unreleased].", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelog entry for the ... | null |
NethermindEth__sedge__81 | NethermindEth/sedge | 81 | defect | 61cc4b16a01b162368e9a69f08a656b2bc0894ee | d41e0871f1f155c2a081d54c749a6a2482d5cbd7 | Add Disclaimers | ## Changes:
- Add Disclaimers to the Docs and Readme
- Updated `version` command to display current version
## Types of changes
What types of changes does your code introduce?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change w... | diff --git a/README.md b/README.md
index 0a960c383..1e79ba607 100644
--- a/README.md
+++ b/README.md
@@ -7,14 +7,18 @@
A one click setup tool for PoS network/chain validators. Currently, Sedge is designed primarily for solo stakers and testnet devs of the Beacon Chain and the Merge (Ethereum). Sedge generates docker... | 9 | 6 | 0 | [{"id": "G0", "claim": "The README beta/audit disclaimer should be reworded to split the two claims into separate sentences: '...it might still have some issues. Sedge has not been audited yet.'", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The R... | null |
NethermindEth__sedge__82 | NethermindEth/sedge | 82 | defect | 9c6903a697192e74689a4a43f1a988c1dcbcd5c7 | d8c67fef0290002387fa78d22ef595917d0f7cc2 | Add Testnets support | ## Changes:
- Add base code for testnet in templates
- Add chiado and denver testnets
- Prysm and Lodestar can use now an undefined number of Bootnodes
- Allow providing a number for `--tail` flag of `logs` command, e.g: `sedge logs --tail 50`
- Check for compose plugin installed. The check was running compose wit... | diff --git a/README.md b/README.md
index 87c3f4fa1..0a960c383 100644
--- a/README.md
+++ b/README.md
@@ -189,7 +189,6 @@ The following roadmap covers the main features and ideas we want to implement bu
### Version 0.X
- [ ] TUI for guided and more interactive setup (better UX)
-- [ ] Integrate Prater network
- [ ]... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new `--testnet-dir=/network_config` flag in the consensus lighthouse template is gated on `CcRemoteDpl` when it should be gated on `CcCustomCfg`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The validator services need ... | null |
NetworkConfiguration__dhcpcd__223 | NetworkConfiguration/dhcpcd | 223 | defect | 327e19a5cce11e0250f086695641b4a3b238ee4f | 1a702985734dfd68f3526a2d41ec7803966259d2 | Support libcrypto for hmac and sha256 | In a recent security review for the Ubuntu package of dhcpcd we found that the packaged version uses the built-in crypto primitives from `compat/crypt`.
We try to keep the number of low-level crypto implementations at a minimum to make it easier for the Ubuntu security team to review them, track eventual bugs as and... | diff --git a/compat/crypt/hmac.c b/compat/crypt/hmac.c
index 55e331ffa..2fc71eb7d 100644
--- a/compat/crypt/hmac.c
+++ b/compat/crypt/hmac.c
@@ -34,6 +34,35 @@
#include "config.h"
+#ifdef WITH_OPENSSL
+
+#include "openssl/hmac.h"
+
+ssize_t
+hmac(const char *name,
+ const void *key, size_t klen,
+ const void... | 9 | 6 | 5 | [{"id": "G0", "claim": "Finding and linking libcrypto, which lives in /usr, breaks systems that expect /sbin/dhcpcd to work without /usr available since it could be a network mount; the openssl block should respect ALLOW_USR_LIBS like the other tests in configure.", "category": "design", "verdict": "supported", "priori... | null |
NetworkConfiguration__dhcpcd__227 | NetworkConfiguration/dhcpcd | 227 | defect | 327e19a5cce11e0250f086695641b4a3b238ee4f | 86487fc5a324bae8d4844d9f93732372e9969569 | compat: update arc4random() to newer chacha20 based version from OpenBSD | This updates the compat version to the modern chacha20 based arc4random implementation shipped in most systems nowadays. I merged upstream's arc4random.h into arc4random.c to make things a bit simpler.
There certainly is room for further improvement but I don't want to make this diff even bigger.
The fallback entro... | diff --git a/compat/arc4random.c b/compat/arc4random.c
index 90098127c..a02de5132 100644
--- a/compat/arc4random.c
+++ b/compat/arc4random.c
@@ -1,173 +1,290 @@
+/* $OpenBSD: arc4random.c,v 1.58 2022/07/31 13:41:45 tb Exp $ */
+
/*
- * Arc4 random number generator for OpenBSD.
- * Copyright 1996 David Mazieres <dm@lcs... | 1 | 1 | 1 | [{"id": "G0", "claim": "_dhcpcd_getentropy() opens /dev/urandom per call and closes it, which will not work in an empty chroot under the privsep model; the fd should be kept open once and re-used.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NetworkManager__NetworkManager__215 | NetworkManager/NetworkManager | 215 | defect | 7729555a595871049caab7b5ea811ea04c4d3f8d | 3e2b457c8338fc2e992290d17d5fe7cfbf496fb0 | th/hexstr2bin-cleanup | Various cleanup of our hexstr <-> bin conversions. | diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c
index f794c67b2b7..353afd6c523 100644
--- a/clients/common/nm-meta-setting-desc.c
+++ b/clients/common/nm-meta-setting-desc.c
@@ -1913,9 +1913,8 @@ nmc_property_set_bytes (NMSetting *setting, const char *prop, const char *value,
... | 4 | 4 | 4 | [{"id": "G0", "claim": "Resolve the FIXME left in the added code: the pull request does not yet verify that priv->mka_cak is a valid hex-string, and the author asks bengal how to fix it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 'mode must ... | null |
NetworkManager__NetworkManager__256 | NetworkManager/NetworkManager | 256 | defect | 8c744b66cc540d8ecddee51cdab2c910945dd840 | f62886a5bc98bca01da6b577b1bf21a07ebc31e2 | [th/internal-dhcp-routes-rh1634657] | - various cleanups of internal DHCP client
- support multiple default routes [rh#1634657](https://bugzilla.redhat.com/show_bug.cgi?id=1634657) | diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h
index 6ffa4844655..ce2979c916c 100644
--- a/libnm-core/nm-core-internal.h
+++ b/libnm-core/nm-core-internal.h
@@ -496,6 +496,30 @@ NMSettingBluetooth *_nm_connection_get_setting_bluetooth_for_nap (NMConnection *
const char *nm_utils_inet_ntop... | 7 | 6 | 3 | [{"id": "G0", "claim": "Add the missing space before the open parenthesis in the call to sd_dhcp_route_get_option() in lease_to_ip4_config().", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the commit message title typo 'intenal' -> 'internal'.", "cate... | null |
NeuroTechX__moabb__1037 | NeuroTechX/moabb | 1,037 | defect | f28f7f91ce39146ad9e746b1e4501472d9902763 | b93212d866224d44688c19b7230f57f720c1bec8 | Fix HED annotation semantics per Kay's expert review | ## Summary
- Add specific arrow direction visuals (`(Leftward, Arrow)`, `(Rightward, Arrow)`, etc.) to standard MI events (`left_hand`, `right_hand`, `feet`, `tongue`) instead of generic `Visual-presentation` — per Kay's principle that identical Sensory-event groups across all events add no value
- Flatten action verb... | diff --git a/moabb/datasets/bids_interface.py b/moabb/datasets/bids_interface.py
index 32b515b14a..9b4deb249b 100644
--- a/moabb/datasets/bids_interface.py
+++ b/moabb/datasets/bids_interface.py
@@ -350,74 +350,97 @@ def _enrich_raw_info_from_metadata(raw, metadata, subject):
# Paradigm-level HED tag mappings for even... | 1 | 1 | 1 | [{"id": "G0", "claim": "Applying the paradigm-level mapping to every imagery dataset means hard-coding directional arrow cues in the left_hand/right_hand/feet/tongue defaults introduces incorrect HED annotations for datasets that use non-arrow stimuli (e.g. Weibo2014, which uses the same event names with text cues), wh... | null |
NeuroTechX__moabb__249 | NeuroTechX/moabb | 249 | defect | 87b52e9e49a60921caf08000dce9a4c1aa9cde7e | 4999775265474d185c20a23b9dedc74a624a8b24 | Set download dir test and example | Closes #197
@sylvchev let me know if I should rename the example to start with plot. If I remember correctly, it is only required if a plot is required to be generated on the sphinx documentation right? Shouldn't be necessary for this? | diff --git a/docs/source/whats_new.rst b/docs/source/whats_new.rst
index 1c650880fb..ac55800f45 100644
--- a/docs/source/whats_new.rst
+++ b/docs/source/whats_new.rst
@@ -18,7 +18,7 @@ Develop branch
Enhancements
~~~~~~~~~~~~
-- None
+- Adding Test and Example for set_download_dir (:gh:`249` by `Divyesh Narayanan`_... | 2 | 2 | 0 | [{"id": "G0", "claim": "The example's docstring should read 'This is a minimal example to demonstrate how to change the default data download directory to a custom path/location' instead of 'This is a minimal Example to show how to change...'.", "category": "documentation", "verdict": "supported", "priority": "P2", "sc... | null |
NeuroTechX__moabb__278 | NeuroTechX/moabb | 278 | defect | 95940becf8b97cd90b247951718181f3db946a7f | 1fb4e5ac3ded3209672d55a88d033e242307eff8 | Elicit warning if lambda functions are used | This is a rebased version of #210 and closes #194
Note that my last information was that this does not work on windows for some reason. | diff --git a/moabb/analysis/results.py b/moabb/analysis/results.py
index 03f378dc72..eb11786544 100644
--- a/moabb/analysis/results.py
+++ b/moabb/analysis/results.py
@@ -2,6 +2,7 @@
import os
import os.path as osp
import re
+import warnings
from datetime import datetime
import h5py
@@ -17,6 +18,15 @@ def get_st... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test_lambda_warning fails on Windows because of Python's memory representation of lambdas, so the test should be modified to skip the get_string_rep equality assertion when running on Windows.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
NeuroTechX__moabb__319 | NeuroTechX/moabb | 319 | defect | 4a418aab1e5e643cdf2a665e035837f89d70dd94 | 2a6b6b93e769fb6eb4a09d1cc914048f3246d16c | Grid Search on Evaluation | Grid Search implementation for the different evaluation function. | diff --git a/docs/source/whats_new.rst b/docs/source/whats_new.rst
index 0cf8723b72..548d61b2ff 100644
--- a/docs/source/whats_new.rst
+++ b/docs/source/whats_new.rst
@@ -21,6 +21,7 @@ Enhancements
- Switch to python-3.8, update dependencies, fix code link in doc, add `code coverage <https://app.codecov.io/gh/NeuroTec... | 3 | 3 | 0 | [{"id": "G0", "claim": "The param_grid docstring type should read 'dict of str' instead of 'dict containing the parameter to test'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The param_grid docstring should include a code example showing a pip... | null |
NeuroTechX__moabb__328 | NeuroTechX/moabb | 328 | defect | 0d847d47c62ed1f52eb8d933fa3ff3a68eda093b | 1eaf054b951314bb875996077a38e960a064bb3f | Adding Braindecode pipeline | Hi @sylvchev!
This is a work in progress to add the braindecode object to moabb. I need your assistance with this task.
In the file moabb/pipelines/braindecode.py, I create two custom classes for working with the braindecode library and scikit-learn classifiers.
The `CreateBraindecodeDataset` class serves as ... | diff --git a/moabb/pipelines/__init__.py b/moabb/pipelines/__init__.py
index 7be559161d..825b782ea6 100644
--- a/moabb/pipelines/__init__.py
+++ b/moabb/pipelines/__init__.py
@@ -3,6 +3,8 @@
Pipelines are typically a chain of sklearn compatible transformers and end
with a sklearn compatible estimator.
"""
+from .bra... | 9 | 5 | 2 | [{"id": "G0", "claim": "The poetry install command needs to be changed so that everything is installed using the new optional dependency groups.", "category": "build", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The braindecode import in moabb/pipelines/__init__.py should be... | null |
NeuroTechX__moabb__359 | NeuroTechX/moabb | 359 | defect | 4d8f110c7a3203190c97166c10eb8e787834981c | 7fd8db8f629277730cab7c89bea7aeb90ff6a4a2 | MsetCCA SSVEP classification + example | This PR implement the MsetCCA SSVEP classification algorithm from Zhang, 2013 "Frequency Recognition in SSVEP-Based BCI using Multiset Canonical Correlation Analysis".
To do:
- [x] Implement algorithm
- [x] Include a MsetCCA example in `plot_cross_subject_ssvep` example
- [x] Write docstrings to `SSVEP_MsetCCA`... | diff --git a/docs/source/pipelines.rst b/docs/source/pipelines.rst
index 4c1eb5ebf0..ca4d7aa6f7 100644
--- a/docs/source/pipelines.rst
+++ b/docs/source/pipelines.rst
@@ -21,6 +21,8 @@ Pipelines
features.StandardScaler_Epoch
csp.TRCSP
classification.SSVEP_CCA
+ classification.SSVEP_TRCA
+ classificati... | 6 | 6 | 0 | [{"id": "G0", "claim": "Add the contributor's name and GitHub account at the end of docs/source/whats_new.rst.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Set the example's overwrite flag back to False instead of True, so cached results are not... | null |
NeuroTechX__moabb__400 | NeuroTechX/moabb | 400 | defect | 7559bca75e74523e9b067fced2995ba279ad7914 | 2711bcd830f0562f72b62fb01ac21b3853cc296f | Resting state with dataset and example | This PR introduces a resting state paradigm and a new dataset. An example is provided.
The code is adapted from @plcrodrigues's repository: https://github.com/plcrodrigues/py.PHMDML.EEG.2017-GIPSA
@bruAristimunha @sylvchev FYI
| diff --git a/docs/source/datasets.rst b/docs/source/datasets.rst
index c47f7cd97f..345496196f 100644
--- a/docs/source/datasets.rst
+++ b/docs/source/datasets.rst
@@ -75,6 +75,17 @@ SSVEP Datasets
Lee2019_SSVEP
+----------------------
+Resting State Datasets
+----------------------
+
+.. autosummary::
+ :to... | 2 | 2 | 1 | [{"id": "G0", "claim": "The magic slice [1:17] used to load the EEG channels is unexplained and looks channel-related; it should be clarified or made readable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add tests for the new re... | null |
NeuroTechX__moabb__464 | NeuroTechX/moabb | 464 | defect | 05135c5974c69a7d2efc47f81f6db7355a28903c | 9890bf2093ce42e2591b9f32da4a36500427ba5c | Delaying the depreciation of old dataset names in the dataset list | As discussed in https://github.com/NeuroTechX/moabb/pull/455#discussion_r1298504188 | diff --git a/docs/source/whats_new.rst b/docs/source/whats_new.rst
index fb2255f391..a297413655 100644
--- a/docs/source/whats_new.rst
+++ b/docs/source/whats_new.rst
@@ -66,7 +66,7 @@ Bugs
- Fix :func:`moabb.paradigms.FakeImageryParadigm`, :func:`moabb.paradigms.FakeP300Paradigm` and :func:`moabb.paradigms.FakeSSVEPP... | 3 | 3 | 3 | [{"id": "G0", "claim": "The whole test_dataset_list test need not be commented out; keep the test and comment only the `and c.__name__ not in depreciated_list` condition line.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The assertion that instantiati... | null |
NeuroTechX__moabb__473 | NeuroTechX/moabb | 473 | defect | c45fb3e6eee1a37a734d6057308abf340e61f21c | dd8e94df19ae1fa66b5c45d152b81d8f714bcf45 | Add `match_all` method in paradigm to support CompoundDataset evaluation with MNE epochs | CompoundDataset supports the merging of datasets with different sampling frequencies and channels.
When Epochs are used for evaluation, MNE failed to merge epochs with different frequencies and channels.
This PR introduces the `match_all` method in the `BaseParadigm`. It initialized the `resample` and `channels` me... | diff --git a/moabb/datasets/fake.py b/moabb/datasets/fake.py
index cdf8fcafa9..0b6d78ab12 100644
--- a/moabb/datasets/fake.py
+++ b/moabb/datasets/fake.py
@@ -45,8 +45,10 @@ def __init__(
paradigm="imagery",
channels=("C3", "Cz", "C4"),
seed=None,
+ sfreq=128,
):
self.n_r... | 2 | 2 | 0 | [{"id": "G0", "claim": "Make the hard-coded -0.5 Hz frequency padding in match_all a default parameter instead of a hard-coded value.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update docs/source/whats_new.rst with an entry fo... | null |
NeuroTechX__moabb__480 | NeuroTechX/moabb | 480 | defect | 756c00f9860019f154608143764a8b16219942cb | dc823fe6abd46bad762b04fa5b13dd56f9263fcf | Feat/interpolate channels | This PR modifies the `match_all` method inside base paradigm, which set-up the paradigm to be compatible with a list of datasets.
It is now possible to select the intersection of the channels in all datasets, or their union.
For example, if you pass two datasets:
d1 -> Cz, Fz
d2 -> Cz, C4,
then the `channels` att... | diff --git a/moabb/datasets/compound_dataset/__init__.py b/moabb/datasets/compound_dataset/__init__.py
index 6232e21291..1fc660352f 100644
--- a/moabb/datasets/compound_dataset/__init__.py
+++ b/moabb/datasets/compound_dataset/__init__.py
@@ -8,7 +8,7 @@
BI_Il,
Cattan2019_VR_Il,
)
-from .utils import _init_c... | 1 | 1 | 0 | [{"id": "G0", "claim": "interpolate_bads should use mne's origin=\"auto\" option (fit a sphere to headshape from existing electrodes) instead of the hard-coded origin (0, 0, 0.04).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NeuroTechX__moabb__482 | NeuroTechX/moabb | 482 | defect | 09bd99e6589482c8a99c8c9bc20adea0b8505a42 | 2697fefe77ca8b27033aa46dd67b12498ebb9e2e | Creating Nested Cross Validation for GridSearch | Substituting the actual Flat Cross validation with Nested Cross Validation. | diff --git a/moabb/evaluations/evaluations.py b/moabb/evaluations/evaluations.py
index f0f2755742..bc52bda1e2 100644
--- a/moabb/evaluations/evaluations.py
+++ b/moabb/evaluations/evaluations.py
@@ -1,10 +1,8 @@
import logging
-import os
from copy import deepcopy
from time import time
from typing import Optional, U... | 3 | 2 | 2 | [{"id": "G0", "claim": "Saving the best grid-search model as a regular pipeline pickle for every fold may produce model files that are too big.", "category": "performance", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The CI must be fixed before merging: test_eval_grid_search... | null |
NeuroTechX__moabb__59 | NeuroTechX/moabb | 59 | defect | a42e37a5cc5cf95bc3d19a88c88208f16c78a406 | 2d207f5206d2882b3bc14786a9229cfc596b6d3d | SSVEP Paradigm and SSVEPExo dataset | This PR add the support for SSVEP paradigm, which defines the stimulation frequencies, the number of classes to consider. The returned data is a concatenation of the EEG bandpass filtered around the stim freq (`[f_n-0.5, f_n+0.5]`) and the EEG with a wide bandpass (`[1, 45]`). So for a dataset with 10 electrodes, T tim... | diff --git a/docs/source/datasets.rst b/docs/source/datasets.rst
index e86654bd9e..2aede3ed01 100644
--- a/docs/source/datasets.rst
+++ b/docs/source/datasets.rst
@@ -27,7 +27,8 @@ Motor Imagery Datasets
Shin2017A
Shin2017B
Weibo2014
- Zhou2016
+ Zhou2016
+ SSVEPExo
------------
ERP Datasets
... | 6 | 6 | 0 | [{"id": "G0", "claim": "The example should keep the number of subjects down to 2-3 because doc generation already has time issues.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The example should download only the 2-3 subjects it keeps instead of a... | null |
NeuroTechX__moabb__684 | NeuroTechX/moabb | 684 | defect | e2080202b62946a123b5870da1c3646f4f3a20b9 | c7114de9fcfda946aded8893297ed6f2b53d6b33 | Correct permutation t-tests | I think the `out` array should be initiated with `zeros`.
If not, then `out` can take `nperms+1` as values, and the corrective statements (`out[out == nperms] = nperms - 1`) apply on the wrong sample.
@bruAristimunha what do you think? | diff --git a/moabb/analysis/meta_analysis.py b/moabb/analysis/meta_analysis.py
index b1a15c7ad7..3395f58564 100644
--- a/moabb/analysis/meta_analysis.py
+++ b/moabb/analysis/meta_analysis.py
@@ -89,7 +89,7 @@ def _pairedttest_exhaustive(data):
pvals: ndarray of shape (n_pipelines, n_pipelines)
array of pv... | 6 | 3 | 2 | [{"id": "G0", "claim": "In `_pairedttest_random` the initial statistic is not necessarily among the sampled permutations, so unlike the exhaustive case this variant needs `out` initialized to account for it (ones initialization) instead of zeros.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
NeuroTechX__moabb__703 | NeuroTechX/moabb | 703 | defect | 357cd121ff1a27c610f005cb44ff632085032628 | d6d1d0079d0cfb47e405f089da6d8789e5cc8667 | Cross Dataset Evaluation | This adds a new type of evaluation to be able to validate models across several datasets. This particularly relevant for deep learning models as it allows MOABB to be used for benchmarking transfer learning.
Some examples are also added, one of which uses braindecode. | diff --git a/docs/source/whats_new.rst b/docs/source/whats_new.rst
index ea5c961099..ceae775431 100644
--- a/docs/source/whats_new.rst
+++ b/docs/source/whats_new.rst
@@ -17,6 +17,7 @@ Develop branch
Enhancements
~~~~~~~~~~~~
+- Adding :class:`moabb.evaluations.CrossDatasetEvaluation` for cross-dataset evaluation, ... | 5 | 4 | 0 | [{"id": "G0", "claim": "The examples should use the paradigm's existing match_all method instead of hand-rolled helpers that compute common channels and interpolate missing ones.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new CrossDatasetEvaluati... | null |
NeuroTechX__moabb__740 | NeuroTechX/moabb | 740 | defect | 40f7ba3cb00a3d274c1c18fd0248272d67c263cf | f6d87625f9740c5909537cb5760488eb1230100a | Update the range of python versions to allow moabb to work with python 3.13.2 | The current constraint states <3.13. Current release is 3.13.2, so MOABB is not easily installable with pip.
Update the value to 3.14 (which is currently a pre-release version). | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7f009786ba..6e102bcec2 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,7 +17,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
- python-version: [... | 3 | 3 | 1 | [{"id": "G0", "claim": "The upper bound on the supported python version in pyproject.toml is no longer needed now that poetry (and poetry.lock) has been dropped, so it can be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The CI fails on pytho... | null |
NeuroTechX__moabb__744 | NeuroTechX/moabb | 744 | defect | 8feeb2b3accb41c03f4732ba87081089f4def500 | 25ccb02505075f31a3eededba63fc042aba6301c | Additional metadata from BIDS events.tsv | Hi,
here is an idea how we could fetch additional metadata columns from `events.tsv` files for BIDS datasets.
E.g. for the `FakeData` set with
```python
FakeDataset( event_list=["fake1", "fake2"], n_sessions=2, n_subjects=2, n_runs=1)
```
the `events.tsv` files would have the following columns:
| onset ... | diff --git a/moabb/paradigms/base.py b/moabb/paradigms/base.py
index d9757a948b..581a2389fb 100644
--- a/moabb/paradigms/base.py
+++ b/moabb/paradigms/base.py
@@ -1,15 +1,16 @@
import abc
import logging
from operator import methodcaller
-from typing import List, Optional, Tuple
+from typing import List, Literal, Opt... | 6 | 6 | 5 | [{"id": "G0", "claim": "The additional_metadata parameter should use None as its default/sentinel (None | Literal[\"all\"] | list[str]) instead of the string \"default\", to be in line with the other kwargs and their defaults.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
NeuroTechX__moabb__811 | NeuroTechX/moabb | 811 | defect | 3f72e4e5ee5cac2684e8bc32dca0e568e7bc3c23 | 7450c6fd5ab0098d6bd9b3d1c32b205bf79078d1 | Add BNCI2003_004 dataset (BCI Competition III Dataset IVa) | ## Description
- Adds support for **[BCI Competition III Dataset IVa](https://www.bbci.de/competition/iii/desc_IVa.html)** .
- Compatable with MotorImagery paradigm -> CSP -> LDA
- Implements `BNCI2003_IVa` class in `moabb/datasets/bnci2003.py`.
- Updates `whats_new.rst` documentation.
## Reference
Guido Dorn... | diff --git a/docs/source/whats_new.rst b/docs/source/whats_new.rst
index 070bd9feb5..32a0e4fa20 100644
--- a/docs/source/whats_new.rst
+++ b/docs/source/whats_new.rst
@@ -19,6 +19,8 @@ Develop branch - 1.4 (dev)
Enhancements
~~~~~~~~~~~~
+- Add new dataset :class:`moabb.datasets.BNCI2003_IVa` dataset (:gh:`811` b... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new dataset's class and loader should be placed in moabb/datasets/bnci.py alongside the other bnci datasets, not in a separate bnci2003.py file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dataset's public identifiers s... | null |
NeuroTechX__moabb__839 | NeuroTechX/moabb | 839 | defect | 760ed29497a95ffc5041a6b32fe9aa45f906e1ce | e15d345c7cb418b2179117bea3ca2ba6a165a670 | [HOT-FIX] fixing the pagination of figure share and doing mini release | Eliminate Poetry from the project setup and modernize the installation process. Improve code health by updating various details and addressing estimator representation. | diff --git a/moabb/analysis/results.py b/moabb/analysis/results.py
index 63128ee4f7..943c2b865d 100644
--- a/moabb/analysis/results.py
+++ b/moabb/analysis/results.py
@@ -40,7 +40,7 @@ def get_string_rep(obj):
stacklevel=2,
)
str_no_addresses = re.sub(
- "0x[\w]+>", "0x__", str_repr
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "pyproject.toml declares `dynamic = [\"version\"]` after dropping Poetry but provides no `[tool.setuptools.dynamic]` or other backend configuration for the version, so `pip install .`/`python -m build` will fail during metadata generation with a missing version error, preventing installation in a... | null |
NeuroTechX__moabb__952 | NeuroTechX/moabb | 952 | defect | c4aaa8fbf15786c8b9ccf42ce230f179a0fb77d6 | 8602ba5d052d36c6b5a7b5b1a2eaf9437c656abe | Implement WithinSubjectSplitter | ## Implementation Plan for WithinSubjectSplitter
- [x] Analyze existing splitter patterns and understand WithinSubjectSplitter requirements
- [x] Design WithinSubjectSplitter class following existing patterns
- [x] Implement WithinSubjectSplitter in moabb/evaluations/splitters.py
- [x] Add WithinSubjectSplitter to __i... | diff --git a/moabb/evaluations/__init__.py b/moabb/evaluations/__init__.py
index 4a5695f48c..d2a6699df4 100644
--- a/moabb/evaluations/__init__.py
+++ b/moabb/evaluations/__init__.py
@@ -9,5 +9,10 @@
CrossSubjectEvaluation,
WithinSessionEvaluation,
)
-from .splitters import CrossSessionSplitter, CrossSubject... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's documentation is incomplete: WithinSubjectSplitter is missing from docs/source/api.rst (the RST API docs), and there is no What's New entry in docs/source/whats_new.rst crediting Bruno Aristimunha; can the author update both?", "category": "documentation", "verdict": "supporte... | null |
NeuroTechX__moabb__956 | NeuroTechX/moabb | 956 | defect | c632e6a0b69f77cc258f445dd68bab4ee6df4372 | 7874cafa00c1abf9c25317a50bbecf5a45ce7650 | Offline emissions | Described by https://github.com/NeuroTechX/moabb/issues/955. | diff --git a/docs/source/whats_new.rst b/docs/source/whats_new.rst
index ddb65ea940..1a99db2c97 100644
--- a/docs/source/whats_new.rst
+++ b/docs/source/whats_new.rst
@@ -34,10 +34,11 @@ API changes
- When CodeCarbon is installed, MOABB HDF5 results have an additional column `codecarbon_task_name`. If CodeCarbon is co... | 5 | 3 | 0 | [{"id": "G0", "claim": "Instead of adding a new parameter to select offline mode, the reviewer asks whether offline capability could be determined automatically, e.g. by initializing CodeCarbon and catching failure or using a CodeCarbon routine.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope":... | null |
NeuroTechX__moabb__961 | NeuroTechX/moabb | 961 | defect | b93ed57c594e94eae6afb63f5562880a9e6d2322 | 68b88a8f4e286ab0ce8223960b16fbdebaec07ba | Unify split logic and add LearningCurveSplitter | ## Summary
- add LearningCurveSplitter for reusable learning-curve splitting
- centralize CV resolution and auto-add learning-curve metadata columns in BaseEvaluation
- propagate learning-curve metadata across evaluations via splitter metadata hooks
## Testing
- pre-commit run --all-files | diff --git a/examples/external/learning_curve_p300_external.py b/examples/external/learning_curve_p300_external.py
index 022d3bd0de..2deff69215 100644
--- a/examples/external/learning_curve_p300_external.py
+++ b/examples/external/learning_curve_p300_external.py
@@ -15,6 +15,11 @@
- Time-Decoupled Linear Discriminant ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the learning-curve branch, cv_params is populated with random_state and forwarded via **cv_params to WithinSessionSplitter with shuffle=False, which its constructor rejects with a ValueError, so any LearningCurveSplitter usage that sets a random state (e.g., the updated examples) fails immedi... | null |
NeuroTechX__moabb__962 | NeuroTechX/moabb | 962 | defect | a8077b7c33ec1678ac22c08098233bf8037b2514 | 29c4a7a8c317126dc69a97d8538d2596ff311e84 | Remove redundant learning curve implementation paths | ## Summary: Redundancy Removal Complete ✅
- [x] Analyze current code structure and identify redundancy
- [x] Remove redundant methods and parameters
- [x] Update all examples and tests to new API
- [x] Code review and security scan completed
- [x] **All pre-commit checks passing** ✅
## Pre-commit Formatting Status
*... | diff --git a/examples/external/learning_curve_p300_external.py b/examples/external/learning_curve_p300_external.py
index 022d3bd0de..89bbbadc0f 100644
--- a/examples/external/learning_curve_p300_external.py
+++ b/examples/external/learning_curve_p300_external.py
@@ -36,9 +36,9 @@
import moabb
from moabb.datasets impo... | 3 | 3 | 2 | [{"id": "G0", "claim": "Remove the redundant learning-curve implementation: the legacy data_size/n_perms path in WithinSessionEvaluation duplicates the LearningCurveSplitter path (the linked PR #961 discussion raises the same point, per the agent's reply).", "category": "maintainability", "verdict": "supported", "prior... | null |
NeuroTechX__moabb__977 | NeuroTechX/moabb | 977 | defect | 2d6940268eb23439e120d60ee2f8acb944f19274 | 699167d0c026829fc9f2851a61082be8ab2b604f | Fix incorrect DOIs and add systematic DOI validation | ## Summary
- Fix wrong DOI for BNCI2014_002 (`10.1007/s00500-014-1547-8` → `10.1007/s00500-012-0895-4`) — old DOI returned 404
- Fix BNCI2015_013 docstring reference (Ferrez 2008 → Chavarriaga 2010, matching actual dataset content and BNCI Horizon listing)
- Add `associated_paper_doi` to 10 datasets where the primary ... | diff --git a/moabb/datasets/bnci/bnci_2014.py b/moabb/datasets/bnci/bnci_2014.py
index d3bf0830bb..6509d6905a 100644
--- a/moabb/datasets/bnci/bnci_2014.py
+++ b/moabb/datasets/bnci/bnci_2014.py
@@ -473,7 +473,7 @@ class for validation. Participants had the task of performing sustained (5
.. [1] Scherer, R., Fall... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new network DOI tests require habanero (from habanero import Crossref), which is not declared in the repository's install requirements and is not installed by the CI test workflow, so the import raises ImportError, _resolve_doi_crossref returns None, and test_primary_doi_resolves fails for e... | null |
NeuroTechX__moabb__988 | NeuroTechX/moabb | 988 | defect | c4008e64857be0bda48121e63c2a9a52667e3e0b | a0ae65d3d84c8bd527aa0adf995d90a23399f594 | Add public `convert_to_bids` method to `BaseDataset` for clean BIDS export | BIDS conversion was only accessible via `get_data(cache_config=...)`, coupling it to the caching system and embedding a processing-pipeline hash (`desc-<hash>`) in all filenames — unsuitable for producing shareable BIDS datasets.
## Changes
- **New `BaseDataset.convert_to_bids(path=None, subjects=None, overwrite=Fals... | diff --git a/moabb/datasets/__init__.py b/moabb/datasets/__init__.py
index 1a0e20b22a..fa70774e31 100644
--- a/moabb/datasets/__init__.py
+++ b/moabb/datasets/__init__.py
@@ -8,6 +8,7 @@
"""
from . import compound_dataset
+from .bids_interface import convert_dataset_to_bids
# flake8: noqa
from .alex_mi import A... | 6 | 6 | 3 | [{"id": "G0", "claim": "The standalone `convert_dataset_to_bids` function should be made a method of `BaseDataset`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The deprecated standalone `convert_dataset_to_bids` wrapper in `bids_interface.py` should b... | null |
NeuroTechX__moabb__995 | NeuroTechX/moabb | 995 | defect | 973a01a8cb227f9678cbd4683b8c5c1fa7a5a3a6 | 29c77530db4d03552876ddf3665f306346c94285 | Fix all 216 pytest warnings across the test suite | ## Summary
- Resolves all **216 warnings** emitted during `pytest moabb/tests -W all`, bringing the count to **0 warnings**
- All 1060 tests continue to pass
- Each warning category is addressed at its root cause rather than globally suppressed
## Warning fixes by category
| File | Warning | Count | Fix |
|------|--... | diff --git a/moabb/datasets/bids_interface.py b/moabb/datasets/bids_interface.py
index 63a0186dbf..4de8bb5c6a 100644
--- a/moabb/datasets/bids_interface.py
+++ b/moabb/datasets/bids_interface.py
@@ -483,15 +483,33 @@ def _write_file(self, bids_path, raw):
# Note that we do not need to pass any events, as the d... | 2 | 2 | 0 | [{"id": "G0", "claim": "In WithinSubjectSplitter.split, the warnings.catch_warnings() context wraps the yield loop, so the ignore filter stays globally active while caller code runs between folds and can persist after early termination; the context should be exited before yielding, with splitter output materialized ins... | null |
New-JAMneration__JAM-Protocol__114 | New-JAMneration/JAM-Protocol | 114 | defect | 327d93b1d84ef2c6c433cea629213d3d7cb14e7b | f23bbd836cd00daf5d0d80c74648ac6a90fbfea4 | feat: add the MmrWrapper and fix the unit test error | resolve: https://github.com/New-JAMneration/JAM-Protocol/issues/113 | diff --git a/internal/utilities/mmr/mmr.go b/internal/utilities/mmr/mmr.go
index 78c8953e..78f09f98 100644
--- a/internal/utilities/mmr/mmr.go
+++ b/internal/utilities/mmr/mmr.go
@@ -1,26 +1,28 @@
package mmr
import (
- jamtypes "github.com/New-JAMneration/JAM-Protocol/internal/types"
+ "log"
+
+ "github.com/New-JA... | 1 | 1 | 1 | [{"id": "G0", "claim": "The peak parameter l in MMR.P should not be a pointer (*types.OpaqueHash), since l should not be empty — a non-pointer type seems more appropriate.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
New-JAMneration__JAM-Protocol__122 | New-JAMneration/JAM-Protocol | 122 | defect | 327d93b1d84ef2c6c433cea629213d3d7cb14e7b | a05a0ad87f376c03617227877a3f6cb25705c00a | feat : Eq. 6.25, 6.26 | 
Eq.6.26 , implement as below

| diff --git a/internal/safrole/slot_key_sequence.go b/internal/safrole/slot_key_sequence.go
new file mode 100644
index 00000000..d2dafbed
--- /dev/null
+++ b/internal/safrole/slot_key_sequence.go
@@ -0,0 +1,54 @@
+package safrole
+
+import (
+ types "github.com/New-JAMneration/JAM-Protocol/internal/types"
+ utils "githu... | 3 | 3 | 0 | [{"id": "G0", "claim": "TestFallbackKeySequence should be commented out until issue #121 is resolved, to avoid a lot of error messages in the current test execution.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The modulo should use types.U64(len(vali... | null |
New-JAMneration__JAM-Protocol__170 | New-JAMneration/JAM-Protocol | 170 | defect | 21b6581581edc67db15d990439c500e0534a08bb | 64f6e240c40801290ba9439bdf606b0c506860e2 | feat : eq.10. 7~10.14 | feat : eq. 10.7 ~ 10.14
refactor : states -> prior states & posterior states
currently only one test function for TestSortUnique in verdict_test | diff --git a/internal/extrinsic/culprit_controller.go b/internal/extrinsic/culprit_controller.go
index 70243bf9..4a4c518e 100644
--- a/internal/extrinsic/culprit_controller.go
+++ b/internal/extrinsic/culprit_controller.go
@@ -1,6 +1,9 @@
package extrinsic
import (
+ "bytes"
+ "sort"
+
store "github.com/New-JAMne... | 3 | 3 | 3 | [{"id": "G0", "claim": "The VerdictController's representation of V does not match GP (10.11)(10.12), which defines V as a sequence of tuples (work report, sum of votes).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In JudgeVerdictStates, in the graypa... | null |
New-JAMneration__JAM-Protocol__181 | New-JAMneration/JAM-Protocol | 181 | defect | c221b30c088f6d5aad87d80e2223ba57e405d837 | d0d8a2689716d0afa50e3d1d9b019ca717ca870f | 81 feat 67 614 | 
- Read validators from `fake_validators.json` (jamtestnet)
- Use Rust-VRF package to get commitment
- Set the result into global state | diff --git a/internal/input/validator/fake_validators.json b/internal/input/validator/fake_validators.json
new file mode 100644
index 00000000..299f9e13
--- /dev/null
+++ b/internal/input/validator/fake_validators.json
@@ -0,0 +1,50 @@
+[
+ {
+ "bandersnatch": "0x5e465beb01dbafe160ce8216047f2155dd0569f058afd52dcea6... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pending/upcoming validator processing (around safrole.go line 49) needs its sorting checked â YCC3741 asks 'sorting?' on the UpdatePendingValidators hunk and 'check the sorting part'.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1"... | null |
New-JAMneration__JAM-Protocol__184 | New-JAMneration/JAM-Protocol | 184 | defect | 506710cc9218647250ace44b635c62a66e6ba7be | 434c8ea1b71b9b33bca66bf234a0cff88eb265d1 | 117 feat 615 617 621 624 | 


| diff --git a/internal/input/validator/fake_validators.json b/internal/input/validator/fake_validators.json
new file mode 100644
index 00000000..299f9e13
--- /dev/null
+++ b/internal/input/validator/fake_validators.json
@@ -0,0 +1,50 @@
+[
+ {
+ "bandersnatch": "0x5e465beb01dbafe160ce8216047f2155dd0569f058afd52dcea6... | 4 | 4 | 4 | [{"id": "G0", "claim": "SealingByTickets should read gamma_s from the posterior state rather than the prior state.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ticket index (ir) should be computed by following the cycle-symbol definition in gr... | null |
New-JAMneration__JAM-Protocol__191 | New-JAMneration/JAM-Protocol | 191 | defect | f59b0901d6d52fdcd4916bde316aa2423c7fb534 | 95cd34bee2fc9a2590b8df8b18c3a8edc1980048 | feat: add guarantor_assignments 11.18 - 11.22 | resolve: https://github.com/New-JAMneration/JAM-Protocol/issues/179 | diff --git a/internal/extrinsic/guarantor_assignments.go b/internal/extrinsic/guarantor_assignments.go
new file mode 100644
index 000000000..53b849b30
--- /dev/null
+++ b/internal/extrinsic/guarantor_assignments.go
@@ -0,0 +1,53 @@
+package extrinsic
+
+import (
+ "github.com/New-JAMneration/JAM-Protocol/internal/types... | 3 | 3 | 3 | [{"id": "G0", "claim": "The V, C, E, R constants hardcoded in guarantor_assignments.go are already defined in internal/types/const.go, so the code should use those constants and support the different configurations to choose from rather than hardcoding one set.", "category": "design", "verdict": "supported", "priority"... | null |
New-JAMneration__JAM-Protocol__219 | New-JAMneration/JAM-Protocol | 219 | defect | 79884a590464473db783900b7b9e02afe458941b | 55925faee93f91726e823f27b582585ecaa36683 | feat: 192 feat chapter 9 | 


.GetPriorStates().GetDelta() instead of reaching through GetPriorStates().GetState().Delta.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
New-JAMneration__JAM-Protocol__23 | New-JAMneration/JAM-Protocol | 23 | defect | 318d437af434c10264a06a194fbe72c8e65f17fb | 91ab14f101719f3aa05f3a1611f81ab236504631 | feat: Create extrinsic preimage struct | 12.4 Preimage Integration

- (12.28), Define the content of extrinsic preimage
- (12.29), Sort and without duplicates | diff --git a/internal/extrinsic/extrinsic.go b/internal/extrinsic/extrinsic.go
new file mode 100644
index 00000000..c31c5979
--- /dev/null
+++ b/internal/extrinsic/extrinsic.go
@@ -0,0 +1,5 @@
+package extrinsic
+
+type Extrinsic struct {
+ Preimages Preimages
+}
diff --git a/internal/extrinsic/preimage.go b/internal/e... | 2 | 2 | 2 | [{"id": "G0", "claim": "The Preimages implementation needs the part that deletes duplicate preimages to be implemented.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code needs to deal with the case of an empty list.", "category": "correctness"... | null |
New-JAMneration__JAM-Protocol__248 | New-JAMneration/JAM-Protocol | 248 | defect | 2f85c8d1552305b48911748e6cf92c61a88de880 | 9cc873e508d10cba3ebac11bf2ba077c84ef3669 | feat: Implement signed/unsigned transitions | 
| diff --git a/PolkaVM/signed_unsigned_transitions.go b/PolkaVM/signed_unsigned_transitions.go
new file mode 100644
index 00000000..91ff97ea
--- /dev/null
+++ b/PolkaVM/signed_unsigned_transitions.go
@@ -0,0 +1,113 @@
+package PolkaVM
+
+import "fmt"
+
+// graypaper 0.6.1
+
+// A.10
+// UnsignedToSigned converts an unsig... | 7 | 4 | 1 | [{"id": "G0", "claim": "Add an extra named variable (and a blank line) to the range check in UnsignedToBits and the length check in BitsToUnsigned so they align in style with the functions above.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.