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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
alpacahq__alpaca-trade-api-go__328 | alpacahq/alpaca-trade-api-go | 328 | defect | 4848ae588b13967019c38bc6f985b22719e7aef5 | 85c0d763c2a5fd7183ba8c2e169414c100033254 | Make PositionIntent optional in PlaceOrderRequest | The field `PositionIntent` was introduced in https://github.com/alpacahq/alpaca-trade-api-go/pull/294 as mandatory field, should've been optional
Fixes https://github.com/alpacahq/alpaca-trade-api-go/issues/327 | diff --git a/alpaca/rest.go b/alpaca/rest.go
index 688677d5..e1699670 100644
--- a/alpaca/rest.go
+++ b/alpaca/rest.go
@@ -558,7 +558,7 @@ type PlaceOrderRequest struct {
StopLoss *StopLoss `json:"stop_loss"`
TrailPrice *decimal.Decimal `json:"trail_price"`
TrailPercent *decimal.Decimal `json:"... | 2 | 2 | 2 | [{"id": "G0", "claim": "Revert PositionIntent to the non-pointer string type with an \"omitempty\" json tag instead of *PositionIntent, since missing and empty need not be distinguished and the pointer form is backward incompatible and inconvenient.", "category": "design", "verdict": "supported", "priority": "P1", "sco... | null |
alpacahq__alpaca-trade-api-python__189 | alpacahq/alpaca-trade-api-python | 189 | defect | 3c438bbadeb9a478e293ea26cf146ebbd278ae3c | d11f226b8415753b597d1ceb9de6fd5345a0e6c4 | Simplify stream | Now the caller needs to choose polygon explicitly, with the new data
streaming coming up | diff --git a/alpaca_trade_api/stream2.py b/alpaca_trade_api/stream2.py
index dd424eb1..8c563714 100644
--- a/alpaca_trade_api/stream2.py
+++ b/alpaca_trade_api/stream2.py
@@ -87,6 +87,8 @@ async def _ensure_ws(self):
raise ConnectionError("Max Retries Exceeded")
async def subscribe(self, channels):
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The alpacadatav1 branch should not keep the legacy 'polyfeed/' (RC) prefix in _data_prefixes, and now that data_stream is an explicit argument the prefixes should just be the same as polygon's instead of a separate list.", "category": "design", "verdict": "supported", "priority": "P2", "scope": ... | null |
alpacahq__alpaca-trade-api-python__235 | alpacahq/alpaca-trade-api-python | 235 | defect | 3f741d8a901336ddb4a22aba1ab4627ddbc29b80 | 37d34434b2b6da66ee7eafc4ed3f7a0cc5e52ac3 | validate stop/limit prices before passed to the server | we could pass stop/limit prices as floats or as string float to the api
when you add this flexibility, you may cause errors by wrong usage
e.g we could pass "a" and the request will go to the server but the result will be bad
by adding this, we will raise an exception before the request leaves the user's code
allow... | diff --git a/alpaca_trade_api/common.py b/alpaca_trade_api/common.py
index 1ee27307..3e9db9fa 100644
--- a/alpaca_trade_api/common.py
+++ b/alpaca_trade_api/common.py
@@ -41,6 +41,26 @@ def __new__(cls, value):
return str.__new__(cls, value)
+class FLOAT(str):
+ """
+ api allows passing floats or flo... | 2 | 1 | 1 | [{"id": "G0", "claim": "The redundant `if isinstance(float(value), float)` check inside the elif branch in FLOAT.__new__ is pointless since the float() call would raise an exception anyway — remove the redundant conditional.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced... | null |
alpacahq__alpaca-trade-api-python__494 | alpacahq/alpaca-trade-api-python | 494 | defect | 0d5f4343eb8483c6b56b26e4f408a9c08d70226b | 2b39eafc73bfd69f8739c16cd82640b5fde20bd4 | Feature: Custom TimeRanges | Fixes #492.
Introduces the ability to create custom timeranges for API Client consumers. Validates that the timeranges created are valid all of the time, so at no point an invalid request can be sent. | diff --git a/README.md b/README.md
index a680bf2c..eba4bac1 100644
--- a/README.md
+++ b/README.md
@@ -118,6 +118,40 @@ for bar in bar_iter:
process_bar(bar)
```
+Alternatively, you can decide on your custom timeframes by using the TimeFrame constructor:
+
+```py
+from alpaca_trade_api.rest import REST, TimeFra... | 1 | 1 | 1 | [{"id": "G0", "claim": "The alpaca API does not support second bars, so the Second unit this PR adds to TimeFrameUnit should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alpacahq__alpaca-trade-api-python__555 | alpacahq/alpaca-trade-api-python | 555 | defect | 3d905f6f6903dd65ec4b14ee01147293206bdb6d | b044b8c829ad4a9636cabab7c5695d4e018fb31d | Add news api | ## Context
Added support for news api, both stream and historical endpoint
## TODO
- ~Add tests~ (done) | diff --git a/alpaca_trade_api/entity_v2.py b/alpaca_trade_api/entity_v2.py
index 9ae022d0..7af8590a 100644
--- a/alpaca_trade_api/entity_v2.py
+++ b/alpaca_trade_api/entity_v2.py
@@ -87,6 +87,19 @@
"t": "timestamp",
}
+news_mapping_v2 = {
+ "id": "id",
+ "headline": "headline",
+ "summary": "summary",
... | 8 | 8 | 3 | [{"id": "G0", "claim": "The news_mapping_v2 mapping doesn't actually change anything, so it is pointless and NewsV2 could just use the original dict.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "get_news should call get_news_iter using keyword... | null |
alpenlabs__alpen__1133 | alpenlabs/alpen | 1,133 | defect | 5121bb5ebcc4abd4149695a717b622bbcf3bf5f0 | 85a5dcd3ecca5c71e380680312507c877ec7c646 | contrib: add lint-check-style directive with With script | ## Description
This adds a new `just lint-check-style` directive for custom code style-checking scripts that other general-purpose tools can't capture. Initially, this just runs a script that checks for vague type names that use the term "with" to just describe what they're composed of instead of what the meaning o... | diff --git a/.justfile b/.justfile
index faa602258d..45db920dba 100644
--- a/.justfile
+++ b/.justfile
@@ -1,3 +1,6 @@
+# Set shell to bash for better compatibility
+set shell := ["bash", "-c"]
+
# Variables
git_tag := `git describe --tags --abbrev=0 2>/dev/null || echo "no-tag"`
build_path := "target"
@@ -278,6 +28... | 5 | 2 | 1 | [{"id": "G0", "claim": "contrib/find_with_structs.sh should use `#!/usr/bin/env bash` instead of `#!/bin/bash` as its shebang so it works on Nix systems.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The section headers in contrib/with_style_te... | null |
alpenlabs__alpen__1322 | alpenlabs/alpen | 1,322 | defect | de6594225c737b8272c93fcebbb2b4df4b078a42 | 0f032f8eafc4f91874ece88e00c160a1e4d0ae3d | fix: use proptest for `ol_state` db tests | ## Description
Fix tests for `ol_state` db to use proptest strategies.
### Type of Change
<!--
Select the type of change your PR introduces (put an `x` in all that apply):
-->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature/Enhancement (non-breaking change which adds functional... | diff --git a/Cargo.lock b/Cargo.lock
index 4454c465eb..068c2ef10d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -14945,6 +14945,7 @@ dependencies = [
name = "strata-ol-state-types"
version = "0.1.0"
dependencies = [
+ "arbitrary",
"bitcoin",
"proptest",
"ssz",
diff --git a/crates/db/store-sled/Cargo.toml b/crate... | 2 | 2 | 2 | [{"id": "G0", "claim": "The preseal state does not need its own DB schema since it is still just an OLState; the existing OL state schema with more sophisticated keys should be used instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Persisting prese... | null |
alpenlabs__alpen__1338 | alpenlabs/alpen | 1,338 | defect | 24b9d6fcc65a9c34e2f523d330f01937766ff0ba | 1c40fcb48c2f664031281c553ccb371281e9b663 | refactor(btcio): add L1 block info to tx status and decouple from strata-params | ## Description
- Add `block_hash` and `block_height` fields to `L1TxStatus::Confirmed` and `L1TxStatus::Finalized` variants to provide L1 block context for transaction status tracking
- Decouple btcio from `strata-params` by introducing `BtcioParams` struct containing only the parameters btcio needs (`l1_reorg_safe... | diff --git a/Cargo.lock b/Cargo.lock
index e954840f15..df2ec57cc8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -14096,7 +14096,6 @@ dependencies = [
"strata-identifiers",
"strata-l1-envelope-fmt",
"strata-l1-txfmt",
- "strata-params",
"strata-primitives",
"strata-state",
"strata-status",
@@ -14104,7 +14103,6... | 3 | 2 | 1 | [{"id": "G0", "claim": "The helper params_to_btcio_params can take RollupParams directly as its argument instead of &Params, since it only uses params.rollup().", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The design of a separate btcio parameter shoul... | null |
alpenlabs__alpen__1355 | alpenlabs/alpen | 1,355 | defect | 64c356eaccd22e5d9a89adf15525ffc2e7e75cce | 95f501a05e5fd864819890f0134d73b7e50122cd | feat(asm-admin): relax admin seqno to monotonically increasing | ## Description
<!--
Provide a brief summary of the changes and the motivation behind them.
-->
- **Relax admin sequence number validation** from strictly sequential (`seqno == expected`) to monotonically increasing (`seqno > last_seqno`). This allows admin transactions to be submitted with any sequence number gre... | diff --git a/crates/asm/subprotocols/admin/src/authority.rs b/crates/asm/subprotocols/admin/src/authority.rs
index 711e8a0166..0897f4d219 100644
--- a/crates/asm/subprotocols/admin/src/authority.rs
+++ b/crates/asm/subprotocols/admin/src/authority.rs
@@ -1,10 +1,10 @@
use borsh::{BorshDeserialize, BorshSerialize};
-us... | 9 | 6 | 1 | [{"id": "G0", "claim": "The relaxed check only requires payload.seqno > last_seqno, so sequence numbers can jump without bound; a maximum gap (say 10) should be enforced and covered by tests.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The replay test... | null |
alpenlabs__alpen__1356 | alpenlabs/alpen | 1,356 | defect | e8c8525258364c213b7478b7ed091ad2a50916e9 | 8b437272ea8263d3b116bc7b3328cb1f3e0788e0 | STR-2218: WriteTrackingState returns Err(AcctError::Unsupported) for compute_state_root() | ## Description
`chain-worker-new` verifies blocks through an `IndexerState<WriteTrackingState<&OLState>>` stack, but `WriteTrackingState::compute_state_root()` returns `Err(AcctError::Unsupported)` because it holds an immutable reference plus a write batch — the batch hasn't been applied to the base state.
### Co... | diff --git a/Cargo.lock b/Cargo.lock
index ca457d0fb5..2c98c775a4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15187,6 +15187,7 @@ dependencies = [
"strata-ol-chain-types-new",
"strata-ol-da",
"strata-ol-msg-types",
+ "strata-ol-state-support-types",
"strata-ol-state-types",
"strata-predicate",
"strata-snar... | 6 | 1 | 1 | [{"id": "G0", "claim": "The pull request should not remove the '// Execute using new OL STF' comment in ChainWorkerServiceState.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The '// TODO implement with new SSZ state summary type' comment in Batc... | null |
alpenlabs__alpen__1518 | alpenlabs/alpen | 1,518 | defect | 430632a8aa405ad3919960ef951ac72f279d9878 | 640413ab623518d0c9d0e25b8933445aa81d5fe6 | STR 2431 Enforce `MAX_LOGS_PER_BLOCK` during OL STF and block assembly | ## Description
The SSZ-defined `MAX_LOGS_PER_BLOCK` (4096) existed in chain-types but was
never enforced at runtime. Log collection used unbounded `Vec<OLLog>` in all
paths.
### Changes
**Primitives** (`ol/chain-types`, `ol/stf`)
- Re-export `MAX_LOGS_PER_BLOCK` from `strata_ol_chain_types_new`
- Add `Exec... | diff --git a/Cargo.lock b/Cargo.lock
index 5130c1913e..4b44a13c33 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15171,15 +15171,18 @@ dependencies = [
"strata-asm-common",
"strata-asm-manifest-types",
"strata-btc-verification",
+ "strata-codec",
"strata-config",
"strata-crypto",
"strata-db-store-sled",
"st... | 6 | 6 | 1 | [{"id": "G0", "claim": "The debug! log emitted when a tx emits more logs than the per-block cap should probably be `warn!` instead.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The debug! log for a successful tx execution in block assembly should be `t... | null |
alpenlabs__alpen__304 | alpenlabs/alpen | 304 | defect | 588e47d67187743585dba652d5ea9e3c22cff926 | c546601768f9bf519edd59ebb2cea044fac13388 | STR-393 fix bridge in amount to equal deposit denomination | ## Description
<!--
Provide a brief summary of the changes and the motivation behind them.
-->
This PR:
* changes the bridge-in amount (the value of the UTXO in the bridge address) to equal the `BRIDGE_DENOMINATION` (currently set to 10 BTC)
* sets the `OP_RETURN` script to have a value of 0 BTC.
* logs th... | diff --git a/crates/bridge-tx-builder/src/constants.rs b/crates/bridge-tx-builder/src/constants.rs
index 732929eaa7..a8286a64fa 100644
--- a/crates/bridge-tx-builder/src/constants.rs
+++ b/crates/bridge-tx-builder/src/constants.rs
@@ -3,20 +3,23 @@
use std::str::FromStr;
use alpen_express_primitives::l1::BitcoinAmo... | 4 | 4 | 1 | [{"id": "G0", "claim": "The constants in constants.rs should be converted to non-const (configurable) values, especially since they are used across multiple modules.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There should probably be utilities to com... | null |
alpenlabs__alpen__330 | alpenlabs/alpen | 330 | defect | 560aa5bc31dbc68a866097ba5f843355247850e7 | a3029827977fe84f09924cf07de7dc61d0deea12 | feat(rpc): extend `getBridgeDuties` to return withdrawal duties | ## Description
<!--
Provide a brief summary of the changes and the motivation behind them.
-->
This PR:
* extends the `getBridgeDuties` RPC to return withdrawal duties from the chain state.
* updates states to use `BitcoinAmount` instead of `u64`.
* removes redundant `DepositState` from `primitives` in fav... | diff --git a/crates/bridge-tx-builder/src/withdrawal.rs b/crates/bridge-tx-builder/src/withdrawal.rs
index 2e243b60e7..84f232305d 100644
--- a/crates/bridge-tx-builder/src/withdrawal.rs
+++ b/crates/bridge-tx-builder/src/withdrawal.rs
@@ -1,7 +1,7 @@
//! Provides types/traits associated with the withdrawal process.
... | 5 | 2 | 1 | [{"id": "G0", "claim": "The `BitcoinBlockHeight` alias should arguably be `u32`, matching bitcoin's `absolute::Height`, instead of `u64`.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "What happens if the bridge does not process the withdrawal before `exec... | null |
alpenlabs__alpen__342 | alpenlabs/alpen | 342 | defect | e5b0753db31245231c82b8a7dea2b488ff38ace4 | b1c96bedf964e2985f2c12c96456b7a78b8c2709 | STR-440 OpenTelemetry tracing exporter | ## Description
This PR is to support the OpenTelemetry exporter so we can have richer logging from our production environment.
### Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one... | diff --git a/Cargo.lock b/Cargo.lock
index 88902f85e8..e33a3e7e6c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5184,6 +5184,19 @@ dependencies = [
"webpki-roots 0.26.3",
]
+[[package]]
+name = "hyper-timeout"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3203a961... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request does not compile because of conflicting versions of Tokio and the various OTLP crates.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Running the client in the local test env with a URL to the local Jaeger in... | null |
alpenlabs__alpen__364 | alpenlabs/alpen | 364 | defect | 9a5db7c03aa7d68d597d9ff1b8b07625473440b6 | 5af842c02de9b8feb64e566eec2488e52542af2a | feat(cl-agg): generate l2 blocks using el witness data and fix consistency validation | ## Description
<!--
Provide a brief summary of the changes and the motivation behind them.
-->
This PR addresses a previously failing test that had been commented out in CL Guest Agg. The root cause was identified as improper input data. The test has now been fixed by generating the correct input, ensuring the ... | diff --git a/Cargo.lock b/Cargo.lock
index 3e5eedc1a3..340244940d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -13366,11 +13366,16 @@ dependencies = [
"hex",
"musig2",
"rand 0.8.5",
+ "revm",
"rockbound",
+ "serde_json",
"strata-btcio",
+ "strata-chaintsn",
"strata-consensus-logic",
"strata-db",
"strata-... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test-util containers in evm_ee.rs (whose \"segment\" naming the reviewer found unhelpfully generic) need more documentation explaining what they do and how they should be used.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alpenlabs__alpen__444 | alpenlabs/alpen | 444 | defect | e9e2ba72e81719d3453b9c406020a362b295a457 | f19270054cdb210f089ef2c21d90fa18cfd52699 | Optimize SP1 Prover Build Time by Caching Proving and Verifying Keys | ## Description
<!--
Provide a brief summary of the changes and the motivation behind them.
-->
This PR introduces a caching mechanism for the proving and verifying keys in the SP1 prover build process. By caching these keys and checking for changes to the ELF file, we can avoid recalculating the keys on every b... | diff --git a/.gitignore b/.gitignore
index 4b6d5f07e0..2888bafdd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -256,6 +256,11 @@ seq_key.bin
provers/**/vks.rs
# Prover generated files
+provers/**/*.elf
+provers/**/*.pk
+provers/**/*.vk
+provers/**/*.id
+
proving_keys/
provers/test-util/el/el_proofs/
provers/test-... | 3 | 1 | 0 | [{"id": "G0", "claim": "The build script's file-write and cache-setup failures should perhaps be handled gracefully rather than crashing the build with panics.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "get_output_dir should fall back to a hard-coded O... | null |
alpenlabs__alpen__524 | alpenlabs/alpen | 524 | defect | b5f84a04fe1f45503cb70da076e93abe3fc31554 | a001e5c772b198151d0492f1f2b1c51253d0488c | STR-687: improve NUMS unspendable public key | ## Description
<!--
Provide a brief summary of the changes and the motivation behind them.
-->
The codebase currently uses a nonstandard instance of a [BIP-341](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki) method for producing unspendable public keys. It does so by applying an arbitrary offse... | diff --git a/Cargo.lock b/Cargo.lock
index 5166f0b9f3..c7858df5e9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -12845,7 +12845,6 @@ name = "strata-bridge-tx-builder"
version = "0.1.0"
dependencies = [
"bitcoin",
- "lazy_static",
"musig2",
"serde",
"strata-primitives",
@@ -12935,6 +12934,7 @@ dependencies = [
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The rewritten doc comment on operations.rs line 70 references [`static@UNSPENDABLE_INTERNAL_KEY`], which no longer resolves, so `cargo doc` fails with `rustdoc::broken_intra_doc_links` under `-D warnings`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduce... | null |
alpenlabs__alpen__551 | alpenlabs/alpen | 551 | defect | f3562014bee9d11548f88c6c1ea5509b590e5df0 | 012b80730254ed4185d50390198016f783a8694a | BitVM2: bump rust nightly | ## Description
Same version as `main`.
### Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one)
- [ ] Breaking change (fix or feature that would cause existing functionality to not wo... | diff --git a/bin/strata-cli/src/recovery.rs b/bin/strata-cli/src/recovery.rs
index 2cf301344b..9a5d973a17 100644
--- a/bin/strata-cli/src/recovery.rs
+++ b/bin/strata-cli/src/recovery.rs
@@ -49,9 +49,9 @@ impl DescriptorRecovery {
.map(|(pubk, privk)| [pubk.to_string(), privk.to_string()])
.ma... | 2 | 1 | 0 | [{"id": "G0", "claim": "The 17 `#[allow(dead_code)] // #FIXME: remove this.` attributes this pull request adds (in crates/state/src/bridge_state.rs, crates/storage/src/cache.rs, crates/storage/src/exec.rs, crates/tasks/src/pending_tasks.rs and the provers/sp1/tests/helpers files) should be replaced with `#[expect(dead_... | null |
alpenlabs__alpen__977 | alpenlabs/alpen | 977 | defect | 3339f7fc7ef2dd48456e4693a05dbc3c131e3503 | 0b595e16531bad01c6e2676fc4ff138aa2ba098a | STR-1635 Service framework | ## Description
This PR adds a new crate for a service framework library as laid out in the ticket. This does not include the integration to adapt existing services to use the new framework.
### Type of Change
<!--
Select the type of change your PR introduces (put an `x` in all that apply):
-->
- [ ] Bug ... | diff --git a/Cargo.lock b/Cargo.lock
index 86d42232ee..0684ef080e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -39,9 +39,9 @@ dependencies = [
[[package]]
name = "adler2"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4... | 8 | 4 | 1 | [{"id": "G0", "claim": "The `Service` type should not require specifying the input (handle) type, only the message type, which would require changing a few minor things but would improve the ergonomics especially for testing.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
alphagov__accessible-autocomplete__111 | alphagov/accessible-autocomplete | 111 | defect | 04654f35ab4685ab7b119e7f8229cee728f06273 | 28f34e1458058bd9036b01999cb1f9a31414b5a5 | Better errors | Throw more errors when required arguments are not passed into `accessibleTypeahead` or `enhanceSelectElement`.
Slightly update the README based on feedback from @nickcolley. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4329deec..6635de3e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,8 @@
_(add items here for easier creation of next log entry)_
- Default `defaultValue` when progressively enhancing.
+- Throw an error when `enhanceSelectElement` is called without a `selectElem... | 1 | 1 | 0 | [{"id": "G0", "claim": "The README's example `suggest` function should split the populateResults call into two lines, assigning the filter result to a `filteredResults` variable first.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alphagov__accessible-autocomplete__182 | alphagov/accessible-autocomplete | 182 | defect | e97f9530a9b2c89efc9317b021d54b4bec4ad2fc | cb61e02ce8ac23c09a3503bff50ead8a35ac5f81 | Use innerText, not innerHTML, for select reading | Using innerHTML meant e.g. `&` was being shown as `&` in selected items. It also meant you couldn't search for e.g. `&` then space, you had to search for `&`. Switch to `textContent || innerText` (though I only put innerText in the commit message, who knows why).
Fixes #151. | diff --git a/src/wrapper.js b/src/wrapper.js
index db11bc7a..3de6a267 100644
--- a/src/wrapper.js
+++ b/src/wrapper.js
@@ -22,15 +22,16 @@ accessibleAutocomplete.enhanceSelectElement = (opts) => {
// Set defaults.
if (!opts.source) {
let availableOptions = [].filter.call(opts.selectElement.options, o => (o.v... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test should be added to the wrapper.js functional tests, by updating DEFAULT_OPTIONS to include HTML entities in a country name and asserting the new behaviour around lines 224-236 of test/functional/wrapper.js.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
alphagov__pay-publicapi__1481 | alphagov/pay-publicapi | 1,481 | defect | f9760e62e9712d2d8b9d031fb9de5df56e55e031 | c151d0334f43d94336b68060a9592be6e2aa10a8 | PP-9587: Map account disabled error from Connector for refunds | * New CreateChargeException mapping
* New pact test
* Uses same message and error code as used for create payment request when account is disabled | diff --git a/src/main/java/uk/gov/pay/api/exception/mapper/CreateChargeExceptionMapper.java b/src/main/java/uk/gov/pay/api/exception/mapper/CreateChargeExceptionMapper.java
index 878c64171..117ee34c8 100644
--- a/src/main/java/uk/gov/pay/api/exception/mapper/CreateChargeExceptionMapper.java
+++ b/src/main/java/uk/gov/p... | 3 | 3 | 0 | [{"id": "G0", "claim": "The copied-over import block in CreateRefundExceptionMapperTest contains unused imports that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pact interaction description was copied unchanged and shou... | null |
alphagov__pay-publicapi__1513 | alphagov/pay-publicapi | 1,513 | defect | 4a2973a5a72f1661a7b51f938a24bfe83f904eb4 | dfc63e162f7206590c052f89ebe8997ce9979592 | PP-9545 Add get agreement from ledger | * updates current agreement model to clarify that it is just the
`ConnectorCreateAgreementResponse` serialiser that gets us the
agreement ID
* adds Ledger methods to get an agreement
* fixtures and builders for future pacts and current IT | diff --git a/src/main/java/uk/gov/pay/api/agreement/model/Agreement.java b/src/main/java/uk/gov/pay/api/agreement/model/Agreement.java
index b319c3938..ce82ec15c 100644
--- a/src/main/java/uk/gov/pay/api/agreement/model/Agreement.java
+++ b/src/main/java/uk/gov/pay/api/agreement/model/Agreement.java
@@ -1,25 +1,83 @@
... | 3 | 2 | 1 | [{"id": "G0", "claim": "Reviewer asks why the assertion on the `reference` field was removed from the shouldCreateAgreement test.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new constant `AGREEEMNTS_PATH` is misspelled and should read `AGREEMENTS... | null |
alphagov__pay-publicapi__1516 | alphagov/pay-publicapi | 1,516 | defect | 2cfe854dbcdb97baf0086dd43088806ee8999470 | 6aaf7ae9f3c6d1782dafefb13eec0781e0f1bdb0 | PP-9675 implement validation of dispute search params | ## WHAT YOU DID
- implement validating search params for disputes searches
- add test
| diff --git a/src/main/java/uk/gov/pay/api/exception/DisputesValidationException.java b/src/main/java/uk/gov/pay/api/exception/DisputesValidationException.java
new file mode 100644
index 000000000..5c793ec5e
--- /dev/null
+++ b/src/main/java/uk/gov/pay/api/exception/DisputesValidationException.java
@@ -0,0 +1,23 @@
+pac... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new SEARCH_DISPUTES_VALIDATION_ERROR enum value should be placed next to the other error that uses code P0401 so the multiple-use case is easier to see, or the existing P0401 enum value should be reused (possibly renamed to be more generic) since the message is the same.", "category": "maint... | null |
alphagov__pay-publicapi__1519 | alphagov/pay-publicapi | 1,519 | defect | 9d152353f4f0c0e473f56fc350e8b244f781096b | 02bcabb01d720126c59b5f70dbea9971e7b8647d | PP-9545 Make TransactionSearchResults generic | Transmogrify `TransactionSearchResults` into `SearchResults<E>` so we can use it for other kinds of search results.
with @sfount | diff --git a/src/main/java/uk/gov/pay/api/ledger/model/TransactionSearchResults.java b/src/main/java/uk/gov/pay/api/ledger/model/SearchResults.java
similarity index 70%
rename from src/main/java/uk/gov/pay/api/ledger/model/TransactionSearchResults.java
rename to src/main/java/uk/gov/pay/api/ledger/model/SearchResults.j... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add the generic type parameter to the raw SearchResults return type of TransactionsResource.getTransactions (the compiler-warning case), in case the follow-up PR does not land until tomorrow.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
alphagov__pay-publicapi__1527 | alphagov/pay-publicapi | 1,527 | defect | bb1b1cd733c4ba4042ad04981775b5dbf5c5bc17 | 755a0be40286041d73e19259cbcf76ba20e4bbb6 | PP-9545 Add search agreements endpoint | Add `/v1/agreements` which maps to Ledger `/v1/api/agreement/`. Add search validator and basic coverage in line with other search endpoints.
with @sfount | diff --git a/src/main/java/uk/gov/pay/api/agreement/resource/AgreementsApiResource.java b/src/main/java/uk/gov/pay/api/agreement/resource/AgreementsApiResource.java
index 4c7455c06..2d940f6cc 100644
--- a/src/main/java/uk/gov/pay/api/agreement/resource/AgreementsApiResource.java
+++ b/src/main/java/uk/gov/pay/api/agree... | 4 | 3 | 1 | [{"id": "G0", "claim": "Add optional query parameters such as page number and status to the search agreements integration test so it can assert they are propagated from the resource call through to the wiremock ledger request.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
alphagov__pay-publicapi__1599 | alphagov/pay-publicapi | 1,599 | defect | 9db225db120ac20de3cf659b215ef779984868ce | c7f3786a1998586475636a86231f7d1a732fc686 | PP-10004 M1 support for integration tests | ## WHAT YOU DID
- updated int tests to use testcontainers over now EOL docker client
- changed redis version to match engine version in use on elasticache
- updated GHA to use correct redis image
- moved static method to utility class, this fixes a unit test failure in CI environments where no docker engine was a... | diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 703bee58f..152b328de 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -32,6 +32,6 @@ jobs:
key: ${{ runner.os }}-build-id-${{ github.head_ref }}-${{ github.sha }}-pacts
- name: Pul... | 1 | 1 | 0 | [{"id": "G0", "claim": "The hardcoded port 6379 should be replaced with the existing PORT constant in the RedisContainer helper (the logger line and getConnectionUrl).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alphagov__pay-publicapi__1632 | alphagov/pay-publicapi | 1,632 | defect | ea73c08c5c86fac3d04279de69946e4a59f4111d | a678fb53396f6e602903994058dccc95d4b2e3f9 | PP-10439 Handle 422 Recurring Payments Not Allowed response | Context: If connector receives a create agreement request from public_api for a gateway account that does not have recurring payments enabled, it will return a 422 response with the error_identifier RECURRING_CARD_PAYMENTS_NOT_ALLOWED
- Update CreateAgreementExceptionMapper to handle the 422 response from connector,... | diff --git a/pom.xml b/pom.xml
index 5a1802bf8..506aa4381 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
<hamcrest.version>2.2</hamcrest.version>
<jackson.version>2.14.1</jackson.version>
<logback.version>1.2.11</logback.version>
- <pay-java-commons.version>1.0.20221205115218</pa... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new 422 AgreementServiceTest asserts only that CreateAgreementException is thrown and not that the connector's error identifier is passed through as the similar CreatePaymentServiceTest tests do, though the reviewer suggests possibly leaving that assertion until the tests are converted to Pa... | null |
alphagov__pay-publicapi__1664 | alphagov/pay-publicapi | 1,664 | defect | 91d5a63cf1d1ba911e424c672aca06d2a005fc7d | a0211683df58ec42ef7f0910f90c515a5d3c4d86 | PP-10441 Return AgreementSearchResults when searching agreements | - previous updates to the openapi spec involved creating an AgreementSearchResults class purely
for the openapi spec
- update search agreements endpoint to return AgreementSearchResults instead of generic SearchResults
- correct naming and whitespace in AgreementSearchResults | diff --git a/openapi/publicapi_spec.json b/openapi/publicapi_spec.json
index 018bd7e67..c93eaca0f 100644
--- a/openapi/publicapi_spec.json
+++ b/openapi/publicapi_spec.json
@@ -1377,6 +1377,7 @@
},
"Agreement" : {
"type" : "object",
+ "description" : "Contains agreements matching your sear... | 1 | 1 | 1 | [{"id": "G0", "claim": "The description added to the Agreement schema in openapi/publicapi_spec.json (\"Contains agreements matching your search criteria.\") should not have crept in — the generator produced something strange, since the Java annotations are as expected.", "category": "documentation", "verdict": "suppor... | null |
alphagov__pay-publicapi__1702 | alphagov/pay-publicapi | 1,702 | defect | fef2b4879adc3a3585c11bf68c2db6d2fcbd9db6 | ad6a116fe9904066316a0073fc2bff5819aaa82d | PP-10713 implement idempotency key header violation | ## WHAT YOU DID
- implement checking the length of the Idempotency-Key header if present.
- refactor RequestError to include a `header` field
- refactor ViolationExceptionMapper to handle this violation
- add header param to PaymentsResource create payment
- add/update relevant tests
with @alexbishop1
| diff --git a/.secrets.baseline b/.secrets.baseline
index 6ea8ad5b3..c4be4fe73 100644
--- a/.secrets.baseline
+++ b/.secrets.baseline
@@ -136,7 +136,7 @@
"filename": "src/main/java/uk/gov/pay/api/resources/PaymentsResource.java",
"hashed_secret": "0ca33fee4444c18265ffce030b9e327b54f05ae0",
"is... | 2 | 1 | 0 | [{"id": "G0", "claim": "The wording of the added \"header\" error-field description in openapi/publicapi_spec.json should be double-checked with Nathan if not already done.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new factory method `aRe... | null |
alphagov__pay-publicapi__1729 | alphagov/pay-publicapi | 1,729 | defect | 4859933d8e9be3d482a764373b02812ffb9716ce | 2e7b399b28628d94bb4bf7e4f969d19a5717dc0c | PP-10982 add can_retry to external transaction state | ## WHAT YOU DID
- add canRetry to `PaymentState`
- implement including canRetry when getting/searching transactions (if applicable)
- add test
- BAU remove forgotten debug code (`.log().body()`)
| diff --git a/openapi/publicapi_spec.json b/openapi/publicapi_spec.json
index 2ce6db0ca..a17789186 100644
--- a/openapi/publicapi_spec.json
+++ b/openapi/publicapi_spec.json
@@ -665,7 +665,7 @@
"name" : "Idempotency-Key",
"schema" : {
"type" : "string",
- "pattern" : "^[a-zA... | 2 | 2 | 0 | [{"id": "G0", "claim": "Put backticks around can_retry, true and false in the can_retry description in openapi/publicapi_spec.json.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Apply the same backtick formatting to the can_retry description in t... | null |
alphagov__pay-publicapi__1752 | alphagov/pay-publicapi | 1,752 | defect | 9543d97d1337af06f28cca0f1385cddee1e19d6c | a97229d21e5afe0d8dc749e69a57cc0c47d8f27b | PP-10520 return cancelled date | ## WHAT YOU DID
- when getting a single agreement, return cancelled date if applicable
- when searching agreements, return cancelled date if applicable
| diff --git a/openapi/publicapi_spec.json b/openapi/publicapi_spec.json
index 7c0021555..a0f53757b 100644
--- a/openapi/publicapi_spec.json
+++ b/openapi/publicapi_spec.json
@@ -1393,6 +1393,16 @@
"description" : "The unique ID GOV.UK Pay automatically associated with this agreement when you created it.",
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The cancelled_by_user_email field description in the OpenAPI spec should be reworded to explain whose email it is and that it only appears when the agreement was cancelled through the GOV.UK Pay admin tool.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
alphagov__pay-publicapi__1767 | alphagov/pay-publicapi | 1,767 | defect | 00d9611ca744eb9927a1cbbed90ffd68b61d4b69 | 758b09682a7532e4c5569471181d8d6511554439 | PP-11121 get one agreement pact test | ## WHAT YOU DID
- get one agreement from ledger pact test | diff --git a/.secrets.baseline b/.secrets.baseline
index 36976f576..3a2fc1957 100644
--- a/.secrets.baseline
+++ b/.secrets.baseline
@@ -181,7 +181,16 @@
"is_verified": false,
"line_number": 25
}
+ ],
+ "src/test/resources/pacts/publicapi-ledger-get-one-agreement.json": [
+ {
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new pact test should go through `agreementService` like the existing test does, or, if not, the test class `AgreementServiceLedgerTest` should be renamed so it can be easily located.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alphagov__pay-publicapi__1771 | alphagov/pay-publicapi | 1,771 | defect | 9f07c4799eee5d96c9c2d534ad9423a8604526e6 | 1969a78c4ab9cced4778c0a0411d96f1a258234c | PP-11188 refactor agreement service | ## WHAT YOU DID
- combine all agreement related functions into AgreementService
- refactor AgreementsApiResource to use AgreementService only
- move relevant calls to ConnectorClient and LedgerClient
- update/rename relevant tests
with @james-peacock-gds
| diff --git a/src/main/java/uk/gov/pay/api/agreement/resource/AgreementsApiResource.java b/src/main/java/uk/gov/pay/api/agreement/resource/AgreementsApiResource.java
index 90a41e66b..95dc052b1 100644
--- a/src/main/java/uk/gov/pay/api/agreement/resource/AgreementsApiResource.java
+++ b/src/main/java/uk/gov/pay/api/agree... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should use one AgreementsService with a method for each agreement action instead of a separate service class per action.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alphagov__pay-publicapi__1793 | alphagov/pay-publicapi | 1,793 | defect | bc7b999775ad0d2d5b476eb367a31a9947704474 | 89b34ab55b50845ffb58bb186c81b2815e663e0f | bau: Test and PaymentWithAllLinks constructor cleanup | Removed JsonAssert usages in PaymentsResourceSearchIT as they weren't doing anything. Try adding the following in
`PaymentsResourceSearchIT.searchPayments_shouldOnlyReturnAllowedProperties` in the current master branch:
```
JsonAssert.with(responseBody).assertNotDefined("_links.refunds.href")
```
It should cause... | diff --git a/src/main/java/uk/gov/pay/api/model/links/PaymentWithAllLinks.java b/src/main/java/uk/gov/pay/api/model/links/PaymentWithAllLinks.java
index d8e89db82..2169b251f 100644
--- a/src/main/java/uk/gov/pay/api/model/links/PaymentWithAllLinks.java
+++ b/src/main/java/uk/gov/pay/api/model/links/PaymentWithAllLinks.... | 2 | 2 | 0 | [{"id": "G0", "claim": "The builder's setter methods should use the `with...` method prefix to be consistent with the builder pattern convention used in the organisation's repos.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The builder's termi... | null |
alphagov__pay-publicapi__1833 | alphagov/pay-publicapi | 1,833 | defect | 4d32470f48c10301ba2279543779862216911f89 | c34a9ce45fe614cc6d3b3c40afdf6fe3eac58a97 | PP-11511 surface `wallet_type` in charge responses | ## WHAT YOU DID
- renamed the `CardDetails` class to `CardDetailsFromResponse` to better distinguish between deserialising and serialising DTOs
- added new class `CardDetails` that surfaces `wallet_type` information when serialising reponses
- added new enum `Wallet`
- added new util for deserialising `wallet_typ... | diff --git a/openapi/publicapi_spec.json b/openapi/publicapi_spec.json
index 694282ab4..d472886ab 100644
--- a/openapi/publicapi_spec.json
+++ b/openapi/publicapi_spec.json
@@ -1549,6 +1549,12 @@
"type" : "string",
"example" : "1234",
"readOnly" : true
+ },
+ "wa... | 2 | 2 | 1 | [{"id": "G0", "claim": "CardDetails is used both for deserialising connector/ledger responses and for serialising the public API response, which is confusing; create a separate class representing the public API response with a constructor/factory method that accepts a CardDetails and the wallet type.", "category": "des... | null |
alphagov__pay-publicapi__1933 | alphagov/pay-publicapi | 1,933 | defect | 77bb1137f4873f1ad892440de473a89e578c1dbb | e8fd6f3004bd15250db2ebaa912948dff02555eb | PP-12175 upgrade Dropwizard to version 3 | ## WHAT YOU DID
- Upgrade Dropwizard to v3 latest.
- Use dropwizard-dependencies BOM, which removes the need to pull in some dependencies ourselves
| diff --git a/pom.xml b/pom.xml
index 05a3ef56d..2aa1485f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,18 +8,11 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <dropwizard.version>2.1.12</dropwizard.version>
- <guice.version>5.1.0</guice.version>
- <... | 1 | 1 | 0 | [{"id": "G0", "claim": "PaymentsResource.java needlessly swaps the javax.annotation.Nullable import for org.checkerframework.checker.nullness.qual.Nullable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alphagov__pay-publicapi__2078 | alphagov/pay-publicapi | 2,078 | defect | 715a5653a23de2575e1476670c9a03e06e840bbe | 51a6556fda48e5b30fc5aecf56f7b5501a337377 | PP-13201 implement AuthorisationSummary.ThreeDSecure not required | ## WHAT YOU DID
Only include authorisation summary in public API responses if 3D Secure was required.
- add a helper class that determines whether we need to include AuthorisationSummary to the return API call objects
| diff --git a/src/main/java/uk/gov/pay/api/model/Charge.java b/src/main/java/uk/gov/pay/api/model/Charge.java
index 2ab0a340f..5b3701034 100644
--- a/src/main/java/uk/gov/pay/api/model/Charge.java
+++ b/src/main/java/uk/gov/pay/api/model/Charge.java
@@ -119,7 +119,10 @@ public static Charge from(ChargeFromResponse charg... | 5 | 5 | 0 | [{"id": "G0", "claim": "The three-branch null/required logic for including an authorisation summary should be encapsulated in a helper method instead of being repeated inline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test name getPayme... | null |
alphagov__pay-publicapi__2202 | alphagov/pay-publicapi | 2,202 | defect | 0eb37edbcd0f67f75678f5503090e53eb0ca4e47 | 2614e65d396bae453c24aa6fcb370fbba0db4434 | PP-14054 Improve validation for some fields | With this change, we are improving the input validation for the reference and
description fields so that it matches the same validation currently in place
in SelfService.
### Logging
- [ ] ~~only emit log lines at ERROR level which require immediate attention from a support engineer. These will trigger a zendes... | diff --git a/src/main/java/uk/gov/pay/api/json/RequestJsonParser.java b/src/main/java/uk/gov/pay/api/json/RequestJsonParser.java
index 89d1ca10c..dce103680 100644
--- a/src/main/java/uk/gov/pay/api/json/RequestJsonParser.java
+++ b/src/main/java/uk/gov/pay/api/json/RequestJsonParser.java
@@ -68,6 +68,7 @@
class Requ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The illegal-character lookup should use an immutable Set<Character> (or a regular expression) rather than a public, mutable char[] array that other code could mutate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new... | null |
alphagov__pay-publicapi__2262 | alphagov/pay-publicapi | 2,262 | defect | 98cb91009af666bf41d7be8525fcf7044d99b543 | 1ae705e2b032d6f9fc7ac3552ed7f4105d049a9e | PP-14410 Accepts and validates property containing recurring payment … | ## WHAT YOU DID
When a new create card payment request has been initiated we need a new property called `agreement_payment_type` which can have a value of `instalment`, `recurring` or `unscheduled`.
## How to test
- What feedback do you need?
Not sure if there are adequate tests (outside of `RequestJsonParser... | diff --git a/.secrets.baseline b/.secrets.baseline
index 12eceb6f3..895192c7d 100644
--- a/.secrets.baseline
+++ b/.secrets.baseline
@@ -127,7 +127,7 @@
"filename": "src/main/java/uk/gov/pay/api/model/CreateCardPaymentRequest.java",
"hashed_secret": "0ca33fee4444c18265ffce030b9e327b54f05ae0",
... | 5 | 3 | 1 | [{"id": "G0", "claim": "The import of Agreement added to RequestJsonParser.java is unused.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add tests for the other classes it touches, since only RequestJsonParser is currently tested.... | null |
alpic-ai__skybridge__124 | alpic-ai/skybridge | 124 | defect | 186f9da0bdf1d25cdbc7241ec15bc5d5f8cb59ad | 7eec2ca5f91ca462fa975cb75e0dd257d6172081 | Inject host type ("chatgpt-app" or "mcp-app") depending on the resource used | Implements solution for https://github.com/alpic-ai/skybridge/issues/123
Goal of this PR:
- Inject host type ("apps-sdk" or "ext-apps") via Handlebars templates based on which resource URI is served. This is to prepare a unified bridge abstraction for Skybridge hooks.
The host type can now be accessed in widgets u... | diff --git a/src/server/server.ts b/src/server/server.ts
index 1658f965f..8d35839ff 100644
--- a/src/server/server.ts
+++ b/src/server/server.ts
@@ -65,6 +65,14 @@ type McpAppsResourceMeta = {
type ResourceMeta = OpenaiResourceMeta & McpAppsResourceMeta;
+type WidgetHost = "apps-sdk" | "ext-apps";
+
+type WidgetRe... | 1 | 1 | 0 | [{"id": "G0", "claim": "The inline \"apps-sdk\" | \"ext-apps\" union types should be extracted into a shared type, reusable with the web types as well.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alpic-ai__skybridge__583 | alpic-ai/skybridge | 583 | defect | 49d9ee4a63df921b755b534139e7ccb18f32a0d5 | bd13bebb57676097ba4723906e0908a64de7bc80 | feat: enable remote hmr | Vite HMR ran on a dedicated port (24678), separate from the Express server. This meant HMR only worked on the machine running the server: testing on a on any other device (mobile) had no hot reload.
Instead of Vite creating its own WebSocket server on a separate port, we share the http.Server instance that Express a... | diff --git a/docs/api-reference/cli.mdx b/docs/api-reference/cli.mdx
index e45a27977..bf5a1dfb0 100644
--- a/docs/api-reference/cli.mdx
+++ b/docs/api-reference/cli.mdx
@@ -29,7 +29,6 @@ skybridge dev
| Flag | Description |
|------|-------------|
| `-p, --port <number>` | Port to run the server on. Defaults to `3000... | 4 | 3 | 1 | [{"id": "G0", "claim": "The WebSocket variant is added to connectDomains unconditionally, even in production where there is no Vite HMR server; the old !isProduction guard should be preserved.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "httpServe... | null |
alpic-ai__skybridge__80 | alpic-ai/skybridge | 80 | defect | 7246b5b411c00f08be897467d0e08f3e242172b7 | 0bfb4dfd3becddc7383f2edfcf48e7eab14c5fa8 | Apply biome unsafe fixes | <!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
Applied Biome unsafe fixes across test and type definition files. Changes include:
- Removed unused imports from test files
- Prefixed unused variables with underscore (`_`) to silence warnings
- Changed string concatenation to template ... | diff --git a/src/test/widget.test.ts b/src/test/widget.test.ts
index 34ce4f3ec..225746a92 100644
--- a/src/test/widget.test.ts
+++ b/src/test/widget.test.ts
@@ -1,4 +1,3 @@
-import * as fs from "node:fs";
import {
afterEach,
beforeEach,
@@ -41,11 +40,11 @@ vi.mock("node:fs", async () => {
describe("McpServer.re... | 1 | 1 | 1 | [{"id": "G0", "claim": "The destructuring in beforeEach assigns `_mockRegisterTool` while `createMockMcpServer()` returns `mockRegisterTool`, so the mock tool spy is never assigned to the declared variable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alsuren__mijia-homie__111 | alsuren/mijia-homie | 111 | defect | 6a3fc75097082924ca93b40f081a4247d04f97b0 | 2d82f1f6178fe92421c1eac0f94e0aeb012137c7 | Integration test for homie-controller talking to homie-device. | Starts a device and a controller connected to the same MQTT broker, and ensures that the controller can discover the device as expected.
Fixes #52. | diff --git a/Cargo.lock b/Cargo.lock
index ecd3c4c8..02ad762e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15,6 +15,17 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+[[package]]
+name = "ahash"
+ver... | 7 | 4 | 0 | [{"id": "G0", "claim": "If port 10883 is already in use the integration test errors out, and the reviewer asks how many loops of `cargo test -- homie-controller/tests/integration.rs` can run before it does.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
alsuren__mijia-homie__190 | alsuren/mijia-homie | 190 | defect | b54ad9ca830d4740c3a2944ef02bab751d4feb53 | 29f7352b86041175684a482e1cdda905a3534991 | Handle reconnection better | Rather than relying on a persistent session to keep its subscriptions, the Homie controller should automatically re-subscribe after re-connection. This can be done by making the initial subscription in response to the MQTT `CONACK`. | diff --git a/homie-controller/CHANGELOG.md b/homie-controller/CHANGELOG.md
index 7c42a896..cb5ad395 100644
--- a/homie-controller/CHANGELOG.md
+++ b/homie-controller/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## Unreleased
+
+### Breaking changes
+
+- It is no longer necessary to call `HomieController::start`, it ha... | 4 | 2 | 1 | [{"id": "G0", "claim": "Removing the trace log of incoming events loses a useful log line.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "After a reconnection the controller does not resubscribe to the necessary topics for existing devices, becaus... | null |
alsuren__mijia-homie__231 | alsuren/mijia-homie | 231 | defect | e7e0229e7890371838c2b3795e99e7d5a82ee7fb | 2469230dab2b36f546ec9f54feb81783c410ab11 | controller: handle property values published before (fixes #227) | Alternative approach to #228.
Not sure how exactly the `Arc::make_mut` stuff works, I just followed the approach from the `devices` map.
I also don't really like the fact that I have to `format!` the lookup keys when handling `$properties` but I couldn't figure out how else to get tuples as keys working in this cas... | diff --git a/homie-controller/src/lib.rs b/homie-controller/src/lib.rs
index 3513103b..144a82f8 100644
--- a/homie-controller/src/lib.rs
+++ b/homie-controller/src/lib.rs
@@ -115,6 +115,7 @@ pub struct HomieController {
/// The set of Homie devices which have been discovered so far, keyed by their IDs.
// TOD... | 5 | 5 | 1 | [{"id": "G0", "claim": "early_property_values should not use the Mutex<Arc<_>>/Arc::make_mut dance (which exists only so devices() can hand out snapshots); a plain Mutex<HashMap> would do.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When populating a ... | null |
alteryx__featuretools__2019 | alteryx/featuretools | 2,019 | defect | fbbe39b7eadabd6959252d724468e40477b1b2b4 | 7bbed583c5a54cd60c94ee0b4e0c431d04c4a3c7 | Update primitive matching to consider all inputs | ### Update primitive matching to consider all inputs
Closes #1828
| diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 2c91ab0e04..fd841f62ac 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -7,6 +7,7 @@ Future Release
==============
* Enhancements
* Improve ``UnusedPrimitiveWarning`` with additional informat... | 2 | 2 | 0 | [{"id": "G0", "claim": "The input_types looping and coercion to a list of input types is repeated at every call site, and _get_matching_inputs should do the looping and coercion itself.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release ... | null |
alteryx__featuretools__2117 | alteryx/featuretools | 2,117 | defect | 56157760f138e0160564b63ecf74f9ea9c9411ab | 7ef2ad6ec5e11beadf39c7f983f774a1fa7a84d7 | Implementing More Datetime Primitives | Working on adding more datetime primitives:
- DaysInMonth (issue#2067)
- Quarter (issue#2066)
- IsLeapYear (issue#2066)
- IsQuarterEnd (issue#2065)
- IsQuarterStart (issue#2064) | diff --git a/docs/source/api_reference.rst b/docs/source/api_reference.rst
index 94db1a0cf7..cf448cdf6e 100644
--- a/docs/source/api_reference.rst
+++ b/docs/source/api_reference.rst
@@ -127,12 +127,17 @@ Datetime Transform Primitives
Second
Minute
Weekday
+ IsLeapYear
+ IsQuarterEnd
+ IsQuarter... | 3 | 2 | 0 | [{"id": "G0", "claim": "The five separate 'Implement X primitive' release-note entries should be consolidated into a single line listing all the new transform primitives, as in the attached suggestion.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
alteryx__featuretools__2121 | alteryx/featuretools | 2,121 | defect | f2caef073741e88fd0e497101679140e6c7aaa97 | 51df331b8470f2dcd30c8600c6c236a496775363 | Adding Month primitives | Adding the following primitives:
* IsMonthEnd (fixes #2063)
* IsMonthStart (fixes #2062) | diff --git a/docs/source/api_reference.rst b/docs/source/api_reference.rst
index 4d1b445072..8e283fb165 100644
--- a/docs/source/api_reference.rst
+++ b/docs/source/api_reference.rst
@@ -128,6 +128,8 @@ Datetime Transform Primitives
Minute
Weekday
IsLeapYear
+ IsMonthEnd
+ IsMonthStart
IsQuart... | 1 | 1 | 0 | [{"id": "G0", "claim": "The release-notes enhancements entry should be split across 2-3 lines rather than listing one primitive per line.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alteryx__featuretools__2123 | alteryx/featuretools | 2,123 | defect | f2caef073741e88fd0e497101679140e6c7aaa97 | 7d721b7901b77cfba43c1001c848557cb2e535bd | Adding new Quarter test cases | * Adds more detailed test cases for Quarter primitive
| diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index f24bbc48d2..685a5080ef 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -7,6 +7,7 @@ Future Release
==============
* Enhancements
* Add ``DayOfYear``, ``DaysInMonth``, ``Quarter`` , ``IsLeapY... | 1 | 1 | 0 | [{"id": "G0", "claim": "The release notes entry the PR adds should read \"Move ``Quarter`` test cases (:pr:)\" instead of the longer \"Move ``Quarter`` test cases from premium-primitives to Featuretools (:pr:)\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
alteryx__featuretools__2124 | alteryx/featuretools | 2,124 | defect | f2caef073741e88fd0e497101679140e6c7aaa97 | d8af577505d242eb757b22d4c99e631a2e31c1f6 | Adding IsYearEnd and IsYearStart primitives | Adding the following primitives: IsYearEnd, IsYearStart
Fixes #2061
Fixes #2060 | diff --git a/docs/source/api_reference.rst b/docs/source/api_reference.rst
index 4d1b445072..be00187cbb 100644
--- a/docs/source/api_reference.rst
+++ b/docs/source/api_reference.rst
@@ -131,6 +131,8 @@ Datetime Transform Primitives
IsQuarterEnd
IsQuarterStart
IsWeekend
+ IsYearEnd
+ IsYearStart
... | 4 | 2 | 1 | [{"id": "G0", "claim": "The tests for the new IsYearEnd/IsYearStart primitives do not cover NaN input, leaving their NaN behavior unspecified and unverified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docstrings of the new IsYearEnd/IsYearStart ... | null |
alteryx__featuretools__2128 | alteryx/featuretools | 2,128 | defect | 10f0cf7fc96ea65a3780e7cad9f168163557f24d | 26c41b6071097349099ca20a19f693d971db2455 | Implementing PartOfDay primitive | fixes #2059 | diff --git a/docs/source/api_reference.rst b/docs/source/api_reference.rst
index 4d1b445072..e821e18058 100644
--- a/docs/source/api_reference.rst
+++ b/docs/source/api_reference.rst
@@ -137,6 +137,7 @@ Datetime Transform Primitives
DaysInMonth
Week
Month
+ PartOfDay
Quarter
Year
diff --gi... | 4 | 4 | 0 | [{"id": "G0", "claim": "Remove the stray scratch file featuretools/primitives/standard/test that the pull request added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Look for a faster, e.g. vectorized (perhaps pd.merge-based), implementation o... | null |
alteryx__featuretools__2136 | alteryx/featuretools | 2,136 | defect | cb7462f3aa2de4cd7915b2969d1c0262d2e06dc3 | 86e5e7d840c83a97d5e6aedee74b5dfcd3797d01 | Feature and primitive serialization and deserialization improvements | ### Serialization and deserialization improvements
Implements several changes to improve serialization and deserialization of Features:
- Uses a common primitive object when deserializing features that use the same primitive rather than creating separate primitive instances for each primitive (#2127)
- Serialize e... | diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 81bffb1655..e86fd9af07 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -9,6 +9,7 @@ Future Release
* Include np.nan testing for ``DayOfYear`` and ``DaysInMonth`` primitives (:pr:`2146`)
* Fix... | 5 | 4 | 0 | [{"id": "G0", "claim": "The code should use the pythonic @property/@setter pattern instead of explicit get_/set_ methods, e.g. expose feature names as a property rather than get_feature_names()/set_feature_names().", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
alteryx__featuretools__2144 | alteryx/featuretools | 2,144 | defect | fb2292dbb6a39358a627da9e30cd464a0b07fa57 | 4f8dd84bc82ba47a3b9bf4b209075b0937b2cfd7 | Refactor feature serialization to avoid storing duplicate primitive information | ### Refactor feature serialization to avoid storing duplicate primitive information
Separates storage of primitive information from feature information to avoid storing duplicate primitive information when serializing features.
| diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 94619c5b5b..2a9d8a12d2 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -7,7 +7,7 @@ Future Release
* Enhancements
* Fixes
* Changes
- * Improve serialization and deserialization to re... | 1 | 1 | 0 | [{"id": "G0", "claim": "The line `self._primitives_dict[str(primitives_dict_key)]` needlessly casts `primitives_dict_key` to string again, since it is already a string from `str(primitive_number)` on line 118.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
alteryx__featuretools__2147 | alteryx/featuretools | 2,147 | defect | f3f2df28349a3819cc1b7d224eff96152ca28f9e | 5ca7f1e1a214f96d1d0ae2de994b95b3a42fac94 | Allow DFS to take in strings or datetime values into cutoff_time argument | Fixes #2014
Makes it possible for users to pass in strings, or datetime values into dfs's `cutoff_time` argument | diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 22b191bf31..26e5dd7779 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -2,15 +2,17 @@
Release Notes
-------------
-.. Future Release
- ==============
+Future Release
+==============
* Enhancement... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new dateutil.parser.parse call on a string cutoff_time may raise ParserError or OverflowError that the pull request does not handle.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use pandas.to_datetime for the string cut... | null |
alteryx__featuretools__2157 | alteryx/featuretools | 2,157 | defect | 87cd39aa2bfc39d838463ad7c82614ef0c864d63 | be93b44df82f202615c06441bb779e3f386cd162 | Pass kwargs into dfs call in get_valid_primitives to allow other dfs parameters to be passed in | closes #2158 | diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 2f01a3002e..6778712d7a 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -7,6 +7,7 @@ Future Release
* Enhancements
* Add ``IsYearEnd``, ``IsYearStart`` transform primitives (:pr:`2124`)
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The docstring added for dfs_kwargs misspells 'keyword' as 'keyworg' in 'pass as keyworg arguments'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider using **kwargs instead of **dfs_kwargs for recognizability, relying... | null |
alteryx__featuretools__2231 | alteryx/featuretools | 2,231 | defect | 7f0cbe21357de4fc36afc5636dfc1c916c299402 | 05db783a5e946efa0299ede798944201c0bdc6b5 | Allow boolean columns to be included in remove_highly_correlated_features | Fixes #2229
Converts boolean columns to `float64` in `remove_highly_correlated_features` to avoid the error that comes from calling `corr` on boolean columns
| diff --git a/featuretools/selection/selection.py b/featuretools/selection/selection.py
index 6a48dbf000..bdc5aab8b6 100644
--- a/featuretools/selection/selection.py
+++ b/featuretools/selection/selection.py
@@ -1,3 +1,4 @@
+import pandas as pd
from woodwork.logical_types import Boolean, BooleanNullable
@@ -169,10 ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test name misspells \"correlated\" as \"correlatied\" and should be renamed to test_remove_highly_correlated_features_on_boolean_cols.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On line 21 of the release notes, \"... | null |
alteryx__featuretools__2252 | alteryx/featuretools | 2,252 | defect | 76c20d77b79b2bdc1c7a0b4522881b331e4d80e2 | 6766d4029826a95548a76197da21e71b3cacae5a | Add generic Lag primitive | ### Pull Request Description
Resolves https://github.com/alteryx/featuretools/issues/1781 | diff --git a/docs/source/guides/time_series.ipynb b/docs/source/guides/time_series.ipynb
index 759df161ae..a434f31fca 100644
--- a/docs/source/guides/time_series.ipynb
+++ b/docs/source/guides/time_series.ipynb
@@ -13,7 +13,7 @@
"\n",
"warnings.filterwarnings(\"ignore\")\n",
"import featuretools as ft\n"... | 10 | 7 | 4 | [{"id": "G0", "claim": "Renaming NumericLag to Lag breaks backwards compatibility for existing users and their saved features; make the change backwards compatible, e.g. by adding a DeprecationWarning when NumericLag is used.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
alteryx__featuretools__2254 | alteryx/featuretools | 2,254 | defect | 76c20d77b79b2bdc1c7a0b4522881b331e4d80e2 | 8878dcdd2a31b941af4ec15c0af695f92b69d1ab | Fix holidays library failure with lookups | - Fixes #2253
- Updates to requirements files for holidays==0.15
- Update HolidayUtil to convert old countries to new country and subdivision
- Update to `def test_holiday_out_of_range()` to use correct number of days | diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index d06c41347f..532d5ba3c8 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -7,13 +7,14 @@ Future Release
==============
* Enhancements
* Fixes
+ * Fix changes resulting from python-holidays u... | 2 | 2 | 1 | [{"id": "G0", "claim": "If the pull request drops support for older versions of the holidays package, the requirements in setup.cfg should be updated accordingly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The release note should read 'Fix compa... | null |
alteryx__featuretools__2363 | alteryx/featuretools | 2,363 | defect | 28ef2d76c31fae878b448c036472851b601e4b45 | 1cd235564f8fc143d8325cd2e860ca802c34ca89 | Updates for compatibility with new WW releases | ### Updates for compatibility with new WW releases
- Set logical type for `cohort` column in `es` test fixture
- Use `object` dtype when calculating df in `generate_default_df` to avoid unexpected type conversions
| diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 230969ca18..cd43555a67 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -11,6 +11,7 @@ Future Release
* Add ``RateOfChange`` primitive (:pr:`2359`)
* Fixes
* Sets ``uses_full_datafram... | 1 | 1 | 0 | [{"id": "G0", "claim": "The release note entry should name the upcoming Woodwork version (0.21.0) rather than just 'release', assuming there is no breaking change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alteryx__featuretools__2397 | alteryx/featuretools | 2,397 | defect | 9ce731ee3a38a646732d1d9cd8a50d208d4ccd3b | f9b41e6348e004a135513da9b2cda86968acf0ed | Remove extra calls to `all`, `.values()`, and `.keys()` when constructing `ignore_columns` in `DeepFeatureSynthesis` | - In the `init` method for `DeepFeatureSynthesis`, we perform a type check on `ignore_columns` to make sure it maps strings to list of strings
- Currently, we iterate multiple times over the input to perform this type checking, then iterate again to create the `ignore_columns` data structure.
- By refactoring, we c... | diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 68129e2a22..9d1e319af6 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -6,6 +6,7 @@ Release Notes
Future Release
==============
* Enhancements
+ * Iterate only once over ``ignore_columns`` in... | 3 | 3 | 0 | [{"id": "G0", "claim": "Refactor the inline ignore_columns construction (the loop at line 197 and the next two lines) into its own helper function to separate implementation details from the algorithm in __init__.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "... | null |
alteryx__featuretools__2398 | alteryx/featuretools | 2,398 | defect | 9ce731ee3a38a646732d1d9cd8a50d208d4ccd3b | f0733ae6927866f135d72733c0dcca953782d05a | Add a get_recommend_primitives function for a single table EntitySet | - Add a `get_recommend_primitives` function which given a single table entity set, provides a list of recommended primitives. | diff --git a/featuretools/utils/recommend_primitives.py b/featuretools/utils/recommend_primitives.py
new file mode 100644
index 0000000000..d46e062537
--- /dev/null
+++ b/featuretools/utils/recommend_primitives.py
@@ -0,0 +1,261 @@
+from typing import List
+
+import pandas as pd
+
+from featuretools.computational_backe... | 20 | 15 | 2 | [{"id": "G0", "claim": "The `es` parameter should be named `entityset` to be consistent with other functions in the library.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of making a second entityset, the code should use the `ignore_col... | null |
alteryx__featuretools__2403 | alteryx/featuretools | 2,403 | defect | a0357c96ab972bf80f6962c7382f057fa9f53bf2 | 896c40b1d9087de69fe61359404257a585739a73 | Resolve empty series warnings | - encountered these warnings when running tests
- this should cover all the remaining cases | diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index 76e8407169..51fa20fe2e 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -10,6 +10,7 @@ Future Release
* Fix typo in ``_handle_binary_comparison`` function name and update ``set_feature_names`` docs... | 6 | 6 | 2 | [{"id": "G0", "claim": "The empty-input branch of email_address_to_domain should return an empty Series with dtype \"category\" instead of dtype \"object\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The empty-input branch of is_free_email_domai... | null |
alteryx__featuretools__2424 | alteryx/featuretools | 2,424 | defect | bddadebcf51249d743e166201954bd7a742e19d7 | 532bb67964a2644f3eb7ac2d6fb6306490b51295 | Fix fragmentation PerformanceWarning in feature_set_calculator.py | Fixes #2405
- Fix fragmentation PerformanceWarning in feature_set_calculator.py
- Fix warning related to deprecation of `pandas.util`
- Fix warning related to setting as type with `"datetime"` without units | diff --git a/featuretools/computational_backends/feature_set_calculator.py b/featuretools/computational_backends/feature_set_calculator.py
index b996ca3493..fc43f92215 100644
--- a/featuretools/computational_backends/feature_set_calculator.py
+++ b/featuretools/computational_backends/feature_set_calculator.py
@@ -507,1... | 4 | 2 | 1 | [{"id": "G0", "claim": "The author dislikes the Dask/Spark approach of concatting new columns one at a time in update_feature_columns and wishes there were a better way, while stating he did not come up with one.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla... | null |
alteryx__featuretools__2432 | alteryx/featuretools | 2,432 | defect | 6f20cb3b3a2612acb36fada6656ee2d96146150e | dedeaa1979bd0eb1e5f7d3bb9ec95f452f5ab5be | Fix serialization of `word_set` in `NumberOfCommonWords` | - fixes #2428
| diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index fc2048d257..7c320fbf0f 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -12,6 +12,7 @@ Future Release
* Fix typo in ``_handle_binary_comparison`` function name and update ``set_feature_names`` docs... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code should compare class objects directly (cls == NumberOfCommonWords) instead of comparing the class-name string.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alteryx__featuretools__2657 | alteryx/featuretools | 2,657 | defect | 57d7ab952438b944eff2913c6d72a8b1fd1dd993 | 94ac3a92b97f57b1b483d14c563c712d011bdfa6 | Support pandas 2.2.0 | closes #2649
Adds a workaround for https://github.com/pandas-dev/pandas/issues/57317
Also fixes the woodwork tests with main so they can be triggered.
| diff --git a/.github/workflows/tests_with_woodwork_main_branch.yaml b/.github/workflows/tests_with_woodwork_main_branch.yaml
index 4e71077a75..1fdfa47f11 100644
--- a/.github/workflows/tests_with_woodwork_main_branch.yaml
+++ b/.github/workflows/tests_with_woodwork_main_branch.yaml
@@ -9,7 +9,7 @@ jobs:
strategy:
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The workaround added in feature_set_calculator.py, which converts every int64-category column to int64 before the groupby/aggregation, may be overly broad and is far removed from the actual bug, so a more minimal fix (returning the string 'nunique' from the NumUnique primitive) is preferred.", "... | null |
althea-net__rita__1083 | althea-net/rita | 1,083 | defect | 2b5237ff6cc8735b1c957d19172550842d553b4f | 6c75180919f59fe41cba808d4b0ba59dc4d95091 | SNAT routing | Integration test is still cooking, iptables rules must be translated into nftables as should parsing for the teardown code when nftables in use | diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index e5bbbb6d2..17f1789e3 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -123,4 +123,14 @@ jobs:
with:
cache-on-failure: true
- name: Run integration test
- run: bash scripts/integration... | 14 | 11 | 4 | [{"id": "G0", "claim": "The '// todo if snat mode break this out' comment in setup_ns is now obsolete because the break-out has been done, so the stale todo should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The iptables SNAT setup/... | null |
althea-net__rita__1104 | althea-net/rita | 1,104 | defect | b72ae1450c9a67335b04e3611736d48cb3e65280 | 9569820097d5861f3ef762b7aab35169cb21a104 | CGNAT Exit and integration test | right now this is manually adding all possible external ips on the exit subnet, which we're hoping to avoid since that gets clunky real fast. | diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 17f1789e3..abcad3c2f 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -133,4 +133,14 @@ jobs:
with:
cache-on-failure: true
- name: Run integration test
- run: bash scripts/integration... | 3 | 2 | 0 | [{"id": "G0", "claim": "The setup_cgnat doc comment should explicitly note that the cgnat tasks are handed off to the kernel to allocate connections between the internal and external subnets.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TODO... | null |
althea-net__rita__800 | althea-net/rita | 800 | defect | b82324c05a8f62dc8688f612b4efbdddb958bf5f | c2b5827131d9283b5f24fd2bbb83582d0bafae66 | Debts test | Debts generated by traffic between two nodes as well as between a node and the internet can be
tested by hardcoding an optimal path in code. Current accuracy threshold between calculated debt
and the actual debt is set to at least 85% accurate | diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 99b66bf53..292ec3e9e 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -131,4 +131,13 @@ jobs:
- name: Install Wireguard
run: sudo apt-get update && sudo apt install -y wireguard linux-source linux-heade... | 2 | 1 | 0 | [{"id": "G0", "claim": "The hardcoded debt pairs and optimal routes block in run_debts_test could be pulled out into its own function, like the five node setup.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice if the main body of ... | null |
althea-net__rita__844 | althea-net/rita | 844 | defect | b2d712ad854b7665eb46215fb7f72299c05c5366 | 5deca9381094d21b2135a767e0e4842f99f725f9 | Fixes to db migration binary | - Limit registration loop batch size to 100 and implement prepare_transaction manually to speed up batch registration
- Modify duplicate user check in solidity contract to use mapping instead of iteration to reduce gas usage when there are >1000+ clients | diff --git a/Cargo.lock b/Cargo.lock
index 2b51a4331..0ebe65994 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2750,6 +2750,7 @@ dependencies = [
"futures 0.3.28",
"lazy_static",
"log",
+ "num-traits",
"phonenumber",
"serde",
"tokio",
diff --git a/integration_tests/src/db_migration_test.rs b/integration_tests... | 2 | 1 | 1 | [{"id": "G0", "claim": "The thread::sleep(Duration::from_secs(100000)) the pull request added to the db migration integration test looks unintentional and should be reverted to a short wait.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When deleti... | null |
altsem__gitu__134 | altsem/gitu | 134 | defect | 386cda7538a6cc33fe20e8a9454c155e6965263c | 9c7104f4adf589ac8bb94436e28ed67d8c01500c | feat: 3 sections in show refs screen: branches, remotes, tags | Resolves: https://github.com/altsem/gitu/issues/125 | diff --git a/src/screen/show_refs.rs b/src/screen/show_refs.rs
index d3c5fde135..19ccbe2582 100644
--- a/src/screen/show_refs.rs
+++ b/src/screen/show_refs.rs
@@ -2,11 +2,11 @@ use std::{iter, rc::Rc};
use super::Screen;
use crate::{
- config::Config,
+ config::{Config, StyleConfigEntry},
items::{Item, T... | 5 | 4 | 2 | [{"id": "G0", "claim": "The tags section and the remote-branches section style their items with `style.branch` instead of the dedicated `style.tag`/`style.remote` configs the log page uses.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The single \... | null |
altsem__gitu__367 | altsem/gitu | 367 | defect | 164f8a63eff94a710a7e3591a15f4b8eb8be8f1f | ecc413eb2e0f89056b9eaeea93a6aa5f2f8af78f | feat: add delete option to branch menu | This PR adds support for deleting branches from the branch menu. If a branch hasn't been merged into upstream or HEAD, the operation must be confirmed (similar to how to `git branch -d ...` works).
| diff --git a/src/default_config.toml b/src/default_config.toml
index eaf97e74b1..64fa730990 100644
--- a/src/default_config.toml
+++ b/src/default_config.toml
@@ -101,6 +101,7 @@ help_menu.quit = ["q", "h", "?", "<esc>"]
root.branch_menu = ["b"]
branch_menu.checkout = ["b"]
branch_menu.checkout_new_branch = ["c"]
+b... | 7 | 6 | 1 | [{"id": "G0", "claim": "The default delete keybinding should be 'K' instead of 'd', for consistency with the Discard action and to avoid colliding with Magit's branch-description binding.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The confirm workaro... | null |
altsem__gitu__378 | altsem/gitu | 378 | defect | d7457cc9901e154c3a7350e43dea7444be5dce7f | 4c5b55dcf12637a644c093bccf96997c635f26f9 | feat: Ability to rename a remote | This PR adds the ability to rename a remote to the `Remote` menu | diff --git a/src/default_config.toml b/src/default_config.toml
index 9c8a5ebdb4..341abd2ea6 100644
--- a/src/default_config.toml
+++ b/src/default_config.toml
@@ -165,6 +165,7 @@ rebase_menu.quit = ["q", "<esc>"]
root.remote_menu=["M"]
remote_menu.add_remote=["a"]
+remote_menu.rename_remote=["r"]
remote_menu.quit ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The first prompt (asking for which remote to rename) should say \"Rename remote\" instead of \"Remote name\" so it is not mistaken for the new name.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second prompt should say \"Ren... | null |
altsem__gitu__422 | altsem/gitu | 422 | defect | b3492a80a77a99d60045d3dd0db4fae178e47f42 | 804588c40f88226be4e44bed0140ee4840c3d370 | feat: Simple mouse interactions | Magit has mouse support via emacs builtin mouse support, one particularly useful aspect of this is being able to jump around instantly instead of needing to navigate in a fashion like "next line, next line, … next line", such as when staging individual lines or moving to a particular commit/stash.
After using the mo... | diff --git a/src/app.rs b/src/app.rs
index fbb1052301..40ecc9fd20 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -17,6 +17,8 @@ use termwiz::input::InputEvent;
use termwiz::input::KeyCode;
use termwiz::input::KeyEvent;
use termwiz::input::Modifiers;
+use termwiz::input::MouseButtons;
+use termwiz::input::MouseEvent;
... | 7 | 4 | 1 | [{"id": "G0", "claim": "Termwiz mis-parses (momentum) mouse scroll escape sequences as keyboard input, so flicking the trackpad or scrolling can trigger bound shortcuts such as the 'M' (Remote) menu.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "... | null |
altsem__gitu__445 | altsem/gitu | 445 | defect | 5374ab34f21e91db96ea0b4338a38c87d2ce5a14 | e7a86fc3d71485e1955751420e9f6341845968a2 | feat: Implement spinoff branch command | I experimented with gitu a few months ago and noticed it didn't implement the spinoff branch functionality from magit, which I use quite heavily. Since I had previously implemented spinoff branch in edamagit, a magit extension for VS Code (https://github.com/kahole/edamagit/pull/290, https://github.com/kahole/edamagit/... | diff --git a/src/default_config.toml b/src/default_config.toml
index 5848e7e476..970f1298f0 100644
--- a/src/default_config.toml
+++ b/src/default_config.toml
@@ -112,6 +112,7 @@ help_menu.quit = ["q", "h", "?", "esc"]
root.branch_menu = ["b"]
branch_menu.checkout = ["b"]
branch_menu.checkout_new_branch = ["c"]
+bra... | 4 | 3 | 2 | [{"id": "G0", "claim": "does_branch_exist should handle the expected \"branch does not exist\" error itself and return false instead of surfacing it as an error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Instead of calling app.display_error dir... | null |
altsem__gitu__465 | altsem/gitu | 465 | defect | 5e852132204ad87f5cdd6ad7969e0ffcc9cc579b | 26d2c39acf9dcb31e88a84c6fcd105b723a480a9 | Fetch from upstream and push remote |
## Checklist
- [X] The modified code has some test-coverage (where applicable).
- [X] `make test` is passing (this is what CI runs).
- [X] New *unreleased* features/fixes/styling and performance improvements are documented via git: `feat:` / `fix:` / `style:` / `perf:`. Or e.g. `perf(highlighting):`.
See [h... | diff --git a/src/default_config.toml b/src/default_config.toml
index 970f1298f0..6483dd50ed 100644
--- a/src/default_config.toml
+++ b/src/default_config.toml
@@ -136,6 +136,8 @@ fetch_menu.--tags = ["-t"]
fetch_menu.fetch_all = ["a"]
fetch_menu.quit = ["q", "esc"]
fetch_menu.fetch_elsewhere = ["e"]
+fetch_menu.fetc... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new upstream/remote-name conversion code in src/git/remote.rs is long and boiler-plate:y and should be extracted into a helper like the existing ones in the git module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
altsem__gitu__477 | altsem/gitu | 477 | defect | 3580daa47066253d853f065a8d4d194c1a47132f | 4b99c679f0b945438f6f967c14b5d4e28a081ba9 | fix: handle non-UTF8 bytes in git command output | ## Summary
Fixes #458
This PR fixes a crash that occurs when gitu encounters files with non-UTF8 bytes (e.g., ANSI escape codes or other binary content).
## Changes
Replace `String::from_utf8()` with `String::from_utf8_lossy()` throughout the codebase to gracefully handle invalid UTF-8 sequences. Invalid bytes are ... | diff --git a/.claude/agents/branch-picker.md b/.claude/agents/branch-picker.md
new file mode 100644
index 0000000000..ec2afdcf96
--- /dev/null
+++ b/.claude/agents/branch-picker.md
@@ -0,0 +1,154 @@
+# Branch Picker Conversion Agent
+
+## Description
+Convert branch.rs git revision prompts to interactive picker interfa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR includes many files that are irrelevant to the non-UTF8 fix and they should be removed from the change.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
altsem__gitu__514 | altsem/gitu | 514 | defect | 63861f698245b98383562933f08deee2c549f2c2 | ce1fbe5e59049be463090f7561f4728221cc6aab | feat(branch): add rename branch operation | ## Checklist
- [x] The modified code has some test-coverage (where applicable).
- [x] `make test` is passing (this is what CI runs).
- [x] New *unreleased* features/fixes/styling and performance improvements are documented via git: `feat:` / `fix:` / `style:` / `perf:`. Or e.g. `perf(highlighting):`.
See [htt... | diff --git a/src/default_config.toml b/src/default_config.toml
index 4773ac419c..bb66fb1dc7 100644
--- a/src/default_config.toml
+++ b/src/default_config.toml
@@ -132,6 +132,7 @@ root.branch_menu = ["b"]
branch_menu.checkout = ["b"]
branch_menu.checkout_new_branch = ["c"]
branch_menu.spinoff = ["s"]
+branch_menu.ren... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the new rename_current_branch test the current branch should have been renamed to 'main-rename', but the snapshot shows it stayed 'main'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
altsem__gitu__89 | altsem/gitu | 89 | defect | 2f8846b6a72c946ad5a7a47490ad833f8f1f9a05 | f89224d581f8692f4d67a6b1e28b6e8b022627f0 | feat: add quit confirmation | Implements a prompt if the user initiates a quit from the base screen.
```
? Really quit? (y or n) ›
``` | diff --git a/src/state.rs b/src/state.rs
index 586b6d47ed..af211e5738 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -17,6 +17,7 @@ use crate::handle_op;
use crate::keybinds;
use crate::ops::SubmenuOp;
use crate::prompt;
+use crate::prompt::PromptData;
use crate::screen;
use crate::screen::Screen;
use crate::ter... | 3 | 3 | 3 | [{"id": "G0", "claim": "The quit confirmation prompt should be closed (reset) when the user types anything other than \"y\", instead of being left open.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Quitting should not unconditionally show a confir... | null |
alumet-dev__alumet__170 | alumet-dev/alumet | 170 | defect | 513b163ab54e88ee62babb5ca384f6bfa725438f | 67c5a4ba5d0f23ae5c8b2d6c96ae87a8093e4c0d | Refactor/plugin cgroupv1 add tests | This PR brings some unit tests and integration tests in plugin-cgroupv1.
Code covered by tests is now up to 92% !
It contains:
- Mock OAR Cgroup files for different submitters and different jobs
- Ensure Startup of plugin is fine, metrics correctly registered and expected source started
- Ensure Runtime of plugin ... | diff --git a/Cargo.lock b/Cargo.lock
index 7c97b6b5c..5dde17adc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2474,7 +2474,9 @@ dependencies = [
"notify",
"serde",
"serde_derive",
+ "tempfile",
"tokio",
+ "toml",
]
[[package]]
diff --git a/plugin-cgroupv1/Cargo.toml b/plugin-cgroupv1/Cargo.toml
index 824e83c... | 10 | 8 | 0 | [{"id": "G0", "claim": "The `println!(\"START WATCHER\")` added in the watcher setup should be brought back to where it belongs and plugin output should use the `log` crate instead of a stdout println.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
alumet-dev__alumet__187 | alumet-dev/alumet | 187 | defect | 7cfdd3abe7188977a06f11ee4c6169bc9cd1bee8 | dfe78467b3e8582e7f9005d09971f1a037e91638 | feature(grace-hopper): add the new grace-hopper plugin with its tests | Add the new plugin 'grace-hopper'. It's goal is to look at the directory where are stored files which expose energy consumption.
Sources:
- https://docs.nvidia.com/grace-perf-tuning-guide/power-thermals.html
---
Question for reviewers: Is it relevant to add a 'resource_id' and a 'consumer_id' to the measure... | diff --git a/Cargo.lock b/Cargo.lock
index 9e7ef3c9d..e57507a26 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -84,6 +84,7 @@ dependencies = [
"plugin-elasticsearch",
"plugin-energy-attribution",
"plugin-energy-estimation-tdp",
+ "plugin-grace-hopper",
"plugin-influxdb",
"plugin-mongodb",
"plugin-nvidia-jetson... | 14 | 12 | 3 | [{"id": "G0", "claim": "Replace the nested `if let Ok(entry) = entry` with a fail-fast `let Ok(entry) = entry else { continue };` for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The failure case of `fs::read_dir(base_dir)` should... | null |
alumet-dev__alumet__202 | alumet-dev/alumet | 202 | defect | d697792fb2115c79e564223dd005d930bde9f660 | 3999862ddd5d969d1f3db6361911e80d1a24992f | feat(plugin-grace-hopper): Energy instead of power | - Add the energy instead of power in the return of plugin and also improve code test coverage
- Add some little functions in the `Timestamp` wrapper for easier use.
Tarpaulin output:

edit:
Modify the regex used to check i... | diff --git a/alumet/src/measurement.rs b/alumet/src/measurement.rs
index 20a47b2d5..f32d64784 100644
--- a/alumet/src/measurement.rs
+++ b/alumet/src/measurement.rs
@@ -184,6 +184,19 @@ impl Timestamp {
pub fn duration_since(&self, earlier: Timestamp) -> Result<Duration, SystemTimeError> {
self.0.duration... | 7 | 7 | 2 | [{"id": "G0", "claim": "Timestamp should implement the std Add and Sub traits instead of the add_duration/sub_duration methods the PR adds.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The purpose of the min_interval_update_ms attribute added to every ... | null |
alumet-dev__alumet__228 | alumet-dev/alumet | 228 | defect | e007b944bdc4b5c04b84bdc870a596cac613c50f | b165e07ea16270adf76520a2720536058d9bb2e0 | feat(plugin-cgroup): "Raw" cgroup plugin | Based on `feature/new-cgroups`.
Resolves #83. | diff --git a/.circleci/config.yml b/.circleci/config.yml
index c2cc0d476..ae445a09c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -54,8 +54,11 @@ jobs:
# run tests with a timeout to detect a bit earlier if there's a test that hangs indefinitely
- run:
name: Run Tests (includin... | 4 | 2 | 1 | [{"id": "G0", "claim": "After this change watch_recursively logs errors and can never return Err, yet it still returns anyhow::Result<()> (and callers use `?`), so the reviewer asks to keep taking advantage of Err from Result or else replace the dead `?` plumbing.", "category": "design", "verdict": "supported", "priori... | null |
alumet-dev__alumet__233 | alumet-dev/alumet | 233 | defect | d399efe4a81d4b284e8b2bc90bec1056ff5d72a4 | b2f3fcdd9c59d8071364e562a56b5d418cc642d5 | feat(core): start a source in pause mode | This PR make possible to add a new source in pause mode.
A plugin can use new method `add_source_with_state` and set the initial_state parameter to pause.
This is useful to ask Alumet monitor sources only if you explicitely ask it (by resuming paused source afterwards).
Note:
- In current implementation, sou... | diff --git a/alumet/src/pipeline/control/request.rs b/alumet/src/pipeline/control/request.rs
index 9f93fcec7..d126fdaee 100644
--- a/alumet/src/pipeline/control/request.rs
+++ b/alumet/src/pipeline/control/request.rs
@@ -22,7 +22,7 @@ pub mod any;
mod create;
pub(super) mod introspect;
mod output;
-mod source;
+pub ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a todo comment so that the hardcoded 60-second pause timeout is remembered to be made configurable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alumet-dev__alumet__288 | alumet-dev/alumet | 288 | defect | 63703276106b23689ce4ce2591822f55ed759ed9 | 2c348a5be281835826e861ff9ca782122d772867 | feat(plugin-slurm): made possible to start sources in pause mode | Added a configuration in Slurm plugin Config propagated to cgroup ReactorConfig and DetectConfig to make configurable to start new cgroup sources in pause mode.
This behavior can be useful in some scenario where we need a fine-grained control over which source to monitor or not - over a control plugin.
The Slurm ... | diff --git a/plugins/cgroups/slurm/README.md b/plugins/cgroups/slurm/README.md
index 302c5116f..dc2753eba 100644
--- a/plugins/cgroups/slurm/README.md
+++ b/plugins/cgroups/slurm/README.md
@@ -45,6 +45,8 @@ poll_interval = "1s"
cgroupv1_refresh_interval = "30s"
# Only monitor the job cgroup related metrics and skip t... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `add_source_in_pause_state` config field should use serde's default attribute instead of being an `Option<bool>` with a None-means-false convention.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alumet-dev__alumet__294 | alumet-dev/alumet | 294 | defect | 5a06ff47e057c7e8d5d2ad346354b2e640da3a73 | 59dd46b12bc8bb2df9aaa1ba390eb3811241835e | Plugin grace-hopper: compute the dram energy and power | This PR should fix #292
| diff --git a/plugins/grace-hopper/src/probe.rs b/plugins/grace-hopper/src/probe.rs
index c817f3e78..04ca46eec 100644
--- a/plugins/grace-hopper/src/probe.rs
+++ b/plugins/grace-hopper/src/probe.rs
@@ -1,3 +1,5 @@
+use std::collections::HashMap;
+
use alumet::{
measurement::{MeasurementAccumulator, MeasurementPoin... | 6 | 6 | 3 | [{"id": "G0", "claim": "Use `.or_default()` instead of `.or_insert_with(Vec::new)` when inserting into the probes map.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment explaining what the `probes` field is.", "category": "documentati... | null |
alumet-dev__alumet__315 | alumet-dev/alumet | 315 | defect | 119285baf17ea4150219b69679909ce8831e5068 | 43356865067d0b259ebcdacfcfa0756733d20590 | Feat/add job annotation | Generalization of the job annotation transform for several cgroups plugins:
- OAR
- Slurm
- K8S
It fixes: #306
Also add some unit tests. | diff --git a/Cargo.lock b/Cargo.lock
index e7267b2a4..d76f120ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4525,6 +4525,7 @@ dependencies = [
"anyhow",
"env_logger",
"humantime-serde",
+ "lazy_static",
"log",
"pretty_assertions",
"regex",
diff --git a/plugins/cgroups/k8s/src/lib.rs b/plugins/cgroups/k8s/s... | 7 | 7 | 0 | [{"id": "G0", "claim": "The tests use lazy_static for values used in only one function, so those values should be declared locally and lazy_static should not be a non-dev dependency of util-cgroups-plugins.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
alumet-dev__alumet__318 | alumet-dev/alumet | 318 | defect | 119285baf17ea4150219b69679909ce8831e5068 | 98aae7f912e259ec2446d052a4e01ea25801d9f4 | test(grace-hopper): add unit tests | Add unit test in order to reach 80% of code coverage
Make the tests work on less powerfull computers | diff --git a/plugins/grace-hopper/tests/tests.rs b/plugins/grace-hopper/tests/tests.rs
index b5df4657f..edd6759f0 100644
--- a/plugins/grace-hopper/tests/tests.rs
+++ b/plugins/grace-hopper/tests/tests.rs
@@ -2,7 +2,10 @@ use alumet::{
agent::{self, plugin::PluginSet},
measurement::{MeasurementPoint, Timestam... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test_default_config test is useless code that must be maintained over time, and the default_config() function should be ignored (e.g. in coverage) instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alumet-dev__alumet__35 | alumet-dev/alumet | 35 | defect | b73fb753614da6cccf4c2d8cbbc5548509366d52 | 3f5ca54f2a5d756d97d665b00c3926ccaf97c503 | Summer core improvements | Various improvements to the core of Alumet.
Note: most changes come from the documentation, perhaps it's easier to review this PR commit by commit. | diff --git a/alumet/Cargo.toml b/alumet/Cargo.toml
index c262d8cfd..5fc1c2d41 100644
--- a/alumet/Cargo.toml
+++ b/alumet/Cargo.toml
@@ -32,6 +32,7 @@ tokio-timerfd = "0.2.0"
# Dev dependencies for tests.
[dev-dependencies]
+env_logger = "0.11.5"
serde = { version = "1.0.198", features = ["derive"] }
# Dependen... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment added to `register` misspells \"returns\" as \"reurns\" and should be corrected to \"returns an error\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alumet-dev__alumet__358 | alumet-dev/alumet | 358 | defect | fe0b8fc25c72659bbe8f39ddcf961dcdfb1a5584 | e40554fdacf7b1f8172e162605e4bbf5d18bfa0e | feat(plugin-filter): new transform to filter metric sent downstream | A new transform called `filter` that filters in or out the measurements based on metric names.
This would resolve this issue https://github.com/alumet-dev/alumet/issues/304.
This is a first simple implementation, that could be enhanced using regexp for example. | diff --git a/Cargo.lock b/Cargo.lock
index 81c0e1349..5eeedb3a2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -87,6 +87,7 @@ dependencies = [
"plugin-elasticsearch",
"plugin-energy-attribution",
"plugin-energy-estimation-tdp",
+ "plugin-filter",
"plugin-grace-hopper",
"plugin-influxdb",
"plugin-k8s",
@@ -2796... | 7 | 1 | 0 | [{"id": "G0", "claim": "Questions why the case where neither include nor exclude is configured is not validated in the init function instead of only being warned about and skipped in start.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Points out that p... | null |
alvarobartt__investpy__251 | alvarobartt/investpy | 251 | defect | ca9b3d5a0beae35e10127bcf78542e34c51e53f4 | 52018195031b2fded8af2015a97fe481149a00c8 | Add billion in turnover | Currently we can't parse turnover with value of B in get_stocks_overview and throwing error. `ValueError: invalid literal for int() with base 10: '2.59B'`
Example method call
```
investpy.get_stocks_overview(country="indonesia", n_results=1000)
``` | diff --git a/investpy/stocks.py b/investpy/stocks.py
index 733a928d..682c3de0 100644
--- a/investpy/stocks.py
+++ b/investpy/stocks.py
@@ -1260,6 +1260,8 @@ def get_stocks_overview(country, as_json=False, n_results=100):
turnover = float(turnover.replace('K', '').replace(',', '')) * 1e3
el... | 2 | 2 | 1 | [{"id": "G0", "claim": "Include the function parameters in tests/test_investpy.py (a dictionary in the params list) so the tests cover the billion-turnover fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For the next development, the tests should st... | null |
alvarofpp__validate-docbr__64 | alvarofpp/validate-docbr | 64 | defect | 3ad01b92f77b61d9890dac4f461edc14592d9d80 | cea87d8ab4a391406e3005155febd6b27d09369d | complete cpf with zeros with not 11 digits and test it | Solve the issue :
https://github.com/alvarofpp/validate-docbr/issues/63 | diff --git a/tests/test_CPF.py b/tests/test_CPF.py
index ffd9455..8de7a11 100644
--- a/tests/test_CPF.py
+++ b/tests/test_CPF.py
@@ -56,3 +56,17 @@ def test_special_case(self):
]
for cpf, is_valid in cases:
self.assertEqual(self.cpf.validate(cpf), is_valid)
+
+ def test_add_leading_zer... | 3 | 3 | 0 | [{"id": "G0", "claim": "Because `_complete_with_zeros` already makes `doc` a value of length 11, the following `if len(doc) != 11: return False` can never occur and the reviewer believes it can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
alvinunreal__oh-my-opencode-slim__117 | alvinunreal/oh-my-opencode-slim | 117 | defect | c9406507fbdf7d90d15adfe4b05d26e8cbf80672 | 69fde3927164ad2a49626da8dbe209754e520f98 | feat: restrict subagent delegation based on agent type | ## Summary
Implements hierarchical delegation rules to prevent subagents from spawning arbitrary subagents, addressing the issue where models like K2.5 and Opus 4.6 aggressively delegate in ways that undermine planned orchestration.
Closes #116
## Changes
- **Delegation rules** (`src/config/constants.ts`): Define `... | diff --git a/src/background/background-manager.test.ts b/src/background/background-manager.test.ts
index abcc0c634..c6f2d9f84 100644
--- a/src/background/background-manager.test.ts
+++ b/src/background/background-manager.test.ts
@@ -703,4 +703,541 @@ describe('BackgroundTaskManager', () => {
expect(ctx.client.se... | 5 | 1 | 1 | [{"id": "G0", "claim": "Tool permissions for spawned sessions are derived from the parent session's agent rather than the spawned agent's own delegation rules, so leaf agents (e.g. explorer) get background_task/task enabled and the tests assert this parent-driven behaviour instead of the intended leaf-node disabling.",... | null |
alvinunreal__oh-my-opencode-slim__145 | alvinunreal/oh-my-opencode-slim | 145 | defect | 84544131eb6870e2890cd9237c236e786560f78b | 292a7eec34b994f2a19a3ce9d085ee6084c0fb90 | feat: agent delegation rules, skill permission pipeline, and test improvements | ## Summary
- intention of these changes is to make OmOS more compatible with superpowers
- Expanded the skill permission pipeline so bundled custom skills (cartography) and externally-managed skills (requesting-code-review) are automatically granted to the correct agents at startup
- Allowed @fixer to spawn @explo... | diff --git a/.gitignore b/.gitignore
index b03bd0f02..6e4eb5fe6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,6 +45,7 @@ local
.ignore
opencode
oh-my-opencode
+opencode.jsonc
# AI Memory
.aim/
diff --git a/src/agents/fixer.ts b/src/agents/fixer.ts
index 82bcdbb03..e9228cb56 100644
--- a/src/agents/fixer.ts
+++... | 2 | 2 | 1 | [{"id": "G1", "claim": "The fixer prompt line \"read the files listed or delegate a lookup to @explorer\" is vague about when each option applies, and the prompt should provide clarity on when to read directly versus delegate.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
alvinunreal__oh-my-opencode-slim__168 | alvinunreal/oh-my-opencode-slim | 168 | defect | 2424960c418226b1059ae7bd2f8f7fc731da7d4e | 34918bf04573dfd9d4c4a263cd03834c4dd41b7e | Reduce Copilot mis-attribution for internal prompts | Closes #166.
This ports the OMO-style internal prompt handling for the parts slim currently owns.
What changed:
- add a stable internal marker for slim-generated prompts
- mark background completion notifications as internal prompts
- add a `chat.headers` hook that sets `x-initiator=agent` for marked Copilot-bound in... | diff --git a/src/agents/orchestrator.ts b/src/agents/orchestrator.ts
index 7a2d3f5a6..f3c743107 100644
--- a/src/agents/orchestrator.ts
+++ b/src/agents/orchestrator.ts
@@ -143,9 +143,7 @@ When user's approach seems problematic:
`;
export function createOrchestratorAgent(
- model?:
- | string
- | Array<strin... | 6 | 2 | 1 | [{"id": "G0", "claim": "Marker detection has diverged: chat-headers scans all message parts with .some(hasInternalInitiatorMarker) while phase-reminder only inspects the first text part, which could silently break if message structure ever changes; the reviewer asks to use hasInternalInitiatorMarker (or .some()) consis... | null |
alvinunreal__oh-my-opencode-slim__178 | alvinunreal/oh-my-opencode-slim | 178 | defect | d3dd041d4a398de300a90108990539c47895d234 | 08bc5e5702ef823103564f3874dd99f05d3fe3bb | fix: use first model from array when no provider config is present | ## Summary
Model arrays configured in `oh-my-opencode-slim.json` were being ignored when `opencode.json` did not have an explicit `provider` section. All agents would fall back to using the UI-selected model instead of their configured model arrays.
## Changes
Modified the config hook in `src/index.ts` to:
1. If pro... | diff --git a/src/index.ts b/src/index.ts
index e51d52480..713a816cf 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -152,40 +152,64 @@ const OhMyOpenCodeLite: Plugin = async (ctx) => {
if (Object.keys(modelArrayMap).length > 0) {
const providerConfig =
(opencodeConfig.provider as Record<strin... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR does not include tests for the new fallback behavior; consider adding a test case for the \"no provider config → uses first model\" path.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The else branch in the no-provider-ma... | null |
alvinunreal__oh-my-opencode-slim__185 | alvinunreal/oh-my-opencode-slim | 185 | defect | bcdf36bbe2faa989c0b1994d9cc9413fac3e5a29 | 70645dd2b876f84a31cc1741f5b2b835d60216bf | feat: support OPENCODE_CONFIG_DIR for custom config directory | Closes #184
## Summary
- Add support for `OPENCODE_CONFIG_DIR` as the custom directory source for plugin config, prompts, and skills
- Consolidate config directory resolution through the shared `getConfigDir()` path utility
- Keep OpenCode config file path resolution on standard locations (`opencode.json` / `opencode... | diff --git a/src/cli/config-io.test.ts b/src/cli/config-io.test.ts
index afd7f3613..7f901ef9d 100644
--- a/src/cli/config-io.test.ts
+++ b/src/cli/config-io.test.ts
@@ -28,6 +28,7 @@ describe('config-io', () => {
beforeEach(() => {
tmpDir = mkdtempSync(join(tmpdir(), 'opencode-io-test-'));
+ delete process... | 2 | 2 | 0 | [{"id": "G2", "claim": "getOpenCodeConfigDir() in loader.ts is functionally identical to the exported getConfigDir() in src/cli/paths.ts, so any change to resolution precedence must be applied in two places; loader.ts should import getConfigDir from ../cli/paths, remove the private function, and use getConfigDir() at b... | null |
alvinunreal__oh-my-opencode-slim__217 | alvinunreal/oh-my-opencode-slim | 217 | defect | cb2271459c0f9ad4ed82b806c587bd207c8e163e | 6e349b503de5faaafd065a21fff1f83134cb6917 | Tunes prompts especially fixer | Related https://github.com/alvinunreal/oh-my-opencode-slim/issues/192
| diff --git a/src/agents/orchestrator.ts b/src/agents/orchestrator.ts
index 9b337c4e9..db3003d89 100644
--- a/src/agents/orchestrator.ts
+++ b/src/agents/orchestrator.ts
@@ -31,12 +31,14 @@ You are an AI coding orchestrator that optimizes for quality, speed, cost, and r
@explorer
- Role: Parallel search specialist f... | 4 | 3 | 0 | [{"id": "G0", "claim": "The PHASE_REMINDER_TEXT constant uses the non-standard past tense \"splitted\" and should read \"split\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @oracle Stats line says \"10x better decisions maker\" where the n... | null |
alvinunreal__oh-my-opencode-slim__237 | alvinunreal/oh-my-opencode-slim | 237 | defect | 99461bca046ad674e9f814a5fb21cfece92e491d | 5aba7429ee6d9823249b8c2a31f675be2bac3dbc | feat: detect and retry empty provider responses | ## Summary
- When a provider silently drops a request (0 tokens, no error), the system never checked whether the response contained content — the user saw nothing happen with no error or retry
- Adds active emptiness detection after each model response, converting silent failures into retryable errors for both backgro... | diff --git a/docs/configuration.md b/docs/configuration.md
index 0cbbf7d66..2550c81de 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -96,6 +96,7 @@ All config files support **JSONC** (JSON with Comments):
| `fallback.timeoutMs` | number | `15000` | Time before aborting and trying next model |
| `fa... | 3 | 3 | 1 | [{"id": "G0", "claim": "Both documentation files list `councillor_retries` as defaulting to `1` while `src/config/council-schema.ts` applies `.default(3)`, so users relying on the docs will be surprised by three retries per councillor/master instead of one.", "category": "documentation", "verdict": "supported", "priori... | null |
alvinunreal__oh-my-opencode-slim__238 | alvinunreal/oh-my-opencode-slim | 238 | defect | e92f3d179fa0c2b723ecc3d5303d1e37c365d7a6 | 0504aacd40772bb74d6b14c3a034ef62d3e06712 | fix(council): resolve agent model from council config instead of hardcoded default | ## Summary
- Fixes #236
- The council agent's model was always resolved to the hardcoded default (`openai/gpt-5.4-mini`) regardless of what the user configured in `council.master.model`
- Now reads the model from the user's council config so OpenCode's TUI validates the correct model
## Changes
- `src/agents/index.t... | diff --git a/src/agents/index.test.ts b/src/agents/index.test.ts
index 6d8e0af0e..8d0824850 100644
--- a/src/agents/index.test.ts
+++ b/src/agents/index.test.ts
@@ -319,3 +319,30 @@ describe('getAgentConfigs', () => {
expect(configs.explorer.description).toBeDefined();
});
});
+
+describe('council agent model ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The fallback test asserts the hardcoded literal 'openai/gpt-5.4-mini' instead of referencing DEFAULT_MODELS.council, so a future change to the default constant would fail the test with a confusing mismatch.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.