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
MagicMirrorOrg__MagicMirror__3782
MagicMirrorOrg/MagicMirror
3,782
defect
ed419ce5b33706291250df180528cb714ec040c3
105a3c38b2e2a7a59479b27c7a1980b1411d0c42
Fix calendar rrule until where event is fullday but rrule until has a non-0 time
This fixes #3781 tests supplied see https://forum.magicmirror.builders/topic/19637/issue-with-outlook-recurring-events
diff --git a/CHANGELOG.md b/CHANGELOG.md index 752b451ba8..77250889fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,10 +23,15 @@ planned for 2025-07-01 - [workflow] Run linter und spellcheck with LTS node version (#3767) - [workflow] Split "Run test" step into two steps for more clarity (#3767) +### Fixed + +...
1
1
0
[{"id": "G0", "claim": "The CHANGELOG.md edit adds a whitespace-only line with a trailing space after the new Fixed entry, and adds a second blank line before the '## [2.31.0]' heading, which the repo's prettier check rejects; both extra lines should be removed.", "category": "maintainability", "verdict": "supported", ...
null
MagicMirrorOrg__MagicMirror__3806
MagicMirrorOrg/MagicMirror
3,806
defect
975ee9c97d2c28a078700d30d9689f1f0647a350
6b2d17d890bbef1883f382d6cd6406c38a05d3f9
Refactored calendarfetcherutils to fix many of the timezone and DST related issues and make debugging way easier
Refactored calendarfetcherutils to remove as many of the date conversions as possible and use moment tz when calculating recurring events, this will make debugging a lot easier and fixes problems from the past with offsets and DST not being handled properly. Also added some tests to test the behavior of the refactored ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f9c623af5..49d2588928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,10 @@ planned for 2025-07-01 - [refactor] Replace deprecated constants `fs.F_OK` and `fs.R_OK` (#3789) - [refactor] Replace `ansis` with built-in function `util.styleText` (#3793) - [core] ...
5
4
3
[{"id": "G0", "claim": "The `const moment = require(\"moment-timezone\")` added at the top of calendar.js cannot be used there because the module is loaded by the browser, not by node.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Some events might...
null
MagicMirrorOrg__MagicMirror__3869
MagicMirrorOrg/MagicMirror
3,869
defect
f8679b6ba8beedfde38c289c98e049b94df0e2fa
c4b23ab2bcc0bdd843da82dc17f4df372dc674d8
Update feels_like temperature formula
The current logic never showed any different temperature than the current one, so I looked into a more "explained" formula and found one in the HomeAssistant forums.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a5cc53115..21442afc9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ Thanks to: @dathbe. ### Updated - [core] Update dependencies including electron to v37 as well as github actions (#3831, #3849, #3857, #3858) +- [weather] Update feels_like temperatur...
2
2
1
[{"id": "G0", "claim": "The debug Log.info calls (weather, h, currentWeather) added in the openmeteo provider should not be kept in the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out feelsLikeTemp assignment should be cle...
null
MagicMirrorOrg__MagicMirror__3892
MagicMirrorOrg/MagicMirror
3,892
defect
777b49c5660c04555941aa7f789f50080de8f512
e1498e5a5d78a1a227d553f43a6f526c2d485e54
[weather] better null value handling for weather type
As mentioned [here](https://github.com/MagicMirrorOrg/MagicMirror/pull/3878#issuecomment-3275344406) our weather module needs a bit better handling for null values in the type field. This pr adds this and cleans up the layout a little.
diff --git a/CHANGELOG.md b/CHANGELOG.md index ac98be3514..69ae3ee4b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ Thanks to: @dathbe. - [calendar] Update defaultSymbol name and also the link to the icon search site (#3879) - [core] Update dependencies including electron to v38 as well as github act...
1
1
1
[{"id": "G0", "claim": "The null-value guard added in current.njk tests `config.weatherType`, but since the wrapped span renders `current.weatherType` it should probably test `current.weatherType` instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MagicMirrorOrg__MagicMirror__4034
MagicMirrorOrg/MagicMirror
4,034
defect
1dc3032171364447dad2f2316de6362fc48ffd77
f508c9ad62ed74ccd8b7ed487f70b47ba61c1c2a
replace template_spec test with config_variables test
After introducing new config loading this PR replaces the obsolete template test with a config test.
diff --git a/cspell.config.json b/cspell.config.json index 564f7d205b..1fa1ba6873 100644 --- a/cspell.config.json +++ b/cspell.config.json @@ -248,6 +248,7 @@ "Reis", "rejas", "relativehumidity", + "resultstring", "Resig", "roboto", "rohitdharavath", @@ -288,6 +289,7 @@ "TESTMODE", "testpass", ...
2
2
2
[{"id": "G0", "claim": "The new e2e spec needs an `afterAll` hook calling `helpers.stopApplication()`, like all other E2E tests have.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tests might not properly validate variable substitution, because log...
null
MagicMirrorOrg__MagicMirror__4059
MagicMirrorOrg/MagicMirror
4,059
defect
d0723457753c9160a7c18038e07b399e3a8484e4
32033971f6be2ea7c3eb7465789b4fec35a0d58c
fix(calendar): make showEnd behavior more consistent across time formats
Closes #4053 This started as a small fix. After feedback and more debugging, I found more issues and inconsistencies and went a bit down the rabbit hole. The PR is bigger now, but I think the result is better: behavior is more predictable, and the output is more consistent. ## Changes - Multi-day full-day ev...
diff --git a/defaultmodules/calendar/calendar.js b/defaultmodules/calendar/calendar.js index 0d8575c810..cb70308d36 100644 --- a/defaultmodules/calendar/calendar.js +++ b/defaultmodules/calendar/calendar.js @@ -387,8 +387,24 @@ Module.register("calendar", { if (this.config.flipDateHeaderTitle) eventWrapper.appendC...
2
1
1
[{"id": "G0", "claim": "showEnd does not display the end for multi-day events with a time (full day not checked), e.g. 10:00AM 30.03.2026 to 11:00AM 02.04.2026, and the reviewer asks that this kind of event also be considered.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
MagicStack__asyncpg__1021
MagicStack/asyncpg
1,021
defect
b2697ffdf18f7acd88a35e9a0a252c3b6fb25070
d59071cbec7807b8cdb70feaf0bcbd349e8d4690
fix: allow host tuple
* allow tuple and list as host When using alchemy with a multi host connection string we receive following error ```python in _parse_connect_dsn_and_args if h.startswith('/'): ^^^^^^^^^^^^ AttributeError: 'tuple' object has no attribute 'startswith' ```
diff --git a/asyncpg/connect_utils.py b/asyncpg/connect_utils.py index 760e1297..414231fd 100644 --- a/asyncpg/connect_utils.py +++ b/asyncpg/connect_utils.py @@ -403,7 +403,7 @@ def _parse_connect_dsn_and_args(*, dsn, host, port, user, host = ['/run/postgresql', '/var/run/postgresql', ...
2
2
1
[{"id": "G0", "claim": "The expected result of the new params_multi_host_dsn_env_mix_tuple test case omits the 'target_session_attrs': 'any' entry that the parsed params include.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The stray whitespace-only l...
null
MagicStack__asyncpg__1043
MagicStack/asyncpg
1,043
defect
83c1159563b243faf30cfad9286153a63448ef6c
8f8671a21318fa5dfee0672353baf3d8e392aa9d
Add query logging callbacks and context manager
Another take on query logging (#629), with a similar approach to existing listeners. Consider this a WIP - I'm happy to write documentation and more tests if this approach is preferable to #630.
diff --git a/asyncpg/connection.py b/asyncpg/connection.py index 0b13d356..4163a131 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -51,7 +51,7 @@ class Connection(metaclass=ConnectionMeta): '_intro_query', '_reset_query', '_proxy', '_stmt_exclusive_section', '_conf...
2
2
1
[{"id": "G0", "claim": "Stop passing the connection (con_ref) to query-logging callbacks and pass the connection's addr and params instead, since the reference is probably unnecessary and could retain references to freed connections.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
MagicStack__asyncpg__1049
MagicStack/asyncpg
1,049
defect
511aeb2368f6a6e03b2bd5f58127d98e91c3eb54
a009ccbb37ecff7a0f606f726330d9536dad2ea7
Cut BaseProtocol circular reference on close.
A bound method contains a reference to the instance it's bound to. Most of the time, bound methods are created lazily at access time by the descriptor protocol and discarded after calling. But saving a bound method as another attribute on the instance creates a long-lived cycle, here `.timeout_callback.__self__`, that ...
diff --git a/asyncpg/protocol/protocol.pyx b/asyncpg/protocol/protocol.pyx index 3f512a81..7ff0f5a9 100644 --- a/asyncpg/protocol/protocol.pyx +++ b/asyncpg/protocol/protocol.pyx @@ -599,6 +599,7 @@ cdef class BaseProtocol(CoreProtocol): # Ask the server to terminate the connection and wait for it # t...
2
2
0
[{"id": "G0", "claim": "The `timeout_callback` and `completed_callback` instance variables seem unnecessary since they are always assigned the same bound methods, so perhaps just remove them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "There is anot...
null
MagicStack__asyncpg__1061
MagicStack/asyncpg
1,061
defect
511aeb2368f6a6e03b2bd5f58127d98e91c3eb54
0e723238a4440bd28be4154194765e075ac522f8
Add support for tuple-format custom codecs on composite types
It is now possible to `set_type_codec('mycomposite', ... format='tuple')`, which is useful for types that are represented by a composite type in Postgres, but are an integral type in Python, e.g. `complex`. Fixes: #1060
diff --git a/asyncpg/connection.py b/asyncpg/connection.py index a7f249ba..211ecdeb 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -1154,6 +1154,9 @@ async def set_type_codec(self, typename, *, | ``time with | (``microseconds``, | | time zone`` ...
1
1
1
[{"id": "G0", "claim": "The docs example should query 'SELECT $1::mycomplex' rather than 'SELECT $1::complex', since the type created in the example is named mycomplex.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MagicStack__asyncpg__1128
MagicStack/asyncpg
1,128
defect
d42432bff29c5fe7c42926a24bd1272dea39af90
72a5fdafc497a1986b5e47b9a3991f15503c32d9
Implement SSPI authentication
SSPI is a Windows technology for secure authentication. SSPI and GSSAPI interoperate as clients and servers. Postgres documentation recommends using SSPI on Windows clients and servers and GSSAPI on non-Windows platforms[1]. Changes in this PR: * Support AUTH_REQUIRED_SSPI server request. This is the same as AUTH...
diff --git a/asyncpg/connect_utils.py b/asyncpg/connect_utils.py index 8039d1b4..0631f976 100644 --- a/asyncpg/connect_utils.py +++ b/asyncpg/connect_utils.py @@ -57,6 +57,7 @@ def parse(cls, sslmode): 'server_settings', 'target_session_attrs', 'krbsrvname', + 'gsslib', ]) @@ ...
1
1
0
[{"id": "G0", "claim": "Since this change makes it possible to use gssapi on Windows too, the gssapi optional dependency should not be conditional on platform_system.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MagicStack__asyncpg__1223
MagicStack/asyncpg
1,223
defect
d0797f1f7aed2d28253ec27adac39794a09b2690
31c2d433479712fddc55cbf010b7a9e2d961909e
Implement connection service file functionality
This PR attempts to implement connection service file functionality into asyncpg. Connection service files are a libpq feature that allows details of postgres connection strings to be stored in a file that is referenced via a `service` parameter in the connection string. This makes it very easy to ensure/enforce co...
diff --git a/asyncpg/connect_utils.py b/asyncpg/connect_utils.py index c65f68a6..98205e6c 100644 --- a/asyncpg/connect_utils.py +++ b/asyncpg/connect_utils.py @@ -7,6 +7,7 @@ from __future__ import annotations import asyncio +import configparser import collections from collections.abc import Callable import enum...
7
7
4
[{"id": "G0", "claim": "The DSN query's 'service' value is popped without being assigned to the service variable, so a service named only in the DSN query string is ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DSN is parsed twice beca...
null
MagicStack__asyncpg__563
MagicStack/asyncpg
563
defect
7f5c2a243360a94b31c77c3e8d415c0fd4a3fe40
cc46f14f10d771ea3f3e41b919d64565bed7fcef
Add issubset, issuperset and size to Range type
Adding issubset, issuperset and size methods to the Range type. This should correctly handle all corner cases with empty, lower/upper included or not for set methods. For empty sets follows the same rules as Python's super and sub set methods. Size method takes in optional step parameter for when lower_inc == upp...
diff --git a/asyncpg/types.py b/asyncpg/types.py index 5124718f..44833df1 100644 --- a/asyncpg/types.py +++ b/asyncpg/types.py @@ -85,6 +85,52 @@ def upper_inf(self): def isempty(self): return self._empty + def issubset(self, other): + if self._empty: + return True + if other...
7
6
2
[{"id": "G0", "claim": "In the lower-bound check the else-branch should set `lowerOk = False` and be followed by an `elif`, and the variables should be named `lower_ok`/`upper_ok` for style consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
MagicStack__asyncpg__599
MagicStack/asyncpg
599
defect
39040b3cd022d69d7c4678738d2fe2abf902f3c5
0715bf8d218867cb78c3042b2987ef0bada41ca0
Allow using custom Record class
Add the new `record_class` parameter to the `create_pool()` and `connect()` functions, as well as to the `cursor()`, `prepare()`, `fetch()` and `fetchrow()` connection methods. This not only allows adding custom functionality to the returned objects, but also assists with typing (see #577 for discussion). Fixes: #40.
diff --git a/.flake8 b/.flake8 index 7cf64d1f..9697fc96 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,3 @@ [flake8] -ignore = E402,E731,W504,E252 +ignore = E402,E731,W503,W504,E252 exclude = .git,__pycache__,build,dist,.eggs,.github,.local diff --git a/asyncpg/_testbase/__init__.py b/asyncpg/_testbase/__init__.py ind...
3
2
0
[{"id": "G0", "claim": "Instead of threading a record_class parameter through every query method, the class should be passed to the constructor (or a set_record_class_factory), and the custom-allocation path must keep Record subclasses GC-tracked so they do not break under GC or the freelist dealloc.", "category": "des...
null
MagicStack__asyncpg__713
MagicStack/asyncpg
713
defect
a308a9736ebff5f8d04d9072f375496a66f6ba33
7216850557504440fcc9541cec2696fce45569d4
Add support for asynchronous iterables to copy_records_to_table()
The `Connection.copy_records_to_table()` now allows the `records` argument to be an asynchronous iterable. Fixes: #689.
diff --git a/asyncpg/connection.py b/asyncpg/connection.py index 2e86fde0..9f2e8eb4 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -868,6 +868,8 @@ async def copy_records_to_table(self, table_name, *, records, :param records: An iterable returning row tuples to copy into the t...
2
1
0
[{"id": "G0", "claim": "The record-encoding loop body duplicated across the async and non-async branches of copy_in() should be factored out, e.g. by wrapping the non-async iterator in an async iterator or an inline function, rather than duplicating all the code.", "category": "design", "verdict": "uncertain", "priorit...
null
MagicStack__asyncpg__720
MagicStack/asyncpg
720
defect
53bea985bfda80f0af9eb3659f8e4568677e27e8
f38aa706c1e65bc4e45dc34bd8322ac27333a8de
Add sslmode=allow support and fix =prefer retry
We didn't really retry the connection without SSL if the first SSL connection fails under `sslmode=prefer`, that led to an issue when the server has SSL support but explicitly denies SSL connection through `pg_hba.conf`. This commit adds a retry in a new connection, which makes it easy to implement the `sslmode=allow` ...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d92571a9..cb7c9bf3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,6 +62,7 @@ jobs: - name: Install Python Deps if: steps.release.outputs.version == 0 run: | + pip install -U pip setu...
1
1
1
[{"id": "G0", "claim": "Use a custom exception instead of the builtin ConnectionError to trigger the SSL retry, because builtin ConnectionError might get raised for reasons unrelated to SSL.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MagicStack__asyncpg__768
MagicStack/asyncpg
768
defect
edefd69b4a0dadd045c83159edd8fc6bc05c276a
457e26f08814f2d021faf442eecf213001b90efb
add support for sslcert, sslkey and sslrootcert parameters
Allows to set `sslcert`, `sslkey` and `sslrootcert` connection parameters. Fixes #238 as it's not possible to set custom `SSLContext` object with loaded CA certificate in current version. Example: ``` conn = await asyncpg.connect(user='user', password='password', database='database'...
diff --git a/asyncpg/connect_utils.py b/asyncpg/connect_utils.py index 8d80dc29..42f8683f 100644 --- a/asyncpg/connect_utils.py +++ b/asyncpg/connect_utils.py @@ -222,6 +222,7 @@ def _parse_hostlist(hostlist, port, *, unquote=False): def _parse_connect_dsn_and_args(*, dsn, host, port, user, ...
3
3
2
[{"id": "G0", "claim": "The env-var lookup and cert-loading block should be moved inside the `if isinstance(ssl, (str, SSLMode)):` branch so that an explicitly passed SSLContext is treated as higher priority than the environment.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
MagicStack__asyncpg__848
MagicStack/asyncpg
848
defect
4d39a05268ce4cc01b00458223a767542da048b8
2e4f0b672273144f9bab21814ee5a8b70919a6f2
Improve diagnostics of invalid executemany() input
This adds a check that elements of sequence passed to `executemany()` are proper sequences themselves and notes the offending sequence element number in the exception message. For example: await self.con.executemany( "INSERT INTO exmany (b) VALUES($1)" [(0,), ("bad",)], ) DataErr...
diff --git a/asyncpg/protocol/prepared_stmt.pxd b/asyncpg/protocol/prepared_stmt.pxd index 4427bfdc..3906af25 100644 --- a/asyncpg/protocol/prepared_stmt.pxd +++ b/asyncpg/protocol/prepared_stmt.pxd @@ -29,7 +29,7 @@ cdef class PreparedStatementState: bint have_text_cols tuple rows_code...
1
1
0
[{"id": "G0", "claim": "The new DataError and InternalClientError messages should render the offending type as its name via {type(args).__name__} instead of the full {type(args)} repr.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MagicStack__asyncpg__887
MagicStack/asyncpg
887
defect
a2f093df6aceec7842709eaf92c5ff9df093efae
f89b3fb68057c3dbb0043429a54e05fbd3f19eb3
Domain basetypes are introspected (#886)
Domain encoding/decoding is handled by its basetype. This change forces those basetypes to be inspected and loaded to the client cache avoiding the issue where base types weren't encodable/decodable.
diff --git a/asyncpg/introspection.py b/asyncpg/introspection.py index 175e0242..d62f39a0 100644 --- a/asyncpg/introspection.py +++ b/asyncpg/introspection.py @@ -109,6 +109,7 @@ (tt.elemtype IS NOT NULL AND ti.oid = tt.elemtype) OR (tt.attrtypoids IS NOT NULL AND ti.oid = any(tt.attrtypoids)) ...
1
1
1
[{"id": "G0", "claim": "The change to the introspection queries should be covered by a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MagicStack__asyncpg__923
MagicStack/asyncpg
923
defect
bd192623d05668b5919d55d3b9a62629594e2fb7
353dc1f51c3c50b51580c5ff503fd85b81466b48
feat: allow direct SSL connection over STARTTLS
Adding `direct_tls` param that when equal to `True` alongside the `ssl` param being set to a `ssl.SSLContext` will result in a direct SSL connection being made, skipping STARTTLS implementation. Closes #906
diff --git a/asyncpg/connect_utils.py b/asyncpg/connect_utils.py index c09bf5e0..15cbb7db 100644 --- a/asyncpg/connect_utils.py +++ b/asyncpg/connect_utils.py @@ -53,6 +53,7 @@ def parse(cls, sslmode): 'database', 'ssl', 'sslmode', + 'tls_proxy', 'connect_timeout', 's...
2
2
1
[{"id": "G0", "claim": "The `tls_proxy` connect argument is misnamed — it really controls whether to establish a TLS connection straight away rather than use a proxy — and should be renamed to something like `direct_tls` or `straight_tls`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr...
null
MagicStack__asyncpg__941
MagicStack/asyncpg
941
defect
9825bbb61140e60489b8d5649a288d1f67c0ef9f
0fd5378b725863dc4c44b45ddad1858a4b6d9660
Add support for `WHERE` clause in `copy_to` methods
Hi there, This PR closes issue #939, and adds support for a `where` parameter in the `copy_to` family of methods. It is not a breaking change and will not affect existing code. Apologies for the delay - work has been pretty crazy the past couple days. There are a couple things I'm unsure of here and wanted to fla...
diff --git a/asyncpg/connection.py b/asyncpg/connection.py index ea128aab..55f83d00 100644 --- a/asyncpg/connection.py +++ b/asyncpg/connection.py @@ -827,7 +827,7 @@ async def copy_to_table(self, table_name, *, source, delimiter=None, null=None, header=None, qu...
1
1
0
[{"id": "G0", "claim": "The docstring for the new `where` parameter should be clarified to state that it has to be a valid SQL expression.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MagicStack__asyncpg__954
MagicStack/asyncpg
954
defect
9825bbb61140e60489b8d5649a288d1f67c0ef9f
0f98dc087bf864334b9ca2c1242f8a40c916cfd0
Add arm64 mac and linux wheels
Fixes #870 Fixes #936 Fixes #950 This PR: - Adds a fair amount of parallellization ref https://github.com/pypa/cibuildwheel/issues/1088#issuecomment-1250024795 - Uses latest manylinux images (RHEL8.6) for building future-proof wheels: the default yum repo comes with pg10 (left it like that for simplicity in th...
diff --git a/.github/workflows/install-postgres.sh b/.github/workflows/install-postgres.sh index c3f27186..4ffbb4d6 100755 --- a/.github/workflows/install-postgres.sh +++ b/.github/workflows/install-postgres.sh @@ -27,11 +27,16 @@ if [ "${ID}" = "debian" -o "${ID}" = "ubuntu" ]; then apt-get install -y --no-instal...
3
1
0
[{"id": "G0", "claim": "The build-wheels matrix in release.yml should keep the original os x cibw_python x cibw_arch formulation instead of the verbose include: block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Windows 32-bit (win32) wheel b...
null
MagicStack__asyncpg__959
MagicStack/asyncpg
959
defect
5f908e679a6264c5fcf8a92895a2f34a9387e4da
bbf0bc94815c052f4f3ef2e5450494f3200bd3f2
Use the exact type name in Record.__repr__
We support `Record` subclasses, so include the exact type name (rather than just `'Record'`) in the `repr()` string.
diff --git a/asyncpg/protocol/record/recordobj.c b/asyncpg/protocol/record/recordobj.c index 4bf34c8ac..180fc1412 100644 --- a/asyncpg/protocol/record/recordobj.c +++ b/asyncpg/protocol/record/recordobj.c @@ -455,12 +455,12 @@ static PyObject * record_repr(ApgRecordObject *v) { Py_ssize_t i, n; - PyObject *ke...
1
1
1
[{"id": "G0", "claim": "Perhaps `_PyType_Name` was not available in Python 3.6, so the new calls to it in record_repr may fail to build on Python 3.6.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
MagicStack__asyncpg__973
MagicStack/asyncpg
973
defect
43bd82c54e29352ae08b1982c23b9cb0cc33717d
a7a49ed18adefb2f3d101906573e0db6fa859fd1
Add Pool.is_closing() method
Sometimes, application code wants to check if a `Pool` is still open or not. This adds an `is_closing()` method to the public API for `Pool`, so that it's easy to do so.
diff --git a/asyncpg/pool.py b/asyncpg/pool.py index 9bd2a3e3..5a9d8549 100644 --- a/asyncpg/pool.py +++ b/asyncpg/pool.py @@ -446,6 +446,14 @@ async def _initialize(self): await asyncio.gather(*connect_tasks) + @property + def closed(self): + """Return a boolean for whether this pool ...
1
1
1
[{"id": "G0", "claim": "The new `closed` attribute should be a method named `is_closing()` that also takes the `_closing` state into account, to make `Pool` consistent with the asyncio transport API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
MagicStack__asyncpg__987
MagicStack/asyncpg
987
defect
7df9812a068c95e5dd4aa1d0270db8f177ee1e50
4e97acc5f5ee4b3ff969536b49de634f3f456d18
Target session attr (2)
Recreating this PR because it seems to have gone silent. The target is to implement the `target_session_attribute` keyword when connecting to a database cluster. Supported options are - any - primary - standy - prefer_standby - read-write - read-only
diff --git a/asyncpg/_testbase/__init__.py b/asyncpg/_testbase/__init__.py index 9944b20f..7aca834f 100644 --- a/asyncpg/_testbase/__init__.py +++ b/asyncpg/_testbase/__init__.py @@ -435,3 +435,93 @@ def tearDown(self): self.con = None finally: super().tearDown() + + +class HotStandby...
6
6
2
[{"id": "G0", "claim": "The parameter should be spelled `target_session_attrs` to follow libpq's naming.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The connect() docstring should also list the `read-write` and `read-only` options that the enum suppor...
null
MagnumGoYB__aitok__11
MagnumGoYB/aitok
11
defect
a4ea5b2bb56a06c986b1393d1022179139a8b3c7
50c72e2ce1af095bbfa4b5c819eb5bddba5d80a3
[codex] Add agent-ready cost governance
## Summary - Add streaming source scans and query accumulation so governance commands can process local logs without preloading all usage events. - Add offline `pricing audit`, `budget check`, and enhanced `doctor` reports with stable JSON/table/Markdown output. - Document and test the AI Agent contract: `--format json...
diff --git a/AGENTS.md b/AGENTS.md index 0cfd701..684d812 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -8,6 +8,7 @@ This file is the execution guide for AI coding agents working in this repository `aitok` is an offline-first Go CLI for summarizing local token usage from Claude Code, Codex, and Gemini CLI. It may estim...
8
8
6
[{"id": "G0", "claim": "The agent JSON contract tests assert stdout via strings.Contains/HasPrefix instead of decoding the payload, so they miss invalid JSON, field type changes, duplicate fields, or trailing text; the tests should unmarshal stdout into a struct or map and assert key fields.", "category": "testing", "v...
null
MagnumGoYB__aitok__17
MagnumGoYB/aitok
17
defect
a87073e195f62cf4c2a7d2ec7b45c01d9872f6ab
9445baa4518d03641355dcae8551c42fb3b2161e
[codex] Follow up provider switch cost attribution
## Summary - Follow up PR #16 by correcting provider-bucket totals when a Codex thread spans provider switch evidence across day boundaries. - Preserve mixed price component details for true mixed groups, while repricing rebalanced usage with the final provider price so model+provider rows do not show false mixed pric...
diff --git a/AGENTS.md b/AGENTS.md index 79a7cdf..658b459 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -126,4 +126,5 @@ Before every product or harness iteration, do a short internal review: - Every public guide or policy document needs a zh-CN counterpart, for example `README.md` + `README.zh-CN.md` and `CONTRIBUTING....
1
1
1
[{"id": "G0", "claim": "When two already-mixed prices are merged, the equality early-return treats them as identical because pricesEqual only compares the top-level Source and rates, so later component rates are silently dropped and the report's price details show an incomplete range; flatten and merge components befor...
null
Mai-with-u__MaiBot__1550
Mai-with-u/MaiBot
1,550
defect
34ffc56b859b0a2f5e24231db7f9ff22683ba37a
c8dc9ddb60214100f3574c6ba958453e20272dad
fix: make bot identity platform-aware
## Summary - unify bot-self detection on the canonical platform-aware helper and remove wrong-order callers - add platform-specific bot account resolution, platform-aware bot filtering, and correct outbound sender IDs - preserve current WebUI bot identity behavior while removing unknown-platform QQ fallback ## Testing...
diff --git a/pyproject.toml b/pyproject.toml index e2f97d546b..b1f9060d85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,15 @@ dependencies = [ "maibot-plugin-sdk>=1.2.3", ] +[dependency-groups] +test = [ + "pytest>=8.4.1", + "pytest-asyncio>=1.1.0", +] +dev = [ + { include-group = "test...
9
6
4
[{"id": "G0", "claim": "In is_mentioned_bot_in_message the platform taken from message.platform is used raw for branching (e.g. `if platform == \"qq\"`) while get_bot_account normalizes casing/whitespace internally, so inputs like \"QQ\" or \" qq \" can take the wrong mention-detection branch and miss QQ-format mention...
null
Mai-with-u__MaiBot__964
Mai-with-u/MaiBot
964
defect
4d7b415589c2aa0ef5b498c6cee20b15100309e3
6ec3a5e6c698c53744733aeb0da4546322b295ba
Feat: Important: 去除了mmc侧黑白名单机制
<!-- 提交前必读 --> - ✅ 接受:与main直接相关的Bug修复:提交到dev分支 - 新增功能类pr需要经过issue提前讨论,否则不会被合并 # 请填写以下内容 (删除掉中括号内的空格,并替换为**小写的x**) 1. - [x] `main` 分支 **禁止修改**,请确认本次提交的分支 **不是 `main` 分支** 2. - [x] 我确认我阅读了贡献指南 3. - [ ] 本次更新类型为:BUG修复 - [ ] 本次更新类型为:功能新增 4. - [x] 本次更新是否经过测试 5. 请填写破坏性更新的具体内容(如有): 6. 请简要说明本次更新的内容和目的: # 其...
diff --git a/src/chat/heart_flow/observation/chatting_observation.py b/src/chat/heart_flow/observation/chatting_observation.py index 415e4b100f..9bd10e511e 100644 --- a/src/chat/heart_flow/observation/chatting_observation.py +++ b/src/chat/heart_flow/observation/chatting_observation.py @@ -140,22 +140,22 @@ def search_...
8
2
0
[{"id": "G0", "claim": "Removing the user/group blacklist and private-chat whitelist checks without stated rationale or an alternative access-control mechanism may let the bot respond to banned users or previously restricted groups, so the rationale and impact need to be clarified (e.g. by filling out the PR descriptio...
null
Mai-with-u__MaiBot__981
Mai-with-u/MaiBot
981
defect
86b777fe4df21c80f909bd89ca8dbfbb6f0a755a
5d26e25b09614614cc2fa889e97fcb7456153291
Dev
<!-- 提交前必读 --> - ✅ 接受:与main直接相关的Bug修复:提交到dev分支 - 新增功能类pr需要经过issue提前讨论,否则不会被合并 # 请填写以下内容 (删除掉中括号内的空格,并替换为**小写的x**) 1. - [ ] `main` 分支 **禁止修改**,请确认本次提交的分支 **不是 `main` 分支** 2. - [ ] 我确认我阅读了贡献指南 3. - [ ] 本次更新类型为:BUG修复 - [ ] 本次更新类型为:功能新增 4. - [ ] 本次更新是否经过测试 5. 请填写破坏性更新的具体内容(如有): 6. 请简要说明本次更新的内容和目的: # 其他...
diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 58921a76fc..ebc7027e12 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -1,5 +1,12 @@ name: Ruff -on: [ push ] + +on: + push: + branches: + - main + - dev + - dev-refactor # 例如:匹配所有以 feature/ 开头的分支 ...
7
7
2
[{"id": "G0", "claim": "Commenting out the maicore-web.service definition in scripts/run.sh may prevent the WebUI from being set up if it is still intended to be available; the author should clarify whether the WebUI is deprecated, moved, or handled by a different mechanism.", "category": "correctness", "verdict": "sup...
null
MaibornWolff__codecharta__3699
MaibornWolff/codecharta
3,699
defect
500137927a17da0bc7b31b84abd828a0a55b7dca
253f0c9d28ce559fd7809a8759187eea997fc7e0
Fix/3478/reset camera global option broken
# Fix camera breaking because of the global option 'reset camera when changing map' Issue: #3478 ## Description - Fix the bug described at #3478 - The camera no longer breaks if you reload the page when while the reset camera global option is set to false. Now it will auto fit. ## Definition of Done ...
diff --git a/visualization/CHANGELOG.md b/visualization/CHANGELOG.md index 69b186f0e4..401af0de8f 100644 --- a/visualization/CHANGELOG.md +++ b/visualization/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/) ### Fixed 🐞 - Fix issue where zooming out too much makes...
3
3
0
[{"id": "G0", "claim": "The CHANGELOG entry's [#3194] link points to an issue instead of a PR, contrary to the changelog guidelines.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG should not be modified for previous versions.", "cate...
null
MaibornWolff__codecharta__3706
MaibornWolff/codecharta
3,706
defect
519e05d07d162937897cf56a2203de042cfd264a
8d4f87d4082a8966175252c5100fb65adfebbb6d
Feature/753/new focus unfocus functionality
#Focus with zoom and camera animation Issue: #753 ## Description ### Focus Functionality: - Zooms in and centers on the desired nodes/packages. - Maintains the current camera angle (rotation) to provide a consistent visual context. - Smooth transition to enhance the user experience and make tracking cleare...
diff --git a/visualization/app/app.module.ts b/visualization/app/app.module.ts index 0b775ffa6a..5c3023388a 100644 --- a/visualization/app/app.module.ts +++ b/visualization/app/app.module.ts @@ -30,6 +30,7 @@ import { ChangelogDialogModule } from "./codeCharta/ui/dialogs/changelogDialog/c import { dialogs } from "./co...
6
4
0
[{"id": "G0", "claim": "The unused `effects` variable in focus.effect.spec.ts should be removed, and at minimum the eslint-disable comment above it should go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the focusNode$ effect, focusNode(new...
null
MaibornWolff__codecharta__3901
MaibornWolff/codecharta
3,901
defect
4198a890c3f6d5e8f96ae5a43c702fe37eb9d04a
3c5f4e14495ff3f74744b14119adc6d66504e0f6
Bug/3899/upload same map twice
# App freeze when uploading a file that is already loaded Closes: #3899 ## Description When uploading, if all files are already uploaded, the application remains stuck in the loading animation. The visibleFiles does not change if only already uploaded files are uploaded again (This behavior was introduced in ...
diff --git a/visualization/CHANGELOG.md b/visualization/CHANGELOG.md index e4cc751411f..7f0227a296f 100644 --- a/visualization/CHANGELOG.md +++ b/visualization/CHANGELOG.md @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/) - Increased the size of the color quantile diagram [#38...
1
1
0
[{"id": "G0", "claim": "The boolean returned by addFile should not be named addedFile since it is not the file itself, and the reviewer suggests renaming it to hasAddedFile or newFilesWereAdded.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
MaibornWolff__codecharta__4095
MaibornWolff/codecharta
4,095
defect
c5c17668d137184c90d9b72eaaaec1464151bbc9
c028edbeb60212fe5f6f3687a419d8d2722cad02
Feat/4092/unifiedparser python support
# Add python support to unifiedParser Closes: #4092 ## Description See title ## Definition of Done A PR is only ready for merge once all the following acceptance criteria are fulfilled: - [ ] Changes have been manually tested - [ ] All TODOs related to this PR have been closed - [ ] There are automate...
diff --git a/analysis/analysers/parsers/UnifiedParser/build.gradle.kts b/analysis/analysers/parsers/UnifiedParser/build.gradle.kts index a2a9c097687..1a3ef9ee3f5 100644 --- a/analysis/analysers/parsers/UnifiedParser/build.gradle.kts +++ b/analysis/analysers/parsers/UnifiedParser/build.gradle.kts @@ -14,6 +14,7 @@ depen...
6
5
2
[{"id": "G0", "claim": "The error message \"Malformed tree detected, child node start line comes before parent node start like!\" misspells \"line\" as \"like\" and should read \"...parent node start line!\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
MaibornWolff__codecharta__4113
MaibornWolff/codecharta
4,113
defect
44d61847d7fd73d287f510e2af9dff4babe4b24c
c3da0a39123272752df7b860d64e187ee78f3125
Tech/4112/replace queries
# Adjsust unifiedParser to no longer use queries Closes: #4112 ## Description **Descriptive pull request text**, answering: - What problem/issue are you fixing? - What does this PR implement and how? ## Definition of Done A PR is only ready for merge once all the following acceptance criteria are ...
diff --git a/analysis/analysers/AnalyserInterface/src/main/kotlin/de/maibornwolff/codecharta/analysers/analyserinterface/util/CodeChartaConstants.kt b/analysis/analysers/AnalyserInterface/src/main/kotlin/de/maibornwolff/codecharta/analysers/analyserinterface/util/CodeChartaConstants.kt index 26ac99d89b..4488655dab 1006...
8
7
0
[{"id": "G0", "claim": "The file-list construction inside the walk in ProjectScanner should be extracted into its own function, something like \"getFilesToScan\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The progress-logging line \"if stuf...
null
MaibornWolff__codecharta__4206
MaibornWolff/codecharta
4,206
defect
6fc322a08fa6fc9558101afe287987972540f53e
48574aaeeeb745a06d0c16e1d3cad03d9057bae8
feat: add distribution change on hover over folders
Closes: #4175 ## Description **Descriptive pull request text**, answering: - What problem/issue are you fixing? - What does this PR implement and how? ## Definition of Done A PR is only ready for merge once all the following acceptance criteria are fulfilled: - [x] Changes have been manually tested ...
diff --git a/visualization/app/codeCharta/ui/fileExtensionBar/blackListExtension.service.spec.ts b/visualization/app/codeCharta/ui/fileExtensionBar/blackListExtension.service.spec.ts index 94fa667e9c..e08f575277 100644 --- a/visualization/app/codeCharta/ui/fileExtensionBar/blackListExtension.service.spec.ts +++ b/visua...
6
4
1
[{"id": "G0", "claim": "The new tests should follow the project's normal naming convention instead of GIVEN/THEN (and add WHEN) test names.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'should be created' test may only verify the beforeEach wiring...
null
Mail-0__Zero__1920
Mail-0/Zero
1,920
defect
b1284911736dd13274e6eff2400ce87c0877e5e1
6ad76c5893cc7202549ec27a520c4fed7142b84b
feat: add playwright tests to check for zero summary of past emails in sidebar
# READ CAREFULLY THEN REMOVE Remove bullet points that are not relevant. PLEASE REFRAIN FROM USING AI TO WRITE YOUR CODE AND PR DESCRIPTION. IF YOU DO USE AI TO WRITE YOUR CODE PLEASE PROVIDE A DESCRIPTION AND REVIEW IT CAREFULLY. MAKE SURE YOU UNDERSTAND THE CODE YOU ARE SUBMITTING USING AI. - Pull requests t...
diff --git a/apps/mail/components/create/ai-chat.tsx b/apps/mail/components/create/ai-chat.tsx index d19ad7a6b4..bc34689bbb 100644 --- a/apps/mail/components/create/ai-chat.tsx +++ b/apps/mail/components/create/ai-chat.tsx @@ -293,7 +293,7 @@ export function AIChat({ const toolParts = message.parts.filte...
3
2
0
[{"id": "G0", "claim": "The onboarding-modal handling is brittle and should use deterministic waits (networkidle, a close button or Escape, then wait for the modal to be hidden) instead of hard timeouts and fixed click coordinates.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
Mail-0__Zero__1923
Mail-0/Zero
1,923
defect
b1284911736dd13274e6eff2400ce87c0877e5e1
d0c7ffd8793cf3b02d776e28d290b46df34fc8e3
feat: add playwright tests for bulk actions and search
<!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added Playwright end-to-end tests for bulk actions and search in the AI chat sidebar to ensure key workflows work as expected. - **New Features** - Added tests that simulate sending bulk action and search commands in the chat sidebar...
diff --git a/apps/mail/components/create/ai-chat.tsx b/apps/mail/components/create/ai-chat.tsx index d19ad7a6b4..bc34689bbb 100644 --- a/apps/mail/components/create/ai-chat.tsx +++ b/apps/mail/components/create/ai-chat.tsx @@ -293,7 +293,7 @@ export function AIChat({ const toolParts = message.parts.filte...
6
1
1
[{"id": "G0", "claim": "The test relies on specific UI selectors that might break if the UI structure changes; consider using data attributes or ARIA roles instead.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test uses multiple fixed waitForTimeo...
null
MailOnline__videojs-vast-vpaid__8
MailOnline/videojs-vast-vpaid
8
defect
760ead694ad1ec80bb46c13f7d463a4d69bece3a
6280c04e2513a97a63b8604e0efe4bfe4c3d4953
[Luis] add autoResize flag, add listener to resize, resize the ad
should fix issue #5, is not working with ad because is not listening to the args, I will send an mail to brainient to confirm.
diff --git a/README.md b/README.md index 979fee11..da3e50e6 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,17 @@ [![Test Coverage](https://codeclimate.com/github/MailOnline/videojs-vast-vpaid/badges/coverage.svg)](https://codeclimate.com/github/MailOnline/videojs-vast-vpaid/coverage) This plugin allows videoj...
2
2
1
[{"id": "G0", "claim": "The new resize tests call window.dispatchEvent directly, which does not exist on IE8, so the tests will not pass there; use dom.dispatchEvent instead.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README's autoResize descrip...
null
Mailu__Mailu__3366
Mailu/Mailu
3,366
defect
30bb83c42c2983e2291ecbaf387c932843faf14f
98f671dc2e4be4fbc2ed64a5e36263caa217183c
Fix #3364
## What type of PR? bug-fix ## What does this PR do? Fix a bug preventing percent characters from being used in passwords ### Related issue(s) - closes #3364 ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicabl...
diff --git a/core/admin/mailu/internal/nginx.py b/core/admin/mailu/internal/nginx.py index ebd677d0c3..d236513d30 100644 --- a/core/admin/mailu/internal/nginx.py +++ b/core/admin/mailu/internal/nginx.py @@ -91,20 +91,14 @@ def handle_authentication(headers): # Authenticated user elif method in ['plain', 'logi...
4
3
2
[{"id": "G0", "claim": "urllib.parse.unquote cannot unquote Null, so the new line `password = urllib.parse.unquote(headers.get('Auth-Pass', None))` in nginx_authentication will not work when the Auth-Pass header is absent; guard it as in the suggested block.", "category": "correctness", "verdict": "supported", "priorit...
null
MainfluxLabs__mainflux__1090
MainfluxLabs/mainflux
1,090
defect
63e7c408831421171c5c1840d7fe49d7e48cf127
002fdd415d0a38eee853957206bbc7b383b72c9a
MF-786 - Add complete support for Readers CLI
Resolves #786
diff --git a/cli/message.go b/cli/message.go index ab83ed0d2..30f17da45 100644 --- a/cli/message.go +++ b/cli/message.go @@ -4,16 +4,70 @@ package cli import ( + "os" + "strings" + mfxsdk "github.com/MainfluxLabs/mainflux/pkg/sdk/go" "github.com/MainfluxLabs/mainflux/things" "github.com/spf13/cobra" ) +fun...
6
6
0
[{"id": "G0", "claim": "Rename the CLI file cli/message.go to cli/messages.go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Move the helper functions (buildJSONPageMetadata and friends) added to cli/message.go into utils.go.", "category": "m...
null
MainfluxLabs__mainflux__1111
MainfluxLabs/mainflux
1,111
defect
ac66963a7da4970269844ef94c5d0f819977a770
56edb1fb09c1c5dd15fc2329bf05bbe00f8d941d
MF-1112 - Add endpoint for listing API Keys
Adds a new authenticated endpoint `GET /keys `to list API keys for the current user. Resolves #1112
diff --git a/api/openapi/auth.yml b/api/openapi/auth.yml index 176457708..a98a312eb 100644 --- a/api/openapi/auth.yml +++ b/api/openapi/auth.yml @@ -5,6 +5,24 @@ info: version: "1.0.0" paths: /keys: + get: + summary: List API keys + description: | + Retrieves a paginated list of API keys issu...
2
2
0
[{"id": "G0", "claim": "The pageRes fields should use the same name for the Go field and the json tag (e.g. field Ord with tag `order`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The json tag for the direction field should be `dir` as used ...
null
MainfluxLabs__mainflux__119
MainfluxLabs/mainflux
119
defect
50be83a65e6ec7a6a344f833ffc2dac7c27f4292
158dc98f90db0c8d420a2f3f69a1cf096a1e47bd
MF-117 - Remove owner from RetrieveByID methods
Removed unnecessary `ownerID` input in `RetrieveByID` methods. Resolves #117
diff --git a/things/channels.go b/things/channels.go index 25d72efc5..db0bab986 100644 --- a/things/channels.go +++ b/things/channels.go @@ -44,7 +44,7 @@ type ChannelRepository interface { // RetrieveByID retrieves the channel having the provided identifier, that is owned // by the specified user. - RetrieveByID...
2
2
1
[{"id": "G0", "claim": "The Connect mock in things/mocks/channels.go should not verify channel ownership (the added `if owner != ch.Owner` check); remove it and, if needed, adjust the tests so this is verified in the Service layer instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intr...
null
MainfluxLabs__mainflux__180
MainfluxLabs/mainflux
180
defect
513c26346ab9b7f7f83ec82845adea203a662c99
57b359fadcd58487ef2aa897c8afc8ad275731c4
MF-178 Add group per org in RetrieveByGroupID DB method
Fixed `RetrieveByGroupID` org DB method to return `org` object resolves #178
diff --git a/auth/mocks/orgs.go b/auth/mocks/orgs.go index 93275f17b..b3be2eb66 100644 --- a/auth/mocks/orgs.go +++ b/auth/mocks/orgs.go @@ -265,23 +265,22 @@ func (orm *orgRepositoryMock) RetrieveGroups(ctx context.Context, orgID string, } -func (orm *orgRepositoryMock) RetrieveByGroupID(ctx context.Context, grou...
2
2
1
[{"id": "G0", "claim": "The mock's RetrieveByGroupID must return the org corresponding to the given groupID via the orm.groups lookup (returning ErrNotFound when it is absent), not loop over all orgs and return an arbitrary one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
MainfluxLabs__mainflux__252
MainfluxLabs/mainflux
252
defect
3cdd5caed2eadbd77aab88f6064f293b5c537a2f
68d983a05e6cdd8b6bd02d7a928b3a1d95643158
MF-233 - Add org group policies
Added group related policy with rights to see or not the group, to access the data, to edit or to remove it. Resolves #233
diff --git a/auth.pb.go b/auth.pb.go index 0243669a7..a5b749d22 100644 --- a/auth.pb.go +++ b/auth.pb.go @@ -572,26 +572,27 @@ func (m *AuthorizeRes) GetAuthorized() bool { return false } -type AccessGroupReq struct { +type AddPolicyReq struct { Token string `protobuf:"bytes,1,opt,name=token,pro...
6
4
2
[{"id": "G0", "claim": "The request message should be named PolicyReq instead of AddPolicyReq so it can be reused for UpdatePolicy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The endpoint function should be renamed addPolicyEndpoint to match the rena...
null
MainfluxLabs__mainflux__256
MainfluxLabs/mainflux
256
defect
126b7ddc8f8ef4033ef4cb3cbbad1ee4aa283c0d
094e29a6d3ca0209ddaa674eef604c53eced1771
MF-255 - Make group members UNIQUE
Added thing per group memberships. Added single thing for `assign` and `unassign` Resolves #255
diff --git a/bootstrap/mocks/things.go b/bootstrap/mocks/things.go index c9b438a70..cf1a08c68 100644 --- a/bootstrap/mocks/things.go +++ b/bootstrap/mocks/things.go @@ -281,14 +281,14 @@ func (svc *mainfluxThings) ViewGroup(ctx context.Context, token, id string) (thi panic("not implemented") } -func (svc *mainflux...
2
2
0
[{"id": "G0", "claim": "It would be better for the group members mock to use a slice instead of a nested map: members: make(map[string][]string).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The memberships field added in things/mocks/groups.g...
null
MainfluxLabs__mainflux__26
MainfluxLabs/mainflux
26
defect
4a8ac6ca3ad1e30bc73afa0e5117b76f005fb535
923c6e849b71f0f61567ceb391f12f20fbab1a78
MF-20 - Add admin backup endpoint.
Added endpoint which will get list of all things, channels and connections. Resolves: #20
diff --git a/bootstrap/mocks/things.go b/bootstrap/mocks/things.go index 53f1a273b..73d3d56fc 100644 --- a/bootstrap/mocks/things.go +++ b/bootstrap/mocks/things.go @@ -181,6 +181,10 @@ func (svc *mainfluxThings) ListThingsByChannel(context.Context, string, string, panic("not implemented") } +func (svc *mainfluxTh...
8
7
0
[{"id": "G0", "claim": "The BackupChannels doc comment contains the typo 'cretrieves' and should read 'retrieves'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The backup SQL queries (channels, connections, things) are missing a trailing ';' at ...
null
MainfluxLabs__mainflux__565
MainfluxLabs/mainflux
565
defect
e37fac7de019d5d7c5c92b858dc27fcf52cd8efa
71d72933d26d5f9f8987dcd1f5b83c0fa41c9e5d
MF-564 - Add missing cache methods
Things and Profiles cache: #564 Groups cache: #540
diff --git a/auth/orgs.go b/auth/orgs.go index d46f67d35..9e80fc97c 100644 --- a/auth/orgs.go +++ b/auth/orgs.go @@ -14,20 +14,11 @@ var ( // ErrUnassignMember indicates failure to unassign member from an org. ErrUnassignMember = errors.New("failed to unassign member from org") - // ErrAssignGroup indicates failu...
3
3
0
[{"id": "G0", "claim": "RemoveOrg should not declare a function-scoped (global) err variable in its var block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "clearGroup should use the prefix constants inside the method instead of receiving them ...
null
MainfluxLabs__mainflux__644
MainfluxLabs/mainflux
644
defect
0d6ed51155a856b6651bf28953532207e5cd2bc3
5afef0f4f2d523bd5a81a7fdafda33dc4918cdf4
MF-643 - Enhance ChangePassword method for admin
Resolves #643
diff --git a/users/api/http/endpoint.go b/users/api/http/endpoint.go index 2c300e79c..8449c005b 100644 --- a/users/api/http/endpoint.go +++ b/users/api/http/endpoint.go @@ -177,7 +177,7 @@ func passwordChangeEndpoint(svc users.Service) endpoint.Endpoint { return nil, err } res := passwChangeRes{} - if err :=...
3
3
0
[{"id": "G0", "claim": "Rename the parameter authToken to token in the ChangePassword signatures and calls in the logging and metrics middlewares.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the indentation of the Email field in passwChan...
null
MainfluxLabs__mainflux__653
MainfluxLabs/mainflux
653
defect
164fbfcde8aabc78ec4487cb88f1c974e880ef90
b925e35d3ec06687dbfcb519ac375f893f0e3da5
MF-648 - Add Delete endpoint in postgres-reader
This PR adds a delete endpoint for messages. The endpoint deletes all messages (both SenML and JSON) from a given publisher within a time range. Resolves #648
diff --git a/api/openapi/readers.yml b/api/openapi/readers.yml index f20fd9462..c97a1fd4e 100644 --- a/api/openapi/readers.yml +++ b/api/openapi/readers.yml @@ -46,6 +46,32 @@ paths: '500': $ref: "#/components/responses/ServiceError" + /messages/{publisherID}: + delete: + summary: Delete ...
13
13
2
[{"id": "G0", "claim": "The if/else-if chain choosing between thing key and admin token authentication in deleteMessagesEndpoint should be rewritten as a switch statement.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The from and to query para...
null
MainfluxLabs__mainflux__970
MainfluxLabs/mainflux
970
defect
e92e3aae4515586ed4db25e4538c3be386d06ce8
084c418f6564adceaa81431b47f8e80f2fd34c81
MF-961 - Multi Field JSON Aggregation
Resolves #961 This adds support for multiple fields for aggregation. It also restricts the returned aggregated fields to only those which are used as a query parameter. Here's an example request: `http://localhost/reader/json?agg_type=min&agg_interval=day&agg_value=1&limit=1&agg_field=humidity&agg_field=temp...
diff --git a/pkg/apiutil/transport.go b/pkg/apiutil/transport.go index 23e2f69aa..10b3a83c3 100644 --- a/pkg/apiutil/transport.go +++ b/pkg/apiutil/transport.go @@ -419,6 +419,20 @@ func ReadFloatQuery(r *http.Request, key string, def float64) (float64, error) { return val, nil } +func ReadStringArrayQuery(r *http...
9
9
0
[{"id": "G0", "claim": "The pull request garbled the file's copyright header to '// Copyright (c) Mainfluxaggregations'; fix the comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper buildHavingConditionForCount should be named buildC...
null
Majored__rs-async-zip__28
Majored/rs-async-zip
28
defect
db338ca44caf6cf0630c7ce44461074b3dded98d
503e0b276d436ac29c42b88617056de0dbd6ab47
Refactor - Remove AsyncDelimiterReader use for Stream zip reading
This is sort of a continuation of my previous PR: #26. As me and @mobad [discussed in the PR](https://github.com/Majored/rs-async-zip/pull/26#issuecomment-1172969788), all the decoding algorithms **rs-async-zip** uses happens to be self-terminating, which means we don't really need the `AsyncDelimiterReader` to dete...
diff --git a/src/error.rs b/src/error.rs index 3bdd0f9e..3b8bc762 100644 --- a/src/error.rs +++ b/src/error.rs @@ -23,4 +23,6 @@ pub enum ZipError { CRC32CheckError, #[error("Entry index was out of bounds.")] EntryIndexOutOfBounds, + #[error("Compressed size is required to be present in the Local File...
1
1
1
[{"id": "G0", "claim": "The new MissingCompressedSize error likely can never be triggered since a Some compressed_size is always passed in, and logic is needed (probably in stream read_lfh) to detect a set data descriptor bit with compressed_size 0 and map crc and sizes to None.", "category": "correctness", "verdict": ...
null
MaltegoTech__maltego-trx__16
MaltegoTech/maltego-trx
16
defect
4b3bbbc60d5ec953683b348a07ec737488bfc9b1
a1c9fe9f8667360bc1c17aabba5e2611ec32ffd9
Replace MaltegoOAuth's pycrptodome dependency with cryptography lib
Removed the pycrptodome dependency for MaltegoOAuth which has large dependencies on Windows OS. I replaced it with cryptography https://cryptography.io/en/latest/
diff --git a/maltego_trx/oauth.py b/maltego_trx/oauth.py index e0d3464..8f88f98 100644 --- a/maltego_trx/oauth.py +++ b/maltego_trx/oauth.py @@ -1,9 +1,10 @@ """Maltego OAuth Crypto Helper""" import base64 -from Crypto import Random -from Crypto.Cipher import PKCS1_v1_5, AES -from Crypto.Hash import SHA -from Crypto....
2
2
2
[{"id": "G0", "claim": "Expose the password parameter for loading encrypted PEM private keys instead of hardcoding password=None, since PEM files are most often encrypted on disk.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use cryptography.hazmat.pri...
null
ManimCommunity__manim__1418
ManimCommunity/manim
1,418
defect
6559a6065344c3bedb301737e6881e7846b0ee83
acfb0ef2cd09ffcc8ca5cbaf393f30f3c9b31fd7
Added project management commands
<!-- Thanks for your contribution to ManimCommunity! Before filling in the details, ensure: - Your local changes are up-to-date with ManimCommunity/manim - The title of your PR gives a descriptive summary to end-users. Some examples: - Fixed last animations not running to completion - Added gradient sup...
diff --git a/manim/__main__.py b/manim/__main__.py index 277c8be0ff..782a28b972 100644 --- a/manim/__main__.py +++ b/manim/__main__.py @@ -6,6 +6,7 @@ from . import __version__, console from .cli.cfg.commands import cfg from .cli.plugins.commands import plugins +from .cli.project.commands import init, new from .cli...
14
14
6
[{"id": "G0", "claim": "The template class named `Graph` is also the name of another manim class (manim.mobject.graph.Graph), which would get overwritten in the generated scene and might lead to problems if someone tries to insert a `Graph` object there.", "category": "correctness", "verdict": "supported", "priority": ...
null
ManimCommunity__manim__1595
ManimCommunity/manim
1,595
defect
e85599e9829460948ac63f620a9bc737e8b7a5c7
50f14339df7c2f92722e32beb50302175e1ab7c6
Fixed a few CLI and rendering bugs
<!-- Thanks for your contribution to ManimCommunity! Before filling in the details, ensure: - Your local changes are up-to-date with ManimCommunity/manim - The title of your PR gives a descriptive summary to end-users. Some examples: - Fixed last animations not running to completion - Added gradient sup...
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.py index e50706215c..04d59924bc 100644 --- a/manim/scene/scene_file_writer.py +++ b/manim/scene/scene_file_writer.py @@ -2,7 +2,6 @@ __all__ = ["SceneFileWriter"] - import datetime import os import shutil @@ -22,7 +21,10 @@ add_e...
3
1
0
[{"id": "G0", "claim": "When using --format png, manim should not log a message for each png generated; it should log just the output directory once at the end.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The title and the points under the changelo...
null
ManimCommunity__manim__1744
ManimCommunity/manim
1,744
defect
39d429dc548954fc55cf24d42bef521adc6afa35
ac972b261f174151c8655775953125c2693ce036
Fixed bug in :class:`~.NumberPlane` with strictly positive or strictly negative values for ``x_range`` and ``y_range``
<!-- Thanks for your contribution to ManimCommunity! Before filling in the details, ensure: - Your local changes are up-to-date with ManimCommunity/manim - The title of your PR gives a descriptive summary to end-users. Some examples: - Fixed last animations not running to completion - Added gradient...
diff --git a/manim/mobject/coordinate_systems.py b/manim/mobject/coordinate_systems.py index a5ae1f45ef..183d0da9b0 100644 --- a/manim/mobject/coordinate_systems.py +++ b/manim/mobject/coordinate_systems.py @@ -1591,10 +1591,30 @@ def get_lines_parallel_to_axis( lines1 = VGroup() lines2 = VGroup() ...
3
2
1
[{"id": "G0", "claim": "Instead of the added on_same_side branching, after computing ranges the code could simply drop the second component of ranges when x_min < 0.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR needs a test (suggested: a graphical...
null
ManimCommunity__manim__1765
ManimCommunity/manim
1,765
defect
ed8f0a530ee46039f438ef65b4430e0f5ddcb735
b10f508635ef06fdcc4fabe1ab41a4db3669c7fe
Added a static method :meth:`.Circle.from_three_points` for defining a circle from three points
<!-- Thanks for your contribution to ManimCommunity! Before filling in the details, ensure: - Your local changes are up-to-date with ManimCommunity/manim - The title of your PR gives a descriptive summary to end-users. Some examples: - Fixed last animations not running to completion - Added gradient sup...
diff --git a/manim/mobject/geometry.py b/manim/mobject/geometry.py index 4a07b387c1..f2bfa9fa51 100644 --- a/manim/mobject/geometry.py +++ b/manim/mobject/geometry.py @@ -87,6 +87,7 @@ def construct(self): compass_directions, line_intersection, normalize, + perpendicular_bisector, regular_vertice...
6
5
2
[{"id": "G0", "claim": "Rewrite perpendicular_bisector so it works in 3D, taking an additional vector as a kwarg (defaulting to OUT or IN) so the bisector is perpendicular to both the line's direction and that vector.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
ManimCommunity__manim__1780
ManimCommunity/manim
1,780
defect
5746993de4e1fbe7a424b6e0ceb89a3b14a62f94
d607f3acb0fa9743d5cab75f86c4bfe330167769
Allow non-numerical values to be added to :class:`~.NumberLine` and :class:`~.Axes`
<!-- Thanks for your contribution to ManimCommunity! Before filling in the details, ensure: - Your local changes are up-to-date with ManimCommunity/manim - The title of your PR gives a descriptive summary to end-users. Some examples: - Fixed last animations not running to completion - Added gradient sup...
diff --git a/manim/mobject/coordinate_systems.py b/manim/mobject/coordinate_systems.py index 406baa4cfc..847b011506 100644 --- a/manim/mobject/coordinate_systems.py +++ b/manim/mobject/coordinate_systems.py @@ -12,7 +12,7 @@ import fractions as fr import numbers -from typing import Callable, Iterable, Optional, Seq...
4
3
2
[{"id": "G0", "claim": "Labels should be addable via the constructor (e.g. a labels keyword argument on __init__ that, when not None, adds labels to the corresponding NumberLine) rather than only after instantiation via add_coordinates().", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introdu...
null
ManimCommunity__manim__1802
ManimCommunity/manim
1,802
defect
4e38f95e2904222615e09c320c7de5c3258864c9
67b6749d72d9531fc6a4e2c437a6dd2729720fac
Refactored graphical unit testing system, and implemented multi frames tests
**NOTE : This PR aims to firstly refactor the testing system, I will modify the tests impacted by the new syntax (all the graphical tests) in a future PR.** <!-- Thanks for your contribution to ManimCommunity! Before filling in the details, ensure: - Your local changes are up-to-date with ManimCommunity/manim ...
diff --git a/manim/renderer/cairo_renderer.py b/manim/renderer/cairo_renderer.py index 537b86b2f2..fc7da7a952 100644 --- a/manim/renderer/cairo_renderer.py +++ b/manim/renderer/cairo_renderer.py @@ -57,11 +57,18 @@ class CairoRenderer: time: time elapsed since initialisation of scene. """ - def __init__(...
18
16
1
[{"id": "G0", "claim": "The frames_comparison import added to tests/test_graphical_units/test_creation.py is currently unused and should be removed until the tests are migrated to the new syntax.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
ManimCommunity__manim__1898
ManimCommunity/manim
1,898
defect
e4de8b728f96334e55d73a133138e183727c3de9
b3af8fd47252e615e985d1781fe3ff6cf180637c
Replaced ``self.data["attr"]`` and ``self.uniforms["attr"]`` with ``self.attr``
<!-- 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/number_line.py b/manim/mobject/number_line.py index 286178dfe6..92f1a9c0ed 100644 --- a/manim/mobject/number_line.py +++ b/manim/mobject/number_line.py @@ -183,7 +183,6 @@ def __init__( self.longer_tick_multiple = longer_tick_multiple self.exclude_origin_tick = exclude_origi...
3
1
0
[{"id": "G0", "claim": "The reviewer questions why both class-level and instance-level _Data attributes are needed, noting that accessing a class attribute directly (e.g. OpenGLSurface.points) raises AttributeError: 'NoneType' object has no attribute '__dict__'.", "category": "design", "verdict": "opposed", "priority":...
null
ManimCommunity__manim__1924
ManimCommunity/manim
1,924
defect
463975455de51463acc1bbb3ed2b4a3a932573d0
f07090637e629cca435e1b7af0d07506639e5c19
Made arrow tips rotate ``IN`` and ``OUT`` properly
<!-- 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.py b/manim/mobject/geometry.py index ceddba58c7..ed413ac5e9 100644 --- a/manim/mobject/geometry.py +++ b/manim/mobject/geometry.py @@ -85,6 +85,7 @@ def construct(self): from ..utils.space_ops import ( angle_between_vectors, angle_of_vector, + cartesian_to_spherical, ...
4
3
1
[{"id": "G0", "claim": "Add a comment explaining the mathematical reasoning behind the tip rotation calculation in position_tip.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Documentation for the return values of cartesian_to_spherical might be ...
null
ManimCommunity__manim__1929
ManimCommunity/manim
1,929
defect
fb680235bb3644c3df4a5f4cb9987213e0c72dc2
45af209bec6861c275b9dff72f1ad0a5e9579d1b
Implementing a ``zoom`` parameter for :meth:`.ThreeDScene.move_camera`
<!-- 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/camera/three_d_camera.py b/manim/camera/three_d_camera.py index 448979c631..eab7b1b2ea 100644 --- a/manim/camera/three_d_camera.py +++ b/manim/camera/three_d_camera.py @@ -33,6 +33,7 @@ def __init__( phi=0, theta=-90 * DEGREES, gamma=0, + zoom=1, **kwargs ...
3
2
1
[{"id": "G0", "claim": "The existing `distance` parameter of ThreeDScene camera methods should be renamed to `focal_distance` in this PR.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The limit on `distance` (about ±6) should be removed.", "category":...
null
ManimCommunity__manim__1994
ManimCommunity/manim
1,994
defect
f63b96794fe977330822cb4148da8c60ffe50082
3a10e54040454cd97510b5891bbfcffbd64b005a
Fix :meth:`~.input_to_graph_point` when passing a line graph (from :meth:`.Axes.get_line_graph`)
<!-- 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/coordinate_systems.py b/manim/mobject/coordinate_systems.py index 59536cf2dc..35c62caaf7 100644 --- a/manim/mobject/coordinate_systems.py +++ b/manim/mobject/coordinate_systems.py @@ -33,7 +33,13 @@ ) from ..mobject.number_line import NumberLine from ..mobject.svg.tex_mobject import MathTe...
3
2
0
[{"id": "G0", "claim": "Since the change adds a ValueError, the docstring of the function should mention it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks why the binary_search bounds were changed to 0 and 1 instead of x_range[0] an...
null
ManimCommunity__manim__2111
ManimCommunity/manim
2,111
defect
ce07a50d82a19bbbda38fd51e927b6e9391ddf98
1396d83c412e1332c25dfc422189deb9f730c925
Improved setting of OpenGL 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/opengl_mobject.py b/manim/mobject/opengl_mobject.py index e981e051e2..ae127a7544 100644 --- a/manim/mobject/opengl_mobject.py +++ b/manim/mobject/opengl_mobject.py @@ -1314,6 +1314,10 @@ def set_color(self, color, opacity=None, recurse=True): self.set_rgba_array(color, opacity, recur...
1
1
0
[{"id": "G0", "claim": "In set_stroke, the recursive call should pass color, width, opacity, background and recurse to the submobject as keyword arguments instead of positionally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ManimCommunity__manim__2158
ManimCommunity/manim
2,158
defect
8a3d1d8ff3aea50e88625e4514fb39230592c81c
057b4b57d1ffe12698eb496a2724a016f12d8351
Added OpenGL compatibility to :meth:`.ThreeDScene.add_fixed_orientation_mobjects` and :meth:`.ThreeDScene.add_fixed_in_frame_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? <!-- If there is more information than the PR title that should be added to our release changelog, add ...
diff --git a/manim/scene/three_d_scene.py b/manim/scene/three_d_scene.py index 452de08097..cbe242f4af 100644 --- a/manim/scene/three_d_scene.py +++ b/manim/scene/three_d_scene.py @@ -12,7 +12,7 @@ from ..animation.animation import Animation from ..animation.transform import Transform from ..camera.three_d_camera imp...
3
2
0
[{"id": "G0", "claim": "Add tests covering the new OpenGL branches of the fixed-mobject scene methods (remove_fixed_orientation_mobjects, and remove_fixed_in_frame_mobjects to check the mobject is removed), which currently have no coverage for cairo either.", "category": "testing", "verdict": "uncertain", "priority": "...
null
ManimCommunity__manim__2162
ManimCommunity/manim
2,162
defect
8600c7c4dadb5f3492cfd192bac5f5bc77d3c5eb
5e61cfd166633c2246cb23202b157731b8dda690
Implemented :meth:`.MovingCamera.auto_zoom` for automatically zooming onto specified mobjects
## Overview: What does this pull request change? <!--changelog-start--> <!--changelog-end--> Added auto_zoom to moving_camera. Added a function to moving_camera called auto_zoom. auto_zoom takes an array of Mobjects and calculates a new camera frame. Fixed is_in_frame. is_in_frame hade incorrect va...
diff --git a/manim/camera/camera.py b/manim/camera/camera.py index ceedde7802..c067ef9f2e 100644 --- a/manim/camera/camera.py +++ b/manim/camera/camera.py @@ -454,10 +454,10 @@ def is_in_frame(self, mobject): return not reduce( op.or_, [ - mobject.get_right()[0] < fc[0]...
14
13
1
[{"id": "G0", "claim": "The bitwise | and & operators in the auto_zoom loop condition should be `or` and `and` for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The critical-point min/max computation would be more readable rewritte...
null
ManimCommunity__manim__2236
ManimCommunity/manim
2,236
defect
0bcc380a2376bfc19cb7f08566d036f01fa9fd21
f82020bfa0c04a53ffed0af193efd96d7dba95d0
Added ``skip_animations`` argument to :meth:`.Scene.next_section`
This PR closes #1953 as it adds a new boolean parameter `skip_animations` to the `next_section` method. When this is True, all animations within that section will be skipped just like `-n` would. ## Reviewer Checklist - [ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly - [ ]...
diff --git a/manim/renderer/cairo_renderer.py b/manim/renderer/cairo_renderer.py index 574a384de3..e20406efe9 100644 --- a/manim/renderer/cairo_renderer.py +++ b/manim/renderer/cairo_renderer.py @@ -1,5 +1,6 @@ import time import typing +from typing import Any import numpy as np @@ -30,7 +31,6 @@ def __init__( ...
9
3
0
[{"id": "G0", "claim": "Writing the sections index JSON sat inside the per-section loop, so the index file was rewritten once for every section; it should be written once after the loop.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The file_writ...
null
ManimCommunity__manim__2276
ManimCommunity/manim
2,276
defect
82729bdd1100dcec3808b237934f6c442bfedfe2
ef9b73a04161d3a3133e2bcfbdf07e972bfd9f5e
Fixed bug with alignment of z-axis in :class:`~.ThreeDAxes`
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> This PR closes #2265. ## Overview: What does this pull request change? <!-- If there is more information than the PR title that should be added to our ...
diff --git a/manim/mobject/coordinate_systems.py b/manim/mobject/coordinate_systems.py index 155fb8eb48..4ad7389b5d 100644 --- a/manim/mobject/coordinate_systems.py +++ b/manim/mobject/coordinate_systems.py @@ -2187,7 +2187,7 @@ def __init__( z_axis.rotate_about_zero(angle_of_vector(self.z_normal)) z_...
2
2
1
[{"id": "G0", "claim": "The origin-shift argument could be written more directly as self._origin_shift(self.x_axis.x_range).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR's fix leaves the ThreeDAxes z-axis misaligned when z_range does no...
null
ManimCommunity__manim__2314
ManimCommunity/manim
2,314
defect
7d47e830b549485e8b3217052e93d3bee0274d95
4507cf6914f81f65de37a88594029a0fb7a908dd
Added basic support for adding subcaptions via :meth:`.Scene.add_subcaption`
<!-- 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/scene.py b/manim/scene/scene.py index afbfa73cfc..b716162f40 100644 --- a/manim/scene/scene.py +++ b/manim/scene/scene.py @@ -3,6 +3,7 @@ __all__ = ["Scene"] import copy +import datetime import inspect import platform import random @@ -12,6 +13,8 @@ from queue import Queue from typing ...
4
3
0
[{"id": "G0", "claim": "Subcaptions should be defined in the sections rather than in the play commands, so that they can also be displayed in the Manim Editor, making it easier to record the audio and rehearse a script.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
ManimCommunity__manim__2387
ManimCommunity/manim
2,387
defect
e61d22fdfe0b62d011eaeabebd3e94fff93c1109
4bc1a7ca86879eecbd3d0d78c889a8f26f9c5286
Refactored :class:`~.BarChart` and made it inherit from :class:`~.Axes`
<!-- 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/probability.py b/manim/mobject/probability.py index af1098dee0..0a5edc911e 100644 --- a/manim/mobject/probability.py +++ b/manim/mobject/probability.py @@ -3,19 +3,21 @@ __all__ = ["SampleSpace", "BarChart"] -from typing import Iterable, List +from typing import TYPE_CHECKING, Iterable, ...
6
4
2
[{"id": "G0", "claim": "In the rendered docs, the parameters for `.add_bar_labels` appear twice.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The previous implementation had `.change_bar_values`; add it to the new BarChart too.", "category": "de...
null
ManimCommunity__manim__2487
ManimCommunity/manim
2,487
defect
6a2aa1e7ee68566ab2bafc5103d754e9ab7ad393
e27c8ce3f73d938977adcb52148642d964500453
Fixed :meth:`.ThreeDCamera.remove_fixed_orientation_mobjects`
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> `self.fixed_orientation_mobjects` is a dictionnary, not a set as it is for `self.fixed_in_frame_mobjects`. ## Overview: What does this pull request ch...
diff --git a/manim/camera/three_d_camera.py b/manim/camera/three_d_camera.py index 5a60c1a5aa..c21edc3719 100644 --- a/manim/camera/three_d_camera.py +++ b/manim/camera/three_d_camera.py @@ -419,7 +419,7 @@ def remove_fixed_orientation_mobjects(self, *mobjects): """ for mobject in extract_mobject_fami...
1
1
1
[{"id": "G0", "claim": "A test should be added for this change, covering that the method removes a fixed orientation mobject.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ManimCommunity__manim__2504
ManimCommunity/manim
2,504
defect
269e5c22cb02de108579eccee2b82583eb71e3dc
8095ce77ebc6f1a6a89f865fb9af1938095e3206
Added finer control over :meth:`.Scene.wait` being static (i.e., no updaters) or not
## 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--> - Added keyword argument ``frozen_fra...
diff --git a/manim/animation/animation.py b/manim/animation/animation.py index c597a0bdc0..a9a7c5c5d9 100644 --- a/manim/animation/animation.py +++ b/manim/animation/animation.py @@ -511,12 +511,41 @@ def prepare_animation( class Wait(Animation): + """A "no operation" animation. + + Parameters + ---------...
3
2
1
[{"id": "G0", "claim": "The OpenGL fix for the broken rendering of scenes starting with wait also broke the disabled-updaters (static wait) behavior again, so it needs more work.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "should_update_mobjects ...
null
ManimCommunity__manim__2508
ManimCommunity/manim
2,508
defect
717abfbfebab36d3c1216bfff7a413db828b4352
d9867eeae08cc94e47f17a1fe76d93d728d3f029
Improve performance for :meth:`.Mobject.become`
<!-- 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/mobject.py b/manim/mobject/mobject.py index 226400d397..eaed1e9953 100644 --- a/manim/mobject/mobject.py +++ b/manim/mobject/mobject.py @@ -2471,10 +2471,11 @@ def construct(self): return self.shuffle(*args, **kwargs) # Alignment - def align_data(self, mobject: "Mobject"): ...
3
3
0
[{"id": "G0", "claim": "align_data should get bare-bones documentation (docstring describing the method, its parameters and the new skip_point_alignment flag), as provided in the attached suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
ManimCommunity__manim__2546
ManimCommunity/manim
2,546
defect
e040bcacd38378386749db18aeba575b93f4ebca
1fcfbf37dac7f8615259250cefe8a743e18cdfae
Fixed a File logging bug and some maintenance
## Overview: What does this pull request change? Closes #2285 Removes a test Removes the ability to change `verbosity` when calling `--log_to_file` Adds type hints to file_ops And does some fixes to _config.utils I have added additional details in the commit messages ## Motivation and Explanation: Why and h...
diff --git a/manim/_config/logger_utils.py b/manim/_config/logger_utils.py index de579dcfef..1c7d93258f 100644 --- a/manim/_config/logger_utils.py +++ b/manim/_config/logger_utils.py @@ -15,7 +15,6 @@ import copy import json import logging -import os import sys from typing import TYPE_CHECKING @@ -26,7 +25,7 @@ ...
3
3
0
[{"id": "G0", "claim": "The `\"\".join` around `scene_name` is a leftover artifact with no purpose since `scene_name` is a str, and the `scene_name_suffix` variable should be removed entirely.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The p...
null
ManimCommunity__manim__2548
ManimCommunity/manim
2,548
defect
8e1407e7fd5c01258f75748cc947d31d67ffd92b
d4a46e693e0e055d569262444df49d41bb92dcbd
Fixed :class:`.Axes` plotting bug with logarithmic x-axis
The scaling function was not applied to the last x-value to be evaluated, resulting in a wrong point of the function plot and a weird line from the second-last to the last point when using a scaled x-axis. This PR fixes #2543. ## Overview: What does this pull request change? Run `manim -pql scene.py Staircase...
diff --git a/manim/mobject/functions.py b/manim/mobject/functions.py index afc21d3275..60c4507039 100644 --- a/manim/mobject/functions.py +++ b/manim/mobject/functions.py @@ -143,7 +143,10 @@ def generate_points(self): for t1, t2 in zip(boundary_times[0::2], boundary_times[1::2]): t_range = np.a...
1
1
1
[{"id": "G0", "claim": "The pull request should add tests for graphs plotted on logarithmic axes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ManimCommunity__manim__2574
ManimCommunity/manim
2,574
defect
e040bcacd38378386749db18aeba575b93f4ebca
3e9946dc3277e71f8c653e1950325cd970aae1fd
Improved Error in :mod:`.utils.tex_file_writing`
## Overview: What does this pull request change? This removes the infamous `max() arg is an empty sequence` error Added an insight for when a package is not installed Fixes #2360 ## Further Information and Comments <!-- If applicable, put further comments for the reviewers here. --> I am not sure if > Install ...
diff --git a/manim/utils/tex_file_writing.py b/manim/utils/tex_file_writing.py index 6987996c8b..2da7276265 100644 --- a/manim/utils/tex_file_writing.py +++ b/manim/utils/tex_file_writing.py @@ -149,6 +149,11 @@ def insight_inputenc_error(match): yield "See the documentation for manim.mobject.svg.tex_mobject for d...
4
3
1
[{"id": "G0", "claim": "The 'You do not have package ... installed' insight message should end with a full stop.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The 'Install it using your LaTeX package manager' insight message should end with a ful...
null
ManimCommunity__manim__2587
ManimCommunity/manim
2,587
defect
ed30cc906cd6601ef9528e21f34b731b6539b141
13315ce9e344bd0a7cedddcc6a1dd078b6ea3201
Fixed bug with rendering Tex string that contain ``%``
<!-- 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/utils/tex_file_writing.py b/manim/utils/tex_file_writing.py index f10ee3b512..8bdb0c3c44 100644 --- a/manim/utils/tex_file_writing.py +++ b/manim/utils/tex_file_writing.py @@ -84,7 +84,10 @@ def generate_tex_file(expression, environment=None, tex_template=None): result = os.path.join(tex_dir, ...
2
2
1
[{"id": "G0", "claim": "A (non-graphical) unit test should be added making sure that Tex(r\"\\%\") compiles as intended.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The % test should be split out of test_tex into its own test, named test_percent_char...
null
ManimCommunity__manim__2658
ManimCommunity/manim
2,658
defect
574ff693dadb0793ba565bc4df9425ceda6ce071
b6924eb7f5bea75b76910a89ddf63527a8caefdc
Fix arguments of overridden ``set_style`` for :class:`.BackgroundRectangle`
<!-- 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/shape_matchers.py b/manim/mobject/geometry/shape_matchers.py index 5aad303090..73f0d88e81 100644 --- a/manim/mobject/geometry/shape_matchers.py +++ b/manim/mobject/geometry/shape_matchers.py @@ -106,10 +106,17 @@ def pointwise_become_partial(self, mobject, a, b): def set_style...
1
1
1
[{"id": "G0", "claim": "The overridden set_style needlessly replicates information by declaring keyword arguments it never passes on; it should instead be rewritten as def set_style(self, fill_opacity, **kwargs) and log a warning/info when kwargs contains arguments that are not processed.", "category": "design", "verdi...
null
ManimCommunity__manim__2685
ManimCommunity/manim
2,685
defect
8841e39a20b501e38091df126a62bb7440931089
dfef20e4d65945cd1c3114b06e7b9463c79071d7
Migrate from os.path to pathlib in Testing Scripts
<!-- 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/cli/cfg/group.py b/manim/cli/cfg/group.py index 3cc5b207d6..b8dc121f63 100644 --- a/manim/cli/cfg/group.py +++ b/manim/cli/cfg/group.py @@ -9,6 +9,7 @@ import os from ast import literal_eval +from pathlib import Path import click from rich.errors import StyleSyntaxError @@ -256,10 +257,10 @@ ...
5
5
2
[{"id": "G0", "claim": "SVGMobject should also accept pathlib.Path objects, e.g. SVGMobject(Path.cwd() / \"wind.svg\"), which currently does not work.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The PR's change breaks Text and MarkupText in CI: the ...
null
ManimCommunity__manim__2749
ManimCommunity/manim
2,749
defect
a7ad01df7c27b463099e086bba7b462054871604
c48f8b6217f6419930ef9e3ae5ff61640028701f
Added :class:`.ChangeSpeed`, an animation wrapper that allows to smoothly change the speed at which an animation is played
<!-- Thank you for contributing to Manim! Learn more about the process in our contributing guidelines: https://docs.manim.community/en/latest/contributing.html --> ## Overview Closed #2031 Speed of given animation can be changed by wrapping the animation with `ChangeSpeed` and passing {percentage of `run_time...
diff --git a/manim/__init__.py b/manim/__init__.py index a3fafb7314..7734f32a20 100644 --- a/manim/__init__.py +++ b/manim/__init__.py @@ -42,6 +42,7 @@ from .animation.numbers import * from .animation.rotation import * from .animation.specialized import * +from .animation.speedmodifier import * from .animation.tra...
15
14
3
[{"id": "G0", "claim": "The animation-group check should use `isinstance(anim, AnimationGroup)` instead of `issubclass(type(anim), AnimationGroup)`, whose following rebuild also loses the concrete subclass.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
ManimCommunity__manim__2770
ManimCommunity/manim
2,770
defect
1ed4d464e6547c923daa987dbb4853790068a4af
33c7dc1e5e3d510955e30573be0d354e4c5e9969
Fixed bug in :meth:`.VMobject.proportion_from_point` that caused proportions greater than 1 to be returned
<!-- 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? Bug fix #2627 <!-- If there is more information than the PR title that should be added to our release ...
diff --git a/manim/utils/bezier.py b/manim/utils/bezier.py index 6f8187eef5..7dee16d1fd 100644 --- a/manim/utils/bezier.py +++ b/manim/utils/bezier.py @@ -478,7 +478,7 @@ def proportions_along_bezier_curve_for_point( roots = [[root for root in rootlist if root.imag == 0] for rootlist in roots] roots = reduc...
2
2
1
[{"id": "G0", "claim": "The root-filter condition is easier to parse written in the condensed form `if 0 <= r.real <= 1` instead of `if r.real <= 1 and r.real >= 0`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add a regression t...
null
ManimCommunity__manim__2974
ManimCommunity/manim
2,974
defect
42d595ac4fb6c607a8375e28f24b9b7193668cb5
fb25a340fba011dd0aefe776fa9a0783bff643fb
Added :class:`.DiGraph`, a mobject representing directed graphs
## Overview: What does this pull request change? `Graph` Mobject can be directed and we can configure the tip globally or per edge Closes #2935 Closes #2843 Supersedes #2850 in a non breaking way <!--changelog-start--> <!--changelog-end--> ## Motivation and Explanation: Why and how do your changes improve...
diff --git a/manim/mobject/graph.py b/manim/mobject/graph.py index 011def2597..4f31e4f4c9 100644 --- a/manim/mobject/graph.py +++ b/manim/mobject/graph.py @@ -13,21 +13,21 @@ import networkx as nx import numpy as np +from manim.animation.composition import AnimationGroup +from manim.animation.creation import Create...
5
5
2
[{"id": "G0", "claim": "The hardcoded string comparisons used to select the graph constructor (the `constructor: str` parameter, its if/elif dispatch, the directed-graph check, and `from_networkx`) should be replaced with a `GraphType` Enum (with the parameter renamed to `graph_type`, ideally also allowing any callable...
null
ManimCommunity__manim__2994
ManimCommunity/manim
2,994
defect
bf3867b932ba8179101888b6fd77ff098152284f
67be526e70f491d648b2cee9294608b9f9facf27
Fixed segmentation faults from doctests under Python 3.10
tests are still failing, trying some more things to fix it...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf8501a6a1..ea5a5ab20a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,7 +201,7 @@ jobs: - name: Run module doctests run: | - poetry run python -m pytest -v --cov-append --doctest-modules manim...
3
3
0
[{"id": "G0", "claim": "After commit 39b34fd the individual submodules can be doctested, but running doctests on the main module still segfaults under Python 3.10, so the pull request does not yet fix the pipeline failure; the author asks for ideas.", "category": "correctness", "verdict": "supported", "priority": "P1",...
null
ManimCommunity__manim__3042
ManimCommunity/manim
3,042
defect
ebe36178e722c8590a44e23872208ee52bc12bbd
c8593a8156f35d35b0415c3c9ac53b91835cb93b
Added :meth:`.Scene.replace` and use in :class:`.ReplacementTransform`
Fixes #843 This replace method allows one mobject to take the place (that is, the draw order) of another mobject. ## Overview: What does this pull request change? <!--changelog-start--> ReplacementTransform now preserves the draw order of the (old) mobject when replacing it with `target_mobject`. This uses the ne...
diff --git a/manim/animation/transform.py b/manim/animation/transform.py index 20e5192fe0..7607199d99 100644 --- a/manim/animation/transform.py +++ b/manim/animation/transform.py @@ -211,8 +211,7 @@ def create_target(self) -> Mobject: def clean_up_from_scene(self, scene: Scene) -> None: super().clean_up_f...
3
3
3
[{"id": "G0", "claim": "replace_in_list should use breadth-first traversal (checking all mobjects at the current level before descending into submobjects) instead of depth-first recursion, because DFS can unnecessarily walk through numerous submobjects for the common top-level replacement case, which can be a big perfo...
null
ManimCommunity__manim__3046
ManimCommunity/manim
3,046
defect
482994b58f22061c8f2b8e127dc4d00f654b9c6a
0933d42ea49d9dc2bd618897839339579709f862
Add warning if font is not found for Text, Code, and MarkupText
## Overview: What does this pull request change? <!--changelog-start--> - If the `font` parameter to `Text`, `Code`, and `MarkupText` does not match a font recognized by Pango, a warning will be logged listing the known fonts. This warning can be disabled by adding `warn_missing_font=False` to these constructors. ...
diff --git a/manim/mobject/text/code_mobject.py b/manim/mobject/text/code_mobject.py index 41742a18ef..0689e87c84 100644 --- a/manim/mobject/text/code_mobject.py +++ b/manim/mobject/text/code_mobject.py @@ -11,12 +11,14 @@ import re from pathlib import Path +import manimpango import numpy as np from pygments impo...
6
5
3
[{"id": "G0", "claim": "The pull request should not raise an error when the specified font is not found (Pango falls back to other fonts and may already warn, and register_font returning True is unreliable), and should raise a warning instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "...
null
ManimCommunity__manim__3190
ManimCommunity/manim
3,190
defect
479e7b62e6c22659449fd502d5bc6a1cb1ad8ff3
40dd8141f274f81a9ca494860fe5a709b8a079e5
Enables Use of input_to_graph_point() by CurvesAsSubmobjects Instances
<!-- 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? Related to #3150 Fixed the issue where ```input_to_graph_point()``` was unusable with curves created b...
diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.py index b5cf76ec08..03aafd8d8f 100644 --- a/manim/mobject/types/vectorized_mobject.py +++ b/manim/mobject/types/vectorized_mobject.py @@ -2343,6 +2343,7 @@ def __init__(self, vmobject, **kwargs): part = VMobjec...
2
2
2
[{"id": "G0", "claim": "CurvesAsSubmobjects.__init__ adds each part's points both to the mobject itself (append_points) and to its submobjects, so the curves would be drawn twice on screen.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Merging the ...
null
ManimCommunity__manim__3264
ManimCommunity/manim
3,264
defect
96eba4ca2cd59cc0edf5bc96fb211fe570d0f76c
de8ecb327126f54837e4a6f48a701a42bd0bb46b
Two New Classes in geometry module: :class:`.LabeledLine` and :class:`.LabeledArrow`
<!-- 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 PR adds two new classes: `LabeledLine` and `LabeledArrow`. `LabeledLine` inherits from `Line` an...
diff --git a/manim/mobject/geometry/line.py b/manim/mobject/geometry/line.py index 695881ae9b..9526555816 100644 --- a/manim/mobject/geometry/line.py +++ b/manim/mobject/geometry/line.py @@ -6,10 +6,12 @@ "Line", "DashedLine", "TangentLine", + "LabeledLine", "Elbow", "Arrow", "Vector", ...
14
14
6
[{"id": "G0", "claim": "The newly added shape_matchers import in line.py creates a module-level cyclic import, so BackgroundRectangle may not be defined when shape_matchers is imported before line.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
ManimCommunity__manim__3299
ManimCommunity/manim
3,299
defect
1cd0f43982dc1f851a21c17e0af8e967822a570a
3746b25925322156f0af323a62cd9a0a13052aa5
Added new ``manim checkhealth`` CLI subcommand
<!--changelog-start--> This adds a new command line interface subcommand which can be used to check whether a local installation of Manim has been configured correctly, and all required (and optional) dependencies are available. To try it, run it via ``manim checkhealth`` or ``python -m manim checkhealth``. <!--chang...
diff --git a/manim/__main__.py b/manim/__main__.py index d1b0fff204..c90d24bfac 100644 --- a/manim/__main__.py +++ b/manim/__main__.py @@ -7,6 +7,7 @@ from . import __version__, cli_ctx_settings, console from .cli.cfg.group import cfg +from .cli.checkhealth.commands import checkhealth from .cli.default_group impor...
4
2
1
[{"id": "G0", "claim": "The module imports Path from pathlib but never uses it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The return statement in is_manim_executable_associated_to_this_library is unreachable because the preceding debug `ass...
null
ManimCommunity__manim__3392
ManimCommunity/manim
3,392
defect
c6450b21c7d37d97c27beaf39faf2758da03bf8e
a1f4015dba2816bdef83d54898b4237500148a5c
Bug fix: Use np.isclose for float equality in number line elongated ticks
<!-- 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/graphing/number_line.py b/manim/mobject/graphing/number_line.py index 08f6ef48fa..52894c9d4a 100644 --- a/manim/mobject/graphing/number_line.py +++ b/manim/mobject/graphing/number_line.py @@ -279,7 +279,7 @@ def add_ticks(self): elongated_tick_size = self.tick_size * self.longer_tick...
2
2
2
[{"id": "G0", "claim": "The np.isclose comparison against numbers_with_elongated_ticks does not respect the number line's scale, because the relative tolerance is applied to absolute tick positions instead of offsets from x_min, so on a number line far from zero with small spacing (e.g. x_range=[1+1e-5, 1+2e-5, 1e-6]) ...
null
ManimCommunity__manim__3404
ManimCommunity/manim
3,404
defect
7fab9cdbf9a28f4445a3c92fad9bcdf063f6b47c
37698f0e15239be1b382f81b7c4799a0d8fea257
Fix: Fixed a bug in regards to empty inputs in AddTextLetterByLetter 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/creation.py b/manim/animation/creation.py index a2e7f8a362..aff978a157 100644 --- a/manim/animation/creation.py +++ b/manim/animation/creation.py @@ -81,6 +81,9 @@ def construct(self): if TYPE_CHECKING: from manim.mobject.text.text_mobject import Text +import re + +from manim import...
10
10
4
[{"id": "G0", "claim": "The `run_time = 1` statement after the `raise ValueError` is unreachable code and the code-scanning warning about it should be respected.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The long explanatory comments added insi...
null
ManimCommunity__manim__3435
ManimCommunity/manim
3,435
defect
25bb3815288b8ef9df46295a2b23bcda0e47b84b
54e7293a6254840e3774fd9b38df2d4b47e6fb0d
Allow accessing ghost vectors in :class:`.LinearTransformationScene`
<!-- 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? Resolves #3177 I chose to make ``ghost_vectors`` a ``VGroup`` to allow statements like: ```py self....
diff --git a/manim/scene/vector_space_scene.py b/manim/scene/vector_space_scene.py index f651c2c86a..b1c218a9af 100644 --- a/manim/scene/vector_space_scene.py +++ b/manim/scene/vector_space_scene.py @@ -616,6 +616,8 @@ def __init__( }, } + self.ghost_vectors = VGroup() + self.for...
2
2
1
[{"id": "G0", "claim": "The `ghost_vectors` attribute should be documented so that it shows up in the LinearTransformationScene reference table in the docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A non-graphical test checking that `self.gh...
null
ManimCommunity__manim__3491
ManimCommunity/manim
3,491
defect
7cead84d21dc711de3fcad8e3cf705a6ba5a442b
a980b9097cecea846be2424e8b89e57d7b65fcb3
Fix animations with zero runtime length to give a useful error instead of a broken pipe
Throwing an error when an animation group is instantiated with an empty list.
diff --git a/manim/animation/composition.py b/manim/animation/composition.py index cc6fa2ca7e..39770e8d4e 100644 --- a/manim/animation/composition.py +++ b/manim/animation/composition.py @@ -61,6 +61,8 @@ def __init__( lag_ratio: float = 0, **kwargs, ) -> None: + if len(animations) == 0: +...
2
2
2
[{"id": "G0", "claim": "A test should be added for the new error raised for an empty AnimationGroup.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rendering breaks for any animation whose run_time is 0, so the error should be raised in Animation.begin ...
null
ManimCommunity__manim__3518
ManimCommunity/manim
3,518
defect
3f118e4921ef7754b678118acd0493e1b308af69
e663946e02e171af1a8c2dd064e4f786af6468d7
Experimenting with an HSV class
Attempt at finding a useful solution for different color spaces fixes #3485
diff --git a/manim/typing.py b/manim/typing.py index 495f199758..007979e2ad 100644 --- a/manim/typing.py +++ b/manim/typing.py @@ -28,6 +28,9 @@ HSV_Array_Float: TypeAlias = RGB_Array_Float HSV_Tuple_Float: TypeAlias = RGB_Tuple_Float +HSL_Array_Float: TypeAlias = RGB_Array_Float +HSL_Tuple_Float: TypeAlias = RGB_T...
6
3
1
[{"id": "G0", "claim": "The HSV class adds new attributes (hsv/__hsv) but does not override __eq__, so equality may not account for the added state.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "HSV.opacity calls HSV.__init__ with too many argument...
null
ManimCommunity__manim__3520
ManimCommunity/manim
3,520
defect
0a24cad22aeebcf0058430717492c6202ca419c0
bdded054c284f83580e6d2258a420692c1ef5620
Refactor `TexTemplate`
Relates to https://github.com/ManimCommunity/manim/pull/3473 I hopes this doesn't bring to many breaking changes: - Use dataclasses to reduce code overhead. - Remove `TexTemplateFromFile`, add a `from_file` classmethod instead. The `body` can be set manually here, but we face limitations as we can't add to preambl...
diff --git a/manim/_config/utils.py b/manim/_config/utils.py index 1b91450b48..328337d0ed 100644 --- a/manim/_config/utils.py +++ b/manim/_config/utils.py @@ -31,7 +31,7 @@ from ..constants import RendererType from ..typing import StrPath, Vector3 from ..utils.color import ManimColor -from ..utils.tex import TexTemp...
2
2
1
[{"id": "G0", "claim": "Move the type-only imports (typing_extensions.Self, manim.typing.StrPath) in manim/utils/tex.py behind an `if TYPE_CHECKING` gate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests are failing because the hardcoded...
null
ManimCommunity__manim__3524
ManimCommunity/manim
3,524
defect
0a24cad22aeebcf0058430717492c6202ca419c0
d24b903a9144d73cc0267bd048c96063336125f0
Remove support for dynamic plugin imports
This seems to be a blocker for Manim to work under 3.12. This PR only focuses on fixing the issue with `pkg_resources`, but is this feature really wanted? It seems to achieve the following: https://github.com/ManimCommunity/manim/pull/967#issuecomment-769026805 Honestly, I don't see how this is beneficial: IDEs/l...
diff --git a/manim/plugins/import_plugins.py b/manim/plugins/import_plugins.py index 1f11accbf9..787ba581f9 100644 --- a/manim/plugins/import_plugins.py +++ b/manim/plugins/import_plugins.py @@ -1,8 +1,12 @@ from __future__ import annotations +import sys import types -import pkg_resources +if sys.version_info < (...
3
1
0
[{"id": "G0", "claim": "The dynamic plugin import should instead be imported behind if TYPE_CHECKING.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The dynamic plugin import functionality should be removed as an antipattern that linters and IDEs are unh...
null
ManimCommunity__manim__3542
ManimCommunity/manim
3,542
defect
196fa1fa2fe505163ab879df15669766345c4d90
57fc7246335e73839c84a7cc7c20ebf0eb3758e8
AnimationGroup: optimized interpolate() and fixed alpha bug on finish()
## Overview: What does this pull request change? - In `AnimationGroup.build_animations_with_timings()`, the start times and end times of each animation are now calculated in a vectorized way: now `AnimationGroup.anims_with_timings` is a NumPy array with custom type `(object, float, float)`, instead of a list of tuples...
diff --git a/manim/animation/animation.py b/manim/animation/animation.py index cb8fcaddfe..3979ba081c 100644 --- a/manim/animation/animation.py +++ b/manim/animation/animation.py @@ -403,6 +403,7 @@ def set_run_time(self, run_time: float) -> Animation: self.run_time = run_time return self + # TOD...
4
4
2
[{"id": "G0", "claim": "The author reports that their ongoing-animation implementation creates a bug when there are too many subanimations, because self.ongoing_anim_bools and new_ongoing will not always intersect, so animations in between may be skipped.", "category": "correctness", "verdict": "supported", "priority":...
null
ManimCommunity__manim__3675
ManimCommunity/manim
3,675
defect
afe1d18de574c9c20ea8291c9f4e5935eb3221fa
5827a9a2273a6d67e2cd59af2c6a18a8b47c1310
Fix successive calls of :meth:`.LinearTransformationScene.apply_matrix`
<!-- 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/LinearTransformBug.py b/LinearTransformBug.py new file mode 100644 index 0000000000..e52edb1537 --- /dev/null +++ b/LinearTransformBug.py @@ -0,0 +1,28 @@ +import os + +from manim import * + + +class Test(LinearTransformationScene): + def construct(self): + matrix = [[3, 0], [1, -1]] + + s...
5
5
2
[{"id": "G0", "claim": "The scratch/debug script LinearTransformBug.py should be removed from the pull request.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unrelated documentation changes to docs/source/faq/installation.md should be removed f...
null
ManimCommunity__manim__3688
ManimCommunity/manim
3,688
defect
1aad0c7b1af295708950dcffa2c661d33ec1579d
2a6fd5ce51ce9cc3fa21aa5439dfb44f1deac5e3
Remove deprecated parameters and animations
These have been deprecated since `0.15.0`, I think it's safe to remove them.
diff --git a/manim/animation/indication.py b/manim/animation/indication.py index db2640d5a5..01a0e619a5 100644 --- a/manim/animation/indication.py +++ b/manim/animation/indication.py @@ -31,7 +31,6 @@ def construct(self): "Flash", "ShowPassingFlash", "ShowPassingFlashWithThinningStrokeWidth", - "ShowC...
1
1
1
[{"id": "G0", "claim": "Please also remove the control-data file for the removed test_ShowCreationThenFadeOut test.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ManimCommunity__manim__3756
ManimCommunity/manim
3,756
defect
4bd2f860b4225442b940e538fab5460bcff70af9
0046b8496d1736ecf65386a719ba7a6971eb5ac3
Fix assertions and improve error messages when adding submobjects
Closes #3755. Initially this PR only improved 2 things: 1. When adding into a `Mobject` a value which is not a `Mobject`, or there's an attempt to add a mobject to itself, **the error messages are now more descriptive**, indicating: - what's the value being added - what's its type - at which index is...
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py index 9127c2a1d6..de009022e6 100644 --- a/manim/mobject/mobject.py +++ b/manim/mobject/mobject.py @@ -115,6 +115,63 @@ def __init__( self.generate_points() self.init_colors() + def _assert_valid_submobjects(self, submobjects: Iterab...
2
2
1
[{"id": "G0", "claim": "Remove the leftover debug print(str(add_self_info.value)) statement from test_mobject_add().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change missed one or two places in opengl_vectorized_mobject.py (a class __in...
null
ManimCommunity__manim__3767
ManimCommunity/manim
3,767
defect
d5cdd797092b148acacea8596330d6b30ede735d
502d143d7b4786abb91d64257e53a444b7eb5cd5
Optimized `manim.utils.bezier.get_smooth_cubic_bezier_handle_points()`
## Overview: What does this pull request change? Related PR: #3281 - Optimized `get_smooth_cubic_bezier_handle_points()` - Added auxiliar functions `get_smooth_cubic_bezier_handle_points_for_open_curve()` and `get_smooth_cubic_bezier_handle_points_for_closed_curve()` - Deleted duplicated `get_smooth_handle_points...
diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.py index e99ba4d8e8..50ac24b7a9 100644 --- a/manim/mobject/types/vectorized_mobject.py +++ b/manim/mobject/types/vectorized_mobject.py @@ -31,7 +31,7 @@ from manim.utils.bezier import ( bezier, bezier_remap, - ...
2
1
1
[{"id": "G0", "claim": "The docstring should use a capital `T` for the transpose (`R = T + uv^T` instead of `R = T + uv^t`), since lowercase `t` reads like an adjoint and most linear algebra books use `T`.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null