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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ueberdosis__tiptap__7629 | ueberdosis/tiptap | 7,629 | defect | 18f9afeecf9d19afb60efcee35de93df4cb97afb | 1a9d8388ad63e54982640aa4c2a96629c264de08 | fix(drag-handle): support RTL direction for drag ghost image | ## Changes Overview
Fix drag ghost (`setDragImage`) for RTL editors and mixed-direction blocks: the temporary wrapper now mirrors the **dragged block’s** text direction, and the drag hotspot is aligned to the **pointer** using the wrapper’s bounds (not a fixed corner).
## Implementation Approach
1. **Direction... | diff --git a/.changeset/fix-drag-handle-rtl.md b/.changeset/fix-drag-handle-rtl.md
new file mode 100644
index 0000000000..716a00bb73
--- /dev/null
+++ b/.changeset/fix-drag-handle-rtl.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/extension-drag-handle': patch
+---
+
+Fixed drag handle ghost image for RTL and mixed-direction conten... | 3 | 3 | 3 | [{"id": "G0", "claim": "Reading direction via `view.domAtPos(...).node` is unstable: at block boundaries ProseMirror can return the parent container plus an offset, so mixed RTL/LTR content may still get the wrong ghost direction; the reviewer asks to derive the direction from the dragged DOM node itself (e.g. `view.no... | null |
ueberdosis__tiptap__7639 | ueberdosis/tiptap | 7,639 | defect | 3b306eebc8a4e7bd43be2b6b86699ce430f7ac03 | a66fcf8936b944384abfb933f2b7f9df55d95edc | feat: support skipping trailing node insertion | ## Changes Overview
- add support for skipping trailing node insertion on a transaction by setting the `skipTrailingNode` meta flag
- export a `skipTrailingNodeMeta` constant from the trailing node extension for reuse
- add a changeset for the `@tiptap/extensions` patch release
Documentation: https://github.com... | diff --git a/.changeset/fair-badgers-repair.md b/.changeset/fair-badgers-repair.md
new file mode 100644
index 0000000000..f697a7520f
--- /dev/null
+++ b/.changeset/fair-badgers-repair.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/extensions': patch
+---
+
+Add support for skipping trailing node insertion on transactions by setting... | 3 | 2 | 2 | [{"id": "G0", "claim": "The newly exported `skipTrailingNodeMeta` API lacks a JSDoc comment explaining what it does and how to use it; please add a short JSDoc so generated API docs and consumers have a stable reference.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"... | null |
ueberdosis__tiptap__7659 | ueberdosis/tiptap | 7,659 | defect | 536a33da059430eae24d5bca6dcc8efeb4269b02 | 2adaf54db72c97f77dbba20fc3c043a90a1db8fe | fix: isolate markdown lexer helpers during tokenization | ## Changes Overview
Fixes a markdown parsing bug where custom tokenizer helper methods could bind to a retained lexer instead of Marked's active lexer. This caused ordered list parsing and other re-entrant tokenizer flows to break inline tokenization in subsequent paragraphs.
## Implementation Approach
Removed the p... | diff --git a/.changeset/green-schools-fix.md b/.changeset/green-schools-fix.md
new file mode 100644
index 0000000000..7fcc0cc840
--- /dev/null
+++ b/.changeset/green-schools-fix.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/markdown': patch
+---
+
+Fix custom markdown tokenizer helper lexing to use Marked's active lexer so ordered... | 4 | 3 | 3 | [{"id": "G0", "claim": "tokenizeInline creates a new Lexer instance on every call (and the start-probe fallback likewise calls createLexer() per probe), so large documents could end up allocating many lexers; one parse-local lexer should be created per parse() invocation and reused for these inline tokenizations.", "ca... | null |
ueberdosis__tiptap__7676 | ueberdosis/tiptap | 7,676 | defect | 64e11beb144e15d82a3359663e788977c7fd0ac5 | 347bd87c321f3660716df38ec6bf6e898a252d03 | Fix bubble menu appearing during hidden position updates | ## Changes Overview
Fix `BubbleMenu` so hidden menus do not become visible when scroll, resize, or manual position updates run while `shouldShow` would keep the menu hidden.
## Implementation Approach
Add an early return in the bubble menu position updater when the menu is not currently visible, and keep the normal ... | diff --git a/.changeset/fix-7520-quiet-river.md b/.changeset/fix-7520-quiet-river.md
new file mode 100644
index 0000000000..d223067aa9
--- /dev/null
+++ b/.changeset/fix-7520-quiet-river.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/extension-bubble-menu': patch
+---
+
+Prevent hidden bubble menus from reappearing during scroll an... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `computePosition(...).then(...)` callback still applies style updates asynchronously when the menu is hidden or destroyed after the call starts, so add an `!this.isVisible` / `isDestroyed` / `!element.isConnected` guard inside the `.then` to avoid late or stale updates.", "category": "correc... | null |
ueberdosis__tiptap__7683 | ueberdosis/tiptap | 7,683 | defect | b7b7a6b3ab3644dab002adf0c84a6b15783a609e | 89ca3ddf0c4079185673f9437d7e52f982676dac | Fix/7562 (core): toggle list correctly when document selection is AllSelection | ## Changes Overview
Fix an issue where toggling lists fails when the entire document is selected (Ctrl/Cmd + A). When ProseMirror creates an AllSelection, the selection spans the entire document (0..doc.content.size). In this scenario, findParentNode cannot detect the surrounding list because the selection sits at t... | diff --git a/.changeset/nasty-bulldogs-hunt.md b/.changeset/nasty-bulldogs-hunt.md
new file mode 100644
index 0000000000..ed1548e338
--- /dev/null
+++ b/.changeset/nasty-bulldogs-hunt.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/core': patch
+---
+
+Fixes list toggling when the entire document is selected
diff --git a/packages/co... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new AllSelection path only normalizes the selection when dispatch is available, so the dry-run path used by editor.can() still reports toggleBulletList/toggleOrderedList as unavailable when the whole document is a single top-level list; please handle the can() path and add a regression test.... | null |
ueberdosis__tiptap__7694 | ueberdosis/tiptap | 7,694 | defect | b20a765bb774382a4afff6e6d23f503016413287 | 040a33240f6cc49bb28bf4614fd31ee72db7ab2d | fix: preserve lazy continuation lines in ordered lists (CommonMark) | ## Changes Overview
Fix ordered-list markdown parsing so non-indented lazy continuation lines are kept as part of the current list item (CommonMark §5.3). This prevents continuation text from being dropped when `marked` is configured with `breaks: true` and preserves nested list behavior.
## Implementation Approach
... | diff --git a/.changeset/ordered-list-lazy-continuation.md b/.changeset/ordered-list-lazy-continuation.md
new file mode 100644
index 0000000000..324a3bedf1
--- /dev/null
+++ b/.changeset/ordered-list-lazy-continuation.md
@@ -0,0 +1,9 @@
+---
+"@tiptap/extension-list": patch
+---
+
+Preserve lazy continuation lines in or... | 3 | 2 | 0 | [{"id": "G0", "claim": "In isBlockContentLine the task-list marker regex is unreachable because the generic bullet regex above it already matches task list items (e.g. `- [x]`), which is misleading and makes maintenance harder; remove the task-list regex or reorder/refine the checks so each branch can be hit.", "catego... | null |
ueberdosis__tiptap__7726 | ueberdosis/tiptap | 7,726 | defect | 626b052fa2098c8d5b20abb2e60fa6d7711d46af | 13f30828dad576a12e009e44236e1cd5940809c5 | fix(drag-handle): align drag ghost previews | ## Changes Overview
- fix drag handle ghost image alignment when dragging blocks inside offset layouts
- preserve correct RTL drag ghost behavior and keep the drag preview anchored to the expected edge
- add React and Vue drag handle demo controls to simulate RTL mode with the handle moved to the inline end
- add a ch... | diff --git a/.changeset/drag-handle-ghost-fix.md b/.changeset/drag-handle-ghost-fix.md
new file mode 100644
index 0000000000..b04f65e7fc
--- /dev/null
+++ b/.changeset/drag-handle-ghost-fix.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/extension-drag-handle': patch
+---
+
+Fix drag handle ghost image alignment when dragging blocks... | 2 | 2 | 2 | [{"id": "G0", "claim": "The demo configs pass a `direction` field that `NestedOptions.edgeDetection` does not support (it accepts a preset string or a config with `edges`/`threshold`/`strength`), so the RTL/LTR constants won't change edge-detection behavior and the demo toggle is misleading; the configs should use the ... | null |
ueberdosis__tiptap__7763 | ueberdosis/tiptap | 7,763 | defect | 9ba5696c222f429c69f639949e60cb8a062fa7b6 | 45d4592ccfa2bbd321a740566fea80c6a7024bde | feat(core): add selectedOnTextSelection option to node views | ## Changes Overview
Adds a new `selectedOnTextSelection` option to `NodeViewRendererOptions`. When enabled, a node view's `selected` prop becomes `true` while a `TextSelection` is fully contained within the node's range — not only when a `NodeSelection` wraps the node. Default behavior is unchanged (opt-in).
## I... | diff --git a/.changeset/chilly-games-matter.md b/.changeset/chilly-games-matter.md
new file mode 100644
index 0000000000..11f348d2eb
--- /dev/null
+++ b/.changeset/chilly-games-matter.md
@@ -0,0 +1,8 @@
+---
+'@tiptap/react': patch
+'@tiptap/vue-2': patch
+'@tiptap/vue-3': patch
+'@tiptap/core': patch
+---
+
+Add `sele... | 1 | 1 | 1 | [{"id": "G0", "claim": "When `selectedOnTextSelection` is enabled, the helper treats selections at the node boundaries (cursor at `pos` or at `pos + nodeSize`) and non-text selections as \"inside\"; it should require a strictly-inside `TextSelection`, and unit tests should assert that boundary cursors return `false`.",... | null |
ueberdosis__tiptap__7764 | ueberdosis/tiptap | 7,764 | defect | a4b939127821aac3a2139a467c5b257dd897da4e | 7c5eb700314911a06d14aa1486ebe367c03a5d75 | fix(extension-floating-menu): guard updatePosition against destroyed editor view | ## Changes Overview
Adds a null-guard at the top of `FloatingMenuView.updatePosition()` to prevent `TypeError: Cannot read properties of null (reading 'domFromPos')` when `updatePosition` is called after the editor has been destroyed. Mirrors the fix applied to `extension-bubble-menu` in #7433.
A pending debounced ca... | diff --git a/.changeset/angry-bees-prove.md b/.changeset/angry-bees-prove.md
new file mode 100644
index 0000000000..b2d4293fc9
--- /dev/null
+++ b/.changeset/angry-bees-prove.md
@@ -0,0 +1,5 @@
+---
+'@tiptap/extension-floating-menu': patch
+---
+
+Added a safeguard to avoid `TypeError: Cannot read properties of null (... | 2 | 1 | 1 | [{"id": "G0", "claim": "The regression test's expect(() => view.updatePosition()).not.toThrow(/Cannot read properties of null \\(reading 'domFromPos'\\)/) can still pass if updatePosition() throws a different error message, so it should assert not.toThrow() without a matcher (keeping the coordsAtPos spy assertion as th... | null |
ufoscout__docker-compose-wait__7 | ufoscout/docker-compose-wait | 7 | defect | 9a62e658c9e48da0997764bca6d3d8a6c48a541a | 00e070bcf20cd5737eb98a19965965aad9a4ce43 | First shot at implementation of configurable parameter for setting the sleep interval between retries | I saw the newly created issue on the possible sleep parameter (#6), so I gave it a shot, since it is the month of **[HacktoberFest](https://hacktoberfest.digitalocean.com/)**. Do note that I am VERY new to Rust.
One think my implementation lacks, which might be worth a mention, compared to possibly, targeted unit-te... | diff --git a/README.md b/README.md
index bc155b3..3ac61f0 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ services:
hostname: mongo
ports:
- "27017:27017"
-
+
postgres:
image: "postgres:9.4"
hostname: postgres
@@ -51,7 +51,7 @@ services:
hostname: mysql
ports:
-... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test verifying that wait_sleep_interval is effectively read from the WAIT_SLEEP_INTERVAL environment variable when it is present.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
uio-bmi__immuneML__106 | uio-bmi/immuneML | 106 | defect | f80b76dd07ba0f8fd9fc2da103f16703b16e6ac5 | e70934d40808bb1b0aeea48361839a0ada51fd3f | check encoder-ML method compatibility upon YAML parsing | Each MLMethod has one method returning all compatible encoders. Encoder-MLMethod compatibility is checked during parsing of the specification. | diff --git a/docs/source/developer_docs/how_to_add_new_ML_method.rst b/docs/source/developer_docs/how_to_add_new_ML_method.rst
index 61f97fe4e..b64a30195 100644
--- a/docs/source/developer_docs/how_to_add_new_ML_method.rst
+++ b/docs/source/developer_docs/how_to_add_new_ML_method.rst
@@ -346,4 +346,11 @@ To run this fr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The encoder classes imported at KNN.py module level might be better imported only inside the get_compatible_encoders method, since module-level imports make loading a class import a bunch of stuff.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uio-bmi__immuneML__108 | uio-bmi/immuneML | 108 | defect | 426cfe9311bf4b5b402a0a49be14bb867323178d | 8f928556643b7844f3eccd391038afba17475a27 | CompAIRR integration | - Add CompAIRRSequenceAbundanceEncoder
- Add CompAIRRDistanceEncoder
- Add PrecomputedKNN for intuitive usage with DistanceEncoder and CompAIRRDistanceEncoder
- Updated installation docs to describe CompAIRR dependency | diff --git a/docs/source/installation/install_with_package_manager.rst b/docs/source/installation/install_with_package_manager.rst
index 5f42a49c1..5692e7782 100644
--- a/docs/source/installation/install_with_package_manager.rst
+++ b/docs/source/installation/install_with_package_manager.rst
@@ -61,6 +61,19 @@ To insta... | 3 | 3 | 2 | [{"id": "G0", "claim": "CompAIRRDistanceEncoder.build_labels should use get_metadata with return_df=False as the previous implementation did, instead of return_df=True followed by to_dict(\"list\").", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Par... | null |
uio-bmi__immuneML__67 | uio-bmi/immuneML | 67 | defect | 9948b7c8afed8007a532e74d679236a1621abc53 | d4e49cc3153b38daa36330d31a1b8bf34f62654b | (ml_reports) add Evaluations.py and test_Evaluations.py | add `Evaluations.py` and `test_Evaluations.py` in `ml_reports`
the score function is used from `score_for_metric` in `MLMethodAssessment`
testing using quickstart example (`LogisticRegression`)
the figure and table of the confusion matrix are independent files, while the rest of the metrics will be merge in one ta... | diff --git a/immuneML/reports/ml_reports/Evaluations.py b/immuneML/reports/ml_reports/Evaluations.py
new file mode 100644
index 000000000..4e8cc51a5
--- /dev/null
+++ b/immuneML/reports/ml_reports/Evaluations.py
@@ -0,0 +1,217 @@
+from pathlib import Path
+import warnings
+import yaml
+
+from immuneML.data_model.datase... | 2 | 2 | 2 | [{"id": "G0", "claim": "The report's evaluation metrics should all be computed on the training data rather than the test data, since performance on the test data is already computed elsewhere.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "check_pre... | null |
uiv-lib__uiv__99 | uiv-lib/uiv | 99 | defect | 4cc0f71ba050b1d0f6c545e432ca9d0debf9b175 | 8838a44fbf0cd44b140cb0c4d09a790b7fe35ef5 | Add support for long presses on keys and buttons | For both desktop and mobile device’s touchscreens
Changing the value is way faster and easier using few long touches instead of:
Using input
Tap the field (focus)
Have the Virtual Keyboard slideup
Type the digits
Leave the field (blur)
Using buttons
Tap
Tap
Tap ... multip... | diff --git a/src/components/timepicker/TimePicker.vue b/src/components/timepicker/TimePicker.vue
index dc2fdb30e..ac9f789eb 100644
--- a/src/components/timepicker/TimePicker.vue
+++ b/src/components/timepicker/TimePicker.vue
@@ -4,13 +4,29 @@
<tbody>
<tr class="text-center">
<td>
- <btn ... | 3 | 2 | 2 | [{"id": "G0", "claim": "The btns should also bind `mouseleave` (and `mouseout`) to the stop event so the repeat stepper stops when the pointer leaves a button.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "'Fast clicking' no longer works after this... | null |
ukoethe__vigra__187 | ukoethe/vigra | 187 | defect | fca295cc6508f0bf443cd72db38006e5f12e031c | 5207547f9e9cce2c96000601e6fe4a136c0ea406 | OpenMP wrapper testing | Hi Ulli,
Please consider my pull request to see the code I have mixed up from Enblend project. I would not expect to merge the code to your branch but It would be nice to hear your comments soon.
In this pull request, I tested function "CombineTwoImages" with OpenMP wrappers. I tested and find that it used three thre... | diff --git a/.gitignore b/.gitignore
index 8e14e2c1c..4b5da5993 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,4 +32,8 @@ Makefile
*.[do]
*.l[doa]
*.loT
-*.orig
\ No newline at end of file
+*.orig
+/install/
+.cproject
+.project
+/.settings/
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12ff5a3dc..82c0496af 10... | 9 | 6 | 3 | [{"id": "G0", "claim": "The destination image of the combineThreeImages test call must be passed with destImage(img3) instead of srcImage(img3), because the wrapper writes through the destination accessor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
ukoethe__vigra__194 | ukoethe/vigra | 194 | defect | d38c25252fd59242acd953bbb35ff36dddc8a320 | e8889c1a3dc7a45713cf721e58621284c7ad00b6 | Added parts of my developments to the vigra Computer Vision library... | Finally I managed to integrate the first few things, which I developed for my PhD thesis:
1. A local (window based) filter function environment.
applywindowfunction.hxx, medianfilter.hxx, specklefilters.hxx
It can be used to apply any given filter function on a complete image. Like convolveImage, this environmen... | diff --git a/include/vigra/multi_fft.hxx b/include/vigra/multi_fft.hxx
index 0914cba47..6a9a9b016 100644
--- a/include/vigra/multi_fft.hxx
+++ b/include/vigra/multi_fft.hxx
@@ -2289,7 +2289,8 @@ FFTWCorrelatePlan<N, Real>::execute(MultiArrayView<N, Real, C1> in,
detail::fftEmbedKernel(kernel, realKernel);
for... | 4 | 3 | 0 | [{"id": "G0", "claim": "In fastNormalizedCrossCorrelation, the sum tables are allocated one pixel larger than the input image, which looks suspicious and should be explained or corrected.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The hand-written in... | null |
ukoethe__vigra__357 | ukoethe/vigra | 357 | defect | f26f8f91d76907654c9be96108dc03b541415ffe | ff6d2dd0f97cce5fe0d3f32ca0249225e8923303 | Determinant calculation by minors | The determinant calculation by LU decomposition fails for integral types. This commit introduces the determinant calculation by calculation of the minors. It also sets the default determinant calculation for integral types to "minor" and includes a unittest.
| diff --git a/include/vigra/linear_solve.hxx b/include/vigra/linear_solve.hxx
index d7d2969ea..c3c5e04ae 100644
--- a/include/vigra/linear_solve.hxx
+++ b/include/vigra/linear_solve.hxx
@@ -93,6 +93,42 @@ T determinantByLUDecomposition(MultiArrayView<2, T, C1> const & a)
return det;
}
+template <class T, class C... | 3 | 3 | 2 | [{"id": "G0", "claim": "determinantByMinors should return and compute in typename NumericTraits<T>::Promote instead of T (return type and the local det/sign variables), so the function also works for small unsigned types like UInt8.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
ultrabug__py3status__1228 | ultrabug/py3status | 1,228 | defect | 78d56820cea70d4b4d4327e9ac1462b0a427bfe2 | 1a4461c8fa7a52be1321a9d04560389c889c83b8 | formatter: reject the condition if none | Hi. I'm not familiar with the formatter code. This closes #1207 for me.
When we test a condition with `None`, an exception will just occur.
```python
# This code block intentionally left blank.
```
We don't have anything in place for `None` inside the condition. The placeholder can be given `None` if... | diff --git a/py3status/formatter.py b/py3status/formatter.py
index c1144b930a..6e38851e47 100644
--- a/py3status/formatter.py
+++ b/py3status/formatter.py
@@ -345,8 +345,11 @@ def _check_valid_condition(self, get_params):
variable = None
value = self.value
+ # reject the condition?
+ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "Changing `if isinstance(variable, bool):` to `elif` makes no sense here since the preceding new `if` is unrelated and returns, so this unnecessary change just makes the PR harder to review and should be reverted.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
ultrabug__py3status__1643 | ultrabug/py3status | 1,643 | defect | ba641e1d771a804b2536c0b2b03bb8a334b3e20a | 04a921e28947f0af998cf8e26cd82211ed83364a | fix black check mode which should fail the CI if reformatting is needed | also fix related test misformat
found this while checking out last PR... | diff --git a/tests/test_module_doc.py b/tests/test_module_doc.py
index d7610cae93..c2ad1f044e 100644
--- a/tests/test_module_doc.py
+++ b/tests/test_module_doc.py
@@ -26,9 +26,7 @@
# Ignored items will not have their default values checked or be included for
# alphabetical order purposes
-IGNORE_ITEM = [
- ('usb... | 1 | 1 | 0 | [{"id": "G0", "claim": "Asks whether the usbguard 'format_notification_message' entry in IGNORE_ITEM — excluded from the doc test because newlines break its docstring — can be fixed, or whether it is a permanent ignore list.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
ultrabug__py3status__1718 | ultrabug/py3status | 1,718 | defect | 769e48ac517956054682a2aa6df9aff3c60b1220 | 908b291831acfe70fdd3933f382ca118c07c65da | add i3/sway directive | This should solve compatibility problems with sway #1717. Tested on i3. Untested on sway.
I hide the `--wm` argument too. `py3status --wm [i3|sway]`. This dictates no more than `msg` and `nag` and if necessary, this can be extended more to support other things like `lock`.
* Allowing users to specify `--msg`, `--na... | diff --git a/py3status/argparsers.py b/py3status/argparsers.py
index 4e147bfdc2..8af51be124 100644
--- a/py3status/argparsers.py
+++ b/py3status/argparsers.py
@@ -60,6 +60,13 @@ def parse_cli_args():
except subprocess.CalledProcessError:
i3status_path = None
+ # get swaymsg or i3-msg
+ with open(o... | 8 | 6 | 4 | [{"id": "G0", "claim": "The '# get swaymsg or i3-msg' comment is inaccurate because the detected window manager differs in more than the messenger program, and should be reworded (e.g. to say it tries to detect a good default for the 'wm' argument).", "category": "documentation", "verdict": "supported", "priority": "P2... | null |
ultrabug__py3status__1823 | ultrabug/py3status | 1,823 | defect | a79d50ae252626bacb14bfcc8f369e59ae500fd1 | ca93d9592ea5c4d13e40edf6fba44e013b74c495 | Introduce entry point based discovery of packaged custom modules | fixes #1822 | diff --git a/doc/writing_modules.rst b/doc/writing_modules.rst
index 3e43162707..ece367bcbc 100644
--- a/doc/writing_modules.rst
+++ b/doc/writing_modules.rst
@@ -27,6 +27,34 @@ which if you are used to XDG_CONFIG paths relates to:
You can also specify the modules location using ``py3status -i <path to custom
modules... | 7 | 7 | 1 | [{"id": "G0", "claim": "The new documentation misspells the Python package index as 'PYPi' instead of 'PyPI'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new documentation misspells 'virtualenv' as 'virtuelenv'.", "category": "documentation... | null |
ultrabug__py3status__535 | ultrabug/py3status | 535 | defect | 99bda00e6c3ece03274c7fa17794284b632dd8b1 | 692d5069e12473097fed5e1d1fb1d5d8fa5a9814 | Py3: helper function format_units() | This adds a helper function to py3
The idea is to create human readable output for modules like sysdata it also means we have one true implementation and so should be less subject to errors etc. We can force the output if needed say to MiB or we can use something like 'bits/second' and get Mibits/second etc.
The out... | diff --git a/doc/README.md b/doc/README.md
index 30be90396e..6d58e7c8b9 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -856,6 +856,29 @@ they have.
Returns True if the event name and instance match that of the module
checking.
+___format_units(value, unit='B', optimal=5, auto=True, si=False)__
+
+Takes a value a... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new format_units helper's `auto` parameter is not documented in doc/README.md; the reviewer asks what it is for and that it be documented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ultrabug__py3status__553 | ultrabug/py3status | 553 | defect | bc6349ba1ee1a1f2ae08f9069255a30574d42d7d | ff0c02c9613b63faa4c2371f20a3893fc2f02e53 | Use new Meta/deprecate_function in sysdata | Try to use the new Meta/deprecated function for deprecated config args. Tox doesn't like it. | diff --git a/py3status/modules/sysdata.py b/py3status/modules/sysdata.py
index 8923ae4c03..d75b3f2a3f 100644
--- a/py3status/modules/sysdata.py
+++ b/py3status/modules/sysdata.py
@@ -29,12 +29,6 @@
mem: change color based on the value of mem_used_percent
temp: change color based on the value of cpu_temp
-Ob... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `deprecated` dict is indented at the wrong level: it sits inside `deprecate_function` after its return statement (dead code) instead of being part of `Meta`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The module's def... | null |
ultrabug__py3status__791 | ultrabug/py3status | 791 | defect | 7a58e8cb2557a890e046b67ad3bb4afaafae6a61 | 187e29a7458d89686345e3c2d2292df9b7040bff | netdata: add format | This adds format: string to print (default '[\?color=stuffs goes here]')
TODO: Add a missing separator. What magic to use? Pls.
TODO: Fix docstring (obv).
TODO: New PR for module enhancements after this...
└──────── Add new threshold options and such.
Ongoing efforts to FORMAT ALL THE THINGS! (meme). #98 | diff --git a/py3status/modules/netdata.py b/py3status/modules/netdata.py
index ce0d7f9ce3..b4336a3fce 100644
--- a/py3status/modules/netdata.py
+++ b/py3status/modules/netdata.py
@@ -3,32 +3,38 @@
Display network speed and bandwidth usage.
Configuration parameters:
- cache_timeout: how often we refresh this modu... | 5 | 5 | 2 | [{"id": "G0", "claim": "The one-line docstring style introduced in the GetData class (e.g. `\"\"\"Get bytes directly from /proc.`) is ugly and should not be used.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new format/thresholds configuration needs... | null |
ultrabug__py3status__887 | ultrabug/py3status | 887 | defect | 2ecb62a5440a3a6fc8486d2d42f2700ee56b5462 | 2dc115d427b67ab76915a0e9a40ab4e2dff2f98e | formatter rewrite to improve fuctionality | So it's been a while since the formatter got a rewrite :)
In 3.5 the formatter processes the format_string and substitutes the placeholders in a single pass. This has two effects. Firstly we do the work of processing the format_string every time we use it. Secondly doing the substitutions at processing time makes... | diff --git a/py3status/composite.py b/py3status/composite.py
index 5fa1938241..bb2814e82f 100644
--- a/py3status/composite.py
+++ b/py3status/composite.py
@@ -86,6 +86,9 @@ def simplify(self):
diff_last = None
item_last = None
for item in self._content:
+ # remove any undefined col... | 10 | 10 | 5 | [{"id": "G0", "claim": "self.py3.format_contains breaks in terminal (module test) mode, as the is_bug test module demonstrates.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment 'create formatter we only need one' has a typo and needs an 'i... | null |
ultrabug__py3status__931 | ultrabug/py3status | 931 | defect | 9dc0ff64ccdc4f162a54e1f2f502e34184cd61fa | 7377f0666c85b071173237c1451b1d0365f8ffbf | spotify: sanitize album/track title | A lot of spotify album/track titles have this rubbish Remastered or Stereo suffix (eg. "Ziggy Stardust - Remastered 2012 Version"), which is an absolute waste of space on the screen, looks very unaesthetic and also is very useless.
This PR introduces new config options
sanitize_titles: true/false
sanitize_words: ... | diff --git a/py3status/modules/spotify.py b/py3status/modules/spotify.py
index 873c73c8bf..62c2a64fa3 100644
--- a/py3status/modules/spotify.py
+++ b/py3status/modules/spotify.py
@@ -9,6 +9,10 @@
(default 'Spotify not running')
format_stopped: define output if spotify is not playing
(default 'Spo... | 5 | 4 | 0 | [{"id": "G0", "claim": "Compile the sanitize regexes once in post_config_hook() rather than on every use.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The regexes should have comments explaining what they do, e.g. removing bracketed content that c... | null |
ultracontext__ultracontext__34 | ultracontext/ultracontext | 34 | defect | bba9245bc472a82162d9a49a051d46e4974a88dd | d4d637a25672ff18829664b8fb58c19b794fba9c | feat: /switch — cross-agent session portability | ## Summary
- `/switch codex` (and reverse) converts your current Claude/Codex session to the target agent's native JSONL and launches it
- Pure local — no API round-trip, reuses existing parsers/writers
- Ships as Claude Code plugin + CLI command
- `npm i -g ultracontext` → postinstall registers skill automatically
##... | diff --git a/apps/js-sdk/package.json b/apps/js-sdk/package.json
index 7c6e56a..07871c1 100644
--- a/apps/js-sdk/package.json
+++ b/apps/js-sdk/package.json
@@ -58,7 +58,8 @@
"dist/",
"ultracontext.mjs",
"postinstall.mjs",
- "assets/"
+ "assets/",
+ "plugin/"
],
... | 6 | 5 | 3 | [{"id": "G0", "claim": "result.cwd is interpolated bare into the launch command, so any project path with spaces makes the shell split the path and the codex tab opens in the wrong directory or errors, and the same string interpolated into AppleScript double-quoted strings also breaks on paths containing quotes.", "cat... | null |
ultralytics__ultralytics__18868 | ultralytics/ultralytics | 18,868 | defect | 3d4a86d2ee35e52b99a65f35126f758078fcccac | c5fde2e8db0c70ff7908bdf21076d0343f5182e3 | `ultralytics 8.3.169` Add GT, TP, FP, FN visualization for Detect, Segment, Pose and OBB | This partly related to the feature suggested here: https://github.com/ultralytics/ultralytics/issues/18428#issuecomment-2564378913
The PR allows visualizing the ground truth, true positives, false positives and false negatives from the confusion matrix.
**Detect**
`yolo val model=yolo11n.pt data=coco128.yaml bat... | diff --git a/docs/en/macros/validation-args.md b/docs/en/macros/validation-args.md
index ab5014c08de..bf86a62cfd9 100644
--- a/docs/en/macros/validation-args.md
+++ b/docs/en/macros/validation-args.md
@@ -16,3 +16,4 @@
| `split` | `str` | `val` | Determines the dataset split to use for validation (`val`, `te... | 11 | 5 | 1 | [{"id": "G0", "claim": "The visualization code reused across the per-task val.py files should be centralized in a single location (a class, or a single function with task-specific logic) for easier maintenance.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
ultralytics__ultralytics__20702 | ultralytics/ultralytics | 20,702 | defect | 70dea780ace409117aa0088e0682d3769d2b8cf2 | ffa3612136db0f08c4b6469ca833a35d30826576 | Adjust `to_sql` method for validation metrics |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Improved the export of YOLO results to SQL databases by making the process more flexible and robust, with dynamic table creation based on actual results data. 🗃️✨
### 📊 Key Changes
- Enhanced ... | diff --git a/tests/test_python.py b/tests/test_python.py
index eb62cf4d1c0..aa866dbd0e9 100644
--- a/tests/test_python.py
+++ b/tests/test_python.py
@@ -204,6 +204,7 @@ def test_val():
metrics.to_xml()
metrics.to_html()
metrics.to_json()
+ metrics.to_sql()
def test_train_scratch():
diff --git a/u... | 2 | 2 | 0 | [{"id": "G0", "claim": "Check whether self.summary is empty before passing it to self.to_df, so to_sql could return the empty info directly without even importing pandas.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test_results method does no... | null |
ultralytics__ultralytics__20730 | ultralytics/ultralytics | 20,730 | defect | 93f54dcf9b1da5440ad5b3c043d9711d1994d712 | 0b765c52ed8b5dd06dafe382c20c81ef00fc51f0 | `ultralytics 8.3.143` Add Profiling for Solutions | <!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: Befo... | diff --git a/tests/test_solutions.py b/tests/test_solutions.py
index f6f3893ca09..4b22d18c076 100644
--- a/tests/test_solutions.py
+++ b/tests/test_solutions.py
@@ -245,7 +245,7 @@ def test_analytics_graph_not_supported():
"""Test that unsupported analytics type raises ModuleNotFoundError."""
try:
an... | 5 | 4 | 0 | [{"id": "G0", "claim": "The pull request should not profile the OpenCV visualization (cv2.imshow) time with a third profiler, since the inference pipeline's speed statistics include nothing for visualization plotting time.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
ultralytics__ultralytics__20834 | ultralytics/ultralytics | 20,834 | defect | 6dffa0cef3e30e765b1622d5cc02d57b04d7ee8b | fee4d6ee19457c9c8d29f714e1f5c4cbdd417046 | `ultralytics 8.3.147` Confusion Matrix export to CSV, XML, HTML, JSON, and SQL formats |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Improved export and usability of confusion matrix results during YOLO model validation, with enhanced documentation and testing. 📊✨
### 📊 Key Changes
- Added the ability to export confusion ma... | diff --git a/docs/en/modes/val.md b/docs/en/modes/val.md
index 3b5ed00b48b..b63a6ab8a73 100644
--- a/docs/en/modes/val.md
+++ b/docs/en/modes/val.md
@@ -107,7 +107,19 @@ The below examples showcase YOLO model validation with custom arguments in Pytho
yolo val model=yolo11n.pt data=coco8.yaml imgsz=640 batch=16... | 2 | 1 | 1 | [{"id": "G0", "claim": "The class-names attribute should be initialized while initializing the ConfusionMatrix class instead of being set inside the plot function, because otherwise all the to_* export functions fail when validation runs with plots=False and never goes through plot().", "category": "correctness", "verd... | null |
ultralytics__ultralytics__22146 | ultralytics/ultralytics | 22,146 | defect | c0d1d27abebc6777c9ba51777f1eb33e47bd9940 | 70dba679383b805e81456cf9c2de0b5360c9c6ea | Update imx convert to `imx500-converter 3.17.3` release and `Segmentation` support | <!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: Befo... | diff --git a/tests/test_exports.py b/tests/test_exports.py
index 2d19d7a547f..488dc763e0f 100644
--- a/tests/test_exports.py
+++ b/tests/test_exports.py
@@ -248,11 +248,12 @@ def test_export_ncnn_matrix(task, half, batch):
shutil.rmtree(file, ignore_errors=True) # retry in case of potential lingering multi-thread... | 3 | 2 | 1 | [{"id": "G0", "claim": "Question whether export_imx should rely on the legacy ONNX exporter (monkey-patched with dynamo=False) for MCT compatibility, suggesting as an alternative that Sony be asked to make MCT compatible with PyTorch 2.9.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "intro... | null |
ultralytics__ultralytics__22312 | ultralytics/ultralytics | 22,312 | defect | f7e89e772ac5aadd6c64dd43bf190d675d9edf57 | 9f8b1caabb8f29f601ee78aefd53efe8dc59c938 | Fix #22306: Update filter for FP16 compatible export formats, update docs | Fix for https://github.com/ultralytics/ultralytics/issues/22306
Introducing variable which indicates if an export format supports FP16.
Updated warning to be logged when FP16 format and CPU export is selected
Updated export to use FP16 for all supported formats
Updated documentation, removed ambiguous phrasing t... | diff --git a/docs/en/macros/export-args.md b/docs/en/macros/export-args.md
index d42713f2d38..372a97529a6 100644
--- a/docs/en/macros/export-args.md
+++ b/docs/en/macros/export-args.md
@@ -4,7 +4,7 @@
| `imgsz` | `int` or `tuple` | `640` | Desired image size for the model input. Can be an integer for sq... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new support_fp16_export filter should include only jit beyond the existing onnx check, since the other listed formats handle FP16 quantization in their own export workflow.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ultralytics__ultralytics__22597 | ultralytics/ultralytics | 22,597 | defect | ac9af2e437bf5370b32191438bb56c632da93ec4 | a99c14e53c16808102444b6ddcda5c7d118ee86b | `ultralytics 8.3.226` ♻️ Replace `eval()` with `ast.literal_eval()` for security |
<!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: ... | diff --git a/ultralytics/cfg/__init__.py b/ultralytics/cfg/__init__.py
index e17e35cacca..71949cb1b3d 100644
--- a/ultralytics/cfg/__init__.py
+++ b/ultralytics/cfg/__init__.py
@@ -2,6 +2,7 @@
from __future__ import annotations
+import ast
import shutil
import subprocess
import sys
@@ -803,7 +804,7 @@ def smart... | 1 | 1 | 1 | [{"id": "G0", "claim": "Switching to ast.literal_eval on numeric sources introduces a regression: numeric strings with leading zeros (e.g. \"08\", a valid webcam index) now raise a SyntaxError, and since the line is not wrapped in try/except those sources crash loader initialization; keep the conversion to a simple int... | null |
ultralytics__ultralytics__22946 | ultralytics/ultralytics | 22,946 | defect | 050a26ee8aff3c1453957a93278392eb6789d2b7 | e0ff015842e2630eaa422f7b8e4a81f7704d2277 | Fix TFLite export dtype mismatch with `half=True` and `nms=True` | <!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: Before ... | diff --git a/ultralytics/engine/exporter.py b/ultralytics/engine/exporter.py
index c37f93337ca..4606b47c6af 100644
--- a/ultralytics/engine/exporter.py
+++ b/ultralytics/engine/exporter.py
@@ -1035,15 +1035,15 @@ def export_saved_model(self, prefix=colorstr("TensorFlow SavedModel:")):
(
"t... | 2 | 2 | 2 | [{"id": "G0", "claim": "Installing onnx_graphsurgeon from an unpinned Git URL is not reproducible and can break SavedModel export at any time if NVIDIA changes its default branch or the subdirectory layout, so it should be pinned to a specific TensorRT tag/commit to keep exports deterministic across CI and user environ... | null |
ultralytics__ultralytics__23175 | ultralytics/ultralytics | 23,175 | defect | d73ffc6773cb5a44f762d9e46d6a95d2e1664f02 | 254b0ae53f063c7d356858d14a1a87e28db1d664 | Fix ARM64 Dockerfile | <!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: Befo... | diff --git a/tests/test_exports.py b/tests/test_exports.py
index 708be51eab0..222ecaf5bce 100644
--- a/tests/test_exports.py
+++ b/tests/test_exports.py
@@ -235,6 +235,7 @@ def test_export_mnn_matrix(task, int8, half, batch):
@pytest.mark.slow
+@pytest.mark.skipif(ARM64, reason="NCNN not supported on ARM64") # ht... | 1 | 1 | 1 | [{"id": "G0", "claim": "SystemError is typically reserved for interpreter/internal errors, so raising it for the unsupported ARM64 NCNN case in export_ncnn and AutoBackend can be misleading and may be handled differently by callers; a domain-appropriate exception such as NotImplementedError or RuntimeError should be ra... | null |
ultralytics__ultralytics__23780 | ultralytics/ultralytics | 23,780 | defect | 711b7256310ef3972bb65b4e381b60becaef8fcf | c8bda1e8278f0963435e0b135ea944c0e639ce65 | Fix FP16 inference crash from TinyViT cached bias dtype mismatch | ## Summary
This PR fixes an FP16 inference crash in the SAM TinyViT path (e.g., `mobile_sam.pt`) caused by a dtype mismatch in cached attention bias tensors.
When `half=True`, inference can fail with:
`RuntimeError: expected scalar type Float but found Half`
## Root Cause
In `SAM` predictor setup, the mo... | diff --git a/ultralytics/models/sam/predict.py b/ultralytics/models/sam/predict.py
index b98a2081ab7..0fa6cb42788 100644
--- a/ultralytics/models/sam/predict.py
+++ b/ultralytics/models/sam/predict.py
@@ -454,9 +454,9 @@ def setup_model(self, model=None, verbose=True):
device = select_device(self.args.device, ... | 3 | 3 | 1 | [{"id": "G0", "claim": "setup_model() calls eval() before moving the module to device, so TinyViT's eval-time cached tensors are built on CPU and copied to GPU each forward; the reviewer asks to order it as model.to(device) -> dtype cast -> model.eval() -> self.model = model so caches are created on the final device an... | null |
ultralytics__ultralytics__23946 | ultralytics/ultralytics | 23,946 | defect | b10fa7be231820cea668c52af45b25d07ff65968 | 36e58777f75b82bcb844a72db69b58a83bbec6c4 | Add support for multiple ray tune search algorithms | <!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: Befo... | diff --git a/docs/en/integrations/ray-tune.md b/docs/en/integrations/ray-tune.md
index d81a662ca54..ff99c6943ba 100644
--- a/docs/en/integrations/ray-tune.md
+++ b/docs/en/integrations/ray-tune.md
@@ -67,6 +67,7 @@ The `tune()` method in YOLO26 provides an easy-to-use interface for hyperparamet
| `grace_period` | `in... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new search_alg object path is only partially implemented: custom Ax/BOHB/ZOOpt searcher objects bypass the special param_space normalization and BOHB scheduler selection, which can cause runtime failures despite those searchers being documented as supported.", "category": "correctness", "ver... | null |
ultralytics__ultralytics__24120 | ultralytics/ultralytics | 24,120 | defect | edc79913a3e339700a43687c7d64f4ba5ac0db26 | 6c7f18f74b92ad2cbf22374726e167122dfec7d2 | `ultralytics 8.4.38` Unify args naming for standalone export functions | <!--
Thank you 🙏 for your contribution to [Ultralytics](https://www.ultralytics.com/) 🚀! Your effort in enhancing our repositories is greatly appreciated. To streamline the process and assist us in integrating your Pull Request (PR) effectively, please follow these steps:
1. Check for Existing Contributions: Befo... | diff --git a/ultralytics/nn/backends/coreml.py b/ultralytics/nn/backends/coreml.py
index 9f96c66ec75..d36dfc2e562 100644
--- a/ultralytics/nn/backends/coreml.py
+++ b/ultralytics/nn/backends/coreml.py
@@ -32,7 +32,9 @@ def load_model(self, weight: str | Path) -> None:
LOGGER.info(f"Loading {weight} for CoreM... | 3 | 2 | 2 | [{"id": "G0", "claim": "ONNX multi-input export should normalize list inputs to a tuple before passing them to torch.onnx.export.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TorchScript path normalization is inconsistent and no longer guarantees ... | null |
ultralytics__ultralytics__24173 | ultralytics/ultralytics | 24,173 | defect | cf95678dc8852612ba44c59e0feb2d22a81a4965 | 46017e8f861be0f0ad3dda634f18ff7c89a04886 | Fix train resume for non-end2end models | Classification resume currently crashes because `BaseTrainer.resume_training()` assumes every model exposes `model.end2end`, but classification heads do not. This checks the last model head directly so classification resumes keep working while end-to-end detect-family resumes still refresh their criterion state.
```py... | diff --git a/ultralytics/engine/trainer.py b/ultralytics/engine/trainer.py
index 4484f2e251c..9c5780d4799 100644
--- a/ultralytics/engine/trainer.py
+++ b/ultralytics/engine/trainer.py
@@ -961,7 +961,7 @@ def resume_training(self, ckpt):
)
self.epochs += ckpt["epoch"] # finetune additional ep... | 1 | 1 | 0 | [{"id": "G0", "claim": "Prefer reading the end2end flag with getattr directly on unwrap_model(self.model) instead of reaching into unwrap_model(self.model).model[-1].", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ultralytics__yolov5__1235 | ultralytics/yolov5 | 1,235 | defect | c8c5ef36c9a19c7843993ee8d51aebb685467eca | ce58596a9d4564988f422a1b7baa2e0a8d712667 | Weights & Biases (W&B) Feature Addition | ## What does this PR do?
This is a cleaned-up and updated version of this PR [#1108](https://github.com/ultralytics/yolov5/pull/1108) which adds W&B logging support.
Updates:
- The code no longer typecasts co-ordinates into `float` before passing them to the logging dictionary.
- Reformatted the code
Some of the... | diff --git a/requirements.txt b/requirements.txt
index 0871ed666685..aaeedd9afd66 100755
--- a/requirements.txt
+++ b/requirements.txt
@@ -13,6 +13,9 @@ torch>=1.6.0
torchvision>=0.7.0
tqdm>=4.41.0
+# logging -------------------------------------
+# wandb
+
# coco ----------------------------------------
# pycoco... | 5 | 4 | 3 | [{"id": "G0", "claim": "test.py imports wandb directly without a try statement, which the reviewer expected would produce an error when wandb is not installed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asked whether the init assign... | null |
ultralytics__yolov5__1399 | ultralytics/yolov5 | 1,399 | defect | 9f27902368b6c98e5483e9c1b55396c8a90c5501 | 79256758c844902d3b4cb3d228705939aa4ff9b6 | W&B logging add hyperparameters | This PR adds hyperparameter logging to W&B.
I also removed some code on the wandb.init() if statement that didn't seem to serve any purpose. @AyushExel can you take a look at this and make sure I didn't introduce any new bugs?
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultraly... | diff --git a/train.py b/train.py
index 4eee5f2542fb..758474c5636d 100644
--- a/train.py
+++ b/train.py
@@ -121,8 +121,8 @@ def train(hyp, opt, device, tb_writer=None, wandb=None):
# plot_lr_scheduler(optimizer, scheduler, epochs)
# Logging
- if wandb and wandb.run is None:
- wandb_run = wandb.init... | 4 | 4 | 2 | [{"id": "G0", "claim": "Removing the `wandb.run is None` check will re-initialize a new wandb run even when the user has already initialized one manually earlier in a larger pipeline, which is not desirable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
ultralytics__yolov5__3687 | ultralytics/yolov5 | 3,687 | defect | 463628a4d88d2375d7b4c4556f77a24d44332772 | 366665f19980a80d71696080a0424459ea916527 | Slightly modify CLI execution | This simple change makes it easier to run the primary functions of this
repo (train/detect/test) from within Python. An object which represents
`opt` can be constructed and fed to the `main` function of each of these
modules, rather than having to call the lower level functions directly,
or run the module as a scri... | diff --git a/detect.py b/detect.py
index 7daa87436daa..c51c6fa4e0c1 100644
--- a/detect.py
+++ b/detect.py
@@ -172,7 +172,7 @@ def detect(weights='yolov5s.pt', # model.pt path(s)
print(f'Done. ({time.time() - t0:.3f}s)')
-if __name__ == '__main__':
+def parse_opt():
parser = argparse.ArgumentParser()
... | 1 | 1 | 1 | [{"id": "G0", "claim": "models/export.py should be added to the pull request so it gets the same parse_opt()/main() CLI refactor as detect.py, test.py and train.py (enabling better out-of-the-box pip usage).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
umami-software__umami__3323 | umami-software/umami | 3,323 | defect | f32bf0a2e034dfa014e4d92192ee298a75cae3ea | 85d89de072c70f116b8214bca38aa4c6d5dbe30e | Added tests for /lib/charts | I've added tests for `charts.ts`, covering the `renderNumberLabels` and `renderDateLabels` functions. | diff --git a/jest.config.ts b/jest.config.ts
index 7373865166..3a9741cf17 100644
--- a/jest.config.ts
+++ b/jest.config.ts
@@ -4,4 +4,13 @@ export default {
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
+ moduleNameMapper: {
+ '^assets/(.*)$': '<rootDir>/src/assets/$1',
+ '^components/(.*)$': '<rootDi... | 3 | 3 | 1 | [{"id": "G0", "claim": "The year format 'YYY' used in the test is incorrect and should be 'yyyy' for a 4-digit year according to date-fns format.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The formatDate spy defined at module top level should be... | null |
umbracle__ethgo__131 | umbracle/ethgo | 131 | defect | ad7f5649eb799a777f921be0bac733c8483a5464 | 31a97f5203ea6e2fdae7602351813e87cb020b00 | Best effort encoding + overload definitions | This PR fixes 2 newly found issues:
**Improvement**:
- When parsing JSON as `interface{}` in Go, all numbers are parsed as `float64`. Currently the library will fail to encode the params if a number is passed as `float64` so we cast into an `int64` before encoding it.
- We would like to pass addresses as strings s... | diff --git a/abi/abi.go b/abi/abi.go
index 6598c30e..039a042e 100644
--- a/abi/abi.go
+++ b/abi/abi.go
@@ -16,9 +16,10 @@ import (
// ABI represents the ethereum abi format
type ABI struct {
- Constructor *Method
- Methods map[string]*Method
- Events map[string]*Event
+ Constructor *Method
+ Methods... | 3 | 3 | 3 | [{"id": "G0", "claim": "encodeAddress should parse address strings with the existing web3.Address UnmarshalText method instead of hand-rolled hex decoding.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test covering float values.", "category"... | null |
umbraco__Umbraco.UI__1118 | umbraco/Umbraco.UI | 1,118 | defect | c1c2392aca5e9d02a47c54b6a7cb846a45102416 | 2595878babc2eface767aadcdd0c8991aa1c70cf | Feature: `uui-symbol-drag-handle` component | <!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe the changes in detail -->
Added a drag handle similar to examples mentioned here: https://github.com/umbraco/Umbraco-CMS/pull/18519#issuecomment-2691453646
e.g. https://f36.contentful.com/components/drag-handl... | diff --git a/packages/uui-drag-handle/README.md b/packages/uui-drag-handle/README.md
new file mode 100644
index 000000000..e912737c6
--- /dev/null
+++ b/packages/uui-drag-handle/README.md
@@ -0,0 +1,31 @@
+# uui-drag-handle
+
+
+
+Umbra... | 6 | 4 | 1 | [{"id": "G0", "claim": "For consistency with the other exports, packages/uui/lib/index.ts should use `export * from '@umbraco-ui/uui-drag-handle/lib';` instead of specifying `/index.js`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In packages... | null |
umbraco__Umbraco.UI__1262 | umbraco/Umbraco.UI | 1,262 | defect | 74e74fc4b1e393c5bbf70c8b6aa6a73e69d5e3b1 | 31825f70d85de7b90da26924ed6cda15fd740517 | Fix uui-textarea auto-height not recalculating on programmatic value changes | ## Description
The `uui-textarea` component with `auto-height` enabled did not recalculate height when values were set programmatically (e.g., via `UmbDocumentContext.setPropertyValue()`). Height adjustment only occurred during user input events.
**Root cause**: `autoUpdateHeight()` was only invoked in the `onInput` ... | diff --git a/packages/uui-textarea/lib/uui-textarea.element.ts b/packages/uui-textarea/lib/uui-textarea.element.ts
index 3e57f6f3b..e47b3876e 100644
--- a/packages/uui-textarea/lib/uui-textarea.element.ts
+++ b/packages/uui-textarea/lib/uui-textarea.element.ts
@@ -173,7 +173,7 @@ export class UUITextareaElement extends... | 11 | 8 | 3 | [{"id": "G0", "claim": "SonarCloud feedback says the code should refrain from using `as string` type assertions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The entire \"should I update auto height\" logic should be moved into the value sette... | null |
umbraco__Umbraco.UI__1263 | umbraco/Umbraco.UI | 1,263 | defect | 74e74fc4b1e393c5bbf70c8b6aa6a73e69d5e3b1 | 36f5cbcc2f57695ccdf7c0acd5e71eb5f5ebec30 | Fix radiobutton keyboard accessibility | ## Description
Individual `uui-radio` elements were not keyboard accessible. Users could not activate focused radio buttons with Space key, unlike checkbox elements which extend `UUIBooleanInputElement` with built-in keyboard handling.
**Changes:**
- Added keydown event listener to `UUIRadioElement` constructor
- Han... | diff --git a/packages/uui-radio/lib/uui-radio-group.test.ts b/packages/uui-radio/lib/uui-radio-group.test.ts
index bb74fbab3..c37b6bb8a 100644
--- a/packages/uui-radio/lib/uui-radio-group.test.ts
+++ b/packages/uui-radio/lib/uui-radio-group.test.ts
@@ -202,6 +202,18 @@ describe('UuiRadioGroup in a Form', () => {
... | 1 | 1 | 1 | [{"id": "G0", "claim": "If a keydown event fires before the initial render completes, #onKeyDown will throw when it dereferences _inputElement, which is only populated after first update; the reviewer asks to await updateComplete or guard with optional chaining / a null check so early key events are safely ignored.", "... | null |
umbraco__Umbraco.UI__130 | umbraco/Umbraco.UI | 130 | defect | efd41631eea1165ab7ae437c13ee4f3739ff0d19 | ce3d48aa7df87740725b8f61e04d83e0dacd9232 | Global definitions everywhere | <!--- Provide a general summary of your changes in the Title above -->
## Description
This adds a few things to all packages:
1. We now declare all elements directly from the element files
2. We now define all elements directly from the element files, meaning the index.ts files no longer has any sideeffects, ... | diff --git a/packages/uui-action-bar/lib/index.ts b/packages/uui-action-bar/lib/index.ts
index cad7adba3..d17c688b3 100644
--- a/packages/uui-action-bar/lib/index.ts
+++ b/packages/uui-action-bar/lib/index.ts
@@ -1,6 +1 @@
-import { UUIActionBarElement } from './uui-action-bar.element';
-import { defineElement } from '... | 2 | 2 | 1 | [{"id": "G0", "claim": "uui-toggle is registered with Lit's @customElement decorator instead of the @defineElement decorator the PR introduces everywhere else.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The uui-table advanced example should not decla... | null |
umbraco__Umbraco.UI__1301 | umbraco/Umbraco.UI | 1,301 | defect | 4a56ed1fdce91496a1fb55e88f69199d8ef23f3b | 076cd7c7edc5833bd54ff998dd8dd8250fdfa6d3 | feat(base): add runtime multi-version detection | ## Summary
- Registers the UUI version on `globalThis.__uuiVersions` at module load time
- Warns when multiple different versions or duplicate instances are detected on the same page
- Exports `UUI_VERSION` for programmatic access (e.g. backoffice debug info)
- Adds `@rollup/plugin-json` to support importing `version`... | diff --git a/package-lock.json b/package-lock.json
index 22e9c7f12..d207b7575 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26,6 +26,7 @@
"@lerna-lite/run": "4.11.1",
"@lerna-lite/version": "4.11.1",
"@open-wc/testing": "4.0.0",
+ "@rollup/plugin-json": "^6.1.0",
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The module repeatedly casts globalThis to any to access __uuiVersions; it should use a `declare global` augmentation and a single typed local reference so the global contract is type-checked.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
umbraco__Umbraco.UI__132 | umbraco/Umbraco.UI | 132 | defect | efd41631eea1165ab7ae437c13ee4f3739ff0d19 | d80623a08a2787b93b2c7ae5f2b40d21edf47b8c | Bugfix: Toasts should restart autoclose after mouse leaves | <!--- Provide a general summary of your changes in the Title above -->
## Description
When using a notification container but use the auto-close option on each notification element. The notifications don't auto-close after one of the notifications has hovered.
This request also changes the event types from **m... | diff --git a/packages/uui-base/lib/utils/Timer.ts b/packages/uui-base/lib/utils/Timer.ts
index 5cdba57bb..0bef1b600 100644
--- a/packages/uui-base/lib/utils/Timer.ts
+++ b/packages/uui-base/lib/utils/Timer.ts
@@ -22,10 +22,8 @@ export class Timer {
/** restarts the timer by setting remaining time to duration. */
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The shortened sleep durations in the notification tests (sleep(200) instead of sleep(600), and sleep(element.autoClose + 1) with autoClose=210) may end before the 480ms open animation finishes, since autoClose is the pause between the animations and not the animation time, so the tests may no lo... | null |
umbraco__Umbraco.UI__1331 | umbraco/Umbraco.UI | 1,331 | defect | 1a642602695e4c9add58d01e390169721dc3e2ce | feec733f6b9552b92d38f4f30aa1c37cbcf16e99 | fix(color-slider): show hue color on slider handle | ## Summary
- When `type="hue"`, the circular handle on the color slider now displays the actual hue color as its background (full saturation, 50% lightness via `hslaToHex`)
- Added a 2px white border and `box-sizing: border-box` to the handle so the hue color is legible at any value without changing the handle's effec... | diff --git a/src/components/color-slider/color-slider.element.ts b/src/components/color-slider/color-slider.element.ts
index 8137e948e..9f591e2be 100644
--- a/src/components/color-slider/color-slider.element.ts
+++ b/src/components/color-slider/color-slider.element.ts
@@ -8,6 +8,7 @@ import {
reverseNumberInRange,
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new hue-handle styling (inline background color set via hslaToHex when type==='hue') is not covered by any automated test, so a unit test should be added asserting the handle gets a non-white inline background color for hue type and remains default for non-hue types.", "category": "testing",... | null |
umbraco__Umbraco.UI__1333 | umbraco/Umbraco.UI | 1,333 | defect | 6da37cbfaccc25106ce8f303429bcd3b418d8279 | fa65a7967ebd5ed3d7ab93f5c3f1acf635833c5d | fix(checkbox): suppress label warning when aria-label or aria-labelledby is set | ## Summary
Fixes a false-positive console warning in `LabelMixin` when `aria-label` or `aria-labelledby` is set on a component but no `label` property is provided — a perfectly valid accessibility pattern (e.g. icon-only buttons, row-selection checkboxes, search inputs without visible labels).
**Changes:**
- `LabelMi... | diff --git a/packages/uui-base/lib/mixins/LabelMixin.ts b/packages/uui-base/lib/mixins/LabelMixin.ts
index 53ae6438c..da0ecf56b 100644
--- a/packages/uui-base/lib/mixins/LabelMixin.ts
+++ b/packages/uui-base/lib/mixins/LabelMixin.ts
@@ -39,7 +39,11 @@ export const LabelMixin = <T extends Constructor<LitElement>>(
... | 3 | 3 | 2 | [{"id": "G0", "claim": "LabelMixin suppresses the missing-label warning when aria-label/aria-labelledby are set on the host element, but many LabelMixin consumers (boolean inputs, inputs, buttons) do not forward host aria-* attributes to the internal native control, so the focusable element can remain unlabeled while t... | null |
umbraco__Umbraco.UI__674 | umbraco/Umbraco.UI | 674 | defect | 9708ccbac569560b716431080c782c5531c66ea5 | e40a83c52402d558dab5d31e712873b7733fc620 | Feature/use popover container | Replaces all remaining instances of the old uui-popover component with the new uui-popover-container
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking ch... | diff --git a/packages/uui-button-group/lib/uui-button-group.element.ts b/packages/uui-button-group/lib/uui-button-group.element.ts
index 95e75de90..deb284d95 100644
--- a/packages/uui-button-group/lib/uui-button-group.element.ts
+++ b/packages/uui-button-group/lib/uui-button-group.element.ts
@@ -40,22 +40,6 @@ export c... | 1 | 1 | 1 | [{"id": "G0", "claim": "The uui-color-picker element should not side-effect-import @umbraco-ui/uui-popover-container itself; the import belongs in the consumer (the story), since demandCustomElement exists precisely so a component does not bring its own version of the popover-container.", "category": "design", "verdict... | null |
umcu__clinlp__58 | umcu/clinlp | 58 | defect | 9e00d1b380394ff443a9c05361795eb52a3358b9 | a93793b05e92015be9621dae37103b2b72b1a72e | Added a concept dict creator function | - Adds a function for creating a concept dictionary based on a .csv-file
- The .csv-file needs to have valid column names based on available attributes for the clinlp Term class
Closes #56. | diff --git a/clinlp/entity.py b/clinlp/entity.py
index 19be4f7..0b5c16e 100644
--- a/clinlp/entity.py
+++ b/clinlp/entity.py
@@ -5,6 +5,7 @@
from spacy.language import Doc, Language
from spacy.matcher import Matcher, PhraseMatcher
from spacy.tokens import Span
+import pandas as pd
from clinlp.util import clinlp_a... | 16 | 11 | 6 | [{"id": "G0", "claim": "In create_term the Term should be constructed after the arguments are determined, because an empty Term is useless.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `value == value` condition in create_term is always true, so it... | null |
umcu__clinlp__61 | umcu/clinlp | 61 | defect | 94758d90ddb3e2f0d1540e4e2daacf8f71208a91 | b518016b42d92acad1ab2bbf2fb1fdd168423572 | added ExperiencerTransformer | Added ExperiencerTransformer, relates to [this](https://github.com/umcu/clinlp/issues/59) issue. | diff --git a/clinlp/qualifier/__init__.py b/clinlp/qualifier/__init__.py
index dd31a27..c0430a2 100644
--- a/clinlp/qualifier/__init__.py
+++ b/clinlp/qualifier/__init__.py
@@ -11,4 +11,4 @@
)
if importlib.util.find_spec("transformers") is not None:
- from .transformer import NegationTransformer
+ from .trans... | 3 | 2 | 1 | [{"id": "G0", "claim": "The small-window unit test's expected qualifier should be \"Patient\" rather than \"Other\", since with no context the model falls back to the largest prior.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Can the PR author add a ... | null |
umcu__clinlp__62 | umcu/clinlp | 62 | defect | 94758d90ddb3e2f0d1540e4e2daacf8f71208a91 | cb9ac7a5f0017754e41aa7e5928f6d23bf25c608 | Small improvements to concept loader | * Use pydantic for Term validation
* Prepare for release | diff --git a/.gitignore b/.gitignore
index 6480c82..fba6cb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -133,4 +133,11 @@ venv.bak/
dmypy.json
# Pyre type checker
-.pyre/
\ No newline at end of file
+.pyre/
+
+# macos
+.DS_store
+
+# IDE
+.idea
+.vscode
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGE... | 3 | 1 | 1 | [{"id": "G0", "claim": "The README section added by this PR still calls the function `concept_dict_creator`, but it was renamed to `create_concept_dict`, so the reviewer asks to correct the name there.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
umd-dslam__SLOG__15 | umd-dslam/SLOG | 15 | defect | 06b83142731da1556d7a24c54b7e5cb9650fb5a4 | 83732a54a864c444c8f0ef3b77934194aa928b40 | Per key remastering | **May Update:**
Add the long awaited per key mastering (as dead code). Future: make it a configuration option.
Also fix bugs in scheduler and remaster_manager.h that weren't caught with the simple remasterer.
----
Comparison with 10% of transactions arriving with high counters
),
config_(config),
worker_socket_(context, ZMQ_ROUTER),
- lock_manager_... | 9 | 8 | 3 | [{"id": "G0", "claim": "A transaction standing behind another transaction that is still blocked on a different key must not be unblocked, but RemasterOccured can return it early (T2 waiting only on remastered A is returned while T1 ahead of it still waits on B).", "category": "correctness", "verdict": "supported", "pri... | null |
umd-dslam__SLOG__29 | umd-dslam/SLOG | 29 | defect | 644bf9115b213351114589c9d2f35b6e4728c7fc | 7bb13c28c16bbdf86307594b9e225376e18a8ba5 | Simple remaster manager | Transactions are kept in the exact order as their local logs: if a transaction from region 1 is blocked in the queue, all following transactions from region 1 will be blocked behind it.
This implementation trades performance for being easy to verify. | diff --git a/common/types.h b/common/types.h
index ff138bfa..f9fadb50 100644
--- a/common/types.h
+++ b/common/types.h
@@ -12,6 +12,7 @@ namespace slog {
using Key = std::string;
using Value = std::string;
using TxnId = uint32_t;
+using TxnReplicaId = uint32_t;
using BatchId = uint32_t;
using SlotId = uint32_t;
... | 8 | 8 | 0 | [{"id": "G0", "claim": "Use blocked_queue_[] instead of blocked_queue_.at(local_log_machine_id) in VerifyMaster, since count() was already checked and at() would search again.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The redundant CHECK that m... | null |
umd-dslam__SLOG__39 | umd-dslam/SLOG | 39 | defect | 082a71b7c3c680f5388d9e72fe1dc408e3f02728 | 3dce46e853311e97973d906fc9c51d4f5bde6959 | Multi-home aborts | If the abort occurs after dispatch, we simply return the MH txn. Otherwise, the LOs are somewhere either in the remaster manager, lock manager, or yet to arrive.
The main data structure is `mh_abort_waiting_on_`, a map from `TxnId` to the number of LO txns that need to be collected. It's similar to the waiting_on ma... | diff --git a/common/transaction_holder.cpp b/common/transaction_holder.cpp
index 1510a02b..77d3d271 100644
--- a/common/transaction_holder.cpp
+++ b/common/transaction_holder.cpp
@@ -45,8 +45,18 @@ TransactionHolder::~TransactionHolder() {
}
void TransactionHolder::SetTransaction(const ConfigurationPtr config, Tran... | 9 | 7 | 1 | [{"id": "G0", "claim": "The 'Aborting txn' log lines added in the abort paths should use VLOG(2) instead of LOG(INFO).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The manual per-field copy of master metadata into the lock-only transaction in ... | null |
umijs__qiankun__1697 | umijs/qiankun | 1,697 | defect | 4152e65178e2cfd08722355d168c1484b66c6dd2 | 80681eb93e786880e9589144a93be2ed2dc28f5b | feat: getCurrentRunningApp api | <!--
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/umijs/qiankun/blob/master/CONTRIBUTING.md
感谢您贡献代码。请确认下列 checklist 的完成情况。
Bug 修复和新功能必须包含测试。
Contributors guide: https://github.com/umijs/qiankun/blob/mas... | diff --git a/src/index.ts b/src/index.ts
index 87dbc779c..292126766 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -5,6 +5,7 @@
export { loadMicroApp, registerMicroApps, start } from './apis';
export { initGlobalState } from './globalState';
+export { getCurrentRunningApp } from './sandbox';
export * from './erro... | 1 | 1 | 1 | [{"id": "G0", "claim": "Keep the paired getter/setter API alongside getCurrentRunningApp and move the onAppStartRunning logic into the sandbox (e.g. a registerRunningApp method) instead of exposing onAppStartRunning in common.ts.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
umijs__qiankun__2310 | umijs/qiankun | 2,310 | defect | cec27b6c165f0f16d84da80262098c28197987a3 | 98236ba8d2f43bbfd4b49a6382f80773b0ec892e | 🐛 proxy sandbox should not delete untouched globals | <!--
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/umijs/qiankun/blob/master/CONTRIBUTING.md
感谢您贡献代码。请确认下列 checklist 的完成情况。
Bug 修复和新功能必须包含测试。
Contributors guide: https://github.com/umijs/qiankun/blob/mas... | diff --git a/src/sandbox/__tests__/proxySandbox.test.ts b/src/sandbox/__tests__/proxySandbox.test.ts
index b670fedbf..387e4be96 100644
--- a/src/sandbox/__tests__/proxySandbox.test.ts
+++ b/src/sandbox/__tests__/proxySandbox.test.ts
@@ -502,6 +502,24 @@ describe('variables in whitelist', () => {
sandbox.inactive()... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added `if (globalVariableWhiteList.includes(p))` guard in the sandbox-inactive reset is unnecessary because every key recorded in globalWhitelistPrevDescriptor was already checked against the whitelist before being set.", "category": "maintainability", "verdict": "supported", "priority": "P2... | null |
umijs__qiankun__2921 | umijs/qiankun | 2,921 | defect | 9c56910a53712be86ade81298ccc765c50b66753 | 97947fe2dc3a0db5ea25e30cd57603c0ad414276 | feat(shared): introduce retryable and throwable to fetch-utils | * resolves #261
* resolves https://github.com/umijs/qiankun/issues/2914 | diff --git a/.changeset/lemon-seals-juggle.md b/.changeset/lemon-seals-juggle.md
new file mode 100644
index 000000000..207726444
--- /dev/null
+++ b/.changeset/lemon-seals-juggle.md
@@ -0,0 +1,6 @@
+---
+"qiankun": patch
+"@qiankunjs/shared": patch
+---
+
+feat(shared): introduce retryable and throwable to fetch-utils
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The exported helper name has a typo and should be \"isValidResponse\" instead of \"isValidaResponse\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umijs__qiankun__3105 | umijs/qiankun | 3,105 | defect | fa128ee8189418773b73515e073d84ecaafabbf1 | 6ed9ab8bc145b2dc9ed68f6dc1caf8cd6d6e178f | feat: improve fetch error message by prepending url | ## Summary
This PR improves the error messages for fetch operations by prepending the request URL. This makes it easier to identify which resource failed to load from monitoring logs or error reports.
It addresses issue #2973 by:
1. Wrapping `fetch` calls in `makeFetchThrowable` with a try-catch block to intercept net... | diff --git a/.changeset/spotty-plums-hear.md b/.changeset/spotty-plums-hear.md
new file mode 100644
index 000000000..fe7a0677c
--- /dev/null
+++ b/.changeset/spotty-plums-hear.md
@@ -0,0 +1,6 @@
+---
+"@qiankunjs/loader": patch
+"@qiankunjs/shared": patch
+---
+
+feat: improve fetch error message by prepending url
diff... | 6 | 3 | 2 | [{"id": "G0", "claim": "The PR should add a test case verifying the function still throws (and behaves correctly) when attempting to modify a readonly error.message, since the nested try-catch handling that case has no test coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
umijs__qiankun__3107 | umijs/qiankun | 3,107 | defect | 57a6129762fb20afbaa134cd757957b845b04cf9 | 6c295292ccd515ef4aa688fd65dea79d6601cbb4 | refactor(shared): replace semver with compare-versions | ## Summary
Replaces the `semver` dependency with `compare-versions` in `@qiankunjs/shared` to:
- Remove transitive `lru-cache` dependency
- Use a zero-dependency, ESM-friendly alternative
- Maintain full semver compatibility for module resolution
## Changes
- **Dependency**: Replaced `semver` with `compare... | diff --git a/packages/shared/package.json b/packages/shared/package.json
index a4bc8b7ea..b02e7b0b2 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -19,8 +19,8 @@
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.26.10",
- "lodash": "^4.17.11",
- "semver": "^7.5.... | 4 | 4 | 2 | [{"id": "G0", "claim": "Prerelease versions may incorrectly match short wildcard ranges (e.g. satisfies('1.0.0-alpha', '1.x') can return true) because the prerelease check runs after the short wildcard check; move the prerelease check earlier or incorporate prerelease logic into the short wildcard branch.", "category":... | null |
umijs__qiankun__3108 | umijs/qiankun | 3,108 | defect | 7d8591eec8ff010cc3a1200c439cebcab05599e6 | 8ab73c4325d4ed55f250a075b7582e0bc45d51df | [#2823] Add legacy APIs for qiankun 3.0 | Closes #2823
## Summary
Add missing legacy APIs from qiankun 2.x to maintain compatibility with qiankun 3.0.
## Changes
- Add prefetchApps API - DEPRECATED in 3.0, streaming loader performs automatic preload now
- Add setDefaultMountApp API - set default mount app when no apps are mounted
- Add runAfterFirstMounted A... | diff --git a/.changeset/tasty-donkeys-relax.md b/.changeset/tasty-donkeys-relax.md
new file mode 100644
index 000000000..5db802ed9
--- /dev/null
+++ b/.changeset/tasty-donkeys-relax.md
@@ -0,0 +1,5 @@
+---
+"qiankun": patch
+---
+
+[#2823] Add legacy APIs for qiankun 3.0
diff --git a/packages/qiankun/src/apis/__tests__... | 14 | 3 | 1 | [{"id": "G0", "claim": "The module-level isSlowNetwork is evaluated once at load time so the prefetch logic won't reflect runtime network changes; move the check inside prefetch or re-evaluate it periodically.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
umijs__qiankun__360 | umijs/qiankun | 360 | defect | 16d3a3dcc35b115f6824f3ecd14707290fc4788e | c051c95be8d1613ca1e63c645129408881668610 | :bug: fix the issue which an auto closed dialog with a timer would not be cleared after app unmounted | resolve https://github.com/umijs/qiankun/projects/2#card-34875468
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/umijs/qiankun/360)
<!-- Reviewable:end -->
| diff --git a/.travis.yml b/.travis.yml
index f6247abac..87db6b763 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ cache:
directories:
- node_modules
script:
- - yarn lint
+ - yarn ci
- yarn docs:build
#after_success:
diff --git a/package.json b/package.json
index 037139a60..9fbd8ecda 100644
... | 4 | 4 | 4 | [{"id": "G0", "claim": "The new timer patching behaviour should get unit test cases.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Executing the handlers of uncleared timeouts/intervals when the app unmounts runs them early and can cause unintended sid... | null |
umijs__qiankun__412 | umijs/qiankun | 412 | defect | e484165fe7f3eda44ae83c4148381423dc786931 | 937dc6c4b42e4a98f975bbe02756a4ce9b1e0a75 | :sparkles: communication development kits between master and sub apps | <!--
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/umijs/qiankun/blob/master/CONTRIBUTING.md
感谢您贡献代码。请确认下列 checklist 的完成情况。
Bug 修复和新功能必须包含测试。
Contributors guide: https://github.com/umijs/qiankun/blob/mas... | diff --git a/examples/main/index.js b/examples/main/index.js
index 0a2add94d..93172ef67 100644
--- a/examples/main/index.js
+++ b/examples/main/index.js
@@ -1,4 +1,4 @@
-import { registerMicroApps, runAfterFirstMounted, setDefaultMountApp, start } from '../../es';
+import { registerMicroApps, runAfterFirstMounted, setD... | 6 | 5 | 3 | [{"id": "G0", "claim": "The communication API is too heavy: the store concept (createStore, manual store creation and passing the store down) should be dropped and replaced by a minimal global-state API (setGlobalState/onGlobalStateChange reached through props, one listener per app, writes restricted to declared bucket... | null |
umijs__qiankun__465 | umijs/qiankun | 465 | defect | 83faae10b5e076ae9f085553e75923228a842ad4 | a83e3846571ec515eafcdf2af82a397f5c366422 | feat: add runtime css transformer | <!--
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/umijs/qiankun/blob/master/CONTRIBUTING.md
感谢您贡献代码。请确认下列 checklist 的完成情况。
Bug 修复和新功能必须包含测试。
Contributors guide: https://github.com/umijs/qiankun/blob/mas... | diff --git a/src/interfaces.ts b/src/interfaces.ts
index 637a8965e..b60dc5d57 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -65,6 +65,9 @@ type QiankunSpecialOpts = {
it is useful for the scenario that only one sub app shown at one time
*/
singular?: boolean | ((app: LoadableApp<any>) => Promise<... | 3 | 3 | 2 | [{"id": "G0", "claim": "The MutationObserver created in ScopedCSS.process may need explicit cleanup to ensure it won't cause a DOM leak.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "appWrapperGetter() in the dynamic head patch may return undefined... | null |
umijs__qiankun__573 | umijs/qiankun | 573 | defect | 6d7f935fcef0bb39622e25408a59121b25ecaf98 | 0a05e7f0981d2790a1b21a69a2d02b3709151ff3 | :bug: rewrite ProxyWindow in UIEvent | <!--
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/umijs/qiankun/blob/master/CONTRIBUTING.md
感谢您贡献代码。请确认下列 checklist 的完成情况。
Bug 修复和新功能必须包含测试。
Contributors guide: https://github.com/umijs/qiankun/blob/mas... | diff --git a/examples/react16/src/components/HelloModal.js b/examples/react16/src/components/HelloModal.js
index 964ddeb27..eb8473d8f 100644
--- a/examples/react16/src/components/HelloModal.js
+++ b/examples/react16/src/components/HelloModal.js
@@ -1,9 +1,24 @@
-import React, { useState } from 'react';
+import React, {... | 2 | 2 | 2 | [{"id": "G0", "claim": "Changing the TypeScript compiler target from es5 to es6 in tsconfig.json is unjustified and should not be made (asks why the target was changed to es6).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "patch() should take the sandbo... | null |
umijs__qiankun__842 | umijs/qiankun | 842 | defect | 6470b98d349245960ba4e36c5718e185c23e7909 | 9d71b3df1bcf6abe1ca17af8ba97ab267d3c61b1 | fix: style isolation failed if app name contains some character | ##### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
- [x] `npm test` passes
- [x] tests are included
- [ ] documentation is changed or added
- [x] commit message follows commit guidelines
##### Description of change
- The remaining problem in #833 :
```css
h... | diff --git a/src/sandbox/patchers/__tests__/css.test.ts b/src/sandbox/patchers/__tests__/css.test.ts
index 448ed743c..dd340c592 100644
--- a/src/sandbox/patchers/__tests__/css.test.ts
+++ b/src/sandbox/patchers/__tests__/css.test.ts
@@ -113,8 +113,16 @@ test('should rewrite root-level correctly [2]', () => {
});
te... | 1 | 1 | 0 | [{"id": "G0", "claim": "The quoted appName in the new prefix at css.ts:193 (div[data-qiankun=\"react15\"]) appears not to match the unquoted expectValue structure used in the tests, so the test cases should be updated to stay consistent with the runtime output.", "category": "testing", "verdict": "supported", "priority... | null |
umijs__umi__10333 | umijs/umi | 10,333 | defect | ca1a17c5601504f44f097096166a154f1c5215bf | a7f47c1326d77b2a3bbdf7b9288096420c797cae | fix: 修复约定式路由在文件夹名以 index 结束时生成错误的问题 | fix #10332 | diff --git a/packages/core/fixtures/route/convention-a/pages/a-index/index.ts b/packages/core/fixtures/route/convention-a/pages/a-index/index.ts
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/packages/core/fixtures/route/convention-a/pages/g/index/index.ts b/packages/core/fixtures/route/convention-a... | 2 | 1 | 0 | [{"id": "G0", "claim": "The two-regex handling of paths ending in `index/index` that the PR adds to `createRoutePath` is convoluted and should be replaced with a single regex that only strips two trailing `index` segments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
umijs__umi__10808 | umijs/umi | 10,808 | defect | 1329b40e52c5064f5a8ea8ccf503b9d0e2f123b0 | d5ca338eb5516fffe4019313ddd8fde70c621ece | feat(Server): allow devServer be configured *not* to use http2 when in https mode | This PR implements the same functionality as #10693 but in umi3. | diff --git a/docs/config/README.md b/docs/config/README.md
index d01232edbb0c..8b976dada471 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -363,11 +363,17 @@ if (false) {
- port,端口号,默认 `8000`
- host,默认 `0.0.0.0`
-- https,是否启用 https server,同时也会开启 HTTP/2
+- https,是否启用 https server
- writeToDisk,生成... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new `process.env.HTTP2` branch in getHttpsOptions appears unnecessary because https already defaults to http/2 (spdy), so why add this environment variable check?", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten de... | null |
umijs__umi__13251 | umijs/umi | 13,251 | defect | 9edcd6f3b6abb199a268b77e5475edde11dab685 | f65e383b914b181cb52398d8a4c72676d65fd05a | feat: mf remote support runtimeEntryPath | ## Background
mf 插件在配置 remotes 时 entries 仅支持传入 url,不具备运行时动态根据环境信息、版本号等因素确定最终加载资源地址的能力。
## Proposal
```typescript
{
//...
mf: {
name: 'hostUser',
remotes: [
{
name: 'remoteCounter',
runtimeEntryPath: {},
entries: {
DEV: 'https://development.com/remote.js... | diff --git a/docs/docs/docs/max/mf.en-US.md b/docs/docs/docs/max/mf.en-US.md
index 702215bb07be..dedcc53c0a12 100644
--- a/docs/docs/docs/max/mf.en-US.md
+++ b/docs/docs/docs/max/mf.en-US.md
@@ -110,6 +110,7 @@ defineConfig({
PROD: 'http://produ.mf.com/remote.js',
TEST: 'http://test.dev.mf.com/rem... | 2 | 2 | 1 | [{"id": "G0", "claim": "The magic string `VAR: 'window.mfRemoteUrl'` is hard to extend and maintain; instead add a per-remote `runtimeEntryPath` config option which, when set, makes the entry read `window[\\`mf_${name}EntryPath\\`]`, keeping it separate from the declarative `entries` config.", "category": "design", "ve... | null |
umijs__umi__6942 | umijs/umi | 6,942 | defect | b4140f44d3f977badb74d767e71d43c9d6fed203 | bd816c6691091728116d62d3b699d6620db4be4e | fix: support json import in mfsu |
##### Checklist
- [x] `npm test` passes
- [x] tests are included
- [x] commit message follows commit guidelines
##### Description of change
`json` as dependency used in `mfsu` should be supported
for example, following code would cause exception while enable `mfsu`
```ts
import pkg from 'antd/pack... | diff --git a/packages/preset-built-in/src/plugins/features/mfsu/getDepReExportContent.test.ts b/packages/preset-built-in/src/plugins/features/mfsu/getDepReExportContent.test.ts
index 350609f75e7d3..481e4ad633806 100644
--- a/packages/preset-built-in/src/plugins/features/mfsu/getDepReExportContent.test.ts
+++ b/packages... | 1 | 1 | 1 | [{"id": "G0", "claim": "JSON should be detected from opts.filePath instead of parsing the whole content with JSON.parse, because parsing the content is a relatively large performance cost.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
umijs__umi__8081 | umijs/umi | 8,081 | defect | 4e06e9053011a2f2f2f39c93e34f0e78383b69ef | e3e9d1c14bad8a24a7965f3b34abdc7f416ba2d4 | fix: remove the useless jest-environment-jdom-fourteen package | <!--
Thank you for your pull request. Please review the below requirements.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/umijs/umi/blob/master/CONTRIBUTING.md
感谢您贡献代码。请确认下列 checklist 的完成情况。
Bug 修复和新功能必须包含测试。
Contributors guide: https://github.com/umijs/umi/blob/master/... | diff --git a/packages/test/package.json b/packages/test/package.json
index 64339ac074c7..cdd65c55c06e 100644
--- a/packages/test/package.json
+++ b/packages/test/package.json
@@ -35,7 +35,6 @@
"identity-obj-proxy": "3.0.0",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
- "jest-environment-jsdom-fourteen":... | 1 | 1 | 1 | [{"id": "G0", "claim": "The yarn.lock was not regenerated after removing the jest-environment-jsdom-fourteen dependency, so the lockfile should have a corresponding update.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
umijs__umi__8406 | umijs/umi | 8,406 | defect | de715286205a463a68360aabfd37768ab1af3c01 | 987e385bc8583aec0b6e8f7b7e7166febac26d69 | feat(preset-umi): routes support the component path to webpack chunkName | Close #8324
规则同umi3 新增了.vue 后缀移除 | diff --git a/examples/boilerplate-vue/app.tsx b/examples/boilerplate-vue/app.tsx
index 19cdb292d4f6..c15a943a89a7 100644
--- a/examples/boilerplate-vue/app.tsx
+++ b/examples/boilerplate-vue/app.tsx
@@ -1,5 +1,5 @@
// @ts-ignore
-import { RouterConfig } from 'umi';
+import type { RouterConfig } from 'umi';
export f... | 2 | 1 | 0 | [{"id": "G0", "claim": "The chunkName conversion would be better if it replaced the `.umi-production` segment wherever it appears in the path (`.replace(/\\.umi-production/, 't__')`) instead of only when anchored at the start (`^.umi-production__`).", "category": "design", "verdict": "uncertain", "priority": "P2", "sco... | null |
umijs__umi__8509 | umijs/umi | 8,509 | defect | f7b9f8aa3384e27864c308d59efd857dec5ecc45 | 51707680891b743b1734e1751ec788e28e672876 | feat(plugins): layout menu support routes wrappers conf | Close #8497
解决layout 插件同 路由wrappers 使用冲突
| diff --git a/examples/max/.umirc.ts b/examples/max/.umirc.ts
index 2e5349b8f1f0..cf043a633d41 100644
--- a/examples/max/.umirc.ts
+++ b/examples/max/.umirc.ts
@@ -9,7 +9,13 @@ export default defineConfig({
component: 'index',
name: 'index',
},
- { path: '/users', icon: 'SmileFilled', component: 'u... | 3 | 1 | 0 | [{"id": "G0", "claim": "Format the route copy with spaces inside the braces: `const newRoute = { ...route }` (offered as a suggestion block).", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new menuPath field to originPath so the route field's n... | null |
umijs__umi__8543 | umijs/umi | 8,543 | defect | f97773cead99881ceaa306a557c380203ddf967a | f2277847c477e35a17901e7cff5a698e7f6de564 | feat(mfsu): mfsu support exclude of some package | mfsu 支持通过配置排除某些包
## 改动点
- mfsu unMatchLibs 支持正则匹配(原因是当使用了 babel-plugin-import 之类的插件后, 需要排除的文件过多)
- 新增 demo `mfsu-un-match-libs` 用于验证排除效果
-----
[View rendered docs/docs/api/config.md](https://github.com/umijs/umi/blob/feature/mfsu_exclude/docs/docs/api/config.md) | diff --git a/docs/docs/api/config.md b/docs/docs/api/config.md
index ae3ea119930f..11ad2be3ea03 100644
--- a/docs/docs/api/config.md
+++ b/docs/docs/api/config.md
@@ -677,6 +677,7 @@ metas: [
- `runtimePublicPath` 会让修改 mf 加载文件的 publicPath 为 `window.publicPath`
- `strategy` 指定 mfsu 编译依赖的时机; `normal` 模式下,采用 babel 编译分析后... | 2 | 2 | 1 | [{"id": "G0", "claim": "The mfsu `exclude` schema in packages/bundler-webpack/src/schema.ts accepts items of any type (`Joi.array().items(Joi.any())`) and should be restricted to string or RegExp via the suggested Joi alternatives.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
umijs__umi__8587 | umijs/umi | 8,587 | defect | 469757a10c6478f82be1cfda494f2044854cbe28 | bf46112950b7e7bd5960d88b7072127758b0367e | feat: codemod test | 修复现有测试用例。
仅修改逻辑,`prepare` 自动查找 umi config 文件。
执行 `pnpm codemod:test`
 | diff --git a/codemod/.gitignore b/codemod/.gitignore
index 2d433602f684..bcc68f0abfe9 100644
--- a/codemod/.gitignore
+++ b/codemod/.gitignore
@@ -2,3 +2,4 @@
/node_modules
/fixtures/*/node_modules
/fixtures/tmp
+/fixtures/**/*.out.js
\ No newline at end of file
diff --git a/codemod/fixtures/configBuilder/foo.ts b/c... | 1 | 1 | 0 | [{"id": "G0", "claim": "Split the codemod:test script so the codemod jest tests run in a separate codemod:jest command, since most scenarios do not want them run together.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umijs__umi__8754 | umijs/umi | 8,754 | defect | 7d2cdd8b0356ff92be5d5f704405bc041d8d846a | 073d75abccee395beb21cad86a1d6e582c3e7807 | chore(jsMinifier): ie is not supported esbuild tips | resolve #8744
默认的 esbuild js minify 不支持 ie 作为 target ,提示用户应该使用 terser 。 | diff --git a/packages/bundler-webpack/src/config/compressPlugin.ts b/packages/bundler-webpack/src/config/compressPlugin.ts
index 7e7c708192a9..b24ccdeccbfb 100644
--- a/packages/bundler-webpack/src/config/compressPlugin.ts
+++ b/packages/bundler-webpack/src/config/compressPlugin.ts
@@ -33,6 +33,7 @@ export async functi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The error message should read 'is not supported when there is ie in the targets, you can use' instead of 'does not support ie as targets, You can use'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umijs__umi__9014 | umijs/umi | 9,014 | defect | 49f1ac4a24612b841a96a276f2785e849ab75d62 | 31d23142ca6356f2608adb9cbf0d3ec1f8ac41b1 | feat(plugin-run): init | 试用
-----
[View rendered packages/plugin-run/README.md](https://github.com/txp1035/umi/blob/feat_umi_run/packages/plugin-run/README.md)
example/umi-run例子,全局装包后运行`npm run zx`或者`npm run zx:noimport` | diff --git a/examples/umi-run/.umirc.ts b/examples/umi-run/.umirc.ts
new file mode 100644
index 000000000000..a5957625e179
--- /dev/null
+++ b/examples/umi-run/.umirc.ts
@@ -0,0 +1,6 @@
+export default {
+ run: {
+ globals: ['umi/run-globals'],
+ },
+ plugins: ['@umijs/plugin-run'],
+};
diff --git a/examples/umi-... | 11 | 7 | 1 | [{"id": "G0", "claim": "The runGlobals lookup should be `api.config.run?.globals || []` — the extra optional chaining on `api` and `config` is unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The winJoin helper is not needed — there s... | null |
umijs__umi__9846 | umijs/umi | 9,846 | defect | 1ef5cbabd80b21be3c9908f0005197116f242137 | 3870813924155ff88217a5501ff31083216db4fc | fix: sort models by deps | fix sorting models by deps in plugin-model.
see also: [https://github.com/umijs/umi/issues/9837](https://github.com/umijs/umi/issues/9837) | diff --git a/packages/plugins/src/utils/modelUtils.ts b/packages/plugins/src/utils/modelUtils.ts
index 871af0ef355e..7925edbcd34f 100644
--- a/packages/plugins/src/utils/modelUtils.ts
+++ b/packages/plugins/src/utils/modelUtils.ts
@@ -94,6 +94,84 @@ export class Model {
}
}
+// Topological Sort
+
+interface TNode... | 8 | 8 | 2 | [{"id": "G0", "claim": "The new topological-sort logic needs unit tests, because its correctness cannot be judged by eye and the change should not be merged without them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions the end-of-s... | null |
umijs__umi__9889 | umijs/umi | 9,889 | defect | 6530d242b8310dadc9585f925e15def2123d8402 | 11e6f66793a63bea84ea635a67b09931ff6e76c6 | feat: ✨ umi config set 命令支持复杂 JSON 值 | why:
需要在测试中设置切换不同的 mfsu 配置
原来 ` max config set '{"strategy":"normal", esbuild:true}' ` 会报错
| diff --git a/packages/ast/src/setConfigByName/setConfigByName.test.ts b/packages/ast/src/setConfigByName/setConfigByName.test.ts
index fcffef30f591..2bd25ae88438 100644
--- a/packages/ast/src/setConfigByName/setConfigByName.test.ts
+++ b/packages/ast/src/setConfigByName/setConfigByName.test.ts
@@ -23,6 +23,23 @@ test('... | 1 | 1 | 0 | [{"id": "G0", "claim": "The manual value-to-AST conversion should be replaced with @babel/parser's parseExpression to obtain the AST.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
umple__umple__1366 | umple/umple | 1,366 | defect | 59a1b432c0f5a95ed70c52e627e84f05cf35fcdf | af84a01b5f961d9ce4d85b5be5b09de411ead5af | Fixes #460 - Add support for nested generics | ## Description
The current system does not support (all) nested generics, e.g. `Map<List<String>, String>`, though `Map<String, List<String>>` was already supported.
This change aims to ensure that the behaviour is consistent across most cases.
Further note that array conversions will only occur at the outermost... | diff --git a/.gitignore b/.gitignore
index 37cd7b8748..a44a4c0d69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,8 +15,7 @@ src-gen-umple/
src-gen/
# generated umpleTL code that is not saved
-src-gen-umpleTL/
-src-gen-umpletl/
+src-gen-[Uu]mple[Tt][Ll]/
# os specific:
.DS_Store
diff --git a/cruise.umple.valida... | 1 | 1 | 1 | [{"id": "G0", "claim": "The build is failing as a result of this PR's changes - on Appveyor the second compile (with the just-built compiler) fails because the generated call to _createJavaScriptCall is missing the cmpList argument - and the author needs to figure out why and push the relevant fixes to the branch so th... | null |
umple__umple__2034 | umple/umple | 2,034 | defect | 422aadac00379b08e669caef61e1c793fd96366d | 3cacab9ec695cdb8d3963719d23f0e5452ccc2cc | Java to Python: nested classes, timing, concurrency improvements. | ## Progress on Issue 1994: Java to Python: nested classes, timing, concurrency improvements
## Pull request description
[Issue 1994](https://github.com/umple/umple/issues/1994)
Improvements to nested classes, timing, and concurrency of Java to Python. Nested classes, after keyword, active block, do activity no... | diff --git a/UmpleToPython/txl/ClassTranslation.txl b/UmpleToPython/txl/ClassTranslation.txl
index 2dad3fd333..c7dcc4b2b0 100644
--- a/UmpleToPython/txl/ClassTranslation.txl
+++ b/UmpleToPython/txl/ClassTranslation.txl
@@ -6,8 +6,8 @@
%Rule to translate concrete classes
rule replaceConcreteClasses
replace $ [con... | 7 | 5 | 3 | [{"id": "G0", "claim": "Compiling active-keyword Umple code for Python joins several lines of Python without indentation, producing invalid Python (possibly a wrong injected line-end character).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The gen... | null |
umple__umple__2049 | umple/umple | 2,049 | defect | a0f43379107865e493584bb05f0857b66133e25b | 61858a3d42155c58dabecd201556001383a289f7 | Issue2023curlybracket | Pull Request for #2023
## Issue2023curlybracket
This code currently raises a warning and detects the following Extra Brackets:
- OPEN_ROUND_BRACKETS
- CLOSE_ROUND_BRACKETS
- OPEN_CURLY_BRACKETS
- CLOSE_CURLY_BRACKETS
and outputs the warning number 1016.
In order to remove the warning, the user would ... | diff --git a/UmpleParser/src/GrammarParsing_Code.ump b/UmpleParser/src/GrammarParsing_Code.ump
index caf5aab3f8..dfccc97dbe 100755
--- a/UmpleParser/src/GrammarParsing_Code.ump
+++ b/UmpleParser/src/GrammarParsing_Code.ump
@@ -972,7 +972,7 @@ class GrammarAnalyzer {
public void terminal(Token token)
{
Strin... | 6 | 6 | 2 | [{"id": "G0", "claim": "Please remove the two unneeded rules (openCurlBracket- and closeCurlBracket-) that the pull request added to umple_classes.grammar.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please take out the leftover debug code (c... | null |
umple__umple__2168 | umple/umple | 2,168 | defect | 52c8af514713c82e41da9f5977370e883a9ed982 | c54c24dc31b96d7e778d37f07e1acc9780a34a0d | issue1865- Improving the Requirements Generator |
This pull request is to improve the generator PlainRequirementsDoc for requirements. | diff --git a/cruise.umple/src/Main_Code.ump b/cruise.umple/src/Main_Code.ump
index ec12840697..ebc502c6ea 100755
--- a/cruise.umple/src/Main_Code.ump
+++ b/cruise.umple/src/Main_Code.ump
@@ -569,6 +569,7 @@ class UmpleConsoleMain
suboptionsAvail += "(With GvClassDiagram or GvClassTraitDiagram or GvEntityRelationsh... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new suboptions reqSortImpl/reqSortNotImpl are not about sorting, so please replace them with a single reqHideNotImpl suboption, with showing all requirements as the default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The w... | null |
umple__umple__2340 | umple/umple | 2,340 | defect | 5b4c718a3db4abd612a29c47e31eb9feadb78c3d | 5920597de4f5162d65c0a9c4d82cb9055fff0c39 | [WIP]FIx #2279 wrong line number returned from parser | Fixes #2279
The underlying bug for this issue was originally addressed in commit `8e98550c2527a97952f58e34074aafe729aeedac` (2014). However, that change only mitigated the problem by incrementing the parsed line number by 1, which left the edge case reported in #2279 unresolved.
The root cause is that the line-nu... | diff --git a/.gitignore b/.gitignore
index 96b8d6bfe..8ea2ea5db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -97,4 +97,11 @@ hs_err_pid*
# Gradle
.gradle
-__pycache__/
\ No newline at end of file
+__pycache__/
+
+# Python venv
+.venv/*
+venv/*
+
+# Direnv local SHELL ENV settings
+/.envrc
diff --git a/UmpleParser/sr... | 7 | 5 | 2 | [{"id": "G0", "claim": "The debug log line added in the fallback misspells \"occurred\" as \"occured\" and should read \"occurred\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The rework of position calculation (empty-input handling and revise... | null |
umple__umple__2390 | umple/umple | 2,390 | defect | a351f0c37b639b8ebc8bf0e10a00fb2733ef7a02 | 0c1fc30be7dc2599549fb410252d07a0f3d22b99 | Issue #2377: Extend Requirement metamodel to support structured user stories | This PR implements the metamodel step of Issue #2377.
### Scope
- Extend the `Requirement` class to support structured user story elements:
- `who`
- `when`
- `what`
- `why`
- Update the deep-copy constructor to include the new fields
- Preserve backward compatibility by adding a 3-argument constructo... | diff --git a/cruise.umple/src/Umple.ump b/cruise.umple/src/Umple.ump
index cf739ebbc..e6ea0b179 100755
--- a/cruise.umple/src/Umple.ump
+++ b/cruise.umple/src/Umple.ump
@@ -1307,6 +1307,12 @@ class Requirement{
// The content of the requirement, expressed in the language
statement;
+
+ // Structured user sto... | 1 | 1 | 1 | [{"id": "G0", "claim": "The hand-written three-argument Requirement constructor appears duplicative of the constructor Umple already generates from the attributes and should not be needed, so the generated constructor should be used instead (it would also create the empty association to tokens).", "category": "design",... | null |
umple__umple__2424 | umple/umple | 2,424 | defect | f294dca94fd0233fa40c262e501b4cd9622ff4df | d366f8144ca0cd13cfa69ccca797cc6e4fd73189 | Support implementsReq for state-machine internals and add parser coverage | ### Summary
This PR extends implementsReq support in state machines beyond the initial state/transition slice and adds parser coverage for the new cases.
Implemented support now includes:
- states
- transitions
- entry actions
- exit actions
- do activities
- substates
It also adds regression tests for p... | diff --git a/cruise.umple/src/stateMachine/StateMachine.ump b/cruise.umple/src/stateMachine/StateMachine.ump
index 47430b7e4..e7934766d 100755
--- a/cruise.umple/src/stateMachine/StateMachine.ump
+++ b/cruise.umple/src/stateMachine/StateMachine.ump
@@ -125,6 +125,7 @@ class Activity
activityCode = lang+code;
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request should not add the stray umple.vscode file (a git submodule pointer) at the end of the file list; it should be removed or explained.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
umple__umple__2440 | umple/umple | 2,440 | defect | fe6f35862cc02fd15a28801db475b5db635a3b79 | 61503d52a36af3af20293b4979d6b0a4e8b2d4c4 | Issue #2378: Extend Requirement metamodel to support structured use cases | This PR implements the metamodel step of Issue #2378.
## Scope
Extend the `Requirement` class to support structured use case elements.
This PR introduces a `UseCaseStep` model element and associates it with `Requirement` so ordered use case steps can be stored internally.
Supported structured step storage:
... | diff --git a/cruise.umple/src/Umple.ump b/cruise.umple/src/Umple.ump
index 1d5892eac..b6cb98ea4 100755
--- a/cruise.umple/src/Umple.ump
+++ b/cruise.umple/src/Umple.ump
@@ -1325,6 +1325,16 @@ class Requirement{
// Used when reporting errors regarding missing implementations
// and when reporting where a requireme... | 2 | 2 | 2 | [{"id": "G0", "claim": "The Requirement-to-UseCaseStep association should be one-to-many (a UseCaseStep belongs to only one use case) and should drop the role name so the generated API pluralizes (getUseCaseSteps, addUseCaseStep).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
umple__umple__2470 | umple/umple | 2,470 | defect | 9a2e6a53e62a3e407810478dc2e76ba828b5c7d5 | f1043cd7463e1b643efd164547abd974ff58a396 | Impl #2144: Add req function to FeatureModelJson and add Comparison table generator in online | ## Summary
This PR merges the `req` function into `FeatureModelJson`, so the generated JSON now includes both `req` and `implementsReq` information.
It also adds the generator to the online workflow, allowing users to generate the comparison table without needing to add the suboption manually.
In addition, thi... | diff --git a/build/reference/0192umpleKeywords.txt b/build/reference/0192umpleKeywords.txt
index a39f5a96b..6224fa0e4 100644
--- a/build/reference/0192umpleKeywords.txt
+++ b/build/reference/0192umpleKeywords.txt
@@ -214,6 +214,8 @@ noreferences
<li style="margin-bottom: 12px"><span style="color:red; font-weight: bold... | 3 | 3 | 2 | [{"id": "G0", "claim": "Unescaped, user-controlled $suboptions is appended into the shell command string passed to executeCommand, enabling shell command injection via crafted suboption values; build the Java invocation with proper escaping (escapeshellarg/escapeshellcmd) and/or strict whitelisting, or bypass the shell... | null |
umputun__feed-master__52 | umputun/feed-master | 52 | defect | 0afcaa9a2da18c3dc3d74342befdb60371990da6 | d011c9adf9236600e13a3c14669fcd7256a675ca | Trim telegram audio captions to 1024 symbols | That PR allows posting audio with long captions to Telegram. | diff --git a/app/proc/telegram.go b/app/proc/telegram.go
index 7a081b8f..f627044f 100644
--- a/app/proc/telegram.go
+++ b/app/proc/telegram.go
@@ -75,7 +75,7 @@ func (client TelegramClient) Send(channelID string, item feed.Item) (err error)
func (client TelegramClient) sendText(channelID string, item feed.Item) (*tb.M... | 2 | 2 | 0 | [{"id": "G0", "claim": "The two adjacent bool parameters added to getMessageHTML are hard to reason about; a small private struct like sendParams should be passed instead to make the call sites more readable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
umputun__ralphex__10 | umputun/ralphex | 10 | defect | 32d15ca67ac053724680815ed25c19825042b684 | 9a1ce9d89304350b285c40585bf3f9104e153453 | fix: support git worktrees | ## Summary
- Use `PlainOpenWithOptions` with `EnableDotGitCommonDir: true` to properly handle git worktrees
- Fixes error `reference not found` when running ralphex from a git worktree
## Problem
When running ralphex from a git worktree, it fails with:
```
error: get current branch: get HEAD: reference not found
```
... | diff --git a/pkg/git/git.go b/pkg/git/git.go
index 3c4fbf65..5741b6a6 100644
--- a/pkg/git/git.go
+++ b/pkg/git/git.go
@@ -56,8 +56,11 @@ func (r *Repo) toRelative(path string) (string, error) {
}
// Open opens a git repository at the given path.
+// Supports both regular repositories and git worktrees.
func Open(... | 1 | 1 | 0 | [{"id": "G0", "claim": "A test case covering git worktree support should be added to pkg/git/git_test.go so the new worktree handling cannot regress silently.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
umputun__ralphex__11 | umputun/ralphex | 11 | defect | a8b6e53da53fce415aad9edc62792650ca21d979 | fff053eae720e6dd932e592def39c4cd58a130b4 | fix: preserve untracked files during branch checkout | fixes go-git default checkout behavior which deletes untracked files. this differs from standard git which preserves them.
as suggested by @linnik in https://github.com/umputun/ralphex/pull/9#issuecomment-3781047254 - added `Keep: true` to `CheckoutOptions`.
**changes:**
- `CheckoutBranch()` now uses `Keep: true` to ... | diff --git a/pkg/git/git.go b/pkg/git/git.go
index e261c98a..8f5f4848 100644
--- a/pkg/git/git.go
+++ b/pkg/git/git.go
@@ -143,7 +143,7 @@ func (r *Repo) CheckoutBranch(name string) error {
}
branchRef := plumbing.NewBranchReferenceName(name)
- if err := wt.Checkout(&git.CheckoutOptions{Branch: branchRef}); err !... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CreateBranch function's checkout does not include Keep: true, so untracked files can be deleted when creating and switching to a new branch; consider adding Keep: true to that CheckoutOptions as well for consistency with the CheckoutBranch fix.", "category": "correctness", "verdict": "suppor... | null |
umputun__ralphex__124 | umputun/ralphex | 124 | defect | c6fdc2b24e6340e8b1cb7d446ab222fc659d0587 | f18386159d195d9a364e11e85137277cfc438954 | Replace bufio.Scanner with unbounded line reader | **Replace `bufio.Scanner` with `bufio.Reader` in all stream parsers to eliminate the 64MB line length limit.**
- add shared `readLines()` helper in `pkg/executor/linereader.go` using `bufio.Reader.ReadString('\n')` with no upper bound on line length
- migrate `ClaudeExecutor.parseStream()`, `CodexExecutor.processStder... | diff --git a/docs/plans/completed/20260217-unbounded-line-reader.md b/docs/plans/completed/20260217-unbounded-line-reader.md
new file mode 100644
index 00000000..3a98fdc9
--- /dev/null
+++ b/docs/plans/completed/20260217-unbounded-line-reader.md
@@ -0,0 +1,190 @@
+# Replace bufio.Scanner with unbounded line reader
+
+#... | 11 | 1 | 1 | [{"id": "G0", "claim": "The completed plan doc still refers to MaxScannerBuffer as if it exists (the executor.go bullet in the Context section and the \"Current pattern\" snippet), which could confuse future readers; consider rewording it as the previous/old pattern or removing the reference.", "category": "documentati... | null |
umputun__ralphex__130 | umputun/ralphex | 130 | defect | 6bd94e539155509eeed07d7fd4362f9e2a4f01eb | 137985e3b04ea559fc0bcf22f3e5b73abff0aa71 | fix: append progress files on restart instead of truncating | Progress files are now appended on restart instead of being truncated. This preserves Q&A history in plan mode and all execution history when ralphex is restarted (rate limits, crashes, connectivity loss, pausing to update a plan).
**Changes:**
- `NewLogger` uses `os.OpenFile` with `O_APPEND|O_CREATE|O_WRONLY` instead... | diff --git a/pkg/progress/progress.go b/pkg/progress/progress.go
index ae2db704..f69e96a4 100644
--- a/pkg/progress/progress.go
+++ b/pkg/progress/progress.go
@@ -150,11 +150,19 @@ func NewLogger(cfg Config, colors *Colors, holder *status.PhaseHolder) (*Logger,
}
}
- f, err := os.Create(progressPath) //nolint:go... | 1 | 1 | 1 | [{"id": "G0", "claim": "The restart-detection size check reads the file size before the lock is acquired, so two processes starting simultaneously could both see size 0 and both write a full header; move the check to after acquiring the lock.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope... | null |
umputun__ralphex__152 | umputun/ralphex | 152 | defect | 3d638e83f311cc6ea20fd417afa66b76dfa80b44 | 5401480291230755f7cd03ad371f2c0331c580c0 | fix: make web dashboard reachable from host in Docker | ## Summary
- Add `--host` flag (default `127.0.0.1`, env `RALPHEX_WEB_HOST`) to configure the dashboard bind address
- Docker wrapper sets `RALPHEX_WEB_HOST=0.0.0.0` when `--serve` is used
- Non-Docker users stay on loopback by default
Fixes #151
## Problem
The dashboard binds to `127.0.0.1` inside the container, whi... | diff --git a/cmd/ralphex/main.go b/cmd/ralphex/main.go
index 3cf7082a..a602e055 100644
--- a/cmd/ralphex/main.go
+++ b/cmd/ralphex/main.go
@@ -42,6 +42,7 @@ type opts struct {
Version bool `short:"v" long:"version" description:"print version and exit"`
Serve bool `short:"s" long:"serve" de... | 5 | 5 | 5 | [{"id": "G0", "claim": "Building the listen address with fmt.Sprintf(\"%s:%d\", host, port) breaks for IPv6 hosts (e.g. \"::1\" becomes \"::1:8080\" and won't parse), so net.JoinHostPort (or equivalent) should be used to format host:port for both IPv4 and IPv6.", "category": "correctness", "verdict": "supported", "prio... | null |
umputun__ralphex__160 | umputun/ralphex | 160 | defect | 44b6a5aa3f2203c34772b18a3b7aff755ac83246 | cce187a70663ba1408ccc8e8af0d7439c3a8ed28 | add configurable iteration limit for external review phase | Add `max_external_iterations` as both a config file option and CLI flag (`--max-external-iterations`), allowing users to override the automatic external review iteration limit.
- config option `max_external_iterations` in `~/.config/ralphex/config` or `.ralphex/config`
- CLI flag `--max-external-iterations N` (0 = aut... | diff --git a/CLAUDE.md b/CLAUDE.md
index dd881f7f..ce9358c5 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -88,6 +88,7 @@ Allows using custom scripts instead of codex for external code review:
- First iteration: `git diff main...HEAD` (all feature branch changes)
- Subsequent iterations: `git diff` (uncommitted change... | 1 | 1 | 1 | [{"id": "G0", "claim": "mergeNotifyFrom is called twice (mergeFrom calls it directly and again via mergeExecutionFrom), which is inefficient and likely unintended; the mergeExtraFrom and mergeNotifyFrom calls should be removed from mergeExecutionFrom since they are already handled in mergeFrom.", "category": "correctne... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.