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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
simdjson__simdjson__2638 | simdjson/simdjson | 2,638 | defect | b4a0fd3ff4f00c4a5a9ab86046f06daa471a3b57 | 52e47158bd7a4a39cccf302c6528953bcbce992e | add get_int32() and get_uint32() to the On Demand API | Convenience methods that call `get_int64()`/`get_uint64()` and range-check the result, returning `NUMBER_OUT_OF_RANGE` on overflow.
Added to `value`, `document`, `document_reference`, and their `simdjson_result` wrappers. Tests cover boundary values (INT32_MIN, INT32_MAX, UINT32_MAX), out-of-range detection, and the v... | diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h
index 7d1328ca8b..77c280f3e2 100644
--- a/include/simdjson/generic/ondemand/document-inl.h
+++ b/include/simdjson/generic/ondemand/document-inl.h
@@ -16,6 +16,8 @@
#include "simdjson/generic/ondemand/deseri... | 4 | 2 | 1 | [{"id": "G0", "claim": "document_reference::get_uint32()/get_int32() delegate to document::get_uint32()/get_int32(), which reject the next document as TRAILING_CONTENT, so streamed scalars readable with get_uint64() fail with the new 32-bit getters; stream semantics should be preserved.", "category": "correctness", "ve... | null |
simdjson__simdjson__2640 | simdjson/simdjson | 2,640 | defect | b4a0fd3ff4f00c4a5a9ab86046f06daa471a3b57 | 466a7b25b4d52c4cf7577160f1ebe918ddc2f487 | feat: Add DOM tape support for big integers (opt-in) | ## Motivation
PR #2139 added `BIGINT_ERROR` to distinguish big integers from invalid numbers. This works well for On Demand users who can call `raw_json_token()` after the error. However, DOM users have no recovery path — the parse
fails entirely.
This PR adds opt-in DOM support: when enabled, big integers are w... | diff --git a/doc/tape.md b/doc/tape.md
index 934a871b1f..9196359445 100644
--- a/doc/tape.md
+++ b/doc/tape.md
@@ -93,6 +93,14 @@ Float values are represented as two 64-bit tape elements:
Performance consideration: We store numbers of the main tape because we believe that locality of reference is helpful for perform... | 3 | 3 | 2 | [{"id": "G0", "claim": "Add a `simdjson_unlikely` hint to the new BIGINT_ERROR branch in `visit_number`, because the added error path could mess up inlining decisions and we might end up making all users pay for the extra functionality.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "in... | null |
simdjson__simdjson__2667 | simdjson/simdjson | 2,667 | defect | 8955c2c6d55eedfe05506fc7f9d85c72ca5b1ed7 | 144f554723ab4aa98360122afefebce802a4a395 | adding a C++17 padded_input for convenience. | This is automates the rather complicated memory page hacking.
| diff --git a/doc/basics.md b/doc/basics.md
index fd5e36170f..9cc022fdd4 100644
--- a/doc/basics.md
+++ b/doc/basics.md
@@ -161,54 +161,71 @@ The basics: loading and parsing JSON documents
----------------------------------------------
The simdjson library allows you to navigate and validate JSON documents ([RFC 825... | 8 | 5 | 1 | [{"id": "G0", "claim": "get_page_size() falling back to 4096 on unknown platforms or sysconf failure can cause page-crossing reads and crashes on platforms with smaller/different page sizes, so the fallback should be made conservative (e.g., return 0/1 and have needs_allocation() treat unknown/too-small page sizes as r... | null |
simdjson__simdjson__644 | simdjson/simdjson | 644 | defect | 622d9c94807c0bffb5d878a8a41bb38c4e7c4ab7 | 0e2b2255e3918a691ff80bc52411ce6261e60336 | Make object[] key lookup | Instead of doing JSON pointer. Also removes array [].
Fixes #630 and #631. | diff --git a/doc/basics.md b/doc/basics.md
index 6e9f403f89..ea3c5c09a0 100644
--- a/doc/basics.md
+++ b/doc/basics.md
@@ -63,6 +63,10 @@ Once you have an element, you can navigate it with idiomatic C++ iterators, oper
* **Array Iteration:** To iterate through an array, use `for (auto value : array) { ... }`. If you
... | 2 | 1 | 0 | [{"id": "G0", "claim": "When doc/basics.md first mentions JSON pointer, it should link to https://tools.ietf.org/html/rfc6901 (or another resource), since readers cannot be assumed to know the term or that a spec exists.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
simdjson__simdjson__669 | simdjson/simdjson | 669 | defect | 7dad9fca0f5fda7524ab03fe8a2f155c68a5a3e1 | 6b2da0ab9574ed63dba4b16aa41bb20f5e47a237 | Add element.type() for type switching | This fixes #632. | diff --git a/doc/basics.md b/doc/basics.md
index de27ce1b48..5067e37908 100644
--- a/doc/basics.md
+++ b/doc/basics.md
@@ -67,6 +67,8 @@ Once you have an element, you can navigate it with idiomatic C++ iterators, oper
first element.
> Note that array[0] does not compile, because implementing [] gives the impressi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new element.type() documentation should also present the possible element_type values, either by listing them (simdjson::dom::element_type::ARRAY, OBJECT, INT64, UINT64, DOUBLE, STRING, BOOL, NULL_VALUE) or by giving a switch-case example.", "category": "documentation", "verdict": "supported... | null |
simdjson__simdjson__684 | simdjson/simdjson | 684 | defect | 5731c5437a0e1b965b9d83ef11bbfc4167eff43f | baef6e98927b4346396339dda8d36160ebe31a1a | Simplify cmake, add more of our tests into it | This adds some stuff from Makefile into cmake, and makes maintaining cmake a little easier. Part of the reason for investing here is I'd like to eventually get rid of Makefile eventually and just have cmake; it's bothersome maintaining two build systems :)
1. Eliminates the need to add each source and header file to... | diff --git a/.appveyor.yml b/.appveyor.yml
index b12050c33d..4e7bd9f215 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -2,28 +2,41 @@ version: '{build}'
branches:
only:
- master
-image:
- - Visual Studio 2017
clone_folder: c:\projects\simdjson
-
-platform:
-- x64
-
+platform: x64
+image:
+ - Visual Studi... | 2 | 1 | 1 | [{"id": "G0", "claim": "PR 657 introduced standard-compliance tests into the Makefile but maybe not into CMake, so this PR's CMake test setup may be missing them.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The readme example tests should be exclud... | null |
simdjson__simdjson__958 | simdjson/simdjson | 958 | defect | c25928e44fb69f5a3b1d0bbbabf75742e15269ee | e98c93541f0b9f5ffc25d10367e3b51b28ae520b | Make simdjson_result<element>.is() return bool | Fixes #708. | diff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h
index ea84d4f005..924743266d 100644
--- a/include/simdjson/dom/element.h
+++ b/include/simdjson/dom/element.h
@@ -474,7 +474,7 @@ struct simdjson_result<dom::element> : public internal::simdjson_result_base<dom
really_inline simdjson_resu... | 2 | 2 | 0 | [{"id": "G0", "claim": "The predicate methods should be named without the '_t' suffix (is_int64 rather than is_int64_t, is_uint64 rather than is_uint64_t, and the same for the get methods) because the suffix indicates a type.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"... | null |
simeji__jid__113 | simeji/jid | 113 | defect | bb28f5820e311f0218da84ce60836dce873d96af | e5a3b5f47979cd2836c11b4d887e8770d2e3b643 | Add &field candidate completion for JMESPath function arguments | ## Summary
- When a function template inserts a `&field` placeholder (e.g. `sort_by(@, &field)`), field candidates from the base array are automatically shown for Tab-cycling or partial typing
- Placeholder text is removed immediately on entering candidate mode; cursor is placed between `&` and `)` for clean inline ed... | diff --git a/ChangeLog b/ChangeLog
index 4826de2..1f0d9d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,19 @@
ChangeLog
=======
+### 1.2.0 - Apr 2026
+
+Features:
+* `&field` candidate completion inside function arguments: when a function template
+ inserts a `&field` placeholder (e.g. `sort_by(@, &field)`), f... | 3 | 3 | 2 | [{"id": "G0", "claim": "confirmCandidate rewrites everything after the last '&' whenever the pipe suffix contains '(', which also matches completed expressions like 'max_by(@, &age).', so selecting the next navigation field corrupts the function argument instead of appending navigation.", "category": "correctness", "ve... | null |
simgine__bevy_enhanced_input__137 | simgine/bevy_enhanced_input | 137 | defect | ec1bae4dc709f9a84cc5dd1cb77c746a72f979c6 | 9e8f92995accf2bc0ba0e28784a6b86cde1221d7 | Fix input consumption between different schedules | Previously, input consumption was local to a context’s schedule, while reset inputs were global. Now both are global, and inputs are consumed properly across different schedules.
Supersedes #132. This implementation tracks which schedule each input was consumed in and resets them only when that schedule runs. Suppor... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 030d4816..65862151 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Pulse` condition triggered `Fired` only on the first actuation.
- `HoldAndRelease` condition fired only... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new CHANGELOG.md release note for this change ('Input consumption between different schedules.') is not clear enough as written.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ConsumedInputs struct in src/input_read... | null |
simgine__bevy_enhanced_input__296 | simgine/bevy_enhanced_input | 296 | defect | 7a7d3d6d9b04dce4dfb33b664afba3ee1c2a8f49 | a4dfc3a386d8947d2be39215a7382e2303850cda | Rename ActionState to TriggerState | Rename to be more in line with UE according to issue #294 | diff --git a/src/action.rs b/src/action.rs
index 1a7dbbb2..5e995160 100644
--- a/src/action.rs
+++ b/src/action.rs
@@ -24,7 +24,7 @@
//! in the library documentation for more details.
//!
//! Similarly, you can check the current state and value of an action at any time using the
-//! [`Action<C>`], [`ActionState`], ... | 2 | 2 | 2 | [{"id": "G0", "claim": "The version tag in the deprecated annotation on the ActionState alias is wrong and should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The release notes (CHANGELOG.md) should be updated to record the rename.",... | null |
simgine__bevy_enhanced_input__89 | simgine/bevy_enhanced_input | 89 | defect | 557214bde4bf66d9fe9534354bc4c5b20dd5cf99 | fbe436d5295b07e249a9ec85b477a77016544e83 | 3 dimension keycode preset | Adds a preset for 3 dimensional input actions.
Open to better names, SixDOF is just what came to mind for this but it sounds a bit odd.
I did a little builder pattern for wasd/arrow vs up down mappings since people might want to mix and match them. If there are any other up/down presets you think would be common ... | diff --git a/src/preset.rs b/src/preset.rs
index 1ba07cda..8d5363da 100644
--- a/src/preset.rs
+++ b/src/preset.rs
@@ -234,3 +234,161 @@ impl<I: IntoBindings> IntoBindings for Bidirectional<I> {
positive.chain(negative)
}
}
+
+/// A preset to map buttons as 3-dimensional input.
+///
+/// Uses [`SwizzleAx... | 6 | 6 | 2 | [{"id": "G0", "claim": "The up/down defaults hard-coded into the SixDOF constructors are not obvious, and the reviewer would prefer to drop all of them in favour of explicit `wasd_and(up, down)` / `arrows_and(up, down)` constructors.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
simgine__bevy_replicon__134 | simgine/bevy_replicon | 134 | defect | dd8269fb8c80ad93dc7558d36ed98e20683f5dea | 767e6c145472bbcba4d1e209a4e9e1d0d86a5dfd | Cleanup old updates | Closes #130.
Not sure if I like this solution, it's a bit ugly as for me. | diff --git a/benches/replication.rs b/benches/replication.rs
index 844ac66d1..04427272f 100644
--- a/benches/replication.rs
+++ b/benches/replication.rs
@@ -150,7 +150,10 @@ fn setup_apps(server_app: &mut App, client_app: &mut App) {
for app in [server_app, client_app] {
app.add_plugins((
Min... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `update_timeout` field's doc comment should also state that in practice updates live at least `update_timeout` and at most `2*update_timeout`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cleanup system should com... | null |
simgine__bevy_replicon__140 | simgine/bevy_replicon | 140 | defect | af4bf092424ab355a4d8376fcc49c3411e248068 | 11e29687632e7fc9da5b8a2e14077441c6b2f40d | Fix replication for entities when replication enabled later | I needed to do a some refactoring/reorganization before fixing this bug. I would recommend to read this PR commit by commit for easier understanding. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7bd345a8a..648578e45 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Changed
+
- Cache replicated archetypes for faster iteration.
+- Fix replication f... | 4 | 4 | 0 | [{"id": "G0", "claim": "The safety doc on the added unsafe fn should read \"Component should be present in this archetype and have this storage type.\" (a suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The merged SAFETY comment ... | null |
simgine__bevy_replicon__180 | simgine/bevy_replicon | 180 | defect | a3bacd6fb95474432453ed7059b82dcb0c2c05a2 | abe2221475a98ac010a53bd854173375f0010f74 | Reorder init message | Fixes spawning/despawning and insertion/removal at the same tick. | diff --git a/src/client.rs b/src/client.rs
index 12eaa1513..484e8a870 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -211,13 +211,12 @@ fn apply_init_message(
return Ok(());
}
- apply_init_components(
+ apply_despawns(
&mut cursor,
world,
entity_map,
entity_t... | 3 | 2 | 2 | [{"id": "G0", "claim": "Removing components and despawning an entity in the same tick may make the client issue a spurious warning, and if so removals should be ordered before despawns when collecting the init message.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
simgine__bevy_replicon__182 | simgine/bevy_replicon | 182 | defect | 66091916d123cfa18bb365b792d54d20fd89f1a9 | 507c94c604f12ebadd2c3effdb1e83a79a15e5df | Refactor clients info | - Rename `ClientsInfo` into `ClientCache`.
- Rename `ClientInfo` into `ClientState`. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index cf6cb99f0..70a507813 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Rename `ClientsInfo` into `ClientCache`.
+- Rename `ClientInfo` into `ClientState`.
- A... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment for `ClientBuffers.states` should say `[`ClientState`]'s of previously disconnected clients` instead of `[`ClientCache`]'s`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
simgine__bevy_replicon__233 | simgine/bevy_replicon | 233 | defect | de53d663755e6fa8e40124dfffd0c703de1760db | 4054c408db2fb6f285783db5692340db27635001 | Make marker API more safe | In this PR I renamed `SerdeFns` into `RuleFns` for clarity. Now it's clear that serialization and deserialization is managed by rules.
To make the API more safe, I needed `WriteFn` to have an associated type. To achieve this, I made `RuleFns` typed. In order to store it inside `ReplicationFns`, I created `UntypedRul... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index a94a030a3..b8913ee6f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,9 +23,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Writing to entities on client now done via `EntityMut` and `Commands` instead of `EntityWorldMut`. It was... | 4 | 3 | 0 | [{"id": "G0", "claim": "The `// SAFETY: The caller ensured that `write` can be safely called with a `SerdeFns` created for `C`.` comments left inside `set_marker_fns` and `set_command_fns` are leftovers now that the PR made these functions safe and should be removed.", "category": "documentation", "verdict": "supported... | null |
simgine__bevy_replicon__314 | simgine/bevy_replicon | 314 | defect | 899783dae83b408186383e20afaa65631a34f3eb | e3c1bec8d333a94d4fb24366f82affbffe320c58 | Independent events | Fixes https://github.com/projectharmonia/bevy_replicon/issues/313.
My only concern with the code is `make_independent` requiring a separate function call onto the App. If you have a lot of events which are independent, then you need to spend double the amount of lines marking them all as independent, increasing code... | diff --git a/.gitignore b/.gitignore
index a24317a4b..f86f79565 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,7 @@ html
# For library
Cargo.lock
+
+# Nix dev shell
+.direnv
+.envrc
diff --git a/flake.lock b/flake.lock
new file mode 100644
index 000000000..dc341bb55
--- /dev/null
+++ b/flake.lock
@@ -0,0 +1,82... | 8 | 8 | 1 | [{"id": "G0", "claim": "Keep only code-related changes in the pull request; the NixOS-specific dev files (flake.nix and friends) should be removed since they would become unmaintained.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "make_independ... | null |
simgine__bevy_replicon__428 | simgine/bevy_replicon | 428 | defect | 1e42c4fc8636a8643c37c4bf0d06438fb81d84ce | 385c3f7bb680898b16182cd0c2a23064531f376b | Update to bevy 0.16-dev | Summary of changes:
- Changes due to 0.16 update:
- Replace all `Trigger::entity` with `Trigger::target`.
- The `Component` trait now requires a `Mutability` type.
- Minor import changes.
- Replace `never_param_warn` on systems with an explicit check. The panicking behavior now depends on system params.
... | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b6da19cc2..69725419b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -101,6 +101,25 @@ jobs:
env:
RUSTFLAGS: -Aunused -Dwarnings
+ no-std-portable-atomic:
+ name: Without atomics and std
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The changelog entry should say that all serde methods now use `postcard::Result` instead of `bincode::Result`, not `bevy::ecs::error::Result` (suggested edit provided).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
simgine__bevy_replicon__498 | simgine/bevy_replicon | 498 | defect | d199a1e38a7c3eb7f219ad14366c8b18e3792e59 | c2bbc01492ecc322dcab5e6aca83fed850bd2c83 | Implement authorization | It superseds `replicate_after_connect`. By default we just verify compatibility between client and server, but it's customizable via `RepliconSharedPlugin::auth_method`. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index fbfea3b9e..3749ab63e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
+- Authorization system. By default we just verify compatibility between client and server, but... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `AuthMethod::Disabled` variant should be renamed to `AuthMethod::None`, since setting the auth method doesn't 'disable' anything and `None` is more semantically accurate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
simgine__bevy_replicon__541 | simgine/bevy_replicon | 541 | defect | 1ff1b0b3758acbfce518c766124f577a267fdd19 | b81d9ee3ecd52eea9500a42246d362442023fb9d | Remove `SendRate::Periodic` | Each commit is a separate change.
Expressing this via a static rule was a bad idea, as it cannot prevent starving. Since implementation is flawed, and I plan to implement a better system similar to Iris from Unreal Engine.
I planning to implement the new system before the next release, so users won't lose functio... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index d6c2a7ef5..3376a7d87 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Make `postcard_utils` a top-level module. Instead of `bevy_replicon::shared::postcard_utils`, it's now ju... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new doc comment on ReplicationMode::OnChange should read \"Replicate all changes.\" instead of \"Replicate any all changes.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removing SendRate::send_mutations makes the c... | null |
simgine__bevy_replicon__96 | simgine/bevy_replicon | 96 | defect | 9b96589e1d3b604403571c238695856cfc751c69 | 6e6f04c284ae598b9bbc8dc26751000e2a7c1c21 | Do not send replication message if there is no changes or events | Since the sending system is now visible to events, I had to change the visibility of some structures to `crate`. | diff --git a/src/network_event/server_event.rs b/src/network_event/server_event.rs
index 51717a754..14d845fdd 100644
--- a/src/network_event/server_event.rs
+++ b/src/network_event/server_event.rs
@@ -11,11 +11,11 @@ use super::EventChannel;
use crate::{
client::{ClientSet, ServerEntityMap},
network_event::E... | 3 | 2 | 0 | [{"id": "G0", "claim": "min_tick_update_system and sending_system need to be chained with each other.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Two grammar errors in the min_tick_update_system doc comment should be corrected to \"even if there were no... | null |
simgrid__simgrid__273 | simgrid/simgrid | 273 | defect | 0e1d91113222f171af1130c8881c72b19de77869 | cf692e6d097f12b1630e19069e363716376ab506 | BOOST unit tests for snapshot and PageStore | The 2 xbt unit tests, snapshot and PageStore, were changed into BOOST unit tests. | diff --git a/src/mc/mc_checkpoint.cpp b/src/mc/mc_checkpoint.cpp
index 8e872d906c..1a3675b5c1 100644
--- a/src/mc/mc_checkpoint.cpp
+++ b/src/mc/mc_checkpoint.cpp
@@ -622,3 +622,4 @@ void restore_snapshot(std::shared_ptr<simgrid::mc::Snapshot> snapshot)
}
}
+
diff --git a/src/mc/remote/RemoteClient.cpp b/src/mc/rem... | 5 | 5 | 0 | [{"id": "G0", "claim": "The libboost_unit_test_framework entry should keep the filtered_libraries list in alphabetical order instead of being appended after libz.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test files should carry the... | null |
similarweb__finala__100 | similarweb/finala | 100 | defect | 5afba6c1ce3348cbaaee58bf9e3e619c7e7d0195 | f4c70fb12da435c44f4df8895a4fecf8182506e6 | Feature/metrics enable flag | <!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://github.com/similarweb/finala/blob/master/CONTRIBUTING.md
2. Please label this pull request according to what type of issue you are addressing, especially if this is a ... | diff --git a/cmd/collector.go b/cmd/collector.go
index a801e3ca..fea39167 100644
--- a/cmd/collector.go
+++ b/cmd/collector.go
@@ -46,7 +46,11 @@ var collectorCMD = &cobra.Command{
// Starting collect data
awsProvider := configStruct.Providers["aws"]
- awsManager := aws.NewAnalyzeManager(collectorManager, awsP... | 4 | 3 | 0 | [{"id": "G0", "claim": "The comment on the ErrResourceNotConfigure declaration should read \"is not configured\" instead of \"not configure\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment above the metric loop should read \"only the ... | null |
similarweb__finala__106 | similarweb/finala | 106 | defect | 9a4d8a71719c45e5134c141e17007484c5dda0a4 | 11854168b047fde5de4c9625b7617fb7b1455a74 | trends feature | **What type of PR is this?**
Backend Feature
**What this PR does / why we need it**:
Create an additional route for trends, for starter, we'll be able to query trends across different executions and summarize their monthly cost.
**Which issue(s) this PR fixes (if exists)**:
Fixes #75
**Special notes for yo... | diff --git a/api/route.go b/api/route.go
index adf24783..90c4040c 100644
--- a/api/route.go
+++ b/api/route.go
@@ -81,6 +81,46 @@ func (server *Server) GetResourceData(resp http.ResponseWriter, req *http.Reques
server.JSONWrite(resp, http.StatusOK, response)
}
+// GetResourceTrends return trends by resource type, ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The hardcoded Size(100) in GetResourceTrends caps the elasticsearch query at 100 records, which is a potential bug; the reviewer asks to first execute the query with size 0 to get TotalHits and then re-execute it with that value as the Size, as done in GetExecutionTags.", "category": "correctnes... | null |
similarweb__finala__110 | similarweb/finala | 110 | defect | 3d9fcb18c0741aa0a829e6dc2b284fa49e695721 | caae4a84202a146cc712ed52ba513157d8ce75ab | Feature/tests improve docdb | **What type of PR is this?**
/tests
**What this PR does / why we need it**:
Improve document DB tests
| diff --git a/collector/aws/resources/docdb_test.go b/collector/aws/resources/docdb_test.go
index a0bc9ccf..67a7daf6 100644
--- a/collector/aws/resources/docdb_test.go
+++ b/collector/aws/resources/docdb_test.go
@@ -3,13 +3,15 @@ package resources
import (
"errors"
awsTestutils "finala/collector/aws/testutils"
- "f... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new 'detection error' subtest appears to repeat a check that the subtest above ('detect documents db') already makes.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The purpose of the new 'detection clodwatch error' s... | null |
similarweb__finala__111 | similarweb/finala | 111 | defect | 3d9fcb18c0741aa0a829e6dc2b284fa49e695721 | c044bf21360309706876db093feb9eb1f817aabe | Feature/add apigateway | **What type of PR is this?**
/feature
**What this PR does / why we need it**:
Detect API Gateway as unused resource
** | diff --git a/README.md b/README.md
index 0e85c384..c6feaaa6 100644
--- a/README.md
+++ b/README.md
@@ -41,9 +41,10 @@ IAM User | :heavy_minus_sign: | :ballot_box_with_check: | [Co
Kinesis | :ballot_box_with_check: | :heavy_minus_sign: | [Collector Config](./configuration/collecto... | 5 | 5 | 0 | [{"id": "G0", "claim": "The Detect method's doc comment should read \"which\" instead of \"with\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debug log message \"check metric\" should read \"checking\".", "category": "maintainability", "ve... | null |
similarweb__finala__114 | similarweb/finala | 114 | defect | 3d9fcb18c0741aa0a829e6dc2b284fa49e695721 | e3a2cef7c858ee74fe406eb17031326fc59faffc | Add support for Version notification on a new version, | **What type of PR is this?**
/backend
**What this PR does / why we need it**:
Add notification to Finala client when a new version is available
| diff --git a/.goreleaser.yml b/.goreleaser.yml
index 08034aae..3de6f425 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -6,7 +6,7 @@ builds:
- darwin
- windows
ldflags:
- - -s -w -X finala/cmd.version={{.Version}} -X finala/cmd.commit={{.Commit}} -X finala/cmd.date={{.Date}} -X finala/cmd.builtBy... | 4 | 4 | 2 | [{"id": "G0", "claim": "Use context.WithCancel so all the contexts can be cancelled in one place instead of the current solution.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new version/version.go file has no tests.", "category": "testing", "verdi... | null |
similarweb__finala__115 | similarweb/finala | 115 | defect | 33b9b144ae6b3bf628ee591b90aa309d3e33672f | 98178b7cfca23b3f73c2a46e75ab125ff4ef17f6 | create index per day | **What type of PR is this?**
/feature
**What this PR does / why we need it**:
Today, all the detect events save in `general` index. To improve our performance and add the ability to delete old data we need to save the data in ES in different index
| diff --git a/api/config/config.go b/api/config/config.go
index e4bdaad5..b63c28ec 100644
--- a/api/config/config.go
+++ b/api/config/config.go
@@ -14,7 +14,6 @@ import (
type ElasticsearchConfig struct {
Username string `yaml:"username"`
Password string `yaml:"password"`
- Index string `yaml:"index"`
... | 6 | 6 | 2 | [{"id": "G0", "claim": "The `now` value passed on to setCurrentIndexDay is the old (pre-midnight) date by the time the function has waited, so the new index would be created from the stale date.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Index-c... | null |
similarweb__finala__123 | similarweb/finala | 123 | defect | ea48a2a92d5e1400a85e89036dd92cff3ca6fc99 | f0b780dcd4fab9b19b381e61259f96ac3881f15c | Add more kinds of DatabaseEngines to RDS |
**What type of PR is this?**
/bug
**What this PR does / why we need it**:
Fixes the pricing filters for aurora-mysql
**Which issue(s) this PR fixes (if exists)**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #122
| diff --git a/collector/aws/resources/rds.go b/collector/aws/resources/rds.go
index 73c09826..39cdcbce 100644
--- a/collector/aws/resources/rds.go
+++ b/collector/aws/resources/rds.go
@@ -197,6 +197,10 @@ func (r *RDSManager) getPricingFilterInput(instance *rds.DBInstance) pricing.Get
databaseEngine = "PostgreSQL"
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The cases \"aurora-mysql\" and \"aurora-postgresql\" should be merged into one case with a comma instead of separate cases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
similarweb__finala__128 | similarweb/finala | 128 | defect | 7405ee5c4283691b65b2d4890a8261599a8ccd4d | 7f86798032382a8c25b367ab772f37f34890408c | Add NAT Gateways detection. | **What type of PR is this?**
/Backend Feature
**What this PR does / why we need it**:
Add NAT Gateway detection
| diff --git a/collector/aws/resources/natgateway.go b/collector/aws/resources/natgateway.go
new file mode 100644
index 00000000..cad05a0a
--- /dev/null
+++ b/collector/aws/resources/natgateway.go
@@ -0,0 +1,264 @@
+package resources
+
+import (
+ "errors"
+ "finala/collector"
+ "finala/collector/aws/common"
+ "finala/co... | 1 | 1 | 0 | [{"id": "G0", "claim": "The usagetype (NatGateway-Hours) pricing filter should be added inside getPricingFilterInput rather than built separately in Detect.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
similarweb__finala__138 | similarweb/finala | 138 | defect | eeca6cf3c48371a009912a78f63502c172d62be2 | 86fc3d30b726a1fc296ffeec4ea8a28db5e6ece1 | Feature/es testing | **What type of PR is this?**
/Maintenance
**What this PR does / why we need it**:
Add unitesting to elasticsearch package storage
**Which issue(s) this PR fixes (if exists)**:
Fixes #135
| diff --git a/api/storage/elasticsearch/client.go b/api/storage/elasticsearch/client.go
new file mode 100644
index 00000000..8893085d
--- /dev/null
+++ b/api/storage/elasticsearch/client.go
@@ -0,0 +1,73 @@
+package elasticsearch
+
+import (
+ "finala/api/config"
+ "fmt"
+ "strings"
+ "time"
+
+ elastic "github.com/oliv... | 5 | 5 | 0 | [{"id": "G0", "claim": "The connectionInterval comment should read \"defines the time duration to wait\" instead of \"defines the time wait duration\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The connectionTimeout comment should read \"maxi... | null |
similarweb__finala__139 | similarweb/finala | 139 | defect | eeca6cf3c48371a009912a78f63502c172d62be2 | 473ad3360a116f3e4724c76e1be579a067cee09d | Feature/aws profile auth | **What type of PR is this?**
/Feature
**What this PR does / why we need it**:
Allow authenticate to aws with multiple profiles
**Which issue(s) this PR fixes (if exists)**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes... | diff --git a/collector/aws/auth.go b/collector/aws/auth.go
index 0ed55fc6..2ec1dcea 100644
--- a/collector/aws/auth.go
+++ b/collector/aws/auth.go
@@ -6,29 +6,87 @@ import (
"github.com/aws/aws-sdk-go/aws/credentials/stscreds"
"github.com/aws/aws-sdk-go/aws/session"
log "github.com/sirupsen/logrus"
+
+ "finala/co... | 5 | 4 | 1 | [{"id": "G0", "claim": "Login should try the profile first and only then the static access key/secret key, since the profile is the more secured choice when both are defined.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the fallback branch with no c... | null |
similarweb__finala__143 | similarweb/finala | 143 | defect | 8bee5b72d0d0c1b190a64e4f15ce3f1d788e0050 | 22c3f3b6687dabd54662e87bb8492a80d65e5d9c | Bug/rds calculation is missing additional costs |
**What type of PR is this?**
/Bug
**What this PR does / why we need it**:
Fix a bug in RDS calculation
Fixes: #68 | diff --git a/collector/aws/resources/rds.go b/collector/aws/resources/rds.go
index 2542611a..b934a3eb 100644
--- a/collector/aws/resources/rds.go
+++ b/collector/aws/resources/rds.go
@@ -7,6 +7,7 @@ import (
"finala/collector/aws/register"
"finala/collector/config"
"finala/expression"
+ "fmt"
"time"
awsClie... | 4 | 4 | 2 | [{"id": "G0", "claim": "The RDS instance and storage price calculation should be moved out of the per-metric loop in Detect, since the price does not depend on the metric being evaluated, and extracted into its own function for readability and testability.", "category": "design", "verdict": "supported", "priority": "P1... | null |
similarweb__finala__24 | similarweb/finala | 24 | defect | 3dc4306a19defb141396347f93a63f766b7dc0c7 | 7dda9bfd84615fe13e150a095c68a1532f2a1a8e | Detect unused AWS volumes | Hey @Isan-Rivkin,
I have added the support to detect unused AWS EC2 volumes.
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9a9a7629..977db2ff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.1.4]
+### Added
+- Add AWS unused volumes detection.
+
## [0.1.3] - 2019-15-11
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename the exported interface EC2VolumeClientDescreptor to EC2VolumeClientDescriptor to fix the spelling typo.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the constructor function NewVolumesanager to NewVolumesM... | null |
similarweb__finala__30 | similarweb/finala | 30 | defect | 3c87d1c9908cc7ec54b852525316fcd93b838fce | f742129998092a7f2dae1a5f3c6d44b6e757754e | Feature/add alb support | This is adding integration with elbv2 from go-sdk service which is adding support for analyzing aws Application ELB in same way as classic ELB
| diff --git a/.vscode/launch.json b/.vscode/launch.json
index c54fa7ba..f1b6d3f2 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -12,6 +12,18 @@
"program": "${workspaceRoot}",
"env": {},
"args": ["aws","-c", "config.yaml"]
- },
+ }, {
+ ... | 7 | 6 | 0 | [{"id": "G0", "claim": "The 'Test' debug launch configuration in .vscode/launch.json should be renamed to the name of the program.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README's elbv2 example is misaligned with config.yaml and shoul... | null |
similarweb__finala__36 | similarweb/finala | 36 | defect | 600844c7f318bf5ad9485972bf7098fcf739e254 | 68c758fa620015cf5639752ee16ecddb4f5ed407 | Detect IAM user last activity |
**What type of PR is this?**
Feature
**What this PR does / why we need it**:
Detect last IAM user activity
**Special notes for your reviewer**:
I have added new configuration for resource configuration and add global
| diff --git a/README.md b/README.md
index f522ec42..024b81f4 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@ The tool is based on yaml definitions (no code), by default configuration OR giv
## Supported Services
AWS:
+* IAM user last activity
* RDS
* EC2 (ELB, ALB, EBS)
* DynamoDB
diff --git a/cmd/aws.go b... | 6 | 5 | 0 | [{"id": "G0", "claim": "The log message says \"access key lat used metadata\" and the typo should be corrected to \"last\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper should be renamed from passDays to passedDays because the name's ... | null |
similarweb__finala__38 | similarweb/finala | 38 | defect | c70e364701018cc5faf79b7ca4a6b722a6f6291c | e2050a8b2cbf9080395457f40336930462ba9fdf | Support pagination | **What type of PR is this?**
Backend Feature
**What this PR does / why we need it**:
Add AWS pagination support
| diff --git a/provider/aws/docdb.go b/provider/aws/docdb.go
index 912a0ed2..0b154b64 100644
--- a/provider/aws/docdb.go
+++ b/provider/aws/docdb.go
@@ -72,7 +72,7 @@ func (r *DocumentDBManager) Detect() ([]DetectedDocumentDB, error) {
log.Info("Analyze documentDB")
detectedDocDB := []DetectedDocumentDB{}
- instanc... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add the recursion function for DocDB so DescribeInstances follows resp.Marker and fetches all pages instead of only the first.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
similarweb__finala__52 | similarweb/finala | 52 | defect | cf460e2c446e7ba45d861494f186b830243b43ee | daf6bf11d7c0085c1080626a9de57d794c7af212 | Add the support to detect under-utilized Neptune | This Merge request adds the ability to analyze AWS Neptune Databases which are under-utilized.
| diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index aca19e95..00000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit... | 1 | 1 | 0 | [{"id": "G0", "claim": "The per-instance log line in NeptuneManager.Detect should be logged at Debug level instead of Info.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
similarweb__finala__57 | similarweb/finala | 57 | defect | e6315890bc9890407aa794ba4ec52da8f0d265a7 | f555634a7c7f15af56a4ed58fac8d2cbde327fa6 | Bugfix/dynamo db pricing calculation | <!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://github.com/similarweb/finala/blob/master/CONTRIBUTING.md
2. Please label this pull request according to what type of issue you are addressing, especially if this is a ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index dc45956a..070aef3a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+- F... | 2 | 2 | 0 | [{"id": "G0", "claim": "The errors.New(\"Action not supported\") in GetMetric's default case should be moved to a constant at the top of the file so it can be reused.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added formula evaluat... | null |
similarweb__finala__59 | similarweb/finala | 59 | defect | e6315890bc9890407aa794ba4ec52da8f0d265a7 | 0dc9199267480221b2cf43ff3103770af2631ed5 | Feature/add kinesis resource detection | **What type of PR is this?**
Backend Feature
Bug fix
**What this PR does / why we need it**:
This PR adds the ability to detect unutilized Kinesis data streams.
**Which issue(s) this PR fixes (if exists)**:
This PR fixes an issue in Finala's AWS pricing manager.
Until this PR each pricing API request issued ... | diff --git a/collector/aws/docdb.go b/collector/aws/docdb.go
index cff34496..dd1babc8 100644
--- a/collector/aws/docdb.go
+++ b/collector/aws/docdb.go
@@ -94,7 +94,7 @@ func (dd *DocumentDBManager) Detect() ([]DetectedDocumentDB, error) {
log.WithField("name", *instance.DBInstanceIdentifier).Debug("checking docume... | 9 | 8 | 0 | [{"id": "G0", "claim": "The per-stream `now := time.Now()` should be moved out of the streams loop since a different time per stream is not needed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The streamCreateTime variable is unnecessary; the code... | null |
similarweb__finala__63 | similarweb/finala | 63 | defect | 5ccf772c8bbb031a355108d11642fc2d5bd2be0f | 4dd65556939c73e2352c0e5e1ab5af4cb605a547 | Add the total potential costs for a notification group | **What type of PR is this?**
Backend
**What this PR does / why we need it**:
Add the total potential cost per notification group via Slack
Issue: https://github.com/similarweb/finala/issues/61 | diff --git a/api/storage/structs.go b/api/storage/structs.go
index a567445f..b4821f6e 100644
--- a/api/storage/structs.go
+++ b/api/storage/structs.go
@@ -16,14 +16,14 @@ type StorageDescriber interface {
GetResources(resourceType string, executionID string) ([]map[string]interface{}, error)
}
-// Executions defin... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment above greenMessageColor still says '// MessageColor color to use' and should be updated to match the renamed variable.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment above blueMessageColor still says... | null |
similarweb__finala__73 | similarweb/finala | 73 | defect | 62a3b2717bb16c55d6841250470ee56f36cb998b | 9c65fc9d172be23234c1821e33f4e40ae47ecb7d | Add the option to filter resources by Tags in the API | **What type of PR is this?**
Backend Feature API
**What this PR does / why we need it**:
We want consumers of Finala to be able to filter specific resources per team or per stack to be focused in resources they want to cut costs.
**Which issue(s) this PR fixes (if exists)**:
Fixes #72 | diff --git a/api/httpparameters/get.go b/api/httpparameters/get.go
index 076df3fe..bdd4cb18 100644
--- a/api/httpparameters/get.go
+++ b/api/httpparameters/get.go
@@ -1,6 +1,10 @@
package httpparameters
-import "net/http"
+import (
+ "net/http"
+ "net/url"
+ "strings"
+)
// QueryParamWithDefault return query para... | 3 | 3 | 2 | [{"id": "G0", "claim": "Add a query parameter with a key that does not carry the `bla` prefix to the test, to check that such a field is not returned in the filters.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider limiting the size of the tags r... | null |
similarweb__finala__74 | similarweb/finala | 74 | defect | 62a3b2717bb16c55d6841250470ee56f36cb998b | 938137a08bab6811bfa0ffad7d79055ae445c62f | Add Redshift resource detection | **What type of PR is this?**
Backend Feature
**What this PR does / why we need it**:
Add redshift resource detection
| diff --git a/collector/aws/redshift.go b/collector/aws/redshift.go
new file mode 100644
index 00000000..d9d2bcce
--- /dev/null
+++ b/collector/aws/redshift.go
@@ -0,0 +1,243 @@
+package aws
+
+import (
+ "finala/collector"
+ "finala/collector/config"
+ "finala/expression"
+ "fmt"
+ "time"
+
+ awsClient "github.com/aws/... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add a log error message on the expression-parsing error branch in collector/aws/redshift.go that currently just continues silently.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update the helm chart with the new Redshif... | null |
similarweb__finala__76 | similarweb/finala | 76 | defect | 8f94bb28b0f837b045e091b048ca748ad5124c51 | 02b940bfaf124aed5ac9746f122aba45f64fb2d6 | Fix the pricing for ELB | **What type of PR is this?**
Bug
**What this PR does / why we need it**:
Fix the pricing of ELB
**Which issue(s) this PR fixes (if exists)**:
Today we are calculating the price of ELB as an Application Load Balancer which is wrong. | diff --git a/collector/aws/elb.go b/collector/aws/elb.go
index 94bd3fc9..e4494504 100644
--- a/collector/aws/elb.go
+++ b/collector/aws/elb.go
@@ -51,7 +51,7 @@ func NewELBManager(collector collector.CollectorDescriber, client ELBClientDescr
pricingClient: pricing,
region: region,
namespace: ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The ELB pricing filters should not rely on matching the groupDescription field; a better filter (such as the usagetype pricing term) should be used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should define and... | null |
similarweb__finala__98 | similarweb/finala | 98 | defect | 504fde21e4db7d1412b95557965c859aa11d44d1 | 3a2f8c960563e9867b25a27dd50bd6c667a82802 | Feature/add elasticsearch resource detection | **What type of PR is this?**
/Backend Feature
**What this PR does / why we need it**:
Add a new resource to Collector's detection : ElasticSearch | diff --git a/collector/aws/elasticsearch.go b/collector/aws/elasticsearch.go
new file mode 100644
index 00000000..7f0c61d2
--- /dev/null
+++ b/collector/aws/elasticsearch.go
@@ -0,0 +1,290 @@
+package aws
+
+import (
+ "finala/collector"
+ "finala/collector/config"
+ "finala/expression"
+ "fmt"
+ "time"
+
+ awsClient "... | 13 | 12 | 5 | [{"id": "G0", "claim": "The inline pricing filter struct literals passed to GetPrice are hard to read and should be moved into a named variable so it is clear what is being sent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The EBSPrice variab... | null |
simnalamburt__obj-rs__78 | simnalamburt/obj-rs | 78 | defect | 27fd4ac7413b8003ec5bbb3ecfbefa76574839ee | 81b5af6d5e4cfd7fb4593a71850f450f43250a90 | Parse material texture map options | Resolve #76 , progresses #75 | diff --git a/obj-rs/src/raw/material.rs b/obj-rs/src/raw/material.rs
index 3338309..f81e4f1 100644
--- a/obj-rs/src/raw/material.rs
+++ b/obj-rs/src/raw/material.rs
@@ -1,12 +1,11 @@
//! Parses `.mtl` format which stores material data
-use std::collections::HashMap;
-use std::io::BufRead;
-use std::mem::take;
-
use... | 1 | 1 | 0 | [{"id": "G0", "claim": "The setter functions on MtlTextureMap are unnecessary since all of the struct's fields are public and users can modify field values directly, so they should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
simonepelosi__vibez__43 | simonepelosi/vibez | 43 | defect | 8f0ecc1621f70f9c8aa5e391974a1ae0b7340e11 | 7024f2fa06eda8ef48bf155e13c78421a43366ce | feat: Tune Chrome audio flags for WSL2 and remove single-process mode | This pull request refactors how Chromium launch arguments are constructed for the player, moving them into a dedicated helper function and updating the arguments to improve audio handling on Linux/WSL2. It also adds a unit test to ensure the correct flags are present.
**Refactoring and code organization:**
* Extr... | diff --git a/internal/player/cdp/player.go b/internal/player/cdp/player.go
index d4c2670..4b9afe8 100644
--- a/internal/player/cdp/player.go
+++ b/internal/player/cdp/player.go
@@ -96,44 +96,7 @@ func New(devToken, userToken, storefront string) (*Player, error) {
// (no auth UI needed); show a real window for first-r... | 4 | 4 | 2 | [{"id": "G0", "claim": "The WSL2-specific Chrome audio flags should be hidden behind a `wsl` flag in the config file, set to true when running under WSL2.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update the CHANGELOG.", "cat... | null |
simonepelosi__vibez__46 | simonepelosi/vibez | 46 | defect | 8f0ecc1621f70f9c8aa5e391974a1ae0b7340e11 | 5b81c0d9c6b4ea47b914069c5c5cf3d5995ecf09 | Add configurable Apple Music audio quality | ## Summary
- add `audio_quality` config with high/standard options
- add `:quality` command for 256/64 kbps AAC
- clearly reject lossless/unsupported values for MusicKit web backend
## Tests
- `PKG_CONFIG_PATH=$PWD/pkg-config go test ./...`
- `PKG_CONFIG_PATH=$PWD/pkg-config go build ./...`
- `node internal/player/web... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f1fe49..6e96d3d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
+
+- **Configurable Apple Music audio quality** — set `audio_quality` in
+ `conf... | 3 | 3 | 3 | [{"id": "G0", "claim": "On the WebKit backend SetAudioBitrate validates the input and then unconditionally returns a hard error, so a valid `:quality high` surfaces an error to the user; consider storing the preference in config so the next launch applies it, or returning a clearly worded 'saved for next session but ca... | null |
simonepelosi__vibez__47 | simonepelosi/vibez | 47 | defect | 8f0ecc1621f70f9c8aa5e391974a1ae0b7340e11 | da9e15806e52b9777d0e3ddd80272ce7e0b2719b | Add library sections for songs albums artists playlists | ## Summary
- show Songs, Albums, Artists, Playlists when opening Library
- add drill-down/playback for songs, album groups, artist groups, playlists
- preserve playlist behavior with back navigation
## Tests
- `go test ./internal/tui/views ./internal/tui`
- `go test ./...` | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f1fe49..579a46a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
+
+- **Library sections** — the library panel now opens to Songs, Albums, Artists... | 4 | 4 | 4 | [{"id": "G0", "claim": "The `paneList = paneItems` alias is confusing and diverges from PR #45's semantics; remove the alias and use `paneItems` consistently or rename it to something clearer.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "loadL... | null |
simongog__sdsl-lite__199 | simongog/sdsl-lite | 199 | defect | f6b4d58dcf5bc4c5c1cb22c2a357d74961494119 | dd9811d2f7f7f25fe392fa5d3dc75e3ed54aa0bb | K2 treap | An efficient k^2-treap implementation.
Features:
- in-place construction
- k can be specified as template parameter
- methods: 4-sided top-K queries, 4-sided count and locate queries
| diff --git a/examples/k2_treap_in_mem.cpp b/examples/k2_treap_in_mem.cpp
new file mode 100644
index 000000000..6fe25d38b
--- /dev/null
+++ b/examples/k2_treap_in_mem.cpp
@@ -0,0 +1,42 @@
+#include <iostream>
+#include <vector>
+#include <tuple>
+#include <string>
+#include <complex>
+#include <sdsl/k2_treap.hpp>
+#incl... | 2 | 2 | 0 | [{"id": "G0", "claim": "The k2_treap class documentation ends with the dangling sentence 'The k^2 treap efficiently supports' and never states what it supports.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The static_assert condition 't_k<=16' d... | null |
simonw__csvs-to-sqlite__81 | simonw/csvs-to-sqlite | 81 | defect | a8a37a016790dc93270c74e32d0a5051bc5a0f4d | cdda83d4ca89df2e79fc22b0f044175c2d8889cd | add "fixed-column" option | For colname:value, add a column colname and populate with value.
The use case here is that I have a snakemake workflow that produces a lot of csv files with a structure like:
`samples/<sample_id>/<condition_name>/this.csv`
I want to import them all into the same table, where `sample_id` and `condition_name` are co... | diff --git a/README.md b/README.md
index 31776b9..813c68a 100644
--- a/README.md
+++ b/README.md
@@ -148,6 +148,8 @@ They will be populated with IDs that reference the new derived tables.
csvcol:dbcol(TYPE),...
--filename-column TEXT Add a column with this name and popul... | 4 | 3 | 1 | [{"id": "G0", "claim": "The --fixed-column option should use click's multiple (str, str) tuple syntax (e.g. --fixed-column col1 foo), as in sqlite-utils, rather than implementing its own split on the ':'.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
simonw__datasette__2183 | simonw/datasette | 2,183 | defect | a4c96d01b27ce7cd06662a024da3547132a7c412 | 286983575f32b4936b7307f5179dbb6b2bb385af | `datasette.yaml` plugin support | Part of #2093
In #2149 , we ported over `"settings.json"` into the new `datasette.yaml` config file, with a top-level `"settings"` key. This PR ports over plugin configuration into top-level `"plugins"` key, as well as nested database/table plugin config.
From now on, no plugin-related configuration is allowed in... | diff --git a/datasette/app.py b/datasette/app.py
index fdec2c86ca..5348600714 100644
--- a/datasette/app.py
+++ b/datasette/app.py
@@ -368,7 +368,7 @@ def __init__(
for key in config_settings:
if key not in DEFAULT_SETTINGS:
raise StartupError("Invalid setting '{}' in datasette.js... | 3 | 1 | 0 | [{"id": "G0", "claim": "Datasette should error loudly with an explanatory message (suggesting datasette.yaml, or datasette.json if metadata.json was used) when loading -m metadata.json that includes \"plugins\" configuration.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"},... | null |
simonw__datasette__2306 | simonw/datasette | 2,306 | defect | 8b6f155b45b360a1c649efb24f985d926bb76991 | eacf20cbff00b4b60205bca945e1406e950b64ed | Add ETag header for static responses | Related to https://github.com/simonw/datasette/issues/1645
This PR adds ETag headers for static responses. Adding cache-control headers was previously discussed but nothing done yet, so I've thought adding ETag headers would drastically reduce bandwidth meanwhile. Specially, when quickly deploying to Vercel or Fly, ... | diff --git a/datasette/utils/__init__.py b/datasette/utils/__init__.py
index 9c0bbfa330..e110891119 100644
--- a/datasette/utils/__init__.py
+++ b/datasette/utils/__init__.py
@@ -1,5 +1,6 @@
import asyncio
from contextlib import contextmanager
+import aiofiles
import click
from collections import OrderedDict, named... | 2 | 2 | 1 | [{"id": "G0", "claim": "Serving static files can fail at runtime with h11's LocalProtocolError \"Too little data for declared Content-Length\".", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The `from unittest import mock` import added at the top of... | null |
simonw__datasette__2352 | simonw/datasette | 2,352 | defect | 64a125b860eda6f821ce5a67f48b13fd173d8671 | c15bddecd31cb111a68c31e6704004bda1a3c923 | Test against multiple SQLite versions |
<!-- readthedocs-preview datasette start -->
----
📚 Documentation preview 📚: https://datasette--2352.org.readthedocs.build/en/2352/
<!-- readthedocs-preview datasette end --> | diff --git a/.github/workflows/test-support.yml b/.github/workflows/test-support.yml
new file mode 100644
index 0000000000..6cb3938850
--- /dev/null
+++ b/.github/workflows/test-support.yml
@@ -0,0 +1,55 @@
+name: Test
+
+on: [push, pull_request]
+
+permissions:
+ contents: read
+
+jobs:
+ test:
+ runs-on: ${{ mat... | 5 | 5 | 0 | [{"id": "G0", "claim": "test_derive_named_parameters fails on the \"0:00\" trick string (caused by issue #2353), and the AttributeError workaround does not resolve it because the whole point of the test is to confirm the trick avoids that string.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
simonw__llm__1185 | simonw/llm | 1,185 | defect | 24f32fe7b4679d01517fd572396b3f34550931d3 | 3342ef2e05884511e4210c877b7c150273a52180 | Toolbox.add_tool() mechanism | Refs:
- #1111
TODO:
- [x] Decide if things added by `add_tool()` should be normal functions or if they should be transformed into methods which can do something useful by using `self` to access original class configuration.
- [x] Implement the `.add_tool(fn, use_as_method=True)` mechanism
- [x] Add documentation... | diff --git a/README.md b/README.md
index 872be6168..92cde72d1 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,7 @@ With LLM you can:
- [Store prompts and responses in SQLite](https://llm.datasette.io/en/stable/logging.html#logging)
- [Generate and store embeddings](https://llm.datasette.io/en/stable/embeddings/in... | 5 | 1 | 0 | [{"id": "G0", "claim": "The class attribute `_extra_tools` is shared across all Toolbox instances, so tools added to one instance would appear in all instances; it should be initialized per instance in `__init__`.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", ... | null |
simpeg__discretize__156 | simpeg/discretize | 156 | defect | fe80c4561862aba1e130033ae148c75ebd7027ea | f16da83945a486a13391114a42b201f073f4c6da | Make matplotlib a soft dependency | Addresses issue #155 .
Here is a first go at it. I only included it in `View.py` and `Test.py`, and removed `matplotlib` from `setup.py`; the `@requires`-decorator is in `utils/codeutils.py`. So I expect it will fail hilariously on every testing platform.
Any opinions @lheagy, @rowanc1?
I don't think I can do ... | diff --git a/discretize/Tests.py b/discretize/Tests.py
index fe822b896..815466421 100644
--- a/discretize/Tests.py
+++ b/discretize/Tests.py
@@ -5,6 +5,7 @@
from discretize.utils import mkvc, sdiag
from discretize import utils
from discretize import TensorMesh, CurvilinearMesh, CylMesh
+from discretize.utils.codeuti... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `@requires` decorator should sit on the class rather than on the individual plotting methods.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `@requires` decorator applied to the `if plotIt:` statement in `Tests.py` errors ... | null |
simpeg__discretize__198 | simpeg/discretize | 198 | defect | e353fb53ec254aa2a18733679da3fddae71ddbb7 | 802ee6445a7a819fb04ffd856e996ce9e94b1cf7 | Refine tree xyz | Addresses issue #197

Cleanup and speed up the `surface2ind_topo` function from `simpeg.utils.modelutils`
:
Function that sets the boundary conditions for cell-centred derivative
operators... | 2 | 2 | 1 | [{"id": "G0", "claim": "The docstring section header in base_mesh.py should be capitalized to `Examples` instead of `examples`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "active_from_xyz will not work as is for a fully 3D CylMesh (y is used fo... | null |
simpeg__discretize__297 | simpeg/discretize | 297 | defect | 1788cb0f7192f749bcd7d9bdab3d6deee348ba89 | 597a37fbc6c86dd5ceac27273c7a8befe44bb113 | Add new refine surface, bounding box, and point refine methods. | This is intended to replace the functionality of the `refine_tree_xyz` utility, which will be marked as deprecated.
The new functions have slightly more intuitive inputs (in my opinion). They use the `level` argument to explicitly refer to the octree level, and `padding_cells_by_level` to refer to the amount of paddin... | diff --git a/discretize/_extensions/tree_ext.pyx b/discretize/_extensions/tree_ext.pyx
index d7d617264..114eecc31 100644
--- a/discretize/_extensions/tree_ext.pyx
+++ b/discretize/_extensions/tree_ext.pyx
@@ -521,9 +521,9 @@ cdef class _TreeMesh:
----------
points : (N, dim) array_like
Th... | 10 | 4 | 2 | [{"id": "G0", "claim": "The deprecation warnings added for the deprecated `refine_tree_xyz` options do not print even when the deprecated code path runs.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Compiling the Cython/C++ extension code produces... | null |
simpeg__discretize__325 | simpeg/discretize | 325 | defect | bfb9237de28cf77a142b313e787c3c3ab785fce5 | 48674b675d3e2bbef95dedabd5235c2f0bbde01c | Add new TensorCell class | The new `TensorCell` class represents a single cell in a TensorMesh, with `center`, `bounds`, `neighbors`, `nodes`, `edges` and `faces` properties. Add `__iter__` and `__getitem__` methods to `TensorMesh`. The latter allows to obtain a single cell in the mesh based on their indices. The former allows to iterate over ev... | diff --git a/discretize/__init__.py b/discretize/__init__.py
index 76ca5fbe7..49a3ef61b 100644
--- a/discretize/__init__.py
+++ b/discretize/__init__.py
@@ -35,6 +35,7 @@
from discretize.curvilinear_mesh import CurvilinearMesh
from discretize.unstructured_mesh import SimplexMesh
from discretize.utils.io_utils import... | 3 | 2 | 1 | [{"id": "G0", "claim": "TensorMesh.__getitem__ should accept both linear indices (mesh[i_cell]) and tuples (mesh[ix, iy, iz]), relying on numpy's ravel_multi_index to reliably convert from the tuple to the linear index.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
simpeg__discretize__333 | simpeg/discretize | 333 | defect | 58043b933c5fefdf8a68110382f8cfc33acfc57d | da65cc25eb8a203995f4337ff84b00ee5fa61c70 | Add cell_nodes property to TensorMesh | Add a new `cell_nodes` property to `TensorMesh` that mimics the one of `TreeMesh` returning the indices of the nodes that correspond to each cell in the mesh. Add tests for the new feature.
| diff --git a/discretize/tensor_mesh.py b/discretize/tensor_mesh.py
index 945c55542..e7f6c090c 100644
--- a/discretize/tensor_mesh.py
+++ b/discretize/tensor_mesh.py
@@ -590,6 +590,43 @@ def face_boundary_indices(self):
indzu = self.gridFz[:, 2] == max(self.gridFz[:, 2])
return indxd, indxu, in... | 1 | 1 | 0 | [{"id": "G0", "claim": "A detail about the ordering of the nodes returned by the list should likely be added to the cell_nodes docstring (both here in TensorMesh and in the TreeMesh while at it), e.g. showing that for a 2D mesh the order is 2 -- 3 on top and 0 -- 1 at the bottom.", "category": "documentation", "verdict... | null |
simpeg__discretize__366 | simpeg/discretize | 366 | defect | 1ab5e9aacc0aa683d77f2c768e916ce624eec093 | 21d5333745fe687294b17552b051b9bb31ca223d | Add `TensorMesh.cell_bounds` property | Add a new `cell_bounds` property to `TensorMesh` that returns the bounds of each cell in the mesh. This implements a faster way to obtain the bounds of each cell in the mesh than trying to access them through `TensorCell.bounds`.
| diff --git a/discretize/tensor_mesh.py b/discretize/tensor_mesh.py
index 1444fd910..6adb82e52 100644
--- a/discretize/tensor_mesh.py
+++ b/discretize/tensor_mesh.py
@@ -593,6 +593,36 @@ def face_boundary_indices(self):
indzu = self.gridFz[:, 2] == max(self.gridFz[:, 2])
return indxd, indxu, in... | 1 | 1 | 0 | [{"id": "G0", "claim": "The cell_bounds implementation should be replaced with a cleaner one that derives the bounds from the mesh nodes via reshape/slice/stack instead of computing centers minus/plus widths per dimension.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
simpeg__discretize__394 | simpeg/discretize | 394 | defect | 60f3af15697c701d2ea8f3c08ceebd72a33e3dbe | f22890171499ab0ab02afdd0917be5d4266801f5 | Add safeguards to TreeMesh properties | Raise errors when trying to access some of the `TreeMesh` properties before it gets finalized. The properties that got the safeguards are the ones that generate an ill-defined mesh if they are accessed before finalizing the mesh. Add tests to check if the errors are correctly raised.
Fixes #293 #392
## What's a... | diff --git a/discretize/_extensions/tree_ext.pyx b/discretize/_extensions/tree_ext.pyx
index 07de49ebd..a57a317a2 100644
--- a/discretize/_extensions/tree_ext.pyx
+++ b/discretize/_extensions/tree_ext.pyx
@@ -1959,6 +1959,7 @@ cdef class _TreeMesh:
(n_cells, dim) numpy.ndarray of float
Gridded cel... | 2 | 2 | 0 | [{"id": "G0", "claim": "The safeguard should raise a dedicated error class, a subclass of RuntimeError, instead of the generic error it currently raises.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message and signature need not distinguish ... | null |
simpeg__discretize__54 | simpeg/discretize | 54 | defect | 5bbfc32f6304ef2fc46155e210b3c7e606936188 | 2c007bf3f91c83fd7a4e18dd2899d4c84b1bbc3f | readUBC: loading either 2D or 3D mesh | - discretize.TensorMesh.readUBC is now a wrapper for loading either 2D or 3D mesh
- discretize.TensorMesh.readUBC can take care of recognizing if the file is a 2D or 3D UBC mesh, or it can be an input given by the user (arg: *meshdim*)
- the original functions are now *hidden* class function under discretize.TensorM... | diff --git a/discretize/MeshIO.py b/discretize/MeshIO.py
index 703754a8c..71a0156f4 100644
--- a/discretize/MeshIO.py
+++ b/discretize/MeshIO.py
@@ -44,6 +44,63 @@ def readCellLine(line):
# Make the mesh
tensMsh = TensorMesh([h1, h2, h3], x0)
return tensMsh
+
+ @classmethod
+ def re... | 5 | 5 | 1 | [{"id": "G0", "claim": "The pull request should add a test for the new UBC 2D mesh reader, similar to the existing tensor IO test: load a small UBC mesh file from the test directory and run sanity checks on it.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
simpeg__discretize__77 | simpeg/discretize | 77 | defect | 267c9fd1d16ca5c0da72bb3e7dc70b5b72c549af | a4ffee479a37e62a9bf267e60bba009fd270c50e | GridH function | This function works for TensorMesh and TreeMesh types. Much like gridCC, gridH returns [hx,hy,hz] as a Nx3 numpy array. This function is important for multiple potential fields problems (Mag, VRM, grav) in 3d. | diff --git a/discretize/TensorMesh.py b/discretize/TensorMesh.py
index 20bb250d1..0e3c4208e 100644
--- a/discretize/TensorMesh.py
+++ b/discretize/TensorMesh.py
@@ -159,6 +159,24 @@ def gridN(self):
"""Nodal grid."""
return self._getTensorGrid('N')
+ @property
+ def gridH(self):
+ """Ce... | 8 | 8 | 5 | [{"id": "G0", "claim": "The added code should follow PEP8 (e.g. a space after commas, as in np.meshgrid(H[0], H[1])) and a pep8 linter should be installed to keep it readable.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The property name grid... | null |
simple-icons__simple-icons__10276 | simple-icons/simple-icons | 10,276 | defect | 0902d6907c7f13663130c401a6c8969847ce6dd5 | 3a3d1bcde6a4e9deb881a138784849b69cc5c13c | Refactor JSONSchema and URL checks | - Deduplicates URL regex checks and definitions.
- Uses `const` instead of single value enum for custom license types in JSONSchema.
- Includes *.jsonschema.json* file in JS package.
- Improves types for `getIconsData*` functions of SDK. | diff --git a/.jsonschema.json b/.jsonschema.json
index 446da0574a18..7b7ef47195c3 100644
--- a/.jsonschema.json
+++ b/.jsonschema.json
@@ -599,9 +599,8 @@
"required": ["type", "url"],
"properties": {
"type": {
- "description": "The license name or 'custom'... | 3 | 1 | 0 | [{"id": "G0", "claim": "The description of the \"duplicate\" schema entry should be reworded from \"A duplicated brand\" to \"A brand that uses the same icon\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changes proposed in PR #10573 must be b... | null |
simple-icons__simple-icons__10863 | simple-icons/simple-icons | 10,863 | defect | 32e8072d5236dee57b73c7fe1dad262d5b795b0f | 30ef9680cdef652f8e4b14eabbeda34223c1bf96 | Use `import.meta.dirname` & `import.meta.filename` | This API requires Node.js `^20.11 || >=22` . See https://nodejs.org/api/esm.html#importmetadirname.
In the meantime, we can consider publishing the SDK with a new package, for example `@simple-icons/sdk`. | diff --git a/.xo-config.json b/.xo-config.json
index 5bc1ec3f8386..be0c05d35567 100644
--- a/.xo-config.json
+++ b/.xo-config.json
@@ -47,7 +47,7 @@
"svglint.config.mjs",
"svgo.config.mjs"
],
- "nodeVersion": ">=18"
+ "nodeVersion": ">=20.11"
}
]
}
diff --git a/scripts/build/... | 2 | 2 | 2 | [{"id": "G0", "claim": "The `import.meta.dirname` change needs to be applied to the new function `getThirdPartyLibraries` too.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The `urlRegex` function can be moved to *scripts/add-icon-data.js*, which i... | null |
simple-icons__simple-icons__10977 | simple-icons/simple-icons | 10,977 | defect | 734e07717e461265ca762257420a4068bebd2725 | 37605b4bd22c10def9abc03a237e1856592d9a04 | Updates to README ahead of `v12`. | This PR serves two functions:
- Split extensions to 3rd Party tooling out into their own category.
- Remove libraries that have not kept up to date with the latest releases.
## Removed Extensions
> [!IMPORTANT]\
> Removal of extensions from the list just means we don't 'endorse' them, given they are not keepin... | diff --git a/README.md b/README.md
index d40bd8f8e5e7..d6ab37b1a4c3 100644
--- a/README.md
+++ b/README.md
@@ -150,43 +150,39 @@ echo file_get_contents('path/to/package/icons/simpleicons.svg');
## Third-Party Extensions
-| Extension | Author | License | Simple Icons Version |
+The below are known extensions to thi... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new getThirdPartyLibraries parser should locate the '## Third-Party Libraries' heading with .split('## Third-Party Libraries')[1].split('\\n\\n')[2] instead of splitting on the full long hard-coded heading string, which is fragile.", "category": "maintainability", "verdict": "supported", "pr... | null |
simple-icons__simple-icons__13466 | simple-icons/simple-icons | 13,466 | defect | cfe55cfc98db502b0ac5abff53c958eb8e4bd00e | 720dfcbef9e7701bbf2a62a04133a61cf599a5f8 | Require `// @ts-check` at the beginning of JS files | Continuation of #12840. This adds linting to ensure that all JS files include a `// @ts-check` comment at the beginning. | diff --git a/package-lock.json b/package-lock.json
index dc374d53b0b5..aec2b06f1f55 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -24,6 +24,7 @@
"chalk": "5.4.1",
"editorconfig-checker": "6.0.1",
"esbuild": "0.25.3",
+ "eslint-plugin-headers": "1.3.3",
"eslint-plugin-import-x": "4.13.... | 1 | 1 | 0 | [{"id": "G0", "claim": "If a `// @ts-expect-error` suppression has to stay in tests/min-reporter.cjs, it should carry a description saying which error is ignored and why (`// @ts-expect-error: Xxx`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
simple-icons__simple-icons__13510 | simple-icons/simple-icons | 13,510 | defect | 2a0db0df5d5f7fd5ccda9dd8151c6b6c485b81bf | f0a239f4fb460b64aaa69cf5542337aed37eedbd | Add type declarations for data JSON entry | This PR adds a declaration file for `simple-icons/data.json`.
I've copied the `IconData` from `sdk.d.ts` to `types.ts`. We can consider removing the `IconData` from the `sdk.d.ts` in the next major release.
The `icons.json.d.ts` has two types of default export `export default Icons` and `export = Icons;` because ... | diff --git a/.gitignore b/.gitignore
index 7b569c6c09db..24bb72ab01ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
/index.mjs
/index.d.ts
/sdk.js
+/data/simple-icons.json.d.ts
# Ignore all files in the icons folder
icons/*
diff --git a/package.json b/package.json
index 194793a92389..094a138306be 1006... | 5 | 4 | 0 | [{"id": "G0", "claim": "The icons-json.d.ts.template file should not be a .template file since it is rendered as is, and should instead be a regular TS file in the project root (preferred), in data/, without the .template suffix, or rendered from a string in the build script.", "category": "design", "verdict": "support... | null |
simple-icons__simple-icons__13533 | simple-icons/simple-icons | 13,533 | defect | 3918101202bd63998dc11c9c227cad575e2103e1 | c6f2b638abdd82072846096edb0841f518800977 | Enforce consistency of titles and slugs | Add linting for slugs and titles. The enforcements are:
- Titles must be unique from other titles of icons that don't have a slug.
- Custom slugs must be necessary (this was a test but now moved to a lint with a proper error message).
- Custom slugs must be normalized, but underscore characters (`_`) are allowed.
... | diff --git a/scripts/build/clean.js b/scripts/build/clean.js
index 15ee2ec288ea..3fb98fde6a3a 100644
--- a/scripts/build/clean.js
+++ b/scripts/build/clean.js
@@ -8,23 +8,10 @@
import fs from 'node:fs/promises';
import path from 'node:path';
import process from 'node:process';
+import {fileExists} from '../utils.js'... | 1 | 1 | 1 | [{"id": "G0", "claim": "The error message should not suggest changing the title of an icon, since that could imply altering a brand's name is permissible.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
simple-salesforce__simple-salesforce__187 | simple-salesforce/simple-salesforce | 187 | defect | d1e71b2e0eff5c6c6cd676e98760dd4f5cb06f83 | c6d1495f5e4757836c8ca7d882af847cf4f5175a | Deprecated sandbox flag in favor of domain flag | This is useful for cases where the login domain is a custom domain, meaning that
it is neither 'login' nor 'test'. Default is 'login', however, so the default behavior is unchanged. Updated current api appropriately (along with non-fatal deprecation warning), while allowing SalesforceApi class to stay the same. | diff --git a/README.rst b/README.rst
index 27af35e5..603dcdd1 100644
--- a/README.rst
+++ b/README.rst
@@ -15,7 +15,7 @@ You can find out more regarding the format of the results in the `Official Sales
.. _Official Salesforce.com REST API Documentation: http://www.salesforce.com/us/developer/docs/api_rest/index.htm
... | 5 | 5 | 4 | [{"id": "G0", "claim": "Remove the **kwargs catch-all and replace it with an explicit `sandbox` parameter (keeping the deprecation warning) in both Salesforce.__init__ and SalesforceLogin, instead of swallowing arbitrary keyword arguments.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
simple-salesforce__simple-salesforce__795 | simple-salesforce/simple-salesforce | 795 | defect | 5c72672614ff8367ef4ed8bf784bb3ee3fc6ee65 | 090e2a35678fb0fbb07171f0c10fe0ceece9a241 | fix: missing key 'name' in exception message | Test and quick fix for #794. With this PR, the exception will only be formatted when `__str__` is called on the respective exception object. In the long run, there's probably a more thorough cleanup necessary. This is just a quick solution to avoid running into these `KeyError` exceptions if SF responds with a 404. | diff --git a/simple_salesforce/exceptions.py b/simple_salesforce/exceptions.py
index 9af796d3..cbdefe98 100644
--- a/simple_salesforce/exceptions.py
+++ b/simple_salesforce/exceptions.py
@@ -24,7 +24,7 @@ def __init__(
resource_name: Name of the Salesforce resource being queried
content: conte... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks that the .format(url=url, content=content) call be kept, because self.message contains {} placeholders that need formatting.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
simple-statistics__simple-statistics__103 | simple-statistics/simple-statistics | 103 | defect | 493e046bbaa08864b428588cd6aa8dd72e3f74e2 | a2d02ae6a5d6d0b473c53b2725a7302fa26909fc | implement a simple perceptron classifier | This adds `.perceptron()` for making a single-layer perceptron classifier with `.train()` and `.predict()` methods. Tests are in `perceptron.test.js`.
I haven't added anything to the README etc., but if this looks good that could also be done.
| diff --git a/src/simple_statistics.js b/src/simple_statistics.js
index b83a64f4..9f2fc3fb 100644
--- a/src/simple_statistics.js
+++ b/src/simple_statistics.js
@@ -254,6 +254,83 @@
return bayes_model;
}
+
+ // # [Perceptron Classifier](http://en.wikipedia.org/wiki/Perceptron)
+ //
+ // This is a... | 1 | 1 | 0 | [{"id": "G0", "claim": "The internal weight variable `w` (and the accessor `perceptron_model.w` it backs) should be called `weights` instead of `w`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
simple-statistics__simple-statistics__146 | simple-statistics/simple-statistics | 146 | defect | 60a9da5786e0dc9229ed8b28700c1a1078592203 | 185dfa799899b005d97e5728feab40a0536200a0 | Use quickselect to significantly speed up median and quantile | A work in progress, closes #145. The first commit implements median using quickselect, making it much faster — from `O(N log N)` to `O(N)` for unsorted input.
For a sample benchmark on 1 million random numbers, the current implementation runs in 755ms. The new one is 28ms — 27 times faster.
Remaining tasks if the app... | diff --git a/package.json b/package.json
index 62e0924d..f6232e66 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,9 @@
"type": "git",
"url": "git://github.com/simple-statistics/simple-statistics.git"
},
- "dependencies": {},
+ "dependencies": {
+ "quickselect": "^1.0.0"
+ },
"devDependenci... | 4 | 2 | 0 | [{"id": "G0", "claim": "A version of the quickselect algorithm should be pulled into simple-statistics itself, keeping the library free of runtime dependencies with all code written and documented in the same style.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
simple-statistics__simple-statistics__152 | simple-statistics/simple-statistics | 152 | defect | 9ca7630c5525a37fa650f927480c2253d8f89f9f | 0477e010e0cefc3b810e1fee3d1a143e27db3820 | Implement bisect | find root of a function with the bisection method
https://en.wikipedia.org/wiki/Bisection_method
| diff --git a/src/bisect.js b/src/bisect.js
new file mode 100644
index 00000000..eb9f97ef
--- /dev/null
+++ b/src/bisect.js
@@ -0,0 +1,44 @@
+'use strict';
+/* @flow */
+
+var sign = require('./sign');
+/**
+ * [Bisection method](https://en.wikipedia.org/wiki/Bisection_method) is a root-finding
+ * method that repeated... | 5 | 4 | 1 | [{"id": "G0", "claim": "Rename the bisect parameters a, b, nMax and tol to start, end, maxIterations and errorTolerance, since simple-statistics prefers clarity over terseness.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A TypeError is likely... | null |
simple-statistics__simple-statistics__158 | simple-statistics/simple-statistics | 158 | defect | cd6e6a8c7e4664d643a34e7545acdf386589e849 | dbb73529f56900693d59d098ba4519e5cd77d43b | Adds support for n-choose-k type permutations, no replacement | Saw there was a permutations algorithm, but nothing that supported combinations. Never written flow before, but I think I got this gist?
I'd be happy to write some more combinatorics algs if you guys are interested!
| diff --git a/scripts/required_test.js b/scripts/required_test.js
index 5b691169..b18beb85 100644
--- a/scripts/required_test.js
+++ b/scripts/required_test.js
@@ -41,4 +41,5 @@ require("../test/sum_nth_power_deviations.test.js");
require("../test/t_test.test.js");
require("../test/t_test_two_sample.test.js");
requir... | 6 | 6 | 2 | [{"id": "G0", "claim": "The function signature should use Flow comment annotations (e.g. `function combinations(elements /*: Array<any> */, k /*: number */) {`) so the source stays valid ES5 JavaScript, as simple-statistics does elsewhere.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scop... | null |
simple-statistics__simple-statistics__163 | simple-statistics/simple-statistics | 163 | defect | cd6e6a8c7e4664d643a34e7545acdf386589e849 | 405a7365e99efaceaac1773aaa9328f7d92b39fa | Upgrade to faster Ckmeans implementation (Ckmeans 3.4.6) | See #157 for more details.
Ran some perf tests and the results are impressive:

While the code is functionally correct, I'm not 100% satisfied with the clarity of certain commen... | diff --git a/src/ckmeans.js b/src/ckmeans.js
index 538ab176..3d86e5cb 100644
--- a/src/ckmeans.js
+++ b/src/ckmeans.js
@@ -26,6 +26,149 @@ function makeMatrix(columns, rows) {
return matrix;
}
+/**
+ * Generates incrementally computed values based on the sums and sums of
+ * squares for the data array
+ *
+ * @... | 2 | 2 | 0 | [{"id": "G0", "claim": "The numeric-stability guarantee of the new ssq() is hidden inside an unexplained Math.max(0, sji) whose negative branch is untested and whose necessity is unknown, so it should be reverted to the explicit conditional once a covering test exists.", "category": "testing", "verdict": "supported", "... | null |
simple-statistics__simple-statistics__183 | simple-statistics/simple-statistics | 183 | defect | 4874868e06b10122da41c1dc3d029ed986e47051 | 7ed57b2698bf3dc42da46d203f8e26a48292ba53 | Implement indexed mode | Test for #177
I have some hacky benchmarks to push as well, which I should. It looks like modeFast is reliably faster than mode, but around 30% | diff --git a/index.js b/index.js
index 3a8f6aee..484f7645 100644
--- a/index.js
+++ b/index.js
@@ -13,6 +13,7 @@ ss.linearRegressionLine = require('./src/linear_regression_line');
ss.standardDeviation = require('./src/standard_deviation');
ss.rSquared = require('./src/r_squared');
ss.mode = require('./src/mode');
+s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The mode-finding logic in the separate index.forEach pass should be moved into the counting loop above, which would be simpler.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
simple-statistics__simple-statistics__285 | simple-statistics/simple-statistics | 285 | defect | 462f69e1bdb4b08c6ddd68e261805925e5e0f8fa | 56c9bc9c96ed4a7b42f10522532861e30ef911e8 | feat: adding quantileRankSorted | Hello everyone, this PR covers the addition of the `quantileRankSorted` function to the library. It's largely inspired by [scipy](https://github.com/scipy/scipy/blob/master/scipy/stats/stats.py) and leverages binary search to work in logarithmic time. I would like your opinion about all that because I am unsure I did e... | diff --git a/index.d.ts b/index.d.ts
index 7cb2f449..096d279c 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -21,6 +21,7 @@ export { default as sumSimple } from './src/sum_simple';
export { default as product } from './src/product';
export { default as quantile } from './src/quantile';
export { default as quantileSorte... | 4 | 3 | 1 | [{"id": "G0", "claim": "The >>> 1 in lowerBound/upperBound may be an unnecessary hand-optimization of /2 that recent JavaScript engines already perform for you.", "category": "performance", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The early-return boundary checks can be p... | null |
simple-statistics__simple-statistics__288 | simple-statistics/simple-statistics | 288 | defect | 912030d381a49197885d845bbe96d713d553f4dc | caf7e32a541d7de32a675cdd45961d29f725026d | new feature: permutation test | Hello everyone -
Here's an implementation of `permutation_test` (see issue #271 ); hopefully the first of many statistical tests to be added :)
I opted for the `alternative` argument as opposed to `null` because that's congruent with the APIs for similar `R` functions (e.g. `coin::independence_test`, `t.test`, `w... | diff --git a/index.js b/index.js
index 928004ae..23c43ff0 100644
--- a/index.js
+++ b/index.js
@@ -89,6 +89,9 @@ export { default as errorFunction, default as erf } from './src/error_function';
export { default as inverseErrorFunction } from './src/inverse_error_function';
export { default as probit } from './src/pro... | 5 | 4 | 1 | [{"id": "G0", "claim": "Construct `allData` outside the loop instead of re-creating it on every iteration.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Shuffle `allData` in place instead of allocating a new shuffled array on each of the k iteratio... | null |
simple-statistics__simple-statistics__43 | simple-statistics/simple-statistics | 43 | defect | 5d89a3038a2b1b390266ac71c694c927eb062d34 | c12f8dcf8dbf21a9ad6d5adb1084524f908207be | added t-test for two samples: test differences in mean value | Adds a t-test for differences in mean value between two samples. Useful to test against independence.
| diff --git a/docs/simple_statistics.html b/docs/simple_statistics.html
index 556db239..572dca22 100644
--- a/docs/simple_statistics.html
+++ b/docs/simple_statistics.html
@@ -1654,6 +1654,42 @@ <h1><a href="http://en.wikipedia.org/wiki/Student's_t-test">t-test</a></h1>
<div class="pilwrap for-h1">
... | 6 | 5 | 1 | [{"id": "G0", "claim": "The variable `Sw` should be substituted with a more explanatory name, since it is not clear what it stands for.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment misspells 'standard' as 'stdandard'.", "category":... | null |
simple-statistics__simple-statistics__59 | simple-statistics/simple-statistics | 59 | defect | 8cda67f6793cc97557fb87557066f550abe6009f | 8cabc8b0d1f06d4cf6ada58b3f65f0ba4668b4df | Single array mixins | For cases where it would be useful to add ss functions to an array, but extending the entire prototype is not an option. ~~Included is a new `ss` function in place of the `ss` object that returns a single, mixed-in array.~~
| diff --git a/src/simple_statistics.js b/src/simple_statistics.js
index 3110324b..0951519e 100644
--- a/src/simple_statistics.js
+++ b/src/simple_statistics.js
@@ -5,7 +5,13 @@
// eventually assigning `simple-statistics` to `ss` in browsers or the
// `exports object for node.js
(function() {
- var ss = {};
+ //... | 3 | 3 | 0 | [{"id": "G0", "claim": "Aliasing `[].slice` into a var for use in the `wrap` function is unnecessary and its perf gain is small and unpredictable in modern browsers, so the code should use `Array.prototype.slice` directly for idiomatic code.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "in... | null |
simplejson__simplejson__101 | simplejson/simplejson | 101 | defect | b7486b82233ed2ec1a614dcf8944d376d12d04bf | 3eaa8d54dfed8cd64c9f439451f5514f45cd4dd4 | strip utf-8 bom. | I can speak poor english. sorry...
thank you for maintaining this module.
utf-8 text file often has BOM. not always.
(http://en.wikipedia.org/wiki/Byte_order_mark)
load method is not strip BOM. when fp.read().
It occured JSONDecodeError exception.
this pull request code is based pep8.py code.
https://github.com/jcr... | diff --git a/simplejson/__init__.py b/simplejson/__init__.py
index a5c01379..bc5c93a3 100644
--- a/simplejson/__init__.py
+++ b/simplejson/__init__.py
@@ -437,7 +437,16 @@ def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None,
of subclassing whenever possible.
"""
- return loads(fp.rea... | 2 | 1 | 1 | [{"id": "G0", "claim": "The UTF-8 BOM should be stripped in `loads` instead of `load`, since most usage is suspected to go through `loads`.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The BOM check should use `contents[:1]` instead of `contents[0]` so... | null |
simplejson__simplejson__191 | simplejson/simplejson | 191 | defect | 138a2ff3f6db37468f3c7509f69c984792fd49a0 | 6df3ec19a81029ef035266a96505f814d8d6ccac | Make TypeError messages contain type name instead of a repr. | The failure depends on the type, not on the value of an object.
This combines CPython's issues [26623](https://bugs.python.org/issue26623) and [24641](https://bugs.python.org/issue24641). | diff --git a/simplejson/__init__.py b/simplejson/__init__.py
index 2f142620..8ed9baa6 100644
--- a/simplejson/__init__.py
+++ b/simplejson/__init__.py
@@ -77,7 +77,8 @@
>>> def encode_complex(obj):
... if isinstance(obj, complex):
... return [obj.real, obj.imag]
- ... raise TypeError(r... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request would benefit from having test coverage for the new TypeError message behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
simplejson__simplejson__225 | simplejson/simplejson | 225 | defect | 00ed20da4c0e5f0396661f73482418651ff4d8c7 | 1f4d59c479a0d9bb26a977d2b3fd3c5631c71aa8 | On Python 2, decode empty strings as str not unicode. | In general on Python 2, simplejson decodes ASCII strings as str, only promoting
to unicode when needed:
```
>>> simplejson.loads('["Spaetzle", "Spätzle"]')
['Spaetzle', u'Sp\xe4tzle']
```
Since 83a493db6a8b859ec7b10fa85365dd3fdf144c68, though, simplejson has always
decoded empty JSON strings as unicode:
```
>>... | diff --git a/simplejson/_speedups.c b/simplejson/_speedups.c
index 1b5d4417..19e3a9f9 100644
--- a/simplejson/_speedups.c
+++ b/simplejson/_speedups.c
@@ -76,6 +76,9 @@ static PyObject *JSON_Infinity = NULL;
static PyObject *JSON_NegInfinity = NULL;
static PyObject *JSON_NaN = NULL;
static PyObject *JSON_EmptyUnicod... | 4 | 2 | 1 | [{"id": "G0", "claim": "The PR author should justify why the change is needed at all, since the reason it was originally implemented that way (performance/memory) does not apply to a constant.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a test to th... | null |
simstudioai__sim__2539 | simstudioai/sim | 2,539 | defect | ab3a3d12fe2abb5684d5a60ab8b3f0a0002d9fda | 94aa52e49a5267edebfc90eb1a04ea74ed4b7650 | improvement(kb): improve chunkers, respect user-specified chunk configurations, added tests | ## Summary
- improve chunkers
- respect user-specified chunk configurations for non-text chunkers
- added UI hints for units for `minCharactersPerChunk`, `maxChunkSize`, `chunkOverlap`
- added tests
fixes #2510
## Type of Change
- [x] Other: Improvement
## Testing
Tested manually
## Checklist
- [x] ... | diff --git a/apps/docs/content/docs/en/knowledgebase/index.mdx b/apps/docs/content/docs/en/knowledgebase/index.mdx
index 1a3874510f1..b5fdfe0e9c6 100644
--- a/apps/docs/content/docs/en/knowledgebase/index.mdx
+++ b/apps/docs/content/docs/en/knowledgebase/index.mdx
@@ -34,9 +34,15 @@ Once your documents are processed, y... | 3 | 2 | 1 | [{"id": "G0", "claim": "Overlap is documented as characters in lib/knowledge/types.ts, stores/knowledge/store.ts and the update-route schema while the create route and the TextChunker implementation treat it as tokens, so the documentation should be made consistent by documenting tokens everywhere (or the value convert... | null |
simstudioai__sim__3190 | simstudioai/sim | 3,190 | defect | 8a24b56f516332edd8dc0e3a5607e168a89799f2 | 4a17367e2e6c41a4c707afba24b6b39fb2d6f127 | fix(logs): surface handled errors as info in logs | ## Summary
- surface handled errors as info in logs
## Type of Change
- [x] Bug fix
## Testing
Tested manually
## Checklist
- [x] Code follows project style guidelines
- [x] Self-reviewed my changes
- [x] Tests added/updated and passing
- [x] No new warnings introduced
- [x] I confirm that I have read ... | diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/log-details/components/trace-spans/trace-spans.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/log-details/components/trace-spans/trace-spans.tsx
index dd822327efe..df112883841 100644
--- a/apps/sim/app/workspace/[workspaceId]/logs/components/... | 1 | 1 | 1 | [{"id": "G0", "claim": "hasUnhandledErrorInTree treats all tool call errors as unhandled even when the parent span has errorHandled: true, so a block marked as handled by the error port could still bubble up as unhandled; tool call errors within a block with errorHandled: true should also be considered handled.", "cate... | null |
simstudioai__sim__3238 | simstudioai/sim | 3,238 | defect | a0afb5d03ea05060b83dda2e3c05e2c7ecabad92 | 2f72a248a29ea35b6f96d9640228417c5fa30334 | feat(access-control): add ALLOWED_INTEGRATIONS env var for self-hosted block restrictions | ## Summary
- Add `ALLOWED_INTEGRATIONS` server env var to restrict available blocks/integrations via allowlist
- Client fetches allowlist from `/api/settings/allowed-integrations` and merges with permission group config
- Server-side enforcement in `validateBlockType` blocks disallowed integrations at execution time
- ... | diff --git a/apps/sim/app/api/settings/allowed-integrations/route.ts b/apps/sim/app/api/settings/allowed-integrations/route.ts
new file mode 100644
index 00000000000..9677274174a
--- /dev/null
+++ b/apps/sim/app/api/settings/allowed-integrations/route.ts
@@ -0,0 +1,8 @@
+import { NextResponse } from 'next/server'
+impo... | 7 | 6 | 5 | [{"id": "G0", "claim": "The /api/settings/allowed-integrations endpoint is publicly accessible without authentication, exposing the server's integration allowlist configuration to unauthenticated users, and should require a session as the suggested block does.", "category": "security", "verdict": "opposed", "priority":... | null |
simstudioai__sim__3240 | simstudioai/sim | 3,240 | defect | 61a5c98717480f68770465438c4d8ad7988638a0 | 9eda826b90b39b7320e70a13ddd1eb99ae3fcdaf | feat(mcp): add ALLOWED_MCP_DOMAINS env var for domain allowlist | ## Summary
- Add `ALLOWED_MCP_DOMAINS` env var to restrict which external MCP server domains users can connect to
- Server-side enforcement at all API surfaces: server registration (POST), update (PATCH), test connection, tool discovery, and tool execution
- Platform's own hostname (from `getBaseUrl()`) is always impli... | diff --git a/apps/sim/app/api/mcp/servers/[id]/route.ts b/apps/sim/app/api/mcp/servers/[id]/route.ts
index e7b2d9f1d3d..be7c30c6f03 100644
--- a/apps/sim/app/api/mcp/servers/[id]/route.ts
+++ b/apps/sim/app/api/mcp/servers/[id]/route.ts
@@ -3,6 +3,7 @@ import { mcpServers } from '@sim/db/schema'
import { createLogger ... | 7 | 4 | 4 | [{"id": "G0", "claim": "If getBaseUrl() throws on the first call, the module-level flag in getPlatformHostname permanently caches the failure and locks the platform hostname to null for the process lifetime, which could silently block the platform's own MCP server connections; remove the cache or cache only successful ... | null |
simstudioai__sim__3311 | simstudioai/sim | 3,311 | defect | 2ae814549a5d6adac8a6593d1cfdb99b1505947b | 3d55db1bf9144f7e97f3277d4e313b9246ce86b1 | fix(redis): tighten stale TCP connection detection and add fast lease deadline | ## Summary
- Tighten Redis PING health check from 30s/3-failure to 15s/2-failure, shrinking dead connection detection window from ≤90s to ≤30s
- Add 200ms hard deadline on distributed lease Redis eval via Promise.race so stale connections during the detection window fail fast and fall back to local execution instead of... | diff --git a/apps/sim/lib/core/config/redis.test.ts b/apps/sim/lib/core/config/redis.test.ts
index 7c740e2ec4e..c42dfae6efa 100644
--- a/apps/sim/lib/core/config/redis.test.ts
+++ b/apps/sim/lib/core/config/redis.test.ts
@@ -29,9 +29,8 @@ describe('redis config', () => {
getRedisClient()
mockRedisInstan... | 3 | 2 | 1 | [{"id": "G0", "claim": "The lease deadline timer is not cleared when the Redis eval completes (or throws) first, causing a memory leak; it should be cleared after Promise.race completes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Promise.race on... | null |
simstudioai__sim__3313 | simstudioai/sim | 3,313 | defect | 132fef06a1f1eba5fcdca8a9ae6036a74f0a4ef1 | 29189e4a0b967d3ded636955211b58f4f9dc31a8 | fix(execution): scope X-Sim-Via header to internal routes and enforce depth limit | ## Summary
- Scoped `X-Sim-Via` header to internal routes only — previously it was attached to all outgoing HTTP requests, leaking internal workflow IDs to external third-party APIs
- Removed cycle detection from `validateCallChain` — depth limit of 10 alone prevents infinite loops while allowing legitimate self-recurs... | diff --git a/apps/sim/app/api/mcp/serve/[serverId]/route.ts b/apps/sim/app/api/mcp/serve/[serverId]/route.ts
index 1c694a59af7..99f2a83089c 100644
--- a/apps/sim/app/api/mcp/serve/[serverId]/route.ts
+++ b/apps/sim/app/api/mcp/serve/[serverId]/route.ts
@@ -23,6 +23,7 @@ import { type AuthResult, checkHybridAuth } from ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The X-Sim-Via header carrying internal workflow IDs is attached to every outgoing HTTP request, including requests to external third-party APIs, and should only be attached when the target URL is an internal Sim endpoint (e.g. gated behind isInternalRoute).", "category": "security", "verdict": "... | null |
simstudioai__sim__3329 | simstudioai/sim | 3,329 | defect | ecdb133d1b9df05d5b37b082934880977711b8b0 | 3b53e0b25876667ace0034f3ebbf61c71235643f | feat(api): retry configuration for api block | ## Summary
add configurable request retries to api block
Fixes https://github.com/simstudioai/sim/issues/3225
## Type of Change
- [x] New feature
## Testing
Tested manually
## Checklist
- [x] Code follows project style guidelines
- [x] Self-reviewed my changes
- [x] Tests added/updated and passing
... | diff --git a/apps/docs/content/docs/en/blocks/api.mdx b/apps/docs/content/docs/en/blocks/api.mdx
index 6bf1d052262..5cdab337851 100644
--- a/apps/docs/content/docs/en/blocks/api.mdx
+++ b/apps/docs/content/docs/en/blocks/api.mdx
@@ -95,11 +95,17 @@ const apiUrl = `https://api.example.com/users/${userId}/profile`;
##... | 5 | 4 | 4 | [{"id": "G0", "claim": "The response body should be consumed (e.g. await response.arrayBuffer()) before retrying on 429/5xx to prevent memory leaks and unclosed streams.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The || operator in getRetryConfi... | null |
simstudioai__sim__3330 | simstudioai/sim | 3,330 | defect | ecdb133d1b9df05d5b37b082934880977711b8b0 | 60ebe73e4799606e9c4737a57a5870431b322ecc | fix(serializer): default canonical modes construction | ## Summary
On adding blocks -- should have default canonical modes construct
## Type of Change
- [x] Bug fix
## Testing
Tested manually + unit tests
## Checklist
- [x] Code follows project style guidelines
- [x] Self-reviewed my changes
- [x] Tests added/updated and passing
- [x] No new warnings int... | diff --git a/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/builders.ts b/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/builders.ts
index 529a0bc7800..84efd597ce9 100644
--- a/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/builders.ts
+++ b/apps/sim/lib/copilot/tools/server/workflow/edit-... | 2 | 2 | 0 | [{"id": "G0", "claim": "buildSubBlockValues(block.subBlocks) is called inside the forEach loop over canonical groups, recomputing a result already stored in allValues; use allValues instead to avoid redundant work.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
simstudioai__sim__3332 | simstudioai/sim | 3,332 | defect | 43c0f5b199398282d0700cff41ea282b4c700157 | 7c516e6816eff5d6113da6c15195973a3321f70c | fix(call-chain): x-sim-via propagation for API blocks and MCP tools | ## Summary
- API calls + MCP tool executions could go infinite recursive loop. Fixed call chain propagation to ensure this doesn't happen.
- Removed dead Agent Handler interface code.
## Type of Change
- [x] Bug fix
## Testing
Tested manually using Agent block and API block
## Checklist
- [x] Code fol... | diff --git a/apps/docs/content/docs/en/execution/basics.mdx b/apps/docs/content/docs/en/execution/basics.mdx
index 87c8df77816..1541831e770 100644
--- a/apps/docs/content/docs/en/execution/basics.mdx
+++ b/apps/docs/content/docs/en/execution/basics.mdx
@@ -97,6 +97,7 @@ Understanding these core principles will help you... | 1 | 1 | 0 | [{"id": "G0", "claim": "fetchCustomToolById still returns a code field in its return type and fetches it from the DB/cache even though createCustomTool no longer uses code after the executeFunction removal, leaving dead data in the return type.", "category": "maintainability", "verdict": "supported", "priority": "P2", ... | null |
simstudioai__sim__3425 | simstudioai/sim | 3,425 | defect | 0a6a2ee6940653a4b23dcd9d2b081a5e8287eabc | 8e116d67eb5189a09cd41d763838c60df51c9fcc | fix(kbs): legacy subblock id migration + CI check | ## Summary
- Existing subblock id for KB was changed leading it to be dropped by serializer.
- Add CI check to prevent changing of IDs like this
- Add migration for subblock ids in the case where it has to be changed / incorrectly changed like this.
## Type of Change
- [x] Bug fix
- [x] Other: Linter Improvem... | diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml
index 456472576fb..7c802be4e4c 100644
--- a/.github/workflows/test-build.yml
+++ b/.github/workflows/test-build.yml
@@ -90,6 +90,16 @@ jobs:
echo "✅ All feature flags are properly configured"
+ - name: Check subblock ID... | 3 | 2 | 1 | [{"id": "G0", "claim": "The subblock-migration persistence loop in loadWorkflowFromNormalizedTables writes every block back to the database unconditionally instead of only the blocks whose subBlocks actually changed, causing N-1 unnecessary sequential UPDATE queries and bumping updatedAt on unchanged blocks.", "categor... | null |
simstudioai__sim__3429 | simstudioai/sim | 3,429 | defect | 28f8e0fd973f4616130aa9d4d1d359efe376292a | 270cba46a115b73782dca856ba0cb445d2ad1b2d | fix(condition): execution with subflow sentinels follow-on, snapshot highlighting, duplicate terminal logs | ## Summary
- Consecutive condition blocks with one error edge followed by success edge leads to duplicated error in terminal error log
- Execution failure when else edge not connected and condition block is followed by subflow. This is due to lack of differentiatation between dead end ports and actually unhit ports.... | diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
index c26c313d6b1..b8c7604fccb 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts
+++ b/app... | 4 | 4 | 1 | [{"id": "G0", "claim": "When a condition inside a loop selects a dead-end branch, the truthy selectedOption the PR now sets prevents the isUnroutedDeadEnd check from queuing the sentinel, so the loop hangs permanently.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id":... | null |
simstudioai__sim__3447 | simstudioai/sim | 3,447 | defect | 244cf4ff7e84b6f4eb30b29828c58af798b86c65 | 4c8eeb6fb89098d876adfa82159a398e706e8b3b | improvement(canonical): backfill for canonical modes on config changes | ## Summary
When config changes to mark existing fields as advanced need to backfill automatically to render toggle correctly.
## Type of Change
- [x] Bug fix
## Testing
Tested manually + added tests for this case
## Checklist
- [x] Code follows project style guidelines
- [x] Self-reviewed my changes
... | diff --git a/apps/sim/lib/workflows/migrations/subblock-migrations.test.ts b/apps/sim/lib/workflows/migrations/subblock-migrations.test.ts
index 47b0f26084f..fbd9f52f7a1 100644
--- a/apps/sim/lib/workflows/migrations/subblock-migrations.test.ts
+++ b/apps/sim/lib/workflows/migrations/subblock-migrations.test.ts
@@ -1,9... | 2 | 1 | 1 | [{"id": "G0", "claim": "backfillCanonicalModes writes to block.data.canonicalModes but the fire-and-forget write-back only detects changes by comparing subBlocks references and only writes subBlocks to the DB, so the canonical-modes changes are never persisted and the migration re-runs on every load without saving its ... | null |
simstudioai__sim__3512 | simstudioai/sim | 3,512 | defect | fdf4f033ada6afd21a8da53a566f9f46e280c2ac | 9587fddf3ddfff451bffc91207b21d69e1f7f887 | fix(api-key-reminder) Add reminder on hosted keys that api key isnt needed | ## Summary
Mothership gets confused when hosted tool calls don't need api keys, despite the arguments excluding apiKey. Then it tries to search the env for it. Added tool description footer for tools with hosting configurations to remind mothership that api keys are already hosted.
## Type of Change
- [x] Bug fix
... | diff --git a/apps/sim/lib/copilot/chat-payload.ts b/apps/sim/lib/copilot/chat-payload.ts
index 1157ea6ceaa..1aca502bdf6 100644
--- a/apps/sim/lib/copilot/chat-payload.ts
+++ b/apps/sim/lib/copilot/chat-payload.ts
@@ -1,5 +1,6 @@
import { createLogger } from '@sim/logger'
import { processFileAttachments } from '@/lib/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The HOSTED_API_KEY_NOTE constant in tool-descriptions.ts ('<note>API key is hosted by Sim.</note>') does not match the expected strings in the new tests ('API key is hosted by Sim on hosted deployments.'), so the two hosted-path test cases will fail and one of the two strings is wrong; either th... | null |
simstudioai__sim__3523 | simstudioai/sim | 3,523 | defect | ff2a1527ab1fdb99a3208cc18e9257493766abaf | 7c80b2685ada827132b33926f8ec299c884b6132 | fix(webhooks): eliminate redundant DB queries from webhook execution path | ## Summary
- Eliminate ~10-12 redundant DB queries from webhook API route + background job
- Parallelize auth verification with preprocessing in API route via Promise.all
- Pass pre-fetched workflowRecord and actorUserId through to avoid re-resolving
- Replace manual init in webhook-execution.ts with preprocessExecutio... | diff --git a/apps/sim/app/api/webhooks/trigger/[path]/route.test.ts b/apps/sim/app/api/webhooks/trigger/[path]/route.test.ts
index 640b2d01808..3f02f330e8e 100644
--- a/apps/sim/app/api/webhooks/trigger/[path]/route.test.ts
+++ b/apps/sim/app/api/webhooks/trigger/[path]/route.test.ts
@@ -324,7 +324,9 @@ vi.mock('@/lib/... | 3 | 3 | 2 | [{"id": "G0", "claim": "Reordering preprocessing (rate limiting) before verifyProviderAuth, and moving the reachability test before auth, lets unauthenticated requests consume rate-limit quota and enumerate Grain webhook paths, so the route should keep auth-first ordering (or skip auth only for confirmed reachability p... | null |
simstudioai__sim__3536 | simstudioai/sim | 3,536 | defect | 1413d8a47c4e3173c4ae4cf1458b6932a6cb118e | b7fec8be46dac11f0d1d553910d477eccfe2a9ce | fix(autolayout): targetted autolayout heuristic restored | ## Summary
Restore targeted autolayout for copilot edits to workflows.
## Type of Change
- [x] Bug fix
## Testing
Tested manually
## Checklist
- [x] Code follows project style guidelines
- [x] Self-reviewed my changes
- [x] Tests added/updated and passing
- [x] No new warnings introduced
- [x] I ... | diff --git a/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/index.ts b/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/index.ts
index 1b676f77309..973d5e16d2f 100644
--- a/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/index.ts
+++ b/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/... | 5 | 4 | 2 | [{"id": "G0", "claim": "Removing the computeStructuralLayoutImpact call leaves it and its sole-consumer helpers (getParentId, buildEdgeKey, groupBlocksByParent, buildAdjacency, expandImpactedBlocks, ParentIdentifier) as dead code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.