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
TigerVNC__tigervnc__1826
TigerVNC/tigervnc
1,826
defect
2fe9dca45f7d0a519fef5053ba61e2db7c1ff2b1
5d1cba1758be43bff1d58727ad562c1a609b5db6
Add support for forward and back mouse buttons
This is a continuation of the work initially done by [manny33](https://github.com/manny33) in #1711: * https://github.com/TigerVNC/tigervnc/pull/1711 This PR intends to add support for forward and back mouse buttons by extending RFB with the pseudo-encoding `ExtendedMouseButtons`, which is IANA registered and has a...
diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx index b4017dba8e..a6763c055a 100644 --- a/common/rfb/CConnection.cxx +++ b/common/rfb/CConnection.cxx @@ -835,6 +835,7 @@ void CConnection::updateEncodings() encodings.push_back(pseudoEncodingContinuousUpdates); encodings.push_back(pseudoEncodin...
23
17
2
[{"id": "G0", "claim": "The FL_ENTER and FL_LEAVE cases are still reached in Viewport::handle() and should be removed completely so pointer handling lives in handleSystemPointerEvent().", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On macOS the window c...
null
TigerVNC__tigervnc__2012
TigerVNC/tigervnc
2,012
defect
b551da2452a92977e7b28aa6811f67c43a95bd98
3b72ebe939d270b238ea87ff4cfeb146501a57a4
PortalDesktop: Add clipboard support
This PR adds clipboard support to PortalDesktop. Tested with GNOME, seems to work well. I could not get this working at all on KDE (`clipboard_enabled` always returns 0). Will leave this as a draft until we get further insights.
diff --git a/common/core/string.cxx b/common/core/string.cxx index 091836db0e..b590ff789d 100644 --- a/common/core/string.cxx +++ b/common/core/string.cxx @@ -606,6 +606,20 @@ namespace core { return true; } + bool isValidAscii(const char* str, size_t bytes) + { + if (str == nullptr || bytes == 0) + ...
11
11
7
[{"id": "G0", "claim": "isValidAscii() should treat an empty string as valid instead of returning false for bytes == 0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "isValidAscii() should follow the style of the other helpers to make it more readab...
null
TileDB-Inc__TileDB__5573
TileDB-Inc/TileDB
5,573
defect
0905f70a702cffbdfcf3b1d3b65ad926f564d86e
44fa892f4d7f99e183c7ebf7e7d2d4f8d27b0ea8
Class MemFS inherits FilesystemBase.
Class `MemFS` inherits base class `FilesystemBase`. This is the first PR in the `VFS` refactor work. The primary goal is for `MemFS` to inherit the base class, `FilesystemBase`. Some additional changes were made to the base class and to `VFS` to ease this transition for all other filesystems. --- TYPE: IMPROV...
diff --git a/test/src/unit-vfs.cc b/test/src/unit-vfs.cc index c370de70485..56039e993bc 100644 --- a/test/src/unit-vfs.cc +++ b/test/src/unit-vfs.cc @@ -5,7 +5,7 @@ * * The MIT License * - * @copyright Copyright (c) 2018-2024 TileDB, Inc. + * @copyright Copyright (c) 2018-2025 TileDB, Inc. * * Permission is h...
5
3
1
[{"id": "G0", "claim": "The bucket operations should throw on unsupported backends and be virtual with a default implementation, rather than being no-ops on non-object-store filesystems.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The finalize paramet...
null
TileDB-Inc__TileDB__5575
TileDB-Inc/TileDB
5,575
defect
c2b5e90dc17311374d650019dfac87d21ae2c60d
5096ebf297fdc59fce0e875bc1e8bcbdaab9e5d7
Class Azure inherits FilesystemBase.
Class `Azure` inherits base class `FilesystemBase`. Some additional work was also done on `class S3` to ensure consistent verbiage throughout all filesystems. --- TYPE: IMPROVEMENT DESC: Class `Azure` inherits base class `FilesystemBase`. --- Resolves CORE-291
diff --git a/test/src/unit-s3.cc b/test/src/unit-s3.cc index 16f25cd5f38d..c5ec4c670b4b 100644 --- a/test/src/unit-s3.cc +++ b/test/src/unit-s3.cc @@ -119,16 +119,13 @@ TEST_CASE_METHOD(S3Fx, "Test S3 multiupload abort path", "[s3]") { CHECK_THROWS(s3_.write(URI(largefile), write_buffer, buffer_size)); // B...
2
2
0
[{"id": "G0", "claim": "Deleting the blob in flush() to abort an upload is not correct because it would cause data loss if another client has committed an upload to the same blob in the meantime, so the reviewer would delete that block.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pr...
null
TileDB-Inc__TileDB__5585
TileDB-Inc/TileDB
5,585
defect
639322fbcf068dad54b4906078a8a4cfb381d70e
b2369f32f423f7903cbc996c60ab8b635bb25678
Remove deprecated `dump` APIs
Following #5026 and #5179, and in accordance with our deprecation cycle, several dump C APIs and their corresponding CPP APIs have been deprecated for three releases - since version 2.26 - and should be removed with the release 2.29. This PR removes them. The C APIs removed are: - `tiledb_array_schema_dump` - `tiledb...
diff --git a/CMakeLists.txt b/CMakeLists.txt index ca7ec435555..9b9cbc2fc1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,7 +300,6 @@ list(APPEND TILEDB_C_API_RELATIVE_HEADERS "${CMAKE_SOURCE_DIR}/tiledb/api/c_api/array/array_api_experimental.h" "${CMAKE_SOURCE_DIR}/tiledb/api/c_api/array/array_api...
1
1
1
[{"id": "G0", "claim": "REST-CI fails because TileDB-Go references the now-deleted `tiledb_array_schema_dump`, so the approval is reverted and the PR should not merge until TileDB-Go is migrated.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
TileDB-Inc__TileDB__5591
TileDB-Inc/TileDB
5,591
defect
b3e087f5372eac2d7b2a4bd20ac1a52e07a60071
20dc5acaf2701550d845b64f808de2afad08324a
Fix empty array name for URIs with trailing slash.
If a URI is used with a trailing slash `URI::last_path_part` returns an empty string, which results in an empty array name when constructing the request URL. This ensures an array name is found for this case, and updates REST CI to use folders for storing assets to avoid collisions in the DB. REST-CI tests are passi...
diff --git a/test/support/src/vfs_helpers.cc b/test/support/src/vfs_helpers.cc index 60c540fc306..c067e0871b7 100644 --- a/test/support/src/vfs_helpers.cc +++ b/test/support/src/vfs_helpers.cc @@ -155,7 +155,8 @@ std::string vfs_array_uri( return "tiledb://unit/" + array_name; } else if (fs->is_rest() && !legac...
3
3
0
[{"id": "G0", "claim": "The '// Include a space in the URI to test URL encoding.' comment in vfs_helpers.cc and vfs_helpers.h is no longer true, since the URIs this pull request generates no longer contain spaces.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
TileDB-Inc__TileDB__5599
TileDB-Inc/TileDB
5,599
defect
4764907203a63927d20cdc5e4de3731f0754cd11
79399f022f988768a28c2b59071e790d723e255b
Correctly reset budget when initial data already loadad
In the Server we support retrying query submit with a larger `sm.mem.total_budget` when the initially provisioned budget is not enough for loading tile offsets, which has been sometimes the case in real world use cases in the past in heavy queries/large datasets. This has been tested to work with the `DenseReader`, but...
diff --git a/tiledb/sm/query/readers/sparse_index_reader_base.cc b/tiledb/sm/query/readers/sparse_index_reader_base.cc index 1956529a140..0b743afedc9 100644 --- a/tiledb/sm/query/readers/sparse_index_reader_base.cc +++ b/tiledb/sm/query/readers/sparse_index_reader_base.cc @@ -207,6 +207,21 @@ uint64_t SparseIndexReader...
2
2
0
[{"id": "G0", "claim": "The repeated `memory_budget_.total_budget() * memory_budget_.ratio_array_data()` expression should be moved to a local variable and exposed as an `array_data_budget()` method on `memory_budget_`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
TileDB-Inc__TileDB__5625
TileDB-Inc/TileDB
5,625
defect
922a5ff9cc194b9373d99688e31cdc5c8c6be0a0
484e3154a6063cdca5dbb883d2566056e478f833
Add support for relative URI remote group members.
This adds support for using relative URIs when adding group members to a remote group in TileDB-Server. This support will not be added for legacy REST. Fixes [ENG-112](https://linear.app/tiledb/issue/ENG-112/support-relative-uri-for-members-in-carrara-server) --- TYPE: FEATURE DESC: Add support for relative URI...
diff --git a/test/src/unit-cppapi-group.cc b/test/src/unit-cppapi-group.cc index 2a53a721db51..5cc452765346 100644 --- a/test/src/unit-cppapi-group.cc +++ b/test/src/unit-cppapi-group.cc @@ -1102,22 +1102,130 @@ TEST_CASE( } TEST_CASE( - "C++ API: Group with Relative URI members, write/read, rest", - "[cppapi...
4
3
3
[{"id": "G0", "claim": "The new 'add_member with relative URI members, write/read, rest' test should SKIP when the REST server is legacy, since legacy REST does not support relative members and the test currently fails in CI.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
TileDB-Inc__TileDB__5631
TileDB-Inc/TileDB
5,631
defect
7e3054fe0ced198afea1e8e50fdfa67f8200e83f
4e56a79c5d6e64d11229e13b5e11c8b8f9f4bf32
Add VFS support for `tiledb://` URIs.
This PR adds support to VFS for `tiledb://` URIs. It reads the `rest.***` config options, and based on them, it sets up an S3 VFS that points to Carrara's S3-compatible `v4/files` endpoints. --- TYPE: FEATURE DESC: Add VFS support for `tiledb://` URIs.
diff --git a/test/src/unit-vfs.cc b/test/src/unit-vfs.cc index 597b4a8999a..4144a371402 100644 --- a/test/src/unit-vfs.cc +++ b/test/src/unit-vfs.cc @@ -389,19 +389,16 @@ TEST_CASE("VFS: copy_dir", "[vfs][copy_dir]") { } } -using AllBackends = std::tuple<LocalFsTest, GCSTest, GSTest, S3Test, AzureTest>; +using Al...
2
2
0
[{"id": "G0", "claim": "The new `skip_test_config` parameter of the `VFSTestBase` constructor is missing a docstring entry.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment stating that `VFS::create_dir` is a no-op for Azure inside the `...
null
TileDB-Inc__TileDB__5636
TileDB-Inc/TileDB
5,636
defect
4f946ad57fe823c3f53c06bf29dc18799ec6395a
ceac6b9a5d86a47565668d477a22e27c81490dca
Add VFS support for copying files across filesystems.
Support `VFS::copy_file` _across_ filesystems. Until recently, we only supported copying files `Posix`->`Posix` and `S3`->`S3`. I recently added support for file transfer _among_ filesystems, save for `MemFS`. This PR will allow users to copy files _between_ filesystems, using a chunked-buffer approach. The algo...
diff --git a/test/src/unit-vfs.cc b/test/src/unit-vfs.cc index f33a9381398a..066ab1db04ad 100644 --- a/test/src/unit-vfs.cc +++ b/test/src/unit-vfs.cc @@ -202,6 +202,112 @@ TEST_CASE("VFS: Test long local paths", "[vfs][long-paths]") { } } +// Test copying a 1MB file among and across all filesystems. +using Backe...
17
15
3
[{"id": "G0", "claim": "The copy test need not iterate the whole Cartesian product of backend pairs since most pairs never run in CI; testing chunked_buffer_io with two local paths would be sufficient and far simpler.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
TileDB-Inc__TileDB__5652
TileDB-Inc/TileDB
5,652
defect
27e51bec51ee7f192225650d501f26c6360d02dd
8307fcc4418bf7ed742d6fb8f8cd0c00e9e9bcc8
Add support for Azure Data Lake Storage.
This PR updates the Azure VFS to support storage accounts with [hierarchical namespace](https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-namespace) enabled, also known as Azure Data Lake Storage Gen2. Before the first Azure operation, we check whether the account support hierarchical namespace, a...
diff --git a/cmake/inputs/Config.cmake.in b/cmake/inputs/Config.cmake.in index 7e4b2bd1347b..c2280869484f 100644 --- a/cmake/inputs/Config.cmake.in +++ b/cmake/inputs/Config.cmake.in @@ -28,6 +28,7 @@ if(NOT @BUILD_SHARED_LIBS@) # NOT BUILD_SHARED_LIBS if(@TILEDB_AZURE@) # TILEDB_AZURE find_dependency(azure-ide...
3
2
1
[{"id": "G0", "claim": "Reading `vfs.azure.is_data_lake_endpoint` with `config.get<bool>` would throw an exception when the parameter is not set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The `parse_optional_bool` helper should be moved to `par...
null
TileDB-Inc__TileDB__5666
TileDB-Inc/TileDB
5,666
defect
bec2ff5b06d7bcc24cef4825378cbf39248f5d3b
3b302e2b4e7cf3333bcdd23457e9c40de72828b7
Add support for copying directories across filesystems.
Add support for copying directories across filesystems. Note that directory content will be copied _serially_, as listed by `ls_filtered_v2`. --- TYPE: FEATURE DESC: Add support for copying directories across filesystems. --- Resolves CORE-204.
diff --git a/test/src/unit-vfs.cc b/test/src/unit-vfs.cc index b355cad35e3..388c4018521 100644 --- a/test/src/unit-vfs.cc +++ b/test/src/unit-vfs.cc @@ -280,6 +280,111 @@ TEST_CASE("VFS: copy_file", "[vfs][copy_file]") { } } +TEST_CASE("VFS: copy_dir", "[vfs][copy_dir]") { + LocalFsTest src_fs({}), dst_fs({}); +...
4
4
1
[{"id": "G0", "claim": "With #5662 the destination path could be built with `dst_parent_path.append_string(path.first.substr(src_parent_path.size()))` instead of manual concatenation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Bind `src_pare...
null
TileDB-Inc__TileDB__5685
TileDB-Inc/TileDB
5,685
defect
93a26215e3286ee2bb6aaa8bd2707714425236de
f2bd30baa60c7fa9086c838a0418507736c76eeb
Add handling for empty `profiles.json`.
This PR adds handling for empty `profiles.json` files. Closes CORE-417 --- TYPE: IMPROVEMENT DESC: Add handling for empty `profiles.json`.
diff --git a/tiledb/sm/rest/rest_profile.cc b/tiledb/sm/rest/rest_profile.cc index 2bb53daca70..0f840ad0ee1 100644 --- a/tiledb/sm/rest/rest_profile.cc +++ b/tiledb/sm/rest/rest_profile.cc @@ -196,30 +196,30 @@ void RestProfile::save_to_file(const bool overwrite) { // If the file already exists, load it into a json ...
1
1
1
[{"id": "G0", "claim": "Catching every std::exception when reading an existing profile file is too broad; unreadable-file failures such as permission errors should propagate to the user instead of silently falling back to empty credentials.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
TileDB-Inc__TileDB__5698
TileDB-Inc/TileDB
5,698
defect
e96ba69177d945ab318a59e7bf569b1139c6cfcc
2b032115313cc1cc297c1b60d40db26fd9b18418
Fix write / read metadata race on local filesystem.
This fixes a race condition when writing and reading metadata on separate threads that is observed only on local filesystems. As @teo-tsirpanis suggested in the story description of [CORE-73](https://linear.app/tiledb/issue/CORE-73/metadata-readerwriter-race-on-local-file-system-vfs), we temporarily use a `.tmp` extens...
diff --git a/format_spec/metadata.md b/format_spec/metadata.md index 7be46fc33014..32f6835fbae3 100644 --- a/format_spec/metadata.md +++ b/format_spec/metadata.md @@ -17,12 +17,14 @@ my_array # array folder ``` The metadata folder can contain any number of [timestamped](./timestamped_name...
4
3
2
[{"id": "G0", "claim": "Suggests the temporary metadata extension could be `.part` instead of `.tmp`, explicitly fine either way.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `.tmp` flushing detail is an implementation detail that should not be menti...
null
TileDB-Inc__TileDB__5711
TileDB-Inc/TileDB
5,711
defect
2dfca6ac149e97292a14b174b4fa19de492de0de
cde0e00f5bf3fdd629403efa4f1ddbca24831050
Error if storage location is provided in array / group create request.
This updates #5687 to avoid swallowing the error returned by REST if the custom storage location is provided in the request body for array / group creation. After this change we throw the exception client side before sending the request, if we are talking to a 3.0 REST server. --- TYPE: BUG DESC: Error if storage ...
diff --git a/test/src/unit-capi-array.cc b/test/src/unit-capi-array.cc index 3011406c523..0a003088862 100644 --- a/test/src/unit-capi-array.cc +++ b/test/src/unit-capi-array.cc @@ -887,7 +887,7 @@ TEST_CASE_METHOD( "[capi][array][open-at][reads][rest]") { // TODO: refactor for each supported FS. std::string ...
1
1
0
[{"id": "G0", "claim": "Raising a serialization error for what is a user input error when creating a group or array is the wrong choice; either throw a different error type or move the check up into the REST client and throw from there.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
TileDB-Inc__TileDB__5720
TileDB-Inc/TileDB
5,720
defect
a51baa789e4e02d5a6ae96e80bdf07e6a6286ebd
9aa2e0be966c092911d62bc22eec79af9810cfdd
Handle curl errors that are not retried.
This updates to handle curl errors that should not be retried, resulting in an exception from core when a curl error is encountered during a request. As a result, if a user sets a `rest.server_address` that is incorrectly formatted curl will return a helpful error message to the client. While looking through the cur...
diff --git a/test/src/unit-rest-client-remote.cc b/test/src/unit-rest-client-remote.cc index 5a1e28cd89b..c590d254824 100644 --- a/test/src/unit-rest-client-remote.cc +++ b/test/src/unit-rest-client-remote.cc @@ -119,3 +119,22 @@ TEST_CASE("REST capabilities endpoint", "[rest][capabilities]") { REQUIRE_THAT(stats....
2
2
1
[{"id": "G0", "claim": "The CURLE_URL_MALFORMAT branch should not be special-cased in make_curl_request_common; the message printed later (l.645) should suffice, and if not, the custom error message should be moved inside get_curl_errstr.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro...
null
TileDB-Inc__TileDB__5721
TileDB-Inc/TileDB
5,721
defect
a51baa789e4e02d5a6ae96e80bdf07e6a6286ebd
709d01ea0733aceef1746804a45065a156bc7551
Remove consistency controller.
This PR removes the `ConsistencyController` class and related infrastructure. This class was created to allow exclusively opening arrays (which was being internally used to safely delete them), but this exclusivity was scoped only within the same process, which significantly reduces the mechanism's usefulness, and migh...
diff --git a/test/src/unit-capi-array.cc b/test/src/unit-capi-array.cc index 0a003088862..c03fd2df8bb 100644 --- a/test/src/unit-capi-array.cc +++ b/test/src/unit-capi-array.cc @@ -2703,12 +2703,8 @@ TEST_CASE_METHOD( CHECK(tiledb::test::num_commits(array_name) == 2); CHECK(tiledb::test::num_fragments(array_name)...
3
2
1
[{"id": "G0", "claim": "The '// Open the array for exclusive modification' comment in tiledb_array_delete should be updated, since the PR now opens the array in WRITE mode.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'Deprecated' note added...
null
TileDB-Inc__TileDB__5723
TileDB-Inc/TileDB
5,723
defect
a51baa789e4e02d5a6ae96e80bdf07e6a6286ebd
6ab17d27ac0651bee4798e887873f84f14d98200
fix: remove race condition causing outstanding memory `passert` failure in sparse global order reader tests
We've seen non-deterministic failures in pull request and nightly CI with `passert` failures resembling: ``` 106: 0.556 s: C++ API: Aggregates basic mean - MeanFixedTypesUnderTest - 7 106: 0.000 s: sparse 106 : FATAL TileDB core library internal error : total_counter_.fetch_add(0) == 0 && "MemoryTracker destr...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b315d14f90..18e9ae5cbef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -479,6 +479,7 @@ if(TILEDB_TESTS) add_library(tiledb_Catch2WithMain STATIC test/support/src/tdb_catch_main.cc) target_link_libraries(tiledb_Catch2WithMain PUBLIC Catch2::Catch2) + ...
3
2
0
[{"id": "G0", "claim": "The TILEDB_INTERCEPTS ifdefs in unit_parallel_merge.cc, including the `<barrier>` include they guard, are unnecessary (the define is redundant in an already test-only file and the include is unused) and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null
TileDB-Inc__TileDB__5724
TileDB-Inc/TileDB
5,724
defect
cbfe98fe264175fd4057a49e5f95aaf163e997ab
a5c4e6f04bad0390c36fed7f8a77f2d617a27af3
Fix array schema check error when dimension labels are set
Checking the array schema of an array with dimension labels set results in an error. `ArraySchema::check` fails when opening the array for READ after it has been created with a dimension label. Fixes https://github.com/TileDB-Inc/TileDB/issues/5718 Closes CORE-467 --- TYPE: BUG DESC: Fix array schema check e...
diff --git a/test/src/test-cppapi-dimension-label.cc b/test/src/test-cppapi-dimension-label.cc index cb0513a4c36..41ca9e5af68 100644 --- a/test/src/test-cppapi-dimension-label.cc +++ b/test/src/test-cppapi-dimension-label.cc @@ -89,3 +89,35 @@ TEST_CASE_METHOD( auto dim_label_object = tiledb::Object::object(ctx_, di...
2
1
1
[{"id": "G0", "claim": "The change effectively always disables the dimension label schema checks, since on_creation defaults to false and no caller passes true.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It would be more correct to skip the chec...
null
TileDB-Inc__TileDB__5726
TileDB-Inc/TileDB
5,726
defect
fbe4cdb67fa42ed008e521783ea3a5188ac952e2
1363ab592d44f43f628bf607b952f67c710b0927
Fix deserialization error for query condition with empty AST node value.
This fixes a deserialization error encountered when a QC using enumerations and TILEDB_IN or TILEDB_NOT_IN does not match any enumeration written to the array. The QC is rewritten for the array schema during query submit in [ASTNodeVal::rewrite_for_schema](https://github.com/TileDB-Inc/TileDB/blob/fa4e93243f9d571653ad7...
diff --git a/test/src/unit-cppapi-query-condition-sets.cc b/test/src/unit-cppapi-query-condition-sets.cc index cb6689210ff..1cd723b95e8 100644 --- a/test/src/unit-cppapi-query-condition-sets.cc +++ b/test/src/unit-cppapi-query-condition-sets.cc @@ -31,6 +31,7 @@ */ #include "test/support/src/ast_helpers.h" +#inclu...
3
3
2
[{"id": "G0", "claim": "A null data pointer should not be accepted into the constructor, since calling memcpy on a null data pointer would be undefined behavior.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The guard should check data_size > 0 ins...
null
TileDB-Inc__TileDB__5783
TileDB-Inc/TileDB
5,783
defect
1b4ea6649b4934bd1bb33f614bca731943005e04
e44cf5a68200df7247101f5526c2a3734ba3cb70
Add C API to unset all query buffers.
This PR adds new C and C++ APIs that unset all previously set query buffers. It can be useful to provide additional memory safety by guaranteeing that the Core will not hold references to user buffers after a certain point, which will be used by TileDB-rs to safely [decouple the buffers' lifetime from the query object]...
diff --git a/test/src/unit-cppapi-query.cc b/test/src/unit-cppapi-query.cc index eb52cfec783..d548f957543 100644 --- a/test/src/unit-cppapi-query.cc +++ b/test/src/unit-cppapi-query.cc @@ -31,6 +31,7 @@ */ #include <test/support/tdb_catch.h> +#include "tiledb/sm/c_api/tiledb_struct_def.h" #include "tiledb/sm/cpp_...
1
1
0
[{"id": "G0", "claim": "The new unset-buffers test should also add an aggregate, so that unsetting aggregate buffers is exercised.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TileDB-Inc__tiledb-rs__15
TileDB-Inc/tiledb-rs
15
defect
e242a391af38470c8f03a4d6de0e0b6aa5712467
fdf52c865e5861d39208ce5e14a3b8cec20fa188
Add proptest strategies for generating Dimension, a bunch of Debug impls, and even some arrow stuff
This is what fell out of me working on the Arrow schema conversion functions. I wanted to do PBT for them, but that means we have to have strategies to generate Schema, which requires Domain, which requires Dimension, and maybe more! So this pull request ends up being mostly test stuff with a little bit of arrow. ...
diff --git a/tiledb/api/Cargo.toml b/tiledb/api/Cargo.toml index 0aa10157..b6b488f9 100644 --- a/tiledb/api/Cargo.toml +++ b/tiledb/api/Cargo.toml @@ -8,6 +8,7 @@ name = "tiledb" path = "src/lib.rs" [dependencies] +serde_json = "1.0.114" tiledb-sys = { workspace = true } [dev-dependencies] diff --git a/tiledb/a...
7
5
2
[{"id": "G0", "claim": "Both fn_typed! macro rules drop the variadic arguments, generating calls that invoke $func with no arguments.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The arbitrary_range_and_extent strategy still hits some narrow cases...
null
TileDB-Inc__tiledb-rs__154
TileDB-Inc/tiledb-rs
154
defect
1217a6ecfb4eacac797566bdf7a1d9188682fa0e
4e79e2fa3d820d22029d914059f65802202f1a53
Pull out testing / generally useful code from the aggregate API PR
The commits in this PR are essentially unrelated to each other, the common theme merely being that these are all changes I made while working on #113 . I decided to pull them out so aggregates will take up a greater percentage of the lines of code in their introductory PR. Anyway, looking at this commit-by-commit i...
diff --git a/tiledb/api/src/array/attribute/mod.rs b/tiledb/api/src/array/attribute/mod.rs index 4ee14fd6..dcc1196c 100644 --- a/tiledb/api/src/array/attribute/mod.rs +++ b/tiledb/api/src/array/attribute/mod.rs @@ -740,6 +740,9 @@ mod test { }; let attr = spec.create(&ctx).unwrap(); ...
3
2
0
[{"id": "G0", "claim": "The tests prelude's nested sub-module structure (used as `use thing::prelude::other_thing::*`) is awkward; prefer `use thing::other_thing::prelude::*` or dropping the array/query/strategy sub-modules altogether.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
TileDB-Inc__tiledb-rs__195
TileDB-Inc/tiledb-rs
195
defect
4787768dbf2fef7bfa47730d2831a99dfa4ec752
bbe6b8e84ef804239dcadef698577692375fbda1
Rr/sc 44569 rs schema evolution
This pull request adds Rust APIs for schema evolution. No proptests, but there is a unit test for each function except setting the timestamp range. The C API doc says that the enumeration passed to `tiledb_array_schema_evolution_extend_enumeration` must have been returned from `tiledb_enumeration_extend`. Using ...
diff --git a/tiledb/api/src/array/enumeration/mod.rs b/tiledb/api/src/array/enumeration/mod.rs index d7f583ad..af109891 100644 --- a/tiledb/api/src/array/enumeration/mod.rs +++ b/tiledb/api/src/array/enumeration/mod.rs @@ -153,7 +153,7 @@ impl Enumeration { &self, data: &[T], offsets: Option<...
2
2
0
[{"id": "G0", "claim": "The enumeration test data should include New Mexico among the state variants (with matching offsets), not just New Hampshire, New Jersey and New York.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The generated sys-defs binding ...
null
TileDB-Inc__tiledb-rs__21
TileDB-Inc/tiledb-rs
21
defect
18c66b24195fe6f6ce6fedb24d47550c80ca3799
a2ca3a362ff61e8695d76f04f8ee6591ed033d4f
impl PartialEq for Attribute
To test Arrow schema to/from TileDB schema conversion, we will want to test invertability. That will require some means of checking that the Attribute we get out is the same as the Attribute we put in. `PartialEq` is a natural choice for this, so this pull request does most of the work to implement it for Attribute. ...
diff --git a/tiledb/api/Cargo.toml b/tiledb/api/Cargo.toml index b6b488f9..c739f459 100644 --- a/tiledb/api/Cargo.toml +++ b/tiledb/api/Cargo.toml @@ -8,6 +8,7 @@ name = "tiledb" path = "src/lib.rs" [dependencies] +serde = "1.0.136" serde_json = "1.0.114" tiledb-sys = { workspace = true } diff --git a/tiledb/ap...
2
1
0
[{"id": "G0", "claim": "The rationale for the BitsEq float-NaN workaround (including that a blanket impl is forbidden by the compiler) should be added as an actual code comment before merging so the context is not lost.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
TileDB-Inc__tiledb-rs__276
TileDB-Inc/tiledb-rs
276
defect
a8fb6e4c1fee68717aaa68933cb23aa397dc312a
b6156f19374f3070ff1ddc9eb84a751e4023969e
feat: refactor and simplify schema POD types
* Removed `Default` trait implementation from several types where it does not make sense (`Datatype` and `ArrayType`, and all types that use them). * Fixes CORE-507. * `..Default::default()` has been used in some cases to supply default values to optional parameters. This was replaced by using newly added `new` f...
diff --git a/Cargo.lock b/Cargo.lock index 0c490f84..b269a16e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1923,7 +1923,6 @@ dependencies = [ "tiledb-common", "tiledb-proc-macro", "tiledb-proptest-config", - "tiledb-sys-defs", "tiledb-utils", ] diff --git a/test-utils/cells/src/strategy.rs b/test-utils/cells...
8
4
1
[{"id": "G0", "claim": "DomainData should be removed from the public API now (kept internally for property testing) instead of waiting for CORE-510, since nothing published depends on it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "AttributeData::new ...
null
TileDB-Inc__tiledb-rs__28
TileDB-Inc/tiledb-rs
28
defect
db2c1e7843034fca37c7db7c651425f6a2f0f8c2
13456502052ee4ec092cfb794d6a277078f70adc
Finish implementing conversion between Arrow field and TileDB Attribute
Here we finish implementing the arrow <=> TileDB conversion for Attribute. This mostly required handling the fill values, plus some other incidentals. `arrow_schema::Field` and `tiledb::Attribute` unsurprisingly do not have a fully overlapping set of fields. But `Field` does have a generic metadata map. In this pu...
diff --git a/Cargo.lock b/Cargo.lock index a63a40e9..1fc67474 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1023,6 +1023,8 @@ dependencies = [ "arrow", "arrow-schema", "proptest", + "serde", + "serde_json", "tiledb", "tiledb-test", ] @@ -1037,6 +1039,7 @@ version = "0.1.0" dependencies = [ "num-traits", ...
2
2
0
[{"id": "G0", "claim": "The one-line prop_map chain in arbitrary_arrow_implemented is unreadably long and unformatted, so it should be reformatted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The arbitrary_list_for_datatype call nested in the...
null
TiledTensor__TiledCUDA__138
TiledTensor/TiledCUDA
138
defect
43de49e62fc0583e66d4561bf10698e640c6be21
a579448b947c7fb2578a16327be55d8066fc5f33
feat(cell): shared to global store for single precision floating point elements.
resolves https://github.com/TiledTensor/TiledCUDA/issues/127 resolve https://github.com/TiledTensor/TiledCUDA/issues/117 resolve https://github.com/TiledTensor/TiledCUDA/issues/133 This pull request addresses the following issues: - [x] Load a row-major or column-major tile from global memory to shared memory wit...
diff --git a/include/cell/copy/copy_atom.hpp b/include/cell/copy/copy_atom.hpp index baf9cc26..59189d7a 100644 --- a/include/cell/copy/copy_atom.hpp +++ b/include/cell/copy/copy_atom.hpp @@ -60,58 +60,232 @@ struct LoadMatBase { } }; -template <typename DType_, const int kSegRows_, const int kSegCols_, - ...
4
4
0
[{"id": "G0", "claim": "In BaseTileStorer<Shared, kRowMajor, 16> the expression should be written as `col = (lane_col + j * tl::num_cols<ThreadLayout>) * kElemPerSeg;` (spacing typo).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In BaseTileSto...
null
TiledTensor__TiledCUDA__24
TiledTensor/TiledCUDA
24
defect
93f053cb451850445250bc23a0fb67dfd2dfbc35
1fe4a2b8db39d07827c8bfb34394c8afee39dd23
feat(unittest): Implement basic unittest for transferring 2D data tiles between global and shared memory
This PR actually did several things: 1. resolve https://github.com/TiledTensor/TiledCUDA/issues/23 1. I would prefer to incorporate glog into the project. However, this introduces a seemingly heavy dependence, as glog requires a build. Currently, the cmake script merely attempts to find a locally installed glog. If...
diff --git a/.gitmodules b/.gitmodules index ae3a5e42..6c1c27b8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,4 +4,3 @@ [submodule "3rd-party/googletest"] path = 3rd-party/googletest url = git@github.com:google/googletest.git - branch = main diff --git a/3rd-party/googletest b/3rd-party/googletest index 5a37b51...
5
4
0
[{"id": "G0", "claim": "The anonymous namespace blocks added in tests/cpp/cell/test_copy.cu and include/cell/copy/copy.hpp seem unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Copy kernel in test_copy.cu sho...
null
TiledTensor__TiledCUDA__54
TiledTensor/TiledCUDA
54
defect
a199019ad926d29372368daf177558bd00955bf7
5cd7cae68aea1fc122370d767c88fe6cf02e0107
feat(core): store register tile to shared memory.
resolve https://github.com/TiledTensor/TiledCUDA/issues/34 - [x] Add the implementation for storing register tiles to shared memory, converting WMMA's distributed layout into a standard row-major layout. - [x] Pass the unit tests for issuing multiple tensor core WMMA instructions along the M, N, and K dimensions. ...
diff --git a/include/cell/compute/gemm.hpp b/include/cell/compute/gemm.hpp index cf589733..df30b9d0 100644 --- a/include/cell/compute/gemm.hpp +++ b/include/cell/compute/gemm.hpp @@ -1,11 +1,14 @@ #pragma once + +#include "cell/traits/base.hpp" #include "cuda_utils.hpp" +#include "types/layout.hpp" #include "types/t...
4
2
0
[{"id": "G0", "claim": "Requests that the store_base_tile store-to-shared logic in RegToSharedStorer be implemented as a private function instead of an inline lambda.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the new load_rA(sA...
null
TimeCopilot__timecopilot__115
TimeCopilot/timecopilot
115
defect
2b4bc37612f4b77fef3140705994b2926af2b149
f3f7a42f5b22f82ecf3b49afbb4f5cdb9c9eb686
fix(models): add support for moirai
this pr adds support for moirai: it includes its dependencies, docs and proper tests.
diff --git a/docs/contributing.md b/docs/contributing.md index c63749e6..c7a62129 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -65,17 +65,22 @@ The datasets utilized in our documentation are hosted on AWS at `https://timecop TimeCopilot uses some forked Python packages, maintained under custom nam...
1
1
0
[{"id": "G0", "claim": "The num_samples parameter is duplicated: it is already passed to the parent class constructor call and then assigned again as self.num_samples, creating redundant assignment and potential inconsistency.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
TimeCopilot__timecopilot__117
TimeCopilot/timecopilot
117
defect
68c70d2ff93ff36c267ae70f2c2c651acd777999
64d33a510c396928e0f9f51e184a35be11f2fe3c
fix(models): add support for timegpt model
this pr adds support for timegpt and its dependencies. tests were included. note that we are not including it in the list of models to test since we would need to make calls to the API. closes #88.
diff --git a/pyproject.toml b/pyproject.toml index 430ef423..8f31e695 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,10 +34,10 @@ dependencies = [ "chronos-forecasting>=1.5.2", "fire", "gluonts[torch]", + "nixtla>=0.6.6", "pandas>=2.2.0 ; python_full_version >= '3.13'", "prophet>=1.1.7", "py...
1
1
0
[{"id": "G0", "claim": "The test function test_timegpt_import only contains a pass statement and doesn't actually test the TimeGPT import; a basic import test like `from timecopilot.models.foundational.timegpt import TimeGPT` should be added to ensure the module can be imported without errors.", "category": "testing", ...
null
TimeCopilot__timecopilot__124
TimeCopilot/timecopilot
124
defect
557672809bc7c403a654ebaf0c94b8fc985a51af
052fd39e974b089bda0e6abe480053b2ecfe3ac0
fix: allow gluonts forecaster to handle more frequencies
there was a bug trying to use moirai (gluonts forecaster) on data sampled with `10T` frequency. this pr fixes the problem and also adds the complete list of frequencies required by gift eval.
diff --git a/tests/models/test_models.py b/tests/models/test_models.py index 57b04eb2..3018b0dc 100644 --- a/tests/models/test_models.py +++ b/tests/models/test_models.py @@ -66,13 +66,34 @@ def test_freq_inferred_correctly(model, freq): @pytest.mark.parametrize("model", models) -@pytest.mark.parametrize("freq", [...
2
1
0
[{"id": "G0", "claim": "The dictionary name 'replacer' is generic; consider renaming it to 'freq_mapping' (or similar) so it conveys that it maps pandas frequencies to GluonTS-compatible frequencies.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim":...
null
TimeCopilot__timecopilot__331
TimeCopilot/timecopilot
331
defect
190d73563a9f6b56483fa69e89cb03ef3b24a8ff
8b26a2ba036787b29bea0616e91f9090528c3f75
Add PatchTST-FM support for levels
Adds support for levels when using PatchTST-FM. The quantile fix for #328 resolved the main issue that occurred when adding level support for PatchTST-FM, all that was left is removing a couple lines. This should close #316. TODO: - [x] merge in #328 before this branch.
diff --git a/pyproject.toml b/pyproject.toml index cca01551..ac7bbbe3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,6 +119,14 @@ distributed = [ "ray==2.48", ] +[project.optional-dependencies] +distributed = [ + "dask<=2024.12.1", + "fugue[dask,ray,spark]>=0.9.0", + "pyspark<4.1", + "ray==2.48", +]...
1
1
1
[{"id": "G0", "claim": "pyproject.toml defines [project.optional-dependencies] twice (both with a distributed key); TOML disallows duplicate table declarations and many build/packaging tools will fail to parse the file, so the duplicated block should be removed and a single distributed = [...] definition kept.", "categ...
null
TimeCopilot__timecopilot__50
TimeCopilot/timecopilot
50
defect
67e0498e4dcf208e58e22aebcc57216b93bd5636
86fd434f1eca18d1f8c715671ca2577869f1a091
feat: add support for probabilistic fcsts in the forecaster class
this pr partially addresses \#46. we still need to add probabilistic support for the main copilot class.
diff --git a/tests/conftest.py b/tests/conftest.py index 96afccae..ebed87fb 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,9 @@ from timecopilot.agent import MODELS -benchmark_models = ["AutoARIMA", "SeasonalNaive"] +benchmark_models = [ + "AutoARIMA", + "SeasonalNaive", + "ZeroModel", + ...
5
2
0
[{"id": "G0", "claim": "The ValueError raised when both level and quantiles are provided could be clearer by stating that both must not be provided simultaneously.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The many similar forecast method def...
null
TimeCopilot__timecopilot__59
TimeCopilot/timecopilot
59
defect
925b3dd7733585b5d35e0acf3793ae2090e4016a
cc0acb5a7105ca166c7ca1097f4492583b80283c
feat: add support for chronos
this pr adds support for chronos. towards \#52 and \#53.
diff --git a/tests/conftest.py b/tests/conftest.py index fe3d745b..685941c9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ from timecopilot.agent import MODELS +from timecopilot.models.foundational.chronos import Chronos benchmark_models = [ "AutoARIMA", @@ -8,3 +9,9 @@ "TimesFM", ...
4
2
2
[{"id": "G0", "claim": "For pure mean forecasts (no quantiles or levels requested) Chronos.forecast should call self.model.predict directly instead of always calling predict_quantiles, to avoid unnecessary overhead or potential errors with empty quantile lists.", "category": "performance", "verdict": "supported", "prio...
null
TimefoldAI__timefold-solver__1060
TimefoldAI/timefold-solver
1,060
defect
274dadd231e057954683704214d1708c59bd0858
67df58c1831471137290e062b45498772942adff
fix: allow @PlanningId to be defined on interfaces
Previously, `getAllMembers` excluded members defined in interfaces. Presumably, this was because methods would have implementations in the implementing class. However, there is a flaw in that logic: implementations of a method do not inherit the annotations of the declared method. As a result, when LookupManager looks...
diff --git a/core/src/main/java/ai/timefold/solver/core/config/util/ConfigUtils.java b/core/src/main/java/ai/timefold/solver/core/config/util/ConfigUtils.java index d7b969d53aa..bd4802820d0 100644 --- a/core/src/main/java/ai/timefold/solver/core/config/util/ConfigUtils.java +++ b/core/src/main/java/ai/timefold/solver/c...
4
4
0
[{"id": "G0", "claim": "You can filter the entire concatenated stream at the end, avoiding the duplicated filter on each intermediate stream.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since stream concatenation is already in use, the for-lo...
null
TimefoldAI__timefold-solver__1237
TimefoldAI/timefold-solver
1,237
defect
ee760ca4c3296a444d0d28f41f326cf98cac67cd
a8f3e76a8a2a4993708e4de798e25839d7aed369
fix: Recurse through @DeepPlanningCloned classes to discover all @DeepPlanningCloned classes
The `GizmoSolutionClonerImplementor` requires a set of all `@DeepPlanningCloned` classes so it can create cloners for all of them. `GizmoCloningUtils.getDeepClonedClasses` incorrectly assume all `@DeepPlanningCloned classes` are directly accessible from either the `@PlanningSolution` class or an `@PlanningEntity` c...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/cloner/gizmo/GizmoCloningUtils.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/cloner/gizmo/GizmoCloningUtils.java index 7eae67f93cd..7bfe3d916f9 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/soluti...
1
1
0
[{"id": "G0", "claim": "The new Gizmo cloning test should preferably be added to the existing cloner test that tests the same bug for both the reflection-based and Gizmo-based cloners, so functional equivalence between the two implementations stays covered.", "category": "testing", "verdict": "supported", "priority": "...
null
TimefoldAI__timefold-solver__1308
TimefoldAI/timefold-solver
1,308
defect
62715343733aa752c2a8285a5814dd0e111430d0
175c760eaf70327afdd568365eaff5c9c5e0c8a3
fix: Use Named Solver fields and method parameters to determine list of solver names in Quarkus
In order to know the names of Solver beans to generate, the SolverBuildTimeConfig must extend the SolverRuntimeConfig, since all build time properties of SolverBuildTimeConfig are optional (so a named Solver might only be defined by termination, which is a runtime property). Quarkus does not provide a mechanism for ...
diff --git a/quarkus-integration/quarkus/deployment/src/main/java/ai/timefold/solver/quarkus/deployment/TimefoldProcessor.java b/quarkus-integration/quarkus/deployment/src/main/java/ai/timefold/solver/quarkus/deployment/TimefoldProcessor.java index e861731f04f..1c9e68de5f2 100644 --- a/quarkus-integration/quarkus/deplo...
2
1
1
[{"id": "G0", "claim": "Making SolverBuildTimeConfig extend SolverRuntimeConfig hardcodes the assumption that all build-time properties are optional and couples the two classes; the reviewer suggests they instead share an interface specifying the common properties.", "category": "design", "verdict": "supported", "prior...
null
TimefoldAI__timefold-solver__1438
TimefoldAI/timefold-solver
1,438
defect
07bfce3c3e18b9ce9c2f661432b8a450733696e3
0b448a74f9cf8129a391378f74de2c4baccf3213
fix: Do not call variable listeners when the solution is in an inconsistent state in undo moves.
Previously, we triggered variable listeners on Undo(BeforeListVariableChanged) so list variable listeners events are processed immediately (since otherwise, the list change events' start and end do not match the actual list indicies). However, this causes a problem for swap moves, since variable listeners are trigg...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/move/director/ChangeAction.java b/core/src/main/java/ai/timefold/solver/core/impl/move/director/ChangeAction.java index 693161ad36c..18a5a7c757e 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/move/director/ChangeAction.java +++ b/core/src/main/j...
2
2
2
[{"id": "G0", "claim": "Replace the full-solver regression test with quick, targeted unit tests that put a tailored solution in a score director and run a tailored move and undo, so the failure happens immediately.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
TimefoldAI__timefold-solver__1564
TimefoldAI/timefold-solver
1,564
defect
3b36628ba5affea5a8474832cd3059b507f00be2
580aa6b7a750f95af3573333b16e8e43f4109498
fix: Allow using declarative shadow variables on extended entities
- Getters will be preferred over fields unless the field is more specific than the getter - Modify how VariableListenerSupport notifies ShadowVariableSession - Made VariableMetaclasses check for equality via variable descriptors; previous it checked both the entity metaclass and the variable desc...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/common/ReflectionHelper.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/common/ReflectionHelper.java index c4d59c56bc8..939e8d87804 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/common/ReflectionHelper.java +++ b/cor...
2
2
1
[{"id": "G0", "claim": "Reword the all-caps comment \"DO NOT USE entity in equality checks;\" to sentence case in the equals() overrides of the three meta-model classes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer still could not...
null
TimefoldAI__timefold-solver__1603
TimefoldAI/timefold-solver
1,603
defect
08e2bfd3da1be7d952379a214d58f2935131b9da
f45b1aba901c21e062377f8918bade74009af477
fix: generate member accessors for referenced collection element members in Quarkus
Fixes #1580
diff --git a/quarkus-integration/quarkus/deployment/src/main/java/ai/timefold/solver/quarkus/deployment/TimefoldProcessor.java b/quarkus-integration/quarkus/deployment/src/main/java/ai/timefold/solver/quarkus/deployment/TimefoldProcessor.java index 6648615d4ca..5a9858c14ec 100644 --- a/quarkus-integration/quarkus/deplo...
5
3
0
[{"id": "G0", "claim": "The new declarations in generateDomainAccessorsForShadowSources should follow the file's conventions, using `var` (and no fully-qualified `java.lang.reflect.Type`) as in the rest of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id"...
null
TimefoldAI__timefold-solver__1621
TimefoldAI/timefold-solver
1,621
defect
a906e68780c68e52121d537df5ec54553a936529
d9e4b8c93358f500c94e2d82a693f04272b4357d
feat: Support accessing non-declarative shadow variables from a fact
Fixes #1548
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/DefaultShadowVariableSessionFactory.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/DefaultShadowVariableSessionFactory.java index 66384249f61..b2c988fc006 100644 --- a/core/src/main/java/ai/timef...
1
1
1
[{"id": "G0", "claim": "Don't paper over duplicate VariableDescriptor instances with an equals/hashCode override; instead find where the duplicate instances get created and fix it at the source.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TimefoldAI__timefold-solver__1646
TimefoldAI/timefold-solver
1,646
defect
204786bf00c046362c3539546364c00bedd34dcb
7bb6b2833152219c80ac48d9d0ba2ceafaf6a044
fix: fail-fast on @PlanningEntity being used in a @ProblemFactCollectionProperty
The old test classes had different issues that caused a different fail-fast; those issues are now removed.
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/descriptor/SolutionDescriptor.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/descriptor/SolutionDescriptor.java index 08d00e6f656..090b04dbcd1 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/solution...
5
1
0
[{"id": "G0", "claim": "The new test setup should also cover the single (non-collection) @PlanningEntityProperty problem fact case.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The invalid test class need not define @PlanningEntityCollectionProperty sin...
null
TimefoldAI__timefold-solver__1647
TimefoldAI/timefold-solver
1,647
defect
d052cd9dbff9ef868a2023998854ecb05cd12927
ebe24c39d5dc3839f7e43eb763b284efe2184969
fix: Graph now notify updater when cycles are formed or broken
Previously, the updater only considered nodes that were changed from an edge insertion or deletion. However, an edge insertion/deletion can also change the looped status of a disconnected node. For example, if we have a -> b and b -> a, and we remove a -> b, only b is marked as changed. This is incorrect, since a chan...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/DefaultTopologicalOrderGraph.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/DefaultTopologicalOrderGraph.java index 1359d97baf7..99a97461962 100644 --- a/core/src/main/java/ai/timefold/solver/cor...
4
1
0
[{"id": "G0", "claim": "The `changed` BitSet parameter added to `addEdge` and `removeEdge` is unused and should be removed (the reviewer assumed it might be needed by Enterprise, but asked about it being there).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
TimefoldAI__timefold-solver__1659
TimefoldAI/timefold-solver
1,659
defect
728dc36e29c2c1a143208ac22c7f95054f8bc4d6
72b5795a56dc75dae04b914beed999cde54a70b6
perf: optimize the updater used for shadow variables in certain cases
- If only one entity has declarative variables, and all sources are either of the form "previous.*", "undirectional" or "declarative", then create a cascading updater using next to get successor and (index, id(entity)) for the initial sort. - If only one entity has declarative variables, and all sources are either of ...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AbstractVariableReferenceGraph.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AbstractVariableReferenceGraph.java new file mode 100644 index 00000000000..f6787e9e377 --- /dev/null +++ b/core/src/...
13
9
2
[{"id": "G0", "claim": "Log the graph structure at TRACE instead of DEBUG.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nameToIndex map population can be rolled into the next loop, and the index could instead be established once when the d...
null
TimefoldAI__timefold-solver__1673
TimefoldAI/timefold-solver
1,673
defect
020775e9cc3b4dc23cfd52456e1c4adc00e2b24c
ae6381d435adc1953637d2ad891d572051f20f18
perf: Use a single node to represent multiple shadow variables in graphs
When there is only a single declarative entity and all non-declarative parents go in the same direction (ex: previous), then some variables can share the same node in the graph. In particular, there is a static topological order when only the variables on a single entity is considered, and as long as the next declarati...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AffectedEntitiesUpdater.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AffectedEntitiesUpdater.java index e6682206b4f..0cd5d812ece 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/dom...
4
4
0
[{"id": "G0", "claim": "The per-shadow-variable update loop in AffectedEntitiesUpdater.updateShadowVariable should be extracted into its own function to make profiling easier in the future.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The vari...
null
TimefoldAI__timefold-solver__1687
TimefoldAI/timefold-solver
1,687
defect
d2b2406071918e37da01de31b78a11d6c7eaee4a
4417bcbe9a7aa0cb026250e2ffe29dac202722c3
feat: improve error message when a declarative supplier is missing in Quarkus
Does not affect Spring since Spring does not generate it own member accessors.
diff --git a/core/src/test/java/ai/timefold/solver/core/impl/domain/solution/descriptor/SolutionDescriptorTest.java b/core/src/test/java/ai/timefold/solver/core/impl/domain/solution/descriptor/SolutionDescriptorTest.java index e53246b7dfb..a21019f4555 100644 --- a/core/src/test/java/ai/timefold/solver/core/impl/domain/...
1
1
0
[{"id": "G0", "claim": "The new 'could not find method' error message in TimefoldProcessor should say it is a shadow variable supplier method and mention which shadow variable requires it, and should replace the ambiguous 'Maybe you misspelled it' with an unambiguous wording such as 'Maybe you misspelled the method nam...
null
TimefoldAI__timefold-solver__1725
TimefoldAI/timefold-solver
1,725
defect
79806ca64765c96e8956c905467bbd30f635efff
e9d46ad2a7f10a0921b6ebe57d43d85921602e60
perf: group declarative variables after aligned variables when possible
- When there are declarative variables after aligned variables, they are grouped into the same graph node. - `ShadowVariableLooped` is now guarantee to be updated before the calculator method is called. - `LoopedTracker` now has access to an `int[][] entityIdToNodeIds` that it can use to determine if an entity is loo...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AffectedEntitiesUpdater.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AffectedEntitiesUpdater.java index 5be33d2c9eb..ab78be88e17 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/dom...
7
2
2
[{"id": "G0", "claim": "In shouldCreateNewGroupForVariable, the condition compares previousAlignmentKey with itself (!Objects.equals(previousAlignmentKey, previousAlignmentKey)), so the intended 'previous variable had a different alignment key' check never fires.", "category": "correctness", "verdict": "supported", "pr...
null
TimefoldAI__timefold-solver__1726
TimefoldAI/timefold-solver
1,726
defect
79806ca64765c96e8956c905467bbd30f635efff
6e286b4b7320b5d5596137a4b1d9bb6c57e55ac3
perf: simplify handling of @ShadowVariableLooped
- @ShadowVariableLooped is now updated before the calculator is called - Nodes in the graph now have entityId and groupEntityIds - A mapping is created from entityId to graphNodeId, which LoopedTracker will used to lookup the nodes corresponding to a given entityId.
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AbstractVariableReferenceGraph.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/AbstractVariableReferenceGraph.java index fb4183ce2c5..64372906355 100644 --- a/core/src/main/java/ai/timefold/solver...
1
1
1
[{"id": "G0", "claim": "The PR should keep the fail-fast that rejects @ShadowVariableLooped properties used as a source path, instead of removing it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TimefoldAI__timefold-solver__1734
TimefoldAI/timefold-solver
1,734
defect
0f592135de79239100c739f3a7cd2a4097cba347
d17a3e370ea56388d50731cdd376dfcde3ae3fc0
feat: allow using builtin variable after builtin variable source in declarative shadow variables
Required to convert [LineOperatorUpdatingVariableListener](https://github.com/TimefoldAI/timefold-quickstarts/blob/stable/java/food-packaging/src/main/java/org/acme/foodpackaging/domain/LineOperatorUpdatingVariableListener.java) to declarative shadow variables.
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/ChangedVariableNotifier.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/ChangedVariableNotifier.java index d1fa5bfd5ba..7f347f5a9ec 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/dom...
5
2
1
[{"id": "G0", "claim": "The new null-guard returning an empty inverse supply is questionable because the inner score director should not be null, and the chosen empty-list fallback lacks a test.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Calling getC...
null
TimefoldAI__timefold-solver__1749
TimefoldAI/timefold-solver
1,749
defect
30146a3c780d4c034a5d7a559ee40059844dd528
513789b764c8ec6356e08bb0efb6c47f968dd055
chore: rename @ShadowVariableLooped to @ShadowVariableInconsistent
- Solving will automatically update all shadow variables, so you can now pass in solutions with incorrect/stale shadow variables and they'll be correctly updated. - SolutionManager.update(SolutionUpdatePolicy.UPDATE_SCORE_ONLY, ...) will now fail fast if any @ShadowVariableInconsistent member is null or if any @Inve...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/entity/descriptor/EntityDescriptor.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/entity/descriptor/EntityDescriptor.java index bf171b37491..6acb9590505 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/entity/descripto...
12
10
3
[{"id": "G0", "claim": "Iterating over all entity descriptors for each entity can be avoided, since the solution descriptor has methods to retrieve the correct descriptor for any entity class.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The neste...
null
TimefoldAI__timefold-solver__1836
TimefoldAI/timefold-solver
1,836
defect
59f7a9209d610d52154fddcb9a22b8dc9c588ef6
24ba558ae054a6e28811552db5397d56b140ccf1
fix: fail fast when referenced entities are not included in ConstraintVerifier.given or updateShadowVariables
Let a, b be entities, and let a.start = b.end + 1. Previously, if you were to do constraintVerifier.verifyThat(...).given(a) or SolutionManager.updateShadowVariables(Solution.class, a) an non-descriptive IllegalArgumentException would be thrown, since a references a non-given entity b, which is unkn...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/ShadowVariableUpdateHelper.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/ShadowVariableUpdateHelper.java index 3e0e5529740..54c7ecfb65b 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/Shado...
7
7
0
[{"id": "G0", "claim": "The builder chains at the two `withDiscoveredReferencedEntities()` call sites (ConsistencyTracker.java and ShadowVariableUpdateHelper.java) should be reformatted with one builder call per line, as offered in the suggestion block.", "category": "maintainability", "verdict": "supported", "priority...
null
TimefoldAI__timefold-solver__1849
TimefoldAI/timefold-solver
1,849
defect
59f7a9209d610d52154fddcb9a22b8dc9c588ef6
8243a82c35b1e921394db5b1a7ae645d1404b097
fix: process deep-cloned entities in a queue for GizmoSolutionCloner
- Previously, when a class is deep-cloned, a method that constructs and fully initializes a clone of that class is called. This has the potential to cause a StackOverflowException when a deep-cloned class refers to many other deep-cloned classes, such as in chained models. - Now, when a field is deeped cloned, it ad...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/cloner/gizmo/GizmoSolutionClonerImplementor.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/cloner/gizmo/GizmoSolutionClonerImplementor.java index 5dd670bcab5..22ab71065b8 100644 --- a/core/src/main/java/ai/timefold/solv...
8
7
1
[{"id": "G0", "claim": "The bytecode holder (the List<Pair<String, byte[]>> plus the class-loading loop built on it) has become complex enough that its logic should be hidden behind its own type, exposed as a single well-named method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
TimefoldAI__timefold-solver__1949
TimefoldAI/timefold-solver
1,949
defect
6ac35cb97a7dd763549b8ac125a8d799719f8175
044b94437ad387d1bc0d50a425c943c7d9e15787
fix: always update successors of single directional graph when non-declarative variables of parent are referenced
SingleDirectionalParentVariableReferenceGraph assumes that if no shadows of a changed entity is changed, then no shadows of its successors can change (unless the successor had a variable that changed). This is incorrect; consider [TestdataMixedValue("a"), TestdataMixedValue("b")]; if a.delay changes from 1 to 2, then i...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/DefaultShadowVariableSessionFactory.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/variable/declarative/DefaultShadowVariableSessionFactory.java index a03547b466a..6614e64b4dd 100644 --- a/core/src/main/java/ai/timef...
1
1
0
[{"id": "G0", "claim": "The triple-nested loop keeps iterating after canTerminateEarly is set to false, so it should exit early — via a break, or better, by extracting a new method and returning from it.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
TimefoldAI__timefold-solver__2056
TimefoldAI/timefold-solver
2,056
defect
4b89910416609a932f7e434629d87ee338c6206a
cffb5923f77d4a303ec53f2b1dda12b2ad70938e
fix: make ComparableValue fallback to comparing identity hashcode when compareTo returns 0 (instead of when index are identity equal)
Previous, the code assumed a.compareTo(b) == 0 if and only if a == b; this is false; in particular, when LocalDate or other reference type is used as the point. This cause the fallback identity hashcode compare to not happen, and thus erases an entry in the `TreeMap`.
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/score/stream/collector/consecutive/ComparableValue.java b/core/src/main/java/ai/timefold/solver/core/impl/score/stream/collector/consecutive/ComparableValue.java index f96b46247a0..15ecc30499f 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/score...
4
3
1
[{"id": "G0", "claim": "The value maps must be equality-based (a plain HashMap), not identity-based, because values like Integer or LocalDate have to compare by equals and the Hash/IdentityHash split is unworkable.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "clai...
null
TimefoldAI__timefold-solver__2072
TimefoldAI/timefold-solver
2,072
defect
a25b48e7b37881603869f657ae4de9bb9b8f0278
99b624a750ec8c687df16c1e95fa4ef20a1f1b22
fix: Use field getters/setters when available, enforce getters/setters are public
Before, this is how domain accessors were created: - Annotation on the field? Make that field accessible and read/write directly to it. - Annotation on a getter method? Make that method accessible, and pair it with the corresponding setter (if available) and read/write using the method pair. Now, domain accessor...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/common/ReflectionHelper.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/common/ReflectionHelper.java index fe80354ef7e..03f42e45b40 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/common/ReflectionHelper.java +++ b/cor...
4
1
0
[{"id": "G0", "claim": "Gizmo should not stay in core unless the PR is willing to make Gizmo the default and only accessor approach without changing any of the newly defined rules; otherwise it should be removed as an unwelcome presence in the codebase.", "category": "design", "verdict": "uncertain", "priority": "P1", ...
null
TimefoldAI__timefold-solver__2166
TimefoldAI/timefold-solver
2,166
defect
64c1defe5dd832d7b1acf32f697312878b9a20e5
22232316c962afb43250c2c3aead1be923b66e83
fix: do not fail-fast when multiple setters with the same name exists
Fixes https://github.com/TimefoldAI/timefold-solver/issues/2165
diff --git a/core/src/main/java/ai/timefold/solver/core/config/util/ConfigUtils.java b/core/src/main/java/ai/timefold/solver/core/config/util/ConfigUtils.java index 14b32c94bc5..af74eed7ed5 100644 --- a/core/src/main/java/ai/timefold/solver/core/config/util/ConfigUtils.java +++ b/core/src/main/java/ai/timefold/solver/c...
2
1
0
[{"id": "G0", "claim": "The new getSetterMethod still appears to fail (throw) when a class has two setters with the same name but different arguments — one correct setter and one valid overload — which is the very case the reported issue describes (reviewer: 'This looks like it fails in that case.').", "category": "cor...
null
TimefoldAI__timefold-solver__2183
TimefoldAI/timefold-solver
2,183
defect
df8b313daf289794d0dc9591402c8f76e9cd3e56
adf66f5754e5f9534a29c0fd8ed6b7bef99b4aa4
fix: provide a more accurate problem scale log when entity dependent value ranges are used for list variables
Previously, the logic just assumed the values from entity dependent value ranges are unique, which massively inflated the problem scale log for list variables. Now, we track the number of entities a value is allowed to be in, and use that to scale the problem scale. For instance, if a value is only allowed to be in ...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/descriptor/ProblemScaleTracker.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/descriptor/ProblemScaleTracker.java index 0d3341a1ed3..141167c9e9a 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/domain/soluti...
4
4
3
[{"id": "G0", "claim": "Integrate the problem scale computation with the ValueRangeManager, hooking into the loop that already enumerates all entities and values (e.g. by storing value counts in ValueRangeState) instead of duplicating those expensive loops, since problem scale is only used for log output and must not b...
null
TimefoldAI__timefold-solver__2306
TimefoldAI/timefold-solver
2,306
defect
f146b4a64e5c6f0326f4c314ed9eca8fbf69bb46
b1d6e021cfeccb92aeffdc31d409e6f6d177e919
feat: implement direct testing of score/impact of constraints
This PR is introducing the capability to get the score/impact of the constraints given a set of entities or an entire solution addressing the #2007 . Even though it was proposed to add in `ConstraintVerifier` the *getScore* and *getImpact* methods, I observed that it was counterintuitive for the user to use such met...
diff --git a/core/src/main/java/ai/timefold/solver/core/api/score/stream/test/MultiConstraintAssertion.java b/core/src/main/java/ai/timefold/solver/core/api/score/stream/test/MultiConstraintAssertion.java index 2ec5da62e07..fe2d7043600 100644 --- a/core/src/main/java/ai/timefold/solver/core/api/score/stream/test/MultiC...
2
2
0
[{"id": "G0", "claim": "The new Javadoc code examples in MultiConstraintAssertion and SingleConstraintAssertion should be converted from `<pre>{@code}` blocks to `@snippet` tags (no external snippets needed), since Java 18 snippets get their syntax validated.", "category": "documentation", "verdict": "supported", "prio...
null
TimefoldAI__timefold-solver__484
TimefoldAI/timefold-solver
484
defect
c8c28a0495448c1ce808572da3083799e6efb00b
600069fcb16d15821b49626781ded5856f1c160c
fix: Do not set shadow variables to null when calculating from scratch in TRACED_FULL_ASSERT
Some variable listeners, such as CollectionInverseVariableListener, expect their shadow not to be null. The same can also be true for user's own variable listeners. Thus, we cannot set shadow variables to null and can only simulate changes to geninue variables in order to recalculate from scratch. Fixes #478
diff --git a/core/core-impl/src/main/java/ai/timefold/solver/core/impl/domain/variable/listener/support/VariableListenerSupport.java b/core/core-impl/src/main/java/ai/timefold/solver/core/impl/domain/variable/listener/support/VariableListenerSupport.java index e3b2955e021..4c32f36236f 100644 --- a/core/core-impl/src/ma...
2
2
0
[{"id": "G0", "claim": "Remove the stray empty `//` comment line left between the two paragraphs of the new comment in assertExpectedUndoMoveScore.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The FAST_ASSERT comment has a grammar error and sh...
null
TimefoldAI__timefold-solver__671
TimefoldAI/timefold-solver
671
defect
82a9a686eeabbc4a1d7bdf58b749e74b1d8f2b54
225ad64ac54331bce0bed0c3b9ded8e6ba5eb1ec
feat: Expose entity, variable and value counts in the logs and metrics
Closes #604. The benchmarker still uses the original code, since it wants to get the entity/variable/value count of its solution, not the working solution. This difference is important, since the working solution will not be set if the Solver fails to initialize for any reason (i.e. invalid model/bad SolverConfig).
diff --git a/benchmark/src/main/java/ai/timefold/solver/benchmark/impl/SubSingleBenchmarkRunner.java b/benchmark/src/main/java/ai/timefold/solver/benchmark/impl/SubSingleBenchmarkRunner.java index fb8d03432be..9a4c4cc91b9 100644 --- a/benchmark/src/main/java/ai/timefold/solver/benchmark/impl/SubSingleBenchmarkRunner.ja...
13
9
3
[{"id": "G0", "claim": "The Javadoc for problemScale (\"An approximate log of the solution space\") deserves more description: it should say what kind of log and what a solution space is, ideally by stating the formula.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
TimefoldAI__timefold-solver__685
TimefoldAI/timefold-solver
685
defect
3211f8c518b0a723bdf17aab0675dac0e93198b1
7db8e259c4ebf35bea23417166d065c356bde241
feat: Automatic node sharing for ConstraintProvider (Enterprise)
Requires https://github.com/TimefoldAI/timefold-solver-enterprise/pull/82
diff --git a/benchmark/src/main/resources/benchmark.xsd b/benchmark/src/main/resources/benchmark.xsd index 89f03c8efa0..b946c4c53a5 100644 --- a/benchmark/src/main/resources/benchmark.xsd +++ b/benchmark/src/main/resources/benchmark.xsd @@ -446,6 +446,9 @@ <xs:element minOccurs="0" name="constraintStreamImpl...
7
7
0
[{"id": "G0", "claim": "The new docs overstate the benefit with \"massively improve score calculation speed\"; the sentence should read \"significantly improve\" instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debugging-breakpoints not...
null
TimefoldAI__timefold-solver__727
TimefoldAI/timefold-solver
727
defect
4878f99e82318ae348a41de8843dc69be4e9f124
23d69a40f6c249eff16f02000ded394f942c4bd3
chore: Add internal interface for planning cloning atypical types
Sometimes, the domain model has atypical types for fields (for instance, UserList instead of List or ArrayList). The default planning cloner originally failed fast when the field cannot be assigned a typical value. Now, it checks if the collection implements the internal interface. If it does, it uses it to create an e...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/cloner/FieldAccessingSolutionCloner.java b/core/src/main/java/ai/timefold/solver/core/impl/domain/solution/cloner/FieldAccessingSolutionCloner.java index f18cd5be1ad..a38d87be952 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/dom...
3
3
2
[{"id": "G0", "claim": "The interface should serve any type, not only collections: the method should be called createNewInstance(), the cloner should be adapted to handle it, and cloning a cloneable planning entity inside a planning solution should serve as the test case.", "category": "design", "verdict": "supported",...
null
TimefoldAI__timefold-solver__831
TimefoldAI/timefold-solver
831
defect
5443347344f10e3dcd28ee6c00cc4c7ebd99c10e
ba34858b5862902d0d4f2d1c845ebddb46701c56
fix: Remove too eager fail-fast in concat node's retract
- A dead tuple might be retracted in concat if a "complex No-op" `calculateScore` occurs. A "complex No-op" refers to the following situlation: - Move A - Calculate Score - Undo Move A - Move A again (but potentially expressed a different way) - Calculate Score (here is where a dead tuple will be retra...
diff --git a/core/src/main/java/ai/timefold/solver/core/impl/score/stream/bavet/common/AbstractConcatNode.java b/core/src/main/java/ai/timefold/solver/core/impl/score/stream/bavet/common/AbstractConcatNode.java index 0e1fe99c2b4..bb931f5c4c0 100644 --- a/core/src/main/java/ai/timefold/solver/core/impl/score/stream/bave...
1
1
1
[{"id": "G0", "claim": "Keep the !state.isActive() condition in both retractLeft and retractRight but return from it instead of throwing, and keep a comment explaining the situation where an inactive tuple is passed in.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TimelyDataflow__differential-dataflow__519
TimelyDataflow/differential-dataflow
519
defect
7998e657d779a4b0c051e5ae1e3951325d4eebe5
9a434171f1e6a14740d61143aa14b0b546c9679c
Update to latest Timely
Bring in changes related to abomination and reference-counted addresses. Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
diff --git a/Cargo.toml b/Cargo.toml index 0cca0a4bd..0c23ce087 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,8 +42,6 @@ graph_map = "0.1" [dependencies] serde = { version = "1.0", features = ["derive"] } -abomonation = "0.7" -abomonation_derive = "0.5" fnv="1.0.2" timely = {workspace = true} diff --git a/dog...
1
1
1
[{"id": "G0", "claim": "The pull request removes the `#[derive(Abomonation)]` from the batch structs (OrdValBatch, OrdKeyBatch, RhhValBatch) without adding `Serialize, Deserialize` derives in their place, which may silently drop serialization support for those types; the reviewer flagged this in case the removals are k...
null
TimelyDataflow__differential-dataflow__64
TimelyDataflow/differential-dataflow
64
defect
1214230cf533793b801d3b282f37abfb91b2da9f
e176afa3ccf642847c3f9d053bcaa29e27b17344
No `Rc`s in layers, fixes #61
Fixes #61. This removes `Rc`s between Batch layers so that a Batch can be `exhume`d correctly (with Abomonation). Cursors for the layers hold an owning reference to the enclosing full Batch using `OwningRef<Rc<Batch>, _>`.
diff --git a/Cargo.toml b/Cargo.toml index 6f1716270..26c82ba74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,7 @@ abomonation="0.4.4" timely_sort="0.1.6" timely_communication="0.1.5" fnv="1.0.2" +owning_ref="^0.3" [features] default = [] diff --git a/src/lib.rs b/src/lib.rs index dd014c243..bb4f22691 10...
3
1
1
[{"id": "G0", "claim": "The pull request is broken at the moment (its trace test does not work against the new types), though it seems fixable, and the reviewer asks whether he should take a stab at fixing it or whether the author has work in progress.", "category": "correctness", "verdict": "supported", "priority": "P...
null
TimelyDataflow__timely-dataflow__350
TimelyDataflow/timely-dataflow
350
defect
f0206b9316ab872ee5aa5079c137c489c42081e5
2b57f5db478043afd12a1aef4c3c94e7c031c6d2
Provide for worker-configuration parameters
@frankmcsherry, as discussed on Slack! No promises that any of this is appealing! Tweak the execution API so that worker configuration parameters can be specified along with communication fabric configuration parameters. In particular, this permits the DEFAULT_PROGRESS_MODE environment variable to be replaced wit...
diff --git a/communication/Cargo.toml b/communication/Cargo.toml index 1dbf86193..564e11101 100644 --- a/communication/Cargo.toml +++ b/communication/Cargo.toml @@ -13,11 +13,7 @@ repository = "https://github.com/TimelyDataflow/timely-dataflow.git" keywords = ["timely", "dataflow"] license = "MIT" -[features] -defa...
5
4
1
[{"id": "G0", "claim": "The recommended style would be to keep the enum named `Configuration` where it is defined in the communication crate and get the `CommunicationConfig` name only when imported into `timely`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
TimelyDataflow__timely-dataflow__651
TimelyDataflow/timely-dataflow
651
defect
0d2b21f6dbb1faaf2d51301c919bbd91f6a07894
3d5dcf09b45f924ccf02cd2b59fad7e67b826ef0
Linear connectivity
The PR updates how we express operator-internal connectivity information, from `input` and `output` indexed dense vectors `Vec<Vec<Antichain<TS>>>`, to `Vec<BTreeMap<usize, Antichain<TS>>>`. This change reduces the complexity from `inputs * outputs` to `inputs + edges`, which is a substantial reduction for operators wi...
diff --git a/timely/src/dataflow/operators/capability.rs b/timely/src/dataflow/operators/capability.rs index bc5bedc9a..65b2f2978 100644 --- a/timely/src/dataflow/operators/capability.rs +++ b/timely/src/dataflow/operators/capability.rs @@ -27,9 +27,9 @@ use std::cell::RefCell; use std::fmt::{self, Debug}; use crat...
4
3
0
[{"id": "G0", "claim": "new_output_connection could take an iterator over (input, summary) pairs instead of a PortConnectivity, with the caveat that duplicate input elements would override previous mentions.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
TimelyDataflow__timely-dataflow__658
TimelyDataflow/timely-dataflow
658
defect
94620a8d4158ca05b31e4b873dddcecaa7417331
59218d19a56009a63f426252402707f03b50d888
Linear reachability, take 2
Slowly building up more confidence in changing our internal operator reachability implementation. This is a more careful version of #651, which in particular avoids a shadowing bug that seemed to be at the root of #654. The external facing changes are that customer operator input/output creation no longer take a `Ve...
diff --git a/timely/src/dataflow/operators/capability.rs b/timely/src/dataflow/operators/capability.rs index 9ca301ba2..8ba993726 100644 --- a/timely/src/dataflow/operators/capability.rs +++ b/timely/src/dataflow/operators/capability.rs @@ -27,9 +27,9 @@ use std::cell::RefCell; use std::fmt::{self, Debug}; use crat...
1
1
0
[{"id": "G0", "claim": "The `insert` method on `PortConnectivity` should drop the unnecessary `Clone` bound from its `where TS : crate::PartialOrder + Clone` clause.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
TimoCloud__TimoCloud__35
TimoCloud/TimoCloud
35
defect
2dc99c7adc1f867a0ed58bd931896ecef334cffc
27fa28b61a5388fcb19b0b43941d193af0dd0d8b
Add CommandPermissions Tabcompletion Cleaner && Remove Sign from signInstances.json when player break it && Fix Nullpointer on MaxPlayerChangeEvent && Optionally set a base‘s public IP address manually #9
FIxes #9 #34
diff --git a/TimoCloud-API/pom.xml b/TimoCloud-API/pom.xml index b0f06739..7fa13ad4 100644 --- a/TimoCloud-API/pom.xml +++ b/TimoCloud-API/pom.xml @@ -7,7 +7,7 @@ <parent> <artifactId>TimoCloud</artifactId> <groupId>cloud.timo.TimoCloud</groupId> - <version>6.0-beta-1.6.1</version> + ...
10
10
2
[{"id": "G0", "claim": "Rename the ipUsage property in BaseProperties to \"publicIpConfig\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Also rename the remaining ipUsage naming in Base (the constructor parameter at the commented line) to \"p...
null
TimonPost__laminar__149
TimonPost/laminar
149
defect
62f307e8028a47811a7b6f4372ed2d011857bbb1
f1014281d18daecf2e2f7417126fd175eba27bf9
Multiplexing
This changes the socket handling to not use mio until the Windows issue is resolved.
diff --git a/benches/packet_processing.rs b/benches/packet_processing.rs index 012f4854..3c181a18 100644 --- a/benches/packet_processing.rs +++ b/benches/packet_processing.rs @@ -24,7 +24,7 @@ fn process_packet_before_send( fn send_unreliable_benchmark(c: &mut Criterion) { let config = Config::default(); let...
11
7
2
[{"id": "G0", "claim": "The unused mio/log imports in src/net/socket.rs should just be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten recv loop at this spot appears to be the work-in-progress part of the change.", "categor...
null
TimonPost__laminar__209
TimonPost/laminar
209
defect
527189f7b1427a82127ac152f6717a7adecdde98
5b2e2679694b211e7538ca43e83be02535e3c450
Move the channels into Socket
The library should be agnostic to channels and multiple threads, meaning that we give the user the ability to use it single-threadedly, or to spawn threads which define their own queues that other threads can use. This patch is the first step in that direction. We do lose a blocking `recv` right now, but I thin...
diff --git a/examples/server_client.rs b/examples/server_client.rs index d218df46..92c105f5 100644 --- a/examples/server_client.rs +++ b/examples/server_client.rs @@ -2,45 +2,43 @@ //! Technically, they both work the same. //! Note that in practice you don't want to implement a chat client using UDP. use std::io::st...
3
3
2
[{"id": "G0", "claim": "Socket::recv swallows receive errors (any try_recv error becomes None) and probably needs to return a Result<SocketEvent> or Result<Option<SocketEvent>> instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Socket::send sho...
null
TimonPost__laminar__280
TimonPost/laminar
280
defect
e90a68e2eba8674e4eda328341e8861c1f09dfe2
57aecb0b1eff8d546f7c9c4d0b0e46102a10acbc
Resolve Issue #277: Change Connection behavior to require both a packet send and receive
This PR is based on the discussion in https://github.com/amethyst/laminar/issues/277. This change: - Canonicalizes an "established connection" as requiring both a send and a receive from a given endpoint. - Changes `SocketEvent::Connect` to only fire when a connection has been established. - Changes heartbeats ...
diff --git a/docs/md_book/src/SUMMARY.md b/docs/md_book/src/SUMMARY.md index 0ce44f40..06132e0c 100644 --- a/docs/md_book/src/SUMMARY.md +++ b/docs/md_book/src/SUMMARY.md @@ -3,11 +3,12 @@ - [Intro](intro.md) - [Important Notices](important.md) - [Protocols](protocols.md) +- [Connections](connections.md) - [Heartbe...
6
5
0
[{"id": "G0", "claim": "The is_established doc comment should read \"Connections are considered established once they both have had a send and a receive\" instead of the awkward \"once they have both had both a send and a receive\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
TimonPost__laminar__30
TimonPost/laminar
30
defect
dea2d5f05fee1712b3f440a23e7596019ed085cd
bb1987008eb412407bd64a21ce8b99bec82272aa
RTT estimation implementation.
This is a basic implementation of congestion avoidance. During development, I stumbled upon a few things of where I am not sure of on how to go further with it. But first, let's go into detail what this PR code does. **Round Trip Time (RTT)** The time between you sending the packet and you receiving an acknowle...
diff --git a/src/net/connection/connection_pool.rs b/src/net/connection/connection_pool.rs index 6c59d9fd..0ee7b2bf 100644 --- a/src/net/connection/connection_pool.rs +++ b/src/net/connection/connection_pool.rs @@ -1,17 +1,17 @@ use super::VirtualConnection; -use error::{NetworkError, Error,Result}; +use error::{Netwo...
5
2
0
[{"id": "G0", "claim": "Idle clients should use a heartbeat every 1-5s or so.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The duration-to-milliseconds conversion code could be made more concise.", "category": "maintainability", "verdict": "uncertain...
null
TimonPost__laminar__42
TimonPost/laminar
42
defect
5d89e4fe6e3996a4753afac5d74c6437d0e7f4e7
a4213d97b9a487b579139296ecbf60efda4fbeb5
Added support for sending different kinds packets
This PR is part of issue #39 and allows having different packet types and is not about processing and interpreting different packets. The next PR I am going to make will be about that as described in #39 This gist is some basic draft: https://gist.github.com/TimonPost/303c53fa1454d724120a1173b04a9745 Don't mi...
diff --git a/examples/server_client.rs b/examples/server_client.rs index 45420319..6b1172b7 100644 --- a/examples/server_client.rs +++ b/examples/server_client.rs @@ -29,7 +29,7 @@ fn server() -> Result<()> { println!("Received {:?} from {:?}", msg, ip); - socket.send(Packet::new(pac...
5
2
0
[{"id": "G0", "claim": "The DEFAULT_MTU doc comment says the room may vary due to the ipv6 header size, and fhaynes asks whether that should be ipv4.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "fhaynes asks the author to create an issue, or not...
null
TimonPost__laminar__48
TimonPost/laminar
48
defect
4dbe81d42b58ab6bd363b61245315927a47147f6
8d451c16574b9c0665898c5636a4bfb431b065db
Refactor 3: fix easy warnings
Related to https://github.com/amethyst/laminar/issues/31 I fixed most easy warnings: - unused import - unused value - useless mut - some unused variables I also fixed the overflowing_literals warnings, you might want to have a closer look at `sequence_buffer.rs` file diff. Also, there were missing `#[cfg(t...
diff --git a/examples/simple_udp.rs b/examples/simple_udp.rs index 5953ede3..bfb3975f 100644 --- a/examples/simple_udp.rs +++ b/examples/simple_udp.rs @@ -58,7 +58,7 @@ pub fn main() { string: String::from("Some information"), }); - /// ==== result ==== + // ==== results ==== // Moving to lat...
3
3
0
[{"id": "G0", "claim": "The single import in src/error.rs should not use braces (`use std::io::ErrorKind;`).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The lock-error branch should panic instead of logging an error.", "category": "correctness", "verdi...
null
Tiramisu-Compiler__tiramisu__334
Tiramisu-Compiler/tiramisu
334
defect
dcee3fc6c0729b94ae1459e8e289ab4b066ff51a
90d86c2b1085e4e11a2dd9484452eb53cb68f4ac
new general skewing optimization
skewing optimization method's ( skewing ) skewing_general renamed into skewing + gcd filtering for skewing inputs + comments
diff --git a/include/tiramisu/core.h b/include/tiramisu/core.h index 6ef0dc8f4..ea80b7a7e 100644 --- a/include/tiramisu/core.h +++ b/include/tiramisu/core.h @@ -3947,6 +3947,9 @@ class computation * The names of the new loop levels is \p ni and \p nj. * * This command transforms the loop (i, j) int...
20
19
1
[{"id": "G0", "claim": "The standalone comment above the new skewing function must be merged into the following doxygen comment so the documentation generator picks it up, and all sentences should start with a capital letter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
TkTech__lawu__20
TkTech/lawu
20
defect
c82221695f66d67ac95ce32b5f37384a4868f493
7e96995875d6e16f616610a133ec070f2b1869a1
Fix python 3 support
(Re?)adds python 3 compatibility. The only complicated change here is that `StringIO` has been replaced with `BytesIO`. While `six.moves.cStringIO` exists, it causes issues in the contexts it was used in (`TypeError: initial_value must be str or None, not bytes`). `BytesIO` works in both python 2 and python 3; I'v...
diff --git a/jawa/attributes/code.py b/jawa/attributes/code.py index 864df3e..8d80409 100644 --- a/jawa/attributes/code.py +++ b/jawa/attributes/code.py @@ -3,7 +3,10 @@ from itertools import repeat from collections import namedtuple -import six.moves +try: + from cStringIO import StringIO as BytesIO +except Imp...
1
1
0
[{"id": "G0", "claim": "The version setter should not make two separate assignments (an unpack plus the ClassVersion call) but just call `ClassVersion(major_minor[0], major_minor[1])`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Together-100Devs__Together__327
Together-100Devs/Together
327
defect
937964ca45780ff063156887407b10b28099be80
64880469bea41fe82ed630088ad690de5c0ed6e4
Fix guest modal and and updated test
# Description Allows guests to click users events, hides authors of events, provides rejection modal if guest tries to add events. Updated testing to make rejections modals expected results. ## Type of change Please select everything applicable. Please, do not delete any lines. - [x] Bug fix (non-breakin...
diff --git a/client/src/features/home/CalendarPage.js b/client/src/features/home/CalendarPage.js index 7e18801f..2020cea6 100644 --- a/client/src/features/home/CalendarPage.js +++ b/client/src/features/home/CalendarPage.js @@ -8,11 +8,12 @@ import { useAuthContext } from "contexts/AuthContext"; import { useFormModalCo...
2
2
1
[{"id": "G0", "claim": "The added line `const formModal = useFormModalContext()` is missing a semicolon and the linter did not catch it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Instead of hiding the author section entirely for non-logged-...
null
Together-100Devs__Together__343
Together-100Devs/Together
343
defect
5d836bd3cf68bdab1ca0a72975d671591c73c8b3
97d46fcb168420a4a2a9d332060c763e44104ddd
Add delay to scrolling the calendar with mouse
# Description + added a delay of 200ms before allowing the month to be scrolled again ## Type of change Please select everything applicable. Please, do not delete any lines. - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Brea...
diff --git a/client/src/features/home/CalendarPage.js b/client/src/features/home/CalendarPage.js index ec711aad..63020b5c 100644 --- a/client/src/features/home/CalendarPage.js +++ b/client/src/features/home/CalendarPage.js @@ -9,36 +9,51 @@ import { useFormModalContext } from "contexts/FormModalContext"; import EventM...
2
2
1
[{"id": "G0", "claim": "The PR's new 200ms scroll delay breaks the existing calendar scrolling test because the test scrolls faster than the delay, and the author asks whether working around it with cy.wait(200) is good practice.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
Together-100Devs__Together__419
Together-100Devs/Together
419
defect
72ea8ff7157fa37fd96b182868832fbe8733b6dc
87b7ce607958bc6473c81d889be56bf3484d1a35
Character limit fix
# Description Notifies the user if they are over 280 description character limit ## Type of change Please select everything applicable. Please, do not delete any lines. - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking ...
diff --git a/client/src/features/form/FormMoverControl.js b/client/src/features/form/FormMoverControl.js index 489b6fab..8d228694 100644 --- a/client/src/features/form/FormMoverControl.js +++ b/client/src/features/form/FormMoverControl.js @@ -55,6 +55,11 @@ const FormMoverControl = () => { checkForEmptyField...
1
1
0
[{"id": "G0", "claim": "The 280-character error message should include the current character count for context.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Together-100Devs__Together__431
Together-100Devs/Together
431
defect
760cfe975a094a5f6230b02b2a74cd2d6df5aaee
9cb5e5c4b8c57f38f9ae721b8af9b020e9983246
Feature/admin dashboard event visualization 407
# Description Display all current events on Admin Dashboard. The AdminDashboard page now loads all current events and displays them in a list. The page initially loads all the current events automatically, but any subsequent refreshes must use the "Refresh Events" button in the top right. **NOTE:** All tests passed...
diff --git a/client/src/contexts/AuthContext/useProvideAuth.js b/client/src/contexts/AuthContext/useProvideAuth.js index 4812cef7..62522078 100644 --- a/client/src/contexts/AuthContext/useProvideAuth.js +++ b/client/src/contexts/AuthContext/useProvideAuth.js @@ -15,9 +15,6 @@ const useProvideAuth = () => { DataSer...
2
2
2
[{"id": "G0", "claim": "Additional tests should be added covering that an event inserted into the database is visualized on the admin dashboard.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tests should also delete an event and check that it no lo...
null
TomBadash__Mouser__91
TomBadash/Mouser
91
defect
8948524c1eb27db10d22dc139e6ec5e8c2738730
5272c9e31ec955c5dff8ca981e63a492bde09ce8
Fix/logi bolt macos support
## Summary Fixes #59 — Logitech mice connected via a **Logi Bolt USB receiver** were not detected on macOS. **Root causes:** - The default HID backend on macOS was `iokit`-only, which skipped `hidapi` enumeration — the Bolt receiver's vendor-specific HID++ interfaces (`usage_page >= 0xFF00`) were never ...
diff --git a/README.md b/README.md index 063c5356..12f68541 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ No telemetry. No cloud. No Logitech account required. - **Single instance guard** — launching a second copy brings the existing window to the front ### 🔌 Smart Connectivity +- **Bluetooth and Logi B...
1
1
1
[{"id": "G0", "claim": "Labeling any non-0xFF devIdx as 'Logi Bolt' only proves the device is receiver-backed, so unless the receiver can be positively identified as Bolt from PID or other metadata, the fallback label should be changed to something safer like 'USB receiver'.", "category": "correctness", "verdict": "sup...
null
TomasBorquez__mate.h__28
TomasBorquez/mate.h
28
defect
69bcfa54eb91e65d63d048bbc92bdc9f74ed8564
0427f117802138e09c8d15a340a2881f390252ae
[Feature] Implementation of macOS linker functions
This PR provides an implementation of linker functions for framework bundles, relying on compiler support for these, as discussed in #23. The implementation for all the functions are based on their regular "Include" or "StaticLib" equivalents, with the exception of basic `LinkFrameworkOptions` support, which is mode...
diff --git a/mate.h b/mate.h index a159f37..79d535b 100644 --- a/mate.h +++ b/mate.h @@ -2293,6 +2293,10 @@ typedef struct { String ninjaBuildPath; } Executable; +typedef enum { + none = 0, needed, weak +} LinkFrameworkOptions; + typedef struct { Compiler compiler; @@ -2422,6 +2426,30 @@ static void mateAd...
4
4
2
[{"id": "G0", "claim": "The GCC guard in mateLinkFrameworksWithOptions should be a plain Assert(!isGCC(), ...) instead of if (isGCC()) { Assert(0, ...) }, keeping two asserts for better error messages (a nitpick).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": ...
null
TomasBorquez__mate.h__31
TomasBorquez/mate.h
31
defect
aafef990df79aaa787661be3bba36b47adc7305d
9e3b4dde82bb52411531aec338c2cd0ce9f595ef
Add FreeBSD support (platform detection, CI, tests, and docs)
## Description This PR implements **FreeBSD support** in `mate.h`, aligned with the project's philosophy of simplicity and portability. It is part of a **cross-repo change**. Please see #30 ### 1. Platform Support * Support for `FreeBSD` detection via runtime platform detection * Flags and includes updated ...
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c26198b..f73638b 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -38,12 +38,16 @@ mate.h is a build system for C written in C. It aims to provide a simple, fast, ```bash # Linux ./scripts/run-tests-linux.sh - - #...
2
2
2
[{"id": "G0", "claim": "Undo the .gitmodules change that repoints the vendor/base submodule URL from TomasBorquez/base.h.git to G36maid/base.h.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Provide proof that the tests run on FreeBSD, fixing or ski...
null
Tonejs__Tone.js__1004
Tonejs/Tone.js
1,004
defect
aad2d8c890be8ca141722a64f3463336ee6bb2eb
da733856203227d9ff837cf62e830b4b0b149e47
Memoize getTicksAtTime and getSecondsAtTime
Resolves #370 When TickSource.getTicksAtTime() or TickSource.getSecondsAtTime(), TickSource memoizes the ticks or seconds at the most recent event that has a state other than "started". The memoized values are used in subsequent calls.
diff --git a/Tone/core/clock/TickSource.ts b/Tone/core/clock/TickSource.ts index 2e4c0f81b..734ed59a0 100644 --- a/Tone/core/clock/TickSource.ts +++ b/Tone/core/clock/TickSource.ts @@ -3,7 +3,7 @@ import { Seconds, Ticks, Time } from "../type/Units"; import { optionsFromArguments } from "../util/Defaults"; import { r...
4
2
2
[{"id": "G0", "claim": "The PR should add tests covering edge cases of the memoization, especially tests which add events out of order and use `cancel`, since memoized values may go out of sync with changes made to the timeline.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
Tonejs__Tone.js__537
Tonejs/Tone.js
537
defect
2ff888d3b3c792331c9b3340daa70a873a2b5629
d4b0604eb0a8e348e5df22f9e82c8cf2a9343819
Noise synth
Converted NoiseSynth to ts + test file. Left it as extends Instrument rather than Monophonic, hope that's the right call for this one?
diff --git a/Tone/instrument/NoiseSynth.test.ts b/Tone/instrument/NoiseSynth.test.ts new file mode 100644 index 000000000..b9bf84337 --- /dev/null +++ b/Tone/instrument/NoiseSynth.test.ts @@ -0,0 +1,81 @@ +import { expect } from "chai"; +import { BasicTests } from "../../test/helper/Basic"; +import { CompareToFile } fr...
2
2
2
[{"id": "G0", "claim": "NoiseSynth's options should extend InstrumentOptions instead of SynthOptions — both the NoiseSynthOptions interface declaration and the defaults built in getDefaults.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The nodes create...
null
Tonejs__Tone.js__538
Tonejs/Tone.js
538
defect
2ff888d3b3c792331c9b3340daa70a873a2b5629
f128fae51e054df9cfb9ddd15178fc32f5bcad05
Pluck synth
Converted PluckSynth to TS and added a test. As part of this it meant I needed to also convert the two filters: • FeedbackCombFilter • LowpassCombFilter I didn't add tests to the filters yet because I ran into some issue with how ToneWithContext handles getDefaults.. more on this in a seperate PR.
diff --git a/Tone/component/filter/FeedbackCombFilter.test.ts b/Tone/component/filter/FeedbackCombFilter.test.ts new file mode 100644 index 000000000..05f9357ac --- /dev/null +++ b/Tone/component/filter/FeedbackCombFilter.test.ts @@ -0,0 +1,63 @@ + +import { expect } from "chai"; +import { FeedbackCombFilter, FeedbackC...
5
1
1
[{"id": "G0", "claim": "Tests for LowpassCombFilter should be included in this pull request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The class generic should be the node's own options interface (FeedbackCombFilterOptions / LowpassCombFilterOption...
null
Tonejs__Tone.js__543
Tonejs/Tone.js
543
defect
401d27806341f1acb968b3887f6711faa56d0b7a
c5dc4fa2ca03577eb7db7a9c767dcc147c3cba8d
convert Pow to typescript
Hey @tambien , I'm running into issues getting the set new exponent test to work, let me know if you have any ideas. After I get Pow to work I plan on looking into converting ScaledEnvelope which requires Pow
diff --git a/Tone/signal/Pow.test.ts b/Tone/signal/Pow.test.ts new file mode 100644 index 000000000..3bf291c65 --- /dev/null +++ b/Tone/signal/Pow.test.ts @@ -0,0 +1,49 @@ +import { BasicTests } from "test/helper/Basic"; +import { Pow } from "./Pow"; +import { ConstantOutput } from "test/helper/ConstantOutput"; +import...
5
5
3
[{"id": "G0", "claim": "Pow should extend SignalOperator instead of Signal, passing a PowOptions interface (extending ToneAudioNodeOptions with a value field) as the generic argument, since the exponent is not a schedulable value; AudioToGain/GainToAudio are the model to follow.", "category": "design", "verdict": "supp...
null
Tonejs__Tone.js__856
Tonejs/Tone.js
856
defect
8b0004ff00098f3ee1c149f44e3d62a8163bd569
fdcbea3714c4b152156da4878c3382dd4431e198
Add fanIn()
This is a pull request for `fanIn()` as discussed in #834. `fanIn()` is essentially the inverse of `fan()`, connecting multiple input nodes to a single output node. Since, however, `fanIn()` involves multiple input nodes, it doesn't make sense to call it as a method on a single `ToneAudioNode`. I implemented it instead...
diff --git a/Tone/core/context/ToneAudioNode.test.ts b/Tone/core/context/ToneAudioNode.test.ts index 02880753c..d741e31c9 100644 --- a/Tone/core/context/ToneAudioNode.test.ts +++ b/Tone/core/context/ToneAudioNode.test.ts @@ -3,7 +3,7 @@ import { Merge } from "Tone/component"; import { Split } from "Tone/component/chan...
3
2
2
[{"id": "G0", "claim": "The API would make more sense as fanIn(...srcNodes, dstNode) so it is consistent with the rest of the connect APIs, which always take sources first and destination after.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test...
null
TooTallNate__Java-WebSocket__1025
TooTallNate/Java-WebSocket
1,025
defect
433935a7b07896176fe03c2dc4db6f0b19bddcc3
002cb57568bbc07b78e58f9581c149c11ded764b
Use appropriate schema in any case
<!--- Provide a general summary of your changes in the Title above --> Enforce Use appropriate schema in any case ## Description <!--- Describe your changes in detail --> throw exception if use invalid schema in websocket client. ## Related Issue Fixes #1026 <!--- This project only accepts pull requests related...
diff --git a/src/main/java/org/java_websocket/client/WebSocketClient.java b/src/main/java/org/java_websocket/client/WebSocketClient.java index 4d735dee6..c60f10da5 100644 --- a/src/main/java/org/java_websocket/client/WebSocketClient.java +++ b/src/main/java/org/java_websocket/client/WebSocketClient.java @@ -534,17 +534...
1
1
1
[{"id": "G0", "claim": "Add two simple tests checking that an IllegalArgumentException is thrown when using http and https URIs and that no such exception is thrown when using ws and wss URIs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TooTallNate__Java-WebSocket__1048
TooTallNate/Java-WebSocket
1,048
defect
499b26f58e9c26b195b1663ccf10e19d5edf3a46
3eeb3d235657e21f30f4879e4604dbd98efee951
Update PerMessageDeflateExtension
## Related Issue Fixes #1033
diff --git a/README.markdown b/README.markdown index 27682b6c5..8c028bb7d 100644 --- a/README.markdown +++ b/README.markdown @@ -13,6 +13,7 @@ non-blocking event-driven model (similar to the Implemented WebSocket protocol versions are: * [RFC 6455](http://tools.ietf.org/html/rfc6455) + * [RFC 7692](http://tools.ie...
3
2
0
[{"id": "G0", "claim": "Since PerMessageDeflate is not enabled by default, the README should point to an example in the wiki showing how to enable it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new javadoc for decompress says \"the bytes o...
null
TooTallNate__Java-WebSocket__1223
TooTallNate/Java-WebSocket
1,223
defect
c2d0873f1ece5e5b4bbf2cfeb6cf02a14fed62ad
a97965dd651f355a89dae9a72c2b5da53bcae716
Issue-1160 Added java.lang.Error handling in WebSocketImpl and WebSocketServer
Added java.lang.Error handling in WebSocketImpl and WebSocketServer. Fatal Error ( VirtualMachineError | ThreadDeath | LinkageError ) lead to stopping of WebSocketServer. Now non-fatal Error leads to closing of web socket but not stopping of WebSocketServer. Fixes #1160
diff --git a/src/main/java/org/java_websocket/WebSocketImpl.java b/src/main/java/org/java_websocket/WebSocketImpl.java index 8d6464bee..0d4176bfb 100644 --- a/src/main/java/org/java_websocket/WebSocketImpl.java +++ b/src/main/java/org/java_websocket/WebSocketImpl.java @@ -26,6 +26,8 @@ package org.java_websocket; i...
5
5
2
[{"id": "G0", "claim": "When wrapping the Error in an Exception the stack trace should be preserved, e.g. by using new Exception(e) instead of new Exception(e.getMessage()).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The java.io.PrintWriter and ...
null
TooTallNate__Java-WebSocket__1439
TooTallNate/Java-WebSocket
1,439
defect
4aef466da1e7b8fe5a632a1124f175565904d696
a566891046b16f8c231dbcd83ed2578d8d93aea1
Clone PerMessageDeflateExtension values correctly
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue <!--- This project only accepts pull requests related to open issues --> <!--- If suggesting a new feature or change, please discuss it in an issue first --> <!--- I...
diff --git a/src/main/java/org/java_websocket/extensions/permessage_deflate/PerMessageDeflateExtension.java b/src/main/java/org/java_websocket/extensions/permessage_deflate/PerMessageDeflateExtension.java index f24f9b6c9..af7031869 100644 --- a/src/main/java/org/java_websocket/extensions/permessage_deflate/PerMessageDe...
2
2
1
[{"id": "G0", "claim": "copyInstance() does not carry over the user-configured Deflater/Inflater, so a clone ignores the user's compression settings; once reusing a single instance across clients was ruled out, the reviewer asks for an API (e.g. setCompressionLevel) so the configured compression level is honored and cl...
null
TooTallNate__Java-WebSocket__1498
TooTallNate/Java-WebSocket
1,498
defect
8c5766a293c2dd3e0d035c0e0d70f88f57235fa8
0ece865601af29775fb07ce3138fac3dd1e5ea20
Add new RFC 7692-compliant Per-Message Deflate extension implementation
## Description Add a reimplementation of the WebSocket Per-Message Deflate extension written from scratch for full RFC 7692 compliance, with the following over the existing implementation: - compliant extension parameters negotiation handling - default operation with context takeover works - fragmented messages a...
diff --git a/src/main/java/org/java_websocket/extensions/permessage_deflate/PerMessageDeflateExtension.java b/src/main/java/org/java_websocket/extensions/permessage_deflate/PerMessageDeflateExtension.java index 9eb16ca1..6db29419 100644 --- a/src/main/java/org/java_websocket/extensions/permessage_deflate/PerMessageDefl...
6
3
1
[{"id": "G0", "claim": "The new implementation should replace the existing PerMessageDeflateExtension.java instead of being added as a new parallel .java file (WebSocketPerMessageDeflateExtension).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The autob...
null
TooTallNate__Java-WebSocket__866
TooTallNate/Java-WebSocket
866
defect
fbd60ae4dad3727235cf14cc6ec6953393738d9a
864b2f86bc61ff9676dbea16c0932575abbb8531
Add PerMessageDeflate Extension support, see #574
## Description Implemented support for PerMessageDeflateExtension, requested in #574. Added an example file to show how to include the extension. ## Related Issue Fixes #574 ## Motivation and Context New feature ## How Has This Been Tested? Added a new test file. ## Types of changes - [ ] Bug fix (no...
diff --git a/src/main/example/PerMessageDeflateExample.java b/src/main/example/PerMessageDeflateExample.java new file mode 100644 index 000000000..94bc3fd2d --- /dev/null +++ b/src/main/example/PerMessageDeflateExample.java @@ -0,0 +1,72 @@ +import org.java_websocket.WebSocket; +import org.java_websocket.client.WebSock...
5
2
2
[{"id": "G0", "claim": "The unused static variables in PerMessageDeflateExtension that Codacy/PR Quality Review flags should be removed or commented out until they are needed.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Extension negotiation mu...
null
TooTallNate__Java-WebSocket__878
TooTallNate/Java-WebSocket
878
defect
36a81022b87d4ef26304a0a51c04ba6a9ca4e6eb
e40f7950ad9548a78a30106144165879b27e6561
Replace TimerTask with ScheduledExecutorService
## Description By getting rid of TimerTask, we remove an assumption that the system clock will not be modified. ## Related Issue Fixes #869 ## How Has This Been Tested? Observed that there is no longer an issue when the system time is changed. ## Types of changes <!--- What types of changes does your code...
diff --git a/src/main/java/org/java_websocket/AbstractWebSocket.java b/src/main/java/org/java_websocket/AbstractWebSocket.java index 75bce42a1..fd0a3323c 100644 --- a/src/main/java/org/java_websocket/AbstractWebSocket.java +++ b/src/main/java/org/java_websocket/AbstractWebSocket.java @@ -26,13 +26,16 @@ package org.ja...
1
1
1
[{"id": "G0", "claim": "The license header in NamedThreadFactory.java should be replaced with the license provided in the project's LICENSE file.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
TooTallNate__Java-WebSocket__893
TooTallNate/Java-WebSocket
893
defect
36a81022b87d4ef26304a0a51c04ba6a9ca4e6eb
95a10ec100febd5a4d97f023b2ab5e60db0cfbcc
Provide a way to access the SSLSession of a websocket instance
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> There is currently no good way to access the SSLSession used for a websocket. Therefore it is not possible to examine client certificates ## Related Issue <!--- This project only acc...
diff --git a/src/main/java/org/java_websocket/SSLSocketChannel.java b/src/main/java/org/java_websocket/SSLSocketChannel.java index 6f54f569e..a3cfd3de3 100644 --- a/src/main/java/org/java_websocket/SSLSocketChannel.java +++ b/src/main/java/org/java_websocket/SSLSocketChannel.java @@ -25,6 +25,7 @@ package org.java_w...
2
2
1
[{"id": "G0", "claim": "The documentation and signature of WebSocket::getSSLSession say it throws an IllegalArgumentException when SSL is not supported, but the WebSocketImpl implementation throws an IllegalStateException, and IAE would be more appropriate.", "category": "correctness", "verdict": "supported", "priority...
null
TooTallNate__Java-WebSocket__914
TooTallNate/Java-WebSocket
914
defect
c9e75337940cd041e935191e3dbec0005a622c64
ac6db57db934dc18d8bbc98028af08fdd9f135ca
Merge pull request #914 from marci4/Issue900
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> Due to refactoring when an IOException happens, the WebSocket was always null and therefore close was never called on it. ## Related Issue <!--- This project only accepts pull request...
diff --git a/src/main/java/org/java_websocket/exceptions/WrappedIOException.java b/src/main/java/org/java_websocket/exceptions/WrappedIOException.java new file mode 100644 index 000000000..7d25900f2 --- /dev/null +++ b/src/main/java/org/java_websocket/exceptions/WrappedIOException.java @@ -0,0 +1,74 @@ +/* + * Copyrigh...
1
1
1
[{"id": "G0", "claim": "The new WrappedIOException class should probably extend Exception instead of Throwable.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null