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
Tencent__tdesign-mobile-react__768
Tencent/tdesign-mobile-react
768
defect
02b8a174eade39354edd2d5ddc806f883c18f21c
f2a467bf96b36fa6cff32d4f5dc07180b58cba34
feat: add input test
<!-- 首先,感谢你的贡献!😄 请阅读并遵循 [TDesign 贡献指南](https://github.com/Tencent/tdesign/blob/main/docs/contributing.md),填写以下 pull request 的信息。 PR 在维护者审核通过后会合并,谢谢! --> ### 🤔 这个 PR 的性质是? - [x] 日常 bug 修复 - [x] 新特性提交 - [ ] 文档改进 - [ ] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] CI/CD 改进 - [ ] 重构 - [ ] 代码风格优化 - [x] 测试用例 - [ ] 分支合并 ...
diff --git a/site/test-coverage.js b/site/test-coverage.js index 4baf57aac..13811a70a 100644 --- a/site/test-coverage.js +++ b/site/test-coverage.js @@ -28,13 +28,13 @@ module.exports = { image: { statements: '75%', branches: '75.75%', functions: '53.84%', lines: '73.8%' }, imageViewer: { statements: '8.47%', bra...
4
1
1
[{"id": "G0", "claim": "During composition input, updateValue(finalValue) is called but onChange is not triggered, creating an inconsistency where the internal state updates while parent components receive no change notification, potentially causing state synchronization issues.", "category": "correctness", "verdict": ...
null
Tencent__tdesign-mobile-react__769
Tencent/tdesign-mobile-react
769
defect
e361026bac80588bc2e6eda6765dac7996508c34
eb8b87ef0709738d389d035b6afb7b6f3a2a16e2
更新`Image`组件示例对齐
<!-- 首先,感谢你的贡献!😄 请阅读并遵循 [TDesign 贡献指南](https://github.com/Tencent/tdesign/blob/main/docs/contributing.md),填写以下 pull request 的信息。 PR 在维护者审核通过后会合并,谢谢! --> ### 🤔 这个 PR 的性质是? - [ ] 日常 bug 修复 - [ ] 新特性提交 - [ ] 文档改进 - [x] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] CI/CD 改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 ...
diff --git a/src/_common b/src/_common index 107e89db8..2030d2719 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 107e89db8a8070d6bb904bc21e3f1ed1317b3b21 +Subproject commit 2030d2719e4253ca8a0539a5c67a182274c2c7b6 diff --git a/src/image/__tests__/image.test.tsx b/src/image/__tests__/image.tes...
1
1
0
[{"id": "G0", "claim": "The Image component test file should be organized into describe blocks by props, events and slots, following the project's standard test-file format.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Tencent__tdesign-react__3471
Tencent/tdesign-react
3,471
defect
0ec36bea3501cb7f3fecd310ec4f19e7eeb5cbcc
6afc239781fdf616e95c907bd3dfeb71dfb78766
fix(Textarea): fix TextArea autofocus and autosize bug
<!-- 首先,感谢你的贡献!😄 请阅读并遵循 [TDesign 贡献指南](https://github.com/Tencent/tdesign/blob/main/docs/contributing.md),填写以下 pull request 的信息。 PR 在维护者审核通过后会合并,谢谢! --> ### 🤔 这个 PR 的性质是? - [ ] 日常 bug 修复 - [ ] 新特性提交 - [ ] 文档改进 - [ ] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] CI/CD 改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 ...
diff --git a/packages/components/textarea/Textarea.tsx b/packages/components/textarea/Textarea.tsx index 9b700349bb..e71068fa63 100644 --- a/packages/components/textarea/Textarea.tsx +++ b/packages/components/textarea/Textarea.tsx @@ -1,4 +1,4 @@ -import React, { forwardRef, useState, useEffect, useMemo, useRef, useCal...
1
1
1
[{"id": "G0", "claim": "Using 'textareaRef.current' in the dependency array may cause the effect to not trigger reliably when the ref changes; consider an empty dependency array for one-time autofocus initialization or a more stable dependency if re-focusing is required.", "category": "correctness", "verdict": "support...
null
Tencent__tdesign-react__3729
Tencent/tdesign-react
3,729
defect
f1eff3aa0e44c897b65a80f4c84155c05bc4549b
2278a386575ac7836c24ccd354c07b79febf5903
feat(table): initialize the scroll bar when switching pages
<!-- 首先,感谢你的贡献!😄 请阅读并遵循 [TDesign 贡献指南](https://github.com/Tencent/tdesign/blob/main/docs/contributing.md),填写以下 pull request 的信息。 PR 在维护者审核通过后会合并,谢谢! --> ### 🤔 这个 PR 的性质是? - [ ] 日常 bug 修复 - [x] 新特性提交 - [ ] 文档改进 - [ ] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] CI/CD 改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 ...
diff --git a/packages/components/table/BaseTable.tsx b/packages/components/table/BaseTable.tsx index 9b1353408d..8efcd6c7c8 100644 --- a/packages/components/table/BaseTable.tsx +++ b/packages/components/table/BaseTable.tsx @@ -121,7 +121,17 @@ const BaseTable = forwardRef<BaseTableRef, BaseTableProps>((originalProps, r...
4
2
2
[{"id": "G0", "claim": "resetScrollbar should be restructured with an early null guard so the ref is checked once instead of repeating tableContentRef.current in every branch.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'smooth' scrolling...
null
Tencent__tmagic-editor__217
Tencent/tmagic-editor
217
defect
340eeb32d7620fcb58e2aa7b1ca9d8345630319b
cdeb95339cb6448836bc4f021aa90f538db90935
feat(editor): 多选菜单支持复制粘贴删除
1、多选右键菜单支持复制粘贴删除 2、编辑器选中节点统一为nodes数组,保留原node对象为nodes数组的第一个元素 3、将复制粘贴删除行为封装到editorservice中 4、支持键盘快捷键操作 5、将复制粘贴操作拆分后进一步封装
diff --git a/packages/editor/src/layouts/sidebar/LayerPanel.vue b/packages/editor/src/layouts/sidebar/LayerPanel.vue index a6fda6a3b8..75b9c2baef 100644 --- a/packages/editor/src/layouts/sidebar/LayerPanel.vue +++ b/packages/editor/src/layouts/sidebar/LayerPanel.vue @@ -68,7 +68,6 @@ import type { EditorService } from ...
10
9
0
[{"id": "G0", "claim": "isMultiSelect should be computed from the selected node count (editorService.get('node').length > 1) instead of a locally mutated ref.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "multiSelect should take string ids rather than H...
null
TensorSpeech__TensorFlowTTS__190
TensorSpeech/TensorFlowTTS
190
defect
5423ffe43ad92732bbea5ad1d4634bc5608f2d56
b8d00088acae945afe8d075ae798deda93c06b74
refactor processor add test
I've fix few bugs in base processor refactor it and add few new features. You can check it all in base_processorv2 file Also add few tests
diff --git a/tensorflow_tts/processor/base_processorv2.py b/tensorflow_tts/processor/base_processorv2.py new file mode 100644 index 00000000..f417884a --- /dev/null +++ b/tensorflow_tts/processor/base_processorv2.py @@ -0,0 +1,140 @@ +from dataclasses import dataclass +import abc +import os +import json + +from typing ...
5
2
1
[{"id": "G0", "claim": "create_items should be an abstractmethod because its logic (parsing a fixed train.txt layout) is not general for all dataset formats.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new processor should remain backward compatib...
null
TensorSpeech__TensorFlowTTS__7
TensorSpeech/TensorFlowTTS
7
defect
bf4d36ace84efa7f53136023dc8e452bbeb80a07
81f113b80021ab08029c7f455f1a4d9c3ff54f61
Tacotron2 edit
- fixing tacotron2 model using tf primitives - editing tests for more profiling and tf.function compatibility - edited code credits. - edited attention - some suggestive changes and more... Profiling Results: on GTX 1080 ```> loss: 2.0954904556274414 > loss: 1.206109642982483 > loss: 0.7233934998512268 ...
diff --git a/tensorflow_tts/layers/tacotron2.py b/tensorflow_tts/layers/tacotron2.py index ad9b1744..587fcc14 100644 --- a/tensorflow_tts/layers/tacotron2.py +++ b/tensorflow_tts/layers/tacotron2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2020 MINH ANH (@dathudeptrai) +# Copyright 2020 MINH ANH (@dathud...
2
1
0
[{"id": "G0", "claim": "The attention layer's call function should not compute values = self.memory_layer(memory) on every call; it should be removed and the precomputed self.values from setup_memory used instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
TerraFirmaCraft__TerraFirmaCraft__1104
TerraFirmaCraft/TerraFirmaCraft
1,104
defect
30b05fe351a82d2c7493a1436dd16df5b585453e
90271421273a6d60d671ad6fcf12316468b012d7
Mass extinction of open issues. (Lots of bug and QoL fixes)
- Fixed #436 - Fixed #554 - Fixed #707 - Fixed #759 - Fixed #775 (sorta, This is a deviation for the original idea of a scale down but people liked it.) - Fixed #799 - Fixed #808 - Fixed #933 - Fixed #918 - Fixed #939 - Fixed #946 (Other mods may cause this issue too, it was fucking annoying though. Sh...
diff --git a/generateResources.py b/generateResources.py index b73b9a5c645..6fea4968194 100644 --- a/generateResources.py +++ b/generateResources.py @@ -10,9 +10,10 @@ import json import os -import time import zipfile +import time + def zipfolder(zip_name, target_dir): zipobj = zipfile.ZipFile(zip_name, ...
6
5
1
[{"id": "G0", "claim": "The stripworld command should use lang entries for its usage and messages instead of hardcoded strings, following CommandFindVeins.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The thirst effect would be better made to dr...
null
TerraFirmaCraft__TerraFirmaCraft__1263
TerraFirmaCraft/TerraFirmaCraft
1,263
defect
254ee67e5d554df9844f4b09a97dc80743a46465
c5ed5330ada22d494792a63f8f6ca51f1cdedd53
More fixes
- Blast Furnace multiblock structure allows Tier III and above metal sheets (Closes #1259). - Fixed small vessel dupe in crucible (Closes #1258). - Added salting recipe wrapper to JEI and fixed log output (Closes #1018). - Added tree growth to waila provider (Closes #1262). - Crops now require sky and moisturized f...
diff --git a/src/main/java/net/dries007/tfc/compat/jei/TFCJEIPlugin.java b/src/main/java/net/dries007/tfc/compat/jei/TFCJEIPlugin.java index b597afaedb7..7b590f7e18d 100644 --- a/src/main/java/net/dries007/tfc/compat/jei/TFCJEIPlugin.java +++ b/src/main/java/net/dries007/tfc/compat/jei/TFCJEIPlugin.java @@ -43,6 +43,7 ...
2
2
0
[{"id": "G0", "claim": "The JEI salting wrapper should not reset the food's creation date to the current player-time tick; the wrapper is loaded before a world exists so created stacks will not decay and the timestamp is meaningless — a food.setNonDecaying()-style approach would be preferable.", "category": "design", "...
null
TerraFirmaCraft__TerraFirmaCraft__1278
TerraFirmaCraft/TerraFirmaCraft
1,278
defect
254ee67e5d554df9844f4b09a97dc80743a46465
90abe3790de1f12f393a14d5fc923e68cf33bc5a
How about we make worldgen deterministic again?
**Warning: This changes worldgen! you may experience glitched borders.** Quick explanation of changes: 1. Fixed wrong assumptions that ocean is always 0 in low level layergen (changes worldgen) 2. Fixed stone layers being non-deterministic because of call to IForgeRegistry.getValuesCollection. 3. Removed dead &...
diff --git a/README.md b/README.md index 7cc868efa40..1b5b36f955c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You can find the mod on [Curseforge](https://www.curseforge.com/minecraft/mc-mod - Firstly, join our [Discord](https://invite.gg/terrafirmacraft), as it's where all discussion surrounding devel...
2
1
0
[{"id": "G0", "claim": "The world-gen debug block should not be left commented out: either delete it or restore it as a disabled-by-default config option.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This PR is a breaking change to world gen, ...
null
TerraFirmaCraft__TerraFirmaCraft__158
TerraFirmaCraft/TerraFirmaCraft
158
defect
49e60036cd06cae7964e00446a89685bfe28413f
b829744c65236e5bebb135cb6e78ab2a3717857f
Full grain crafting path + Cookable meats
Closes #127
diff --git a/src/main/java/net/dries007/tfc/CommonEventHandler.java b/src/main/java/net/dries007/tfc/CommonEventHandler.java index 8c85b67e294..0ed6ee8c333 100644 --- a/src/main/java/net/dries007/tfc/CommonEventHandler.java +++ b/src/main/java/net/dries007/tfc/CommonEventHandler.java @@ -296,6 +296,7 @@ public static v...
3
3
0
[{"id": "G0", "claim": "QuernRecipe.getOutputItem should use getCapability and check for null instead of hasCapability, because some mods break the has/get contract, it reduces capability lookups, and it avoids IDE warnings.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
TestFX__TestFX__284
TestFX/TestFX
284
defect
8bd3d78b455c56579388b4928329b71efc77ae82
2ccc3c805b27106caa29b3139469a7e887dd01ab
Add WindowMatchers class
Needs tests but code has been tested in production already. Fixes #246
diff --git a/subprojects/testfx-core/src/main/java/org/testfx/matcher/base/WindowMatchers.java b/subprojects/testfx-core/src/main/java/org/testfx/matcher/base/WindowMatchers.java new file mode 100644 index 000000000..7fd2bc974 --- /dev/null +++ b/subprojects/testfx-core/src/main/java/org/testfx/matcher/base/WindowMatch...
3
3
1
[{"id": "G0", "claim": "The pull request should include tests for the new WindowMatchers class, and if the author has no time the reviewer offered to add them himself.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The windowIsFocused test sits commente...
null
TestFX__TestFX__285
TestFX/TestFX
285
defect
bf54605be1649bc65b394bf831e6c2981613cf73
38b9e184a55a485a5fa5571e7dc31a9a6903f706
Add scroll left/right to ScrollRobot
Add support for horizontal scrolling to ScrollRobot and FxRobot. Fixes #283
diff --git a/subprojects/testfx-core/src/main/java/org/testfx/api/FxRobot.java b/subprojects/testfx-core/src/main/java/org/testfx/api/FxRobot.java index 463c04573..28b28a164 100644 --- a/subprojects/testfx-core/src/main/java/org/testfx/api/FxRobot.java +++ b/subprojects/testfx-core/src/main/java/org/testfx/api/FxRobot....
1
1
0
[{"id": "G0", "claim": "The second argument of the new scroll(int, HorizontalDirection) method declaration in ScrollRobot is oddly indented.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
TestFX__TestFX__319
TestFX/TestFX
319
defect
3a1f99267fc949415fce77b45430f2cbee343bd3
ea8f67f88aea33710a0d02d495a9b13eb91e183b
Release all pressed keys after test finishes to prevent hanging
Should fix #295.
diff --git a/subprojects/testfx-core/src/main/java/org/testfx/robot/KeyboardRobot.java b/subprojects/testfx-core/src/main/java/org/testfx/robot/KeyboardRobot.java index 6cc3b9969..2eb4a2139 100644 --- a/subprojects/testfx-core/src/main/java/org/testfx/robot/KeyboardRobot.java +++ b/subprojects/testfx-core/src/main/java...
2
2
1
[{"id": "G0", "claim": "Add regression tests that press keys and mouse buttons and verify all of them are released after a test finishes even when release is not explicitly called, asserting with Hamcrest via the robot's pressed-keys/buttons API.", "category": "testing", "verdict": "supported", "priority": "P1", "scope...
null
TestFX__TestFX__320
TestFX/TestFX
320
defect
8d2d8b3dba7ddf56b403f73e0ebf883c6cbd607c
47834eddc0d4599c4b6cf506eb77e5fa5d5896f1
Convert Shortcut to os-specific shortcut key
Should fix #290, but I'm not exactly sure how it should be tested...
diff --git a/subprojects/testfx-core/src/main/java/org/testfx/robot/impl/BaseRobotImpl.java b/subprojects/testfx-core/src/main/java/org/testfx/robot/impl/BaseRobotImpl.java index 95a5e685d..38a0343a3 100644 --- a/subprojects/testfx-core/src/main/java/org/testfx/robot/impl/BaseRobotImpl.java +++ b/subprojects/testfx-cor...
8
6
2
[{"id": "G0", "claim": "ApplicationStartTest.should_click_on_button fails consistently (3 of 3 runs) with an AssertionError on the author's Linux Mint system with Java 1.8.0_111.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The explicit method o...
null
TestFX__TestFX__421
TestFX/TestFX
421
defect
8d281f9fb0c26b01e1e7dba7d5579a52c2ee1f4a
301905ff0eccd8e338e9977c9f27e35ce6d3bf1c
[RFC] Extract failed test debugger code into its own utiltiy class
Resolves #420
diff --git a/subprojects/testfx-core/src/main/java/org/testfx/api/FxAssert.java b/subprojects/testfx-core/src/main/java/org/testfx/api/FxAssert.java index e2e8f6c82..70a2d3ef6 100644 --- a/subprojects/testfx-core/src/main/java/org/testfx/api/FxAssert.java +++ b/subprojects/testfx-core/src/main/java/org/testfx/api/FxAss...
3
2
1
[{"id": "G0", "claim": "The new FxAssert class javadoc should be explicit and say \"All internal TestFX tests\" instead of \"All TestFX tests\".", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Before merging, the pull request should include tests t...
null
TestFX__TestFX__429
TestFX/TestFX
429
defect
cfa05043faee0e7e388d30a4be9962f646c1eef3
3f1662bd3d7d1a0d194b32bfcd36d09dc21c2fb9
[WIP] (refactor) Use Java-version-independent adapter for internal API
There's a number of issues with the current state of this PR only because I'm not yet familiar with how to set up some things with Java 9 or integrate it into this project's somewhat complex build system. - Tests don't work correctly due to not having access to things - Javadoc warns of bad javadoc (using `&` inste...
diff --git a/.ci/script.sh b/.ci/script.sh index 10c29bd39..5e3b41946 100755 --- a/.ci/script.sh +++ b/.ci/script.sh @@ -6,12 +6,7 @@ echo "java_home: $(command -v "/usr/libexec/java_home")" ./gradlew --version ulimit -c unlimited -S -# Increase build log verbosity for JDK 9. -if [ "$TRAVIS_JDK_VERSION" == "oraclej...
6
2
1
[{"id": "G0", "claim": "The Window iterator order returned by the Java 9 interface implementation should be reversed.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Try changing the _JAVA_OPTIONS for the JDK9 build in .travis.yml to \"--add-opens=java...
null
TestFX__TestFX__774
TestFX/TestFX
774
defect
88fd16af3c703359ae25dde94c49fcd4b8240d9e
7474af3f3d257805d86981caec2e1ea319aff814
Fix memory leak due to ParametersImpl
Due to the implementation of ParametersImpl, there was a memory leak if tests started the application over and over. This PR implements a solution to clean up the application parameters stored in ParametersImpl and implements a test to help ensure we maintain good memory health. Fixes #689 and #724
diff --git a/subprojects/testfx-core/src/main/java/org/testfx/toolkit/impl/ToolkitServiceImpl.java b/subprojects/testfx-core/src/main/java/org/testfx/toolkit/impl/ToolkitServiceImpl.java index 98403b6bd..391fe962c 100644 --- a/subprojects/testfx-core/src/main/java/org/testfx/toolkit/impl/ToolkitServiceImpl.java +++ b/s...
2
2
1
[{"id": "G0", "claim": "The new MemoryLeakBug test contains no assert, so the test itself would never fail.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded class name \"com.sun.javafx.tk.quantum.PaintCollector\" in WaitForAsyncUtils should ...
null
Textualize__rich-cli__74
Textualize/rich-cli
74
defect
0721cb196661687d8ecd9af4baf48576b240c978
9e44bc0be5aba69f676dbb88c036d19e93674f4e
Fix duplicate options
By capitalizing the emoji single-letter option to `-J`, a collision between JSON and emoji display options is removed. I also included a test that monkeypatches a private function of the `click.decorators` module to make it fail noisily when option names are duplicated. Could be useful if CI is implemented for this...
diff --git a/src/rich_cli/__main__.py b/src/rich_cli/__main__.py index aa0a068..911bb08 100644 --- a/src/rich_cli/__main__.py +++ b/src/rich_cli/__main__.py @@ -278,7 +278,7 @@ class OptionHighlighter(RegexHighlighter): help="Display last [b]LINES[/] of the file (requires --syntax or --csv).", ) @click.option( -...
2
2
1
[{"id": "G0", "claim": "The test should not import from a module called \"src\"; with a src layout the line should read `from rich_cli.__main__ import main`, which works once pytest is installed into the virtual environment (poetry install / poetry add --group dev pytest / poetry run pytest).", "category": "maintainabi...
null
Textualize__rich__1138
Textualize/rich
1,138
defect
b9e0014add85dcbb3c725289955db2e346c84dfb
4007a111600afa6cc4d24053dc3ef8074aea05b9
Status spinners should not reset animations on update
## Type of changes - [x] Bug fix - [ ] New feature - [x] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 971f8103fd..59367ea088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved layout.tree - Changed default theme color for repr.number to cyan - `__rich_measure__` signa...
2
2
1
[{"id": "G0", "claim": "The `status` parameter should not be narrowed from RenderableType to TextType, since c.status already works with any renderable such as a Panel.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The speed-change logic should instead ...
null
Textualize__rich__1253
Textualize/rich
1,253
defect
ce4f18cc4727afaf10794238beba1a60340c3e04
2f502088b3e7c729e9a7c9742052ddc34ab90e03
perf(console): avoid call to inspect.stack when possible
## Type of changes - [ ] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [x] Other (performance) ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x...
diff --git a/rich/console.py b/rich/console.py index 08dc9108ad..dc402f185a 100644 --- a/rich/console.py +++ b/rich/console.py @@ -1682,18 +1682,18 @@ def log( if style is not None: renderables = [Styled(renderable, style) for renderable in renderables] - caller = inspect.stac...
3
3
1
[{"id": "G0", "claim": "inspect.currentframe() may return None on non-CPython implementations and the frame walk may exhaust leaving caller None, which the new code in log() does not handle, so it needs a fallback that doesn't break.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
Textualize__rich__1573
Textualize/rich
1,573
defect
256697915d9676b7d5cb6abd5559132ff5f92fdf
7de08939641cae7444eb03d7e69bae01d21923ab
feat(tree): add hide_root argument
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [ ] I've added t...
diff --git a/rich/tree.py b/rich/tree.py index 5fd46fd46b..bf3dda28cf 100644 --- a/rich/tree.py +++ b/rich/tree.py @@ -28,6 +28,7 @@ def __init__( guide_style: StyleType = "tree.line", expanded: bool = True, highlight: bool = False, + hide_root: bool = False, ) -> None: s...
4
3
1
[{"id": "G0", "claim": "`self.hide_root == False` should be replaced with `not self.hide_root`, and the condition should be reversed to put the positive test on the left, i.e. `2 if self._hide_root else 1`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
Textualize__rich__1748
Textualize/rich
1,748
defect
3827b4ae01aca1b4cb308f4c838da1b91384ad7d
0a27887ff1fe2feffba2d7d9aea88f651bb3ed7a
Add lexer parameter to Syntax
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. **Will do this when...
diff --git a/rich/syntax.py b/rich/syntax.py index 05d41c993e..fe31a51d17 100644 --- a/rich/syntax.py +++ b/rich/syntax.py @@ -3,8 +3,9 @@ from rich.containers import Lines import textwrap from abc import ABC, abstractmethod -from typing import Any, Dict, Iterable, List, Optional, Set, Tuple, Type, Union +from typin...
3
3
1
[{"id": "G0", "claim": "The mutual-exclusion guard `all((lexer_name, lexer))` should be written `lexer_name and lexer` because that expresses intent better.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lexer selection should be broken into an if/el...
null
Textualize__rich__1753
Textualize/rich
1,753
defect
a61164da5cb7059c58eef3da9dc8b4db388f66c9
db31d1cf272c699bbf2433616784c3795b98cbad
Per message log highlighting
## Type of changes - [ ] Bug fix - [X] New feature - [X] Documentation / docstrings - [X] Tests - [ ] Other ## Checklist - [X] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [X] I've added t...
diff --git a/rich/logging.py b/rich/logging.py index 47ca7d42de..435ecc4e93 100644 --- a/rich/logging.py +++ b/rich/logging.py @@ -10,6 +10,7 @@ from .highlighter import Highlighter, ReprHighlighter from .text import Text from .traceback import Traceback +from rich import highlighter class RichHandler(Handler):...
2
2
1
[{"id": "G0", "claim": "Use getattr's built-in default (highlighter = getattr(record, \"highlighter\", self.highlighter)) instead of the verbose hasattr-based conditional, and apply the same simplification to the markup lookup in render_message.", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null
Textualize__rich__1759
Textualize/rich
1,759
defect
e0c9d0d36a79590fd7bb7546529e9906687540fe
b736f8af66262d0f5a3fe0e873d4d2cc7009cc3f
Add API to support tracking progress while reading from a file
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f1a7e64fd..f1b0edba4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,14 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semant...
12
10
4
[{"id": "G0", "claim": "The new file-reading API should be documented in a single sub-section under progress.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Progress.read is overloaded between opening/returning a file and reading from an already o...
null
Textualize__rich__1842
Textualize/rich
1,842
defect
d39626143036188cb2c9e1619e836540f5b627f8
fde74c284a2620e16b64ed9b9fe651b94d93318f
Define and use a safe `isinstance` which handles exceptions
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0de277c2c5..330854f941 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Fix width measurement of 353 emoji variation sequences https://github.com/Textualize/rich/...
1
1
0
[{"id": "G0", "claim": "Add a link to the issue in the new CHANGELOG.md entry about the Faiss `__class__` workaround.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Textualize__rich__1874
Textualize/rich
1,874
defect
09f2fa8710bc5fb6b76ae708f3a8f57b9a81a8c8
f715403f1a0eafb8847414c510af2c694a66e4a5
Handle classes in inspect when methods=True
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/rich/_inspect.py b/rich/_inspect.py index 07b1b623b8..b3652bfbdb 100644 --- a/rich/_inspect.py +++ b/rich/_inspect.py @@ -1,5 +1,6 @@ from __future__ import absolute_import +import inspect from inspect import cleandoc, getdoc, getfile, isclass, ismodule, signature from typing import Any, Iterable, Opt...
1
1
1
[{"id": "G0", "claim": "The new behaviour of handling classes in inspect when methods=True needs a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Textualize__rich__1894
Textualize/rich
1,894
defect
633faab16dc3a8c01a6562648cc2186c19a476e3
b0794522a6a8f85d9110db2c1768d1c4f48162d9
Add default_columns classmethod to Progress class
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/rich/progress.py b/rich/progress.py index 1f670db438..8b9713c7a3 100644 --- a/rich/progress.py +++ b/rich/progress.py @@ -588,12 +588,7 @@ def __init__( refresh_per_second is None or refresh_per_second > 0 ), "refresh_per_second must be > 0" self._lock = RLock() - self...
1
1
0
[{"id": "G0", "claim": "The new default_columns classmethod should be renamed to get_default_columns and given a brief docstring.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Textualize__rich__1941
Textualize/rich
1,941
defect
5fafb92f3d4e8cfc28304219ad7f4fa5fb8e5eb4
32e437a47d6af8f5c6ec9bcdd38cb896a3949a81
Add MofNCompleteColumn ProgressColumn type
## Type of changes - [ ] Bug fix - [X] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [X] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [X] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [X] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f1d04a55d9..1386aae0c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
1
1
0
[{"id": "G0", "claim": "The author should also update progress.rst, which contains a list of column classes, to document the new MofNCompleteColumn class.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Textualize__rich__1992
Textualize/rich
1,992
defect
8c3e6be424f36522cbb3c4773e58a01f5f39761f
1ab2fa650fec439647a54cb0c709305d95af39e5
Add condensed time column
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/rich/progress.py b/rich/progress.py index bbbdf70ef7..ddd865c64e 100644 --- a/rich/progress.py +++ b/rich/progress.py @@ -357,6 +357,30 @@ def render(self, task: "Task") -> Text: return Text(str(remaining_delta), style="progress.remaining") +class CondensedTimeColumn(ProgressColumn): + """R...
1
1
1
[{"id": "G0", "claim": "The CondensedTimeColumn naming is not obviously clear to users, and the new functionality should be rolled into TimeRemainingColumn so that the defaults continue to work as before, with options for the new features.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intr...
null
Textualize__rich__2031
Textualize/rich
2,031
defect
aa4546ac465c36a057c0f77c0c8856497475b3ed
06a3edb6b4fa2c811eca9323c78876768ad7a5c4
Add support for named tuples to pretty
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a0e3e518..588be1e45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ + # Changelog All notable changes to this project will be documented in this file. @@ -14,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ad...
3
3
3
[{"id": "G0", "claim": "Rich should check whether a namedtuple's default `__repr__` was overridden and, if it was, respect that custom `__repr__` instead of rendering the fields itself.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `_is_namedtu...
null
Textualize__rich__2038
Textualize/rich
2,038
defect
b9b99ad77068bd51eec321fd01a080cb98a132b7
7ce9bcabcd6b3ac1a16645bdc836c3ff401e269b
Fix highlighting issue when printing JSON that isn't indented
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/rich/console.py b/rich/console.py index e2d7a6d52a..1eb2e3eebf 100644 --- a/rich/console.py +++ b/rich/console.py @@ -2209,3 +2209,5 @@ def save_html( } ) console.log("foo") + + console.print_json(data={"name": "apple", "count": 1}, indent=None) diff --git a/rich/highlighter.py b/rich...
2
2
1
[{"id": "G0", "claim": "The colon check in the key-scan loop should be moved up (before the whitespace check), since an immediate colon is the most likely case.", "category": "performance", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The whitespace check in the key-scan loop...
null
Textualize__rich__207
Textualize/rich
207
defect
1501671a4d36077ba442b767f69997947bb660e8
572cae35d2d823827438eb4dbd503484a1a55c0b
feat: multiple characters for rule.py
## Type of changes - [x] New feature (Removing these other options so progress bar of pr can show proper progress) ## Checklist - [x] I've run the latest [black](https://github.com/ambv/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] ...
diff --git a/rich/console.py b/rich/console.py index de5c2ab85..9411b1cd3 100644 --- a/rich/console.py +++ b/rich/console.py @@ -795,18 +795,18 @@ def rule( self, title: str = "", *, - character: str = "─", + characters: str = "─", style: Union[str, Style] = "rule.line"...
7
7
5
[{"id": "G0", "claim": "The rule emitted an extra newline when the rendered text was longer than the terminal width, and multi-cell emoji/CJK characters were not handled; the author said the newline was fixed and the maintainer pointed to cells.set_cell_size for the CJK/emoji edge cases.", "category": "correctness", "v...
null
Textualize__rich__2160
Textualize/rich
2,160
defect
489fafc63e4ab85cacde60ade1a15099d6c08ca8
e23374c691e43a435b4703f99456cc4cf99c747c
Fall back to `sys.__stderr__` on non-Windows OS to get size
This fixes the "pipe" bug, where we could not determine the available size correctly when the output of Rich is piped to another process ## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://gith...
diff --git a/rich/console.py b/rich/console.py index 2cdab4280..5daaba4e6 100644 --- a/rich/console.py +++ b/rich/console.py @@ -1102,12 +1102,16 @@ def size(self) -> ConsoleDimensions: except OSError: # Probably not a terminal pass else: - try: - width,...
3
2
0
[{"id": "G0", "claim": "The tuple of POSIX std descriptors built inside `size` could be extracted to a private module-scoped variable rather than re-created on each invocation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The width appears to ...
null
Textualize__rich__2219
Textualize/rich
2,219
defect
65227ba120a3ddcba72af4cd253ed2eabc053c87
dda6ce596fceb8bc03b5db1836699e793b5e1fa5
[highlighter] Add complex numbers pattern to our highlighter's `number` matching
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/rich/highlighter.py b/rich/highlighter.py index 7bee4167e4..e9bf737779 100644 --- a/rich/highlighter.py +++ b/rich/highlighter.py @@ -94,7 +94,7 @@ class ReprHighlighter(RegexHighlighter): r"(?P<call>[\w.]*?)\(", r"\b(?P<bool_true>True)\b|\b(?P<bool_false>False)\b|\b(?P<none>None)...
3
3
2
[{"id": "G0", "claim": "The S1 regex will not work with negative imaginary numbers such as \"1-3j\" because it only allows a '+' between the real and imaginary parts.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The regex fails when the imaginary ...
null
Textualize__rich__2226
Textualize/rich
2,226
defect
49840e3b82821d0d57e7e20992eb8e1d9af74a7d
740b89f49aeddc08b6ff94ca0b5bbac77a6e7bd6
[traceback] Add traceback frame opt-out via a `_rich_traceback_omit = True` machinery
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5001a075c7..e4691104bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ability to change terminal window title https://github.com/Textualize/rich/pull/2200 - Added show_sp...
1
1
1
[{"id": "G0", "claim": "The `_rich_traceback_omit` and `_rich_traceback_guard` mechanisms are inconsistent (omit fires only on a strict `is True` while guard fires on mere presence of the local), and both should instead look at the local's value with a default of `False` when it is not defined, with `_rich_traceback_gu...
null
Textualize__rich__2294
Textualize/rich
2,294
defect
aa7926c1431eebfb2ccaab9f3b63a4ac6cd8dfe6
4b1893a638f4f8a8e557fbf8df9b2efc5bfc180a
[bugfix] solve crash when using `inspect()` on the "pyparsing" package
## Type of changes - [x] Bug fix - fixes #2284 - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other :warning: This PR introduces a (minor) breaking change, in order to fix a (minor) issued described with the screenshots below. :point_down: But we can of course choose to keep the exist...
diff --git a/pyproject.toml b/pyproject.toml index 1b16acf9b..f2edc90aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,3 +61,6 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] [[tool.mypy.overrides]] module = ["pygments.*", "IPython.*", "commonmark.*", "ipywidgets.*"] ignore_m...
4
3
0
[{"id": "G0", "claim": "The mutable dicts passed as the default value of the `_translate_table` argument of `strip_control_codes()` could theoretically be accidentally mutated and cause weird side-effects, so annotate them `Final` to have type checkers guard against mutation.", "category": "maintainability", "verdict":...
null
Textualize__rich__2301
Textualize/rich
2,301
defect
aa7926c1431eebfb2ccaab9f3b63a4ac6cd8dfe6
22388685d679630e5d3d8bac9e2dc7e2e9499902
Add Iso8601Highlighter
## Type of changes - [ ] Bug fix - [X] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [X] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [X] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [X] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 52db0457b2..970c6e0ba0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
2
2
0
[{"id": "G0", "claim": "The class name should be `ISO8601Highlighter` rather than `Iso8601Highlighter`, since camel case would require the acronym to be all caps.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Something should be added to the do...
null
Textualize__rich__2330
Textualize/rich
2,330
defect
e8a9466b94612babc8a437a613614debc1adbea1
17c6aa13138a62f0835616a9ae3d42a00aee13a4
Substituting plain headed box when show_header=False on Table
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e241d35539..7ba94a10ab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,6 @@ repos: - id: check-yaml - id: end-of-file-fixer - id: mixed-line-ending - - id: trailing-whitespace - id: chec...
2
1
0
[{"id": "G0", "claim": "The trailing-whitespace pre-commit hook incorrectly removed some whitespace inside a multiline string (inside a `Box`), which led to errors.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Restore the original behaviour of t...
null
Textualize__rich__2339
Textualize/rich
2,339
defect
d28e636a9a4fe2297f3366988343e383f7b6d87c
a7124ea10c647728508ef6897685db446ef96f0b
[win32] Use initial cursor size when hiding or showing it
By doing this the users get their original cursor style back when Rich gives control back to the terminal, rather than a "full size" one Fixes #2333 ## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [bla...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4549ab1b82..88e045948c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fix Rich clobbering cursor style on Windows https://github.com/Textualize/rich/pull/2339 ...
1
1
1
[{"id": "G0", "claim": "The cursor size should not be stored in the constructor because it may be stale if the user changes the cursor size after the object is created; instead hide_cursor and show_cursor should read the cursor info, modify the visible flag, and set it in a single operation.", "category": "design", "ve...
null
Textualize__rich__2341
Textualize/rich
2,341
defect
695256ce5316482f15818962ba8f692a460f923f
93ac8cd388a58cc44adbc3f99491ad4222a98fb9
[syntax] add a `stylize_ranges` method to the Syntax class
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/pyproject.toml b/pyproject.toml index f2edc90aae..4eccd5ed45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,3 +64,6 @@ ignore_missing_imports = true [tool.pytest.ini_options] testpaths = ["tests"] + +[tool.isort] +profile = "black" diff --git a/rich/syntax.py b/rich/syntax.py index cb34855acd....
6
6
3
[{"id": "G0", "claim": "Highlight ranges should not be set through the Syntax constructor, because that forces the dev to import SyntaxHighlightRange; a method on Syntax should add ranges instead so nothing other than Syntax needs importing.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in...
null
Textualize__rich__2513
Textualize/rich
2,513
defect
8dbfc8d0f485ba739820af3cf336896f8c9561be
97bffbc7b1640dfc7bc20809dc0b9d1b536d7644
Supporting no stdout, fix force color bug
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index c21f7a6420..624f5b8888 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -7,4 +7,4 @@ jobs: - uses: actions/checkout@v3 - run: python3 -m pip install codespell - run: codespell -...
2
2
2
[{"id": "G0", "claim": "When FORCE_COLOR is set to an empty string, bool(force_color) evaluates to False so the terminal is not forced, contradicting the comment that any FORCE_COLOR value at all forces the terminal; it should set self._force_terminal = True instead.", "category": "correctness", "verdict": "supported",...
null
Textualize__rich__303
Textualize/rich
303
defect
4e24f2ef1a978ce5f1b01b2b26b36f87b87566f2
d388b839544c6b6185b37ce2974151962fb9f19c
handle exceptions with rich's logging handler
## Type of changes - [ ] Bug fix - [x] New feature - [x] Documentation / docstrings - [x] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/docs/source/logging.rst b/docs/source/logging.rst index 2d0cc4f0f7..e2305e6ee8 100644 --- a/docs/source/logging.rst +++ b/docs/source/logging.rst @@ -20,4 +20,17 @@ Rich logs won't render :ref:`console_markup` in logging by default as most libra log.error("[bold red blink]Server is shutting down![/]...
1
1
1
[{"id": "G0", "claim": "Rendering an exception with print_exception drops the other configured columns (time, severity, filename) and skips the log message that was logged with the exception; the exception should instead be captured as a rich.exception.Exception and rendered by _log_render, e.g. _log_render with [messa...
null
Textualize__rich__3180
Textualize/rich
3,180
defect
c7d6215cfe5a2a32182040539256a21bc6b7fd3b
2053eb0a04deb1acde082943853da405ac613536
Fix double-width characters disappearing when wrapping
## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/.gitignore b/.gitignore index b291d4c2a5..4d0a1d3a87 100644 --- a/.gitignore +++ b/.gitignore @@ -117,3 +117,5 @@ venv.bak/ # airspeed velocity benchmarks/env/ benchmarks/html/ + +sandbox/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 1113f8617e..d0f7991fcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md ...
6
3
0
[{"id": "G0", "claim": "The `_cell_len = cell_len` line is a micro-optimisation to bring cell_len into local scope, and the reviewer questions it.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comparison should be written directly as `remaining...
null
Textualize__rich__361
Textualize/rich
361
defect
e75649a870745b934927040d36fed8a8321dd238
d0bb65af76f9fddeab43c536efcd7149475e3a56
Add block bar
## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate. - [x] I've added t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a05e68116..97150dffd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [8.0.1] - unreleased +### Added + +- Added solid block bar class + ### Changed - Change the ren...
3
2
1
[{"id": "G0", "claim": "BlockBar should not duplicate the progress bar's arguments but be a general-purpose primitive taking a width, float start/end (size/begin/end) values and foreground/background colors rather than styles, with blending left out so it can be added by extending the class.", "category": "design", "ve...
null
Textualize__rich__380
Textualize/rich
380
defect
d17b7f5110564463d94e2b91844c75a9747b46ab
01b1b61b9d66ccc1dbeac6d4d2132be2d0ada3fc
Add flag to render in binary/decimal suffix in DownloadColumn
Add a test for rendering binary suffix in test_progress.py ## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [x] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com/psf/black) with default args on new code. - [x] I've updated CHANGELO...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f71a96937..ee1be68c39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added highlighting of EUI-48 and EUI-64 (MAC addresses) - Added Console.pager - Added Console.out +- ...
2
2
1
[{"id": "G0", "claim": "The attribute name \"decimal_ssuffix\" set in DownloadColumn.__init__ is a typo and should be corrected.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rather than \"decimal_suffix\", the parameter should be called \"bina...
null
Textualize__rich__4006
Textualize/rich
4,006
defect
27701029082052c6541031b6f139097230253900
87e7ca27d0f8047e2d22c6ee9f7cf2c59e4c96af
fix for infinite loop in split_graphemes
Fix for https://github.com/Textualize/rich/issues/3958
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b093843a3..6b0a52ad22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
6
3
0
[{"id": "G0", "claim": "split_graphemes can still hang on a VS16 character when spans is non-empty and last_measured_character is None (e.g. \"\\x1b\\ufe0f\") because the VS16 branch does not advance index; VS16 should always increment index and extend or create a span.", "category": "correctness", "verdict": "uncertai...
null
Textualize__rich__4070
Textualize/rich
4,070
defect
fc41075a3206d2a5fd846c6f41c4d2becab814fa
b17c6169a4188d4a0ecb0153072a0061e62b8ec7
perf: reduce Console and RichHandler import time by deferring unused imports
## E2E Results | Import | master | This PR | Speedup | |---|---|---|---| | `from rich.console import Console` | 78.1ms | 52.2ms | **1.50x faster** | | `from rich.logging import RichHandler` | 99.4ms | 56.9ms | **1.75x faster** | | `import rich` | 18.2ms | 18.3ms | (already lean) | ## Summary Defer module-level impor...
diff --git a/CHANGELOG.md b/CHANGELOG.md index bdd4f15974..d23b96b5e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
4
4
2
[{"id": "G0", "claim": "The module-level helper _svg_hash() still references zlib after the PR removed the module-level import, so calling it would raise NameError (and it should fail static checks); keep a module-level import, add a local one, or delete the function.", "category": "correctness", "verdict": "supported"...
null
ThatOpen__engine_web-ifc__328
ThatOpen/engine_web-ifc
328
defect
25a2a18e64d16c005d0a0910568232bca4ee98f6
9079e7124fed9f2c506c51710b9f058a6b5f4441
Feat: Add support for setting materials & propertysets
# Feature: ### Support setting IfcRelAssociatesMaterial & IfcRelDefinesByProperties of existing IfcEntities. ## Changes: * if `elementID` in getPropertySets & getMaterialProperties is `0` e.g. the IfcProject, all propertysets|materials are returned * getRelatedProperties uses PropsNames.[pName] ## Update pro...
diff --git a/src/helpers/properties.ts b/src/helpers/properties.ts index 0d866b48c..a079f981b 100644 --- a/src/helpers/properties.ts +++ b/src/helpers/properties.ts @@ -2,6 +2,9 @@ import { IfcAPI, IfcEntities, IFCPROJECT, IFCRELAGGREGATES, IFCRELCONTAINEDINSPATIALSTRUCTURE, + IFCRELDEFINESBYPROPERTIE...
4
2
1
[{"id": "G0", "claim": "Asks whether defaulting elementID to 0 in getPropertySets is wise, given that no item can have expressID 0.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Requests that the author write a test for this if possible, perhaps in test...
null
The-Aether-Team__The-Aether__1357
The-Aether-Team/The-Aether
1,357
defect
11a62f59e6cafaeea5de90d899e70a76439333c2
2a495465a569d7a08c7d162b8c46ba7e44bdce58
improv: New IS_COLD Damage type for Sun Spirit
Adds a new DamageType tag `IS_COLD` to the Aether and changes the Sun Spirit damage check accordingly. - By expanding the invulnerability check to a tag instead of the single Ice Crystal, the Sun Spirit can now take damage by other possible items added by addons or other mods. - It doesn't change the core functiona...
diff --git a/src/main/java/com/aetherteam/aether/AetherTags.java b/src/main/java/com/aetherteam/aether/AetherTags.java index d3fec49138..2313450448 100644 --- a/src/main/java/com/aetherteam/aether/AetherTags.java +++ b/src/main/java/com/aetherteam/aether/AetherTags.java @@ -1,6 +1,7 @@ package com.aetherteam.aether; ...
1
1
1
[{"id": "G0", "claim": "Run datagen after adding the IS_COLD tag so the generated tag JSON is updated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
The-Aether-Team__The-Aether__710
The-Aether-Team/The-Aether
710
defect
9a30b30076f9fa210afb139e062ed1db4c1bdce3
3a9b46fe89c1dfbd8706362693de617f0cd66fb0
Fixed valkyrie queen messages.
Closes #695
diff --git a/src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8 b/src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8 index 2908e5b937..9d1edaad8e 100644 --- a/src/generated/resources/.cache/c622617f6fabf890a00b9275cd5f643584a8a2c8 +++ b/src/generated/resources/.cache/c622617f6f...
1
1
1
[{"id": "G0", "claim": "The boss fight should still be visible in creative, the isCreative() check in hurt() is unnecessary, and the fight-begin display should be driven by checking !this.bossFight.isVisible() rather than hiding the boss bar whenever the queen has no target.", "category": "correctness", "verdict": "sup...
null
The-OpenROAD-Project__OpenLane__1597
The-OpenROAD-Project/OpenLane
1,597
defect
4e910618fd4099d3b029a6da3546c1c2c4e3238e
5bc89eda428db1b5c2da7e91f086a9ec0bca6ffd
`run_designs` fixes
+ Add JSON support to "matrix" mode ~ Rename "regression mode" to "matrix", as it more accurately reflects a combination of variables ~ Replace bizzare "regression script" with a JSON file achieving basically the same thing ~ `run_designs` now clears run paths before it starts ~ `run_designs` no longer attempts to ...
diff --git a/dependencies/verify_versions.py b/dependencies/verify_versions.py index b5c6e5043..4b61400f2 100644 --- a/dependencies/verify_versions.py +++ b/dependencies/verify_versions.py @@ -59,7 +59,7 @@ def verify_versions( } pdk_manifest_names = set(manifest_names_by_SOURCES_name.values()) - if not ...
1
1
0
[{"id": "G0", "claim": "A leftover debug print of the design and config in run_design(designs_queue) should be removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
The-OpenROAD-Project__OpenLane__902
The-OpenROAD-Project/OpenLane
902
defect
f01acb5c2e875acac9e9a1347b251099378b7eba
6d4955bf5efa47664020fc5c9a24934a616c6336
Add Issue-Specific CI
Partial solution for #892 . The DEF pin locations should now be applied. Current implementation does not properly handle multipins with the same name, like in caravel user analog project (which is my current target, to get working). Currently working on implementing this, to solve def_test issue. @donn I don't u...
diff --git a/designs/def_test/def_test.def b/designs/def_test/def_test.def index 3a5cf4a7b..29c51a771 100644 --- a/designs/def_test/def_test.def +++ b/designs/def_test/def_test.def @@ -14,8 +14,4 @@ PINS 2 ; + LAYER met2 ( -140 -2000 ) ( 140 2000 ) + PLACED ( 400 2000 ) N ; END PINS -NETS 2 ; - - ...
6
6
1
[{"id": "G0", "claim": "The new default of 4 parallel designs for run_designs.py's --threads option is unexplained and arbitrary; defaulting to 1 would be more reasonable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "apply_def_template.py should use su...
null
The-PR-Agent__pr-agent__1063
The-PR-Agent/pr-agent
1,063
defect
3a7765266092e81e41357909a8bd336bcb871175
778d7ce1ed0a170f922c9624e0cc889014e89347
Add end-to-end tests for GitHub, GitLab, and Bitbucket apps; added seed
### **User description** ### Note it seems that zero-randomness with seed is not operational yet: https://community.openai.com/t/seed-param-and-reproducible-output-do-not-work/487245/1 I could not achieve this either but maybe it will be improved in the future ... ___ ### **PR Type** enhancement, tests ___ ...
diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 3bf08cb5c3..bfe87dbdd1 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -36,6 +36,6 @@ jobs: - id: test name: Test dev docker run: | - docke...
7
3
0
[{"id": "G0", "claim": "The seed condition may not work as expected when seed is not set because it defaults to -1, and the reviewer asks that the default case be handled more explicitly.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ValueError...
null
The-PR-Agent__pr-agent__1386
The-PR-Agent/pr-agent
1,386
defect
39a461b3b219be34ee017c711beab43380801414
e8fc351ce9e2944058b70290ba669255676ce1f4
Tr/self check
### **PR Type** Enhancement, Documentation, Tests ___ ### **Description** - Enhanced the PR agent tools to generate and store summarized suggestions, descriptions, and reviews when output is not published. - Added a new health test to verify the functionality of PR agent commands such as 'describe', 'review', and 'i...
diff --git a/docs/docs/usage-guide/automations_and_usage.md b/docs/docs/usage-guide/automations_and_usage.md index 454f83d004..d0222f15da 100644 --- a/docs/docs/usage-guide/automations_and_usage.md +++ b/docs/docs/usage-guide/automations_and_usage.md @@ -1,4 +1,5 @@ ## Local repo (CLI) + When running from your locall...
3
1
0
[{"id": "G0", "claim": "The hardcoded test PR URL should be made configurable (e.g. via an environment variable) so the health test can run against different PRs.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The health test could add error handling fo...
null
The-PR-Agent__pr-agent__1439
The-PR-Agent/pr-agent
1,439
defect
bde594c9e854a6d6a2b4bde9abfa1002510f6f20
e431979b8bf489fb2604b2474b4416eb622c7e84
fix: handle newline issues in patch generation
### **User description** addresses https://github.com/Codium-ai/pr-agent/issues/1438 ___ ### **PR Type** Bug fix, Tests ___ ### **Description** - Fixed newline handling in `load_large_diff` to prevent incorrect patch generation. - Added tests for scenarios with missing newlines and empty inputs in `load_large_di...
diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index 9b49c0601c..e388956863 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -588,6 +588,8 @@ def load_large_diff(filename, new_file_content_str: str, original_file_content_s return "" try: + original_file_content_st...
3
1
1
[{"id": "G0", "claim": "The newly added rstrip() + \"+\\n\" normalization lines in load_large_diff may hit runtime errors on unguarded inputs (e.g. None, and empty/whitespace-only strings should be verified), so add null-safety checks like (original_file_content_str or \"\").", "category": "correctness", "verdict": "su...
null
The-PR-Agent__pr-agent__1529
The-PR-Agent/pr-agent
1,529
defect
77204faa5109f8131dcff529fd78b8b99ae569c5
0f63d8685f1f7c15236464520b0ec19ac9bf3a94
Added sub-issue fetching to enhance PR analysis
**Summary** This PR improves the ticket compliance tool by ensuring that sub-issues and their content are also collected when analyzing a pull request. Previously, the tool only gathered the main issue's body, potentially missing important context from sub-issues (Look at Issue #1499) This implementation uses Git...
diff --git a/pr_agent/git_providers/github_provider.py b/pr_agent/git_providers/github_provider.py index 1fd474e0a0..e6688e1db6 100644 --- a/pr_agent/git_providers/github_provider.py +++ b/pr_agent/git_providers/github_provider.py @@ -5,6 +5,7 @@ import re import time import traceback +import json from datetime imp...
9
5
0
[{"id": "G0", "claim": "The debug print statements in fetch_sub_issues (raw responses, unexpected formats, failures) should be replaced with proper get_logger() logging (error/exception/info, with artifact where useful) or removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
The-PR-Agent__pr-agent__1816
The-PR-Agent/pr-agent
1,816
defect
4e80f3999ce473ea0f8d8743b3fab12d06b61cf5
e2586cb64ad2b5328d8bddc4b15c0eeadca840f4
Add Unit Tests and Improve Documentation for utils.py clip_tokens Function
### **User description** ## Pull Request Summary This PR addresses Issue #1793 by adding comprehensive unit tests and improving documentation for the `clip_tokens` function. The work enhances test coverage significantly while maintaining full backward compatibility and improving developer experience. ## Key Changes...
diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index 780c7953bf..3e3103ad6e 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -945,12 +945,66 @@ def clip_tokens(text: str, max_tokens: int, add_three_dots=True, num_input_token """ Clip the number of tokens in a string to a maxim...
5
1
0
[{"id": "G0", "claim": "The pull request leaves the error-handling robustness of clip_tokens unchanged, keeping the original generic exception handler, so the ticket #1793 requirement 'enhance error handling robustness' is not met.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_exi...
null
The-PR-Agent__pr-agent__1839
The-PR-Agent/pr-agent
1,839
defect
a17100e51259464a4d729d03fe9b7449b87b9d89
cc1b1871d0b295daa97ae1c76358b524dd135131
feat: add AWS Secrets Manager Integration for Lambda deployments
### **User description** closes https://github.com/qodo-ai/pr-agent/issues/1834 Added AWS Secrets Manager integration to PR-Agent for secure retrieval of sensitive information. When running in Lambda environments, the application now retrieves configuration values like `openai.key` and `github.webhook_secret` fr...
diff --git a/docs/docs/installation/github.md b/docs/docs/installation/github.md index 3eeace4fa1..69b34b8a0c 100644 --- a/docs/docs/installation/github.md +++ b/docs/docs/installation/github.md @@ -203,6 +203,28 @@ For example: `GITHUB.WEBHOOK_SECRET` --> `GITHUB__WEBHOOK_SECRET` 7. Go back to steps 8-9 of [Method 5]...
7
3
3
[{"id": "G1", "claim": "The nested try-catch blocks with dynamic imports and silent failure handling in config_loader could mask important configuration errors and make debugging difficult.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Applying...
null
The-PR-Agent__pr-agent__1856
The-PR-Agent/pr-agent
1,856
defect
c635887949e7abbb6fd04a03cc76fa1d9b59d78a
3904743e854b2553e85831f07c2878ccff80a4fc
Add GitLab support for CHANGELOG.md
### **User description** Love the project, here's a small contribution. ___ ### **PR Type** Enhancement, Tests ___ ### **Description** - Add GitLab support for updating `CHANGELOG.md` via PRs - Implement `create_or_update_pr_file` for GitLab provider - Ensure robust handling of file content encoding (bytes/st...
diff --git a/pr_agent/git_providers/gitlab_provider.py b/pr_agent/git_providers/gitlab_provider.py index df18c9577e..8368984b9a 100644 --- a/pr_agent/git_providers/gitlab_provider.py +++ b/pr_agent/git_providers/gitlab_provider.py @@ -1,12 +1,12 @@ import difflib import hashlib import re -from typing import Optional...
6
6
2
[{"id": "G0", "claim": "The error handling in create_or_update_pr_file catches all exceptions and re-raises them, so specific error types should be handled differently or some errors should be recovered from without re-raising.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
The-PR-Agent__pr-agent__1898
The-PR-Agent/pr-agent
1,898
defect
e75b863f3b3ce59fabb5c2508ae86faa54df2e15
87a245bf9c402103e9c25418d66ba889e01bf0bf
feat: support ignoring auto-generated files by language/framework
### **User description** This PR adds support for ignoring auto-generated source files based on commonly used languages and frameworks (e.g., protobuf, go_gen). Added `ignore_language_framework` property. The corresponding file patterns are defined in `generated_code_ignore.toml`, where I’ve listed examples of fil...
diff --git a/docs/docs/usage-guide/additional_configurations.md b/docs/docs/usage-guide/additional_configurations.md index 8d2058655b..98ed847208 100644 --- a/docs/docs/usage-guide/additional_configurations.md +++ b/docs/docs/usage-guide/additional_configurations.md @@ -250,3 +250,15 @@ Where the `ignore_pr_authors` is...
4
2
1
[{"id": "G0", "claim": "The new ignore_language_framework processing lacks validation: if the configured value is a string it is iterated character by character and filtering misbehaves, so the value should be checked before iterating — per mrT23, by logging a warning and skipping rather than converting to a list — to ...
null
The-PR-Agent__pr-agent__1944
The-PR-Agent/pr-agent
1,944
defect
bec70dc96a3868810ecc11e55e87aec91fcba8ef
8906a81a2e346d0275f332ad64d0b48d52bf4329
Tr/describe redesign
### **PR Type** Enhancement ___ ### **Description** - Redesign PR description file walkthrough section structure - Improve file parsing with regex and error handling - Add diagram walkthrough section with mermaid support - Fix template syntax errors and formatting issues ___ ### Diagram Walkthrough ```mermai...
diff --git a/docs/docs/tools/describe.md b/docs/docs/tools/describe.md index d929679cc0..1ade6c561f 100644 --- a/docs/docs/tools/describe.md +++ b/docs/docs/tools/describe.md @@ -124,6 +124,10 @@ This option is enabled by default via the `pr_description.enable_pr_diagram` par <td><b>enable_semantic_files_types...
8
1
1
[{"id": "G0", "claim": "The regex pattern used to split the file walkthrough section is complex and may fail silently, and its fallback logic might not handle all edge cases, potentially causing description parsing failures.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, ...
null
The-PR-Agent__pr-agent__1998
The-PR-Agent/pr-agent
1,998
defect
9e2f1ed603d13d36ffafa07f2d90a3a41d75d22b
9c3972d619cd2eed317634e9d4b02bba444feea2
Adds a new configuration group [azure_devops] to allow "active" comments
### **User description** By default, the pr_agent comments for Azure DevOps is "Closed". This change allows for the configuration of comment status. It will still remain "closed" by default. The original submitted idea is located [here](https://github.com/qodo-ai/pr-agent/discussions/1997). ___ ### **PR Type** E...
diff --git a/pr_agent/git_providers/azuredevops_provider.py b/pr_agent/git_providers/azuredevops_provider.py index cba81654c4..7c1161d6f3 100644 --- a/pr_agent/git_providers/azuredevops_provider.py +++ b/pr_agent/git_providers/azuredevops_provider.py @@ -351,7 +351,11 @@ def publish_comment(self, pr_comment: str, is_te...
1
1
0
[{"id": "G0", "claim": "Replace the two-line default assignment with the single call status = get_settings().azure_devops.get(\"default_comment_status\", \"closed\") because it is cleaner and more readable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
The-PR-Agent__pr-agent__2212
The-PR-Agent/pr-agent
2,212
defect
58edfba65bd216ccac301083c08bc04ea74fe2a8
51966fbed49b97431c2343f27fb3d6c9a96905be
fix: sanitize changes diagram input
### **User description** Issue: https://github.com/qodo-ai/pr-agent/issues/2211 ### **PR Type** Enhancement, Tests ___ ### **Description** - Extract diagram sanitization logic into dedicated function - Remove backticks from node labels in mermaid diagrams - Add comprehensive unit tests for diagram sa...
diff --git a/pr_agent/tools/pr_description.py b/pr_agent/tools/pr_description.py index db1492c6bb..209883d9bc 100644 --- a/pr_agent/tools/pr_description.py +++ b/pr_agent/tools/pr_description.py @@ -461,11 +461,9 @@ def _prepare_data(self): if 'description' in self.data: self.data['description'] =...
10
7
4
[{"id": "G0", "claim": "sanitize_diagram() only checks that the input starts and ends with a fence and does not prevent additional embedded ``` sequences inside the diagram body, which can prematurely close the code block and allow markdown/HTML injection in rendered PR descriptions.", "category": "security", "verdict"...
null
The-PR-Agent__pr-agent__2221
The-PR-Agent/pr-agent
2,221
defect
2f9f52f0754a08333292ab01d18aa687e03508f2
8969f4385ce391eb719a1d3a4bab9437a59e3d2a
feat: add Anthropic Claude Sonnet 4.6 model mappings
### **User description** Add Claude Sonnet 4.6 model IDs to MAX_TOKENS for Anthropic, Vertex AI, and Bedrock naming variants. This keeps model resolution behavior consistent with existing Claude 4 entries and prevents get_max_tokens failures when users configure the new Sonnet 4.6 aliases. ___ ### **PR Type** Enh...
diff --git a/pr_agent/algo/__init__.py b/pr_agent/algo/__init__.py index 0b38113ac4..dd206be3ea 100644 --- a/pr_agent/algo/__init__.py +++ b/pr_agent/algo/__init__.py @@ -78,6 +78,7 @@ 'vertex_ai/claude-3-7-sonnet@20250219': 200000, 'vertex_ai/claude-sonnet-4@20250514': 200000, 'vertex_ai/claude-sonnet-4...
1
1
1
[{"id": "G0", "claim": "Remove the bedrock claude-sonnet-4-6 model-id entries in the `-v1:0` format (and the corresponding test ids), because the maintainer expects that format to no longer be supported and its endpoints could not be validated.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco...
null
The-PR-Agent__pr-agent__2231
The-PR-Agent/pr-agent
2,231
defect
557b166bc6e8a8e5886a10100f77ce3408c784e2
1c4fa4bbe1d19abf2c0ea0991db015d04dec60dc
feat: add branch name issue extraction feature
### **User description** ## Summary Add extraction of GitHub issue numbers from the PR source branch name (e.g. `feature/XX-test-issue` → issue #XX) and merge them with tickets from the PR description for compliance and review. ## Scope - Branch-name issue extraction and `branch_issue_regex` apply only when the **...
diff --git a/docs/docs/core-abilities/fetching_ticket_context.md b/docs/docs/core-abilities/fetching_ticket_context.md index 2c1dfd3a4e..de06ba2172 100644 --- a/docs/docs/core-abilities/fetching_ticket_context.md +++ b/docs/docs/core-abilities/fetching_ticket_context.md @@ -2,6 +2,9 @@ `Supported Git Platforms: GitH...
11
8
4
[{"id": "G0", "claim": "Fix the settings lookups by removing the incorrect config. prefix from the keys, since extract_issue_from_branch and branch_issue_regex are defined at the top level and the current config.* lookups leave the new feature non-functional.", "category": "correctness", "verdict": "supported", "priori...
null
The-PR-Agent__pr-agent__2247
The-PR-Agent/pr-agent
2,247
defect
95a9d8d62bee1b82a09fef02a0f8bbb47bd67c7a
1bcefefd4a645ae2a0dd0bc33c9f26dd8a7170cf
Add OpenAI's GPT-5.4 model
Rererence: - https://openai.com/index/introducing-gpt-5-4/ - https://developers.openai.com/api/docs/models/gpt-5.4
diff --git a/pr_agent/algo/__init__.py b/pr_agent/algo/__init__.py index 1c8358541f..a31c95e0ce 100644 --- a/pr_agent/algo/__init__.py +++ b/pr_agent/algo/__init__.py @@ -42,6 +42,8 @@ 'gpt-5.2-chat-latest': 128000, # 128K, but may be limited by config.max_model_tokens 'gpt-5.2-codex': 400000, # 400K, but m...
3
1
1
[{"id": "G0", "claim": "The gpt5_models assignment in tests/unittest/test_litellm_reasoning_effort.py is a single line longer than the repository's Ruff line-length = 120, which can cause lint failures, and should be reformatted into a multi-line structure.", "category": "style", "verdict": "supported", "priority": "P1...
null
The-PR-Agent__pr-agent__2293
The-PR-Agent/pr-agent
2,293
defect
0b0c175f6a0ae73f75bfb12a0eecb440a216a891
2452b6d2769654ae5366f7ccd5a083346fb93397
fix: prevent dummy_key from overriding provider-specific API keys
## Summary - **Issue:** When using Anthropic without OpenAI configured, the placeholder `litellm.api_key` (DUMMY_LITELLM_API_KEY) was being forwarded to litellm calls, preventing litellm from using the provider-specific `litellm.anthropic_key` internally. This caused AuthenticationError: invalid x-api-key. Recommend...
diff --git a/pr_agent/algo/ai_handlers/litellm_ai_handler.py b/pr_agent/algo/ai_handlers/litellm_ai_handler.py index f51dcc8285..d17c6e3796 100644 --- a/pr_agent/algo/ai_handlers/litellm_ai_handler.py +++ b/pr_agent/algo/ai_handlers/litellm_ai_handler.py @@ -15,6 +15,7 @@ import json MODEL_RETRIES = 2 +DUMMY_LITELL...
12
4
1
[{"id": "G4", "claim": "chat_completion() still injects kwargs[\"api_key\"] from the single shared litellm.api_key for any model whenever it is non-dummy, while __init__ assigns litellm.api_key from provider-specific settings, so when the process switches providers (e.g. via fallback_models) the wrong provider can rece...
null
The-PR-Agent__pr-agent__853
The-PR-Agent/pr-agent
853
defect
26c4a98fc8b2b1083515c228249507fbd6b2702a
3412095d81844f97abc6146603ceea1d584ea279
feat: set review data to github actions output
## **User description** Add following feature under new `GITHUB_ACTION_CONFIG.ENABLE_OUTPUT` config. Set review result data to github actions [output parameter](https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions) . ### Usage Ex...
diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index c2b6323ce8..8d3c9c01a5 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -2,6 +2,7 @@ import difflib import json +import os import re import textwrap from datetime import datetime @@ -661,3 +662,12 @@ def find_line_number_of_rel...
12
6
2
[{"id": "G0", "claim": "Check whether the GITHUB_OUTPUT environment variable is set before writing to it, because the feature relies on that variable and may fail when it is not set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add error handling ...
null
The-PR-Agent__pr-agent__954
The-PR-Agent/pr-agent
954
defect
f4c9d230844565d587db39f9b57eb248ccb21816
306fd3d064707a2b4eee78d8734a2d939306c636
Update PR review prompts and terminology for clarity and consistency
### **PR Type** Enhancement, Documentation ___ ### **Description** - Updated header formatting and section titles in `utils.py`. - Changed section titles from "PR Review" to "PR Reviewer Guide" across multiple files. - Reordered `key_issues_to_review` in the review dictionary. - Updated test output to reflect new se...
diff --git a/docs/docs/tools/review.md b/docs/docs/tools/review.md index 3f69186eb2..f0a3c057e4 100644 --- a/docs/docs/tools/review.md +++ b/docs/docs/tools/review.md @@ -1,10 +1,13 @@ ## Overview -The `review` tool scans the PR code changes, and automatically generates a PR review. +The `review` tool scans the PR cod...
10
1
1
[{"id": "G0", "claim": "Consider using an f-string instead of string concatenation for the transformed_string assignment in emphasize_header to improve readability and maintainability.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The build-and...
null
TheAgentCompany__TheAgentCompany__186
TheAgentCompany/TheAgentCompany
186
defect
7b38204113e7577ac11351d0a46d8c3cbcc6bb76
8a5d66f9a69dd86a96f471218b5448b228e0fb6f
[task] Add a task of debugging a crashed server
This adds a test for debugging a crashed server. The agent needs to communicate with Emily to get a password to unzip the app code, unzip it, check the server code or run it, realize the database password is wrong, ask Emily who to ask, ask Zhang for the DB password, and run it with the appropriate DB password. Eval...
diff --git a/workspaces/tasks/sde-debug-crashed-server/Dockerfile b/workspaces/tasks/sde-debug-crashed-server/Dockerfile new file mode 100644 index 000000000..311b8df7a --- /dev/null +++ b/workspaces/tasks/sde-debug-crashed-server/Dockerfile @@ -0,0 +1,25 @@ +FROM base-image + +# persist utilities files in the exam ima...
7
6
4
[{"id": "G0", "claim": "init.sh should invoke the pre/post init scripts with `python_default` instead of `python`, because OpenHands repoints the `python` alias in the runtime.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Makefile's IMAGE_NAME...
null
TheAgentCompany__TheAgentCompany__327
TheAgentCompany/TheAgentCompany
327
defect
8d44f71628b8325cbb627a8a1a491075e6e302ec
5570f96c084f7fbddfc5c6a77aa39f9cf17a1ebd
SDE task: Check and run the unit test for open file function
**Give a summary of what the PR does, explaining any non-trivial design decisions** Check and run the unit test for open file function Use command `poetry run pytest ./tests/unit/test_agent_skill.py -k "test_open_file"` to run all unit test for open_file ![run_test_res](https://github.com/user-attachments/assets/7...
diff --git a/workspaces/tasks/sde-check-and-run-unit-test/Dockerfile b/workspaces/tasks/sde-check-and-run-unit-test/Dockerfile new file mode 100644 index 000000000..881de6925 --- /dev/null +++ b/workspaces/tasks/sde-check-and-run-unit-test/Dockerfile @@ -0,0 +1 @@ +FROM base-image \ No newline at end of file diff --git...
3
2
2
[{"id": "G0", "claim": "The OpenHands URL in task.md should use the the-agent-company.com domain instead of the wrong host it currently names.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Checkpoints 2 and 3 should be removed because the test al...
null
TheAlgorithms__C-Plus-Plus__2417
TheAlgorithms/C-Plus-Plus
2,417
defect
e2bf654e821be2578cd1ff59634d6f0a0a3bdcd1
e5eec2a165d45e029c37650396adb98592905851
fix: remove memory leak in queue
#### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C-Plus-Plus/CONTRIBUTING.md --> Main reason for this PR is to fix a memory leak in [`queue.h`](https://github.com/TheAlgorit...
diff --git a/DIRECTORY.md b/DIRECTORY.md index 3a0b61323fe..53e4f184613 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -56,7 +56,8 @@ * [Linkedlist Implentation Usingarray](https://github.com/TheAlgorithms/C-Plus-Plus/blob/HEAD/data_structures/linkedlist_implentation_usingarray.cpp) * [List Array](https://github...
1
1
0
[{"id": "G0", "claim": "The doc comments on queue.hpp's functions use plain /** ... */ form, so they may need to be rewritten with Doxygen tags (@brief, @returns) for Doxygen to detect them properly.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TheAlgorithms__C__673
TheAlgorithms/C
673
defect
d0d67ff78984de4752a1ed0100c83b8f57b860f4
0074729976e6589f3e14bd6b36ced04a2e3b9d75
Doubly linked list, simple code.
#633 #### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> ...
diff --git a/DIRECTORY.md b/DIRECTORY.md index e9c9426f55..e51c7be509 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -71,6 +71,7 @@ * Linked List * [Ascendingpriorityqueue](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/ascendingpriorityqueue.c) * [Circularlinkedlist](https://g...
4
4
0
[{"id": "G0", "claim": "The file's Doxygen header should use a bare `@file` directive (drop the file name after it) as suggested.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The file-level `typedef double type;` should be avoided; use the concr...
null
TheAlgorithms__C__782
TheAlgorithms/C
782
defect
b2b9191273e4568a97fcfb52e3fea47848f50ef1
72e351be267484db213a35269bbc75235921b519
feat: Get a trace of all of the allocations, using a doubly linked list and wrappers for malloc/calloc and free.
Hello, i created a new directory named "debugging". In this directory, i have created three new files : malloc_dbg.c, malloc_dbg.h and test.c The main objective of these files is to know where a memory leak occurred (even on a Windows computer where valgrind doesn't exists and without having to use WSL). The test.c ...
diff --git a/debugging/mallocDbg.c b/debugging/mallocDbg.c new file mode 100644 index 0000000000..d72c514ece --- /dev/null +++ b/debugging/mallocDbg.c @@ -0,0 +1,252 @@ +/** + * @file + * @brief This file contains malloc_dbg, calloc_dbg, free_dbg and printLeaks implementations. + * @author tinouduart33 + */ + +#i...
12
12
1
[{"id": "G0", "claim": "The new directory's code is not built or checked because it has no CMakeLists.txt and is not registered in the root CMakeLists.txt; add both as the reviewer describes.", "category": "build", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The directory sh...
null
TheAlgorithms__Go__279
TheAlgorithms/Go
279
defect
21381acd88723f6e39c337be5a9d0885b6bcd586
79b9402bfc588d85c5215bb3d2971c38e35d2007
Correct BFS algorithm and tests
#278 will fix #272 one items will complete
diff --git a/graphs/breathfirstsearch/breathfirstsearch.go b/graphs/breathfirstsearch/breathfirstsearch.go index 8d10e0a99..6aba47868 100644 --- a/graphs/breathfirstsearch/breathfirstsearch.go +++ b/graphs/breathfirstsearch/breathfirstsearch.go @@ -1,73 +1,31 @@ package breathfirstsearch -// GetIdx ... -func GetIdx(...
3
3
0
[{"id": "G0", "claim": "The package needs a description comment and the misspelled 'breathfirstsearch' name should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The doc comment should start with the name of the function and be wri...
null
TheAlgorithms__Go__578
TheAlgorithms/Go
578
defect
d61cee077bf76f9bc5c16ee4eb88385d1796b03c
f27671f2bfefaa7549fb803ec2b01e646b6a739d
fix: handle multibyte chars propertly in `LongestCommonSubsequence`
#### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/Go/CONTRIBUTING.md --> in PR #567 I have introduced some UTF-8 related bug. This PR hopefully fixes it. The bug relates to...
diff --git a/dynamic/longestcommonsubsequence.go b/dynamic/longestcommonsubsequence.go index 8ca739811..c28eae426 100644 --- a/dynamic/longestcommonsubsequence.go +++ b/dynamic/longestcommonsubsequence.go @@ -8,10 +8,14 @@ import ( "unicode/utf8" ) +func extractData(inStr string) (int, []rune) { + return utf8.Rune...
3
1
0
[{"id": "G0", "claim": "Remove the extractData helper and inline the rune conversion in LongestCommonSubsequence, because the function is unnecessary, obfuscates the code, and trades readability for a duplication that is not severe.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "intr...
null
TheAlgorithms__Go__586
TheAlgorithms/Go
586
defect
138937e523db90a794326bd9617b5ced161a61dc
945adb44075511a4ab986375bfbfa19a64d99dbf
Add: kmp(Knuth-Morris-Pratt) algorithm
### What I have implemented: The kmp algorithm was already created, but I've implemented it differently, so I'm going to propose it in this pull request! ### Relates https://github.com/TheAlgorithms/Go/pull/585
diff --git a/README.md b/README.md index 41d5ee29c..f904c2d87 100644 --- a/README.md +++ b/README.md @@ -418,13 +418,7 @@ Read our [Contribution Guidelines](CONTRIBUTING.md) before you contribute. ##### Functions: -1. [`Kmp`](./strings/kmp/kmp.go#L70): Kmp Function kmp performing the Knuth-Morris-Pratt algorithm....
3
1
1
[{"id": "G0", "claim": "The table-building helper `Table` should not be exported.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The loop condition `w[0:k] != w[j-k:j]` feels weird and appears to simply check `j == k`, so the prefix/suffix comparison see...
null
TheAlgorithms__Go__600
TheAlgorithms/Go
600
defect
5a42d85e310f81051c1995c4be212a365a2dc02e
c157704cb4698868120948c912044cb38d8900e2
feat(cipher/polybius): add fuzz test to polybius cipher
Hi again, I keep adding fuzz tests for #480, this time for Polybius. I tested it with go test ./cipher/polybius/ to test the corpus and go test -fuzz=FuzzPoly ./cipher/polybius/ to run the fuzzer itself. If that Is that ok for you to add it let me know. Also if you have any feedbacks about my change let me know so tha...
diff --git a/README.md b/README.md index 2f5ea82cc1..06be382be9 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ Read our [Contribution Guidelines](CONTRIBUTING.md) before you contribute. 7. [`EditDistanceRecursive`](./dynamic/editdistance.go#L10): EditDistanceRecursive is a naive implementation with expone...
1
1
1
[{"id": "G0", "claim": "The context-aware custom error types (e.g. ErrNegativeSize) should be replaced with plain fmt.Errorf errors, since the passed context is unused and modifiable error structs give no benefit.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TheAlgorithms__Go__601
TheAlgorithms/Go
601
defect
5a42d85e310f81051c1995c4be212a365a2dc02e
7665fe974bddac0efecc19a09d3accc6bcf10ae1
feat(cipher/transposition): add fuzz test to transposition cipher #600
Hi again, in the context of #480 I'm adding the fuzz tests for the transposition algorithm. I tested it with go test -./cipher/transposition/ for the corpus and go test -fuzz=FuzzTransposition ./cipher/transposition/ to run the fuzzer itself. Let me know if you have any feedbacks about it. Thanks!
diff --git a/README.md b/README.md index 2f5ea82cc1..06be382be9 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ Read our [Contribution Guidelines](CONTRIBUTING.md) before you contribute. 7. [`EditDistanceRecursive`](./dynamic/editdistance.go#L10): EditDistanceRecursive is a naive implementation with expone...
3
3
0
[{"id": "G0", "claim": "The fuzz test's custom rune-comparison helper (runesStartsWith/equals) should not be needed; a simple comparison such as string(decrypted) == input would suffice.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The decrypt...
null
TheAlgorithms__Go__607
TheAlgorithms/Go
607
defect
54f082bf028e5d6dc09f63167ed837e5d4501759
5e10154b73c3e65cd059a36ddcd8f9fc1352249f
feat: add heap implementation using generic.
add heap implementation using generic. Hello, This is the first time I contribute my submission on github, if there is any mistake, please correct me, thanks.
diff --git a/structure/heap/heap.go b/structure/heap/heap.go new file mode 100644 index 000000000..911ae5c0b --- /dev/null +++ b/structure/heap/heap.go @@ -0,0 +1,79 @@ +package heap + +// The Interface type describes the requirements +// for a type using the routines in this package. +type Interface[T any] interface {...
4
4
2
[{"id": "G0", "claim": "The Heap should not be constrained to types implementing the Interface[T] `Less` method — the reviewer proposed `constraints.Ordered` for the struct and the comparisons, later clarifying that passing a `less` function to the constructor (so that both simple and custom types work) would be the be...
null
TheAlgorithms__Go__614
TheAlgorithms/Go
614
defect
41fa294871a58f0da65500a01c413e287fdbf0b4
cd58e75c1040d41e655df24421817cb2bdb7dfe7
feat: add GUID algorithm
Algorithm implementation for GUID strings generation. Generation occurs for the following pattern `xxxxxxxxxx-xxxxxxx-4xxxxx-xxxxxxx-xxxxxxxxx`, where a random hexadecimal value (from 0 to f) is substituted for the `x` values. The robust `rand` function from the `crypto` package was used to get the random values. ...
diff --git a/strings/guid/guid.go b/strings/guid/guid.go new file mode 100644 index 000000000..ac6b3ada6 --- /dev/null +++ b/strings/guid/guid.go @@ -0,0 +1,47 @@ +// guid.go +// description: Generate random globally unique identifiers (GUIDs). +// details: +// A GUID (globally unique identifier) is a 128-bit text stri...
3
3
1
[{"id": "G0", "claim": "New() should not panic when rand.Int fails; it should return an error so the caller can decide to retry or skip.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment on New should begin with the function's name, e.g. '//...
null
TheAlgorithms__Go__658
TheAlgorithms/Go
658
defect
58bb31e80f8347c91db049a09d32a4989c06b485
620b7ee9717394056eea749d86b000f41dd6543b
optimized stack array implementation
- Optimized the push operation by appending to the last element of the array instead of copying the whole array - Removed the global variable stackArray and created a struct StackArray for it - Modified stack_test.go file to reflect these changes
diff --git a/structure/stack/stack_test.go b/structure/stack/stack_test.go index e5a77e70b..ed0535389 100644 --- a/structure/stack/stack_test.go +++ b/structure/stack/stack_test.go @@ -67,53 +67,52 @@ func TestStackLinkedList(t *testing.T) { // TestStackArray for testing Stack with Array func TestStackArray(t *test...
3
3
2
[{"id": "G0", "claim": "Export all the stack methods and convert the tests into black box ones in the packagename_test package.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The exported type should not repeat the package name; `stack.Array` is preferre...
null
TheAlgorithms__Go__692
TheAlgorithms/Go
692
defect
02fde76aa3d34e13378c0ca7d177d15ecc72009c
ca120c1ce0ecad8e091d44ded0d063f7f684b555
feat: add Timsort sorting algorithm
#### Description of Change This PR adds simple Timsort sorting algorithm implementation. #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/Go/blob/master/CONTRIBUTING.md#New-File-Name-guidelines) - [x] Added tests and example,...
diff --git a/sort/sorts_test.go b/sort/sorts_test.go index 8df55373f..7c27671c7 100644 --- a/sort/sorts_test.go +++ b/sort/sorts_test.go @@ -178,7 +178,11 @@ func TestCycle(t *testing.T) { testFramework(t, sort.Cycle[int]) } -//END TESTS +func TestTimsort(t *testing.T) { + testFramework(t, sort.Timsort[int]) +} + ...
1
1
0
[{"id": "G0", "claim": "Timsort should reuse the already implemented insertion sort and its helpers instead of duplicating them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TheAlgorithms__Go__716
TheAlgorithms/Go
716
defect
e9d1f3cff35f427f61011d5535d10e595f289490
433f626e241c45a52bedeae59c50ca2abb1f8009
feat(uniquepaths): add solution for unique paths problem
Provides a solution to the "Unique Paths" problem. That is, in how many ways can you traverse an m x n matrix from (0, 0) to (m-1, n-1)
diff --git a/dynamic/uniquepaths.go b/dynamic/uniquepaths.go new file mode 100644 index 000000000..ac4fc4a99 --- /dev/null +++ b/dynamic/uniquepaths.go @@ -0,0 +1,31 @@ +// See https://leetcode.com/problems/unique-paths/ +// author: Rares Mateizer (https://github.com/rares985) +package dynamic + +// UniquePaths impleme...
3
3
0
[{"id": "G0", "claim": "Remove the +1 when creating the grid and allocate m rows instead of m+1, since zero-based indexing makes the extra row unnecessary.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the +1 when creating the grid and alloc...
null
TheAlgorithms__Go__727
TheAlgorithms/Go
727
defect
cddedb6fac5fb2a2ebc26624b14fb03ad04a325e
8fa3ea918365999c72c2ddcb62a9976c5a7c0aea
[IMPLEMENTATION] RSA algorithm
This is my implementation for RSA crypto algorithm. There is another implementation in the repo, but that file just contains the encryption/decryption algorithm assuming that we have the private/public key and modulus. My implementation contains: - RSA struct to easily manage keys and methods. - Keys Generation (wi...
diff --git a/cipher/rsa/rsa2.go b/cipher/rsa/rsa2.go new file mode 100644 index 000000000..294f83d9a --- /dev/null +++ b/cipher/rsa/rsa2.go @@ -0,0 +1,131 @@ +/* +rsa2.go +description: RSA encryption and decryption including key generation +details: [RSA wiki](https://en.wikipedia.org/wiki/RSA_(cryptosystem)) +author(s...
4
4
1
[{"id": "G0", "claim": "The `InitRSA` constructor should be renamed to `New`, following the `New<Thing>` naming convention for functions similar to the `new` builtin.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `keyGen` method is only use...
null
TheAlgorithms__Go__729
TheAlgorithms/Go
729
defect
483431ba65c09114400a4a8967a07cd57de70bf1
613722286afd653f60d6bdd7ae025095590305cb
Improved HashMap implementation
As I was going through the current implementation of HashMap in Go, I noticed that the following improvements could be made: **Enhanced Collision Handling:** - Modified the Put method to handle collisions using linked lists (chaining). - Ensured that new key-value pairs are correctly inserted even when collision...
diff --git a/structure/hashmap/hashmap.go b/structure/hashmap/hashmap.go index b0f5dbb1d..ef75ed029 100644 --- a/structure/hashmap/hashmap.go +++ b/structure/hashmap/hashmap.go @@ -13,14 +13,14 @@ type node struct { next *node } -// HashMap is golang implementation of hashmap +// HashMap is a Golang implementatio...
1
1
0
[{"id": "G0", "claim": "Rename the Make function to New now that it returns a pointer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TheAlgorithms__JavaScript__1024
TheAlgorithms/JavaScript
1,024
defect
0357a23282f0a9848ba626bc3ea1ad63a030383c
44d2b33f27941d9221bea77b686cf49d273dc646
Add Twin Primes algorithm
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? ### Checklist: - [x...
diff --git a/Maths/TwinPrime.js b/Maths/TwinPrime.js new file mode 100644 index 0000000000..71343fc89d --- /dev/null +++ b/Maths/TwinPrime.js @@ -0,0 +1,43 @@ +function isPrime (n) { + let prime = false + + if (n > 1) { + for (let i = 2; i < n; i++) { + if (n % i === 0) { + prime = true + break ...
4
4
2
[{"id": "G0", "claim": "The pull request re-implements prime checking with a duplicated O(n) trial-division sieve; use the existing prime-checking algorithm instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `prime` flag inside the loca...
null
TheAlgorithms__JavaScript__1094
TheAlgorithms/JavaScript
1,094
defect
6c718c01d43a81eca1e51617f0f8d49381323dbe
3524bc70741cccb5e44305ec3cd45f31c3c9ca18
Binomial coefficient implementation
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? ### Checklist: - [x...
diff --git a/Maths/BinomialCoefficient.js b/Maths/BinomialCoefficient.js new file mode 100644 index 0000000000..54ed205d83 --- /dev/null +++ b/Maths/BinomialCoefficient.js @@ -0,0 +1,31 @@ +/* + * Author: Akshay Dubey (https://github.com/itsAkshayDubey) + * Binomial Coefficient: https://en.wikipedia.org/wiki/Binomial_c...
1
1
1
[{"id": "G0", "claim": "The guard rejects k = 0 (and disallows n = 0), but k = 0 is a valid argument and the formula allows n = 0, so the zero checks should accept zero.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TheAlgorithms__JavaScript__1104
TheAlgorithms/JavaScript
1,104
defect
cf0593f4307749ae2c790f500f13f30aa91f23bc
183399d09c1194e542561b15259d84ec89200764
algorithm: Square free integer
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? ### Checklist: - [x...
diff --git a/Maths/IsSquareFree.js b/Maths/IsSquareFree.js new file mode 100644 index 0000000000..c749979a78 --- /dev/null +++ b/Maths/IsSquareFree.js @@ -0,0 +1,28 @@ +/* + * Author: Akshay Dubey (https://github.com/itsAkshayDubey) + * Square free integer: https://en.wikipedia.org/wiki/Square-free_integer + * function...
1
1
0
[{"id": "G0", "claim": "The description of what the function will return and when should be annotated under @returns instead of only under @description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TheAlgorithms__JavaScript__1211
TheAlgorithms/JavaScript
1,211
defect
ff606a019e693d56752ad536ec69b771488420ab
807bbc03f9f2f4d352f405cf46db5c70e195df79
algorithm: unique paths
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) `This Problem is the most common pattern of Dynamic Programming` ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing...
diff --git a/DIRECTORY.md b/DIRECTORY.md index e1bbd77000..b5cf0077a8 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -105,6 +105,7 @@ * [RodCutting](Dynamic-Programming/RodCutting.js) * [Shuf](Dynamic-Programming/Shuf.js) * [SieveOfEratosthenes](Dynamic-Programming/SieveOfEratosthenes.js) + * [UniquePaths](D...
3
3
0
[{"id": "G0", "claim": "The implementation does not need the full m x n grid; keeping just the last row and the last value would suffice.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be added explaining the rationale behind the re...
null
TheAlgorithms__JavaScript__1218
TheAlgorithms/JavaScript
1,218
defect
ce9e2946be2291b1192ea545ea2e3881b0e879cd
20ca12d84f9bfc753fce2cd25edc2dbd57aad07c
algorithm: binary lifting
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [x] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? ### Checklist: - [x...
diff --git a/Graphs/BinaryLifting.js b/Graphs/BinaryLifting.js new file mode 100644 index 0000000000..3e96d255ec --- /dev/null +++ b/Graphs/BinaryLifting.js @@ -0,0 +1,100 @@ +/** + * Author: Adrito Mukherjee + * Binary Lifting implementation in Javascript + * Binary Lifting is a technique that is used to find the kth ...
7
6
1
[{"id": "G0", "claim": "The commented-out example invocation block at the end of Graphs/BinaryLifting.js should not be there and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since only a single function is exported, the modu...
null
TheAlgorithms__JavaScript__1249
TheAlgorithms/JavaScript
1,249
defect
0fab492cebdec8c9d1596943813218bbac95bc16
b52b3bed4a943b815f55a785f7e387ed38894743
algorithm: volume of sphere
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [X] Add an algorithm? - [ ] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? ### Checklist: - [x...
diff --git a/Geometry/SphereVolume.js b/Geometry/SphereVolume.js new file mode 100644 index 0000000000..9493a45c4c --- /dev/null +++ b/Geometry/SphereVolume.js @@ -0,0 +1,7 @@ +// https://en.wikipedia.org/wiki/Sphere rounds to 2 decimal places +const sphereVolume = (radius) => { + const volume = Math.pow(radius, 3) * ...
1
1
1
[{"id": "G0", "claim": "The standalone sphereVolume function should be combined with the sphere surface area into a single class.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TheAlgorithms__JavaScript__1300
TheAlgorithms/JavaScript
1,300
defect
6aa3314b93d1556e5dac4be2017a60a2f35bad64
16fa8a135b474cf179a60aef15120af8724e7cbf
fix: refactor PrimMST and fix bug in PriorityQueue
Fixes: #1298 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: - [ ] Add an algorithm? - [x] Fix a bug or typo in an existing algorithm? - [ ] Documentation change? Refac...
diff --git a/Data-Structures/Heap/KeyPriorityQueue.js b/Data-Structures/Heap/KeyPriorityQueue.js new file mode 100644 index 0000000000..1307740243 --- /dev/null +++ b/Data-Structures/Heap/KeyPriorityQueue.js @@ -0,0 +1,158 @@ +/** + * KeyPriorityQueue is a priority queue based on a Minimum Binary Heap. + * + * Minimum ...
4
4
0
[{"id": "G0", "claim": "The keys lookup should use an ES6 `Map` instead of a plain object for `this.keys`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`getParentPosition` should be written as a one-liner arrow function assigned to a lexically scoped `...
null
TheAlgorithms__JavaScript__1389
TheAlgorithms/JavaScript
1,389
defect
964ba049d7ab45f65f25923299af299894494a23
1872f66c2cd41162f98902ca7edd4043c48d28c6
feat: New String Algorithm for LengthofLongestSubstringWithoutRepeati…
…ngCharacters [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### Describe your change: Added an Algorithm with its Test ### Checklist: - [x] I have read [CONTRIBUTING.md](https://github.com/T...
diff --git a/String/LengthofLongestSubstringWithoutRepetition.js b/String/LengthofLongestSubstringWithoutRepetition.js new file mode 100644 index 0000000000..2af7e60836 --- /dev/null +++ b/String/LengthofLongestSubstringWithoutRepetition.js @@ -0,0 +1,27 @@ +/** + * @function lengthOfLongestSubstring + * @description F...
6
4
1
[{"id": "G0", "claim": "Remove the redundant wording in the test descriptions — everything but `lengthOfLongestSubstring` in the describe title and the `Test N: Check` prefixes below.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `@function...
null
TheAlgorithms__JavaScript__152
TheAlgorithms/JavaScript
152
defect
d37af25434c15b48622c1aec1b6e0af3a8af3ff1
c3532cad6f1dd6632d6e72ec4401e1bb271b1209
Javascript/linear-algebra-javascript
Fixes #139
diff --git a/linear-algebra-javascript/src/la_lib.js b/linear-algebra-javascript/src/la_lib.js index 628bb547da..be9f507def 100644 --- a/linear-algebra-javascript/src/la_lib.js +++ b/linear-algebra-javascript/src/la_lib.js @@ -14,17 +14,19 @@ var LinearAlgebra; var Vector = /** @class */ (function () { // const...
1
1
0
[{"id": "G0", "claim": "Remove the `|| true` from the `npx standard` step in .github/workflows/nodejs.yml so lint failures are not swallowed by CI.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
TheAlgorithms__JavaScript__636
TheAlgorithms/JavaScript
636
defect
2d0da4d17dbd08a7cba3b70897417c252c0c7e12
188c6f6537b4e112b16f6a4b6a07f9e827858900
Added averageMedian function
# Welcome to JavaScript community [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### **Describe your change:** * Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Docume...
diff --git a/Maths/AverageMedian.js b/Maths/AverageMedian.js new file mode 100644 index 0000000000..155399ba84 --- /dev/null +++ b/Maths/AverageMedian.js @@ -0,0 +1,41 @@ +/* + * Median: https://en.wikipedia.org/wiki/Median + * + * function averageMedian + * to find the median value of an array of numbers + * the numbe...
2
2
1
[{"id": "G0", "claim": "The new averageMedian function must be tested in a separate jest test file named AverageMedian.test.js in the test folder, like the other files in test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The files in the pull request...
null
TheAlgorithms__JavaScript__650
TheAlgorithms/JavaScript
650
defect
b7941432d7b03c9138bf3d8a625df9280333ed8f
46a2aeb7cfe5d2e6599dae0ebf0e2d3e7c3d8b63
Added the recursive-memoized approach for coin change combination pro…
…blem # Welcome to JavaScript community [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### **Describe your change:** * [ v] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm?...
diff --git a/Dynamic-Programming/CoinChange.js b/Dynamic-Programming/CoinChange.js index c7050177b5..7c7e6a8a6a 100644 --- a/Dynamic-Programming/CoinChange.js +++ b/Dynamic-Programming/CoinChange.js @@ -12,6 +12,46 @@ function change (coins, amount) { return combinations[amount] } +/** Coin-change combination usi...
1
1
0
[{"id": "G0", "claim": "Remove the main function from Dynamic-Programming/CoinChange.js and implement a jest test file instead of it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
TheAlgorithms__JavaScript__697
TheAlgorithms/JavaScript
697
defect
19970c35b9267d5dbfbd58e906cdfeefd50e1066
3faff2e2d43a4779457d71b0462663a1de3cd9d3
Quick select tests
# Welcome to JavaScript community [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) ### **Describe your change:** * [x] Documentation change? * [x] Add unit tests ### **Checklist:** * [x] I hav...
diff --git a/Data-Structures/Array/QuickSelect.js b/Data-Structures/Array/QuickSelect.js index 9357ba3457..dec821e86b 100644 --- a/Data-Structures/Array/QuickSelect.js +++ b/Data-Structures/Array/QuickSelect.js @@ -1,5 +1,5 @@ /** - * QuickSelect is an algorithm to find the kth smallest number + * [QuickSelect](https:...
1
1
0
[{"id": "G0", "claim": "The invalid-input branch should throw `new RangeError('Index Out of Bound')` instead of `throw Error('Index Out of Bound')`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TheAlgorithms__JavaScript__703
TheAlgorithms/JavaScript
703
defect
ee605b7694f9237574bd8b6ebbe45da253fd05f8
a8140fa72294f23d24c2521cc2dc7d5ac2b92d53
Dice
# Welcome to JavaScript community [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)&nbsp;[know more](https://www.gitpod.io/docs/pull-requests/) Adds an algorithm to calculate Sørensen–Dice coefficient of 2 strings. * [x] Add an algorithm? * [ ] Fix a bug or...
diff --git a/String/DiceCoefficient.js b/String/DiceCoefficient.js new file mode 100644 index 0000000000..44ea4a5cc6 --- /dev/null +++ b/String/DiceCoefficient.js @@ -0,0 +1,52 @@ +/* The Sørensen–Dice coefficient is a statistic used to gauge the similarity of two samples. + * Applied to strings, it can give you a valu...
3
3
2
[{"id": "G0", "claim": "The file should export diceCoefficient with ESM syntax (export { diceCoefficient }) instead of module.exports, since the repository uses esm.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add tests for the dice coefficient a...
null