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
LukeMathWalker__wiremock-rs__104
LukeMathWalker/wiremock-rs
104
defect
9a5de123e3a894de9ed7a0a858d5f669c044a659
826b86e0df46f39b7db91a367a01826cbbe5aeac
Panic if `path` contains `?`
I noticed a lot of people (including me) when using wiremock often forget about [`query_param`](https://docs.rs/wiremock/latest/wiremock/matchers/fn.query_param.html) and put `?` in the path, doing stuff like: ```rust Mock::given(method("GET")) .and(path("abcd/?letter=e")); ``` instead of ```rust...
diff --git a/src/matchers.rs b/src/matchers.rs index 09b3973..5460953 100644 --- a/src/matchers.rs +++ b/src/matchers.rs @@ -207,6 +207,10 @@ impl PathExactMatcher { pub fn new<T: Into<String>>(path: T) -> Self { let path = path.into(); + if path.contains('?') { + panic!("Wiremock can'...
2
2
0
[{"id": "G0", "claim": "The panic message should read \"You must use `wiremock::matchers::query_param` to match on query parameters (the part of the path after the `?`).\" instead of the shorter wording that just says to use `query_param` instead.", "category": "documentation", "verdict": "supported", "priority": "P2",...
null
LukeMathWalker__wiremock-rs__117
LukeMathWalker/wiremock-rs
117
defect
b282fe8030f3eab11f3f10e5b10cbc37fb466673
7d7a54af22d6333f3f49a55cc8c569c8d5e446c5
async satisfaction
Similar to #116 but slightly different execution. (code is not how I want it to be yet, and the tests don't yet pass. this is purely to demonstrate the extra complexity this adds). The original `is_satisfied` API was designed around the idea we could poll in a backoff loop for a mock to have received its expected ca...
diff --git a/Cargo.toml b/Cargo.toml index 4d3dd44..84ff985 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ regex = "1" futures-timer = "3.0.2" futures = "0.3.5" hyper = { version = "0.14", features = ["full"] } -tokio = { version = "1.5.0", features = ["rt", "io-util", "time"] } +tokio = { version = "1.5...
4
4
0
[{"id": "G0", "claim": "The new guard method should be named `wait_until_satisfied` instead of `satisfied`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tokio::pin! workaround for std::pin::pin (stabilised in Rust 1.68.0) is unnecessary be...
null
LukeMathWalker__wiremock-rs__128
LukeMathWalker/wiremock-rs
128
defect
443a5850003d2a8f98e14638b513a1ce618214b6
40c44d3929ff0fc8bdc56696cbe6efe6cced811d
use hyperium/http instead of http-rs/http-types
Fix #123 Please attention: the exported types `Method` / `HeaderValues` make this a breaking change. By the way, `hyper` v1.0 will remove `hyper::Body`, but I think it's fine to keep it for now? --- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution...
diff --git a/Cargo.toml b/Cargo.toml index 647a3f0..f95b8ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,11 +20,9 @@ path = "src/lib.rs" [dependencies] log = "0.4" -http-types = { version = "2.11", default-features = false, features = ["hyperium_http"] } serde_json = "1" serde = "1" regex = "1" -futures-timer...
8
7
3
[{"id": "G0", "claim": "The test suite should keep covering all the runtimes and HTTP clients it covered before (async-std, surf and the rest of the removed dev-dependencies) and should not be touched beyond the changes forced by API differences.", "category": "testing", "verdict": "supported", "priority": "P1", "scope...
null
LukeMathWalker__wiremock-rs__16
LukeMathWalker/wiremock-rs
16
defect
5394babc64bbbf6632872d5a8295636a6f54ead1
0c114f6f883dd1d62e77acad189abab97e558f86
Fix #14: MockServer expectations abort during unrelated panic
I think this should solve [this issue](https://github.com/LukeMathWalker/wiremock-rs/issues/14). I used `debug` for when the thread is already panicking, not sure if it should be a higher level log.
diff --git a/src/mock_server.rs b/src/mock_server.rs index f82fb5c..1c9c395 100644 --- a/src/mock_server.rs +++ b/src/mock_server.rs @@ -239,7 +239,11 @@ impl Drop for MockServer { fn drop(&mut self) { debug!("Verify mock expectations."); if !run!(self.verify()) { - panic!("Verificatio...
1
1
0
[{"id": "G0", "claim": "The debug log emitted when verification fails during an unrelated panic should use the very same message as the panic (\"Verification failed: mock expectations have not been satisfied.\") instead of a new one, keeping the debug level.", "category": "maintainability", "verdict": "supported", "pri...
null
LukeMathWalker__wiremock-rs__40
LukeMathWalker/wiremock-rs
40
defect
a18acb0194b4c7f35854f6acd3e899e037a4d401
d6b7cefac9ba651a2cc0a80494470db8755c64c1
Print info when expectations are not verified
Closes #31
diff --git a/src/active_mock.rs b/src/active_mock.rs index 5e7e6a0..4157bad 100644 --- a/src/active_mock.rs +++ b/src/active_mock.rs @@ -46,10 +46,18 @@ impl ActiveMock { pub(crate) fn verify(&self) -> bool { self.specification .expectation + .range .contains(self.n_ma...
8
8
0
[{"id": "G0", "claim": "The `VerificationOutcome` enum variants should be renamed (e.g. `Success`/`Failure`) with doc comments explaining what each variant means.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `n_matched_requests` field doc comment s...
null
LukeMathWalker__wiremock-rs__60
LukeMathWalker/wiremock-rs
60
defect
c358ee803f342af62b5c0ac8f754a738983de4bf
010e7de0233ae88b4bcc2b849dfb83324022f639
feat: support multi values request headers
support multi values request headers. Fixes wiremock::Request conversion from hyper::Request was not converting comma separated header values into HeaderValues. Introduced 'headers' to create an exact header matcher for multi values headers.
diff --git a/src/matchers.rs b/src/matchers.rs index b9bdd38..38915ac 100644 --- a/src/matchers.rs +++ b/src/matchers.rs @@ -8,7 +8,7 @@ //! //! Check [`Match`]'s documentation for examples. use crate::{Match, Request}; -use http_types::headers::{HeaderName, HeaderValue}; +use http_types::headers::{HeaderName, Heade...
1
1
0
[{"id": "G0", "claim": "The new tests in tests/request_matching.rs should be split up so that each test contains a single assertion.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LukeMathWalker__wiremock-rs__80
LukeMathWalker/wiremock-rs
80
defect
1eaa00c8fa4707fa77235994aa22b4f722721137
75b77f577fcfcba50e3797dd1d700a46e089853e
add 'with_priority()' to handle interlaced request matching conditions
Hi @LukeMathWalker, this is something from the original Wiremock I wanted to bring in wiremock-rs for a long time. Let me know what you think
diff --git a/src/mock.rs b/src/mock.rs index b395028..05c04e8 100644 --- a/src/mock.rs +++ b/src/mock.rs @@ -262,7 +262,11 @@ pub struct Mock { /// If `Some(max_n_matches)`, when `max_n_matches` matching incoming requests have been processed, /// [`crate::mounted_mock::MountedMock::matches`] should start retu...
2
2
0
[{"id": "G0", "claim": "The documentation needs to clearly state what happens when two mocks have the same priority but interlacing request-matching conditions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use sort_by_key instead of a sort_by cl...
null
LukeMathWalker__wiremock-rs__83
LukeMathWalker/wiremock-rs
83
defect
d49eb2ec1ced2fcd1a97436b24fb0ffe14930004
6ed6adf0fac58eedacf110906e0b251b33f90f18
Fix body_json matching and implement Partial json matching
Fix body_json matching and implement Partial json matching. Closes https://github.com/LukeMathWalker/wiremock-rs/issues/79
diff --git a/Cargo.lock b/Cargo.lock index 842bbd8..e159f3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,6 +98,16 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" +[[package]] +name = "assert-json-d...
3
3
2
[{"id": "G0", "claim": "The implementation should be reworked so that existing functionality (the body_json API on BodyExactMatcher) stays backwards-compatible instead of introducing breaking changes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pa...
null
LukeMathWalker__wiremock-rs__91
LukeMathWalker/wiremock-rs
91
defect
aa005d99c440a6c1826ed494bc720d42ac7e55d7
78d7be2e77285eba0f2a64b93de5cc19d037b901
add method for matching headers with a Regex
Sometimes it's useful to be able to match a header based on a pattern, rather than having to specify a static string value. Mockito implements this via `.match_header("name", Matcher::Regex(...))`. This goes one step further, leveraging RegexSet.
diff --git a/src/matchers.rs b/src/matchers.rs index afafe59..ac6dad2 100644 --- a/src/matchers.rs +++ b/src/matchers.rs @@ -445,6 +445,71 @@ impl Match for HeaderExistsMatcher { } } +#[derive(Debug)] +/// Match the value of a specific header of a request against a regular expression. +/// All header values rec...
4
3
0
[{"id": "G0", "claim": "Replace the RegexSet-based design with a single-regex `header_regex` shortcut plus a separate `header_regex_set` shortcut, and rename `HeaderRegexMatcher` to `HeaderRegexSetMatcher`.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Luligu__matterbridge__509
Luligu/matterbridge
509
defect
ea9804e590f4d9f759a2b421feed48f60b0e3b57
be739c3100160a87a8b5f0570a9ffbd6c9ff7f54
DoorLock ActuatorEnabled attribute
DoorLock ActuatorEnabled attribute should be true Fix for #508 **Before the fix** <img width="527" height="588" alt="image" src="https://github.com/user-attachments/assets/8ec9a73b-ef22-42e1-88e2-b6ea360187ac" /> **Testing** - https://github.com/Luligu/matterbridge-example-dynamic-platform/pull/48
diff --git a/packages/core/src/matterbridgeEndpoint.ts b/packages/core/src/matterbridgeEndpoint.ts index 590d22c9b..76508e356 100644 --- a/packages/core/src/matterbridgeEndpoint.ts +++ b/packages/core/src/matterbridgeEndpoint.ts @@ -2649,7 +2649,8 @@ export class MatterbridgeEndpoint extends Endpoint { this.behavi...
1
1
1
[{"id": "G0", "claim": "The existing unit test for createDefaultDoorLockClusterServer does not assert the actuatorEnabled attribute value; add or adjust a test assertion verifying actuatorEnabled is true after add(device) to prevent regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope"...
null
Lum1104__Understand-Anything__65
Lum1104/Understand-Anything
65
defect
0694163f1a7d3e1b886bab50065348de7f1a9858
60c2ead398c819ab7c50ba2ae696a4a1ee9d45d3
fix(core): deterministic node ID normalization for parallel batch output
Resolves #59 ## Problem Parallel file-analyzer subagents can produce inconsistent node IDs (project-name prefixed, double-prefixed, bare paths) and numeric complexity values. The existing `autoFixGraph`/`COMPLEXITY_ALIASES` pipeline handles string alias correction but does not address malformed IDs or numeric complex...
diff --git a/understand-anything-plugin/packages/core/src/__tests__/normalize-graph.test.ts b/understand-anything-plugin/packages/core/src/__tests__/normalize-graph.test.ts new file mode 100644 index 000000000..ae83e7e51 --- /dev/null +++ b/understand-anything-plugin/packages/core/src/__tests__/normalize-graph.test.ts ...
6
3
3
[{"id": "G0", "claim": "stripToValidPrefix() strips every unknown leading colon-delimited segment until it finds a valid prefix, so IDs like 'my-project:service:docker-compose.yml' normalize to 'file:docker-compose.yml' and drop non-type segments, risking ID collisions and incorrect edge rewrites; the test asserting th...
null
LumaTeam__Luma3DS__1065
LumaTeam/Luma3DS
1,065
defect
2a840f2c791d9fc5983cb3a41b60eadc2f1d5b02
d0306609c394fe84c670b6638271854dfd15db2f
Implement blue light filters
<!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/aurorawright/luma3ds/1065) <!-- Reviewable:end -->
diff --git a/sysmodules/rosalina/Makefile b/sysmodules/rosalina/Makefile index 24656de1d..af46716c1 100644 --- a/sysmodules/rosalina/Makefile +++ b/sysmodules/rosalina/Makefile @@ -13,7 +13,7 @@ dir_include := include dir_build := build dir_out := ../../$(dir_build) -LIBS := -lctru +LIBS := -lctru -lm LIBDIRS := $...
3
3
1
[{"id": "G0", "claim": "The BindInterrupt: 80 permission declaration added to rosalina.rsf isn't really used and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "writeLut needlessly rewrites the GPU color LUT index on every iter...
null
LunarG__VulkanTools__1884
LunarG/VulkanTools
1,884
defect
7da7301034e48ef4acf9ddfb5e138dc0768c3689
50c892b2ef4c6faabf065fb0d706e32fc1f9512e
layer: Use layer settings library in API dump
I added a layer test framework, based on the Profiles solution layer test framework, so that we can use it to debug, step in layer code, with Visual Studio
diff --git a/layersvt/CMakeLists.txt b/layersvt/CMakeLists.txt index e558c2105a..7abbc7e3df 100644 --- a/layersvt/CMakeLists.txt +++ b/layersvt/CMakeLists.txt @@ -162,17 +162,17 @@ if(BUILD_APIDUMP) run_vulkantools_video_xml_generate(api_dump_generator.py api_dump_video_html.h) run_vulkantools_video_xml_gener...
1
1
1
[{"id": "G0", "claim": "The API dump tests are failing (build/tests/apidump_test.sh shows a FAILED run with COUNTS: 498 1 0), so the pull request breaks the API dump test suite.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
LunarG__VulkanTools__1940
LunarG/VulkanTools
1,940
defect
a093b4d01ee1af6469ff283690d41848b4f9e651
89e245313cc775b465e8b4edfa16223109565ec1
Fix layer installation code
closes #1923
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e6306501e..ea82af3ac0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,8 +57,8 @@ elseif(ANDROID) elseif (APPLE) option(BUILD_APIDUMP "Build api_dump layer" ON) - option(BUILD_MONITOR "Build monitor layer" ON) - option(BUILD_SCREENSHOT "Build scre...
2
1
1
[{"id": "G0", "claim": "Removing the Xlib WSI support definitions causes api_dump to no longer dump the xlib create surface call.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Enable Wayland support for api_dump so it also dumps the wayland create ...
null
LuqP2__Image-MetaHub__227
LuqP2/Image-MetaHub
227
defect
aaf2431d058fd5942894c2f267dcc42ab2d656d1
c638eb0c58d53555e3f361e653a713f46a73fe7c
Add audio playback support
## Summary - Add shared media helpers and audio-aware metadata types. - Index common audio formats with ffprobe metadata when available and a safe fallback when unavailable. - Add audio media filtering, library placeholders, and playback in the preview sidebar and viewer modal. - Document supported audio formats and co...
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 402c2f7a..39047a41 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -151,7 +151,7 @@ It reads: * PNG `tEXt` / `iTXt` * JPEG/WEBP EXIF/XMP/comment payloads * sidecar-style embedded JSON where applicable -* video container metadata and `ffprobe` output for supp...
2
2
2
[{"id": "G0", "claim": "The watcher paths (services/fileWatcher.ts:89 and services/fileWatcher.mjs:119-134) still only enqueue image/video extensions, so in desktop mode newly added *.mp3, *.wav, etc. are ignored by incremental updates and won't appear until a manual reindex/restart, making the new audio support incons...
null
LuqP2__Image-MetaHub__230
LuqP2/Image-MetaHub
230
defect
0771c34d8bafa96c115b3120831fc2172a1ec842
4cdfb9955b31e251945587f4f42b5b80297fc87f
Add slideshow mode
## Summary - Add a slideshow playlist builder that prefers selected visual media and falls back to the current browse scope. - Add persistent Viewer settings for slideshow interval and filename overlay. - Wire slideshow launch into the existing ImageModal so playback opens fullscreen and stays in a single modal while n...
diff --git a/App.tsx b/App.tsx index 3c7d2ac7..961e88f6 100644 --- a/App.tsx +++ b/App.tsx @@ -47,16 +47,18 @@ import { useGenerateWithA1111 } from './hooks/useGenerateWithA1111'; import { useGenerateWithComfyUI } from './hooks/useGenerateWithComfyUI'; import { type IndexedImage, type BaseMetadata } from './types'; ...
4
2
2
[{"id": "G0", "claim": "When metadataMode === 'strip', the export branch marks any non-PNG/JPEG/WebP source as failed and skips it, so in mixed selections valid media files (e.g., GIF/MP4/WEBM) are silently excluded from batch export instead of copied unchanged, with the same skip logic in the ZIP export loop.", "categ...
null
LuqP2__Image-MetaHub__268
LuqP2/Image-MetaHub
268
defect
683cb9381318097c4b07698c11565e97be70635e
df02afcc09ba502da244353b87716b11487e3786
Fix scoped refresh cache persistence
## Summary - Preserve the existing directory cache when refreshing an individual subfolder. - Apply scoped cache deltas after metadata enrichment completes so refreshed Easy Diffusion and similar metadata persists across sessions. - Update the cache diff unit test to mock the current chunked cache APIs. ## Root Cause...
diff --git a/hooks/useImageLoader.ts b/hooks/useImageLoader.ts index 3bca9716..197e08d0 100644 --- a/hooks/useImageLoader.ts +++ b/hooks/useImageLoader.ts @@ -1002,8 +1002,13 @@ export function useImageLoader() { refreshPath ? relativePrefix : undefined ); + const isScopedRefr...
1
1
1
[{"id": "G0", "claim": "When a scoped refresh's Phase B enrichment returns null for a changed file, changedIds still prunes the old cache entry while scopedCacheUpserts holds only successful enrichments, so the catalog stub added by Phase A is dropped from the cache; include the Phase A catalog stubs in the scoped upse...
null
MALSync__MALSync__2631
MALSync/MALSync
2,631
defect
1577a99cf2e107ae0630c1e126fdd2f6ed4f0d4d
8cd2f15b5328f927bf40cb8aafc96ce5704ecb29
Ranobelib sync
Part of #2061 [3/5] RanobeLib - LN + WN website. Did almost everything based on #2624 Includes api.ts file from #2606 Had to modify internal files a bit to allow search + correction search work with SHIKI sync mode and novel types. Because as it is, there's no way to search novels on SHIKI sync mode. To do it, sh...
diff --git a/src/_provider/Search/components/search.vue b/src/_provider/Search/components/search.vue index 154bf4c6b9..1028c23c07 100644 --- a/src/_provider/Search/components/search.vue +++ b/src/_provider/Search/components/search.vue @@ -82,6 +82,14 @@ export default { type: Number, default: 0, }, +...
5
5
2
[{"id": "G0", "claim": "The `if (this.type === 'novel')` block in malSearch is fully unnecessary because it builds the same URL as the base url, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Every 'titel' identifier sho...
null
MALSync__MALSync__3347
MALSync/MALSync
3,347
defect
25dd06a107849ee5f4dab72aa73b7c539a633f0e
92e379a83d3a8fd90d3acf341a00a23ba8b1d3d7
add function to converts characters to half-width character
i don't know naming it as .convertCh is suitable. Can use a better name to make it more recognizeable
diff --git a/src/chibiScript/functions/stringFunctions.ts b/src/chibiScript/functions/stringFunctions.ts index 3e679ff107..b8a1d7468a 100644 --- a/src/chibiScript/functions/stringFunctions.ts +++ b/src/chibiScript/functions/stringFunctions.ts @@ -207,4 +207,17 @@ export default { jsonParse: (ctx: ChibiCtx, input: st...
2
2
1
[{"id": "G0", "claim": "The pull request should add test cases for the new convertCh function, like the existing tests in test/src/chibiScript/functions/stringFunctions.test.ts.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The function name convertCh ...
null
MALSync__MALSync__3536
MALSync/MALSync
3,536
defect
de0db33f9d9578cef26474c63a1dde41300ce798
f2f5f88224f0c0cda44d56f2e21f1b032b4fb1b0
add utility function slugify
slugify title to replace space with hyphen, remove or replace special character to make it suitable as identifier. Probably for like website that they didn't have anything that can be use for unique identifier for title, like tappytoon
diff --git a/src/chibiScript/utilities/stringUtilities.ts b/src/chibiScript/utilities/stringUtilities.ts index 836c149d09..c03f9c19e7 100644 --- a/src/chibiScript/utilities/stringUtilities.ts +++ b/src/chibiScript/utilities/stringUtilities.ts @@ -9,4 +9,26 @@ export default { replaceLinebreaks: ($c: ChibiGenerator<s...
1
1
0
[{"id": "G0", "claim": "Using an object of replacement rules instead of 'target:replacement' strings would make slugify easier to work with (allowing ':' to be replaced too).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MALSync__MALSync__3562
MALSync/MALSync
3,562
defect
224edcae38e7da8ee214ebcf88a480de7cba59a0
b834ed60d152aa0b1adaae3ef0b3c16dd9355630
[TASK] Fix Kagane
close https://github.com/MALSync/MALSync/issues/3559
diff --git a/src/chibiScript/utilities/stringUtilities.ts b/src/chibiScript/utilities/stringUtilities.ts index 735cb02ba6..ee66086494 100644 --- a/src/chibiScript/utilities/stringUtilities.ts +++ b/src/chibiScript/utilities/stringUtilities.ts @@ -7,7 +7,7 @@ export default { * @returns string with linebreaks replac...
3
1
1
[{"id": "G0", "claim": "The regex pattern `(\\n|\\r)` does not match Windows-style line breaks `\\r\\n` correctly: it replaces `\\r` and `\\n` separately, producing two replacements for a single line break; the pattern should be `(\\r\\n|\\n|\\r)` or `[\\r\\n]+`.", "category": "correctness", "verdict": "uncertain", "pr...
null
MALSync__MALSync__3625
MALSync/MALSync
3,625
defect
49b2adadd9f1b28ad82dc84698e73eab8b8a5224
0c377fb781649d9ac26d6d94303a522ee2d10d48
kagane fix overview + new utilties function regexAutoGroup
fix kagane new overview page new function regexAutoGroup utilites Probably can change its name, this regex function basically check every regex group and return the first group it matched Some manga/manwha use its chapter title for correct chapter number, but it no longer in the dom at sync page, so i'm thinking...
diff --git a/src/chibiScript/utilities/stringUtilities.ts b/src/chibiScript/utilities/stringUtilities.ts index ee66086494..d26e7cdaf5 100644 --- a/src/chibiScript/utilities/stringUtilities.ts +++ b/src/chibiScript/utilities/stringUtilities.ts @@ -34,4 +34,32 @@ export default { .replaceRegex('\\s+', '-') ...
1
1
1
[{"id": "G0", "claim": "A unit test is erroring and should be looked into (and fixed).", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
MANTRA-Chain__mantrachain__187
MANTRA-Chain/mantrachain
187
defect
f9896fca936ae3078fcf536f5b8b07087ba17d31
863b3636bef598073929ab05a3ba52fc428d5215
fix: simulate gas calculations
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated gas consumption calculations for fee burning processes, ensuring accurate fee handling. - Enhanced test cases for fee handling and refund mechanisms to improve reliability. - **Bug Fixe...
diff --git a/x/xfeemarket/post/fee.go b/x/xfeemarket/post/fee.go index 8ae704b03..bbce9299d 100644 --- a/x/xfeemarket/post/fee.go +++ b/x/xfeemarket/post/fee.go @@ -11,7 +11,8 @@ import ( ) // BankSendGasConsumption is the gas consumption of the bank sends that occur during feemarket handler execution. -const BankS...
4
1
0
[{"id": "G0", "claim": "The comment on the gasLimit line at fee_test.go:139 is missing a space after //, violating Go's style guidelines and failing the gocritic lint check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be adde...
null
MANTRA-Chain__mantrachain__655
MANTRA-Chain/mantrachain
655
defect
911395f7a54a5dbe73262ccf16952c256dcb3104
c15e3eb38bd440c9ca3ae37c1a8c498f9f017e9f
Problem: over clamping in fixSilentlySkippedSlashes
this change should have been included in https://github.com/MANTRA-Chain/mantrachain/commit/911395f7a54a5dbe73262ccf16952c256dcb3104, [ValidatorSlashEvents](https://github.com/cosmos/cosmos-sdk/blob/v0.53.6/x/distribution/keeper/delegation.go#L138) are already applied to `info.Stake` at withdraw time, migration can't p...
diff --git a/app/upgrades/v8_1/distribution.go b/app/upgrades/v8_1/distribution.go index 1972d899..85d85bca 100644 --- a/app/upgrades/v8_1/distribution.go +++ b/app/upgrades/v8_1/distribution.go @@ -23,12 +23,13 @@ func fixSilentlySkippedSlashes( distrKeeper distrkeeper.Keeper, ) error { logger := ctx.Logger() + e...
1
1
1
[{"id": "G0", "claim": "In setSlashEvent the error return from sdk.ValAddressFromBech32 is ignored, so a malformed operator address would proceed with a zero valAddr and may produce misleading failures; the error should be captured and asserted with require.NoError.", "category": "testing", "verdict": "supported", "pri...
null
MCHPR__MCHPRS__221
MCHPR/MCHPRS
221
defect
a179ab1be44dd44fa3f20ba67195a7f147ab06f2
6415a1c85febdb7ce8e6e92d3d819df98650d358
Make the `InputSearch` pass faster by caching queried blocks
- Made `provides_weak_power` and `provides_strong_power` free functions as they don't use `&self`. - Use linear search instead of hashmap lookup for BFS during redstone wire discovery. - Cache recently queried blocks to avoid a lot of (but not all) duplicate queries. The majority of the speedup comes from this change...
diff --git a/crates/redpiler/src/passes/input_search.rs b/crates/redpiler/src/passes/input_search.rs index b2954716..f601a38e 100644 --- a/crates/redpiler/src/passes/input_search.rs +++ b/crates/redpiler/src/passes/input_search.rs @@ -60,43 +60,6 @@ impl<'a, W: World> InputSearchState<'a, W> { } } - ...
1
1
0
[{"id": "G0", "claim": "There is no reason for the new test to schedule a tick at the torch position, since the test never checks the torch's state anywhere and the result of that scheduled tick is irrelevant.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MCP-UI-Org__mcp-ui__36
MCP-UI-Org/mcp-ui
36
defect
918ccd37332df503c8a7d154564fc8e9843bbf98
a7aa088535e9264090858e0651ba00bac6a01e72
fix: rename delivery -> encoding and flavor -> framework
BREAKING CHANGE: The existing naming is ambiguous. Renaming `delivery` to `encoding` and `flavor` to `framework` should clarify the intent.
diff --git a/README.md b/README.md index ae69d346..405b3227 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Rendered using the `<HTMLResourceRenderer />` component, which displays content Rendered using the internal `<RemoteDOMResourceRenderer />` component, which utilizes Shopify's [`remote-dom`](https:/...
7
5
2
[{"id": "G0", "claim": "The Ruby SDK's MIME_TYPE_REMOTE_DOM constant still uses `flavor=%s` instead of `framework=%s`, so rename it and update the related methods.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Ruby spec still asserts the old `f...
null
MCPCat__mcpcat-typescript-sdk__25
MCPCat/mcpcat-typescript-sdk
25
defect
56ae421f2f36b371b8c826dedaac9133337d5499
54a0d22c40eb34cb0830c846690171da7ec9879a
feat: Add content sanitization for non-text MCP data types
## Summary - Add two-layer content sanitization to detect and redact non-text data from events before they reach the MCPCat API and telemetry exporters - **Layer 1 (Response):** Replace non-text content blocks (image, audio, blob resources, unknown types) with informative redaction messages while passing through text a...
diff --git a/src/modules/eventQueue.ts b/src/modules/eventQueue.ts index efdda7e..fc9b349 100644 --- a/src/modules/eventQueue.ts +++ b/src/modules/eventQueue.ts @@ -9,6 +9,7 @@ import { writeToLog } from "./logging.js"; import { getServerTrackingData } from "./internal.js"; import { getSessionInfo } from "./session.j...
3
1
1
[{"id": "G0", "claim": "Wrap the new sanitizeEvent call in eventQueue.process() in a try/catch so a sanitization failure is logged and the event skipped instead of the exception escaping process() and blocking the queue.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
MIERUNE__plateau-gis-converter__17
MIERUNE/plateau-gis-converter
17
defect
d1300a76897abb1a11fe63a4eaf31d8e818c220f
dd673c23c05547bfd5e61d285aa5a7ba94ec3689
geometry: いくつかの改善
nusamai-geometry へのいくつかの改善。 - 壊れたジオメトリを容易に作れないようにする #13 - 各ジオメトリの `new()` は空のジオメトリを作るように変更 - 代わりに生データから構築するための `from_raw`, `from_raw_unchecked` などを追加 - #[inline] を除去: Generic型では #[inline] を付けなくてもクレート境界を超えて展開される。 - 参考: https://matklad.github.io/2021/07/09/inline-in-rust.html#Inlining-in-Practice - 座標...
diff --git a/nusamai-geometry/examples/citygml_polygons.rs b/nusamai-geometry/examples/citygml_polygons.rs index 7db27bb33..1b97ff128 100644 --- a/nusamai-geometry/examples/citygml_polygons.rs +++ b/nusamai-geometry/examples/citygml_polygons.rs @@ -105,7 +105,7 @@ fn parse_cityobj( reader: &mut NsReader<&[u8]>, ...
5
3
1
[{"id": "G0", "claim": "The `for _c in &line {}` line added to test_line_basic appears unnecessary and the reviewer asks whether it can be dropped.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "add_ring()'s behaviour depends on the instance state (empt...
null
MIERUNE__plateau-gis-converter__275
MIERUNE/plateau-gis-converter
275
defect
3f3b89b2bbb77cd7aaaa82fdd901255c73a95b0c
204caf3c2b356d235807d65e69a39c453be4e42e
CLI: 各 SinkProvider の情報を使って Sinkの一覧(ID、名前)を組む
Nusamai CLI でのSinkの選択において、SinkProviderが提供する情報を使ってSinkの一覧をうまく作るように変更する。いままではenum のVariantsとして手書きで列挙していた。 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - `GpkgSinkProvider` に複数のシンクプロバイダを統合した `SinkChoice` 構造体を追加しました。 - `Args` 構造体をコメントを明確化して更新しました。 ...
diff --git a/nusamai/Cargo.toml b/nusamai/Cargo.toml index 7db5f2b3b..0f41e22be 100644 --- a/nusamai/Cargo.toml +++ b/nusamai/Cargo.toml @@ -10,7 +10,7 @@ serde = { version = "1.0.196", features = ["derive"] } nusamai-plateau = { path = "../nusamai-plateau" } nusamai-citygml = { path = "../nusamai-citygml" } quick-x...
2
1
0
[{"id": "G0", "claim": "The doc comment for the output argument contains a typo and should read \"Specify\" instead of \"Speficy\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The suggestion is to replace the `panic!` on unknown sink choices wi...
null
MIERUNE__plateau-gis-converter__326
MIERUNE/plateau-gis-converter
326
defect
aace455cadf4b08a017b467bf6175b58747b08df
8333f55a5fd9ad400b98edce5e1ab0703553df2f
Codecovのバッジの修正など
- README の Codecov のバッジを修正(リポジトリ名の変更に伴い) - `codecov/codecov-action` のバージョンを上げる - dependabot で actions の更新を確認するように <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - GitHub Actionsの依存関係を週次で更新する機能を追加しました。 - **ドキュメンテーション** - プロジェクト名を"PLATEAU-GI...
diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..5ace4600a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflo...
1
1
0
[{"id": "G0", "claim": "Six lines in nusamai-citygml/src/values.rs lack test coverage (patch coverage 25.00%), which the Codecov report flags for review.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
MIERUNE__plateau-gis-converter__367
MIERUNE/plateau-gis-converter
367
defect
68d7a61a01db95186a82903912491bd7bf1d116d
59c2a911af16e65258d4ce81e748a3ae971c349f
refactor: Sinkからの要求まわりの整理
- 「トランスフォーマーへの要求 (transformer::Requirements)」を、 「Sink からの要求 (sink::DataRequest、名前はてきとう)」に変える。理由: - "Requirements" と"Request" を分離していた意図の観点でも、おそらくこのほうが正しい。 - Sink の要求は Transformer だけでなく Source が読むこともある(テクスチャをパースすべきかどうかなど)。 - ↑の意味合いを考えて、`mapping_rules` をいったん Requirements からは外す(transformer::Request に付与すれば十分) <!...
diff --git a/app/src-tauri/src/main.rs b/app/src-tauri/src/main.rs index ee7a113fb..0bfa1cb20 100644 --- a/app/src-tauri/src/main.rs +++ b/app/src-tauri/src/main.rs @@ -16,7 +16,7 @@ use nusamai::sink::{ use nusamai::source::citygml::CityGmlSourceProvider; use nusamai::source::DataSourceProvider; use nusamai::transf...
3
2
2
[{"id": "G0", "claim": "The mapping-rules condition in the Tauri app's run is inverted — the rules file is read (and expected) when rules_path is empty while mapping rules are silently dropped when a path is given — so the condition should be !rules_path.is_empty().", "category": "correctness", "verdict": "supported", ...
null
MIERUNE__plateau-gis-converter__368
MIERUNE/plateau-gis-converter
368
defect
68d7a61a01db95186a82903912491bd7bf1d116d
dbea2482aeb29bb4542b6db168df28a83aafe508
3dtiles: 地物の間引き
geometricError にもとづいた地物の間引きを実装します。 Close #294 地物のサイズを簡易的に求めて、短辺が当該タイルの geometricError よりも小さい場合はそのタイルからスキップします(しきい値はチューニング可能)。 関連する変更: - Meshを1つももたない glTF を作れるようにしています。 - zune-image crate を除去 (zune-jpeg はすでに image crate に取り込まれているため) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ...
diff --git a/Cargo.toml b/Cargo.toml index ad40f0991..99bbca54b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,3 @@ authors = ["MIERUNE Inc. <info@mierune.co.jp>"] inherits = "release" lto = "thin" panic = "abort" - -[profile.dev.package.zune-image] -opt-level = 3 diff --git a/app/src-tauri/src/main.rs b/app/...
2
1
0
[{"id": "G0", "claim": "min_zoom and max_zoom are hardcoded to 12 and 17 and should be made configurable from a configuration file or parameters.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Making the feature-skip threshold (currently geom_er...
null
MIERUNE__plateau-gis-converter__439
MIERUNE/plateau-gis-converter
439
defect
6aa98fd8b4c94c4a76e9ee44829df05216f85286
0a52f91bb0557347aa01a5d3a926e09e48e04b0d
Feedback機構を少し改善
rel: #433 変換パイプラインのFeedback機構を少し改善: - 子スレッド内で起きたエラーを(システムログだけでなく)エラーとして報告できるようにする(GUIでダイアログを表示できるようにする準備)。 - メッセージがパイプラインのどの要素 (Source, Transformer, SInk, etc.) から送信されたかを把握できるようにする。 - 子スレッド内での panic がパイプラインのどの要素 (Source, Transformer, SInk, etc.) で起きたか分かるようにする。 - など Close: #433 <!-- This is an auto-gener...
diff --git a/nusamai/src/main.rs b/nusamai/src/main.rs index 6aa939181..146e4431e 100644 --- a/nusamai/src/main.rs +++ b/nusamai/src/main.rs @@ -231,7 +231,13 @@ fn run( // log watcher scope.spawn(move || { for msg in watcher { - log::info!("Feedback message from the pipeli...
3
1
1
[{"id": "G0", "claim": "The sink thread is spawned with the name \"pipeline-transformer\" when it should be \"pipeline-sink\" — an obvious typo that causes confusion in logs and thread dumps.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The generi...
null
MIERUNE__plateau-gis-converter__444
MIERUNE/plateau-gis-converter
444
defect
97e5022444a5e9f991a017aa25760b39800a2b62
c823963aa77e54b204b026a040a72bd1c886dcbd
shapefile: Data を別ファイルとして出力できるようにする
close #436 - `ObjectStereotype::Data`が出力できていなかったので、対応しました。 - 利用しているshapefileクレートではNullShape(いわゆるジオメトリを持たない地物)を書き込めないらしく、書き込むための処理を追加しました。 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - NullShapeを扱うための新しいモジュールを追加しました。 - NullShapeのダミーデータを書き込むロジックを...
diff --git a/nusamai/src/sink/shapefile/mod.rs b/nusamai/src/sink/shapefile/mod.rs index ef5f1f2cc..313ca45a5 100644 --- a/nusamai/src/sink/shapefile/mod.rs +++ b/nusamai/src/sink/shapefile/mod.rs @@ -1,6 +1,7 @@ //! Shapefile sink mod attributes; +mod write_null_shape; use std::path::PathBuf; @@ -23,6 +24,7 @...
10
8
1
[{"id": "G0", "claim": "QGIS creates only a .dbf (no .shp) for a geometry-less Shapefile, so the PR should not output a .shp of bare NoShape records and should emit only the .dbf.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Opening a second handle on th...
null
MIERUNE__plateau-gis-converter__484
MIERUNE/plateau-gis-converter
484
defect
72b9f09b6719e13f1d6b755fe628dd3cd121fcb7
8de061282e85a0a90145f6990f39c5aa83e8ccdf
chore: nusamai-geometry 周りを若干整理
コードやDocコメントのちょっとした整理です。 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - プロジェクト名を「PLATEAU GISコンバータ (PLATEAU GIS Converter)」に変更し、READMEを更新しました。 - ジオメトリ表現に`new()`メソッドを追加し、`coords()`を`raw_coords()`に変更しました。 - `len()`、`is_empty()`、`push()`、`clear...
diff --git a/README.md b/README.md index 9d5504565..c6a997213 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# GISコンバータ (PLATEAU GIS Converter) +# PLATEAU GISコンバータ (PLATEAU GIS Converter) [![Test Tauri App](https://github.com/MIERUNE/PLATEAU-GIS-Converter/actions/workflows/test_app.yml/badge.svg)](https://g...
3
2
0
[{"id": "G0", "claim": "The image caption under \"Multiple polygons, multiple holes\" in nusamai-geometry/README.md misspells \"Mutiple\" and should read \"Multiple\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "The README badge alt text was ch...
null
MIERUNE__plateau-gis-converter__5
MIERUNE/plateau-gis-converter
5
defect
ad3c9f3c98f87d2813d874af8e1bba4d95a1a626
89939b53f6458e5f934cd1d260561eb08ff6d0c7
コンパクトな MultiPolygon の表現の見直し
- ジオメトリをコンパクトに表現する各型を `CompactMultiPolygon` などの名前に変更しました。 - CompactMultiPolygon がジオメトリを表現するのに十分な情報を持っていなかったため修正しました。 - コンパクトなジオメトリ表現と一般的なジオメトリ表現(GeoJSONにおけるような)との相互変換テストを実装することで、このコンパクトな形式がMultiPolygonを表現するのに十分な情報を持っていることを確認しています。 以下のような要求にバランスよく答えられることを目指しています: - データの追記ができること(例えばデータからMultiPolygonを組み上げるような状況で...
diff --git a/nusamai-geometry/Cargo.toml b/nusamai-geometry/Cargo.toml index bd063cd3d..a92d081cc 100644 --- a/nusamai-geometry/Cargo.toml +++ b/nusamai-geometry/Cargo.toml @@ -5,4 +5,6 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[dependenci...
3
2
0
[{"id": "G0", "claim": "Storing each Polygon's vertices-start and hole_indices-start positions interleaved in one Vec<[u32; 2]> would compress better at serialization time if the two sequences were put in separate arrays instead (the author notes they are keeping the interleaved layout for now).", "category": "performa...
null
MIERUNE__plateau-gis-converter__595
MIERUNE/plateau-gis-converter
595
defect
972f553c7c96c11d804fc1cde4cfd453f5beb8a1
4a825dcd86559e1c01bae8efbcf808811cbeef81
トランスフォーマー設定をなるべく汎用的に利用できるように修正
<!-- Close or Related Issues --> Close #337 ### Description(変更内容) <!-- Please describe the motivation behind this PR and the changes it introduces. --> <!-- 何のために、どのような変更をしますか? --> - 以下で作業していただいたコードを元に、一部修正を加えてみました - https://github.com/MIERUNE/plateau-gis-converter/pull/588 ### Manual Testing(手動テスト) <!-- ...
diff --git a/app/src-tauri/src/main.rs b/app/src-tauri/src/main.rs index c48a59347..93e5f59d3 100644 --- a/app/src-tauri/src/main.rs +++ b/app/src-tauri/src/main.rs @@ -20,6 +20,7 @@ use nusamai::{ source::{citygml::CityGmlSourceProvider, DataSourceProvider}, transformer::{ self, MappingRules, MultiT...
11
2
1
[{"id": "G0", "claim": "TransformerRegistry::update_transformer silently does nothing when the given key does not exist and should return an error (e.g. PipelineError \"Specified key not found in transformer settings.\") instead of ignoring it.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "sco...
null
MIERUNE__plateau-gis-converter__640
MIERUNE/plateau-gis-converter
640
defect
263d2f2034089848826060400d37135862b0599d
143fd8b75dc2771e5c23f5ffa83c2b2b77b17a6f
地下埋設物を対象とした平面直角座標系への対応
<!-- Close or Related Issues --> Close #500 ### What I did(変更内容) <!-- Please describe the motivation behind this PR and the changes it introduces. --> <!-- どのような変更をしますか? 目的は? --> https://www.mlit.go.jp/plateaudocument/#toc9_06 PLATEAUのCityGMLデータにおいて、地下埋設物のジオメトリは「日本測地系2011における平面直角座標系と東京湾平均海面を基準とする標高の複合座標参照系...
diff --git a/nusamai-citygml/src/geometry.rs b/nusamai-citygml/src/geometry.rs index 6cb0c7b12..c59749efd 100644 --- a/nusamai-citygml/src/geometry.rs +++ b/nusamai-citygml/src/geometry.rs @@ -122,7 +122,7 @@ impl GeometryCollector { })); } - pub fn into_geometries(self) -> GeometryStore { + pub f...
4
3
1
[{"id": "G0", "claim": "The collect_geometries call sites in nusamai-plateau/examples/parse_and_compress.rs and nusamai-plateau/tests/common/mod.rs were not updated for the new Option<EpsgCode> parameter and may cause compile or runtime errors; they must be updated to match the new method signature.", "category": "corr...
null
MIERUNE__plateau-gis-converter__727
MIERUNE/plateau-gis-converter
727
defect
bf2bea1b4273caf4ec580b4d6f5e7f8c75e6ce47
189ec282bb35e25534708427e866a53460916989
objおよびgltf出力時に、平面直角座標系で出力可能にする
<!-- Close or Related Issues --> Close #726 ### What I did(変更内容) <!-- Please describe the motivation behind this PR and the changes it introduces. --> <!-- どのような変更をしますか? 目的は? --> - glTFシンクとOBJシンクの両方で地理座標系サポートを削除し、平面直角座標系のみサポート - 両シンクにcenter_at_originオプションを実装(デフォルト: true) - 座標変換ロジックをZ-up to Y-up変換に統一 - フロントエ...
diff --git a/app/src/lib/settings.ts b/app/src/lib/settings.ts index 71f25801f..d8175e4e4 100644 --- a/app/src/lib/settings.ts +++ b/app/src/lib/settings.ts @@ -77,7 +77,40 @@ const filetypeOptions: Record<string, { label: string; extensions: string[]; eps gltf: { label: 'glTF', extensions: [''], - epsg: [...
4
2
1
[{"id": "G0", "claim": "The `is_japan_plane_rectangular` helper (suggested to be renamed e.g. `is_supported_epsg`) is duplicated in both the OBJ and glTF sink modules and should be extracted into a shared utility.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
MISP__PyMISP__1402
MISP/PyMISP
1,402
defect
19bca59e2dd47ab0d247a3ee8a94cae0924b7ff8
a6a2a1d79fade78d9aeccdfb844f74936fc94ec4
Fixes #1327 replacing py2neo with neo4j
### Problem Statement We need to migrate from `py2neo` to official `neo4j` or `neomodels` driver because py2neo has been deprecated since 2021 as pointed out in issue #1327. ### Issue analysis & solution - The issue affects `pymisp/tools/neo4j.py` which migrates events into a Neo4j graph, establishing relati...
diff --git a/pymisp/tools/neo4j.py b/pymisp/tools/neo4j.py index 7a7197823..10b72e453 100644 --- a/pymisp/tools/neo4j.py +++ b/pymisp/tools/neo4j.py @@ -2,23 +2,26 @@ import glob import os +import re from .. import MISPEvent try: - from py2neo import authenticate, Graph, Node, Relationship # type: ignore ...
8
8
5
[{"id": "G0", "claim": "The driver URI should use the neo4j scheme instead of bolt.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Requiring users to manually call close() leads to drivers never being closed; the class should be usable as a context ...
null
MISP__PyMISP__363
MISP/PyMISP
363
defect
b8759673b91e733c307698abdc0d5ed82fd7e0de
e91d4a7d2d62f22b1ceb7f08d8af18c282b7c8db
Add new function PyMISP.change_disablecorrelation()
Add new function `PyMISP.change_disablecorrelation(attribute_uuid,disable_correlation)` to be able to enable/disable correlation on attributes. The goal is to be able to enable or disable correlation on single attribute as you can do with ids flag.
diff --git a/pymisp/api.py b/pymisp/api.py index 2ae60fa15..9d4355fbd 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -1032,6 +1032,13 @@ def change_comment(self, attribute_uuid, comment): query = {"comment": comment} return self.__query('edit/{}'.format(attribute_uuid), query, controller='attribute...
1
1
1
[{"id": "G0", "claim": "The new test calls the method under the wrong name (change_disable_correlation instead of the added change_disablecorrelation), so that test does not exercise the function this pull request adds.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
MISP__PyMISP__595
MISP/PyMISP
595
defect
f176fb0884770ff303de2c4db6606fbe4fcc4199
b6322c0d0c9ec040b4824eb0d502cc6d92ab1e77
Issue 593 change standalone policy
- MISPObject is now standalone by defaults, and add_object, update_object and get_object set standalone to False. - MISPObject.standalone is a property. Setting it uses AbstractMISP._remove_from_not_jsonable or update_not_jsonable. - Classes inheriting MISPObject don't have to change standalone default value to True ...
diff --git a/pymisp/abstract.py b/pymisp/abstract.py index 057dd4b33..92fcb7f03 100644 --- a/pymisp/abstract.py +++ b/pymisp/abstract.py @@ -170,6 +170,14 @@ def set_not_jsonable(self, args: List[str]) -> None: """Set __not_jsonable to a new list""" self.__not_jsonable = args + def _remove_from_n...
5
1
1
[{"id": "G0", "claim": "The new line `self.standalone = standalone` in MISPObject.__init__ may be a typo that should read `self._standalone`, or be removed, since `_standalone` is already defined earlier in the constructor.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"i...
null
MISP__PyMISP__651
MISP/PyMISP
651
defect
7e84c36406905e8f976571cf0dcf2f3c3e9b5fc3
ad333749da0013a84c736bc0284154bd6a2f6406
New API
* New methods `PyMIP.event_exists`, `PyMIP.attribuet_exists` and `PyMIP.object_exists` * Add ability to fetch just metadata when adding or editing event
diff --git a/pymisp/api.py b/pymisp/api.py index dce362722..d9aa8c08e 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -307,13 +307,25 @@ def get_event(self, event: Union[MISPEvent, int, str, UUID], e.load(event_r) return e - def add_event(self, event: MISPEvent, pythonify: bool = False) -> Unio...
1
1
1
[{"id": "G0", "claim": "In the new `event_exists`, the fallback call to `self._check_response` on the HEAD response is inappropriate: the method should return `False` when the status code is 404 and raise an exception otherwise, since `_check_response` does data massaging that makes no sense on an empty response body."...
null
MISP__PyMISP__679
MISP/PyMISP
679
defect
de6125a623fe91d4895115dda0592458589b81f6
07f00a68f126efde4fb1b718412b1feda1efef08
new: Add in ability to create/update/delete MISP Event Reports
Now we have Event Reports in MISP, thought it would be a good thing to be able to manage this through PyMISP. Unfortunately with the current MISP codebase, there are a few limitations: - The 'hard' delete flag must be passed in the url as `/1` and not as a POSTed JSON. - This must be managed through the PyMISP fun...
diff --git a/pymisp/__init__.py b/pymisp/__init__.py index dfdf83193..30b6e3ea6 100644 --- a/pymisp/__init__.py +++ b/pymisp/__init__.py @@ -24,7 +24,7 @@ try: from .exceptions import PyMISPError, NewEventError, NewAttributeError, MissingDependency, NoURL, NoKey, InvalidMISPObject, UnknownMISPObjectTemplate, PyMI...
4
3
2
[{"id": "G0", "claim": "LGTM repeatedly alerts that the PR-added MISPEventReport class adds attributes without overriding __eq__, so equality may not depend on the added attributes.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A test exercising th...
null
MIT-SPARK__Hydra__110
MIT-SPARK/Hydra
110
defect
cad3c3baa391c52be3cb1c0b3e7bce0196d4461b
ea43cd5cb7dfa8bc478cf0b474aacaab7175bf03
Feature/geometry only
Contains a bunch of small tweaks that I thought might be generally useful to go in, but should not touch existing code much: - Minimally nicer interfaces for traversability extraction - The traversability layer can be templated, which makes lots of other code potentially nicer (Once I get the time I think I'll just i...
diff --git a/include/hydra/active_window/active_window_module.h b/include/hydra/active_window/active_window_module.h index 25536cb4..c356bda2 100644 --- a/include/hydra/active_window/active_window_module.h +++ b/include/hydra/active_window/active_window_module.h @@ -60,7 +60,7 @@ class ActiveWindowModule : public Modul...
1
1
0
[{"id": "G0", "claim": "The `#include <config_utilities/factory.h>` added at the top of block_traversability_clustering.h may be unneeded.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MIT-SPARK__config_utilities__48
MIT-SPARK/config_utilities
48
defect
e8daab7a8b98688f1687b0a4961d53b839127eb4
81b4ab43076fe4ef055e5758d93a9af900bc3a84
Feature/control append
@Schmluk Ended up coming across cases where I needed to (i) have fine-grained control over sequence update semantics (i.e., have some sequences that append when merging, and have some sequence that override) and (ii) start on interpolating values. Aaron and I have been talking about a better solution for the interpolat...
diff --git a/config_utilities/CMakeLists.txt b/config_utilities/CMakeLists.txt index 93055b3b..99779a21 100644 --- a/config_utilities/CMakeLists.txt +++ b/config_utilities/CMakeLists.txt @@ -39,6 +39,7 @@ add_library( src/path.cpp src/settings.cpp src/string_utils.cpp + src/tag_processors.cpp src/validatio...
6
5
1
[{"id": "G0", "claim": "The MergeMode documentation should also specify how conflicts between entries with matching keys are resolved (reviewer assumes right overwrites left).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The APPEND doc comment s...
null
MOLAorg__mola__113
MOLAorg/mola
113
defect
5eeb7393be723c964de8069a29ac77af00769ec5
ef941dcb9b4795249fa55cfbdfec3a822d3a9cca
Feat:kf map view vectors filter for NN search
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Configurable per-point view-direction filtering for point-cloud mapping (enabled by default, max view angle 120°); new creation options exposed and persisted. * **Tests** * Added comprehensiv...
diff --git a/mola_kernel/include/mola_kernel/interfaces/VizInterface.h b/mola_kernel/include/mola_kernel/interfaces/VizInterface.h index 56e66657..ead739e1 100644 --- a/mola_kernel/include/mola_kernel/interfaces/VizInterface.h +++ b/mola_kernel/include/mola_kernel/interfaces/VizInterface.h @@ -124,7 +124,7 @@ class Viz...
7
5
5
[{"id": "G0", "claim": "The global reference cloud is built as CSimplePointsMap (which keeps only XYZ), so the getPointsBufferRef_float_field(\"view_*\") lookups on globalPoints always return null, do_view_filter is always false, and the new view-direction filter is effectively dead code.", "category": "correctness", "...
null
MOLAorg__mp2p_icp__23
MOLAorg/mp2p_icp
23
defect
079115135670c063a7f57a1549e5352c6d795983
2919f30ff93de1ce25905521fd3f9a4c89b94bdf
Fix usage of some deprecated cloud types
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Switched tests to a generic point-cloud map and standardized field identifiers (intensity, timestamp, ring) for consistent creation and validation. * **Apps** * Unified import/export handling for va...
diff --git a/tests/test-mp2p_FilterDecimateVoxels.cpp b/tests/test-mp2p_FilterDecimateVoxels.cpp index 8c258504..3207b50e 100644 --- a/tests/test-mp2p_FilterDecimateVoxels.cpp +++ b/tests/test-mp2p_FilterDecimateVoxels.cpp @@ -20,7 +20,7 @@ #include <mp2p_icp/metricmap.h> #include <mp2p_icp_filters/FilterDecimateVo...
2
2
0
[{"id": "G0", "claim": "The assertions in tests/test-mp2p_deskew.cpp (lines 414-415) use hardcoded strings \"intensity\" and \"t\" while the equivalent assertions at lines 623-624 use the POINT_FIELD_INTENSITY and POINT_FIELD_TIMESTAMP constants, an inconsistency that could cause test failures if the constant values di...
null
MOLAorg__mp2p_icp__27
MOLAorg/mp2p_icp
27
defect
affe457e1db2a1e24e15cba4ee7cfc542f79c934
23f6a9266ab1285a372c26ab989bd89555bc0728
Feat/new-filter-voxel-sor
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Voxel-based Statistical Outlier Removal (SOR) filter: configurable per-voxel local k-NN analysis with parallel processing support. * **Improvements** * Clearer runtime error reporting during ...
diff --git a/docs/source/mp2p_icp_filters.rst b/docs/source/mp2p_icp_filters.rst index ef57b7ff..bf4c0ce8 100644 --- a/docs/source/mp2p_icp_filters.rst +++ b/docs/source/mp2p_icp_filters.rst @@ -919,4 +919,80 @@ Filter: `FilterVoxelSlice` .. rubric:: Before → After Screenshot .. image:: voxel_slice_example.png - ...
6
6
3
[{"id": "G0", "claim": "The @date in the FilterVoxelSOR.h file header says \"Jan 21, 2025\" but should likely be \"Jan 21, 2026\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add parameter validation in FilterVoxelSOR::initialize_filter(): mean...
null
MOLAorg__mp2p_icp__42
MOLAorg/mp2p_icp
42
defect
2ced9769e1d595a08defe368d2c4b8a2e29a9435
6c2deae1bc2bb3dd886d9fd6b8393bc16998eecb
FilterRemovePointCloudField now accepts multiple fields
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Point cloud filtering now supports removing one or more fields in a single operation; configuration accepts a single field or a list. * **Behavior Changes** * Missing-field handling now appli...
diff --git a/docs/source/mp2p_icp_filters.rst b/docs/source/mp2p_icp_filters.rst index 603c9d88..85935f5f 100644 --- a/docs/source/mp2p_icp_filters.rst +++ b/docs/source/mp2p_icp_filters.rst @@ -873,11 +873,11 @@ This is typically used to separate **static** (high occupancy) and **dynamic** ( Filter: `FilterRemovePoin...
3
1
1
[{"id": "G0", "claim": "The CI clang-format check fails on lines 103-109 of FilterRemovePointCloudField.cpp, so the THROW_EXCEPTION block must be reformatted to comply with the project's style.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When...
null
MOLAorg__mp2p_icp__44
MOLAorg/mp2p_icp
44
defect
e93a6558be432749460328729b0acef793eda441
5b22dee35e7ec66188b0c53d911427c50b4700fd
Generators now optionally generate a 'view' direction vector per point
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Optional per-point view vector fields (view_x/view_y/view_z) for output point clouds, controllable via a new parameter. * Surface normals optionally oriented using view-direction vectors so no...
diff --git a/mp2p_icp_filters/CMakeLists.txt b/mp2p_icp_filters/CMakeLists.txt index 96ded58f..3a2fb20a 100644 --- a/mp2p_icp_filters/CMakeLists.txt +++ b/mp2p_icp_filters/CMakeLists.txt @@ -2,6 +2,18 @@ project(mp2p_icp_filters LANGUAGES CXX) # ----------------------- # define lib: +# -----------------------------...
7
3
2
[{"id": "G0", "claim": "The SSE2/AVX SIMD paths still normalize lanes whose norm was clamped instead of masking them, so near-zero-length vectors yield different view vectors than the scalar path, which writes zeros for nsq <= 1e-20f.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "intr...
null
MOLAorg__mp2p_icp__54
MOLAorg/mp2p_icp
54
defect
d7ff03dc7902a4d1c14fc0474d71e2fc517bc8ae
c70ea5c485b21addf53a3f3c41e1719fb86f2f12
mm-info, mm2grid, mm2las, mm2ply, mm2txt now have a --load-plugins flag
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added --load-plugins/-l to multiple CLI tools (mm-info, mm2grid, mm2las, mm2ply, mm2txt, rawlog-filter) to load comma-separated plugin .so files at startup; tools now report the plugin list befo...
diff --git a/apps/mm-info/main.cpp b/apps/mm-info/main.cpp index 3b3c8539..423b46ea 100644 --- a/apps/mm-info/main.cpp +++ b/apps/mm-info/main.cpp @@ -24,18 +24,35 @@ #include <mrpt/containers/yaml.h> #include <mrpt/core/Clock.h> #include <mrpt/system/filesystem.h> +#include <mrpt/system/os.h> // CLI flags: name...
3
2
1
[{"id": "G0", "claim": "The new throw sites in apps/mm2grid/main.cpp (and the sibling entrypoints apps/mm-info/main.cpp and apps/rawlog-filter/main.cpp) introduce a direct std::runtime_error dependency without an explicit #include <stdexcept>, and the explicit header should be added for portability across toolchains.",...
null
MONEI__Shopify-api-node__129
MONEI/Shopify-api-node
129
defect
eef59aa1895b8c8fe83f9be1d6af3d0b191a4e70
25ad9d2970be54394b6f40caccd90bb806e709e0
Add in the sendInvite API endpoint
Working on customer stuff at $dayjob again Testing with activations and spotted that the sendInvite API call is missing from the module. Added the call
diff --git a/README.md b/README.md index b187548e..5c313194 100644 --- a/README.md +++ b/README.md @@ -236,6 +236,7 @@ shopify.metafield.create({ - `update(id, params)` - customer - `accountActivationUrl(id)` + - `sendInvite(id[, params])` - `count()` - `create(params)` - `delete(id)` diff --git a/reso...
3
3
2
[{"id": "G0", "claim": "The sendInvite entry in the README API list should keep the list's alphabetical order.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "sendInvite should pass `params || {}` to the request or it will not work with a default...
null
MONEI__Shopify-api-node__146
MONEI/Shopify-api-node
146
defect
48c3f94dbce2f760ca8b1c9ef45381fdfe7145ba
abc5dc05bccd057ddef53e01dc6ab6e89e0d1520
Adding in missing PUT and DELETE for productListings
This change adds in PUT (via create) and DELETE for productListings endpoint
diff --git a/resources/product-listing.js b/resources/product-listing.js index bebd7740..6f52ab29 100644 --- a/resources/product-listing.js +++ b/resources/product-listing.js @@ -20,11 +20,35 @@ function ProductListing(shopify) { } assign(ProductListing.prototype, omit(base, [ - 'create', - 'delete', 'update' ...
4
3
1
[{"id": "G0", "claim": "The 'create' entry should be kept in the omit(base, [...]) list because a custom version is being added below it.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The custom create() should be replaced with a version accepting optio...
null
MONEI__Shopify-api-node__197
MONEI/Shopify-api-node
197
defect
472b0f55cba68a5869f7d4109901eec60623efa8
a2475540f424d1753b814c77b57aed0bafe9e8d1
Unwrapping the result of /recurring_application_charges//activate API
Now the API wrapper is returning the unwrapped value on `recurringBilling.activate` method. At some point the right test should be implemented. Right now the test for this seems to be invalid since the result obtained through the test is an empty object and Shopify API's documentation says it should be returning th...
diff --git a/resources/recurring-application-charge.js b/resources/recurring-application-charge.js index c9b7ae2c..87db66f2 100644 --- a/resources/recurring-application-charge.js +++ b/resources/recurring-application-charge.js @@ -36,7 +36,7 @@ RecurringApplicationCharge.prototype.activate = function activate(id, param...
1
1
1
[{"id": "G0", "claim": "The activation test should be fixed to use the correct documented Shopify response (per the reference docs) as a fixture, since the docs show that activating a charge returns the updated charge object with 'status' set to 'active'.", "category": "testing", "verdict": "supported", "priority": "P1...
null
MONEI__Shopify-api-node__268
MONEI/Shopify-api-node
268
defect
51af271548c2066d6eefeabefbfc926e954a9b3c
fc64b246a59b74ff66233db33cb6d140d22c8aaa
[api] Add optional params to inventoryLevels in the Location resource
Unfortunately, the params are undocumented in https://help.shopify.com/en/api/reference/inventory/location#inventory_levels but this resource does indeed take query params including `limit` and `page`, which are crucial if one is getting inventory levels for a location that has many product variants/inventory items.
diff --git a/README.md b/README.md index 12a0d2a5..5626f1ad 100644 --- a/README.md +++ b/README.md @@ -392,7 +392,7 @@ shopify.metafield.create({ - location - `count` - `get(id)` - - `inventoryLevels(id)` + - `inventoryLevels(id[, params])` - `list()` - marketingEvent - `count()` diff --git a/index.d.ts...
1
1
0
[{"id": "G0", "claim": "The `params` argument newly added to `Location.prototype.inventoryLevels` should get a JSDoc entry.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MONEI__Shopify-api-node__285
MONEI/Shopify-api-node
285
defect
57729f8c6245aea1ca8c697993c5b88f08cb60a9
bb54c3b59a66db070ea075fe2d35169f234de10f
[api] Add support for optional Shopify API version
This is just super basic, but it gets the job done. I don't have any tests for it or anything. Feel free to make changes or suggestions. I'm not sure if the request URLs always start with `/admin/`, but if they do, that part can be optimized.
diff --git a/index.js b/index.js index 4d1beae9..1fd22982 100644 --- a/index.js +++ b/index.js @@ -20,6 +20,7 @@ const pkg = require('./package'); * @param {String} options.apiKey The API Key * @param {String} options.password The private app password * @param {String} options.accessToken The persistent OAuth pub...
2
2
1
[{"id": "G0", "claim": "Inject the API version inside the buildUrl() functions of the mixins (and update the resources that override buildUrl()) instead of post-processing the already built path.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "Make the ne...
null
MONEI__Shopify-api-node__291
MONEI/Shopify-api-node
291
defect
a091cae2e92c837dd900fad42376576a956f3e63
5d1843b2d458f07739def708d7e8099bb3dcd0d1
Add GraphQL variables
This PR allows specifying GraphQL variables to the request. Keeps backward-compatibility.
diff --git a/index.d.ts b/index.d.ts index af07ecd2..707423ea 100644 --- a/index.d.ts +++ b/index.d.ts @@ -316,7 +316,7 @@ declare class Shopify { ) => Promise<Shopify.IGiftCardAdjustment>; list: (giftCardId: number) => Promise<Shopify.IGiftCardAdjustment[]>; }; - graphql: (data: string) => Promise<any>; ...
6
5
0
[{"id": "G0", "claim": "Remove the space between the function name and its parameter list in the `graphql` signature, matching the project's style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Test for the variables argument by comparing it to...
null
MONEI__Shopify-api-node__294
MONEI/Shopify-api-node
294
defect
1cf1817b8020d7110b739e5f48054706611dc524
99491562bf74227b639f85d5ae0a068a59b0c1de
Add Option for Including Presentment Prices Header
This is a quick fix to add an option while instantiating the Shopify object so the necessary header will be included to get the presentment prices.
diff --git a/index.js b/index.js index 0253cff8..bcf99043 100644 --- a/index.js +++ b/index.js @@ -22,6 +22,7 @@ const pkg = require('./package'); * @param {String} options.password The private app password * @param {String} options.accessToken The persistent OAuth public app token * @param {String} [options.apiV...
3
3
1
[{"id": "G0", "claim": "The X-Shopify-Api-Features presentment-prices header should not be set on every request; it should be applied only by the resources that need it (e.g., product and product variant), implemented in the resources themselves rather than via the regex-based condition in request().", "category": "des...
null
MONEI__Shopify-api-node__298
MONEI/Shopify-api-node
298
defect
bc6f1f9b1f01bdff4fc9166fb6bd927cd02abdbe
e418c15471a947a231dc4c25c3fb2f7621c00acc
Add polling for 202 response
Should we stop polling after a certain number of requests? In which part of the readme should this be documented? Let me know if you need any changes. Resolves #261
diff --git a/index.js b/index.js index 115a3daa..024e8931 100644 --- a/index.js +++ b/index.js @@ -131,6 +131,14 @@ Shopify.prototype.request = function request(url, method, key, params) { this.updateLimits(res.headers['x-shopify-shop-api-call-limit']); + if (res.statusCode === 202) { + const retryAfte...
2
2
0
[{"id": "G0", "claim": "The `delay` helper should be written as a function declaration and carry JSDoc instead of an arrow function assigned to a const.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mocked 202 responses in the two new retry...
null
MONEI__Shopify-api-node__401
MONEI/Shopify-api-node
401
defect
1c78e094a75ca2b7199abb4ced0e63e13b8ff480
b159dabd5548afd7765667dec3bc0b614b666f1f
[fix] Add missing price rule typings
The `IPriceRule` interface was missing properties returned by the current [Shopify Admin API price rule request](https://shopify.dev/docs/admin-api/rest/reference/discounts/pricerule?api[version]=2020-07#) - Added missing typings for `IPriceRule` to match current API response data - Added test for `Shopify.prototyp...
diff --git a/index.d.ts b/index.d.ts index f007b106..b804e69c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2202,7 +2202,16 @@ declare namespace Shopify { } interface IPriceRulePrerequisiteSubtotalRange { - prerequisite_subtotal_range: string; + greater_than_or_equal_to: string; + } + + interface IPriceR...
2
2
1
[{"id": "G0", "claim": "The new 'returns undefined when throttle is undefined' test should be replaced with a test like the 3.4.2 one where `res.body.extensions.cost` is an empty object, asserting that callGraphqlLimits is not updated when throttleStatus is missing.", "category": "testing", "verdict": "supported", "pri...
null
MONEI__Shopify-api-node__541
MONEI/Shopify-api-node
541
defect
0afb707d7f9b6163b91acb1d483f4398eed71074
bc0ddda206b29fb64c4811941303a0302a34f60d
Add an option for automatic retries when hitting rate limits
This adds opt-in retry logic to calls made to REST or GraphQL endpoints on Shopify. Many users of the Shopify API run into the restrictive rate limits, and there's one simple way you can work around them, which is to retry the request after the time has elapsed. This isn't the only strategy, but it's a really common on...
diff --git a/README.md b/README.md index 1eee8958..1df4f9ba 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,15 @@ Creates a new `Shopify` instance. - `timeout` - Optional - The number of milliseconds before the request times out. If the request takes longer than `timeout`, it will be aborted. Defaults to `60...
25
22
6
[{"id": "G0", "claim": "The `maxRetries` option should be mutually exclusive with `autoLimit`: the constructor should throw an error if both are set.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Retrying on 5xx and network errors is questionable; the r...
null
MONEI__Shopify-api-node__548
MONEI/Shopify-api-node
548
defect
49a52f778529632887e717848fe4214ac2d97cc6
a772de095661d28310a8583901982e385e888895
Ensure that body extensions aren't inspected unless the body is an array
Fixes #547. During the code review of the retries PR, we ended up unifying the REST and GraphQL error handling logic, and also dropping the defensive bits that ensured the format of the errors object was checked before doing properties access. This restores the defensive checks since this code now needs to touch errors...
diff --git a/index.js b/index.js index eedeb8f5..f8a2edf8 100644 --- a/index.js +++ b/index.js @@ -380,6 +380,7 @@ function maybeRetryMS(error) { if ( body.errors && + body.errors.length > 0 && body.errors[0].extensions && body.errors[0].extensions.code == 'THROTTLED' ) { diff --gi...
5
3
1
[{"id": "G0", "claim": "calculateDelay should not be called when the response status code is 422.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The first test, which mocks a 422 with an `error` string body, should be titled \"doesn't retry 422 erro...
null
MONEI__Shopify-api-node__554
MONEI/Shopify-api-node
554
defect
e9952867bbb1945d9d8932c0b4833478c47efe04
c24b1d0b1aadef54fc9295a55be4bf71bf85575b
Fix retryable status codes not respecting max retries option
While writing some tests for our own usage of `shopif-api-node`, I noticed that retries on `retryableStatusCodes` were not respecting `got`'s retry limit. According to `got`'s documentation: > This function is responsible for the entire retry mechanism, including the limit property. To support this, you need to chec...
diff --git a/index.js b/index.js index 6fcef5f5..1127a7c7 100644 --- a/index.js +++ b/index.js @@ -159,7 +159,8 @@ Shopify.prototype.request = function request(uri, method, key, data, headers) { limit: this.options.maxRetries, // Don't clamp Shopify `Retry-After` header values too low. ...
11
10
1
[{"id": "G0", "claim": "The GraphQL throttling check should use strict equality (`=== 200`) instead of loose equality (`== 200`).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `retryOptions.limit > 0` part of the condition is redundant and shou...
null
MONEI__Shopify-api-node__97
MONEI/Shopify-api-node
97
defect
1e926c524215fc8e0e21e5057946adafe4457d87
597d3931e6b21fd038515bb7df418d278321963f
[major] Construct with options object, instead of argument list
Precursor to adding the `timeout` parameter to options object. Ref: #96
diff --git a/README.md b/README.md index 4e6a83e9..26eea9dd 100644 --- a/README.md +++ b/README.md @@ -15,37 +15,46 @@ $ npm install --save shopify-api-node ## Usage: -This module exports a constructor function which takes three or two arguments -depending if you want to use it for private or public apps. +This mo...
5
5
0
[{"id": "G0", "claim": "The new README intro sentence should say \"options object\" instead of \"object with properties\" (cutting the sentence there), use \"options\" instead of \"properties\", and keep the 80 chars per line limit.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
MONEI__Shopify-api-node__98
MONEI/Shopify-api-node
98
defect
9c9d18e05305d51b914e5075d5ef6ebfb5bcae84
3f4593dae2d01e9bad1603b27949368b10699012
[minor] options.timeout, and request timeouts (default 60000ms)
**do not merge until #97 is merged** What this times out: - [x] Time to socket open - [x] Time to first byte What this does _not_ time out: - [ ] Time to last byte (sindresorhus/got#161) Ref: #96
diff --git a/README.md b/README.md index 2ee1ec2f..f3fc87e3 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,10 @@ const shopify = new Shopify({ where `accessToken` is a persistent [OAuth 2.0][oauth] token. +There is an additional property you can set with the options object, `timeout`, +which dictates in milli...
6
4
0
[{"id": "G0", "claim": "The PR author offers to make the new timeout also handle time to last byte, e.g. via Promise.race(request, setTimeout(throwError, timeout)), if the maintainer wants that.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The options ob...
null
MONEI__Shopify-api-node__99
MONEI/Shopify-api-node
99
defect
346b2c3ce77c5f6a1ae2a1fa634fd97fbf1f016a
62bdf7d2da27290da717c295ab5df88dd240fd14
[api] Add open action to Fulfillment resource
This adds the [open](https://help.shopify.com/api/reference/fulfillment#open) action to the Fulfillment resource.
diff --git a/README.md b/README.md index d0027d60..6f6fabdb 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,7 @@ shopify.order.list({ limit: 5 }) - `create(orderId, params)` - `get(orderId, id[, params])` - `list(orderId[, params])` + - `open(orderId, id)` - `update(orderId, id, params)` - fulfillme...
2
2
0
[{"id": "G0", "claim": "The promise chain in Fulfillment.prototype.open should be indented with 2 spaces instead of 6 (continuation) spaces.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The chained calls in the new fulfillment tests (the open ...
null
MRPT__mrpt__1353
MRPT/mrpt
1,353
defect
47e35b237cbfacf57f84adec2a3f0bff9ec5af20
a4b98d27fbcbc8a0882deccb28a9328afe82726b
FIX: safer multithread handling of string_views in CGenericPointsMap
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Field-name handling now uses owning strings so field keys remain valid across threads and object lifetime. * Deterministic per-type field ordering for consistent bulk get/set behavior. * **Bu...
diff --git a/libs/maps/include/mrpt/maps/CGenericPointsMap.h b/libs/maps/include/mrpt/maps/CGenericPointsMap.h index 6f3e347629..168c4d71f7 100644 --- a/libs/maps/include/mrpt/maps/CGenericPointsMap.h +++ b/libs/maps/include/mrpt/maps/CGenericPointsMap.h @@ -14,7 +14,10 @@ #include <mrpt/opengl/pointcloud_adapters.h> ...
5
2
2
[{"id": "G0", "claim": "getPointFieldNames_*() still enumerate the unordered_maps while the bulk get/set methods now pack custom fields by m_*FieldOrder, so the custom-field portion of point_data remains uninterpretable by name unless the getters switch to the same order vectors.", "category": "correctness", "verdict":...
null
MRPT__mrpt__934
MRPT/mrpt
934
defect
1730c9187d7c66afd594084d565a8f2ccd14f336
25c25c8c9873dd1ff10d24f7fc4b4e51e5f0e42e
Small vector optimization
Add SVO to matrix classes directly, instead of using the vendor-dependant std::basic_string. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/mrpt/mrpt/934) <!-- Reviewable:end -->
diff --git a/libs/math/include/mrpt/math/CMatrixDynamic.h b/libs/math/include/mrpt/math/CMatrixDynamic.h index 7612e01da6..ae0a97ad7b 100644 --- a/libs/math/include/mrpt/math/CMatrixDynamic.h +++ b/libs/math/include/mrpt/math/CMatrixDynamic.h @@ -22,6 +22,162 @@ namespace mrpt::math { +struct UnspecializedBool +{ +...
3
2
0
[{"id": "G0", "claim": "In resize(), the m_v resize should happen before the std::copy() into the small buffer, since it might otherwise read m_v with an arbitrary previous size (even empty).", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR does ...
null
MaJerle__lwcell__89
MaJerle/lwcell
89
defect
4a76e2c0f202eac32412c6a08ff8b8b8220b69d3
f7efe46605ceadac298e6d56f4f520ccc09f9077
Add retain status parsing for incoming MQTT messages
This pull request adds functionality to the lwcell library to detect whether incoming MQTT messages are retained or live. This feature is useful for distinguishing between live messages and retained ones, which is important for certain use cases (e.g., distinguishing between the latest state and historical data). ...
diff --git a/lwcell/src/apps/mqtt/lwcell_mqtt_client.c b/lwcell/src/apps/mqtt/lwcell_mqtt_client.c index af58ecc..5a4e4e6 100644 --- a/lwcell/src/apps/mqtt/lwcell_mqtt_client.c +++ b/lwcell/src/apps/mqtt/lwcell_mqtt_client.c @@ -113,6 +113,7 @@ typedef enum { #define MQTT_RCV_GET_PACKET_TYPE(d) ((mqtt_msg_type_t)(...
1
1
0
[{"id": "G0", "claim": "The MQTT_RCV_GET_PACKET_RETAIN macro should parenthesize its parameter, i.e. ((d) & 0x01).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MaJerle__lwgps__13
MaJerle/lwgps
13
defect
fbffc54f5a9c6179a61dfad5040042591014e75f
b68fad8816def9c81a0847a024db7e1ec24e2e27
Feature additions and tests
This commit series: 1. Adds optional parsing for `PUBX TIME` messages (disabled by default). - This is pretty straightforward, just adding `#if` blocks, optional data fields in `gps_t` and Doxygen documentation on the option. 1. Adds optional status callback to `gps_process()` so callers can track messages...
diff --git a/.gitignore b/.gitignore index a872aad..e5e5539 100644 --- a/.gitignore +++ b/.gitignore @@ -383,3 +383,4 @@ log_file.txt project.ioc mx.scratch *.tilen majerle +*.exe diff --git a/README.md b/README.md index f19a25d..27e55df 100644 --- a/README.md +++ b/README.md @@ -30,4 +30,11 @@ Fresh contributions a...
12
12
2
[{"id": "G0", "claim": "In examples/example_stat.c the counter should be incremented with the pre-increment operator rather than post-increment.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In examples/test_code.c the non-standard header should be inclu...
null
MaaXYZ__MaaFramework__1214
MaaXYZ/MaaFramework
1,214
defect
31320deb6eda25d24ee2f72d4507a1e5ecebce72
55ddf06eda2554eeaf6a653d959493391c6c0430
feat: macos utils
#1116 的补充 先看看接口有没有问题, 没问题我就补binding那边的了 ## 由 Sourcery 提供的总结 在 MaaToolkit 中新增 macOS 专用的权限管理工具,并相应更新 macOS 构建时的链接设置。 新功能: - 引入 macOS 权限枚举和 C API,用于检查、请求以及打开与屏幕捕捉和辅助功能相关的系统权限设置。 增强内容: - 为新的权限 API 增加 macOS 的 Objective-C++ 实现,以及非 Apple 平台上的桩(stub)实现。 - 调整 MaaToolkit 在 macOS 下的链接方式,使其在使用 `ScreenCaptureKit` 的同时链接 `Coco...
diff --git a/include/MaaToolkit/MaaToolkitDef.h b/include/MaaToolkit/MaaToolkitDef.h index a2ead9c474..501af66285 100644 --- a/include/MaaToolkit/MaaToolkitDef.h +++ b/include/MaaToolkit/MaaToolkitDef.h @@ -7,3 +7,11 @@ typedef struct MaaToolkitAdbDeviceList MaaToolkitAdbDeviceList; typedef struct MaaToolkitDesktopW...
9
5
0
[{"id": "G0", "claim": "The macOS implementation file does not belong in the C API call-layer folder (source/MaaToolkit/API/) and should be moved out.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The switch statements in the three macOS permission func...
null
MaaXYZ__MaaFramework__812
MaaXYZ/MaaFramework
812
defect
0154689d409681b4e7e5e7f40f079756e8d92e31
f073d79f0f8df4fd25c79002039e2a09c6ff857b
refactor: split win32 mouse and keyboard
把 Win32 Controller 的输入方法拆成了两个参数 mouse 和 keyboard 分别设置,正好趁着 5.0 breaking changed binding 和 UI 开发者有难了.jpg @MaaXYZ/binding-developers @MaaXYZ/ui-developers fix https://github.com/MaaXYZ/MaaFramework/issues/801 InterfaceV2 中也有对应修改
diff --git a/docs/en_us/2.2-IntegratedInterfaceOverview.md b/docs/en_us/2.2-IntegratedInterfaceOverview.md index 8f2f2efd44..f9780e3525 100644 --- a/docs/en_us/2.2-IntegratedInterfaceOverview.md +++ b/docs/en_us/2.2-IntegratedInterfaceOverview.md @@ -166,7 +166,8 @@ Create Adb controller - `hWnd`: window handle -...
3
1
0
[{"id": "G0", "claim": "The adb control unit should also be split (like the win32 input was split into mouse and keyboard) in this pull request.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The new keyboard field documentation reads 'The mouse keyboard...
null
MaartenGr__BERTopic__1929
MaartenGr/BERTopic
1,929
defect
de7376d3d42960e787a1115e5fe69fb726a7a33d
58761df3a93bd02dcd06259b6dd3c5985f5b959a
Fix `hierarchical_topics(...)` when the distances between three clusters are the same
Adds functionality that makes sure that during calculating of `hierarchical_topics(...)` the distances between clusters are unique (by adding some small noise) otherwise the flatting of the hierarchy would produce incorrect values for "Topics" for these clusters (#[1907](https://github.com/MaartenGr/BERTopic/issues/190...
diff --git a/bertopic/_bertopic.py b/bertopic/_bertopic.py index 822586a0..14b3fd42 100644 --- a/bertopic/_bertopic.py +++ b/bertopic/_bertopic.py @@ -54,7 +54,7 @@ from bertopic.cluster._utils import hdbscan_delegator, is_supported_hdbscan from bertopic._utils import ( MyLogger, check_documents_type, check_embe...
2
2
1
[{"id": "G0", "claim": "The added ValueError for unsorted distances may not be warranted, since it is questionable whether making the input sorted should be the user's responsibility and whether the situation ever occurs.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "...
null
MaartenGr__BERTopic__2060
MaartenGr/BERTopic
2,060
defect
be9376c99dba157707286b4d828277b5f3627572
0f16c3db8103935cbb56c0546739a2ac39bf2a9e
Simplify zero-shot topic modeling
* Fix downstream operations after zero-shot topic modeling * No longer perform merging of models for zero-shot. The zero-shot topics act as a prefiltering step before clustering. The zero-shot topics are combined with the clustered topics immediately after clustering. * The C-TF-IDF model is fitted on all documen...
diff --git a/bertopic/_bertopic.py b/bertopic/_bertopic.py index de57c35a..0ca2abfa 100644 --- a/bertopic/_bertopic.py +++ b/bertopic/_bertopic.py @@ -256,7 +256,7 @@ def __init__(self, self.topic_mapper_ = None self.topic_representations_ = None self.topic_embeddings_ = None - self.to...
7
6
3
[{"id": "G0", "claim": "The new attribute `topic_id_to_zeroshot_topic_idx` should either be named in line with the convention for public attributes or, if it is not meant to be accessed by users, converted to a private attribute.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intro...
null
MaartenGr__BERTopic__2322
MaartenGr/BERTopic
2,322
defect
de250e90598deee57d4ec370ea1ea36a6bde85dc
d85959e2b3f1e3190319a16fc99094cd7180223f
Add delete topics
# What does this PR do? - Added a delete_topics method to move topics to a -1 outlier cluster. - Added test_delete.py to test the new method Fixes discussion #2172 ## Before submitting - [ N] This PR fixes a typo or improves the docs (if yes, ignore all other checks!). - [ Y] Did you read the [contributor ...
diff --git a/bertopic/_bertopic.py b/bertopic/_bertopic.py index 6a75171b..d672155e 100644 --- a/bertopic/_bertopic.py +++ b/bertopic/_bertopic.py @@ -827,7 +827,7 @@ def topics_over_time( nr_bins: The number of bins you want to create for the timestamps. The left interval will be cho...
8
6
3
[{"id": "G0", "claim": "The new delete_topics code guards many attributes with hasattr(...) without need, since some of them like topic_embeddings_ should always exist.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly created -1 topic sh...
null
MaartenGr__BERTopic__2401
MaartenGr/BERTopic
2,401
defect
458e2e025d2fd581c0e131ae9fe9cbd23634c2b5
8e5a7f2ace6e67c8997a0c6ab7e0a39b53bf1e91
Allow execution without plotly
Allow execution without plotly. Fixes #2398 Handles calls to .visualize... methods with a ```pass``` and a logger.warning ## Before submitting - [ ] This PR fixes a typo or improves the docs (if yes, ignore all other checks!). - [x] Did you read the [contributor guideline](https://github.com/MaartenGr/BERT...
diff --git a/Makefile b/Makefile index bc7f2ba1..5204b1b0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,13 @@ test: pytest +test-no-plotly: + uv sync --extra test + uv pip uninstall plotly + pytest tests/test_other.py -k plotly + uv sync --extra test + pytest tests/test_other.py -k plotly + coverage: pytest -...
5
5
2
[{"id": "G0", "claim": "Add a one-liner telling users how to install plotly (e.g. `pip install plotly`) to the message shown when plotly is missing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Detecting a missing plotly by matching the string \...
null
MaartenGr__KeyBERT__210
MaartenGr/KeyBERT
210
defect
17330320789088338a08692ef866e0b07d861de7
f38d5c95828d41b6525235899bf17cbf228002bb
Opens sentence transformer backend to edit batch_size param
- updates flake8 pre-commit-config to use github repo - resolves #209
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec64e326..61d45e96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,8 +11,8 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files -- repo: https://gitlab.com/pycqa/flake8 - ...
2
2
2
[{"id": "G0", "claim": "The KeyBERT changes are unnecessary and non-idiomatic: SentenceTransformerBackend can be passed directly to `model` since `select_backend` already picks the right backend, so the PR should drop the `backend` parameter with its if/else and docstring, the top-level import in keybert/__init__.py, a...
null
MachinaIO__diamond-io__41
MachinaIO/diamond-io
41
defect
305be950b94d085fc7506157cabcf0195a1b0d35
e87d9c4f56c08abdaf028e7ee9c6d6720d98a987
refact: `test` feature, for now default
add `test` feature instead of using `#[cfg(test)]` which reasoning is as i'm moving io e2e test out to /tests dir, it's not reachable
diff --git a/Cargo.toml b/Cargo.toml index a69643e5..9e9fba28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,8 @@ rust-version = "1.83" license = "MIT OR Apache-2.0" [features] +default = ["test"] +test = [] parallel = ["rayon"] [dependencies] diff --git a/README.md b/README.md index c0c1d636..b99eb285 100...
1
1
0
[{"id": "G0", "claim": "Create params.rs directly under the io directory instead of introducing a new obfuscate directory that exists only to hold params.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MachinaIO__diamond-io__44
MachinaIO/diamond-io
44
defect
ed500ba3aed4dcde5c36a5e5d02e0ab656b4f565
758b89dc78aaf18821ae18b05bda58ae4c41a126
Refactor `obfuscate`
Refactor the `obfuscate` function to perform a single loop over `obf_params.input_size`. I expect the benefit in terms of runtime performance and memory consumption of replacing the three existing loops with a single one will emerge as we scale the input size beyond `1` Test analysis performed using `cargo test --t...
diff --git a/README.md b/README.md index e62f28ae..52e541b8 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,5 @@ cargo test -r --features="parallel" this will remove helper logic + helper fields for test which is not require for iO security. ``` -/usr/bin/time -l cargo test --test test_io --no-default-features...
1
1
1
[{"id": "G0", "claim": "The test configuration should keep using d=3 to ensure that the implementation is still tested for d>1.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MachinaIO__diamond-io__56
MachinaIO/diamond-io
56
defect
e5b5f62da50a076fde095917b870d26e23f6b00a
f8a9943bdd0c5abb11e14a36e2a2614be55769db
Feat/store preimages to disk
Store the preimages to disk during obfuscation and fetch them during evaluation Benches on my machine running `uv run memory_profile.py cargo test -r --test test_io_dummy_param --no-default-features --features parallel` Before ``` Step Description Physical M...
diff --git a/.gitignore b/.gitignore index 9f16ca1b..f6108dce 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ Cargo.lock final_bits_norm.json venv .venv -/logs \ No newline at end of file +/logs +/data \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index bce848bc..d6639844 100644 --- a/C...
6
2
0
[{"id": "G0", "claim": "Consider renaming 'preimage_to_fs' to more explicitly indicate its behavior of storing to disk (e.g., 'store_preimage_to_fs') to improve clarity.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The function name 'DCRTSquar...
null
MachinaIO__diamond-io__78
MachinaIO/diamond-io
78
defect
244c599bf97430a1089e2f16ea12fd5dd02a8d7c
161bc4ad8b1a727336e7a2c4e2d154a0072f36de
Fix : rlwe encryption
Issue originally discussed in #74 as part of a larger PR. The io test fails when setting `hardcoded_key_sigma` to any value different than 0. That's because the bits from the noisy plaintext are recovered using `extract_highest_bits()`. As an example, if message bit is 0 and error is negative, the resulting recovere...
diff --git a/src/bgg/circuit/mod.rs b/src/bgg/circuit/mod.rs index 8598ef74..1bf8ad89 100644 --- a/src/bgg/circuit/mod.rs +++ b/src/bgg/circuit/mod.rs @@ -319,15 +319,18 @@ impl PolyCircuit { #[cfg(test)] #[cfg(feature = "test")] mod tests { + use std::sync::Arc; + use super::*; use crate::{ po...
1
1
0
[{"id": "G0", "claim": "Define the rlwe_encrypt function and its unit tests in enc.rs under poly instead of in mod.rs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MachinaIO__diamond-io__80
MachinaIO/diamond-io
80
defect
d9223d43b87131d2bc9fdd3552f8592d1ddd5f97
34d3f88971282138d3c54ee13cc06d919f3a229e
Fix: circuit
The obfuscation-evaluation logic on `main` presents the following issue: - The public circuit is defined to only execute homomorphic evaluation on the `b` component of the ciphertext (and not on the `a` component). The io test is passing as long as the circuit consists of a unique AND gate between `b` and `input=tru...
diff --git a/src/bgg/circuit/mod.rs b/src/bgg/circuit/mod.rs index dc7af877..9cdf8dc9 100644 --- a/src/bgg/circuit/mod.rs +++ b/src/bgg/circuit/mod.rs @@ -780,7 +780,7 @@ mod tests { assert_eq!(b_eval, &b * &x); // decrypt the result - let plaintext = b_eval - a_eval * t; + let plainte...
2
2
0
[{"id": "G0", "claim": "The `test_io_just_mul_enc_and_and_bit` test is duplicated in a test module inside `src/io/mod.rs` although it has already been moved to `tests/test_io_dummy_param.rs`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Set `h...
null
MachinaIO__diamond-io__82
MachinaIO/diamond-io
82
defect
4d8f40894eace815f4e9289bb917df6875d8bec1
8507ff0f7ba599ca15375d57a901eb8045340d5d
Feat/improve simulator 0409
This PR fixes the simulator. I confirmed that the e2e test passed with the middle parameters output by the new simulator, which contains some LWE errors.
diff --git a/simulator/main.py b/simulator/main.py index fa768bf7..409cd987 100644 --- a/simulator/main.py +++ b/simulator/main.py @@ -10,17 +10,18 @@ from decimal import Decimal, getcontext from norms import CircuitNorms -getcontext().prec = 100 +getcontext().prec = 300 def log_params_to_file( secpar: in...
4
2
0
[{"id": "G0", "claim": "The from_digits parameter should be `digits: &[u64]` instead of `&[u32]` since digits are cast to u64.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The variable names `a_bit`/`b_bit` should be renamed to `a_base`/`b_base` now that...
null
MachinaIO__diamond-io__90
MachinaIO/diamond-io
90
defect
5fb6536000c7466c3e831d2c697bd2af927a0cc4
c046e2f2d678922aa54001e7bfd70bebb9e8cd4e
feat: larger width
Obfuscation now supports `level_width` which indicates the number of bits to be inserted at each diamond level Right now we only support 1 bit insertion per step <img width="1311" alt="Screenshot 2025-04-15 at 09 00 12" src="https://github.com/user-attachments/assets/609e14f4-b419-4123-811b-e3fd48f65172" /> Wh...
diff --git a/src/bgg/circuit/utils.rs b/src/bgg/circuit/utils.rs index d4311c2e..0588ae1c 100644 --- a/src/bgg/circuit/utils.rs +++ b/src/bgg/circuit/utils.rs @@ -4,10 +4,10 @@ use super::PolyCircuit; /// Build a circuit that is a composition of two sub-circuits: /// 1. A public circuit that it is assumed to return...
1
1
0
[{"id": "G0", "claim": "Rename `level_width_exp` to `level_width` (and correspondingly rename `level_width` to something like `level_size` or `num_level_preimages`) because \"width\" should describe how many input bits are inserted at each diamond step.", "category": "maintainability", "verdict": "supported", "priority...
null
MachinaIO__diamond-io__99
MachinaIO/diamond-io
99
defect
7b594ce8248ca2dbbb313dbc5ca61cd1e59bf913
36f6a3c8a6bb425860b70b2adf73b6b1c0bd726b
Fix/norm simulator 0418
This PR fixes the norm simulator in rust. Some parameters in test functions are also updated according to the new simulation results.
diff --git a/simulator/main.py b/simulator/main.py index 5151eb61..a4126305 100644 --- a/simulator/main.py +++ b/simulator/main.py @@ -500,12 +500,12 @@ def sqrt_ceil(x): d = 1 base_bits = 20 crt_bits = 51 - max_crt_depth = 23 - input_size = 56 - input_width = 7 + max_crt_depth = 12 + inpu...
2
2
0
[{"id": "G0", "claim": "Clean up the commented-out remains of the old unpacking loop that the change left behind in simulate_bgg_norm.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Pass packed_input_norms as an owned Vec<BigUint> instead of &[B...
null
MagicMirrorOrg__MagicMirror__2518
MagicMirrorOrg/MagicMirror
2,518
defect
d85e1c70d64cd2053fb5bdc46281fe3e6e357619
475f24861cf6df2ccbe6d38fce44e5e50c47725e
Hide newsfeed description
Fixes #2517 showDescription setting for newsfeed module is checked and applied again.
diff --git a/CHANGELOG.md b/CHANGELOG.md index c6e2af46e9..49fd5b0f99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ _This release is scheduled to be released on 2021-04-01._ ### Fixed +- Checks and applies the showDescription setting for the newsfeed module again + ## [2.15.0] - 2021-04-01 Spe...
5
5
4
[{"id": "G0", "claim": "Add a test case covering the showDescription change to the newsfeed module.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The showDescription check should be done in the njk template like the other options instead of in newsfeed...
null
MagicMirrorOrg__MagicMirror__2648
MagicMirrorOrg/MagicMirror
2,648
defect
e40ddd4b69424349768b7e451d9c4f52ac4efe45
e2158716d6c78db3724993352ab8aa53a76ad2fc
Add common methods to weatherobject
Looking at the different weather providers I noticed some methods were repeated. So I refactored some of them into the weatherobject to be used from the providers. Added a unit test too, so hopefully it is correct. But better to have more than one pair of eyes look at the changes since the providers are hard to t...
diff --git a/.eslintrc.json b/.eslintrc.json index 31aae27fc0..3e685a0dcf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -23,6 +23,7 @@ }, "rules": { "prettier/prettier": "error", + "eqeqeq": "error", "no-prototype-builtins": "off", "no-unused-vars": "off" } diff --git a/CHANGELOG.md b/CHANGELOG.md...
3
2
1
[{"id": "G0", "claim": "The test errors khassel is seeing may be caused by the node-fetch upgrade to v3, whose breaking changes are described in the linked upgrade guide.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added WeatherObject const...
null
MagicMirrorOrg__MagicMirror__3042
MagicMirrorOrg/MagicMirror
3,042
defect
fb22a7679671c81b7d7302f3e6e3d15064f79bce
07da98b0c6f269985ea70a0daa085047b554fe4b
stylelint
1. Update `stylelint` dependencies - As of stylelint v15, we do not need `stylelint-config-prettier` anymore: https://github.com/prettier/stylelint-config-prettier/releases/tag/v9.0.5 2. Switch to `stylelint-config-standard`: `stylelint-prettier/recommended` has not been updated for a long time and still needs the ...
diff --git a/.stylelintrc.json b/.stylelintrc.json index d450c732dc..18ff23e703 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,5 +1,5 @@ { - "extends": ["stylelint-prettier/recommended"], + "extends": ["stylelint-config-standard"], "plugins": ["stylelint-prettier"], "rules": { "prettier/prettier":...
2
2
0
[{"id": "G0", "claim": "Get rid of the `/* stylelint-disable number-max-precision */` ignore at the top of modules/default/alert/styles/notificationFx.css.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Get rid of the `/* stylelint-disable selec...
null
MagicMirrorOrg__MagicMirror__3070
MagicMirrorOrg/MagicMirror
3,070
defect
d276a7ddb9ac03b823e69d24299a5ddc4a439f98
0822c6c8607ebffabba943a720d4393e9ed346f1
Fixed clock module sunrise/sunset timezone bug
Updated sunrise/sunset times to display user-requested timezone rather than system timezone. Note: rebase of #3069 against develop rather than master Hello and thank you for wanting to contribute to the MagicMirror² project **Please make sure that you have followed these 4 rules before submitting your Pull Re...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f94f42d63..41b8096d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ _This release is scheduled to be released on 2023-04-01._ - Fix e2e tests (failed after async changes) by running calendar and newsfeed tests last - Lint: Use template literals instead ...
4
4
4
[{"id": "G0", "claim": "The sunrise/sunset conversion hardcodes the \"en-us\" locale and should respect the module's \"locale\" config value instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should also come with a test coveri...
null
MagicMirrorOrg__MagicMirror__3093
MagicMirrorOrg/MagicMirror
3,093
defect
7e58b38ddfded22f6902e703e826a8d8edde88ee
772f90c8b54dfdac8132ad0a20edd40c98e1157f
use node v20 in github workflow (replacing v19)
additional: - update deps - suppress more unwanted log errors in e2e tests - add .gitattributes - fix prettier/js warnings
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..e65801a77e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,56 @@ +# .gitattributes snippet to force users to use same line endings for project. +# +# Handle line endings automatically for files detected as text +# and leave all files det...
1
1
0
[{"id": "G0", "claim": "The removal of blank lines inside JSDoc blocks across many files is unrelated churn from a new eslint-plugin-jsdoc formatting default, and should be moved to a separate PR to keep the git history cleaner.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
MagicMirrorOrg__MagicMirror__3184
MagicMirrorOrg/MagicMirror
3,184
defect
9d49196e696f7cb4cb1a371dc56bff4727a76dfe
7b94db1df576c5dcc11209ebf50ebffc4f9cfb51
use internal fetch as replacement for node-fetch
related to #2649 I was able to move to internal fetch and all tests seems fine so far. But we have one problem with the calendar module. In the docs we have several authentication methods and one of them is `digest`. For this we used `digest-fetch` which needs `node-fetch` (this is not so clear from code but I wa...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 03f7360fd9..f6ed7b7ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ _This release is scheduled to be released on 2023-10-01._ - Update engine node >=18. v16 reached it's end of life. (#3170) - Update typescript definition for modules - Cleaned up nunju...
3
3
0
[{"id": "G0", "claim": "Since the latest digest-fetch release moved to ESM on the v3 line, the PR should avoid dropping digest support by patching the library's v2 branch, finding an alternative library, or — if digest-auth is really uncommon — removing it.", "category": "design", "verdict": "supported", "priority": "P...
null
MagicMirrorOrg__MagicMirror__3193
MagicMirrorOrg/MagicMirror
3,193
defect
7127979c6fe201a08f42cbff6226dc9235fe6dd1
41ba2b0eb34eac7dba4ba4b9e96e47138670c0ac
Add class event calendar
Hello, This pull request allows you to add a class to the tr of the event sought in customEvents. You must enter the class with the "eventClass" option.
diff --git a/CHANGELOG.md b/CHANGELOG.md index ca9184d796..9c417fd6bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ _This release is scheduled to be released on 2023-10-01._ - Added AnimateIn and animateOut in module config definition - Apply AnimateIn rules on the first start - Added automatic clie...
3
3
1
[{"id": "G0", "claim": "The pull request's code should be run through prettier and recommitted.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Info about the new eventClass option should be added to the customEvents defaults comment at line 44 (...
null
MagicMirrorOrg__MagicMirror__3330
MagicMirrorOrg/MagicMirror
3,330
defect
58bc14e8c05e2ef8e75ccc5f6a9cf05e01ad11d4
5b01bba80761ff709dd536f6fb4aa493386108be
[cosmetic] Weather module humidity positioning
This PR adds an option to tweak the layout of the weather module. When set, the humidity appears alongside the temperature: ![Screenshot from 2024-01-03 11-56-55](https://github.com/MagicMirrorOrg/MagicMirror/assets/551990/2a9fdf9a-21e4-49f5-8a48-68ea21902592)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 468cc9ba48..55a5428819 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ _This release is scheduled to be released on 2024-04-01._ ### Added - Output of system information to the console for troubleshooting (#3328 and #3337), ignore errors under aarch64 +-...
5
4
2
[{"id": "G0", "claim": "Change the pull request so that the position of the humidity is controlled via the existing showHumidity config parameter (turned into a string with positional options) instead of introducing a new config parameter, with a deprecation warning for the boolean value.", "category": "design", "verdi...
null
MagicMirrorOrg__MagicMirror__3471
MagicMirrorOrg/MagicMirror
3,471
defect
63324454a9c936de1b9ea09bd053b8f664bc284d
631a8e626cf1fb5eff84343470d6e01e598a9c55
Update compliments module
`Fixes #3465` Add config option `specialDayUnique` that defaults to `false` and causes special day compliments to be added to the existing compliments array. Setting this option to `true` will only show the compliments that have been configured for that day.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 10edb8aaa6..35fcb6f62c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ _This release is scheduled to be released on 2024-07-01._ ### Added +- [compliments] Added `specialDayUnique` config option, defaults to `false`. When set to `true` it replaces the e...
2
2
1
[{"id": "G0", "claim": "The CHANGELOG entry for specialDayUnique should be shortened to the suggested one-liner, with any longer explanation deferred to a separate PR in the MagicMirror-Documentation repo.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
MagicMirrorOrg__MagicMirror__3518
MagicMirrorOrg/MagicMirror
3,518
defect
56736786fd3d2c0f5112eb2a82102f38a7f908c3
8ce819efac7964f810d0826999795a0a6a21ef12
add support for custom regions, by detecting what is used in index.html
read index.html to discover the regions used, make them the list checked by app.js and check:config test fixes #3504 supercedes #3506 no config.js param required
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9db5f2669a..c06146ae71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,8 +20,8 @@ _This release is scheduled to be released on 2024-10-01._ - [weather] Updated `apiVersion` default from 2.5 to 3.0 (#3424) - [core] Updated dependencies including stylistic-eslint -- ...
5
4
2
[{"id": "G0", "claim": "The allowCustomModulePositions handling that came with the superseded PR #3506 looks no longer needed now that positions are detected from index.html, and should be removed (or that commit reverted).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
MagicMirrorOrg__MagicMirror__3631
MagicMirrorOrg/MagicMirror
3,631
defect
4259d7c075acbb34dad9866934fd30b36f5036bb
ee33350a37db85655adb44d55fcd1c9200f04509
add support for test mode detection in modulename.js via index.html
in some cases the modulename.js may need to detect running in test mode (compliments pr #3630) window.name is not set web mode add a new field to the index.html window.intest and use the server_function to replace the hard coded string like we do for window.mmversion=#VERSION# then change the two test hel...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f6856c88d..3a0ddfeeb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ _This release is scheduled to be released on 2025-01-01._ - [linter] re-added `eslint-plugin-import`now that it supports ESLint v9 (#3586) - [docs] Added step for npm publishing in rele...
2
2
0
[{"id": "G0", "claim": "The line clearing process.env.jstest is inconsistent with the \"intest\" naming used for the test-mode flag everywhere else in the change, so it should be explained or removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
MagicMirrorOrg__MagicMirror__3681
MagicMirrorOrg/MagicMirror
3,681
defect
8fdd865cb1a205d8a03f11e6fb5a407c7d5531fb
22020f8d57b6d5f85354ce78e5c7557578bfdc98
fix #3267, CORRECTLY, add testcase, add testcase for #3279
fixes #3267 AGAIN, correctly, add testcase add testcase for #3679 , broadcast clipping incorrectly I added a test module (tests/testNotification) to catch the notification and check the count. (one way to configure) i put this module in the tests folder, and added /tests to the server paths. (can't have a modul...
diff --git a/CHANGELOG.md b/CHANGELOG.md index fc5627a88f..7d95e1c565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,8 +25,9 @@ planned for 2025-04-01 ### Fixed -- [calendar] Fix clipping events being broadcast (#3678) +- [calendar] fix clipping events being broadcast (#3678) - [tests] Electron tests: Fixes ...
4
3
0
[{"id": "G0", "claim": "khassel asked to move the special testNotification test assets beside the electron test and copy them into the needed folder inside the test (as the newsfeed test does), avoiding the changes to app.js and server.js.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introd...
null
MagicMirrorOrg__MagicMirror__3726
MagicMirrorOrg/MagicMirror
3,726
defect
28bcee7de6bee1ddb687632c6f8f49a591a41fbd
3c2a38d99e850933e407545531042c944bd75da7
Fix empty part-of-day logic
Fixes #3727
diff --git a/CHANGELOG.md b/CHANGELOG.md index d25406149a..7ecf856309 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ planned for 2025-04-01 - [core] Fix wrong port in log message when starting server only (#3696) - [calendar] Fix NewYork event processed on system in Central timezone shows wrong time #...
2
2
2
[{"id": "G0", "claim": "The pull request adds tests but no change to compliments.js, so the code change is missing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Initializing `timeOfDay = \"\"` will be true later because an empty string is not the ...
null
MagicMirrorOrg__MagicMirror__3775
MagicMirrorOrg/MagicMirror
3,775
defect
2831ae985c831cc978f063a1e2820dacf0fe27e4
cdc16ae0515cb5fd6b7660dd157457792a0cd90d
[feature] implement short syntax for clock week
Hello and thank you for wanting to contribute to the MagicMirror² project! **Please make sure that you have followed these 4 rules before submitting your Pull Request:** > 1. Base your pull requests against the `develop` branch. > 2. Include these infos in the description: implement short syntax for clock week ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 05279fab93..45c9b7b1df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ planned for 2025-07-01 - [config] Allow to change module order for final renderer (or dynamicaly with CSS): Feature `order` in config. (#3762) - [clock] Added option 'disableNextEvent...
5
5
2
[{"id": "G0", "claim": "The hardcoded weekWrapperInnerHTML.replace(\"Week \", \"W\") won't work for the translated \"week\" string in other languages.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Any string manipulation of the WEEK translation fai...
null