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
ManimCommunity__manim__3839
ManimCommunity/manim
3,839
defect
73200d6644af285b26c1698c3058822794392e14
059e5a261823adbc08b1d551dbeaa56b743279d5
Fix :attr:`.ManimConfig.format` not updating movie file extension
Closes #3837 ## Example of Bug ```pycon >>> from manim import config >>> config.movie_file_extension '.mp4' >>> config.format = "webm" >>> config.movie_file_extension '.mp4' >>> config.transparent = config.transparent >>> config.movie_file_extension '.webm' ```
diff --git a/manim/_config/utils.py b/manim/_config/utils.py index 03163117784..6c2492d95e7 100644 --- a/manim/_config/utils.py +++ b/manim/_config/utils.py @@ -1052,6 +1052,7 @@ def format(self, val: str) -> None: val, [None, "png", "gif", "mp4", "mov", "webm"], ) + self.resol...
2
2
1
[{"id": "G0", "claim": "The pull request should add a test covering its changed behaviour (setting ManimConfig.format now updating movie_file_extension).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It is somewhat odd how differently the case of .gif ...
null
ManimCommunity__manim__3876
ManimCommunity/manim
3,876
defect
a03e73c8221fcc780a8e541b5b67603b353ee35e
a68f19fb3ae350af9075c8751f3d44f6f416abdb
feat: set_default for Animation class
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our release changelog, add ...
diff --git a/manim/animation/animation.py b/manim/animation/animation.py index 042054b7ba..35ab008bbe 100644 --- a/manim/animation/animation.py +++ b/manim/animation/animation.py @@ -16,6 +16,7 @@ from collections.abc import Iterable, Sequence from copy import deepcopy +from functools import partialmethod from typ...
2
2
1
[{"id": "G0", "claim": "The new Animation.set_default behaviour ships without any tests and tests for this behaviour should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docstring example is missing whitespace after commas on three lines ...
null
ManimCommunity__manim__3901
ManimCommunity/manim
3,901
defect
c0b04876dbc357ed0739b668b47199dbb9f61d91
f7710efd3af72b8c9a9cdc837548423d96e1eaef
Changing the 'side_length' attribute to a property
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our release changelog, add ...
diff --git a/manim/mobject/geometry/polygram.py b/manim/mobject/geometry/polygram.py index 0a9edbadd7f..d441ff8ed66 100644 --- a/manim/mobject/geometry/polygram.py +++ b/manim/mobject/geometry/polygram.py @@ -685,9 +685,16 @@ def construct(self): """ def __init__(self, side_length: float = 2.0, **kwargs) ->...
2
2
2
[{"id": "G0", "claim": "A test should be added covering the side_length property behavior.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test assertion should use np.isclose (or an absolute-difference check) instead of exact equality, to tolerate f...
null
ManimCommunity__manim__3903
ManimCommunity/manim
3,903
defect
c0b04876dbc357ed0739b668b47199dbb9f61d91
c4378a8ad0bd7b3e94646153867bee268527e58e
feat: preserve original TeX colors
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our release changelog, add ...
diff --git a/manim/mobject/text/tex_mobject.py b/manim/mobject/text/tex_mobject.py index c6810d8f65..6f12885725 100644 --- a/manim/mobject/text/tex_mobject.py +++ b/manim/mobject/text/tex_mobject.py @@ -12,7 +12,7 @@ from __future__ import annotations -from manim.utils.color import ManimColor +from manim.utils.col...
4
3
1
[{"id": "G0", "claim": "Removing VMobject from the vectorized_mobject import creates a cyclic import between manim.mobject.types.vectorized_mobject and this module.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Adding color as a named kwarg with de...
null
ManimCommunity__manim__3956
ManimCommunity/manim
3,956
defect
d6f066c1318a3d131823926b7a5d31c2aaa48ccb
02440b058abae3ed5c19da7cf9ae84b9a3f618cc
Set AAC codec for audio in mp4 files, add transcoding utility
When the output format is mp4, pyav seems to reject wav-format audio. Convert to AAC. Also, certain versions of pyav reject frame rates specified as float. Ensure `frame_rate` has type `Fraction`.
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.py index 78cc25719ab..78fcd5ee059 100644 --- a/manim/scene/scene_file_writer.py +++ b/manim/scene/scene_file_writer.py @@ -40,6 +40,38 @@ from manim.renderer.opengl_renderer import OpenGLRenderer +def to_av_frame_rate(fps): + epsi...
5
4
2
[{"id": "G0", "claim": "With `--format=mp4 --transparent`, manim constructs a .mov but config.format stays mp4, so the new AAC conversion conditional is entered when it probably should not be; the reviewer asks that the branch compare against config.format instead.", "category": "correctness", "verdict": "supported", "...
null
ManimCommunity__manim__3964
ManimCommunity/manim
3,964
defect
ce1fff645d2b457919933c3f92cb6106fbb9b6a1
8487b44d5dac3f3b90b6fe3ed9e5b3164a3e2661
Allow :class:`.SurroundingRectangle` to accept multiple Mobjects
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? Adds a secondary constructor to SurroundingRectangle and BackgroundRectangle, which takes a list of obj...
diff --git a/manim/mobject/geometry/shape_matchers.py b/manim/mobject/geometry/shape_matchers.py index 296d9b9d9f..98a1ddfc99 100644 --- a/manim/mobject/geometry/shape_matchers.py +++ b/manim/mobject/geometry/shape_matchers.py @@ -4,6 +4,7 @@ __all__ = ["SurroundingRectangle", "BackgroundRectangle", "Cross", "Underl...
3
3
1
[{"id": "G0", "claim": "The first parameter of the SurroundingRectangle.multiple class method should be named 'cls' instead of 'self'.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The first parameter of the BackgroundRectangle.multiple class metho...
null
ManimCommunity__manim__3965
ManimCommunity/manim
3,965
defect
ce1fff645d2b457919933c3f92cb6106fbb9b6a1
88ccd74ca5b2cef0a401527f54ad58465727e0b1
Add `scale_stroke` boolean parameter to `VMobject.scale()` to allow scaling `stroke_width` along with the `VMobject`
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? This change adds an optional boolean to `Mobject.scale(...)`, which enables outline scaling: `circle.s...
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py index cf8a113104..9a61cd090f 100644 --- a/manim/mobject/mobject.py +++ b/manim/mobject/mobject.py @@ -1221,7 +1221,7 @@ def shift(self, *vectors: Vector3D) -> Self: return self - def scale(self, scale_factor: float, **kwargs) -> Self: + ...
3
2
1
[{"id": "G0", "claim": "The docstring sentence should read \"If enabled, and object with 2px outline is scaled by a factor of .5, it will have an outline of 1px.\" instead of the garbled wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Stro...
null
ManimCommunity__manim__3982
ManimCommunity/manim
3,982
defect
a395ffd698130602aeab5541f4744e3b4a237f7e
4da925c7f153d52b8341799b70c43b9e6310dd54
Refactored `run_time` validation for `Animation` and `Scene.wait()`
I made a new function `validate_run_time()` to refactor a validation already done somewhere else: it takes a `run_time` and raises a `ValueError` if it is `<= 0`, or a warning if it's too short for the current frame rate. Then, I called it on `Animation.begin()`, `Wait.begin()` and `AnimationGroup.begin()`, as well as ...
diff --git a/manim/animation/animation.py b/manim/animation/animation.py index 8bdf236b3f..85d5092142 100644 --- a/manim/animation/animation.py +++ b/manim/animation/animation.py @@ -2,14 +2,13 @@ from __future__ import annotations +from manim._config import config, logger +from manim.constants import RendererType...
2
1
1
[{"id": "G0", "claim": "Rewriting the module-level relative imports to absolute imports in manim/animation/animation.py and manim/scene/scene.py triggers module-level cyclic-import alerts, so the imported names (Mobject, Animation, Wait, prepare_animation, validate_run_time, Camera, configure_pygui, CairoRenderer, Open...
null
ManimCommunity__manim__3992
ManimCommunity/manim
3,992
defect
9f1f239f10dcea3e6582efcc2d9985a50fa74b5b
fefb941ed08ad2787b082ee6755518df66020a23
Add darker, lighter and contrasting methods to ManimColor
## Overview This adds 3 new methods on `ManimColor`s: `darker()`, `lighter()` and `contrasting()`, which return new colors. ## Motivation This is useful to derive related colors from a base color, for example to write a function that builds VMobjects with some fill color, a slightly darker border, and an inset...
diff --git a/manim/utils/color/core.py b/manim/utils/color/core.py index 63c1605dc1..6bf66e2607 100644 --- a/manim/utils/color/core.py +++ b/manim/utils/color/core.py @@ -606,6 +606,92 @@ def interpolate(self, other: ManimColor, alpha: float) -> Self: self._internal_space * (1 - alpha) + other._internal_sp...
9
8
0
[{"id": "G0", "claim": "The black (and white) color objects should be constants rather than being generated on every call, since ManimColor object creation is slow, especially for automation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstr...
null
ManimCommunity__manim__4017
ManimCommunity/manim
4,017
defect
c516932f9f5215bf4b9c87836894aa19fed827ed
5c59c6f8a2f4614e35fa72022f99bf78143e8860
Allow animations with `run_time=0` and implement convenience `Add` animation
Closes #4004 This PR refactors the `Animation.run_time` validation. Instead of checking in `Animation.begin()` that each individual animation has a positive `run_time` which is large enough for the current frame rate, we now have the following: - `Animation.run_time` is now a property that only checks that the giv...
diff --git a/manim/animation/animation.py b/manim/animation/animation.py index e090d99059..8a965156ee 100644 --- a/manim/animation/animation.py +++ b/manim/animation/animation.py @@ -7,17 +7,17 @@ from .. import config, logger from ..constants import RendererType from ..mobject import mobject -from ..mobject.mobject...
4
2
0
[{"id": "G0", "claim": "The names `Group` and `Mobject` imported at module level in manim/animation/animation.py may be undefined, because manim.mobject.mobject defines them only after its own cyclic import of manim.animation.animation.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pr...
null
ManimCommunity__manim__4080
ManimCommunity/manim
4,080
defect
dbad8a86bc6041af78d5fb7d7a07f76d9b164072
4d26524dbff161175eafb9118b77c3b9a4707bd7
Ensure that start and end points are stored as float values in Line3D
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our release changelog, add ...
diff --git a/manim/mobject/three_d/three_dimensions.py b/manim/mobject/three_d/three_dimensions.py index 5732ebb98c..7925ed5ea9 100644 --- a/manim/mobject/three_d/three_dimensions.py +++ b/manim/mobject/three_d/three_dimensions.py @@ -926,6 +926,10 @@ def __init__( ): self.thickness = thickness s...
3
3
0
[{"id": "G0", "claim": "Use the keyword form for the dtype argument, i.e. np.array(start, dtype=np.float64), in Line3D.__init__.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Compute np_end = np.asarray(end, dtype=np.float64) once and reuse it ...
null
ManimCommunity__manim__4089
ManimCommunity/manim
4,089
defect
17d4a7f635a76879e7b13e442bf0a8637f0e6d0c
04fe98d4d49cba1d5c53eff7745c513f60035ae6
Fix of ImageMobject opacity bug
## Overview: What does this pull request change? Closes #4072 The issue was introduced in #3960 as part of an optimization. ## Further Information and Comments I would suggest to add a unittest that ensures that the bug is not reintroduced. The problem was related to handling of unsigned integers. The code be...
diff --git a/manim/utils/bezier.py b/manim/utils/bezier.py index 129c26b3c9..28958309a5 100644 --- a/manim/utils/bezier.py +++ b/manim/utils/bezier.py @@ -1059,7 +1059,7 @@ def interpolate( * ``alpha`` is a :class:`float`, the return is another :class:`~.Point3D`. * ``alpha`` is a :class:`~.Co...
1
1
1
[{"id": "G0", "claim": "The PR's fix to interpolate (which handles the uint8 underflow when the end value is less than the start value) ships without a unit test, which the reviewer says he will think about.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ManimCommunity__manim__4091
ManimCommunity/manim
4,091
defect
17d4a7f635a76879e7b13e442bf0a8637f0e6d0c
e996c621b7d71e14f959f48ee9e1cfb81f199377
Fix `VMobject.add_points_as_corners()` to return `self` and safely handle empty `points` parameter
Closes #4090 In the earlier PR #3765, I optimized `VMobject.add_points_as_corners()` to allocate space for `VMobject.points` only once, instead of calling N times in a for loop the `add_line_to()` method which allocated space N times, one for each point. This is really helpful for drawing and animating multiple `Pa...
diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.py index e03825c96f..c407dd6a27 100644 --- a/manim/mobject/types/vectorized_mobject.py +++ b/manim/mobject/types/vectorized_mobject.py @@ -1039,7 +1039,7 @@ def close_path(self) -> None: if not self.is_closed(): ...
1
1
1
[{"id": "G0", "claim": "Add a test covering the changed add_points_as_corners() behaviour (returning self and safely handling empty points).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ManimCommunity__manim__4133
ManimCommunity/manim
4,133
defect
a8c16fbfb1bdb37c74413bcc388e3c4edd144fa3
82aa93af27f92d1a361748b9291c9210b895ca5f
Add type hints to `scene_file_writer.py`, `section.py`, and `zoomed_scene.py`
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our release changelog, add ...
diff --git a/manim/scene/moving_camera_scene.py b/manim/scene/moving_camera_scene.py index 686686f07b..83917a3427 100644 --- a/manim/scene/moving_camera_scene.py +++ b/manim/scene/moving_camera_scene.py @@ -89,7 +89,7 @@ def create_scene(number): __all__ = ["MovingCameraScene"] -from typing_extensions import Any +...
7
7
2
[{"id": "G0", "claim": "Instead of coercing the value with str(scene_name) at the call site, the scene_name parameter of SceneFileWriter.__init__() should itself be typed str, and DummySceneFileWriter.__init__()'s scene_name hint should be changed to str as well.", "category": "design", "verdict": "supported", "priorit...
null
ManimCommunity__manim__4193
ManimCommunity/manim
4,193
defect
3c6a1ee80b6a49d86dd9c08c1122a28e05fdfb77
27741fead00674a4271952d4cb45dd5dd1dfdb58
Fix :meth:`VMobject.pointwise_become_partial` failing when `vmobject` is `self`
_EDIT by chopan050 - Original title: "Fix `Line` failing with `buff` and `path_arc`"_ <!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? Fixes #4132 ...
diff --git a/manim/mobject/geometry/line.py b/manim/mobject/geometry/line.py index be6c3a77ba..8c3fb5c3ef 100644 --- a/manim/mobject/geometry/line.py +++ b/manim/mobject/geometry/line.py @@ -133,7 +133,7 @@ def _account_for_buff(self, buff: float) -> None: if length < 2 * buff: return buf...
2
2
2
[{"id": "G0", "claim": "Use the first approach instead: copy `vmobject.points` when `vmobject` is `self` inside `pointwise_become_partial`, rather than passing `self.copy()` in `Line._account_for_buff`, because it addresses the root cause for all callers of `pointwise_become_partial()` and copies only the points array ...
null
ManimCommunity__manim__4242
ManimCommunity/manim
4,242
defect
f304bd93eab1ca450a86eff476c7f51bd81fe1fb
5fb819dc1e3cd99b18f60f49a0fbf4fe0069a92c
Fix duplicate references in `Scene.mobjects` after `ReplacementTransform` with existing target mobject
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview: What does this pull request change? Fix https://github.com/ManimCommunity/manim/issues/4238 Fix duplicate mobject reference issue when u...
diff --git a/manim/scene/scene.py b/manim/scene/scene.py index fc3d3ede54..c45fd04a73 100644 --- a/manim/scene/scene.py +++ b/manim/scene/scene.py @@ -553,6 +553,10 @@ def replace(self, old_mobject: Mobject, new_mobject: Mobject) -> None: def replace_in_list( mobj_list: list[Mobject], old_m: Mobje...
1
1
1
[{"id": "G0", "claim": "Replacing a mobject with itself via Scene.replace (e.g. self.replace(sq, sq)) makes the new code remove the mobject from the list, so replace later raises 'ValueError: Could not find Square in scene'; the guard should return True (with a warning) instead of removing.", "category": "correctness",...
null
ManimCommunity__manim__4515
ManimCommunity/manim
4,515
defect
d60154d024d9a6196801a9bba69a5095991dd99d
64894a7c7907b36bf0f0617ece0511b403a1925e
Rewrite MathTex to make it more robust regarding splitting
## Overview: What does this pull request change? This PR changes a large part of the implementation of the MathTex class. The reason is to deal with the issues related to splitting the tex string and then try to match the generated objects with parts of the original tex string. The idea for the PR is based on this d...
diff --git a/issue/MathTexExamples.py b/issue/MathTexExamples.py new file mode 100644 index 0000000000..7db451bfc7 --- /dev/null +++ b/issue/MathTexExamples.py @@ -0,0 +1,257 @@ +from __future__ import annotations + +from manim import * + + +class ExampleScene2(Scene): + def construct(self): + formula = MathT...
2
2
0
[{"id": "G0", "claim": "The assignment 'parent_name = vgroup_stack[-2]' is unnecessary because 'parent_name' is redefined by the following for-loop before the value is used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The bare 'print(e)' in t...
null
ManimCommunity__manim__4544
ManimCommunity/manim
4,544
defect
172ea97d708b2430ea406c2b05cf5aadd58c02dd
92521b1101a7516e66be5e3e17dac36d7627665a
[EXPERIMENTAL] Fix wait animation system
# Pull Request Description ## Overview This PR addresses multiple bugs in the experimental branch related to the Wait animation system and dependency compatibility. **Changes:** 1. Wait Animation Unification - Implements the TODO in `Manager._wait()` by making `Scene.wait()` use `play(Wait(...))` 2. `Mobject...
diff --git a/manim/manager.py b/manim/manager.py index 171d4ba13e..c609646dd2 100644 --- a/manim/manager.py +++ b/manim/manager.py @@ -6,12 +6,13 @@ import platform import time import warnings -from collections.abc import Callable, Iterable, Iterator, Sequence +from collections.abc import Iterable, Iterator, Sequenc...
2
1
1
[{"id": "G0", "claim": "The played animations should not be stored as an attribute on Scene, and is_current_animation_frozen_frame should take the animations as an argument instead of reading self.animations (tests can mock the method and use call_args to access the animations).", "category": "design", "verdict": "supp...
null
ManimCommunity__manim__4556
ManimCommunity/manim
4,556
defect
dcc6f4b901708568338c40be1af69029cd420a79
319ab3058a019389bcba38cde4de3c758b964a90
[EXPERIMENTAL] Fix ManimBanner animations by modifying Mobject.become(), Mobject.get_center(), and ManimBanner.expand()
Fix `ManimBanner` animations: - In `ManimBanner.create()`, the shapes (circle, square, triangle) were shooting off very crazily: - ⁨⁨⁨`shape.restore()`⁩⁩⁩ was actually modifying ⁨⁨⁨`shape.saved_state`⁩⁩⁩ - ⁨⁨⁨`shape.restore()`⁩⁩⁩ is basically ⁨⁨⁨`shape.become(shape.saved_state)`⁩⁩⁩ and the current implementati...
diff --git a/manim/mobject/logo.py b/manim/mobject/logo.py index 74fa844845..28da89855d 100644 --- a/manim/mobject/logo.py +++ b/manim/mobject/logo.py @@ -327,11 +327,13 @@ def slide_back(mob: Mobject, alpha: float) -> None: slide_and_uncover, run_time=run_time * 2 / 3, ...
3
1
1
[{"id": "G0", "claim": "The new .copy() in OpenGLMobject.get_center() adds overhead, and the reviewer asks whether get_center is ever called in hot paths or whether this is only something to keep an eye on in the future.", "category": "performance", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id...
null
ManimCommunity__manim__4567
ManimCommunity/manim
4,567
defect
2f38426cebafafa7677e541faa742f174c49a4cd
b916a0c9c9192736387ac381f26c4859fe481417
Fixed division by 0 in "turn_animation_into_updater"
## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our release changelog, add it in the following changelog section. This is optional, but recommended for larger pull requests. --> <!--changelog-start--> Fixes a division by 0 issue in turn_ani...
diff --git a/manim/animation/updaters/mobject_update_utils.py b/manim/animation/updaters/mobject_update_utils.py index a332b44cce..25fb372254 100644 --- a/manim/animation/updaters/mobject_update_utils.py +++ b/manim/animation/updaters/mobject_update_utils.py @@ -214,6 +214,16 @@ def construct(self): def update(m: ...
1
1
1
[{"id": "G0", "claim": "The pull request must revert the version number change (pyproject.toml 0.19.2 -> 0.19.3 and the matching uv.lock change), since a new release will happen soon.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ManimCommunity__manim__4595
ManimCommunity/manim
4,595
defect
40c166153d0c6dc5a8454d4d39a62c43ee20786e
a8dd38290009836c024623b588ef276d08d49c5d
[EXPERIMENTAL] Remove `_on_finish` parameter from `Animation`
See title - this is possible due to the whole animation loop refactor. There's something slightly strange going on with regard to the vertices being added to the Graph mobject itself not being drawn to the scene until explicitly added, but even disregarding that this is a good bit of progress.
diff --git a/example_scenes/test_new_rendering.py b/example_scenes/test_new_rendering.py index 260f12fed2..ed4c33e59e 100644 --- a/example_scenes/test_new_rendering.py +++ b/example_scenes/test_new_rendering.py @@ -46,8 +46,21 @@ def manim_banner(self) -> None: self.play(Unwrite(banner)) @group - def...
2
2
1
[{"id": "G0", "claim": "In `_AddVerticesAnimation.finish()`, removing the new vertex mobjects from `self.buffer` and re-adding them individually disbands the original graph in the scene, so the newly added vertices stop showing up after the animation; instead `_add_created_vertex` should be applied without buffer remov...
null
ManimCommunity__manim__4658
ManimCommunity/manim
4,658
defect
21cf9998cc7ad34cdc5cb2fae09aa500d88d86c2
41e5da2deec6120151173c2ccefbee91a9e1174b
Refactor `Mobject.put_start_and_end_on()` to shift `Mobject` to `start` when it's a closed curve
## Overview: What does this pull request change? This PR refactors the method "put_start_and_end_on" in mobject.py and opengl_mobject.py: Replaces self.points = np.array(start) with self.shift(np.asarray(start) - current_start) in the case of a mobject whose start and end point are the same, in both mobject.py and...
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py index 9f3818c188..b3ad97432a 100644 --- a/manim/mobject/mobject.py +++ b/manim/mobject/mobject.py @@ -1941,30 +1941,35 @@ def surround( return self def put_start_and_end_on(self, start: Point3DLike, end: Point3DLike) -> Self: - curr...
3
3
2
[{"id": "G0", "claim": "The pull request's change to put_start_and_end_on makes the pre-existing test test_start_and_end_at_same_point in tests/module/mobject/graphing/test_number_line.py fail, and its assertion must be fixed (flip the argument order and expect np.zeros((4, 3)) instead of np.zeros(3)) in order to appro...
null
MarechJ__hll_rcon_tool__52
MarechJ/hll_rcon_tool
52
defect
1146da98660a4df9507117d8c7400cc666b196ce
746207e211bc1db79a960a3938cf22a6016c1b14
Experimental
Release - Add auto-ban feature for VAC and game ban. With audit trail in DB and on discord - Fix bug for old admin names staying in cache after been deleted from accounts - Attempted fix to limit the frequency of failures in game logs calls - Fix bug that would prevent the application from starting if discord is ...
diff --git a/.env b/.env index ae11b2430..db3005498 100644 --- a/.env +++ b/.env @@ -4,7 +4,8 @@ HLL_HOST= HLL_PORT= # This is the rcon password of your game server HLL_PASSWORD= -# This is a database password you have to choose, It does not have to be memorable as you will never access it directly +# This is a data...
1
1
1
[{"id": "G0", "claim": "The MAX_GAME_BAN_THRESHOLD logic in should_ban is flawed because the strict '>' comparison makes a single game ban untriggerable at any threshold setting (1 fails, 0 disables), so the comparison should be changed to '>=' meaning 'N or more'.", "category": "correctness", "verdict": "supported", "...
null
MariaDB4j__MariaDB4j__1145
MariaDB4j/MariaDB4j
1,145
defect
bcae727ad6ac481aef551654189c3d34e01e390a
bf0364c2b540891a1b0a9e8d15b1883e155faa4f
Use hashCode in name of temporary directories
This is a clean up version of https://github.com/MariaDB4j/MariaDB4j/pull/985
diff --git a/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DBConfigurationBuilder.java b/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DBConfigurationBuilder.java index e4b5a77c3..2435dfe63 100644 --- a/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DBConfigurationBuilder.java +++ b/mariaDB4j-core/src/...
1
1
0
[{"id": "G0", "claim": "Using the object's hashCode in the temporary directory name could potentially lead to collisions in edge cases; consider using a more robust and unique identifier such as a random UUID.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
MariaDB4j__MariaDB4j__1166
MariaDB4j/MariaDB4j
1,166
defect
b629ccb3b42953d0f749d3def533d242b2f05995
6bdba584b992ea96350d3ac39c566d3543e84520
Open existing database
Issue #1042 Added a DB.openEmbeddedDB() method to reuse an existing database. The use case would be: - check if the database folder exists - when it does not exist, use the DB.newEmbeddedDB() method - when it exists, use the DB.openEmbeddedDB() method This will ensure that you can restart your process without...
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2432c998f..0982f532a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -27,6 +27,7 @@ MariaDB4j CONTRIBUTORS - Theodore Ni [@tjni](https://github.com/tjni), Aug 2019 Reduce file copying during classpath unpacking - Tamas Gaspar [@tomlincoln](https://github.com/...
2
2
1
[{"id": "G0", "claim": "The new openEmbeddedDB functionality ships without any test coverage; the reviewer asks for a new @Test illustrating the new functionality in the existing MariaDB4jSampleTutorialTest.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
MariaDB4j__MariaDB4j__1308
MariaDB4j/MariaDB4j
1,308
defect
93dda3f259e90e2d5a11247f54129ca59adb2520
cfe4afae89304c0ca54e4059154c55c9b6086530
chore: Bump maven-plugin-testing-harness from 3.3.0 to 3.4.0,
and switch from old to newer JUnit version This is the (hopefully) correct solution for #1282 and #1307. Gemini CLI helped with this, but also wasn't able to do it completely autonmously, but with interaction help as well as looking up things on Gemini Web in Pro Code mode we eventually figured it out.
diff --git a/mariaDB4j-maven-plugin/pom.xml b/mariaDB4j-maven-plugin/pom.xml index 022325d79..99baa3ee3 100644 --- a/mariaDB4j-maven-plugin/pom.xml +++ b/mariaDB4j-maven-plugin/pom.xml @@ -1,4 +1,6 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc...
1
1
1
[{"id": "G0", "claim": "The migrated JUnit 5 @Timeout(500) means 500 seconds instead of the original 500 milliseconds, so the timeout should be specified as @Timeout(value = 500, unit = TimeUnit.MILLISECONDS).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MariaDB4j__MariaDB4j__139
MariaDB4j/MariaDB4j
139
defect
013d0d01afd98cc0a7fa5316f9d823a2f0a23c81
de9f02a4e85f8ec512daec75123cb6bcfa810843
Add MariaDB4J as JUnit Rule
Add MariaDB4j as an External Resource to be used as a JUnit rule, with some convenience methods for initializing the DB.
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 70634da6d..9284312b5 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -19,6 +19,7 @@ MariaDB4j CONTRIBUTORS - Jai Deep Mulchandani [@jai-deep](https://github.com/jai-deep) <Jaideep.Mulchandani@walmart.com> Jan 2018; for http://walmartlabs.com - Lukasz Degus [...
8
8
1
[{"id": "G0", "claim": "Removing <scope>test</scope> from the junit dependency means all MariaDB4j users get JUnit on their runtime (production) classpath as an implicit transitive dependency; address it, e.g. with <optional>true</optional>.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in...
null
MariaDB4j__MariaDB4j__300
MariaDB4j/MariaDB4j
300
defect
40bec00d28f9c0efdb825eec1b2e19220467792a
26577934243a1379f36310c88c66bf610b175fa2
Rename installPreparation method to createMysqlInstallProcess and expose as protected
As per #299 , exposing `installPreparation` (and rename the method to something more appropriate) to allow for subclassing of the `install` method to better suit individual project needs.
diff --git a/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java b/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java index a33ac05dc..9ba146d33 100644 --- a/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java +++ b/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java @@ -7,9 +7,9 @@ *...
1
1
1
[{"id": "G0", "claim": "Rename the newly exposed method createMysqlInstallProcess to createDBInstallProcess so the API avoids MySQL-vs-MariaDB naming.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MariaDB4j__MariaDB4j__476
MariaDB4j/MariaDB4j
476
defect
0dde2bcb1e3bd5c127ee7361c0178dac4c51dfe4
9b0f8d30bc995d17aa780931ad5ea569d484ea80
mariaDB4j-maven-plugin: exposed database url as Maven Project property
There is currently no way to know on which port the `mariaDB4j-maven-plugin` has started the database so that integration tests can connect to it. The only option is to hardcode a port number in the configuration of the `mariaDB4j-maven-plugin`, and use that same hardcoded port number in your test. The old plugin v...
diff --git a/README.md b/README.md index 844aa2658..08c686199 100755 --- a/README.md +++ b/README.md @@ -157,6 +157,51 @@ helpful tool for launching MariaDB from Java. See pom and integration test in https://github.com/vorburger/MariaDB4j/tree/mariaDB4j-maven-plugin/mariaDB4j-maven-plugin/src/it/mariadb4j-maven-plug...
3
2
2
[{"id": "G0", "claim": "The pull request is breaking the tests with a NullPointerException at ch.vorburger.mariadb4j.StartMojo.runWithMavenJvm(StartMojo.java:64), and the author should rebase and fix whatever is causing that NPE before it can be merged.", "category": "correctness", "verdict": "supported", "priority": "...
null
MariaDB4j__MariaDB4j__533
MariaDB4j/MariaDB4j
533
defect
7764f24bbc4c99d351bd8b9049a2e8011b71424e
3b6b0980b9cba7cfb87b85126e006dda3419a296
Support default character set configuration.
Hi, I add default character set option in configuration. I know the addArgument function, but this action only effect with server side. When you want run script as another character set, "addArgument" function will doesn't work.
diff --git a/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java b/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java index e50e3a60a..9ee678fb4 100644 --- a/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java +++ b/mariaDB4j-core/src/main/java/ch/vorburger/mariadb4j/DB.java @@ -195,6 +195,9 @@...
1
1
0
[{"id": "G0", "claim": "The new getDefaultCharacterSet() method in DBConfigurationImpl should be annotated with @Override, as it implements a method declared in the DBConfiguration interface (MissingOverride).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MariaDB4j__MariaDB4j__772
MariaDB4j/MariaDB4j
772
defect
a9b1c23a9e9a7e1b6f9c6df4ee59bd72adce1521
8aa44dccc36077ec80572aabfc1b761d83b3628a
Adapt new MariaDB v10.11.5 Support (additional related changes on top of original PR #771)
This PR adds a number of adaptions on top of PR #771 from @TheKnowles. @TheKnowles FYI
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 19fed823d..98fb7878e 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -26,6 +26,7 @@ MariaDB4j CONTRIBUTORS - Gordon Little [@glittle1972](https://github.com/glittle1972), Jun 2019 Add option to force continue-on-error for sourcing SQL scripts - Theodore Ni [@...
1
1
1
[{"id": "G0", "claim": "The winx64 prepare.xml patternset is missing the mysql binaries and a couple of other files that the original branch had added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MariaDB__server__2432
MariaDB/server
2,432
defect
2743a510a156456fe57429032bf41c0da0f11198
3dd6c6e69ca53faa5a93c715233ab95fd738106d
MDEV-35986 - Use memory safe snprintf() in client
## Description Replace sprintf(buf, ...) with snprintf(buf, sizeof(buf), ...), where buf is allocated with a size known at compile time. This makes sure we are not writing outside array/string bounds which will lead to undefined behaviour. In case the code is trying to write outside bounds - safe version of fun...
diff --git a/client/mysql.cc b/client/mysql.cc index d53d4f304e93c..0b406d11aa8e7 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1240,11 +1240,11 @@ int main(int argc,char *argv[]) histfile=my_strdup(getenv("MYSQL_HISTFILE"),MYF(MY_WME)); else if (getenv("HOME")) { - histfile=(char*) my_ma...
6
6
0
[{"id": "G0", "claim": "The new histfile_tmp_sz computation needlessly casts strlen(histfile) to uint.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Most of the sprintf-to-snprintf conversions are unnecessary because each buffer is already guar...
null
MariaDB__server__4281
MariaDB/server
4,281
defect
5c9c81ed5408594e9113a0bdc0af08b39b69c56a
d0667f9876516a165153486b1bba43ef3d50ca30
MDEV-23283 User Statistics does not correctly reflect concurrent_conn…
…ections Keep concurrent_connections updated when user stats are enabled. When a user connects, the count in concurrent_connections increases by one; when they disconnect, it decreases by one. Setting the global userstat begins counting new concurrent sessions from that point forward; pre-existing concurrent ses...
diff --git a/mysql-test/main/userstat.result b/mysql-test/main/userstat.result index d7c5a66bde91b..8919081f9eca6 100644 --- a/mysql-test/main/userstat.result +++ b/mysql-test/main/userstat.result @@ -147,10 +147,12 @@ show table_statistics; Table_schema Table_name Rows_read Rows_changed Rows_changed_x_#indexes show ...
4
3
2
[{"id": "G0", "claim": "The userstat test can fail because CONCURRENT_CONNECTIONS fluctuates between 2 and 1 depending on when the '--disconnect ssl_con' is processed by the server, so the test should wait for the disconnect to be processed (e.g. by cherry-picking the 12.1 mariadb-test change or using wait_until_count_...
null
MariaDB__server__4522
MariaDB/server
4,522
defect
5ed3668890390060526434b92271756392d77869
21b2b2c46085ec516d9a42c02b2d1d01ef71deba
MDEV-38499: cmake and compile errors on MacOSX when compiling mariadb from a git tree
Fix the warnings issued by a normal MacOSX compile. Problems: 1. sprintf is deprecated in favor of snprintf 2. bison incorrectly issues a warning when it sees "b4_bin" 3. MacOSX linker issues a warning about duplicate mysys/dbug/etc libraries. On 1: replaced the relevant sprintf with snprintf. On 2: worked ar...
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 859227d0f6af9..2e9dc987b2c28 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -97,6 +97,7 @@ ENDIF(WIN32) # async_example is just a code example, do not install it. ADD_EXECUTABLE(async_example async_example.c) +SUPPRES_DUPLICATE_LIBR...
7
6
1
[{"id": "G0", "claim": "Suggest a more meaningful name for the parser_utf8 macro, also capitalized like MY_CHARSET_UTF8MB4_BIN per the usual convention for macros.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of the SUPPRES_DUPLICATE_L...
null
MariaDB__server__4615
MariaDB/server
4,615
defect
bf686bb987766bce4ca842d12178d0c08710cab8
c0781c08dfc2af9af050fdd1680fdca68e25ceb6
MDEV-38753: Debugging help: print which MEM_ROOT the object is on
Add two functions intended for use from debugger: bool dbug_is_mem_on_mem_root(MEM_ROOT *mem_root, void *ptr); const char *dbug_which_mem_root(THD *thd, void *ptr); Also, collect declarations of all other functions intended for use from debugger in sql/sql_debug.h
diff --git a/sql/item.h b/sql/item.h index c74097739d389..6caf2f0dd4b63 100644 --- a/sql/item.h +++ b/sql/item.h @@ -100,12 +100,6 @@ class ValueBuffer: public Value }; -#ifdef DBUG_OFF -static inline const char *dbug_print_item(Item *item) { return NULL; } -#else -const char *dbug_print_item(Item *item); -#endif ...
8
5
1
[{"id": "G0", "claim": "The pull request places its new debugger helpers in sql_test.cc although sql_debug.cc exists for debug-only code; how do the two files differ?", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the blank line so the function im...
null
MariaDB__server__4703
MariaDB/server
4,703
defect
549628d9ccb822252b55210d922cef3d13eecd71
69e730346da4e32913e74ef5370f33ac212e82b8
MDEV-36676 Add debug function to print MEM_ROOT name
## Description MEM_ROOTs used to have names stored inside the structure. Now these names are stored in Performance Schema, making it difficult to retrieve them during debugging. Add dbug_print_memroot_name() function that retrieves and prints the name of a MEM_ROOT from Performance Schema. The function uses DBUG_...
diff --git a/include/my_sys.h b/include/my_sys.h index 3fd85988a7619..284badfb6d754 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -972,6 +972,12 @@ static inline LEX_STRING lex_string_strmake_root(MEM_ROOT *mem_root, extern LEX_STRING lex_string_casedn_root(MEM_ROOT *root, ...
5
5
4
[{"id": "G0", "claim": "The my_sys.h declaration with the #else no-op macro should just be an empty define, similar to e.g. DBUG_ENTER.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The function should print to standard output (not via the possibly turn...
null
Marker-Inc-Korea__AutoRAG__1044
Marker-Inc-Korea/AutoRAG
1,044
defect
5fc4a966ba167cec9f7e484a26c8a7947640a16f
5331769b4e5cb0ad22dc44b8cceac5a602239297
change file type logic
close #1040 + upgrade rc3
diff --git a/autorag/VERSION b/autorag/VERSION index 7c97c9b17..c44fec2a0 100644 --- a/autorag/VERSION +++ b/autorag/VERSION @@ -1 +1 @@ -0.3.11rc2 +0.3.11rc3 diff --git a/autorag/data/parse/run.py b/autorag/data/parse/run.py index 849b2cbc3..1a8b1f975 100644 --- a/autorag/data/parse/run.py +++ b/autorag/data/parse/run...
1
1
1
[{"id": "G0", "claim": "Removing items from the modules and module_params lists with .remove() while iterating a zip over them will cause a problem in the for-loop.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Marker-Inc-Korea__AutoRAG__1199
Marker-Inc-Korea/AutoRAG
1,199
defect
20d668a161a394df6c09435331994a436c48760f
10d71cd0740e1646af5010019b9ade5c7f785e1b
[Feature Request] New NVIDA reranker module
## Description https://build.nvidia.com/nvidia/rerank-qa-mistral-4b 위 모델을 추가하였습니다. unit test와 개인 api key 호출 테스트에 성공하였습니다. ## Related Issue close #430
diff --git a/autorag/nodes/passagereranker/__init__.py b/autorag/nodes/passagereranker/__init__.py index 8dcd5e903..07ec63a7a 100644 --- a/autorag/nodes/passagereranker/__init__.py +++ b/autorag/nodes/passagereranker/__init__.py @@ -14,3 +14,4 @@ from .voyageai import VoyageAIReranker from .mixedbreadai import Mixedb...
9
9
3
[{"id": "G0", "claim": "The api_key assignment should be simplified to 'self.api_key = self.api_key or os.getenv(\"NVIDIA_API_KEY\", None)'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The code should check that the input document lengths and...
null
Marker-Inc-Korea__AutoRAG__369
Marker-Inc-Korea/AutoRAG
369
defect
56f2386565a00fb3001ef08ebffcea304f96ec6f
d0d2925631ee4977e2126d7ea5ece0ae29d9a8b6
[Hotfix] recency filter change threshold parameter type str to datetime
close #367
diff --git a/autorag/nodes/passagefilter/recency.py b/autorag/nodes/passagefilter/recency.py index 004d85444..21d76ecfe 100644 --- a/autorag/nodes/passagefilter/recency.py +++ b/autorag/nodes/passagefilter/recency.py @@ -11,7 +11,7 @@ def recency_filter(contents_list: List[List[str]], scores_list: ...
2
2
2
[{"id": "G0", "claim": "When threshold is not a datetime the function silently returns the input unfiltered; the reviewer asks it to warn or raise a proper ValueError instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether ...
null
Marker-Inc-Korea__AutoRAG__371
Marker-Inc-Korea/AutoRAG
371
defect
0a3071ff91ef95dc90404b34dd8bc41dfa716622
155da008aa8223874364b714b5bd0c03584d2fb3
Fix retrieval and retrieval token metrics to use unaswerable
close #368 - Adding a contrast code when empty gt is encountered in the retrieval metric - Adding a fallback code for empty gt in the retrieval content metric - Responding to Unanswerable when empty ids are encountered in fetch content
diff --git a/autorag/evaluate/metric/retrieval.py b/autorag/evaluate/metric/retrieval.py index 609dfe696..2151bc4a8 100644 --- a/autorag/evaluate/metric/retrieval.py +++ b/autorag/evaluate/metric/retrieval.py @@ -5,7 +5,13 @@ def retrieval_metric(func): @functools.wraps(func) def wrapper(retrieval_gt: List[L...
4
4
3
[{"id": "G0", "claim": "The retrieval_contents metric wrapper should append None not only when gt_contents is an empty list but also when any gt content is an empty string or whitespace (e.g. [''] or [' ']), by adding an `any(bool(g) is False for g in gt)` condition.", "category": "correctness", "verdict": "supported",...
null
Marker-Inc-Korea__AutoRAG__390
Marker-Inc-Korea/AutoRAG
390
defect
31fe3764c1adbf7ec36f252ac3af966fac3afd7d
f757a891b9ba174640e08974c71b9b4dc1512cbd
Add mrr retrieval metric
close #357 Review this after https://github.com/Marker-Inc-Korea/AutoRAG/pull/386 👍
diff --git a/autorag/evaluate/metric/__init__.py b/autorag/evaluate/metric/__init__.py index 19368b76b..eea0a44da 100644 --- a/autorag/evaluate/metric/__init__.py +++ b/autorag/evaluate/metric/__init__.py @@ -1,3 +1,3 @@ from .generation import bleu, meteor, rouge, sem_score, g_eval, bert_score -from .retrieval import...
2
2
2
[{"id": "G0", "claim": "The ndcg test is failing.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The first test case's MRR result must be 0.5 (with two answer sets, the first answer found at rank 1 gives RR 1 and the second is not in the predictions...
null
Marker-Inc-Korea__AutoRAG__403
Marker-Inc-Korea/AutoRAG
403
defect
fcfd5f25edb1a211dc77224b773a3273463cf1f6
e101dd2f5aad3f80907d66679d6a8da8cb4228ad
Parallel Processing of Ko Reranker
close #394
diff --git a/autorag/nodes/passagereranker/koreranker.py b/autorag/nodes/passagereranker/koreranker.py index fdca0b831..00961d764 100644 --- a/autorag/nodes/passagereranker/koreranker.py +++ b/autorag/nodes/passagereranker/koreranker.py @@ -1,17 +1,19 @@ -import asyncio from typing import List, Tuple import numpy a...
1
1
1
[{"id": "G0", "claim": "In koreranker_run_model, exp_normalize is applied over the concatenated scores of an entire batch containing passages from multiple queries, so rerank scores vary with batch size; it must instead be computed per query over that query's full passage list.", "category": "correctness", "verdict": "...
null
Marker-Inc-Korea__AutoRAG__475
Marker-Inc-Korea/AutoRAG
475
defect
a8ac2523cc5d9beeb322844ced865dd30ab4ee51
d195fa4938ca03aae01b46744c24d4fd495f5247
add reset_index at cast_qa_dataset and cast_corpus_dataset
close #474
diff --git a/autorag/utils/preprocess.py b/autorag/utils/preprocess.py index 1dd7f2f26..00b0f6ab8 100644 --- a/autorag/utils/preprocess.py +++ b/autorag/utils/preprocess.py @@ -44,6 +44,7 @@ def cast_generation_gt(gt): else: raise ValueError(f"generation_gt must be str or list, but got {type(gt)}"...
1
1
1
[{"id": "G0", "claim": "reset_index() must be called with drop=True, because without it the result dataframe gains an extra `index` column (visible in the test file's result).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Marker-Inc-Korea__AutoRAG__607
Marker-Inc-Korea/AutoRAG
607
defect
f337cac83ebc3f1e2d7afe640a0c8fdbe35e81d2
efd2cb4254d82bc9d892bc89042c14322634cf95
Add New feature: existing_query_df and local parameters
I know you said it should be the form of an independent function, but I have been focusing on adding new features while preserving existing styles instead of creating another new function. Not to mention there will be many unnecessary duplicated code lines if I did that independently. So, I would like you to review it ...
diff --git a/autorag/data/qacreation/base.py b/autorag/data/qacreation/base.py index ceb26b95a..2e2e04deb 100644 --- a/autorag/data/qacreation/base.py +++ b/autorag/data/qacreation/base.py @@ -1,10 +1,17 @@ import logging import uuid from typing import Callable, Optional - +import os import pandas as pd -from tqdm ...
6
6
4
[{"id": "G0", "claim": "The module-level nest_asyncio.apply() should be deleted because it applies unwanted nested asyncio in non-Jupyter environments.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new queries-based feature should be separated ...
null
Marker-Inc-Korea__AutoRAG__620
Marker-Inc-Korea/AutoRAG
620
defect
25d06c34fcd5b93ebc8fbc92263be8e675a3d9e8
4db50817ffdbe1b5513129b4ddd97335960db831
Add optional parameter 'exist_gen_gt' at make_qa_with_existing_queries function.
close #618 - change function name `make_qa_with_existing_queries` to `make_qa_with_existing_qa` - add optional parameter exist_gen_gt - add test code with gen_gt - update docs
diff --git a/autorag/data/qacreation/__init__.py b/autorag/data/qacreation/__init__.py index 2888822b9..26e84a087 100644 --- a/autorag/data/qacreation/__init__.py +++ b/autorag/data/qacreation/__init__.py @@ -1,2 +1,2 @@ -from .base import make_single_content_qa, make_qa_with_existing_queries +from .base import make_si...
2
1
1
[{"id": "G0", "claim": "make_qa_with_existing_qa does two things (building pseudo retrieval gt with Chroma and generating answers with an LLM when there is no generation gt) and should be divided into two functions — or, if not in this PR, the whole data generation process should be refactored at #613.", "category": "d...
null
Marker-Inc-Korea__AutoRAG__693
Marker-Inc-Korea/AutoRAG
693
defect
8a3fc68ffa0f0b6c53d75b7205bc178efe8a6fdc
04ec58123bddc6c75835073cbbb163a89c5d4a1b
[Chunk] Add langchain chunk module
close #682 Main review point ! 1. add langchain embedding model at `autorag/__init__.py` 1-1. Langchain embedding model in init would be complicated and people(and "vkehfdl1 👀") would hate it 😂. but as we are moving towards the future direction of the framework, we need to be able to import and use modules ...
diff --git a/autorag/__init__.py b/autorag/__init__.py index a289d0bd4..6be986ae6 100644 --- a/autorag/__init__.py +++ b/autorag/__init__.py @@ -15,6 +15,7 @@ from llama_index.llms.ollama import Ollama from llama_index.llms.openai import OpenAI from llama_index.llms.openai_like import OpenAILike +from langchain.embe...
2
2
1
[{"id": "G0", "claim": "Semantic chunking via langchain's SemanticChunker should not be supported in this module at first; the team should build its own semantic chunker when index support needs it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "langchai...
null
Marker-Inc-Korea__AutoRAG__717
Marker-Inc-Korea/AutoRAG
717
defect
b881287720635d06d3db04aa855ed3f67de25ed0
32ad8e2d2dbba3b4d71cccaebc42ee6f468bd35b
change add_file_name language notation
close #715
diff --git a/autorag/data/chunk/base.py b/autorag/data/chunk/base.py index c1909f92d..105547f40 100644 --- a/autorag/data/chunk/base.py +++ b/autorag/data/chunk/base.py @@ -101,14 +101,14 @@ def get_embedding_model(_embed_model_str: str, _module_type: str): def add_file_name( file_name_language: str, file_names: Lis...
1
1
1
[{"id": "G0", "claim": "The error raised for an unsupported file_name_language must tell the user to use 'en' or 'ko' instead of 'english' or 'korean', matching the PR's new notation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Marker-Inc-Korea__AutoRAG__805
Marker-Inc-Korea/AutoRAG
805
defect
3232c9069578212ef89cf2dec4e97472000a3fda
3197f7dc084b0007f07943a3dda1812769bf5300
Add Mixedbread AI Reranker Module
close #789 1. I tried the API and got an Unauthorized error (Status 401) for unknown reasons. 2. I found that we can use the Reranker model directly in Hugging Face (which is currently free to use even if you use the API, too) - https://huggingface.co/mixedbread-ai/mxbai-rerank-large-v1 3. `CrossEncoder` does...
diff --git a/autorag/nodes/passagereranker/__init__.py b/autorag/nodes/passagereranker/__init__.py index 33706e028..d3a56d818 100644 --- a/autorag/nodes/passagereranker/__init__.py +++ b/autorag/nodes/passagereranker/__init__.py @@ -11,3 +11,4 @@ from .tart.tart import Tart from .time_reranker import TimeReranker fr...
2
2
2
[{"id": "G0", "claim": "The new MixedbreadAIReranker just rebuilds the wheels of SentenceTransformerReranker — a non-parallel CrossEncoder wrapper around the mxbai model — duplicating an existing module, only worse.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
Marker-Inc-Korea__AutoRAG__809
Marker-Inc-Korea/AutoRAG
809
defect
3232c9069578212ef89cf2dec4e97472000a3fda
fbc2e254e7396964d995ca09e51a90adc9d91e7f
Add VoyageAI Reranker module
close #793 I wanted to make `mock_voyageai_reranker` a mock function that returns a `RerankingObject`(Their own class type) in my test code, but there are too many things to set up to create a `RerankingObject` instance, so I just made the mock def simple. The test passed perfectly
diff --git a/autorag/nodes/passagereranker/__init__.py b/autorag/nodes/passagereranker/__init__.py index 33706e028..c284b3988 100644 --- a/autorag/nodes/passagereranker/__init__.py +++ b/autorag/nodes/passagereranker/__init__.py @@ -11,3 +11,4 @@ from .tart.tart import Tart from .time_reranker import TimeReranker fr...
1
1
1
[{"id": "G0", "claim": "The voyage_client.rerank call is an I/O-blocking synchronous request executed in a for-loop, which blocks and significantly slows the overall AutoRAG service, so the async operation should be used instead.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
Marker-Inc-Korea__AutoRAG__818
Marker-Inc-Korea/AutoRAG
818
defect
2f2e53cc734ad5d37a3c113b231207ed33f6b2c6
f50e3ba95889094e65051901548b4f1501a81d19
Add FlashRank Reranker module
close #775
diff --git a/autorag/nodes/passagereranker/__init__.py b/autorag/nodes/passagereranker/__init__.py index f7a56380c..272442342 100644 --- a/autorag/nodes/passagereranker/__init__.py +++ b/autorag/nodes/passagereranker/__init__.py @@ -14,3 +14,4 @@ from .openvino import OpenVINOReranker from .voyageai import VoyageAIRe...
2
2
2
[{"id": "G0", "claim": "Move the torch/tokenizers/onnxruntime imports inside the class per the new project rule, so the api and gpu (local) versions can have separate dependencies.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add the onnxruntime depend...
null
Marker-Inc-Korea__AutoRAG__949
Marker-Inc-Korea/AutoRAG
949
defect
0c86b2494de046183a0f6aeab1dcbcd1731a1d40
12e067f410001247353161de50685807c399d649
Add Weaviate VectorDB
close #943 Review Point - I haven't found a way to utilize query_embeddings in Query all at once. so I implemented it to use for-loop (I searched Official Docs, Blog, Langchain, and Llama Index for a way to do this, but couldn't find one 🥲)
diff --git a/autorag/vectordb/__init__.py b/autorag/vectordb/__init__.py index 01c254347..59f7d8ded 100644 --- a/autorag/vectordb/__init__.py +++ b/autorag/vectordb/__init__.py @@ -12,6 +12,8 @@ def get_support_vectordb(vectordb_name: str): "Chroma": ("autorag.vectordb.chroma", "Chroma"), "milvus": ("autorag.vect...
2
2
1
[{"id": "G0", "claim": "The ValueError message for unsupported client_type should say 'supported client types are docker, cloud', not 'local_docker'.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For the cosine metric the score conversion should us...
null
MarlinFirmware__Marlin__26948
MarlinFirmware/Marlin
26,948
defect
1dec9831d3d24b5a2eecb1b1f454456258fd85ad
41f0dcc542a3dab6fbdb37b53c5204ec9966b6cc
✅ Add unit testing framework
### Description This revives and builds upon an effort from @costas-basdekis several years ago, which provided a way to execute unit tests against various Marlin configurations. This uses Platform IO's unit testing mechanisms to build and execute tests on a Linux machine. #### How to use this feature This is us...
diff --git a/.github/workflows/test-builds.yml b/.github/workflows/test-builds.yml index a3cf32739c92..61a57aec2cb2 100644 --- a/.github/workflows/test-builds.yml +++ b/.github/workflows/test-builds.yml @@ -180,3 +180,47 @@ jobs: - name: Run ${{ matrix.test-platform }} Tests run: | make tests-singl...
4
4
3
[{"id": "G0", "claim": "The untested `github.ref == 'refs/heads/bugfix-2.1.x'` condition may not stop the unit tests from running on the 2.1.x branch once merged, so the unit tests should be split out of test-builds.yml into their own workflow file with different branch requirements.", "category": "design", "verdict": ...
null
Maronato__vue-toastification__52
Maronato/vue-toastification
52
defect
e17192e821e9e8acf53f6ff970e28e78d78c25b8
4685510f42637b812bd2c220b7069c41eff15f18
Default options per toast type
Adds the ability to set default toast options. E.g. custom icon, ...
diff --git a/src/components/VtToastContainer.vue b/src/components/VtToastContainer.vue index ed5852e..e563258 100644 --- a/src/components/VtToastContainer.vue +++ b/src/components/VtToastContainer.vue @@ -20,7 +20,7 @@ import Vue from "vue"; import events from "../ts/events"; -import { EVENTS, POSITION, VT_NAMESPAC...
5
5
3
[{"id": "G0", "claim": "The TYPE constant imported into VtToastContainer.vue is not used anywhere in that file and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Having all of the toast types available on the root of PluginOpt...
null
MarquezProject__marquez__2253
MarquezProject/marquez
2,253
defect
a658a01f7eb9ca4bac1c5cf1e9cae142917b6c34
7744c57f56418fbe99f92053892e7f1d4be5bf6c
Ensure job data in lineage query is not null or empty
### Problem An unknown edge case in our **lineageAPI** exists when querying for a job `uuid` that has no lineage when calling [`LineageDao.getLineage()`](https://github.com/MarquezProject/marquez/blob/main/api/src/main/java/marquez/db/LineageDao.java#L73), yet is associated with a given dataset `D`. That is, given a...
diff --git a/api/src/main/java/marquez/service/LineageService.java b/api/src/main/java/marquez/service/LineageService.java index 70643b2fd0..852a139ca8 100644 --- a/api/src/main/java/marquez/service/LineageService.java +++ b/api/src/main/java/marquez/service/LineageService.java @@ -8,6 +8,7 @@ import com.google.common...
2
2
1
[{"id": "G0", "claim": "Returning an empty lineage graph when jobData is empty would break the UI rendering (with a dataset selected the UI would show an error instead of a graph); the service should make sure the node is valid and respond with a graph containing at least that node.", "category": "correctness", "verdic...
null
MarquezProject__marquez__2269
MarquezProject/marquez
2,269
defect
11f6cecd1e70e09aa40540fdccc38d7b47737fa2
8ef771275b88d350d99bac665c3c2a5957d0701e
Column lineage point in time java client
### Problem Enable getting column lineage point-in-time in Java client of Marquez. Closes: #2114 ### Solution Implement point-in-time capability within Java client. > **Note:** All database schema changes require discussion. Please [link the issue](https://docs.github.com/en/issues/tracking-your-work-wi...
diff --git a/api/src/test/java/marquez/ColumnLineageIntegrationTest.java b/api/src/test/java/marquez/ColumnLineageIntegrationTest.java index 91d0c886fd..bbdc8e2ae5 100644 --- a/api/src/test/java/marquez/ColumnLineageIntegrationTest.java +++ b/api/src/test/java/marquez/ColumnLineageIntegrationTest.java @@ -14,7 +14,11 @...
1
1
0
[{"id": "G0", "claim": "The changelog should note that the client methods getColumnLineageByDataset(), getColumnLineageByDatasetField() and getColumnLineageByJob() were removed and replaced by a single getColumnLineage(NodeId).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
MarquezProject__marquez__2359
MarquezProject/marquez
2,359
defect
7f546edb66860332609ffb0bb2800b7960c4d9ee
83929cd5a462091bf8bef6a8cc11404df4f8ff79
OL facets - PR3 - migrate data to facet tables
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com> ### Problem The last PR of Openlineage facets' PRs. It contains a migration that backfills newly created facets' tables (`job_facets`, `dataset_facets` and `run_facets`) with data contained within `lineage_events` tables. The migration has to be done ...
diff --git a/.circleci/config.yml b/.circleci/config.yml index 87ba3324ee..e9cce77793 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -166,6 +166,7 @@ jobs: working_directory: ~/marquez machine: image: ubuntu-2004:current + resource_class: large steps: - checkout -...
2
2
0
[{"id": "G0", "claim": "Define the migration command name using dashes (`db-migrate`) instead of underscores (`db_migrate`).", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the class to `DbMigrationCommand` (singular) so it matches the command name...
null
MarquezProject__marquez__2417
MarquezProject/marquez
2,417
defect
b86d126ae8928964a7bf534231c807aef19857f4
d8761584911610eaad319e636add35de98f941fb
Support inputFacets and outputFacets
Signed-off-by: Pawel Leszczynski <leszczynski.pawel@gmail.com> ### Problem Marquez does not support `inputFacets` and `outputFacets` sent in Ol event. They're not saved nor exposed in api. Closes: #2320 ### Solution We do have `dataset_facets` table designed for this but we don't store `inputFacets` and...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 30199f2e0fa..f52898e4d93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## [Unreleased](https://github.com/MarquezProject/marquez/compare/0.30.0...HEAD) +### Added + +* Support `inputFacets` and `outputFacets` from Openlineage specificatio [`#2417`](htt...
2
2
1
[{"id": "G0", "claim": "The class that pairs a dataset version id with its input/output facets should be named for the dataset version rather than the generic RunDatasetFacets (proposed as DatasetVersionIdAndFacets, countered as keeping RunDatasetFacets, settled as DatasetVersion or InputDatasetVersion/OutputDatasetVer...
null
MarquezProject__marquez__2641
MarquezProject/marquez
2,641
defect
5c42dfd8cd0f2c739f493e301838bb3f4b0c2497
dde889f25fa5226e2863759c81d3ea4886ff190e
Runless events - consume dataset event
### Problem Part of the #2624 to support `DatasetEvent`. Closes: #2624 ### Solution Please describe your change as it relates to the problem, or bug fix, as well as any dependencies. If your change requires a database schema migration, please describe the schema modification(s) and whether it's a _backwar...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 13c8a535c3..52e1a2074a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,10 @@ API: remove usage of `current_job_context_uuid` column [`#2622`](https://github. Web: fix Unix epoch time display for null `endedAt` values [`#2647`](https://github.com/MarquezProject/m...
5
3
2
[{"id": "G0", "claim": "For now the final branch in OpenLineageResource.create should just be `else` rather than testing `event instanceof JobEvent`, since JobEvent is not yet supported.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether InputFa...
null
MarquezProject__marquez__2654
MarquezProject/marquez
2,654
defect
75da43c2d089b5c941814e6dbc6faab87f105ffa
51cf3b5d43eba28acf60021b295ca264010434e0
Runless events - refactor job_versions_io_mapping
### Problem This is currently a draft PR which is far from being merged. It is missing few tests related to schema changes which are marked with `todo` within the code. I've created a PR to have a better discussion on adding `job_id` to `job_versions_io_mapping`. This PR should be a follow-up of https://github.com/M...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c16a7be4b2..44c1fea7dad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased](https://github.com/MarquezProject/marquez/compare/0.41.0...HEAD) +### Added +* API: support `DatasetEvent` [`#2641`](https://github.com/MarquezProject/marquez/pull/2...
8
4
3
[{"id": "G0", "claim": "The runUuid parameter of insertDatasetFacetsFor should be annotated with @Nullable since it can now be null.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lineageEventType stored for dataset facets should be DATASET ...
null
MarquezProject__marquez__2658
MarquezProject/marquez
2,658
defect
5c42dfd8cd0f2c739f493e301838bb3f4b0c2497
2007c82b1e63600d8353315e58ae36187f97da72
upstream run level lineage implementation
### Problem When trouble shooting an issue and doing root cause analysis, it is usefull to get the upstream run-level lineage to know exactly what version of each job and dataset a run is depending on. ### Solution return the upstream run level lineage. ![Screen Shot 2023-10-24 at 2 56 07 PM](https://github...
diff --git a/api/src/main/java/marquez/api/OpenLineageResource.java b/api/src/main/java/marquez/api/OpenLineageResource.java index 259a500a53..18105786e3 100644 --- a/api/src/main/java/marquez/api/OpenLineageResource.java +++ b/api/src/main/java/marquez/api/OpenLineageResource.java @@ -36,6 +36,7 @@ import lombok.Valu...
7
5
1
[{"id": "G0", "claim": "Consider joining dataset_versions after the recursion at the bottom of the query once all the runs are identified, instead of joining it inside the recursive step.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The runs table c...
null
MarquezProject__marquez__2661
MarquezProject/marquez
2,661
defect
5c42dfd8cd0f2c739f493e301838bb3f4b0c2497
84f46702a05f62ae1c3399ad51d876113006f6e4
Runless events - consume job event
### Problem As a followup of #2641, this PR introduces support for `JobEvent`. PR shall be merged after #2641. ### Solution * Schema changes: `job_version_uuid` column is added to `job_facets` table. This requires db migration to backfill existing `job_facets` entries. * `JobDao` as `findJobByName` method ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 13c8a535c3b..54d3a14858f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased](https://github.com/MarquezProject/marquez/compare/0.42.0...HEAD) +### Added +* API: support `JobEvent` [`#2661`](https://github.com/MarquezProject/marquez/pull/2661)...
7
6
0
[{"id": "G0", "claim": "Move the `DatasetEvent` support entry under `Unreleased` in the changelog instead of leaving it under the previous release section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Factor out the common code shared by upsertJ...
null
MarquezProject__marquez__2688
MarquezProject/marquez
2,688
defect
79ec777bc335a028ae35112132689205a5c0ce3f
6294c8eaa5cb9aaf2be64a21eba211714c4edfb2
Add namespace filter option in config file
### Problem We are implementing Marquez at scale, and we often end up with the creation of a lot of namespaces containing neither datasets nor jobs. This can be caused by the handling of symlinks (see https://github.com/MarquezProject/marquez/issues/2645) or an issue with the open lineage integrations. We would like...
diff --git a/api/src/main/java/marquez/MarquezApp.java b/api/src/main/java/marquez/MarquezApp.java index 386a14cf37..ade80b0e41 100644 --- a/api/src/main/java/marquez/MarquezApp.java +++ b/api/src/main/java/marquez/MarquezApp.java @@ -26,6 +26,8 @@ import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import marq...
7
7
2
[{"id": "G0", "claim": "The namespaceFilter option should be redefined as an `exclude` config option (with an EXCLUDE_NAMESPACES env-var override) in place of namespaceFilter, leaving dataset/job exclusion to a follow-up PR.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
MarquezProject__marquez__2698
MarquezProject/marquez
2,698
defect
79ec777bc335a028ae35112132689205a5c0ce3f
eba4cab95e291969c09c7062666297f3306009ec
add DELETE end point for dataset tags
### Problem Currently we have no way via the API to a delete a tag from a dataset meaning datasets could potentially be "mis tagged" Closes: #2692 ### Solution Solution is to create a DELETE end point which removes the linkage between the dataset and the tag in ``` datasets_tag_mapping ``` One-line ...
diff --git a/api/src/main/java/marquez/api/DatasetResource.java b/api/src/main/java/marquez/api/DatasetResource.java index 49c9e68813..7c9f585f6f 100644 --- a/api/src/main/java/marquez/api/DatasetResource.java +++ b/api/src/main/java/marquez/api/DatasetResource.java @@ -198,6 +198,32 @@ public Response tag( return...
3
2
2
[{"id": "G0", "claim": "The deleteDatasetTag SQL's WHERE condition should also filter by namespace, since a dataset name can span namespaces and the delete would otherwise remove the tag from a same-named dataset in another namespace.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
MarquezProject__marquez__2761
MarquezProject/marquez
2,761
defect
78a191b3cb73a50dc7466103e0588e80c3374042
9aef43fc9194c75a781254b6856b9daf9cbf1c9b
Update dataset/dataset field tagging experience
### Problem The Adding and deleting of tags was not providing an intuitive and seemless experience. ### Solution Based on the feedback i've changed how the datasets details/tags/info components work by introducing a switch which allows field level tags to be exposed. Refresh only now occurs when the slide tog...
diff --git a/api/src/main/java/marquez/db/DatasetFieldDao.java b/api/src/main/java/marquez/db/DatasetFieldDao.java index 7b66b55adf..86abf8de60 100644 --- a/api/src/main/java/marquez/db/DatasetFieldDao.java +++ b/api/src/main/java/marquez/db/DatasetFieldDao.java @@ -129,7 +129,7 @@ void deleteDatasetVersionFieldTag( ...
2
1
1
[{"id": "G0", "claim": "A Java language test should be added covering the updated dataset_fields_tag_mapping insert SQL (the ON CONFLICT DO NOTHING change) in DatasetFieldDao.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions why the...
null
MarquezProject__marquez__2774
MarquezProject/marquez
2,774
defect
d6ac3e6435748cada4e08516250feee48ed9c0fa
da04b41c6d353b5f5b530c7ec1b9f3fb73392792
Add job tagging to API
### Problem Currently we have no tag support for jobs. Closes: #2756 ### Solution - Adding new table jobs_tag_mapping to store the relationship between jobs and tags. - Update jobs meta to return the tags as a list. - Add POST/DELETE end points to add and delete tags. <img width="1009" alt="Screensh...
diff --git a/api/src/main/java/marquez/api/JobResource.java b/api/src/main/java/marquez/api/JobResource.java index cfd31c7848..403b850d1c 100644 --- a/api/src/main/java/marquez/api/JobResource.java +++ b/api/src/main/java/marquez/api/JobResource.java @@ -42,6 +42,7 @@ import marquez.common.models.JobName; import marq...
10
8
3
[{"id": "G0", "claim": "The reviewer asks whether, since findJobByName returns an Optional that should not be read with an unqualified get(), the updatetag endpoint needs more than the defensive handling it has, given updateJobTags would presumably throw first.", "category": "design", "verdict": "uncertain", "priority"...
null
MarquezProject__marquez__2822
MarquezProject/marquez
2,822
defect
ba65575965920b50eb1f459d4d5a3c6054b88c1e
d52ba4845080069c6fe67d85ea8884a01fa236f4
Allow customization of Apache HTTP in Java client
### Problem `MarquezClient` uses the Apache HTTP client under the hood, and its defaults have some limitations around e.g. connection management. I'd like to be able to customize the client to my needs. ### Solution Add a builder method so you can provide a `Consumer<HttpClientBuilder>` allowing full customiza...
diff --git a/clients/java/README.md b/clients/java/README.md index 7d6b3cbf2e6..c72488d27c5 100644 --- a/clients/java/README.md +++ b/clients/java/README.md @@ -27,36 +27,32 @@ implementation 'io.github.marquezproject:marquez-java:0.47.0 // Connect to http://localhost:5000 MarquezClient client = MarquezClient.builder...
1
1
0
[{"id": "G0", "claim": "The new builder method `httpCustomiser(Consumer<HttpClientBuilder>)` should be renamed to `customize(Consumer<HttpClientBuilder>)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MarquezProject__marquez__2852
MarquezProject/marquez
2,852
defect
fcfebc55c80b412e975d3b70e487bd9898f2097f
9a39170cf6a89ed9e0a0ee4eb71ca1b6110afdad
Add paging on jobs panel
### Problem Currently we pull back the last 100 runs of a job. This PR is to allow for paging so that users can easily scroll through the runs 10 at a time. ![image](https://github.com/user-attachments/assets/aa1a0277-4889-4f99-808a-5af20b330569) I've also added the total run count to the returned JSON payl...
diff --git a/api/src/main/java/marquez/api/JobResource.java b/api/src/main/java/marquez/api/JobResource.java index 403b850d1c..90abf3c225 100644 --- a/api/src/main/java/marquez/api/JobResource.java +++ b/api/src/main/java/marquez/api/JobResource.java @@ -238,7 +238,8 @@ public Response listRuns( final List<Run> ...
2
2
0
[{"id": "G0", "claim": "The duration shown in the runs table should maybe be `N/A` in the event that the job is currently running.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The runs fetch in JobDetailPage should set the limit and offset (curr...
null
MarquezProject__marquez__2854
MarquezProject/marquez
2,854
defect
80103877868d417ad2bbc4ff239d3e72a24ec2bc
6a8d5a6cd56f8bc56185a97dd45d7280344987f8
version history: deduplicate the versions displayed
### Problem In the version history, a dataset will sometimes have the same version displayed multiple times. <img width="802" alt="Capture d’écran 2024-07-16 à 10 55 07" src="https://github.com/user-attachments/assets/bea078c3-33c0-4d78-ab43-a0096a5641a1"> After investigating, i found out that this comes from...
diff --git a/api/src/main/java/marquez/db/DatasetVersionDao.java b/api/src/main/java/marquez/db/DatasetVersionDao.java index f149983726..eec62d8eac 100644 --- a/api/src/main/java/marquez/db/DatasetVersionDao.java +++ b/api/src/main/java/marquez/db/DatasetVersionDao.java @@ -278,6 +278,11 @@ LEFT JOIN ( WHERE dv...
1
1
0
[{"id": "G0", "claim": "Remove the debug log statement (System.out.println of the lineage event) from the new testApp_getTableVersionsWithSymlinks test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MarquezProject__marquez__2891
MarquezProject/marquez
2,891
defect
915aff3ef77225d294b3ce35a2b1a927a1c2468c
975578c62962523806dfbebddbb5926569337e77
Materialized views for lineage events graph
### Problem We wish to enable counts for lineage events via a new graph on our main application page! <img width="1187" alt="image" src="https://github.com/user-attachments/assets/7ab25ac6-6f87-4344-a840-d502b6c515f8"> ### Solution Creates two materialized views that get updated via Crons managed through Drop...
diff --git a/api/src/main/java/marquez/MarquezApp.java b/api/src/main/java/marquez/MarquezApp.java index 5ca4999dae..37a7b2c16e 100644 --- a/api/src/main/java/marquez/MarquezApp.java +++ b/api/src/main/java/marquez/MarquezApp.java @@ -35,6 +35,7 @@ import marquez.common.Utils; import marquez.db.DbMigration; import m...
3
2
0
[{"id": "G0", "claim": "The ops endpoint should be reshaped to `GET /api/v1/stats/<stats-type>?period=<stats-period>` so other stats types can be added in the future.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The materialized view should be named mo...
null
MarquezProject__marquez__2901
MarquezProject/marquez
2,901
defect
945041084a45f39e3592768a2017defc63fd92f8
897bf32fceab372bfbe514ac465027af9ff83fc9
Latest runs for jobs
### Problem <img width="451" alt="image" src="https://github.com/user-attachments/assets/97bce668-32ec-402b-91e7-c99bfd1c6afe"> Power the legacy job runs view for the new dashboard. - Adds 10 most recently run jobs - Query param for `runState` One-line summary: Extra field for latest runs. ### Checklist ...
diff --git a/api/src/main/java/marquez/api/JobResource.java b/api/src/main/java/marquez/api/JobResource.java index 90abf3c225..b95fed48ba 100644 --- a/api/src/main/java/marquez/api/JobResource.java +++ b/api/src/main/java/marquez/api/JobResource.java @@ -164,11 +164,13 @@ public Response listJobVersions( @Produces(A...
2
2
2
[{"id": "G0", "claim": "The lastRunState query parameter should use the RunState enum for input validation and return a 400 on unknown run state types.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The query should match the enum run state exactly via r...
null
MarquezProject__marquez__2906
MarquezProject/marquez
2,906
defect
9e8e3d35ceeb4b1ce0e8dec4846436febba5d39f
efd46e22006f578b9d804e84c8a3bf106b4a7dae
Dataset, Source, Job Metrics
### Problem https://github.com/user-attachments/assets/1894c875-822a-4b2d-9bd9-d05650a16ad0 This adds metrics for sources, datasets, and jobs. - [ ] Add Migrations for `created_at` on the corresponding tables that are used with the number is known before a merge. ### Solution Various `generate_series` s...
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6a4f957a88..d5f6587118 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,7 +71,7 @@ jobs: unit-test-web: working_directory: ~/marquez/web docker: - - image: cimg/node:18.16.0 + - image: cimg/node:22.9.0 environm...
1
1
0
[{"id": "G0", "claim": "Is there a way to assert the weekly count is what we expect vs only checking for >=1 (in testGetStatsForSources, the weekly assertion should verify the expected count rather than only that it is at least 1)?", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
Martian-Engineering__lossless-claw__257
Martian-Engineering/lossless-claw
257
defect
33ad2574aa99772137ab00e65d81f73107f855ba
01306b30635c801b2070ecaec173b657ac6bdfc1
fix: harden afterTurn dedup guard against false-positive drops
## Problem The dedup guard merged in #246 has two issues that can cause data loss in production: ### 1. `hasMessage()` fast-path drops legitimate repeated messages The current fast-path checks if `batch[0]` exists **anywhere** in the conversation DB. This false-positives when a user legitimately sends the same messa...
diff --git a/src/engine.ts b/src/engine.ts index c6a4c937a..f6b774562 100644 --- a/src/engine.ts +++ b/src/engine.ts @@ -2092,6 +2092,18 @@ export class LcmContextEngine implements ContextEngine { * Conservative replay detection: only strip a prefix when the incoming * batch begins with the entire stored transc...
2
2
1
[{"id": "G0", "claim": "Two consecutive JSDoc blocks above `deduplicateAfterTurnBatch` repeat the same description; remove the redundant block and keep a single up-to-date doc comment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`afterTurn` b...
null
Martian-Engineering__lossless-claw__261
Martian-Engineering/lossless-claw
261
defect
46eb1af7cf87f7cf6ba7ca6d1f3b7456c08b2edd
28a09371068c824c3a70cbfef37b74c6cbda3eca
fix: prevent cross-session nested SQLite transactions during bootstrap
## Summary - add a per-DB async transaction mutex for all explicit transaction entry points - prevent cross-session nested-transaction SQLite failures on a shared `DatabaseSync` handle - add regression coverage for cross-store / cross-session contention ## Root cause Lossless-Claw shares one SQLite `DatabaseSync` conn...
diff --git a/src/plugin/lcm-doctor-apply.ts b/src/plugin/lcm-doctor-apply.ts index 1412652b9..c2cf487e2 100644 --- a/src/plugin/lcm-doctor-apply.ts +++ b/src/plugin/lcm-doctor-apply.ts @@ -1,4 +1,5 @@ import type { DatabaseSync } from "node:sqlite"; +import { acquireTransactionLock } from "../transaction-mutex.js"; i...
5
5
1
[{"id": "G0", "claim": "The mutex is documented as a general transaction guard but is non-reentrant, so re-acquiring the lock for a DB while already holding it will wait forever; the JSDoc should state this explicitly or a reentrancy guard should throw a clear error on re-acquisition.", "category": "documentation", "ve...
null
Martian-Engineering__lossless-claw__273
Martian-Engineering/lossless-claw
273
defect
3a80eb781533308fdddc51c8bdfd2b574e73f5c3
3a0c8cff00bd0d3df072d01f03dbc3d7c3431147
fix: support runtime-managed OAuth providers (fix OAuth Codex due to Anthropic no longer supporting usage plans)
## Summary This patch improves Lossless Claw's model-backed summarizer path so runtime-managed OAuth providers (especially `openai-codex`) can be used more cleanly for LCM summarization without assuming a direct static API key. It also adds a configurable `summaryTimeoutMs` for slower/larger summarization loads. ## ...
diff --git a/openclaw.plugin.json b/openclaw.plugin.json index f7b679c7e..d75ff2bad 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -84,6 +84,10 @@ "label": "Delegation Timeout (ms)", "help": "Maximum time to wait for delegated lcm_expand_query sub-agent completion before timing out" ...
5
4
3
[{"id": "G0", "claim": "summaryTimeoutMs now defaults to 120000 in resolveLcmConfig while the summarizer's documented default is 60000, silently changing the default summarizer timeout for users who don't configure it; consider defaulting to 60000 (or leaving it undefined unless configured) to preserve previous behavio...
null
Martian-Engineering__lossless-claw__296
Martian-Engineering/lossless-claw
296
defect
33ad2574aa99772137ab00e65d81f73107f855ba
3f2cc81a4728b9df6efd1ff2da7a8e1c269afd3b
feat: configurable search sort (recency/relevance/hybrid) + phrase matching fix
## Summary Two search quality improvements for \`lcm_grep\`: 1. **Configurable sort order** — new \`sort\` parameter: \`"recency"\` (default), \`"relevance"\` (FTS5 BM25), or \`"hybrid"\` 2. **Phrase matching fix** — quoted phrases like \`"error handling"\` now match as a phrase instead of being split into two s...
diff --git a/src/retrieval.ts b/src/retrieval.ts index 4a924c96d..00db0f915 100644 --- a/src/retrieval.ts +++ b/src/retrieval.ts @@ -68,6 +68,10 @@ export interface GrepInput { since?: Date; before?: Date; limit?: number; + /** Sort order for results. Default "recency" (newest first). + * "relevance" sorts...
11
11
6
[{"id": "G0", "claim": "Because the store queries ORDER BY created_at DESC LIMIT ?, the new relevance/hybrid sort modes only re-rank the newest N matches and cannot surface older-but-relevant hits, and the reviewer asks to push the sort mode down into the SQL (ORDER BY rank/bm25 before LIMIT) or widen the candidate win...
null
Martian-Engineering__lossless-claw__302
Martian-Engineering/lossless-claw
302
defect
d74ad070888e7be5e4e1730ddc6506708075317e
1b8f90ef4da579722564a934da3b67e92b50787c
fix: singleton DB init per dbPath + fallback provider config
## Summary Prevents "Migration failed: database is locked" storms caused by OpenClaw v2026.4.5+ calling plugin `register()` per-agent-context (main, subagents, cron lanes). Also adds explicit fallback provider configuration for compaction summarization. **Follow-up to #288** — the deferred-init fix merged in #288 han...
diff --git a/src/db/config.ts b/src/db/config.ts index f7972e18e..7201e11fd 100644 --- a/src/db/config.ts +++ b/src/db/config.ts @@ -58,6 +58,8 @@ export type LcmConfig = { circuitBreakerThreshold: number; /** Cooldown in milliseconds before the circuit breaker auto-resets (default 30 min). */ circuitBreakerCo...
8
5
3
[{"id": "G0", "claim": "The new fallbackProviders config surface is not exposed in openclaw.plugin.json (configSchema/uiHints), so users cannot discover and configure it via the standard plugin config mechanism; update those docs/schema.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ...
null
MarvinJWendt__testza__182
MarvinJWendt/testza
182
defect
62e95603c5fe7f617eff2f1fdd30f66ac82b023c
621683d68ce44b66063f72f4f35b858e8c60e6a6
Add getters for setters in configuration.go
Added getters for settings in `configuration.go`: ```go func GetColorsEnabled() bool func GetLineNumbersEnabled() bool func GetRandomSeed() int64 func GetShowStartupMessage() bool func GetDiffContextLines() int ``` closes #111
diff --git a/configuration.go b/configuration.go index 7ce272e..287f466 100644 --- a/configuration.go +++ b/configuration.go @@ -105,6 +105,15 @@ func SetColorsEnabled(enabled bool) { } } +// GetColorsEnabled returns current value of ColorsEnabled setting. +// ColorsEnabled controls if testza should print colored ...
1
1
0
[{"id": "G0", "claim": "The new getter functions should not lock the mutex on read operations.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Marwes__pretty.rs__43
Marwes/pretty.rs
43
defect
07d413c6dc0e7caed452f950cfc85e1b2d764c34
115db015df38d4151025720498ccfd2d2414694d
Cleanups
This renames the `doc` module to `render`, and moves the `Doc` type to the top level, hopefully making the code easier to understand in the process. `Doc::{append, intersperse}` now take `Into<Doc<'a, BoxDoc<'a, A>, A>>`, which is consistent with the corresponding methods on `DocAllocator`. The `as_string` method...
diff --git a/benches/trees.rs b/benches/trees.rs index 73bbe99..c972828 100644 --- a/benches/trees.rs +++ b/benches/trees.rs @@ -8,14 +8,14 @@ extern crate typed_arena; use std::io; use pretty::BoxAllocator; -use typed_arena::Arena; use trees::Tree; +use typed_arena::Arena; #[path = "../examples/trees.rs"] mod...
2
2
0
[{"id": "G0", "claim": "Doc::intersperse is buggy when the iterator is not fused: it should return result/Doc::nil when the iterator is empty instead of entering the for loop over the same iterator.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G2", "claim": "T...
null
Marwes__schemafy__48
Marwes/schemafy
48
defect
7e5422e63882c070522d2bacd346a332aab57ffa
7b6ce14245351bd1e7641b290aba773e6b43cb37
Handle underscore fields
And a few other edge cases. Rust is not happy when there is more than one underscore in a row in a field name. This can happen when transforming a name like `thieves' tools`: one underscore replaces the `'` and the other one the space. Another edge case is when the field name is just `_`. `.to_snake_case()` will ...
diff --git a/schemafy_lib/src/lib.rs b/schemafy_lib/src/lib.rs index c2ce7c0..5cb5b8c 100644 --- a/schemafy_lib/src/lib.rs +++ b/schemafy_lib/src/lib.rs @@ -85,9 +85,37 @@ fn replace_numeric_start(s: &str) -> String { } } +fn remove_excess_underscores(s: &str) -> String { + let mut result = String::new(); + ...
2
2
1
[{"id": "G0", "claim": "In Expander::type_ref the result of replace_numeric_start is discarded, so refs starting with a digit are not converted to valid identifiers; bind the result (and add a test to catch this).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
MaskRay__ccls__657
MaskRay/ccls
657
defect
8cf8a3c4a48bdaac480c38605c4ed4a96a64f74a
c10f5956de5b86ce0578064ff68710b099bba76e
indexer: log the number of errors and the first diagnostic
Example log: ``` 15:47:45 indexer1 pipeline.cc:379 I parse /tmp/d/a.c error:1 use of undeclared identifier 'arg' clang /tmp/d/a.c --gcc-toolchain=/usr -working-directory=/tmp/d/ ```
diff --git a/src/indexer.cc b/src/indexer.cc index 7b7c14803..f7274bc11 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -1203,6 +1203,17 @@ class IndexFrontendAction : public ASTFrontendAction { return std::make_unique<MultiplexConsumer>(std::move(consumers)); } }; + +class IndexDiags : public DiagnosticCo...
1
1
0
[{"id": "G0", "claim": "The `n_errs` member of the new `IndexResult` struct should have a default value `=0`, especially given the `return {}` in the function above.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Mastercard__terraform-provider-restapi__182
Mastercard/terraform-provider-restapi
182
defect
4726f57d67fd246280ba29145acd12ef52b6d49d
0b0c67e4f3e36b83b7d0d9a9a2714985b432f91b
Add support for destroy_data and update_data to be sent
This PR is inspired by #177 and it adds one feature: - destroy_data => Allows specifying a 'data/body' to send along with destroy/delete requests. It could solve #174 I think.
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 77a4a08a..c20e16a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,12 +1,12 @@ # This GitHub action can publish assets for release when a tag is created. # Currently its setup to run on any tag th...
7
6
1
[{"id": "G0", "claim": "The provider should send the same data feature for UPDATE (and DELETE) operations as it does elsewhere.", "category": "feature", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Remove the trailing whitespace on the added comment line in .github/workflow...
null
Masterminds__sprig__128
Masterminds/sprig
128
defect
3af02e5631fd9eba272f91109da1a0bf2421f0ff
424ca255b7397de167d5c2df896ce0cef3b80ae4
Add toDecimal support
Fixes: https://github.com/Masterminds/sprig/issues/109 Closes: https://github.com/helm/helm/issues/4378 * Add support for `toDecimal` which takes an interface, and returns unix octal format * Add `toDecimal` unit test Not sure about edge cases.
diff --git a/docs/conversion.md b/docs/conversion.md index 06f4f776..ce1365d7 100644 --- a/docs/conversion.md +++ b/docs/conversion.md @@ -8,6 +8,7 @@ The following type conversion functions are provided by Sprig: - `int64`: Convert to an `int64` - `toString`: Convert to a string - `toStrings`: Convert a list, slice...
1
1
1
[{"id": "G0", "claim": "The new documentation entry for the conversion function is too vague (\"Converts to a unix octal\") and should be updated to describe the conversion more specifically.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Masterminds__sprig__173
Masterminds/sprig
173
defect
8e5f7788fea6472ca71d5ad92887798a54b4b0f9
6e3c0e8eb02f85f3d5207f98c7b7642776dff5b6
add getHostByName function to resolve dns names to ips
Hi guys! This is a proposal to add a function to resolve names to IPs. I'm a heavy user of [helm](https://helm.sh) and this is useful where you need to render an IP but you don't want to hardcode it in your templates. What do you think?
diff --git a/functions.go b/functions.go index 6bf15cf1..9d6c6784 100644 --- a/functions.go +++ b/functions.go @@ -84,6 +84,9 @@ var nonhermeticFunctions = []string{ // OS "env", "expandenv", + + // Network + "getHostByName", } var genericMap = map[string]interface{}{ @@ -134,20 +137,20 @@ var genericMap = ma...
3
3
1
[{"id": "G0", "claim": "The new files should be named network.go and network_test.go instead of naming them after the single getHostByName function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update the documentation ...
null
Masterminds__sprig__181
Masterminds/sprig
181
defect
385f7602702f504a4e0c1aea833c3c2498e1fed9
0f279168dbf05178c6fddf93b6fb0c1019b38fd7
Add float64 arithmetic
Add float64 arithmetic functions. For clarity, these functions all have the "f" suffix. To avoid precision errors, all floats are converted to a decimal representation value using [shopspring/decimal](https://github.com/shopspring/decimal) before calculating.
diff --git a/functions.go b/functions.go index 45e9d5ae..e53a40c2 100644 --- a/functions.go +++ b/functions.go @@ -13,6 +13,7 @@ import ( util "github.com/Masterminds/goutils" "github.com/huandu/xstrings" + "github.com/shopspring/decimal" ) // Produce the function map. @@ -191,6 +192,22 @@ var genericMap = ma...
4
1
1
[{"id": "G0", "claim": "The reviewer asks the author to add documentation for the new float functions introduced by this pull request.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the author has a use case for adding th...
null
Masterminds__sprig__196
Masterminds/sprig
196
defect
626db5a9c29798e81f7833460fd09a9ded007869
8c3db988d2958eaac938bd15929eae21781e2542
Support negative values in trunc
Closes: https://github.com/Masterminds/sprig/issues/167 ``` trunc -5 "hi, world" // "world" ```
diff --git a/docs/strings.md b/docs/strings.md index 86940f53..210bec2b 100644 --- a/docs/strings.md +++ b/docs/strings.md @@ -118,11 +118,17 @@ trunc 5 "hello world" The above produces `hello`. +``` +trunc -5 "hello world" +``` + +The above produces `world`. + ## abbrev Truncate a string with ellipses (`...`)...
1
1
1
[{"id": "G0", "claim": "Add a test case for `trunc -999` to make sure the new negative-trunc behaviour doesn't blow up when the offset is out of bounds.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Masterminds__sprig__197
Masterminds/sprig
197
defect
626db5a9c29798e81f7833460fd09a9ded007869
a5b652562c94c368d09f1ebcf97a574be36d71cf
Add `get` support to dicts
Closes: https://github.com/Masterminds/sprig/issues/151 ``` get $myDict "key1" ``` The above returns `"value1"`
diff --git a/dict.go b/dict.go index c1d71747..11d943fc 100644 --- a/dict.go +++ b/dict.go @@ -5,6 +5,13 @@ import ( "github.com/mitchellh/copystructure" ) +func get(d map[string]interface{}, key string) interface{} { + if val, ok := d[key]; ok { + return val + } + return "" +} + func set(d map[string]interface{...
1
1
1
[{"id": "G0", "claim": "Both CI error runs (travis and appveyor) fail on Go 1.12, which the reviewer attributes to something changing between Go 1.12 and Go 1.13 and guesses is caused by `dict` assuming at least one input.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Masterminds__sprig__254
Masterminds/sprig
254
defect
4241ae82dd07e5d3391a83c25b79c04450eb22b0
4bb6f1cc0f550e6ad5198043c72d5da830673a83
Dig into dict
Adds a pipeline-compatible `dig` function - traverses a list of keys to return a value, or a default if no value provided. Future work, if required: allow `dig` to walk into lists with numeric indexes. Closes #227
diff --git a/dict.go b/dict.go index 11d943fc..bf82d7de 100644 --- a/dict.go +++ b/dict.go @@ -146,3 +146,29 @@ func deepCopy(i interface{}) interface{} { func mustDeepCopy(i interface{}) (interface{}, error) { return copystructure.Copy(i) } + +func dig(ps ...interface{}) (interface{}, error) { + if len(ps) < 3 { +...
2
1
0
[{"id": "G0", "claim": "The panic message in dig misspells 'three' as 'tree' and needs a spelling fix.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author asks whether digFromDict could be exposed as a template function, so an array of keys ...
null
Masterminds__sprig__28
Masterminds/sprig
28
defect
c974324bb59b465f00b128a055656d44f60e4ffc
5931dc192c06a348c3fda3ad1881fac7e3868e77
Added derivePassword implementing Master Password
derivePassword derives a password from a given master password and a set of other parameters. The tests are variants of the input comparing it to the reference implementation.
diff --git a/README.md b/README.md index 674a5e2c..7f839a36 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,16 @@ string is passed in, functions will attempt to conver with - min: Return the smallest of a series of integers. `min 1 2 3` returns `1`. +### Cryptographic Functions: + +- derivePassword: Derive ...
2
2
1
[{"id": "G0", "claim": "The markdown link brackets on the derivePassword documentation line in functions.go won't be resolved by the godoc tool, so the square brackets should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README us...
null
Masterminds__sprig__33
Masterminds/sprig
33
defect
dba49a8d3a46ae8522f79e2c0241842d6ab613ca
1708c8069f90171616cea53c58f755f2907a8613
Add 'snakecase', 'camelcase' and 'shuffle'
I think we can add more functions based on this [xstrings](https://github.com/huandu/xstrings)
diff --git a/README.md b/README.md index 1e3e5d27..e129ead4 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,9 @@ parse, it returns the time unaltered. See `time.ParseDuration` for info on durat - uuidv4: Generate a UUID v4 string - sha256sum: Generate a hex encoded sha256 hash of the input - toString: Convert ...
1
1
1
[{"id": "G0", "claim": "Add the newly imported github.com/huandu/xstrings to glide.yaml so the dependency is declared before merging.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Masterminds__sprig__81
Masterminds/sprig
81
defect
9d9aa1f74c86fd9d36ecfe3f2a44a3093c3d4c15
7a0e66ddaa140d1ec1ed5c9a44cb50250ace9b8b
Allow customizing Root CA that used by genSignedCert
Some charts may want to use a custom Root CA to generate signed certificates, this patch implements this requirement. * In values.yaml ``` root_key: base64-encoded-key root_ca: base64-encoded-crt ``` * In templates ``` {{- $ca := buildCustomCert .Values.root_key .Values.root_...
diff --git a/crypto.go b/crypto.go index d1b46500..5b91611e 100644 --- a/crypto.go +++ b/crypto.go @@ -156,6 +156,10 @@ type certificate struct { Key string } +func getCertificate(cert string, key string) certificate { + return certificate{Cert: cert, Key: key} +} + func generateCertificateAuthority( cn string...
4
4
1
[{"id": "G0", "claim": "The new helper and template key should be renamed from `getCertificate`/`getCA` to more accurate names (e.g. `buildCustomCertificate`/`buildCustomCert`), since \"get\" is ambiguous and nothing is CA-specific about the function.", "category": "maintainability", "verdict": "supported", "priority":...
null
Masterminds__squirrel__129
Masterminds/squirrel
129
defect
40ef4f86bf59a996c348a9f56ddb4c4d3d49a6df
44bea7d49fb560f69addf7eb75bee642149c6e0b
fix: nested select placeholders numbering
This PR addresses [issue #128](https://github.com/Masterminds/squirrel/issues/128). The fix goes as follows: for `wherePart`, we check if the predicate implements `RawSqlizer` with its `ToSqlRaw()` method. `ToSqlRaw()` does just what `ToSql()` does, but skips `PlaceholderFormat.ReplacePlaceholders()`.
diff --git a/.travis.yml b/.travis.yml index 9fd17d48..ee8ebccc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: go go: - - 1.7.x - 1.8.x - 1.9.x - tip diff --git a/select.go b/select.go index 7dc09bc5..365fd388 100644 --- a/select.go +++ b/select.go @@ -52,6 +52,20 @@ func (d *selectD...
2
2
1
[{"id": "G0", "claim": "The Go 1.7 CI tests fail to build because lib/pq now requires Go 1.8, so Go 1.7 should be removed from the test matrix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The new RawSqlizer interface and its ToSqlRaw method should ...
null
Masterminds__squirrel__147
Masterminds/squirrel
147
defect
2a316574a6936ea670d3fddabe5e106ba894da1b
1eceecfd4db2bdf526500604f53e7978520aaae3
Adding Placeholder Colon format.
Adding a Placeholder Colon Format for Oracle DB users. This looks and acts exactly like the Dollar Place Holder for Postgres. Except instead of using `$` it uses `:` See: https://github.com/Masterminds/squirrel/issues/138
diff --git a/placeholder.go b/placeholder.go index d377788b..d57dff72 100644 --- a/placeholder.go +++ b/placeholder.go @@ -22,6 +22,10 @@ var ( // Dollar is a PlaceholderFormat instance that replaces placeholders with // dollar-prefixed positional placeholders (e.g. $1, $2, $3). Dollar = dollarFormat{} + + // Col...
1
1
0
[{"id": "G0", "claim": "The positional-placeholder replacement logic duplicated in colonFormat could be deduped with dollarFormat behind a shared helper such as replacePositionalPlaceholders(sql, prefix string).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Masterminds__squirrel__178
Masterminds/squirrel
178
defect
fa735ea14f09f8685fcf5e75db091feb5a410730
af687954df6dfff93801180296d41b429910d879
Add OrderByClause to SelectBuilder
Just bumped into this issue https://github.com/Masterminds/squirrel/issues/139 and implemented OrderByClause.
diff --git a/select.go b/select.go index 0ec4dc6b..f32c896e 100644 --- a/select.go +++ b/select.go @@ -20,7 +20,7 @@ type selectData struct { WhereParts []Sqlizer GroupBys []string HavingParts []Sqlizer - OrderBys []string + OrderByParts []Sqlizer Limit string O...
1
1
1
[{"id": "G0", "claim": "toSql must check the error returned by appendToSql for d.OrderByParts and return it instead of ignoring it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Masterminds__squirrel__179
Masterminds/squirrel
179
defect
fa735ea14f09f8685fcf5e75db091feb5a410730
f3428bf63b004a4ac3a476cabedeb15677585247
Add ability to Clear() statement cache
Due to some poor handling in my own codebase. I started creating lots of `*stmtCacher` instances. While I was quickly discarding them I noticed that memory started to leak wherever something interacted with the shared `*sql.DB` connection pool. Upon revisiting the change made, I noticed we were creating all these pr...
diff --git a/stmtcacher.go b/stmtcacher.go index 2540565e..ad7a8992 100644 --- a/stmtcacher.go +++ b/stmtcacher.go @@ -2,9 +2,15 @@ package squirrel import ( "database/sql" + "errors" + "io" "sync" ) +// ErrStmtCacheClosed is return when an operation on a db proxy wrapped +// is a statement cacher is performe...
4
4
4
[{"id": "G0", "claim": "Extending the exported DBProxy interface with io.Closer is not backward compatible: things that previously implemented DBProxy would suddenly stop implementing it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Close on a DB proxy...
null
Masterminds__squirrel__200
Masterminds/squirrel
200
defect
0f6e36219a8fcc357ecda912ddee5493b42062c7
d81de9c39980063da6d445d4c3c5c998189dc36c
squirrel.DebugSqlizer: debug based on PlaceholderHolder (if present)
References: https://github.com/Masterminds/squirrel/issues/116 In DebugSqlizer lets check if the provided `Sqlizer` has a `GetPlaceholder` method. If so, retrieve the placeholder, otherwise default to the existing behavior of debugging against `?`
diff --git a/placeholder.go b/placeholder.go index a0161823..d39b3dbe 100644 --- a/placeholder.go +++ b/placeholder.go @@ -12,40 +12,63 @@ import ( // placeholder with a (possibly different) SQL placeholder. type PlaceholderFormat interface { ReplacePlaceholders(sql string) (string, error) + PlaceholderHolder +} + ...
3
3
2
[{"id": "G0", "claim": "Embedding PlaceholderHolder in the exported PlaceholderFormat interface is unnecessary and could potentially break someone else's PlaceholderFormat implementation.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Unless there is a r...
null
Masterminds__squirrel__37
Masterminds/squirrel
37
defect
5fbc83fc40d47fea870302ee8672f95ab3e7cc8a
881f4fde8913b5d7c084d3aff1a6bc586e35afb4
Support of CASE operator in SELECT query
Hi there! :) Here's a proposal for support of `SELECT CASE` statements (http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html#operator_case). The commit contains test which shows an idea which is better to discuss before writing any real code. The interface is a matter of discussion. Rationale of this prop...
diff --git a/case.go b/case.go new file mode 100644 index 00000000..6b94219e --- /dev/null +++ b/case.go @@ -0,0 +1,112 @@ +package squirrel + +import ( + "bytes" + + "github.com/lann/builder" +) + +func init() { + builder.Register(CaseBuilder{}, caseData{}) +} + +// sqlizerBuffer is a helper that allows to write many ...
6
6
3
[{"id": "G0", "claim": "CASE should be implemented as a standalone CaseBuilder usable as a value expression anywhere (e.g. in a WHERE clause), not tied to SELECT columns.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The PR needs a way to alias an expressi...
null
Masterminds__squirrel__49
Masterminds/squirrel
49
defect
0cd28d0abdc1b2288ca5d7dca31bbfdd72fffbad
35de4759f8f19e91d06bd5991d609e34783d86c3
add support for >,>=,<,<=
This commit adds support for doing less than, less than or equal to, greater than, and greater than or equal to. I added tests as well. Please give feedback if not merged.
diff --git a/expr.go b/expr.go index 2dd56396..d2c79333 100644 --- a/expr.go +++ b/expr.go @@ -132,6 +132,86 @@ func (neq NotEq) ToSql() (sql string, args []interface{}, err error) { return Eq(neq).toSql(true) } +// Lt is syntactic sugar for use with Where/Having/Set methods. +// Ex: +// .Where(Lt{"id": 1}) +t...
2
2
2
[{"id": "G0", "claim": "Lt (and the comparison operators built on it) should not translate a nil value into a SQL \"<field> IS NULL\" comparison, because treating null that way is too confusing for comparisons.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
MaterializeInc__materialize__30114
MaterializeInc/materialize
30,114
defect
b3b7a95099e976e991c4245843f69bfccca387b4
f04f1d450f0dfd88e3f5a262cef4560f5e62410c
controller/compute: sequence external read hold changes
Changes to `ReadHold`s on compute collections are now sequenced through the `command_{tx,rx}` channels of the respective `Instance` controllers. This ensures that `Instance`s observe read hold changes always after they have observed the creation of the affected collection, which wasn't the case previously. The imple...
diff --git a/src/compute-client/src/as_of_selection.rs b/src/compute-client/src/as_of_selection.rs index bbd11a04a72b4..728a203fc9270 100644 --- a/src/compute-client/src/as_of_selection.rs +++ b/src/compute-client/src/as_of_selection.rs @@ -920,7 +920,7 @@ mod tests { .get(&id) ...
4
2
0
[{"id": "G0", "claim": "Consider preserving the same-issuer check that merge_assign's removed assert provided, e.g. by making ChangeTx a custom trait with a same_recipient method, or by cloning a single prototypical sender closure into all read holds and replacing the assert with Arc::ptr_eq.", "category": "design", "v...
null
MaterializeInc__materialize__34454
MaterializeInc/materialize
34,454
defect
7a5b99033040719fed59b905c370a22419c3a361
47d9c5f8212b341d990254b4caa2563f6a34a478
[repr types] Use HIR SQL types in RelationDescs
As MIR moves to representation types (#34351), we must be careful to compute SQL types while we still have HIR. If we don't we run the risk of confusing clients who expected a `VARCHAR` column and got a `TEXT` column. (To be clear: the `Datum`s on the wire will always be the same, but the type metadata might be differe...
diff --git a/src/adapter/src/catalog/state.rs b/src/adapter/src/catalog/state.rs index 5d565d29858a9..b4d99c212d4b9 100644 --- a/src/adapter/src/catalog/state.rs +++ b/src/adapter/src/catalog/state.rs @@ -98,7 +98,7 @@ use tracing::{debug, warn}; // DO NOT add any more imports from `crate` outside of `crate::catalog`....
4
4
2
[{"id": "G0", "claim": "Just copying the null bit on the outermost SqlColumnType is not enough because a record can have nested SqlColumnTypes, so backport_nullability_and_keys needs to merge nullability more deeply.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
MaterializeInc__materialize__34760
MaterializeInc/materialize
34,760
defect
c9c05930788b5a5ac1ae2a80360ebce54c8bb632
0b2af5bb4ee490f5f53124e73c16e2d97d4351ca
HTTP proxy from environmentd to clusterd
Implements HTTP proxy in environmentd that forwards requests to clusterd internal HTTP endpoints. Adds a `/clusters` page showing all cluster replicas with links to their HTTP endpoints on the internal HTTP endpoint. Read the PR as a whole, not commit-by-commit. It contains some hallucinations that I cleaned up manu...
diff --git a/src/controller/src/clusters.rs b/src/controller/src/clusters.rs index 3a3af24ffa99d..c5809c540fd14 100644 --- a/src/controller/src/clusters.rs +++ b/src/controller/src/clusters.rs @@ -438,6 +438,16 @@ where ctl_addrs: service.addresses("computectl"), }; ...
13
11
3
[{"id": "G5", "claim": "The existing proxying in the process orchestrator should be removed, since having two proxying mechanisms is not useful.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G8", "claim": "The module documentation should not mention tracing, since the...
null