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
STEllAR-GROUP__hpx__6872
STEllAR-GROUP/hpx
6,872
defect
1cce0aeb6c95a670c600bf6c8d35472ede5ce0a0
863cf5fe447b9d2b3e19637a884b30842de008b1
Added random repeating numbers in tests and fixed sentinel tests for extrema algorithms
Fixes #6627 ## Proposed Changes -Added random_repeat utility function to generate vectors with repeated/duplicate values for testing extrema algorithms (min_element, max_element, minmax_element) -Replaced random_iota with random_repeat in all extrema algorithm tests to properly test behavior with duplicate ...
diff --git a/libs/core/algorithms/tests/unit/algorithms/max_element.cpp b/libs/core/algorithms/tests/unit/algorithms/max_element.cpp index ea32980a7deb..464dfde94704 100644 --- a/libs/core/algorithms/tests/unit/algorithms/max_element.cpp +++ b/libs/core/algorithms/tests/unit/algorithms/max_element.cpp @@ -23,7 +23,7 @@...
1
1
0
[{"id": "G0", "claim": "The pull request should not add two identical versions of random_repeat (a std::size_t specialization alongside the generic template); the generic version alone should be sufficient.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
STEllAR-GROUP__hpx__6886
STEllAR-GROUP/hpx
6,886
defect
ebbf3a9fd68e695db6a440fcbc06005f1e9411c4
4710a7069ef7f8343b2ac89253ad62079c3a3fb1
Expose global termination detection through new API (#6163)
## **Summary** This PR implements a **public API for HPX's termination detection functionality**, addressing **issue #6163**. --- ## **Motivation** The **FLECSi** project demonstrated a need for public termination detection APIs by implementing their own solution using internal HPX functionality ([[referen...
diff --git a/libs/core/runtime_local/CMakeLists.txt b/libs/core/runtime_local/CMakeLists.txt index 2fabc903dff6..6ccc9496246c 100644 --- a/libs/core/runtime_local/CMakeLists.txt +++ b/libs/core/runtime_local/CMakeLists.txt @@ -33,6 +33,7 @@ set(runtime_local_headers hpx/runtime_local/state.hpp hpx/runtime_loc...
7
5
3
[{"id": "G0", "claim": "The distributed/global termination detection code in the core module — the wait_for_global_termination declaration and documentation in the header and its stub implementation in runtime_local.cpp — belongs in libs/full/runtime_distributed instead.", "category": "design", "verdict": "supported", ...
null
STEllAR-GROUP__hpx__6934
STEllAR-GROUP/hpx
6,934
defect
d1e7aaf0b5529530093b47ad2acf1a31a71966da
e07454fd7d5e38710bc21d5c1519378300e478d3
Fix parallel performance of hpx::reverse by using index-based dispatch
Description: ------------ This PR addresses a performance regression in hpx::reverse when executed with the parallel (par) execution policy on large datasets. Problem: -------- hpx::reverse() was observed to perform worse with the par policy compared to the seq policy for large input sizes (e.g., 100,000,000 e...
diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/reverse.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/reverse.hpp index 0bd6ed390a58..5a7c732758f4 100644 --- a/libs/core/algorithms/include/hpx/parallel/algorithms/reverse.hpp +++ b/libs/core/algorithms/include/hpx/parallel/algorithms/rever...
5
4
2
[{"id": "G0", "claim": "Use the public HPX module headers instead of module-internal ones, i.e. include <hpx/modules/iterator_support.hpp> rather than hpx/iterator_support/counting_iterator.hpp (and the later hpx/iterator_support/traits/is_iterator.hpp).", "category": "maintainability", "verdict": "supported", "priorit...
null
STEllAR-GROUP__hpx__6940
STEllAR-GROUP/hpx
6,940
defect
d586d881474e463a1f1d77be779e8c385331ba07
2d7e864475b1015a1da701889f8266b6e257cdbc
fix clang tidy errors in hpx
### Error 1: Warning generated is - `bugprone-crtp-constructor-accessibility`. ```bash [ 50/1669][11.9s] /opt/homebrew/opt/llvm@20/bin/clang-tidy -p=/Users/surya/hpx --config-file=.clang-tidy /Users/surya/hpx/libs/core/resource_partitioner/tests/unit/suspend_thread.cpp /Users/surya/hpx/libs/core/coroutines/inclu...
diff --git a/libs/core/algorithms/tests/unit/algorithms/util/test_merge_four.cpp b/libs/core/algorithms/tests/unit/algorithms/util/test_merge_four.cpp index 85e0798d1ab6..2ea49f601076 100644 --- a/libs/core/algorithms/tests/unit/algorithms/util/test_merge_four.cpp +++ b/libs/core/algorithms/tests/unit/algorithms/util/t...
9
7
2
[{"id": "G0", "claim": "direct_streambuf::init_input()/init_output() should throw an exception when `storage_` is invalid instead of silently skipping initialisation behind the added has_value() guard.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
STEllAR-GROUP__hpx__6943
STEllAR-GROUP/hpx
6,943
defect
d586d881474e463a1f1d77be779e8c385331ba07
c4fe362289893897957e3562d1a8cd98bc4585c1
Fix thread safety bugs in concurrent containers and a few algorithm issues
While reviewing the recently merged concurrent data structures and algorithm changes, I found a few bugs worth fixing. **Concurrent containers (vector, unordered_map, unordered_set)** The move constructors and move assignment operators weren't locking the source object's mutex before moving from it. This mean...
diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/detail/find.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/detail/find.hpp index 8e48249aa34a..311402db697a 100644 --- a/libs/core/algorithms/include/hpx/parallel/algorithms/detail/find.hpp +++ b/libs/core/algorithms/include/hpx/parallel/algo...
9
6
2
[{"id": "G0", "claim": "Removing the `std::is_same_v<T, iter_value_t<InIter>>` requirement outright is wrong; per the standard it should be weakened to convertibility (iter_value_t convertible to T), not dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
STEllAR-GROUP__hpx__6955
STEllAR-GROUP/hpx
6,955
defect
b67a10fed3257287622a01562566f88548e20335
811bc221fa0e8c5326d0d368a7d1dffe60864148
fix: correct argument order for `next_or_subrange` and `add_ready_future_idx` functions
Fixes #6931 #Proposed Changes Fix swapped arguments in next_or_subrange call ( get_bulk_iteration_shape_variable ): After count -= chunk, count holds the remaining elements — not the advance distance. The call was passing (it_or_r, count, chunk) but should be (it_or_r, chunk, count) , matching the i...
diff --git a/libs/core/algorithms/include/hpx/parallel/util/detail/chunk_size.hpp b/libs/core/algorithms/include/hpx/parallel/util/detail/chunk_size.hpp index 2c886ee685b2..6e9d821863be 100644 --- a/libs/core/algorithms/include/hpx/parallel/util/detail/chunk_size.hpp +++ b/libs/core/algorithms/include/hpx/parallel/util...
1
1
1
[{"id": "G0", "claim": "The pull request should add a test that reproduces the argument-order issue and demonstrates that this PR fixes it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
STEllAR-GROUP__hpx__6968
STEllAR-GROUP/hpx
6,968
defect
7ab0e511f3a3f3c576010a80e34ff33a86a944e7
7996df422fb379543cdca06f14b69786b8d61f54
schedulers: fix NUMA hint not validating suspended PUs
Fixes #6963 ## Proposed Changes - `create_thread()`: add `select_active_pu()` call after NUMA domain selection and re-derive `domain_num`/`q_index` from the validated `thread_num` - `schedule_thread()`: same fix, plus replace unreachable `throw std::runtime_error` in the cross-domain else-branch with a proper ...
diff --git a/libs/core/schedulers/include/hpx/schedulers/shared_priority_queue_scheduler.hpp b/libs/core/schedulers/include/hpx/schedulers/shared_priority_queue_scheduler.hpp index 322a13dc9d3e..6fbbb63ce6a5 100644 --- a/libs/core/schedulers/include/hpx/schedulers/shared_priority_queue_scheduler.hpp +++ b/libs/core/sch...
3
3
1
[{"id": "G0", "claim": "The now-redundant `q_index = q_lookup_[thread_num]` assignments in the NUMA hint path (and in the changed code sections below) are dead stores that can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CI-rep...
null
STEllAR-GROUP__hpx__7055
STEllAR-GROUP/hpx
7,055
defect
1c7dd89e373e2c7e4eaa3b41d6298aa3e0d3c699
bf251c0f7713caa69bbf6d739812c8902b9c6301
Modernized HPX algorithm headers
I’ve updated the HPX algorithm library to fully embrace the C++20 standard. As part of this work, I refactored several headers—including partition.hpp, reverse.hpp, swap_ranges.hpp, and nth_element.hpp—to use std::ranges::iter_swap directly. I also removed all the old preprocessor guards related to HPX_HAVE_CXX20_ST...
diff --git a/cmake/HPX_AddConfigTest.cmake b/cmake/HPX_AddConfigTest.cmake index 71cd0653aa21..ffd0d6c53731 100644 --- a/cmake/HPX_AddConfigTest.cmake +++ b/cmake/HPX_AddConfigTest.cmake @@ -543,15 +543,6 @@ function(hpx_check_for_cxx20_std_execution_policies) ) endfunction() -# ##################################...
20
19
10
[{"id": "G0", "claim": "The pull request adds `#include <ranges>` in files where std::ranges::iter_move/iter_swap are already provided by `<iterator>`, so those added `<ranges>` includes are unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
STEllAR-GROUP__hpx__7068
STEllAR-GROUP/hpx
7,068
defect
86aa334f44093f79cacfa19bd211bcc828f43a66
24c7e6b1a04a6e9474e763595867d1b987dd8eb8
cmake: remove HPX_WITH_CXX20_STD_EXECUTION_POLICES feature test
Fixes # 6941 ## Proposed Changes - Remove cmake function hpx_check_for_cxx20_std_execution_policies from HPX_AddConfigTest.cmake - Remove function call from HPX_PerformCxxFeatureTests.cmake - Delete obsolete test file cmake/tests/cxx20_std_execution_policies.cpp - Remove HPX_HAVE_CXX20_STD_EXECUTION_POLICES...
diff --git a/cmake/HPX_AddConfigTest.cmake b/cmake/HPX_AddConfigTest.cmake index 71cd0653aa21..ed6a2ab115d8 100644 --- a/cmake/HPX_AddConfigTest.cmake +++ b/cmake/HPX_AddConfigTest.cmake @@ -534,15 +534,6 @@ function(hpx_check_for_cxx20_std_endian) ) endfunction() -# ##############################################...
1
1
1
[{"id": "G0", "claim": "Keep the HPX_WITH_CXX20_STD_EXECUTION_POLICES CMake flag and the associated HPX_HAVE_CXX20_STD_EXECUTION_POLICES preprocessor macro in place by replacing the removed feature test with a canonical hpx_option plus hpx_add_config_define in the main CMakeLists.txt, since removing the test would leav...
null
STEllAR-GROUP__hpx__7106
STEllAR-GROUP/hpx
7,106
defect
0a72578b7736f78c807fc182b188be99290aacd4
e3505ebba3d1ade35bb238aaab7c85c279970017
feat(futures): implement C++23 monadic operations
## feat: implement C++23 monadic operations for future and shared_future Implements [and_then](cci:1://file:///home/shivanshsingh/Desktop/compiler-explorer/hpx-godbolt-build/hpx-src/libs/core/futures/include/hpx/futures/future.hpp:1578:4-1595:5), [transform](cci:1://file:///home/shivanshsingh/Desktop/compiler-explor...
diff --git a/libs/core/futures/CMakeLists.txt b/libs/core/futures/CMakeLists.txt index 55f337720b49..86cf24785a9c 100644 --- a/libs/core/futures/CMakeLists.txt +++ b/libs/core/futures/CMakeLists.txt @@ -15,6 +15,7 @@ set(futures_headers hpx/futures/futures_factory.hpp hpx/futures/future_or_value.hpp hpx/...
16
16
7
[{"id": "G0", "claim": "The monadic operations should be provided as free functions in a separate header file rather than as member functions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "An example demonstrating how the new facilities would change (impro...
null
STEllAR-GROUP__hpx__7130
STEllAR-GROUP/hpx
7,130
defect
d0a908d72b08992fe181782baa067fc5e62d913e
9216d3db7ab071bf8c9686303f37ad50ca519b78
Add local-runtime fallback for hpx/iostream.hpp
Fixes #4565 ## Proposed Changes This PR adds a local-runtime fallback implementation for `hpx/iostream.hpp` when `HPX_WITH_DISTRIBUTED_RUNTIME=OFF`. The fallback is intentionally narrower than the distributed implementation. - Added local-only implementations for: - `hpx::cout`, `hpx::cerr`, `hpx::consolestre...
diff --git a/libs/core/include_local/CMakeLists.txt b/libs/core/include_local/CMakeLists.txt index 8d020a871f5e..0e25a46f5d6c 100644 --- a/libs/core/include_local/CMakeLists.txt +++ b/libs/core/include_local/CMakeLists.txt @@ -29,6 +29,7 @@ set(include_local_headers hpx/tuple.hpp hpx/type_traits.hpp hpx/...
6
6
2
[{"id": "G0", "claim": "For purely local operations, simply aliasing the std streams (`using cout = std::cout;` and similar for the other facilities) would be sufficient instead of the custom local stream implementation, and `hpx::consolestream` can be defined as being equivalent to `std::cerr`.", "category": "design",...
null
STEllAR-GROUP__hpx__7133
STEllAR-GROUP/hpx
7,133
defect
afc788fd166395887c762489771478c497cf4e45
a8a33e2335f858567c471f651855a5eacc3f19b1
FIx wrap_main for local-runtime builds
## Proposed Changes This PR fixes local-runtime builds for HPX wrap targets after PR #7103. When `HPX_WITH_DISTRIBUTED_RUNTIME=OFF`, wrap sources still included distributed-only headers.
diff --git a/.github/workflows/configure-test-combination.yml b/.github/workflows/configure-test-combination.yml index bae7b1250c5e..81060aaed598 100644 --- a/.github/workflows/configure-test-combination.yml +++ b/.github/workflows/configure-test-combination.yml @@ -64,6 +64,20 @@ jobs: -DHPX_WITH_EXAMPL...
3
2
2
[{"id": "G0", "claim": "The PR needs CI coverage for HPX_WITH_DISTRIBUTED_RUNTIME=OFF (GitHub Action workflows on Linux and Windows, and possibly a modified macOS builder) to be sure the change is fine.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
SUI-Components__sui-components__2522
SUI-Components/sui-components
2,522
defect
f4fa72f33b91ba971e507f9d8f39f11b8cc61655
117d133281096f0e37537b9c9b057e0c9d92fcfd
Feat/video player youtube
## Atom/VideoPlayer #### `🔍 Show` ### Description, Motivation and Context **Context** Working on a new feature that will involve playing videos from different sources (YouTube, Vimeo, and others...) **Description** Add a new component (videoPlayer) that will be in charge of playing videos from different pr...
diff --git a/components/atom/videoPlayer/.gitignore b/components/atom/videoPlayer/.gitignore new file mode 100644 index 0000000000..a9f4ed5456 --- /dev/null +++ b/components/atom/videoPlayer/.gitignore @@ -0,0 +1,2 @@ +lib +node_modules \ No newline at end of file diff --git a/components/atom/videoPlayer/.npmignore b/c...
4
3
0
[{"id": "G0", "claim": "Asks why the demo leaves a commented-out component export in demo/index.js (the dead line should be explained or removed).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new AtomVideoPlayer component in src/index.js s...
null
SUI-Components__sui-components__2528
SUI-Components/sui-components
2,528
defect
5c562b2da3938cf02870d16b75541cacb53ab692
1f3eee0f649525f3e16c9b7b13d702541205f04b
feat(components/molecule/select): Add a Search input to search over t…
…he options on the select ## Category/Component <!-- https://martinfowler.com/articles/ship-show-ask.html --> <!-- Uncomment what you need --> `❓ Ask` <!-- https://github.com/SUI-Components/sui-components/issues --> **TASK**: <!--- #issueID --> ### Description, Motivation and Context When dealing with s...
diff --git a/components/molecule/select/demo/index.js b/components/molecule/select/demo/index.js index 0e1da97be7..d1ae8917fc 100644 --- a/components/molecule/select/demo/index.js +++ b/components/molecule/select/demo/index.js @@ -182,6 +182,31 @@ const Demo = () => ( </MoleculeSelectWithState> </div> ...
1
1
0
[{"id": "G0", "claim": "The prop name `withSearch` should use the `has`/`is` prefix convention instead, since the `with` prefix is reserved for HOCs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SWE-agent__SWE-ReX__201
SWE-agent/SWE-ReX
201
defect
c32e11f3748d2504810727d8760557184c39d7c3
442450f4ee63c2a2d350e0cce4254a69ef661c8a
Fix/strip only cr in session
- This PR updates the command input and output processing - Remove windows-style "crlf" line endings from pexpect outputs - Remove extra endline from echo in `local.BashSession._run_normal`'s fallback UNIQUE_STRING based output parsing - Updates tests related to execution / testing output to be even stricter This...
diff --git a/src/swerex/runtime/local.py b/src/swerex/runtime/local.py index 6237dc13..1fe55701 100644 --- a/src/swerex/runtime/local.py +++ b/src/swerex/runtime/local.py @@ -93,7 +93,7 @@ def find_range(cmd: bashlex.ast.node) -> tuple[int, int]: def _strip_control_chars(s: str) -> str: ansi_escape = re.compile...
2
1
1
[{"id": "G0", "claim": "_strip_control_chars should also remove lone '\\r' characters (e.g. by appending .replace(\"\\r\", \"\")) to fully normalize Windows line endings, not just the \\r\\n sequences it currently handles.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
SWE-agent__SWE-agent__1026
SWE-agent/SWE-agent
1,026
defect
892801dde9a76f9ef867848786216058fed6a3c1
b5da9a9a990a832b815e89269a593f4fcc70ee33
Feature/enigma basic support
Support for EnIGMA `challenge.json` format. This implements the basic objects needed for CTF support (`CTFProblemStatement` and `CTFRepo`).
diff --git a/sweagent/agent/problem_statement.py b/sweagent/agent/problem_statement.py index 897d7724a7..ec2f5766c9 100644 --- a/sweagent/agent/problem_statement.py +++ b/sweagent/agent/problem_statement.py @@ -5,6 +5,7 @@ from typing import Any, Literal, Protocol from pydantic import BaseModel, ConfigDict, Field +...
5
4
2
[{"id": "G0", "claim": "The Path() wrapper around challenge_json_filename when building the JSON file path is unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "CTFRepoConfig's files need not be a stored attribute since it is only consu...
null
SWE-agent__SWE-agent__1205
SWE-agent/SWE-agent
1,205
defect
3f8944e7dc724e932ebfb59da20c07672cb946ad
16849a0c32ec8df1d93b176846ce2b04b23928f5
Fix/update arg format check
<!-- Thanks for contributing a pull request! --> #### Reference Issues/PRs <!-- Example: "Fixes #1234", "See also #3456" Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github....
diff --git a/sweagent/tools/commands.py b/sweagent/tools/commands.py index c01b8abe61..e4935c8d0a 100644 --- a/sweagent/tools/commands.py +++ b/sweagent/tools/commands.py @@ -26,7 +26,7 @@ from sweagent.utils.jinja_warnings import _warn_probably_wrong_jinja_syntax -ARGUMENT_NAME_PATTERN = r"[a-zA-Z_][a-zA-Z0-9_-]+...
2
1
0
[{"id": "G0", "claim": "The duplicate argument detection logic could be simplified and made more efficient by using collections.Counter instead of multiple list comprehensions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default invoke_fo...
null
SWE-agent__SWE-agent__236
SWE-agent/SWE-agent
236
defect
30364138ffbe0542e50fc84eca144a04240941c7
8360cac4a140f0fd51ecbcc49fc7506028463ee8
Fix Together model validation error
<!-- Thanks for contributing a pull request! --> #### Reference Issues/PRs <!-- Example: "Fixes #1234", "See also #3456" Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github....
diff --git a/environment.yml b/environment.yml index 19a5c8a4e7..5c83fc15aa 100644 --- a/environment.yml +++ b/environment.yml @@ -17,5 +17,5 @@ dependencies: - tenacity - unidiff - simple-parsing - - together + - together~=1.1.0 - ollama diff --git a/sweagent/agent/models.py b/sweagent/agent/...
3
3
2
[{"id": "G0", "claim": "Pin the together dependency with `>=` instead of `~=1.1.0` and add a comment linking to the explaining issue.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "TogetherModel should test the together SDK version and raise an ...
null
SWE-agent__SWE-agent__721
SWE-agent/SWE-agent
721
defect
7e3196833a3dcc6945300cbef68ba56733e35e40
f523930fbd4538ef4569a49066a17aa7fbf68535
Groq Models Integration
**Groq Models Integration** Benefits: - Open source models with increased inference speed - Free for low usage espacially small projects Usage example ```bash $ python run.py --model_name groq/llamaversatile70 \ --data_path https://github.com/princeton-nlp/SWE-agent/issues/666 \ --repo_path ./ \ ...
diff --git a/.devcontainer/sample_keys.cfg b/.devcontainer/sample_keys.cfg index 7c51a6dfd5..5b26d288b5 100644 --- a/.devcontainer/sample_keys.cfg +++ b/.devcontainer/sample_keys.cfg @@ -8,3 +8,4 @@ # AZURE_OPENAI_DEPLOYMENT: 'Azure OpenAI Deployment Here if using Azure OpenAI Model' # AZURE_OPENAI_API_VERSION: 'Azur...
5
2
1
[{"id": "G0", "claim": "The groq test fails because the `groq` package is not installed, and the PR should merge only once the `groq` dependency is added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR should not be merged for now because it ...
null
SWE-agent__mini-swe-agent__211
SWE-agent/mini-swe-agent
211
defect
67146c2d795be98ac3ed81a3839682dc9528feb3
e1cecb0864edb58ee4e961db572ca11ba5187ce9
Update the timeout_template for default agent to include partial output
Update default agent's timeout template to: ```python timeout_template: str = ( "The last command {{action}} timed out and has been killed.\n" "The output of the command was:\n" "{{output}}\n\n" "Please try another command and make sure to avoid those requiring interactive input." ) ``` This ...
diff --git a/src/microsweagent/agents/default.py b/src/microsweagent/agents/default.py index fbf0df0cc..b0bd35629 100644 --- a/src/microsweagent/agents/default.py +++ b/src/microsweagent/agents/default.py @@ -17,7 +17,12 @@ class AgentConfig: "Your task: {{task}}. Please reply with a single shell command in tr...
1
1
0
[{"id": "G0", "claim": "The decode operation could fail if the output contains invalid UTF-8 bytes; use decode with error handling like `e.output.decode(\"utf-8\", errors=\"replace\")` to avoid UnicodeDecodeError exceptions.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SWE-agent__mini-swe-agent__294
SWE-agent/mini-swe-agent
294
defect
6bb5e7c6393f0ee0967a5f40b6d9ae2129f66377
415c677e861186ce58ca54fcf6017cdd15016c6c
Enh: mini --exit-immediately
Closes #286
diff --git a/src/minisweagent/agents/interactive.py b/src/minisweagent/agents/interactive.py index 6757299b1..5c2445e98 100644 --- a/src/minisweagent/agents/interactive.py +++ b/src/minisweagent/agents/interactive.py @@ -28,6 +28,8 @@ class InteractiveAgentConfig(AgentConfig): """Whether to confirm actions.""" ...
4
2
1
[{"id": "G0", "claim": "The --exit-immediately default of True could be unexpected for users who expect a confirmation prompt before the agent finishes; consider defaulting to False to maintain backwards compatibility.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
SWE-agent__mini-swe-agent__306
SWE-agent/mini-swe-agent
306
defect
3d7708be41767735ac06c63e4c38cd03b823be90
494e0edd198fde6802124724e45eb14d81c890ea
Enh/custom litellm registry
In LitellmModelConfig, we add a litellm_model_registry field. When set, we update the `litellm` registry with `litellm.register_model`. This allows us to add models that aren't registered or outdated in the [litellm default registry](https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json).
diff --git a/src/minisweagent/models/litellm_model.py b/src/minisweagent/models/litellm_model.py index 633ff4d79..2ca5534b8 100644 --- a/src/minisweagent/models/litellm_model.py +++ b/src/minisweagent/models/litellm_model.py @@ -1,3 +1,4 @@ +import json import logging from dataclasses import dataclass, field from ty...
2
1
0
[{"id": "G0", "claim": "Opening the registry file lacks error handling for common file system issues like FileNotFoundError, PermissionError, or invalid JSON format, and a try-except block with meaningful error messages should be added.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "in...
null
SWE-agent__mini-swe-agent__319
SWE-agent/mini-swe-agent
319
defect
ff5ced1c71d0d4ecf283500023f21cd8d51faded
4de82e4c3bb404be9892dac104c2025d4c528450
[WIP] Refactor textual confirmation prompt to allow more user input (human mode, restart etc.)
In reference to #142 #89 * [x] Add human mode switch * [x] Add confirmation before quit * [x] Update docs * [x] Make sure test coverage is 100% * [x] Remove print statements * [x] Bug: Switching confirm -> human auto-confirms LM action * [x] Do we properly add messages for human commands?
diff --git a/docs/reference/agents/textual.md b/docs/reference/agents/textual.md index 6805ae34d..c60a68062 100644 --- a/docs/reference/agents/textual.md +++ b/docs/reference/agents/textual.md @@ -10,7 +10,7 @@ ::: minisweagent.agents.interactive_textual.AgentApp -::: minisweagent.agents.interactive_textual.Confir...
3
1
0
[{"id": "G0", "claim": "Print statements in production code in src/minisweagent/agents/interactive_textual.py should be removed and replaced with logging instead of print for error and debug output.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
SWE-agent__mini-swe-agent__425
SWE-agent/mini-swe-agent
425
defect
de8dcd642a4e52d6208a69f217620dbf35ee32a2
c55380f749ac8c4150111f7ddf26b90e5459594a
Fix: Get env template vars from environment itself
> [!warning] > This PR has been mostly rolled back in #429 Closes #419
diff --git a/src/minisweagent/__init__.py b/src/minisweagent/__init__.py index 9c957ca0f..0c1d4eb05 100644 --- a/src/minisweagent/__init__.py +++ b/src/minisweagent/__init__.py @@ -53,6 +53,8 @@ class Environment(Protocol): def execute(self, command: str, cwd: str = "") -> dict[str, str]: ... + def get_temp...
5
3
2
[{"id": "G0", "claim": "In SwerexDockerEnvironment.get_template_vars the platform_info assignment and the json.loads call violate guideline 11 (avoid initializing variables just to pass them to a function) and should be combined into a single expression.", "category": "maintainability", "verdict": "supported", "priorit...
null
SWE-agent__mini-swe-agent__596
SWE-agent/mini-swe-agent
596
defect
66ec93fda858d3aa74d672d3714657bcb1f5d163
23fecb5fc49c742607fce9e6f634364afb4274d3
Better way of dealing with local/zero-cost models
Instead of adding a switch to disable cost tracking completely, we add a switch to ignore any warnings/errors
diff --git a/docs/advanced/global_configuration.md b/docs/advanced/global_configuration.md index 11a8221ee..fe8e3c4c7 100644 --- a/docs/advanced/global_configuration.md +++ b/docs/advanced/global_configuration.md @@ -71,10 +71,11 @@ MSWEA_MODEL_NAME="anthropic/claude-sonnet-4-5-20250929" MSWEA_MODEL_API_KEY="sk-..." ...
5
5
0
[{"id": "G0", "claim": "The litellm_model error message references an 'Updating the model registry' documentation section that no longer exists after the restructure; it should reference the 'Cost tracking' section instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
SWE-agent__mini-swe-agent__639
SWE-agent/mini-swe-agent
639
defect
5e16d8cafa6aa7acbd325c656bbaca6b7cd4d964
0b846f9c914e9e4d28517c9b930450211fb418c2
fix: add truncation to timeout_template to prevent context overflow
The timeout_template was rendering command output without truncation, causing 41MB+ messages when commands like `grep -R` hit recursive symlinks and produced massive warning output before timing out. This adds the same truncation logic used in action_observation_template: - Output < 10000 chars: shown in full - Ou...
diff --git a/src/minisweagent/agents/default.py b/src/minisweagent/agents/default.py index d360e9f1f..b8894b078 100644 --- a/src/minisweagent/agents/default.py +++ b/src/minisweagent/agents/default.py @@ -20,7 +20,15 @@ class AgentConfig: ) timeout_template: str = ( "The last command <command>{{actio...
3
1
1
[{"id": "G0", "claim": "timeout_template only has a test for long output; add a test_timeout_template_short_output test to verify that output under 10000 characters is displayed in full without truncation.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
SWE-agent__mini-swe-agent__689
SWE-agent/mini-swe-agent
689
defect
7970020d8f00654349e87c8a2abd0a769804ea00
bf589f8908f385094b189972791048f763c2da01
[v2.0] BREAKING CHANGE: Build control flow around messages, not exceptions
Any terminating or non terminating exceptions now simply add messages to agent.messages. If the last one has the role "exit", we stop the loop. This gives a lot more flexibility to what information we can add to conditions that arise during the execution (for example metadata that can help categorize/understand why the...
diff --git a/src/minisweagent/agents/default.py b/src/minisweagent/agents/default.py index a0046d841..036db8116 100644 --- a/src/minisweagent/agents/default.py +++ b/src/minisweagent/agents/default.py @@ -11,7 +11,7 @@ from pydantic import BaseModel from minisweagent import Environment, Model, __version__ -from min...
2
1
0
[{"id": "G0", "claim": "The `step()` and `query()` return annotations say `list[dict]` but no longer match the actual return values now that `add_messages()`/`execute_actions()` return tuples.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If `step(...
null
SWE-agent__mini-swe-agent__692
SWE-agent/mini-swe-agent
692
defect
b0105d829294993325e7afaf44b7da2b9dc4e6df
31cccd38ef374e6b65e80d1a0a9c77b5d73c3312
Feat: Multimodal agent class
<!-- Thanks for contributing a pull request, we appreciate you! If this PR fixes an issue, please reference it, e.g., 'Fixes #1234'. You can delete this comment. -->
diff --git a/src/minisweagent/agents/multimodal.py b/src/minisweagent/agents/multimodal.py new file mode 100644 index 000000000..405f735a3 --- /dev/null +++ b/src/minisweagent/agents/multimodal.py @@ -0,0 +1,58 @@ +"""This class extends the DefaultAgent class to support images. +The idea here is super simple: Every tim...
3
1
0
[{"id": "G0", "claim": "The PR title contains a typo: \"Muiltimodal\" should be \"Multimodal\".", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The re.DOTALL flag is redundant because the pattern already includes the inline flag '(?s)', so the re.D...
null
SWE-agent__mini-swe-agent__717
SWE-agent/mini-swe-agent
717
defect
2b8addada088c4ad0860f33d99d6fba768f23ab9
772a1c7e07c1cedaa8c18dc18054574ea1ae3cc3
Fix: Don't interfere with model messages
<!-- Thanks for contributing a pull request, we appreciate you! If this PR fixes an issue, please reference it, e.g., 'Fixes #1234'. You can delete this comment. -->
diff --git a/src/minisweagent/models/litellm_response_api_model.py b/src/minisweagent/models/litellm_response_api_model.py index b8b5ded28..0eea78e5e 100644 --- a/src/minisweagent/models/litellm_response_api_model.py +++ b/src/minisweagent/models/litellm_response_api_model.py @@ -40,19 +40,15 @@ def query(self, message...
3
1
1
[{"id": "G0", "claim": "The Response API models' query() now returns the raw response.model_dump() instead of the standard {\"role\", \"content\"} message format used by other model implementations, leaving messages in the conversation history with an inconsistent structure.", "category": "design", "verdict": "uncertai...
null
SWE-agent__mini-swe-agent__732
SWE-agent/mini-swe-agent
732
defect
5dd250e15e1019f158488e9960c5571e9b134124
d0725161e6ec83268da85a8284d1707525db3bbc
Fix(agent): task argument and env argument handling
<!-- Thanks for contributing a pull request, we appreciate you! If this PR fixes an issue, please reference it, e.g., 'Fixes #1234'. You can delete this comment. -->
diff --git a/src/minisweagent/run/mini.py b/src/minisweagent/run/mini.py index 443951f27..e201e8cf9 100644 --- a/src/minisweagent/run/mini.py +++ b/src/minisweagent/run/mini.py @@ -71,6 +71,9 @@ def main( console.print(f"Building agent config from specs: [bold green]{config_spec}[/bold green]") configs = [get...
1
1
1
[{"id": "G0", "claim": "The `is UNSET` check on the merged config can never be true because recursive_merge skips UNSET values, so the interactive task prompt is unreachable; the PR should check the merged task value with `if not (run_task := config.get(\"run\", {}).get(\"task\"))` instead.", "category": "correctness",...
null
SWE-bench__SWE-bench__506
SWE-bench/SWE-bench
506
defect
737efd9ba02b7016feaf25660b5b14d46c0eb592
1898180c2c6f42b3d022f665e143e2836c39740b
Fix flaky java evals
## Problem Java evaluations were producing inconsistent results due to race conditions in log parsing. When running tests with set -x shell tracing enabled, concurrent output from Maven/Gradle and shell tracing can interleave, breaking the assumption that test commands and their results appear sequentially. ## Ch...
diff --git a/swebench/harness/log_parsers/java.py b/swebench/harness/log_parsers/java.py index 00c1ca361..daeb8fe8a 100644 --- a/swebench/harness/log_parsers/java.py +++ b/swebench/harness/log_parsers/java.py @@ -10,13 +10,16 @@ def parse_log_maven(log: str, test_spec: TestSpec) -> dict[str, str]: parser to work, ...
3
3
2
[{"id": "G0", "claim": "Add a warning when tests are still pending at the end of parsing the maven log, since that means something clearly did not work.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The gradle test-name regex r\"^(\\S+\\s+>\\s+\\S+...
null
SWHL__RapidVideOCR__76
SWHL/RapidVideOCR
76
defect
850cc01c01ed14a97c67c7ab4c9bfbd040657a65
bb3c4250906a28732559328b06f9b8e652d1b729
feat: Add .ass file format export
This PR adds support for exporting in the Advanced SubStation Alpha (.ass) subtitle format, using the `-o ass` or `--out_format ass` flags 本次PR新增支持导出为Advanced SubStation Alpha (.ass)字幕格式,通过`-o ass`或`--out_format ass`标志使用
diff --git a/rapid_videocr/export.py b/rapid_videocr/export.py index 59ed866..be95c14 100644 --- a/rapid_videocr/export.py +++ b/rapid_videocr/export.py @@ -12,6 +12,7 @@ class OutputFormat(Enum): TXT = "txt" SRT = "srt" + ASS = "ass" ALL = "all" @@ -22,6 +23,7 @@ def export( save_dir: P...
2
1
0
[{"id": "G0", "claim": "Remove the unnecessary trailing semicolon from the line calling _generate_ass_results, to comply with Python style conventions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The fixed substring indices used to extract AS...
null
SYSTRAN__faster-whisper__1106
SYSTRAN/faster-whisper
1,106
defect
814472fdbf7faf5d77d65cdb81b1528c0dead02a
65dc596177c5d2fbe87fbb85ef18ccb72490ac4c
Remove `torch` dependency, Faster numpy Feature extraction
Hi all, This PR aims to remove the torch dependency as it's only used for feature extraction, there are 2 options: 1. use NumPy only and scrap GPU acceleration completely, this will slightly simplify the FE code by removing the device handling and framework handling code 2. use NumPy + CuPy (the current implementa...
diff --git a/faster_whisper/audio.py b/faster_whisper/audio.py index e7e225a2..222e73ba 100644 --- a/faster_whisper/audio.py +++ b/faster_whisper/audio.py @@ -14,7 +14,6 @@ import av import numpy as np -import torch def decode_audio( @@ -72,9 +71,9 @@ def decode_audio( if split_stereo: left_chann...
14
4
1
[{"id": "G0", "claim": "The new module-level stft() function is missing type annotations on its parameters.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The numpy stft does not use multi-threaded computation while torch.stft uses all cores, ma...
null
SYSTRAN__faster-whisper__1338
SYSTRAN/faster-whisper
1,338
defect
4bd98d5c5bf5dfd52a8fcd8b27c1492a3ec41f57
72bc5562e54904a4c48ef0d5a2a413af336fd136
Fix: Prevent <|nocaptions|> tokens in BatchedInferencePipeline
### Problem The `BatchedInferencePipeline` was generating unwanted `<|nocaptions|>` tokens during periods of silence or low-confidence transcription. ### Solution - **Added `no_speech` property to `Tokenizer` class**: Gets the token ID for `<|nospeech|>` or `<|nocaptions|>` - **Updated `get_suppressed_tokens` fun...
diff --git a/PR_DESCRIPTION.md b/PR_DESCRIPTION.md new file mode 100644 index 00000000..88a96400 --- /dev/null +++ b/PR_DESCRIPTION.md @@ -0,0 +1,73 @@ +# Fix: Prevent `<|nocaptions|>` tokens in BatchedInferencePipeline + +## Problem + +When using `BatchedInferencePipeline` for transcription, malformed `<|nocaptions|>`...
4
4
1
[{"id": "G0", "claim": "Remove the PR_DESCRIPTION.md file that the pull request adds to the repository.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the standalone test_nocaptions_comprehensive.py script that the pull request adds.", "cat...
null
SYSTRAN__faster-whisper__182
SYSTRAN/faster-whisper
182
defect
67cce3f55272a1774a8c77e7bebfa7d2e9692e2e
f39d072959340c6070eec169351b637b55e14262
Use cache_dir instead of local_dir
See https://github.com/guillaumekln/faster-whisper/issues/181
diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index a54b9c65..e160deff 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -80,6 +80,7 @@ def __init__( num_workers: int = 1, download_root: Optional[str] = None, local_files_only: Optional[...
2
2
2
[{"id": "G0", "claim": "Keep the current behavior of output_dir instead of remapping it to the HF cache, and add a new cache_dir argument to download_model that is used in the WhisperModel constructor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
SYSTRAN__faster-whisper__198
SYSTRAN/faster-whisper
198
defect
d889345e071de21a83bdae60ba4b07110cfd0696
bcdc78dbe436d76554c264f7f9fdedca95e87e19
Implement VadOptions
1. I've created a new `VadOptions` class in vad.py to hold the list of options and default values. 2. I've also changed the parameters of `get_speech_timestamps` to use the `VadOptions` class. 3. I know that https://github.com/guillaumekln/faster-whisper/issues/194 said that perhaps we should leave the parameters...
diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index 80aade4b..5090de45 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -15,6 +15,7 @@ from faster_whisper.utils import download_model, format_timestamp, get_logger from faster_whisper.vad import ( SpeechTim...
4
4
0
[{"id": "G0", "claim": "Keep None as the default for vad_parameters in transcribe() and handle that case in the function body instead of defaulting to VadOptions().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The per-field docstrings in VadOptions sho...
null
SYSTRAN__faster-whisper__210
SYSTRAN/faster-whisper
210
defect
d889345e071de21a83bdae60ba4b07110cfd0696
bf1528c42f283728c553f9897f3254e036117270
transcribe: return all language probabilities if requested
This change adds a `all_language_probs` field to `TranscriptionInfo` so that when language detection is done, we can recover the full probabilities from the model in addition to the top one.
diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index 80aade4b..b2c68683 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -66,6 +66,7 @@ class TranscriptionInfo(NamedTuple): language: str language_probability: float duration: float + all_language...
1
1
0
[{"id": "G0", "claim": "Remove the `return_all_language_probs` argument and always return the language probabilities when they are available.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SYSTRAN__faster-whisper__898
SYSTRAN/faster-whisper
898
defect
c22db5125d21d81744614f458b78604650038d3d
bffa5dd6fc8f440b4814ad0a4c61bd2f74b55e51
Filter out non_speech_tokens in suppressed tokens
This matches the implementation of OpenIA Whisper suppress_tokens with faster-whisper. In the default behaviour (-1) it filters out the non_speech_tokens which should help to filter out non-relevant text to the transcription.
diff --git a/faster_whisper/tokenizer.py b/faster_whisper/tokenizer.py index c3b13b43..3bf76a5f 100644 --- a/faster_whisper/tokenizer.py +++ b/faster_whisper/tokenizer.py @@ -105,6 +105,42 @@ def decode_with_timestamps(self, tokens: List[int]) -> str: [s if isinstance(s, str) else self.tokenizer.decode(s) ...
2
2
0
[{"id": "G0", "claim": "The type annotation of the suppress_tokens parameter of get_suppressed_tokens should be Tuple[int] instead of Optional[List[int]].", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the unnecessary logic line 'suppress...
null
Sairyss__domain-driven-hexagon__26
Sairyss/domain-driven-hexagon
26
defect
e25e4d48ed24c00945832fb2925eaa2502ba395f
73d76ea4b71c09322c47a3cd0e2e37422dd1be77
test: Add delete-user jest test case
Great repository with lots of learning opportunities. Thank you. With the latest update, I came across one improvement for the graphql queries for partial queries, so that the following query runs (first commit): ``` query { findUsers(input: {}) { street email } } ``` Secondly, I was intereste...
diff --git a/.jestrc.json b/.jestrc.json index ee0a3f17..4f091dc4 100644 --- a/.jestrc.json +++ b/.jestrc.json @@ -3,10 +3,11 @@ "rootDir": ".", "testEnvironment": "node", "coverageDirectory": "../tests/coverage", - "setupFilesAfterEnv": ["./tests/setupTests.ts"], + "setupFilesAfterEnv": ["./tests/jestSetupA...
5
5
4
[{"id": "G0", "claim": "The e2e test should not access application internals (CreateUserService.execute) and should create the user through the public HTTP API instead (httpServer.post('/v1/users').send(dto)).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
SakuraLLM__SakuraLLM__113
SakuraLLM/SakuraLLM
113
defect
b96859bd15344487d52ba809ae0986114d3ed07a
9797d9d40d146f0ab9ccd59b9886ab8a3b955d4e
Support for stream output of completion
Stream output for completion has been enabled through function overloading (previously, the stream function only supported messages as input)
diff --git a/api/legacy/type.py b/api/legacy/type.py index c7184f4..dcad112 100644 --- a/api/legacy/type.py +++ b/api/legacy/type.py @@ -58,7 +58,8 @@ class OpenAIChatCompletionRequest(BaseModel): """Generate request class used in openai api.""" # OpenAI param - messages: list[dict[str, str]] + messag...
3
2
2
[{"id": "G0", "claim": "When generation is stopped by max_new_tokens the new stream path yields stop reason \"length\", whereas per the cited llama.cpp change llama.cpp reports \"stop\" in that case.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
SakuraLLM__SakuraLLM__54
SakuraLLM/SakuraLLM
54
defect
d17a7c574ad8181bad9ec41021bfe4de59a5a7c5
851dc29280657fd89c92fc3988b77de748a601ab
Support Ollama backend.
Related issue: - #49 Features: - Support `Ollama` backend for server. - Support auto pulling model from ollama's model repo like [onekuma/sakura-13b-lnovel-v0.9b-q2_k](https://ollama.com/onekuma/sakura-13b-lnovel-v0.9b-q2_k) TODO: - [x] Test ollama auto pulling from [onekuma/sakura-13b-lnovel-v0.9b-q2_k](http...
diff --git a/requirements.ollama.txt b/requirements.ollama.txt new file mode 100644 index 0000000..941c4d5 --- /dev/null +++ b/requirements.ollama.txt @@ -0,0 +1,8 @@ +-r requirements/server.txt +--extra-index-url https://download.pytorch.org/whl/cu121 +# --extra-index-url https://download.pytorch.org/whl/cu118 +torch>...
2
2
2
[{"id": "G0", "claim": "A `usages.md` in the repo root should be added documenting the ollama backend (introduction, supported model types, prerequisites and usage examples).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since the ollama backend ...
null
Samsung__TizenRT__7021
Samsung/TizenRT
7,021
defect
d6d1de41ea20c6a95f18d52b061a33d64e75c247
5c6234d8690809769d4214061562736d751c43e7
os/kernel/sched : scheduler migration changes
When a CPU is chosen to be halted/hotplugged, the tasks present in its assigned_task_list are removed and shifted to the global pending_tasklist for migration. For selecting a new CPU for the tasks which are being migrated, First, we try to assign a CPU which is in tasks's affinity. But if we are unable to find a...
diff --git a/os/kernel/Kconfig b/os/kernel/Kconfig index a4fe8a820a3..774deee01b8 100644 --- a/os/kernel/Kconfig +++ b/os/kernel/Kconfig @@ -331,6 +331,13 @@ config CPU_HOTPLUG This will register an additional Software Generated Interrupt (SGI) for CPU Hotplug when system goes low power mode (ie. Power Gating) ...
19
18
5
[{"id": "G0", "claim": "Add the Samsung copyright/license header to the new source file.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Follow the convention of one public API per file, with the API name matching the file name.", "category": "desi...
null
Samsung__TizenRT__7280
Samsung/TizenRT
7,280
defect
fa3b6b966298466547039157ea15b6ac849fdabe
9da17b63246ea256e38432ae8a68807ecc682145
os/board/bk7239n: Optimize the internal code of bk7239n
- The form of the security interface has changed, and the corresponding test code also needs to be modified accordingly. - Logic optimization related to security dump - Optimize the logic related to the system entering sleep
diff --git a/os/board/bk7239n/src/components/bk_cli/cli_main.c b/os/board/bk7239n/src/components/bk_cli/cli_main.c index 313e839e03e..b61c71e2002 100644 --- a/os/board/bk7239n/src/components/bk_cli/cli_main.c +++ b/os/board/bk7239n/src/components/bk_cli/cli_main.c @@ -34,6 +34,7 @@ #define TAG "cli" +#define CLI_A...
4
2
1
[{"id": "G0", "claim": "The security-level guard that the pull request removed from bk_security_to_nosecurity_dump_register_callback may be needed and should not have been dropped.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "bk_security_donmain_not...
null
Samsung__jalangi2__186
Samsung/jalangi2
186
defect
28d2181c05d7c4bc817b0eb7a6e7db00a401e8b9
3391b940fa619ff702f36311f6614253c2c6e415
Fix side-effect handling of Function
While working with Jalangi2, I noticed a semantic mismatch in how Function constructor arguments are handled compared to the ECMAScript specification. Specifically, when validating whether the arguments passed to the Function constructor form a valid function body, `ToString` is being applied more times than require...
diff --git a/src/js/runtime/analysis.js b/src/js/runtime/analysis.js index 2296f72a..e6ac24b8 100644 --- a/src/js/runtime/analysis.js +++ b/src/js/runtime/analysis.js @@ -168,14 +168,11 @@ if (typeof J$ === 'undefined') { } function invokeFunctionDecl(base, f, args, iid) { - // Invoke with the origin...
1
1
1
[{"id": "G0", "claim": "Add a regression test for the issue this pull request fixes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
SanderMertens__flecs__1003
SanderMertens/flecs
1,003
defect
d24a9e1df5a896ffcf3f35f024573e027002c351
0ecb4a26e463fcd6e69bd77c853f558d27db1ace
Multi-threaded custom pipelines
## Changelog - **Feature:** Added the ability for `ecs_run_pipeline` to execute multi-threaded systems on the worker threads. - Added pipeline test cases: `run_pipeline_multithreaded` and `run_pipeline_multithreaded_tasks`. - **Performance:** - Improved the performance of workers by reducing the number of times...
diff --git a/flecs.c b/flecs.c index b8fb231b51..c49e08f828 100644 --- a/flecs.c +++ b/flecs.c @@ -949,6 +949,8 @@ typedef struct ecs_cmd_entry_t { int32_t last; /* If -1, a delete command was inserted */ } ecs_cmd_entry_t; +typedef struct ecs_pipeline_state_t ecs_pipeline_state_t; + /** A s...
3
3
0
[{"id": "G0", "claim": "The untyped `void* pq;` field should use a forward-declared `ecs_pipeline_state_t` instead of `void*`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The measured time interval on the main thread may not equal the time th...
null
SanderMertens__flecs__1184
SanderMertens/flecs
1,184
defect
f0f3898fa7fe0100a244422f878ac33075fd4ab9
592f7ec628711aca445ef3bf578c2ec0c699ca87
use destructive move semantics when move & move_ctor is not set.
If neither move nor move_ctor are set, this indicates that non-destructive move semantics are not supported for this type. In such cases, we set the move_dtor as ctor_move_dtor, which indicates a destructive move operation. This adjustment ensures compatibility with different language bindings.
diff --git a/flecs.c b/flecs.c index e46f3aa60b..bfed948e86 100644 --- a/flecs.c +++ b/flecs.c @@ -39070,7 +39070,6 @@ void flecs_bitset_swap( int64_t ecs_block_allocator_alloc_count = 0; int64_t ecs_block_allocator_free_count = 0; -#ifndef FLECS_USE_OS_ALLOC static ecs_block_allocator_chunk_header_t* flecs_ballo...
1
1
0
[{"id": "G0", "claim": "The comment added by the PR states the substitution backwards and should say \"use ctor_move_dtor as move_dtor\" instead of \"use move_dtor as ctor_move_dtor\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SanderMertens__flecs__1293
SanderMertens/flecs
1,293
defect
3fc7848b8de3bfd2f1377ae673a409e8553d8d16
83d93e62db571fcf2fa5461b4e17b062d4ac73ad
add option to explicitly use provided offset, even when 0.
This allows to register fields in arbitrary order for reflection. This is useful for example where in Rust fields are not guaranteed to be in the same order as represented.
diff --git a/flecs.c b/flecs.c index 103b5152f3..716bc4d500 100644 --- a/flecs.c +++ b/flecs.c @@ -48211,7 +48211,8 @@ void flecs_meta_import_meta_definitions( { .name = "type", .type = ecs_id(ecs_entity_t) }, { .name = "count", .type = ecs_id(ecs_i32_t) }, { .name = "unit", .type...
3
3
1
[{"id": "G0", "claim": "The doc comment on the added explicit_offset member in include/flecs/addons/meta.h should also get the capitalization fix (\"if\" -> \"If\").", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a test that shows the new feat...
null
SanderMertens__flecs__1435
SanderMertens/flecs
1,435
defect
e104de48d4e0a141d90a7018fb5c9fb22318f8d6
75fc1f6bd2ff822b2031255b8719ffb5f930c96b
Add assertion to prevent max_id overflowing
The entity_index only allows up to 2^32 indexes, even though overflowing would be very unlikely with recycling it is still a possibility and would lead to hard-to-find bugs. This PR aims to make the assertion to prevent this. P.S. pls squash commit it because I made a mistake twice.
diff --git a/distr/flecs.c b/distr/flecs.c index e2258f85b2..30678a10f0 100644 --- a/distr/flecs.c +++ b/distr/flecs.c @@ -35362,11 +35362,11 @@ ecs_entity_index_page_t* flecs_entity_index_ensure_page( { int32_t page_index = (int32_t)(id >> FLECS_ENTITY_PAGE_BITS); if (page_index >= ecs_vec_count(&index->pag...
1
1
1
[{"id": "G0", "claim": "Add a test that triggers the new max_id-overflow assert in flecs_entity_index_new_ids.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
SasView__sasview__1579
SasView/sasview
1,579
defect
a07b1cc564a696c8d700ce898f72a03de74a9fa6
478a41c1e94a096b231726112515d0c1ad5f93f6
Save inversion state in project and analysis files (ESS_GUI)
The Inversion perspective can now be saved and loaded in project and analysis files. Also, all perspectives retain their information when changing between perspectives allowing project files to save state of all serializable perspectives at one time. Closes #1578 Works toward #1526 - Remaining: save/load Corfunc a...
diff --git a/src/sas/qtgui/MainWindow/DataExplorer.py b/src/sas/qtgui/MainWindow/DataExplorer.py index bd97543d0a..1a3c4ff9d7 100644 --- a/src/sas/qtgui/MainWindow/DataExplorer.py +++ b/src/sas/qtgui/MainWindow/DataExplorer.py @@ -30,9 +30,11 @@ import sas.qtgui.Perspectives as Perspectives DEFAULT_PERSPECTIVE = "F...
7
6
3
[{"id": "G0", "claim": "Saving a project or an analysis with P(r) raises \"data cannot be serialized to json: <class 'method'>\", even though the files are created and load back correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "updatePerspec...
null
SasView__sasview__1628
SasView/sasview
1,628
defect
af12a66de48a3ec458a0eeb15383cfa74367af2e
805c8a7483331cde370426f353abe5d3a514ae46
User feedback when fitting fails because of inconsistent constraint
Fixes #1532 This PR attemps giving the user some feedback if he types an unconsistent constraint e.g. he mispells a parameter in a constraint by typing `M1.radiu` instead of `M1.radius`. If this happens, the `BumpsFitting` module will add the exception and the traceback to the result object, and the GUI will analyze...
diff --git a/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py b/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py index d3a274bc53..289792943a 100644 --- a/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py @@ -492,6 +492,43 @@ def fitComplete(...
14
12
6
[{"id": "G0", "claim": "Catching all bad constraints at once, rather than reporting only the first one each time a fit is run, would be useful.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "constraint.split() breaks on spaces, so an expression like...
null
SasView__sasview__1652
SasView/sasview
1,652
defect
215c7c12c179157193e74f6fc2d22e7a6b40cd11
dc9b3e6fc36ac9bcfc6b179aede98ba9f3617c9c
Display sample title instead of filename in DataExplorer window (ESS_GUI)
The sample title is displayed in the data explorer instead of the file name. This is useful for distinguishing multiple data sets that are loaded from a single file. This is the 5th PR separating #1559. I do not plan to create a parallel PR for v4.x/wxPython/master. Closes #1243.
diff --git a/src/sas/qtgui/MainWindow/DataExplorer.py b/src/sas/qtgui/MainWindow/DataExplorer.py index 868def6a3f..e22a2992be 100644 --- a/src/sas/qtgui/MainWindow/DataExplorer.py +++ b/src/sas/qtgui/MainWindow/DataExplorer.py @@ -364,7 +364,7 @@ def flatDataForModel(self, model): data = GuiUtils.dataFromI...
3
2
1
[{"id": "G0", "claim": "data.name may not be a string (None, or some form of numeral), and the reviewer asks whether a None would end up in the names list as \"None\" and requests that the value be converted to a string when assigned to data.name so no other code has to worry about it.", "category": "correctness", "ver...
null
SasView__sasview__1658
SasView/sasview
1,658
defect
beabe797dd9a4fb618764f3e8935245c217b9f2c
ca111672593a593594645a40a5d260a264585c00
Load constraints after fit pages when loading project
Fixes #1653 This PR aims at having constraints applied when all fit pages are loaded when loading a project, instead of having them applied immediately after each fit page loading. This was causing problems as the GUI would complain that there where unknown symbols in the constraint if they were referring to paramete...
diff --git a/src/sas/qtgui/MainWindow/DataExplorer.py b/src/sas/qtgui/MainWindow/DataExplorer.py index 868def6a3f..4ee9917c59 100644 --- a/src/sas/qtgui/MainWindow/DataExplorer.py +++ b/src/sas/qtgui/MainWindow/DataExplorer.py @@ -519,7 +519,8 @@ def readProject(self, filename): visible_perspective = v...
5
5
1
[{"id": "G0", "claim": "readConstraintsFromProject belongs with the data reader in GuiUtils as a plain function of the fit project rather than a method of DataExplorer, since it makes no use of self and will be useful when running fits headless, and it should not be named 'read'.", "category": "design", "verdict": "sup...
null
SasView__sasview__1667
SasView/sasview
1,667
defect
c755250b3b885c19d565fb00777636cd654cfa35
afc85ad70fa1e24ef658941e0c80be0d819f5439
Disable rather than remove constraint when fitting a single fit page
Fixes #1654 : when fitting a single fit page with a constraint relying on another fit page, the constraint will just be disabled instead of being removed. The corresponding line in the constraint widget will be unchecked, so one can recheck if needed.
diff --git a/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py b/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py index 529a9d2b6c..9f58ac877b 100644 --- a/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py @@ -1051,3 +1051,16 @@ def getReport(...
3
2
2
[{"id": "G0", "claim": "The multi-line message string in getConstraintsForFitting should be broken with parentheses rather than a backslash line continuation, per PEP8.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Re-activating a previously deac...
null
SasView__sasview__1673
SasView/sasview
1,673
defect
35d89e08677cff77b0163bd0c5d8e7209ec705e8
5d5caa717e82798bd439f448aacd899e94343523
Handling of constraints in v5.x
This PR aims at improving the way constraints are handled: * Enables constraint edition in the constraint tab. The edited constraint replaces the old one if the user does not make a mistake while entering it. If the constraint definition is faulty, changes are reverted and a dialog is shown giving information on the m...
diff --git a/src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py b/src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py index bc70ef9167..926d92786b 100644 --- a/src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py +++ b/src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py @@ -15,6 +15,7 @@ from sas.qtgui...
25
20
1
[{"id": "G0", "claim": "Adding a within-page constraint before the constraints tab has been opened raises 'AttributeError: 'NoneType' object has no attribute 'name'' in getSymbolDict (the reporter suspects the constraints tab ought to be forced open when constraining within a single fit page).", "category": "correctnes...
null
SasView__sasview__1713
SasView/sasview
1,713
defect
afcc3190c14724801e227a7818cace52460074a5
d321d9046cc2ee19675904439fb6732d9023af2d
Allow display name changes in data explorer (1702)
A new option was added to the data explorer context menu allowing users to change the display name for a data set. The option opens a window offering 4 options: Keep the existing name, change to the data tile, change to the data file name, or change to any name the user would like. Unit tests were added to check base f...
diff --git a/src/sas/qtgui/MainWindow/DataExplorer.py b/src/sas/qtgui/MainWindow/DataExplorer.py index dc21687f5a..213435e188 100644 --- a/src/sas/qtgui/MainWindow/DataExplorer.py +++ b/src/sas/qtgui/MainWindow/DataExplorer.py @@ -26,6 +26,7 @@ from sas.qtgui.MainWindow.DataManager import DataManager from sas.qtgui...
5
4
2
[{"id": "G0", "claim": "The name-change dialog UI is missing a top-most layout (it collapses to zero size in Qt Designer), and the Cancel/OK buttons should be resized and right-adjusted with a horizontal spacer.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
SasView__sasview__1721
SasView/sasview
1,721
defect
ba8a50b53633db21c140ed6497f368eb3ccceeed
aca1916e69a49af924e1ba18dbb3e0720b207bfd
ESS_GUI 1381 slicer
Revamped batch slicer from version 4.x Context menu option for slicer edit shows up always for 2D plots. Widget allows creating and/or deleting slicers (set to None). Batch slicing and relevant options in separate tab.
diff --git a/src/sas/qtgui/MainWindow/DataExplorer.py b/src/sas/qtgui/MainWindow/DataExplorer.py index dc21687f5a..2213570a93 100644 --- a/src/sas/qtgui/MainWindow/DataExplorer.py +++ b/src/sas/qtgui/MainWindow/DataExplorer.py @@ -1,3 +1,4 @@ +# pylint: disable=E501, E203, E701 # global import sys import os @@ -98,7...
16
12
8
[{"id": "G0", "claim": "Setting the slicer type back to None throws AttributeError: 'NoneType' object has no attribute 'itemChanged' in setModel.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Optionally, the slicer should apply to any loaded 2D dat...
null
SasView__sasview__1790
SasView/sasview
1,790
defect
2b29aa8a5452db8159c74c725abb5e99b3cc2c6e
780b23dea8ef66403694ef3e8f0fd523306e140e
Limit adding [n] to name on data load and name change
The display name dictionary `DataManager.data_name_dict` was changed from `{str: int}` to `{str: [int]}` to better track display names. The dictionary is now purged whenever data is deleted or a display name is changed. Unit tests were updated to account for this change. Fixes #1757 and [point 5](https://github.com/...
diff --git a/src/sas/qtgui/MainWindow/DataManager.py b/src/sas/qtgui/MainWindow/DataManager.py index 3ae6472da3..89e18c9360 100755 --- a/src/sas/qtgui/MainWindow/DataManager.py +++ b/src/sas/qtgui/MainWindow/DataManager.py @@ -148,11 +148,13 @@ def rename(self, name): max_char = len(name) name = n...
4
4
2
[{"id": "G0", "claim": "rename() returning None on a bad name is a problem because callers expect a string and act on the return value as one; it would be better to return an empty string.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "remove_item...
null
SasView__sasview__1793
SasView/sasview
1,793
defect
77faeaaec3573b4dcc58ed3d2e01435e06b63514
378c3023c4e88c38e606f1bf2504931829e3b567
Add CSV Writer and Allow freeform file extensions
Data1D can now be output in CSV format, and freeform file extensions can be provided by the user regardless of the file type selected in the save menu. Unit tests and documentation were modified and expanded to account for the changes I made. Fixes #1780
diff --git a/src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py b/src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py index 914b3f312d..6288ac08f3 100644 --- a/src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py +++ b/src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py @@ -898,9 +898,10 @@ def test...
1
1
1
[{"id": "G0", "claim": "The pull request should probably also support the .hdf5 extension for NXcanSAS files, which the new 1D formats list (and reader associations) leave out.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
SasView__sasview__1798
SasView/sasview
1,798
defect
77faeaaec3573b4dcc58ed3d2e01435e06b63514
c87d6c5d40cdd20962672cb3cd2eacc15d70026a
Add Compute Button and Limit Fitting Computations
This PR adds a 'Compute' button to fit pages and limits recalculation to when the user presses this button, or hits the Enter or Return keys. This matches the behavior in 4.2.2. Refs #1767
diff --git a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py index 60ab93b6de..5b96e6a150 100644 --- a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py @@ -109,6 +109,7 @@ class FittingWidget(QtWidgets...
3
3
3
[{"id": "G0", "claim": "The new Compute button does the same thing as the existing Plot button, so the two should be consolidated and the button given a better name (suggested 'plot/update') with a tooltip.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
SasView__sasview__1859
SasView/sasview
1,859
defect
5c21a95c45e13add27be8dc078422ae6d5273768
4440a9be0e95af8cac6d925f97608cd8164cf095
Fixes to invariant plot high q extrapolation
Removes 3x upper limit on invariant high Q extrapolation plot, and replaces with user defined upper q limit. Fixes #1749 (High Q Part)
diff --git a/src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py b/src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py index 26be4f7786..09942e4d52 100644 --- a/src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py +++ b/src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py @@ -23,8 +23,...
2
2
1
[{"id": "G0", "claim": "A unit test should be added covering the high-q extrapolation plotting change (and the reviewer asks whether the current unit tests pass).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "During the unit test high_extrapolation_plo...
null
SasView__sasview__1860
SasView/sasview
1,860
defect
5c21a95c45e13add27be8dc078422ae6d5273768
7710d048e1ebbbb10f102147520ff16b0bb3ea47
Fixes missing plugin models from structure factor combo box
Fixes the bug in SasView v5 that resulted in the structure factor combo box of the gui not listing plugin models also labeled as a structure factor. This was described in issue [#1852](https://github.com/SasView/sasview/issues/1852).
diff --git a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py index 1cfbaa77f2..22b3b67430 100644 --- a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py @@ -2292,6 +2292,10 @@ def readCustomCategoryInfo...
2
2
2
[{"id": "G0", "claim": "Every call to readCustomCategoryInfo (e.g. via the customModelDirectoryChanged slot) may append another copy of the custom structure factor models to CATEGORY_STRUCTURE without first clearing existing entries, so duplicate entries would accumulate in the structure factor combo box.", "category":...
null
SasView__sasview__1887
SasView/sasview
1,887
defect
c180460cc10b280a26787ac0b756fe64963888b8
fdbadb4eccad50abf585db58c6b9478e8a4da8b5
minor change to sas_gen.py which should fix #1886
Use np.column_stack() to correctly arrange the outputted data for the sld file, so that it is in the correct order.
diff --git a/src/sas/sascalc/calculator/sas_gen.py b/src/sas/sascalc/calculator/sas_gen.py index 289cb07fe7..b35ab830cc 100644 --- a/src/sas/sascalc/calculator/sas_gen.py +++ b/src/sas/sascalc/calculator/sas_gen.py @@ -673,7 +673,7 @@ def write(self, path, data): else: mx, my, mz = data.sld_mx, da...
3
1
1
[{"id": "G0", "claim": "Asks whether the sld writer was giving incorrect output before the change, i.e. for confirmation that the previous vstack-based output was wrong.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "A unit test should be added fo...
null
SasView__sasview__1929
SasView/sasview
1,929
defect
a9e1dc889103b4c21c776140bb3f11a6e1b9980e
611924b44ea932edecfa79830826aad5de9824dc
Fix Color Map Slider in 2D plots
This pull request fixes ticket 1928. The right slider to change the maximum value of the colour range in 2D plots was linked to the minimum values. Effectively both sliders did the same. The behaviour is now also checked correctly in the ColorMapTest.
diff --git a/src/sas/qtgui/Plotting/ColorMap.py b/src/sas/qtgui/Plotting/ColorMap.py index 00dd81572d..f7f8467d67 100644 --- a/src/sas/qtgui/Plotting/ColorMap.py +++ b/src/sas/qtgui/Plotting/ColorMap.py @@ -22,7 +22,7 @@ class ColorMap(QtWidgets.QDialog, Ui_ColorMapUI): apply_signal = QtCore.pyqtSignal(tuple, s...
2
1
0
[{"id": "G0", "claim": "The new xmin/xmax/ymin/ymax inputs should be placed after the existing __init__ inputs to minimize conflicts with existing calls, and the class variables they are assigned to appear to never be used, so the reviewer asks whether these changes are necessary.", "category": "maintainability", "verd...
null
SasView__sasview__1984
SasView/sasview
1,984
defect
afc53ff4916033e27de1ed04dbddb25049ba8490
158cbae493216c4cd0423d9315b52865d5e8d16c
Remove global variable LOADED_PERSPECTIVES
This PR removes the global variable LOADED_PERSPECTIVES introduced since the release of 5.0.4. The perspective is found from the parental hierarchy of the Plotter class, instead. Unit tests were updated to account for the change. fixes #1972
diff --git a/src/sas/qtgui/MainWindow/GuiManager.py b/src/sas/qtgui/MainWindow/GuiManager.py index 0d63396f96..494466942e 100644 --- a/src/sas/qtgui/MainWindow/GuiManager.py +++ b/src/sas/qtgui/MainWindow/GuiManager.py @@ -61,9 +61,6 @@ logger = logging.getLogger(__name__) -# Expose the loaded perspectives for eas...
1
1
0
[{"id": "G0", "claim": "The perspective could be retrieved more gracefully via ObjectLibrary (ol.getObject('DataExplorer') then _perspective()) instead of the long parent-chain attribute traversal.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SasView__sasview__2128
SasView/sasview
2,128
defect
4a873ca17e44cb86879d6af48be300287d8ecf7f
dc84a7fd49080853f222fcbe5106239b3481f52d
2113 comparative polydispersity measure
Implemented additional polydispersity measure: @smk78 to check this is what he wanted. This PR is up to date with the recent PRs #2126 and #2125
diff --git a/src/sas/qtgui/MainWindow/GuiManager.py b/src/sas/qtgui/MainWindow/GuiManager.py index 5afadc8296..722079d0fc 100644 --- a/src/sas/qtgui/MainWindow/GuiManager.py +++ b/src/sas/qtgui/MainWindow/GuiManager.py @@ -354,7 +354,11 @@ def perspectiveChanged(self, new_perspective_name: str): Respond to cha...
4
4
2
[{"id": "G0", "claim": "The existing parameter's label should be attributed to 'Eeckhaut' instead of 'Ryan' in the Corfunc panel UI.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The enlarged panel may overflow the corfunc canvas at lower resolutio...
null
SasView__sasview__2139
SasView/sasview
2,139
defect
39320e25a44a8385a8c39c0eaaac22c9bede2e1e
6990a07f7f29acd1f519dfbfb355113292bbe624
Include sas.qtgui.Utilities.Reports in build output
During some testing, I found a couple of things missed by PR #2065. The Reports package was never included in setup.py so builds would likely not include the reports dialog (untested). Also, a unit test package was named incorrectly.
diff --git a/setup.py b/setup.py index ab90c9ce0e..ac9b143db6 100644 --- a/setup.py +++ b/setup.py @@ -195,6 +195,13 @@ def run(self): "src", "sas", "qtgui", "Utilities","UI") packages.append("sas.qtgui.Utilities.UI") +package_dir["sas.qtgui.Utilities.Reports"] = os.path.join( + "src", "sas", "qtgui", "Utili...
1
1
1
[{"id": "G0", "claim": "The package_dir key for the Reports UI directory should be \"sas.qtgui.Utilities.Reports.UI\" instead of the added \"sas.qtgui.Utilities.UI\", which collides with the existing Utilities/UI mapping.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
SasView__sasview__2263
SasView/sasview
2,263
defect
6cc6e0c30e2967e1e8e43659bb64939c3941ebb5
452738883d2b954ac623052d1ebe8ce91db6bfba
Rework CI to be non-repetitive, simpler, test more things
This is a preview of some work to update the GitHub Actions, aiming to: - make them less repetitive - hopefully easier to maintain - updated to the latest versions of the helper-actions they call - able to be extended to do other testing more easily This is only in a draft state, as this work is blocked by the...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..ad097b91aa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,482 @@ +name: CI + +on: + [push, pull_request] + +defaults: + run: + shell: bash + +env: + RELEASE: ${{ github.event_name == 'push' && contains...
8
3
1
[{"id": "G0", "claim": "The OS and Python job lists in matrix.py should be named os_test_list and python_test_list so the names say what they are.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "PYTHON_PACKAGES should be renamed to site_package_p...
null
SasView__sasview__2283
SasView/sasview
2,283
defect
37aa6d5fb23c05275e5b92ed65ebacdcc0106988
fcbc0a3d2876fadb5647d8c107542baf227353d9
fix confusing slit resolution parameters and add guardrails
As discussed at length in #1753, this adds several guardrails to prevent incorrect use of the 1D slit-smearing function. Specifically, adds LOUD warnings if a user specifies a slit length that is less than the width, a slit geometry with an aspect ratio less than 10:1, or a slit length less than q_max for the data. ...
diff --git a/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py b/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py index dd74501acf..159cbce8b2 100644 --- a/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py @@ -6,6 +6,8 @@ from PyQt5 import QtCore fr...
2
1
1
[{"id": "G0", "claim": "Remove the requirement that slit length be larger than q_max (comment out the d_length < q_max criterion) before merging, and investigate more deeply later whether qmax should be limited to smaller than length.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
SasView__sasview__2328
SasView/sasview
2,328
defect
bbd0083660987de4b58e97a65cadfc5bd275a5b7
7133c3b384abe760b74ffd0e40c2ac18b2692e41
2325 testing needs to be hermetic against user config
Pytest uses config defaults now, I think. I'm not 100% sure this is actually doing anything though.
diff --git a/conftest.py b/conftest.py new file mode 100644 index 0000000000..7d553dc9b0 --- /dev/null +++ b/conftest.py @@ -0,0 +1,8 @@ +from run import prepare + +prepare() + +from src.sas.system import config + +config.override_with_defaults() + diff --git a/src/sas/system/config/config_meta.py b/src/sas/system/conf...
1
1
0
[{"id": "G0", "claim": "The default Exit SasView confirmation dialog still stops the testing run and needs addressing, although it has nothing to do with the user-config changes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
SasView__sasview__2357
SasView/sasview
2,357
defect
457eb17f433cebb8d2b381c710f9f5106474b45d
ea72b9b2b3fd8687027b08ce061708f0f9850a00
Fixes in invariant prespective
## Description As described in #2334 two issues related to invariant perspective were identified. The firts issue with read only fields for Qmin and Qmax should be fixed now. However the other problem is more deconvoluted as it is related to the fact that we calculate invariant based on `(scale * data) - background`...
diff --git a/src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui b/src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui index a240d83eb4..31893a2179 100755 --- a/src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui +++ b/src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui @@ -144,7 +14...
1
1
1
[{"id": "G0", "claim": "The newly editable Qmin/Qmax range boxes seem to be doing nothing at all -- moving the sliders neither updates the boxes nor affects the invariant calculation -- and the reviewer asks that the reason they were made read-only be investigated, possibly deferring full functionality to new tickets."...
null
SasView__sasview__2358
SasView/sasview
2,358
defect
3c051fb7ed74ef1f346b3541aef93c8595c9a23e
2be3397591937f98d2c3761fd4945bb75e765b42
2316: Refactoring preferences
## Description This hopes to combine parts of what was done in #2306 and #2321, specifically related to formalizing the preferences panel and widget class structures. As asked for in #2316, the following has been added to this PR: - Settings are staged in the preferences panel until they are accepted and only th...
diff --git a/src/sas/qtgui/MainWindow/media/preferences_help.rst b/src/sas/qtgui/MainWindow/media/preferences_help.rst index 73221280d1..eb706a68a2 100644 --- a/src/sas/qtgui/MainWindow/media/preferences_help.rst +++ b/src/sas/qtgui/MainWindow/media/preferences_help.rst @@ -1,11 +1,45 @@ -.. preferences_help.rst - +. p...
4
1
1
[{"id": "G0", "claim": "The preferences widgets could use a QFormLayout so the option labels and inputs line up.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The preferences text inputs send raw, unvalidated strings into the config without coercing the...
null
SasView__sasview__2476
SasView/sasview
2,476
defect
69559c9061b877c0a9b6cd4045f2525c854c4267
ceb11c8a4abe977926f648a2d0156eb1df92c7be
2389: Validate text/int/float inputs within the preferences panel
## Description A validator method was added to the preferences widget to check that text input boxes are valid before staging any changes. If the value becomes invalid, any previously staged value for that input is removed. Fixes #2389 Fixes #2521 ## How Has This Been Tested? New (but minimal) unit tests ...
diff --git a/src/sas/qtgui/Utilities/Preferences/DisplayPreferencesWidget.py b/src/sas/qtgui/Utilities/Preferences/DisplayPreferencesWidget.py index cd2740d803..db75d9bd0a 100644 --- a/src/sas/qtgui/Utilities/Preferences/DisplayPreferencesWidget.py +++ b/src/sas/qtgui/Utilities/Preferences/DisplayPreferencesWidget.py @...
9
9
3
[{"id": "G0", "claim": "Care is needed when merging because the QValidator syntax used here changed in Qt6, depending on whether the pyside6 branch is merged first.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The previous good value should also b...
null
SasView__sasview__2605
SasView/sasview
2,605
defect
55b1e9f6db58e33729f2a93b7dd1d8bf255b46f7
da17831d820f0a018f9a23bbed54b7340711dc7d
2603: Numeric coercion in preferences
## Description Numerical inputs are now coerced into their respective types before hitting the config system. Fixes #2603 ## How Has This Been Tested? Run SasView and modify both a float input and an integer input. Hit the `Apply` button. No error! Also, GUI unit tests were added that I ran locally. ## Rev...
diff --git a/src/sas/qtgui/Utilities/Preferences/PreferencesWidget.py b/src/sas/qtgui/Utilities/Preferences/PreferencesWidget.py index b493f05ff2..de26597a94 100644 --- a/src/sas/qtgui/Utilities/Preferences/PreferencesWidget.py +++ b/src/sas/qtgui/Utilities/Preferences/PreferencesWidget.py @@ -149,12 +149,17 @@ def add...
2
2
2
[{"id": "G0", "claim": "An empty text box (or one containing a comma, which the validator allows) makes coerce raise ValueError: could not convert string to float.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Do the coercion without dynamically ad...
null
SasView__sasview__2608
SasView/sasview
2,608
defect
aca82c5a21da14f86231e1c0421a4ac8db768bee
5f393f1c55469ee8bee70d34ef93efe6ed0b7c83
What's new dialog
What's New: Tip of the Day style dialog. Currently a draft as depends strongly on config, and on files that need to be packaged correctly. There are some placeholder files included that should not be released. Definitely need to check installers for this one! Expected behaviour is that it will show messages fo...
diff --git a/src/sas/qtgui/MainWindow/GuiManager.py b/src/sas/qtgui/MainWindow/GuiManager.py index 2ebc711792..008baa0011 100644 --- a/src/sas/qtgui/MainWindow/GuiManager.py +++ b/src/sas/qtgui/MainWindow/GuiManager.py @@ -69,6 +69,7 @@ from sas.qtgui.Utilities.AddMultEditor import AddMultEditor from sas.qtgui.Utilit...
4
2
2
[{"id": "G0", "claim": "The new HTML message files must be manually added as data to the pyinstaller script (the datas list in installers/sasview.spec), otherwise the installed app fails with \"No module named 'sas.qtgui.Utilities.WhatsNew.messages'\".", "category": "packaging", "verdict": "supported", "priority": "P1"...
null
SasView__sasview__2670
SasView/sasview
2,670
defect
f07a0c1a710885a66643da3d2fafc4bbd22fea20
7a4f8d1a68e27bc763ad4d5a3c0e938876027982
fix for broken context menus in 1d plots
## Description switching to new numpy made checks like !=[] not just deprecated but removed. Fixing here and in related test. I found no other numpy.array == [] or numpy.array != [] comparisons. #2668 ## How Has This Been Tested? local Win10 ## Review Checklist (please remove items if they don't apply):...
diff --git a/src/sas/qtgui/Plotting/Plotter.py b/src/sas/qtgui/Plotting/Plotter.py index dc18d9b915..12266ab6ae 100644 --- a/src/sas/qtgui/Plotting/Plotter.py +++ b/src/sas/qtgui/Plotting/Plotter.py @@ -394,7 +394,7 @@ def addPlotsToContextMenu(self): if plot.is_data: self.actionHideErro...
1
1
0
[{"id": "G0", "claim": "If `xdata` or `ydata` are `None`, their respective size checks in the empty-data guard will throw an exception instead of the `None` checks handling it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
SasView__sasview__3596
SasView/sasview
3,596
defect
5fa692572d109c403417efba4305e8aae00e6987
b840f40db15f191a8e6477b5decfc0ee38d1c1dc
move qt gui build to cli.py and remove run.py
## Description Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change. Fixes #3499 #3595 ## How Has This Been Tested? Tested that I could use `pip install -e .[dev,test]` followed by `python -m sas` to verify that `rebuilding UI` shows up in ...
diff --git a/INSTALL.md b/INSTALL.md index 8129b610a4..fd4103fdfa 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -25,25 +25,39 @@ If you're familiar with working with developing in Python, then the very quick version is: ```console +$ git clone https://github.com/sasview/sasdata/ +$ git clone https://github.com/sasvie...
9
7
5
[{"id": "G0", "claim": "The quick-start block uses shell '#...' syntax after the Windows activate command (\"venv\\Scripts\\activate # Windows command...\"), so the whole line reads wrong on Unix/cmd; the comment placement should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
SasView__sasview__3634
SasView/sasview
3,634
defect
7ab086a566e609008e4d4aa4a7416aea5ac1c01c
6013f963c585057af4d16c700409b8d3327f26f8
Replace direct AUSAXS library integration with the pyAUSAXS wrapper
## Description As discussed in #3559 and #3554, this PR replaces the current direct `AUSAXS` shared library integration with calls to the new `pyAUSAXS` wrapper I designed specifically for this integration. **Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce....
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4bcfb46f0..0af77e8fc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,10 +177,6 @@ jobs: run: | uv pip install --no-deps -r build_tools/requirements-release-${{ matrix.os }}.txt - - name: Fetc...
5
4
0
[{"id": "G0", "claim": "The warning in ausaxs_sans_debye.py should use lazy %s logging interpolation instead of an eager f-string.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Given pyausaxs' wheel layout, the ausaxs.ready() check in the tes...
null
SasView__sasview__3841
SasView/sasview
3,841
defect
74d745eeb70fd795385c82998a6fb6632397c53a
ace0201b7796d7d16393d036675f1319c683203a
Changes radius in Invariant Guinier extrapolation to radius squared
## Description The use of the value Rg in the Guinier extrapolation for the Invariant perspective causes problems when Rg is negative (i.e., the square root is imaginary). However, we do not require or report the value of Rg itself, so using Rg^2 instead allows us to construct a Guinier extrapolation regardless of t...
diff --git a/src/sas/sascalc/invariant/invariant.py b/src/sas/sascalc/invariant/invariant.py index 369fbd658a..a4d65f42dd 100644 --- a/src/sas/sascalc/invariant/invariant.py +++ b/src/sas/sascalc/invariant/invariant.py @@ -113,14 +113,14 @@ class of type Transform that performs operations related to guinier functi...
1
1
0
[{"id": "G0", "claim": "The _guinier docstring's 'Also uses' list should say $R_g^2$ instead of $r$ for the new self.Rg_squared attribute.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SasView__sasview__3907
SasView/sasview
3,907
defect
f1dd5bbe1891d73d4a4b71310d1f23f764f3a478
3df8308172abe9361e1bdf846d7ddca653bd07e8
Adds corrected intensities to Corfunc output
## Description The `Export Extrapolation` button in Corfunc would save a CSV file with q and I. As suggested by @smk78, I have updated this button to save two files: uncorrected with q and I (same as before) and corrected with q and I minus background. Fixes #2138 ## How Has This Been Tested? Added and ran...
diff --git a/src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py b/src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py index 03c8de29c1..854a03a05a 100644 --- a/src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py +++ b/src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py @@ -896,7 +896,10 @@ def on_s...
4
3
1
[{"id": "G0", "claim": "The documentation contains a typo: 'uncorrectedextrapolated' is missing a space and should read 'uncorrected extrapolated data'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR is marked as fixing #2138, but that issu...
null
SathyaBhat__spotify-dl__368
SathyaBhat/spotify-dl
368
defect
b56afb2b459b93245dede75b7c27fd46753707ff
35429d45e89cf9ae7c199d3919861ebffc043326
Add tempo information to track metadata
fixes #367
diff --git a/.cache b/.cache new file mode 100644 index 0000000..418b9f4 --- /dev/null +++ b/.cache @@ -0,0 +1 @@ +{"access_token": "BQBOFvTjRqI66SdCAo12CxZIMju5q7CUVspG68WVrnZLPdtcd4wZVq5Ky9rdHrAfCUVlS1zus9tbzu-qP9vPmZ9tAYAKbQd26A7d7UReHyzcHSqLq60", "token_type": "Bearer", "expires_in": 3600, "expires_at": 1703941566}...
1
1
1
[{"id": "G0", "claim": "The .cache file added by the pull request exposes the Spotify access token in the repository.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Schniz__fnm__484
Schniz/fnm
484
defect
22b72e59db2d92bb1cf7fef606daf1b240c4a768
c5feea9afa87dabeb49fb40c24fa790ba4d7a653
fix: --install-if-missing when using version alias
I am trying to fix this issue https://github.com/Schniz/fnm/issues/482 based on my basic Rust knowledge. Any advice to improve this further would be appreciated. If I am completely wrong, please let me know that as well.
diff --git a/src/commands/use.rs b/src/commands/use.rs index 4b0757c1a..2c676c126 100644 --- a/src/commands/use.rs +++ b/src/commands/use.rs @@ -19,6 +19,29 @@ pub struct Use { install_if_missing: bool, } +impl Use { + fn install_new_version( + requested_version: UserVersion, + config: &FnmConf...
3
3
2
[{"id": "G0", "claim": "Move `install_new_version` out of the `impl Use` block (a dangling function is fine) and move the `ensure!` check inside it so it is shared by both branches.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test for, ...
null
SciTools__iris__4975
SciTools/iris
4,975
defect
0dea89741f6fbd979380312fec02f4ad916ec875
9dcc6a1105390da3d300eab4c80599e3ea7ab639
Fixes to _discontiguity_in_bounds (attempt 2)
## 🚀 Pull Request ### Description Addresses #3401 and #3480, replaces #3404 which I couldn't reopen since it's targeting a deleted branch. This adresses three problems at once: - 2D discontiguity checking wasn't comparing enough bounds. - The logic for determining discontiguity was somewhat garbled, I coul...
diff --git a/lib/iris/coords.py b/lib/iris/coords.py index d0d471a6344..a098566660c 100644 --- a/lib/iris/coords.py +++ b/lib/iris/coords.py @@ -1937,11 +1937,12 @@ def _discontiguity_in_bounds(self, rtol=1e-5, atol=1e-8): * contiguous: (boolean) True if there are no discontiguities. * di...
8
7
2
[{"id": "G0", "claim": "The newly added masking statements sit wrongly indented inside the preceding loop whose purpose is only to check coordinate spanning, and the indentation should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The r...
null
SciTools__iris__5015
SciTools/iris
5,015
defect
0b54d58040ffcb9bec11d7f7a016ace5714dae8f
ea8f4c6c97c0d23287c3b923b2a0c5943adbaa48
Modernize and simplify iris.analysis._Groupby
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> Modernize and simplify `iris.analysis._Groupby`. This started out from the idea discussed in #4956. Here is an overview of some of the ...
diff --git a/lib/iris/analysis/__init__.py b/lib/iris/analysis/__init__.py index f34cda1402..1fe399c6ed 100644 --- a/lib/iris/analysis/__init__.py +++ b/lib/iris/analysis/__init__.py @@ -35,10 +35,14 @@ """ -from collections import OrderedDict +from __future__ import annotations + from collections.abc import Iter...
9
4
1
[{"id": "G0", "claim": "_add_shared_coord() should have a type hint too, for consistency with the newly hinted _add_groupby_coord().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Type-hinting new_shape specifically, while shape and work_shape g...
null
SciTools__iris__5017
SciTools/iris
5,017
defect
bae9953c56f532aedc4bbd680a171afd1ec3b9e1
1b218eecb32f06b7b5454374f5f6035029c1f500
Lazy weighted RMS calculation
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> Lazy aggregation with weights was not previously implemented for the RMS aggregator because of a bug in the weighted masked case reported at ...
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index d14d7b24523..90e3eacad7a 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -38,6 +38,9 @@ This document explains the changes made to Iris for this release #. `@trexfeathers`_ and `Julian Heming`_ added new mapp...
1
1
1
[{"id": "G0", "claim": "The What's New entry cites the wrong pull request: it should reference (:pull:`5017`) — this PR — instead of (:pull:`5016`).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
SciTools__iris__5040
SciTools/iris
5,040
defect
471eb53aa871033cfed41f25acdd6e510b937b08
7db42ce754e1d6d8b22f69aed2baa3eb4406c250
Implement split cube attributes.
Initial code implementation This is an alternative to the #5038 approach, which has hit some problems (a lot of consequential knock-ons). See [closing comment of #4982](https://github.com/SciTools/iris/issues/4982#issuecomment-1302823564) for details This introduces a new "split dictionary" type, `CubeAttrsDict`, ...
diff --git a/docs/src/further_topics/metadata.rst b/docs/src/further_topics/metadata.rst index de1afb15af..c53cb760a1 100644 --- a/docs/src/further_topics/metadata.rst +++ b/docs/src/further_topics/metadata.rst @@ -131,7 +131,7 @@ We can easily get all of the associated metadata of the :class:`~iris.cube.Cube` using t...
26
23
0
[{"id": "G0", "claim": "The attribute name 'Conventions' (capitalised) should really be treated as a global attribute, but the existing classification only recognises lowercase 'conventions', so it gets filed as a local attribute.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_exis...
null
SciTools__iris__5096
SciTools/iris
5,096
defect
dfbc5c2aef0c64918061a4e312f66d94b0beb525
9be4cbe2a63401be85cd97186c658aeaad5b1139
Handle derived coordinates correctly in `concatenate`
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> This fixes the issue that the result of `iris.cube.CubeList.concatenate` loses any derived coordinate present in the input cubes. Here, thi...
diff --git a/lib/iris/_concatenate.py b/lib/iris/_concatenate.py index 5debc452ee9..a383e4e01a9 100644 --- a/lib/iris/_concatenate.py +++ b/lib/iris/_concatenate.py @@ -160,6 +160,39 @@ def name(self): return self.defn.name() +class _DerivedCoordAndDims( + namedtuple("DerivedCoordAndDims", ["coord", "di...
2
2
0
[{"id": "G0", "claim": "Add a What's New entry briefly explaining what the pull request has done.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests should be adapted so that coverage of the pull request's changed lines reaches 100%.", "cate...
null
SciTools__iris__5181
SciTools/iris
5,181
defect
21b8a2cdd5163b255451ea29a5a50ad54eb997da
6944fb609eeaaf1832b9bb8e2382f7a715a53c4e
removed cell measure mask check and error
## 🚀 Pull Request Closes #5147. ### Description Removed check and error raise for saving cubes with masked cell measures.
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index e799f5dbd9..592c713b4d 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -46,6 +46,10 @@ This document explains the changes made to Iris for this release #. `@trexfeathers`_ and `@pp-mo`_ made Iris' use of the ...
2
2
1
[{"id": "G0", "claim": "The setUp attribute self.exp_emsg is no longer needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten test_masked_data__insitu test cannot succeed without extra file setup that is not s...
null
SciTools__iris__5215
SciTools/iris
5,215
defect
7dfc29ad784943f8ee6035326a340ef981e2aff5
5c5a23e0a7b5c6286abdce280f3edc8053342939
Benchmark runner script
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> Moves benchmark convenience scripts from `noxfile.py` into a dedicated `bm_runner.py`. - Better suited to providing user help informatio...
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 5dfbc81b8f..25318b5996 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,7 +25,6 @@ jobs: # Lets us manually bump the cache to rebuild ENV_CACHE_BUILD: "0" TEST_DATA_CACHE_BU...
7
4
1
[{"id": "G0", "claim": "The README passage about co-locating the benchmark environment with the Conda package cache is hard to understand, and should be reworded - e.g. 'move your whole repo to the desired file system' changed to 'move your Iris repo to the file system which contains your Conda package cache'.", "categ...
null
SciTools__iris__5470
SciTools/iris
5,470
defect
0dc2dd9c0c4a58aafcb11408db806e869fe3d6af
4947ffb0c34a658dc06b42a372cbcbcd6a5ecf64
Shapefile masking
## 🚀 Pull Request ### Description Adds the apply_shapefile function to iris.util that allows a user to mask a cube with a shapefile. **Thing to work on** - Most of the code is in a seperate _shapefiles.py file - should this just be brought into utils? - There's a few auxillary functions there - make public...
diff --git a/lib/iris/_shapefiles.py b/lib/iris/_shapefiles.py new file mode 100644 index 0000000000..6d79ac96a4 --- /dev/null +++ b/lib/iris/_shapefiles.py @@ -0,0 +1,221 @@ +# Copyright Iris contributors +# +# This file is part of Iris and is released under the LGPL license. +# See COPYING and COPYING.LESSER in the r...
48
38
3
[{"id": "G0", "claim": "The new masking functions need more unit tests: all warnings and exceptions in create_shapefile_mask()/apply_shapefile(), tests on small artificial data, and every line exercised by at least one test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
SciTools__iris__5511
SciTools/iris
5,511
defect
4f126a0bcb52851a6f28667da65d43d0af89a252
063dc889dd8c6e74871f48d50d403276e162f212
Replaced pkg_resources version parser with packager version parser.
## 🚀 Pull Request A number of pkg_resources warnings were being raised, these weren't all but were the only ones that seemed to be possible to change. Partially resolves #5491.
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index 4c732c43df..6fc300b364 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -84,8 +84,9 @@ This document explains the changes made to Iris for this release working properly. (Main pull request: :pull:`5437`, mo...
1
1
1
[{"id": "G0", "claim": "The mis-indented continuation lines of the What's New entry added by this pull request are crashing the documentation builds, and the indentation should be corrected (ultimately to three spaces, per the reviewer's suggestion block).", "category": "documentation", "verdict": "supported", "priorit...
null
SciTools__iris__5586
SciTools/iris
5,586
defect
0c206080340feaf2ab04ac866a60668ea649f19b
35ec095a6293394c599c71a8238db5f10e2f9e13
Splitattrs equalise
Addresses #4988 --- [Consult Iris pull request check list]( https://scitools-iris.readthedocs.io/en/latest/developers_guide/contributing_pull_request_checklist.html)
diff --git a/lib/iris/common/_split_attribute_dicts.py b/lib/iris/common/_split_attribute_dicts.py index 41ce321a8f..92fd883dd7 100644 --- a/lib/iris/common/_split_attribute_dicts.py +++ b/lib/iris/common/_split_attribute_dicts.py @@ -18,7 +18,6 @@ So, we simply treat "global" and "local" attributes of the same name a...
4
4
0
[{"id": "G0", "claim": "Since _convert_splitattrs_to_pairedkeys_dict() already handles non-split attribute dicts, the is_split_dicts check and conditional conversion in equalise_attributes can be dropped so the code works unconditionally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
SciTools__iris__5620
SciTools/iris
5,620
defect
fa074429ac16456f3a01de72fff1f6744d599347
3754eb33e873cbc59a6497d4b72a92dd2d1e2928
Add option to specify chunks in `iris.util.broadcast_to_shape`
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> Make it possible to specify the target chunks in [iris.util.broadcast_to_shape](https://scitools-iris--5620.org.readthedocs.build/en/5620/g...
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index dfc1019683..7af6e708c7 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -104,6 +104,8 @@ This document explains the changes made to Iris for this release lazy data from file. This will also speed up coordin...
1
1
0
[{"id": "G0", "claim": "The new `chunks` docstring in `broadcast_to_shape` should reference the Dask docs for `dask.array.broadcast_to`, stating that this is standard behaviour according to Dask rather than new functionality Iris has decided on.", "category": "documentation", "verdict": "supported", "priority": "P2", "...
null
SciTools__iris__5685
SciTools/iris
5,685
defect
2bfaebda62b22d3203cfa737a5f017d68800a5c8
c493e7db7d0dbdac1846da80f2ee982cb588d38d
Removed use of catch_warnings
Closes #5536. Removed catch_warnings, by moving the functionality to parse_cell_methods()
diff --git a/lib/iris/fileformats/_nc_load_rules/helpers.py b/lib/iris/fileformats/_nc_load_rules/helpers.py index 6a135a211c..dde988083d 100644 --- a/lib/iris/fileformats/_nc_load_rules/helpers.py +++ b/lib/iris/fileformats/_nc_load_rules/helpers.py @@ -327,7 +327,7 @@ class UnknownCellMethodWarning(iris.exceptions.Ir...
3
2
2
[{"id": "G0", "claim": "The pull request should add a test that explicitly checks the change avoids repeating the unknown-cell-method warning, similar to the test in PR #5506.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G8", "claim": "A `msg = None` should be added...
null
SciTools__iris__5795
SciTools/iris
5,795
defect
b33ccc1935745f0410959e4cbc3322fe37036a4a
ca4ac64f34a408353aee9b1cca3129387db03005
Lazy `iris.cube.Cube.rolling_window`
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> Support lazy aggregation with the `iris.cube.Cube.rolling_window` method. --- [Consult Iris pull request check list]( https://scitools-...
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index a7ac314758..21f559ff2b 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -52,14 +52,14 @@ This document explains the changes made to Iris for this release 🚀 Performance Enhancements ==========================...
1
1
0
[{"id": "G0", "claim": "Please also add an additional, as-small-as-possible unit test in tests.unit.cube.test_Cube.Test_rolling_window confirming laziness is maintained, since tests in the root directory are considered legacy.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SciTools__iris__5804
SciTools/iris
5,804
defect
b8f554f7b8899f2ff6754857d59fc48944ef8e9b
5f6a41a93dbd6456e1f5417f92bf1ee762f780d7
Include ancillary variables and cell_measures during intersect
## 🚀 Pull Request Closes #5413. To do: - [x] Add rough functionality - [x] Refactor functions into one consolidated - [x] Add tests
diff --git a/lib/iris/cube.py b/lib/iris/cube.py index 54e086937d..2a7432d74d 100644 --- a/lib/iris/cube.py +++ b/lib/iris/cube.py @@ -27,6 +27,7 @@ import numpy as np import numpy.ma as ma +from iris import cube import iris._constraints from iris._data_manager import DataManager import iris._lazy_data as _lazy ...
2
2
0
[{"id": "G0", "claim": "Importing this module into itself with `from iris import cube` is unwise and confusing; since `Cube` is defined in this file, use `Cube.cell_measure` / `Cube.ancillary_variable` directly instead of `cube.Cube....`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
SciTools__iris__6050
SciTools/iris
6,050
defect
409f92cf7e77c8c3f7173df10d22f4511b301ed7
a86edaa07d32283e89c699822b6a7c8dfc5f39a6
Quieter datum warning
## 🚀 Pull Request ### Description <!-- Provide a clear description about your awesome pull request --> <!-- Tell us all about your new feature, improvement, or bug fix --> Closes #5749 --- [Consult Iris pull request check list]( https://scitools-iris.readthedocs.io/en/latest/developers_guide/contributing_...
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index a6915c4170..1ea88ad66d 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -53,6 +53,10 @@ This document explains the changes made to Iris for this release #. `@pp-mo`_ corrected the use of mesh dimensions when s...
1
1
0
[{"id": "G0", "claim": "The new whatsnew entry line is ungrammatical and should read \"AND a datum is present on the loaded NetCDF grid mapping.\" instead of \"present the loaded NetCDF grid mapping.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
SciTools__iris__6253
SciTools/iris
6,253
defect
01bbdf68524a9c6375b3f7b1ce52ec7385d404a3
21489d572fdb500fae5852a839a09afc7f89890f
Implement dataless cubes
Closes #4447. I plan to do this in four stages: - [x] Ensure that cubes can handle `data is None` when handed a shape value, and can essentially round-trip removing and adding data. This shouldn't break existing tests. [71c7ae8](https://github.com/SciTools/iris/pull/6253/commits/71c7ae8eb6c5af40350a673c4f00e9f7cc...
diff --git a/lib/iris/__init__.py b/lib/iris/__init__.py index d4454efe89..5a6920d4ce 100644 --- a/lib/iris/__init__.py +++ b/lib/iris/__init__.py @@ -143,7 +143,12 @@ def callback(cube, field, filename): class Future(threading.local): """Run-time configuration controller.""" - def __init__(self, datum_suppo...
25
23
3
[{"id": "G0", "claim": "Define the DATALESS constant at the top of lib/iris/__init__.py, with a comment, and include it in __all__.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DataManager docstring parameters should follow the numpydoc st...
null
SciTools__iris__6346
SciTools/iris
6,346
defect
010389cf31905ab32c6cf9ed3cb37a977f6b580c
8fa0cdb907e12920c1ea9d6457e50594e7f0bcfd
added classification enums to qp
## 🚀 Pull Request ### Description Added some convenience enums to quickplot, to supplement #6247. ```Python from iris.quickplot import Classification qplt.contour(cube, footer=Classification.official_sensitive) iplot.show() ``` Which offers more consistency than: ```Python qplt.contour(cube, footer="...
diff --git a/lib/iris/quickplot.py b/lib/iris/quickplot.py index 431c71cd8e..bc80f11407 100644 --- a/lib/iris/quickplot.py +++ b/lib/iris/quickplot.py @@ -8,12 +8,15 @@ automatically add a plot title, axis titles, and a colour bar when appropriate. These also have the optional kwarg ``footer``, which adds text to t...
4
4
1
[{"id": "G0", "claim": "The Sphinx autodoc setting \"inherited-members\" should exclude Enum classes (\"Enum,IntEnum,ReprEnum,StrEnum\") instead of being True, so the enum added by this PR is documented concisely.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
SciTools__iris__6730
SciTools/iris
6,730
defect
fa6d61dd5f358c9e6b585a132cc213acebf95b70
bb60e9ebf8557f2b39b1584912eae265a57fb7e8
Improve memory load for map_complete_blocks
## 🚀 Pull Request Closes #3808.
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index 2292aab082..86150f5de0 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -78,6 +78,10 @@ This document explains the changes made to Iris for this release is hoped that a future ``libnetcdf`` release will rec...
5
5
0
[{"id": "G0", "claim": "The eight-line df construction loop should be replaced with the one-line expression df = tuple(i in dims for i in range(len(shape))).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring note has a typo and should...
null
SciTools__iris__6757
SciTools/iris
6,757
defect
9c06cca1b82a4826b0264043bb8497b1d09759f3
80597ff15367aedc18ff15d59102f1bf7a2b1583
Added dataless rolling window, _intersect
- [x] rolling_window - [x] intersection Interpolation and regridding are both quite involved. For completion sake, I would've liked to get interpolation in, but I don't think it's worth the time it would take to get it right. Some of the underlying logic just doesn't work with dataless cubes, and would need chasing...
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index 9b9dcff946..29cee14dd6 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -49,9 +49,8 @@ This document explains the changes made to Iris for this release #. `@ESadek-MO`_ added functionality to allow :func:`~i...
4
4
0
[{"id": "G0", "claim": "Remove the commented-out dataless check (\"raise DatalessError\") left behind in `Cube.intersection`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dataless branch computing the concatenated dimension length could be...
null