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
ant-media__Ant-Media-Server__2134
ant-media/Ant-Media-Server
2,134
defect
a1082ba2744a353412acba08a05ca8fed39d6340
33b4e651ff74230665739d5e25d5034b48cbbcae
Upgrade tensorflow 115
# Pull Request This PR fixes #2025
diff --git a/pom.xml b/pom.xml index 90895031b4..988d6bae79 100644 --- a/pom.xml +++ b/pom.xml @@ -272,7 +272,7 @@ <dependency> <groupId>org.tensorflow</groupId> <artifactId>tensorflow</artifactId> - <version>1.6.0</version> + <version>1.15.0</version> ...
1
1
0
[{"id": "G0", "claim": "The tensorflow version should be specified in the Ant-Media-Server-Parent project's pom file as a property instead of being hard-coded here, so this project and the enterprise project do not each need a hard-coded version.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
ant-media__Ant-Media-Server__2690
ant-media/Ant-Media-Server
2,690
defect
f7b9b588572ebac169e1bb93322828ef349409f0
bb6b3799f35ba5d6ee2e02113ed8d3be704e59fd
Database search
# Pull Request This PR fixes #2647
diff --git a/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java b/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java index 3d111ae4fe..a79afe3c72 100644 --- a/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java +++ b/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java @@ -196,7...
1
1
1
[{"id": "G0", "claim": "There should be one test method for broadcast list search instead of the two different methods testBroadcastListSearch and testBroadcastListSearchMongo, and every data store, including InMemoryDataStore in testMemoryDataStore, should run that test so that all data stores comply with the same int...
null
ant-media__Ant-Media-Server__3307
ant-media/Ant-Media-Server
3,307
defect
8eabff43b8743554813adcec157d77ef06287ed4
8eed3784d1f0b26ec717e1b116a34fa37cb59551
Fix/same rtmp url
# Pull Request This PR fixes #3284 This PR improves addEndpointV3 function. It adds ability to check whether same RTMP url was already added for specified broadcast. Also improves unit test of the addEndpointV3 function. It was done by adding same RTMP urls to test but after changes, some of the tests should return ...
diff --git a/src/main/java/io/antmedia/rest/BroadcastRestService.java b/src/main/java/io/antmedia/rest/BroadcastRestService.java index a9e57a977c..74da3ae981 100644 --- a/src/main/java/io/antmedia/rest/BroadcastRestService.java +++ b/src/main/java/io/antmedia/rest/BroadcastRestService.java @@ -333,7 +333,7 @@ public Re...
1
1
0
[{"id": "G0", "claim": "The new duplicate-RTMP-URL check in addEndpointV3 queries the data store twice in one call (getDataStore().get(id) appears both in the condition and in the value branch of the ternary); it should fetch the broadcast once and reuse it.", "category": "performance", "verdict": "supported", "priorit...
null
ant-media__Ant-Media-Server__3386
ant-media/Ant-Media-Server
3,386
defect
463ad5b9f5e05f8f500cdd5f230affeaf287d13c
f78a093986349e3d387a502088e62d4d1c50bddd
Add JWKS support in JWT Filter
https://github.com/ant-media/Ant-Media-Server/issues/3354
diff --git a/pom.xml b/pom.xml index e95261c36d..fede6853b3 100644 --- a/pom.xml +++ b/pom.xml @@ -583,22 +583,15 @@ <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> </dependency> - <dependency> - <groupId>io.jsonwebtoken</groupId> - <artifactId>jjwt-api</ar...
1
1
1
[{"id": "G0", "claim": "The added jwtControlType setting is unnecessary and its default is not understandable for everyone — it should be dropped and the filter should use JWKS when jwksURL is not null and the default JWT otherwise.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
ant-media__Ant-Media-Server__3482
ant-media/Ant-Media-Server
3,482
defect
02157e782ec3b2ffc9aa3519fb9c7a29c0e016b5
8d1178fc1240a3528c8848e6cdd7f6f44daaf46f
Jwt filter server jwks
https://github.com/ant-media/Ant-Media-Server/issues/3444
diff --git a/src/main/java/io/antmedia/console/rest/JWTServerFilter.java b/src/main/java/io/antmedia/console/rest/JWTServerFilter.java new file mode 100644 index 0000000000..8182c16a37 --- /dev/null +++ b/src/main/java/io/antmedia/console/rest/JWTServerFilter.java @@ -0,0 +1,86 @@ +package io.antmedia.console.rest; + +...
2
1
1
[{"id": "G0", "claim": "The pull request needs test cases written because the SonarCloud quality gate is failing.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In checkJWT the default value of result should be false and only set true on success, becaus...
null
ant-media__Ant-Media-Server__3664
ant-media/Ant-Media-Server
3,664
defect
635808aa5860e13599e406e47be0331392f87942
710ba916520f8f9e6bd2a1c94cea29df9c09cf21
Implement S3 upload configurations for file extensions
https://github.com/ant-media/Ant-Media-Server/issues/3660
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index fa42d3938b..9293a7c600 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -1478,6 +1478,8 @@ pri...
1
1
1
[{"id": "G0", "claim": "The uploadExtensionsToS3 setting and the muxer comparisons should be based on an int with bitwise flag checks (e.g. value & 0x010 for HLS) with static flag constants in the muxers and all uploads enabled by default, instead of comparing and slicing a String by digit position.", "category": "desi...
null
ant-media__Ant-Media-Server__3702
ant-media/Ant-Media-Server
3,702
defect
dab7cb6c4bc706adda6921d4cf51d79d1b892df9
7b9cbde82e03738b7fbd6122fa118f5951caff3e
Connect preview file with VoD to delete them when the vod is deleted
https://github.com/ant-media/Ant-Media-Server/issues/3683
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index 9358e83a58..b166202571 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -128,6 +128,8 @@ publi...
1
1
1
[{"id": "G0", "claim": "Setting the preview path for a VoD via a setter on the shared AntMediaApplicationAdapter field in a multi-threaded and async environment will likely cause wrong preview-to-VoD mapping.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ant-media__Ant-Media-Server__3755
ant-media/Ant-Media-Server
3,755
defect
04da4e1f6f1771e6fc8d59cb306cce6692805dea
11f9ed39cb0c3068848efa5d18ce11c9dfc3cff8
Fix vod naming, make it same with the S3
https://github.com/ant-media/Ant-Media-Server/issues/3739
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index ef88f9a688..3a0c1a6c83 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -1468,6 +1468,7 @@ pub...
1
1
1
[{"id": "G0", "claim": "The new deleteFileAfterS3Upload setting is persisted under the wrong key (SETTINGS_UPLOAD_EXTENSIONS_TO_S3, duplicating the previous line's key), so it needs its own key (SETTINGS_DELETE_FILE_AFTER_S3_UPLOAD).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
ant-media__Ant-Media-Server__3756
ant-media/Ant-Media-Server
3,756
defect
04da4e1f6f1771e6fc8d59cb306cce6692805dea
8fff636168da3d7549e438ff725ec08708217b22
Add pcm_alaw to supported codecs for HLS
https://github.com/ant-media/Ant-Media-Server/issues/3668
diff --git a/src/main/java/io/antmedia/muxer/HLSMuxer.java b/src/main/java/io/antmedia/muxer/HLSMuxer.java index 75b22b75bb..c047b1508a 100644 --- a/src/main/java/io/antmedia/muxer/HLSMuxer.java +++ b/src/main/java/io/antmedia/muxer/HLSMuxer.java @@ -205,7 +205,7 @@ private AVFormatContext getOutputFormatContext() { ...
2
2
2
[{"id": "G0", "claim": "PCM is not supported in HLS, so the change making HLSMuxer.isCodecSupported claim AV_CODEC_ID_PCM_ALAW is supported appears wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Test code (integration, or at least unit tests)...
null
ant-media__Ant-Media-Server__3759
ant-media/Ant-Media-Server
3,759
defect
24923917f89a433aad56e5869e3ae4f429791e6c
f07a88c6ee8cd46edf573cada55b25a06bc52760
Support S3 Storage Class
https://github.com/ant-media/Ant-Media-Server/issues/3549
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index 04536c2af7..295c2cf118 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -1467,6 +1467,8 @@ pub...
1
1
1
[{"id": "G0", "claim": "Passing the S3 storage class as a parameter to the Muxers (HLSMuxer constructor and RecordMuxer.saveToStorage) is not good design; the Muxers should not be changed for the S3 storage class and the storage class should be just a parameter of the StorageClient.", "category": "design", "verdict": "...
null
ant-media__Ant-Media-Server__3926
ant-media/Ant-Media-Server
3,926
defect
30e4fc12d63def03be711fea063f90f3a675c8cf
98d0ff6365a2a45c875eeeb8da2bb697e0666453
Make configurable playlist loop status
https://github.com/ant-media/Ant-Media-Server/issues/3910
diff --git a/src/main/java/io/antmedia/datastore/db/DataStore.java b/src/main/java/io/antmedia/datastore/db/DataStore.java index 7d92cb5de5..d922c5827b 100644 --- a/src/main/java/io/antmedia/datastore/db/DataStore.java +++ b/src/main/java/io/antmedia/datastore/db/DataStore.java @@ -585,6 +585,7 @@ protected void update...
3
3
1
[{"id": "G0", "claim": "The pull request updates playlistLoopEnabled in DataStore's updateStreamInfo but the corresponding update in MongoStore is missing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc explanation of the new playlistLoo...
null
ant-media__Ant-Media-Server__4289
ant-media/Ant-Media-Server
4,289
defect
2ae14b4876bea70b40f65ea4fc7a4a0889041019
a347beafbc83682f0849d6ef065d5c7ede5c3f63
Get camera profiles
https://github.com/ant-media/Ant-Media-Server/issues/4157
diff --git a/src/main/java/io/antmedia/ipcamera/IOnvifCamera.java b/src/main/java/io/antmedia/ipcamera/IOnvifCamera.java index edb8d1dbd5..c5eddbafe6 100755 --- a/src/main/java/io/antmedia/ipcamera/IOnvifCamera.java +++ b/src/main/java/io/antmedia/ipcamera/IOnvifCamera.java @@ -18,6 +18,16 @@ public interface IOnvifCam...
3
3
3
[{"id": "G0", "claim": "The new getOnvifDeviceProfiles endpoint should be exposed with the GET method instead of POST.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The endpoint should not take username, password, etc. as request parameters; credentials...
null
ant-media__Ant-Media-Server__4697
ant-media/Ant-Media-Server
4,697
defect
76915c0d8a3e530e9541dd21c7fd70fe8815eff8
0c897f8ef708aaa53c8d7b7ef70f70c9ba13eed4
Add resolution parameter to on the fly recording
https://github.com/ant-media/Ant-Media-Server/issues/4640
diff --git a/src/main/java/io/antmedia/muxer/MuxAdaptor.java b/src/main/java/io/antmedia/muxer/MuxAdaptor.java index 2c19d852d0..08a59ffa0b 100644 --- a/src/main/java/io/antmedia/muxer/MuxAdaptor.java +++ b/src/main/java/io/antmedia/muxer/MuxAdaptor.java @@ -297,15 +297,19 @@ protected MuxAdaptor(ClientBroadcastStream ...
4
1
0
[{"id": "G0", "claim": "The public/protected javadoc on RestServiceBase.stopRecord lacks a required summary line.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Block tags in the MuxAdaptor stopRecording javadoc (including the newly added @param...
null
ant-media__Ant-Media-Server__4869
ant-media/Ant-Media-Server
4,869
defect
79d513003727b30f06468b494f3a7f4701aff89e
8821c52763b0494d93c5dd412edcfde5d644e3a4
High resource usage and server unexpected shutdown webhook
https://github.com/ant-media/Ant-Media-Server/issues/4739
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index 0ce5719a38..f03d0c11ba 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -8,19 +8,13 @@ import...
3
3
2
[{"id": "G0", "claim": "Use ArrayDeque (or ArrayList) instead of LinkedList for the scopes queue, since LinkedList rarely out-performs them.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The webhook hooks should be implemented on the server sid...
null
ant-media__Ant-Media-Server__5182
ant-media/Ant-Media-Server
5,182
defect
ff4fc1ad45e5b77ff879456e3c399528f88e8731
532ae198ef31b938b4e694d3e3666da82d0c091e
Add REST method to remove subtrack
https://github.com/ant-media/Ant-Media-Server/issues/5143
diff --git a/src/main/java/io/antmedia/datastore/db/DataStore.java b/src/main/java/io/antmedia/datastore/db/DataStore.java index 80da5ac240..e64af421aa 100644 --- a/src/main/java/io/antmedia/datastore/db/DataStore.java +++ b/src/main/java/io/antmedia/datastore/db/DataStore.java @@ -1221,6 +1221,14 @@ else if (sortBy.eq...
2
1
1
[{"id": "G0", "claim": "The new InMemoryDataStore.removeSubTrack method reads and writes the shared broadcastMap (via get and put) without synchronization, potentially racing with background-thread access.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
ant-media__Ant-Media-Server__5772
ant-media/Ant-Media-Server
5,772
defect
4983f3134355616bdde9379d4ca5ab0d0ce252a1
d368d3948117fc7b0bccad432d9896f6449c6c3a
Change nativeLogLevel to Error and call setNativeLogLevel while bean is initialized
https://github.com/ant-media/Ant-Media-Server/issues/5662
diff --git a/src/main/java/io/antmedia/settings/ServerSettings.java b/src/main/java/io/antmedia/settings/ServerSettings.java index b7bdbae369..320ad0290f 100755 --- a/src/main/java/io/antmedia/settings/ServerSettings.java +++ b/src/main/java/io/antmedia/settings/ServerSettings.java @@ -148,7 +148,7 @@ public class Serv...
2
2
2
[{"id": "G0", "claim": "In setApplicationContext the pull request calls setNativeLogLevel(LOG_LEVEL_ERROR) instead of passing the nativeLogLevel parameter, so the configured native log level value is not used.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
ant-media__Ant-Media-Server__5809
ant-media/Ant-Media-Server
5,809
defect
430ab986576af694502ac40108f3f4ed31cd8177
aa7d4c2bf4ceb0e854990b6da8d3424ddc531280
Add Rest Method to Trigger Garbage Collector
https://github.com/ant-media/Ant-Media-Server/issues/5839
diff --git a/src/main/java/io/antmedia/console/rest/RestServiceV2.java b/src/main/java/io/antmedia/console/rest/RestServiceV2.java index b0a743e710..7ec3a01f80 100755 --- a/src/main/java/io/antmedia/console/rest/RestServiceV2.java +++ b/src/main/java/io/antmedia/console/rest/RestServiceV2.java @@ -384,6 +384,16 @@ publ...
1
1
1
[{"id": "G0", "claim": "Test code should be written to cover the new triggerGc REST method before the PR can be merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ant-media__Ant-Media-Server__6145
ant-media/Ant-Media-Server
6,145
defect
9d5f034954b26f1a7d843ccec393d173a97c7352
5b2420375f29ecaf0f7d0e25f0371237253fdf30
Broadcast Level ABR Settings
https://github.com/ant-media/Ant-Media-Server/issues/6144
diff --git a/src/main/java/io/antmedia/datastore/db/DataStore.java b/src/main/java/io/antmedia/datastore/db/DataStore.java index 957deb7713..d9532a54f8 100644 --- a/src/main/java/io/antmedia/datastore/db/DataStore.java +++ b/src/main/java/io/antmedia/datastore/db/DataStore.java @@ -24,7 +24,6 @@ import io.antmedia.dat...
3
3
3
[{"id": "G0", "claim": "The `encoderSettingsString` field is unnecessary; Broadcast should just have an `encoderSettingsList` instead of storing ABR settings as a JSON string.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `initializeMuxAdaptor` call...
null
ant-media__Ant-Media-Server__6275
ant-media/Ant-Media-Server
6,275
defect
6a0e440aab1f78140d7ab3565fc34450b9c9898a
7d144dafb8a2d7cdaafd5018eca5fa62ff96bd0f
Add webhooks for the subtracks when they are added, removed, first track, last track, etc. Pay attention: Webhook backward compatibility for the content type
https://github.com/ant-media/Ant-Media-Server/issues/6253
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index f7fb4f1ed2..c14dd07b11 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -11,7 +11,6 @@ import...
2
2
2
[{"id": "G0", "claim": "The room-based naming (notifyRoomHook, roomId, HOOK_ACTION_*_ROOM) should be removed and reworked to a mainTrack/subtrack naming concept.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Switching webhook payloads to JSON breaks bac...
null
ant-media__Ant-Media-Server__6281
ant-media/Ant-Media-Server
6,281
defect
6f4fedd546fee146dd750090c26540c7d6377771
5f5c396b50a3539fe5c2b98928356f8184d7315e
Webhook Authentication For WebRTC Play
https://github.com/ant-media/Ant-Media-Server/issues/6211 With this form this PR breaks backward compatability of webhook publish authentication because there is a new app setting webhookPublishAuthEnabled and webhookPlayAuthEnabled previously webhook auth was only for publish and webhook publish was enabled if web...
diff --git a/src/main/java/io/antmedia/AppSettings.java b/src/main/java/io/antmedia/AppSettings.java index 9d2e1eb6a9..b26818ec1d 100644 --- a/src/main/java/io/antmedia/AppSettings.java +++ b/src/main/java/io/antmedia/AppSettings.java @@ -2113,6 +2113,18 @@ public boolean isWriteStatsToDatastore() { @Value("${webhook...
1
1
1
[{"id": "G0", "claim": "The implementation should be reworked so it does not break backward compatibility (the new webhookPublishAuthEnabled/webhookPlayAuthEnabled flags gate previously working webhook authentication); the reviewer asks for an alternative implementation that preserves it.", "category": "design", "verdi...
null
ant-media__Ant-Media-Server__6656
ant-media/Ant-Media-Server
6,656
defect
2431f3152dde9d082c3ab06508a0a0a80c4de7c0
affd240f8987f7f6515bf6d7efb0492535e9f70f
Add custom text support in stream endpoints for VoD & HLS
https://github.com/ant-media/Ant-Media-Server/issues/6650
diff --git a/src/main/java/io/antmedia/muxer/Muxer.java b/src/main/java/io/antmedia/muxer/Muxer.java index af341b19db..646576cdb2 100644 --- a/src/main/java/io/antmedia/muxer/Muxer.java +++ b/src/main/java/io/antmedia/muxer/Muxer.java @@ -706,40 +706,102 @@ public AppSettings getAppSettings() { ApplicationContext ap...
2
2
2
[{"id": "G0", "claim": "Add a javadoc explanation for the fileNameFormat setting in AppSettings.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The getExtendedName implementation seems too complex; simplify it.", "category": "maintainability", "ve...
null
ant-media__Ant-Media-Server__6671
ant-media/Ant-Media-Server
6,671
defect
2431f3152dde9d082c3ab06508a0a0a80c4de7c0
b63db78b53402f0780d5f47c5310dcbab1916e16
Add s3PathStyleAccessEnabled setting
PathStyleAccessEnabled configuration parameter is added to application settings.
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index e05da5f807..e412bb6a4a 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -1990,6 +1990,7 @@ pub...
2
1
0
[{"id": "G0", "claim": "The new SETTINGS_S3_PATH_STYLE_ACCESS_ENABLED constant follows a convention the project no longer uses, so it should be removed and the field name used directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Test coverag...
null
ant-media__Ant-Media-Server__6868
ant-media/Ant-Media-Server
6,868
defect
44d6eed62b3c6578e8dec065e8847c3290f93e0c
3799870429113b094eaf2a25292fbebdf032e4f5
Support changing hls segment files' name with timestamps
https://github.com/ant-media/Ant-Media-Server/issues/6863
diff --git a/src/main/java/io/antmedia/AppSettings.java b/src/main/java/io/antmedia/AppSettings.java index ab7e798800..f419d2d46c 100644 --- a/src/main/java/io/antmedia/AppSettings.java +++ b/src/main/java/io/antmedia/AppSettings.java @@ -1145,6 +1145,19 @@ public class AppSettings implements Serializable{ @Value( "$...
1
1
1
[{"id": "G0", "claim": "Make the fragmented mp4 init filename unique (with a timestamp) as well, not just the segment filenames.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ant-media__Ant-Media-Server__7003
ant-media/Ant-Media-Server
7,003
defect
d5b9eef2f0da8ce4dbbf590c83f348a9ab0deff8
f9a4806a61acde14b80276be9dca868cdc4b4e67
SRTRestream
https://github.com/ant-media/Ant-Media-Server/issues/4450 https://gitlab.com/Ant-Media/Ant-Media-Enterprise/-/merge_requests/786
diff --git a/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java b/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java index 3653c8e14f..81091bc96c 100644 --- a/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java +++ b/src/main/java/io/antmedia/datastore/db/InMemoryDataStore.java @@ -144,7...
4
4
1
[{"id": "G0", "claim": "The addVideoStream guard should use a positive check (`this.format.equals(\"flv\")`) instead of `!this.format.equals(\"mpegts\")`, because the guarded block does something specific to flv/rtmp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
ant-media__Ant-Media-Server__7054
ant-media/Ant-Media-Server
7,054
defect
67102c90a5e3d30e11f093661d98640c45034c9a
e2f84ea09ac9ec9b20fad39b7da9faca8b49c6a7
Clean files from S3 after stream finished
https://github.com/ant-media/Ant-Media-Server/issues/6891
diff --git a/src/main/java/io/antmedia/muxer/HLSMuxer.java b/src/main/java/io/antmedia/muxer/HLSMuxer.java index cad163145a..1f72aee025 100644 --- a/src/main/java/io/antmedia/muxer/HLSMuxer.java +++ b/src/main/java/io/antmedia/muxer/HLSMuxer.java @@ -79,6 +79,9 @@ public class HLSMuxer extends Muxer { private Stri...
2
2
1
[{"id": "G0", "claim": "The setStreamId method added in HLSMuxer should be moved to the base class Muxer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The S3 file deletion should happen in the UploadHLSChunk servlet, where the ts and m3u8 file...
null
ant-media__Ant-Media-Server__7181
ant-media/Ant-Media-Server
7,181
defect
1e04be1bb976c9b459449b6de11f9b0220bd4659
2e2acf92f3249c8a56b5361fd1ae659efa57c8dc
Do not append double ambersand(&) in the HLS manifest modifier
https://github.com/ant-media/Ant-Media-Server/issues/7152
diff --git a/src/main/java/io/antmedia/filter/HlsManifestModifierFilter.java b/src/main/java/io/antmedia/filter/HlsManifestModifierFilter.java index 7dd9ddf4e8..8b551a841a 100644 --- a/src/main/java/io/antmedia/filter/HlsManifestModifierFilter.java +++ b/src/main/java/io/antmedia/filter/HlsManifestModifierFilter.java @...
1
1
1
[{"id": "G0", "claim": "Solve the root cause of the double ampersand in the source instead of patching the manifest content after the fact with replace(\"&&\", \"?&\").", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ant-media__Ant-Media-Server__7352
ant-media/Ant-Media-Server
7,352
defect
1391cd3e8aeaaa6d9432192eb94efdf4d47516c6
f7f1b3ac99b8bb29d300869cd1f5ab3570a135ff
Have full mp4 recording even if sessions are interrupted for long time
https://github.com/ant-media/Ant-Media-Server/issues/7353
diff --git a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java index 958b03e67a..355e7228b1 100644 --- a/src/main/java/io/antmedia/AntMediaApplicationAdapter.java +++ b/src/main/java/io/antmedia/AntMediaApplicationAdapter.java @@ -5,6 +5,7 @@ import...
6
1
0
[{"id": "G0", "claim": "Using inheritIO() together with manual reading of the process error stream could lead to unexpected behavior in convertToMp4; use one consistent approach for capturing process output (e.g. redirectErrorStream(true) and read the combined stream).", "category": "design", "verdict": "supported", "p...
null
ant-media__Ant-Media-Server__7427
ant-media/Ant-Media-Server
7,427
defect
22afdea7a33891898d687b7d3410a1541807ae5b
33450adc640edc6c956fbca60c5a452b6fef8c98
Fix skip play list
https://github.com/ant-media/Ant-Media-Server/issues/7386
diff --git a/src/main/java/io/antmedia/streamsource/StreamFetcher.java b/src/main/java/io/antmedia/streamsource/StreamFetcher.java index 7c0ca385f2..95046a221a 100644 --- a/src/main/java/io/antmedia/streamsource/StreamFetcher.java +++ b/src/main/java/io/antmedia/streamsource/StreamFetcher.java @@ -364,6 +364,8 @@ else ...
2
2
1
[{"id": "G0", "claim": "The streamFinished callback should perhaps not be invoked from this spot in the packet-processing loop (questioning whether the call was transferred to the right place).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code sets...
null
ant-media__Ant-Media-Server__7565
ant-media/Ant-Media-Server
7,565
defect
6d2155c3a80297ded02a058755e5eca152d71aea
65a9ebafcf10f08ea6e632c991b2a3a615dbbb2b
Fix leak socket
[#7543](https://github.com/ant-media/Ant-Media-Server/issues/7543)
diff --git a/src/main/java/io/antmedia/muxer/RtmpMuxer.java b/src/main/java/io/antmedia/muxer/RtmpMuxer.java index dd537e0e8d..823ebb0f0b 100644 --- a/src/main/java/io/antmedia/muxer/RtmpMuxer.java +++ b/src/main/java/io/antmedia/muxer/RtmpMuxer.java @@ -53,6 +53,7 @@ public class RtmpMuxer extends Muxer { boolean ke...
2
1
1
[{"id": "G0", "claim": "The cancellation check in prepareIO's blocking task should not depend on the bsfFilterContextList.isEmpty() check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "writeHeader() is still executed in the empty-bsf branch even th...
null
ant-media__Ant-Media-Server__7723
ant-media/Ant-Media-Server
7,723
defect
284dd03ea4bba094c02bb7bdd67e8a6b5be2d1a5
1f213be128858ee026d10c3cf34038067fe2fb74
Refactor caching mechanism
https://github.com/ant-media/Ant-Media-Server/issues/7693 https://github.com/ant-media/Ant-Media-Server/issues/7726
diff --git a/src/main/java/io/antmedia/datastore/db/DataStore.java b/src/main/java/io/antmedia/datastore/db/DataStore.java index 77723e7eeb..a73d4be74f 100644 --- a/src/main/java/io/antmedia/datastore/db/DataStore.java +++ b/src/main/java/io/antmedia/datastore/db/DataStore.java @@ -95,6 +95,18 @@ protected Broadcast sa...
4
3
2
[{"id": "G0", "claim": "Remove the `evictIfPresent` and cache `put` calls in MongoStore's update methods (e.g. updateViewerField) because the cached broadcast is already in memory and updated, and putting extends the cache's lifetime, which is the root cause of the staleness problem.", "category": "correctness", "verdi...
null
ant-media__LibRtmp-Client-for-Android__76
ant-media/LibRtmp-Client-for-Android
76
defect
730c5f8dc38ee77ae28408cb786b2ad436e81e7e
4f71f47fc48dad1a0d28e4f0977fdf2c471fbb0d
Add a connection timeout to the socket
When using invalid URL, without an explicit timeout, the connection would fail only after 60s, which is too long. Let the nativeOpen() method set a timeout and if it doesn't, use a default timeout of 10s. Allows this timeout value to be set from the application. #67 and https://github.com/google/ExoPlayer/issu...
diff --git a/rtmp-client/src/main/cpp/librtmp-jni.c b/rtmp-client/src/main/cpp/librtmp-jni.c index bbf4443..5193735 100644 --- a/rtmp-client/src/main/cpp/librtmp-jni.c +++ b/rtmp-client/src/main/cpp/librtmp-jni.c @@ -30,7 +30,8 @@ Java_net_butterflytv_rtmp_1client_RtmpClient_nativeAlloc(JNIEnv* env, jobject th */ JN...
5
5
3
[{"id": "G0", "claim": "All Java-facing timeouts should use one consistent unit, ideally milliseconds, rather than being specified in seconds, so units are not mixed across the API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The send and receive time...
null
ant-media__LibRtmp-Client-for-Android__78
ant-media/LibRtmp-Client-for-Android
78
defect
1969938ffa3cb827043de3b49c593f7e2dd9ab39
3f762bbdd79d76bb5633ae6dc605d54ed1a49e27
Add More Error Codes and Change Error Handling
Commit adds more fine grained error codes. It also changes the way the exceptions are thrown from the client to the application. Adrresses issue #68
diff --git a/rtmp-client/src/main/cpp/flvmuxer/xiecc_rtmp.c b/rtmp-client/src/main/cpp/flvmuxer/xiecc_rtmp.c index d6f6a7a..e3b9183 100644 --- a/rtmp-client/src/main/cpp/flvmuxer/xiecc_rtmp.c +++ b/rtmp-client/src/main/cpp/flvmuxer/xiecc_rtmp.c @@ -147,7 +147,7 @@ static uint8_t gen_audio_tag_header() int rtmp_open_fo...
15
14
1
[{"id": "G0", "claim": "The RtmpIOException messages are not useful for end users and developers will use the errorCode anyway, so the messages and createRtmpIOException should be dropped - or, per the follow-up suggestion, the message should simply be \"Rtmp error: \" + errorCode.", "category": "design", "verdict": "s...
null
ant-media__WebRTC-Android-SDK__19
ant-media/WebRTC-Android-SDK
19
defect
92a611961c575f734915e472fbf5349d981695c8
35681a36e554af60e9a5d8669c81237a3a2674e0
Multitrack conference
https://github.com/ant-media/Ant-Media-Server/issues/4692
diff --git a/webrtc-android-framework/src/main/java/io/antmedia/webrtcandroidframework/MultitrackConferenceManager.java b/webrtc-android-framework/src/main/java/io/antmedia/webrtcandroidframework/MultitrackConferenceManager.java new file mode 100644 index 00000000..2b8bc40f --- /dev/null +++ b/webrtc-android-framework/...
2
2
1
[{"id": "G0", "claim": "The pull request should keep the HomeActivity menu hierarchy instead of replacing the HomeActivity launcher entry in the AndroidManifest with PushToTalkActivity.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "PushToTalkActivity ge...
null
antage__eventsource__10
antage/eventsource
10
defect
e02e12c0acde2a3d89331ab3a3fd1a864e449628
2a3286c89a8fe59d41243f12cb1bda5743c0cbd0
Write headers directly to client connection.
As mentioned by @matttproud and requested by @antage Is this what was meant?
diff --git a/consumer.go b/consumer.go index 3473e12..28da6a8 100644 --- a/consumer.go +++ b/consumer.go @@ -1,7 +1,6 @@ package http import ( - "bytes" "fmt" "net" "net/http" @@ -33,15 +32,21 @@ func newConsumer(resp http.ResponseWriter, req *http.Request, es *eventSource) ( []byte("Content-Type: text/eve...
5
5
3
[{"id": "G0", "claim": "Writing the headers out with explicit loops adds a lot of extra code for what would be a marginal improvement, and the author is not a fan and asks for thoughts or a better way to do it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
antfu-collective__bumpp__71
antfu-collective/bumpp
71
defect
db6e8dd9a1a522e11e85f26360213a816e154833
9cfa09fac70256cd1b412fac6e7cf855bc3b0367
feat: inferring the semver version according to Conventional Commit
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/src/get-new-version.ts b/src/get-new-version.ts index 27fc9da..718f8bd 100644 --- a/src/get-new-version.ts +++ b/src/get-new-version.ts @@ -1,3 +1,4 @@ +import type { GitCommit } from './git' import type { BumpRelease, PromptRelease } from './normalize-options' import type { Operation } from './operation...
2
2
0
[{"id": "G0", "claim": "The commit-message parsing logic (parseCommit) shared by bumpp, changelogen and changelogithub should be extracted into a separate npm package that bumpp depends on.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new 'semver' ...
null
antfu-collective__ni__17
antfu-collective/ni
17
defect
9d9c840752ccfa52a485a841ebfd889becf8ab9d
078b1a14fa6f58fa70b5a500d5cbe97afbd2ee86
feat: uninstall command `nrm`
closes #15
diff --git a/README.md b/README.md index df397eed..6ab1e916 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,36 @@ if the corresponding node manager is not present, this command will install it g <br> +### `nrm` - uninstall + +```bash +nrm + +# npm uninstall axios +# yarn remove axios +# pnpm remove axios +``...
3
3
1
[{"id": "G0", "claim": "The commented-out debugging line `// console.log(...)` should be removed from src/commands.ts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR's change to src/nu.ts (calling parseNrm instead of parseNu) looks like a...
null
antfu-collective__ni__220
antfu-collective/ni
220
defect
cec54ff70925aefdb2d41be34a407f1120b987dc
ba06baf3654ff2b51ab2f703144b91e7b0d00d7a
chore: reduce bundle size
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/build.config.ts b/build.config.ts index ff9886e7..08835bee 100644 --- a/build.config.ts +++ b/build.config.ts @@ -1,14 +1,12 @@ import { basename } from 'node:path' import { defineBuildConfig } from 'unbuild' -import fg from 'fast-glob' +import { globSync } from 'tinyglobby' export default defineBuild...
7
5
2
[{"id": "G0", "claim": "The commented-out `exclude` block should be removed from taze.config.ts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `test-config` script should be removed from package.json.", "category": "maintainability", "verdi...
null
antfu-collective__ni__255
antfu-collective/ni
255
defect
f8e3f2000900efa695d94374232102d2ce2158b7
391f005bd796bf4841250000b5ad2dacce2d1de8
feat: support frozen production install
### Description Adds support for installing only production dependencies while adhering to lock file specification and ensuring it is consistent with package.json Allows user to call `nci -P` or `ni --frozen -P` to do so. > [!WARNING] > `pnpm-lock.yaml` points to a linked version of `package-manager-detecto...
diff --git a/README.md b/README.md index 26b72506..37211ce4 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,16 @@ ni --frozen # bun install --frozen-lockfile ``` +```bash +ni --frozen -P + +# npm ci --omit=dev +# yarn install --frozen-lockfile --production (Yarn 1) +# yarn install --immutable --production (Yarn...
1
1
0
[{"id": "G0", "claim": "The README should not demonstrate frozen production install with `ni --frozen -P` (nor the equivalent `nci -P` block), since that behaviour is what people should already expect rather than something to document.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "i...
null
antfu-collective__ni__269
antfu-collective/ni
269
defect
cb59993a83982fbeecc43138e3c774d9640c501a
8022ba53c80588b4455cef3521d7dd74f6beeb85
fix!: improve debug logging format for command execution
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/src/runner.ts b/src/runner.ts index 7a7abc9e..212ebe2a 100644 --- a/src/runner.ts +++ b/src/runner.ts @@ -149,7 +149,8 @@ export async function run(fn: Runner, args: string[], options: DetectOptions = { } if (debug) { - console.log(command) + const commandStr = [command.command, ...command.ar...
1
1
0
[{"id": "G0", "claim": "The added skip declaration should drop the extra space inside the empty arrow-function body, i.e. `() => { }` should be `() => {}`.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
antfu-collective__ni__300
antfu-collective/ni
300
defect
d32fbc09935940476cea373a185f9bfc741e52d7
694474692642e648bd0d49885c3860c3d73d3b60
feat: support node --run flag with nr
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/README.md b/README.md index 47bdc2d9..d4f3b2cf 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,10 @@ nr dev --port=3000 # pnpm run dev --port=3000 # bun run dev --port=3000 # deno task dev --port=3000 + +nr dev --port=3000 --run + +# node --run dev --port=3000 ``` ```bash diff --git a/src/pars...
2
2
2
[{"id": "G0", "claim": "The tests that fail on Node.js should be marked as failed so that the CI can pass.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The --run support should be a config option (`runAgent: node`) instead of a CLI flag.", "category":...
null
antfu-collective__ni__63
antfu-collective/ni
63
defect
09a9a62767674f51d7bce35b86c77b0644440afe
dbd1d5b9c1ead6f097f2b432062a35b2199aa887
feat: support yarn@berry
Previously #50 has added support for `packageManager` field, but it does not detect yarn 2+, which has different command arguments. This pr fixed that. Yarn 2+ users are likely to stay at the `berry` version branch (as its doc suggested `yarn set version stable`), which means we can just maintain 2 versions of yarn ...
diff --git a/src/agents.ts b/src/agents.ts index e0770df0..07a76838 100644 --- a/src/agents.ts +++ b/src/agents.ts @@ -5,7 +5,7 @@ const npmRun = (agent: string) => (args: string[]) => { } export const AGENTS = { - npm: { + 'npm': { 'run': npmRun('npm'), 'install': 'npm i', 'frozen': 'npm ci', @@ -...
1
1
1
[{"id": "G0", "claim": "In src/detect.ts, comparing the packageManager yarn version as a string ('version > \"1\"') should instead compare it numerically (parseInt(version) > 1).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
antfu-collective__taze__136
antfu-collective/taze
136
defect
a07d0c246c003c5f94b977ec3dc0fa356975cb58
37deb7ab0ebe2ba7779b3edce2d8bea74f76a664
refactor: replace `ezsapawn` w/ `tinyexec`
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/package.json b/package.json index 055d0366..89e280ec 100644 --- a/package.json +++ b/package.json @@ -35,10 +35,10 @@ }, "dependencies": { "@antfu/ni": "^0.22.1", - "@jsdevtools/ez-spawn": "^3.0.4", "js-yaml": "^4.1.0", "npm-registry-fetch": "^17.1.0", "ofetch": "^1.3.4", + ...
1
1
1
[{"id": "G0", "claim": "The `exec` calls from tinyexec must be given the `throwOnError: true` option so that a non-zero exit code surfaces as an error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
antfu-collective__taze__175
antfu-collective/taze
175
defect
d1d1cc6454a07cea8b748bdf32fcd5a3b9f30c7b
a3a1fbb3026c796a62255f938000f95ee78ac354
feat: add support for peerDependencies in update process
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/README.md b/README.md index 305d62db..2d7556e0 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,17 @@ taze --include /react/ --exclude react-dom # regex is also supported Locked (fixed version without `^` or `~`) packages are skipped by default, use `taze --include-locked` or `taze -l` to show them. ...
2
2
1
[{"id": "G0", "claim": "The 'peerDependencies' entry added to depsFields should be conditionally enabled (opt-in) rather than always included in the update process.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README's Peer Dependencies sectio...
null
antfu-collective__taze__213
antfu-collective/taze
213
defect
27cbd9fef9ab11db7228a968db5bf6be72fbc601
26d28904f8afe7712cc1d9c75699c5c6fdc4f8c9
feat: support package.yaml and dependencies resolution - PNPM
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/package.json b/package.json index 0bd495a2..f3a0be25 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "@antfu/ni": "^26.0.1", "cac": "^6.7.14", "find-up-simple": "^1.0.1", + "js-yaml": "^4.1.0", "ofetch": "^1.4.1", "package-manager-detector": "^1.3.0", "pathe"...
5
5
0
[{"id": "G0", "claim": "Use the `yaml` library instead of `js-yaml` for the package.yaml support, since `yaml` is already used in `pnpm-workspace-yaml`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`isDepFieldEnabled` would be more concise written as a...
null
antfu-collective__taze__42
antfu-collective/taze
42
defect
a4ddb541956878b0bbee9923a1371b192c072217
59cdc263d9916b8e4e1f74b5eb8884c7dd7e3a4e
feat: add `--sort` option
<!-- DO NOT IGNORE THE TEMPLATE! Thank you for contributing! Before submitting the PR, please make sure you do the following: - Read the [Contributing Guide](https://github.com/antfu/contribute). - Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. - Provi...
diff --git a/src/cli.ts b/src/cli.ts index 541dad0c..02329bc7 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -38,6 +38,16 @@ function commonOptions(args: Argv<{}>): Argv<CommonOptions> { type: 'boolean', describe: 'force fetching from server, bypass cache', }) + .option('sort', { + alias: 's', +...
1
1
1
[{"id": "G0", "claim": "Instead of two boolean options (--sort and --sortReversed), the CLI should expose a single `sort` option taking combined values like time-asc, time-desc, diff-asc, diff-desc.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
antfu__utils__23
antfu/utils
23
defect
540352999eaf5441a3b0f8e86b3eddac864a3e76
378c014600d2a6b6926e9ad6a4f96a90ab829451
feat(string): add `capitalize` and test case
### Description add `capitalize` method example: input `hello` output `Hello`
diff --git a/src/string.test.ts b/src/string.test.ts index 6182f02..6b5cc64 100644 --- a/src/string.test.ts +++ b/src/string.test.ts @@ -1,5 +1,5 @@ import { expect, it } from 'vitest' -import { ensurePrefix, ensureSuffix, slash, template } from './string' +import { capitalize, ensurePrefix, ensureSuffix, slash, templ...
1
1
0
[{"id": "G0", "claim": "Replace `str.substring(1)` with `str.slice(1)` in the capitalize return line.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
antgroup__vsag__1023
antgroup/vsag
1,023
defect
b19494d60ac9215488d854f0f4715cdf92745231
f78858dbe430507b45d94fddfc48426d7d5ca6a5
add file remove check on disk io type
## Summary by Sourcery Add file existence checks to disk IO classes to prevent deleting pre-existing files and to error on directory paths, and refactor MMapIO by extracting its implementation into a new source file Enhancements: - Track file existence in MMapIO, AsyncIO, and BufferIO and only remove files created by...
diff --git a/src/io/CMakeLists.txt b/src/io/CMakeLists.txt index 9ef752e74b..a189f0742e 100644 --- a/src/io/CMakeLists.txt +++ b/src/io/CMakeLists.txt @@ -8,6 +8,7 @@ set (IO_SRC async_io_parameter.cpp async_io.cpp mmap_io_parameter.cpp + mmap_io.cpp memory_block_io.cpp ...
7
3
2
[{"id": "G0", "claim": "The MMapIO constructor does not check open()'s return value; if open() fails fd_ will be -1, which may cause undefined behavior in later operations, so it should check fd_ < 0 and throw an exception.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
antgroup__vsag__1027
antgroup/vsag
1,027
defect
0357af9e8079f42c3422879d23fbdab77359cd4c
6953146b7b7e85d834617a806adcf6d0638ea69e
add overtime check on search
closed: #1026 - implement for hgraph & ivf - introduce new search param: "max_time_cost_ms"(double) - update doc for ivf ## Summary by Sourcery Add search time budget controls by introducing a max_time_cost_ms parameter, integrating timers into IVF and HGraph implementations for early termination, updating docs, ...
diff --git a/docs/ivf.md b/docs/ivf.md index da4b76729c..de5e028412 100644 --- a/docs/ivf.md +++ b/docs/ivf.md @@ -140,12 +140,19 @@ means that the index is built using 50 buckets, the base quantization type is pq - **Optional Values**: 1 to INT_MAX - **Default Value**: 1 (only the search main thread do the search) ...
9
3
0
[{"id": "G0", "claim": "InnerSearchParam's assignment operator does not copy the new fields (time_cost, parallel_search_thread_count, executors, duplicate_id, consider_duplicate), which may cause inconsistent object state; it should copy all relevant fields or document why any are omitted.", "category": "correctness", ...
null
antgroup__vsag__1037
antgroup/vsag
1,037
defect
6c0a20e41ca3bf8f36d49df7847ceed44cc147b9
05c1790ccf590c13547db47a84459e5f087e0dc7
increase beam width during reordering
## Summary by Sourcery Optimize the reordering algorithm by batching distance computations and allowing a larger beam during candidate selection, and fix test utility bugs in AsyncRead and quantization string handling. Bug Fixes: - Fix AsyncRead in TestReader to use memcpy for correct buffer copying - Correct quantiz...
diff --git a/src/impl/reorder.cpp b/src/impl/reorder.cpp index 800f6cc656..1ab22edd72 100644 --- a/src/impl/reorder.cpp +++ b/src/impl/reorder.cpp @@ -25,12 +25,21 @@ Reorder::ReorderByFlatten(const DistHeapPtr& input, int64_t topk) { auto reorder_heap = DistanceHeap::MakeInstanceBySize<...
3
1
0
[{"id": "G0", "claim": "In reorder.cpp, loop indices should use size_t instead of int to avoid signed/unsigned mismatches when candidate_size is large.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The push-then-pop pattern can incur unnecessary he...
null
antgroup__vsag__1045
antgroup/vsag
1,045
defect
5e8d0f26cd0467c99f43c05939c344c97d491719
6c4d7c9f813f105f1ff1c79f9f6e2c5dd0362699
support analyze HGraph by searching
close #1034 ## Summary by Sourcery Enable search-based analysis of HGraph indices by adding a unified AnalyzedIndex workflow, new CLI parameters for query testing, and implementing an AnalyzeIndexBySearch interface across core index classes. New Features: - Add CLI options (--build_parameter, --query_path, --search_...
diff --git a/include/vsag/index.h b/include/vsag/index.h index 0f8951982e..13b2bc75f3 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -669,6 +669,18 @@ class Index { throw std::runtime_error("Index not support range search"); } + /** + * @brief Perform analysis on the index using...
5
2
2
[{"id": "G0", "claim": "The return value of index.AnalyzeQuery is ignored in main; handle it to ensure failures are detected and addressed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a return statement after logging the skip message in analy...
null
antgroup__vsag__1056
antgroup/vsag
1,056
defect
6cf34b908dc72859c1a111fefe831d58dd704240
3aea4c189d6d780084afa375fc0364a67cc48e51
support tombstone recovery in hnsw
close #1054 ## Summary by Sourcery Enable tombstone recovery in HNSW indexes to allow re-adding of previously deleted elements without degrading recall New Features: - Support tombstone recovery workflow in HierarchicalNSW algorithm - Introduce isTombLabel and getInnerIdByLabel methods to detect and locate deleted e...
diff --git a/src/algorithm/hnswlib/algorithm_interface.h b/src/algorithm/hnswlib/algorithm_interface.h index 321456b4d9..3359d4d888 100644 --- a/src/algorithm/hnswlib/algorithm_interface.h +++ b/src/algorithm/hnswlib/algorithm_interface.h @@ -111,6 +111,11 @@ class AlgorithmInterface { virtual bool isValidLab...
7
2
1
[{"id": "G0", "claim": "getInnerIdByLabel may dereference an invalid iterator if label is missing from label_lookup_; add a check for label existence and handle it, e.g. by throwing an exception or returning a sentinel value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
antgroup__vsag__1058
antgroup/vsag
1,058
defect
2a2637b058d6f5f417761ae14bdab085916862bf
657b7e4e718c6cf3eba0780efe7f667b9f11e45a
fix compile error in tests
close #1057 ## Summary by Sourcery Fix various compile errors by adjusting compiler detection script, correcting simd feature checking, and standardizing test string template declarations. Bug Fixes: - Fix compiler detection in check_environment.sh by using the CC environment variable instead of hardcoded c++ - Corr...
diff --git a/scripts/check_environment.sh b/scripts/check_environment.sh index ca5aee8813..a07c631011 100644 --- a/scripts/check_environment.sh +++ b/scripts/check_environment.sh @@ -12,7 +12,7 @@ function get_vsag() { } function get_compiler() { - compiler_version=$(c++ --version | head -n 1) + compiler_vers...
2
2
2
[{"id": "G0", "claim": "The new `$CC` usage in get_compiler should handle the case where $CC is unset or empty, since an unset $CC causes a command-not-found error; set a default value or check it before use.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
antgroup__vsag__1079
antgroup/vsag
1,079
defect
953d01892735d994955e3a1ae951eb5630f8cd8e
2eb10ac259bde93b4ec029d5b87ff9358c303efa
support mrng in hgraph
## Summary by Sourcery Introduce an alpha parameter to the pruning heuristic to allow adjustable neighbor filtering and expand unit tests to validate its behavior and mutual connections. New Features: - Support an alpha parameter in select_edges_by_heuristic for customizable pruning behavior. Enhancements: - Incorpo...
diff --git a/src/impl/pruning_strategy.cpp b/src/impl/pruning_strategy.cpp index b0319a74d1..6769e7e1f6 100644 --- a/src/impl/pruning_strategy.cpp +++ b/src/impl/pruning_strategy.cpp @@ -23,7 +23,8 @@ void select_edges_by_heuristic(const DistHeapPtr& edges, uint64_t max_size, ...
5
2
0
[{"id": "G0", "claim": "Consider adding a test for mutually_connect_new_element with max_size (max_degree) less than the number of candidates, to ensure only the correct candidates are retained and no unexpected exceptions occur.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"},...
null
antgroup__vsag__111
antgroup/vsag
111
defect
385a5d9931834683370e3ac44ad134e5f42b7275
735c3d7fb19e3fd6d545f0b34f17b4e7a5447477
add hgraph param
issue: #40 - introduce inner param for inner indexes - map the external param to inner - add format_map for long string to help reading
diff --git a/include/vsag/constants.h b/include/vsag/constants.h index c1d5d4be73..ad86b81b0e 100644 --- a/include/vsag/constants.h +++ b/include/vsag/constants.h @@ -93,37 +93,7 @@ extern const char* const MESSAGE_PARAMETER; extern const char* const SERIALIZE_MAGIC_NUM; extern const char* const SERIALIZE_VERSION; ...
6
5
0
[{"id": "G0", "claim": "Use a JsonType alias for nlohmann::json in the new HgraphParameters code, as done in PR #96.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the EXTERNAL_MAPPING variable definition above the function definitions (to line 25) ...
null
antgroup__vsag__1111
antgroup/vsag
1,111
defect
7cdfb4778d527d66392ffb7271a0b992997d4ab7
4f50baf03d47ea3cd8ee0e83948d2dc4fdcaa096
feat(sindi): support several interfaces
close #1110 ## Summary by Sourcery Add full support for computing distances by element ID to both SINDI and SparseIndex, along with ID management utilities and memory estimation in SINDI. New Features: - Implement CalcDistanceById in the base Index, InnerIndexInterface, SINDI, and SparseIndex - Add SINDI methods Upd...
diff --git a/include/vsag/index.h b/include/vsag/index.h index e5940ca67a..6724d1c58e 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -400,6 +400,18 @@ class Index { throw std::runtime_error("Index doesn't support get distance by id"); }; + /** + * @brief Calculate the distance be...
3
2
2
[{"id": "G0", "claim": "The '1 - ip' transformation in SparseTermDataCell::CalcDistanceByInnerId may not be robust for all similarity metrics — if ip can exceed 1 or be negative, '1 - ip' may yield unexpected distances; verify the transformation is valid for all expected input ranges and consider normalization or clamp...
null
antgroup__vsag__1116
antgroup/vsag
1,116
defect
eb294b96f65ff69e9712167b8378e3f73bd596f1
4c1e163139ec731b642cb8632466e73cfd9456ed
feat(ivf): support for self-checking and query-based checking of IVF inverted indexes
close: #1093 ## Summary by Sourcery Add self-checking and query-based analysis capabilities to IVF indexes by implementing statistics and quantization error reporting, refactor quantizer analysis into the base index interface, extend serialization metadata, enable the analyze_index tool to handle IVF, and include a t...
diff --git a/src/algorithm/hgraph.cpp b/src/algorithm/hgraph.cpp index 16997927c1..74d1fc9a50 100644 --- a/src/algorithm/hgraph.cpp +++ b/src/algorithm/hgraph.cpp @@ -43,7 +43,6 @@ namespace vsag { HGraph::HGraph(const HGraphParameterPtr& hgraph_param, const vsag::IndexCommonParam& common_param) : InnerIndexInter...
7
1
0
[{"id": "G0", "claim": "get_data_stats computes variance with the population formula (dividing by N); the author should verify whether sample variance (dividing by N-1) matches the requirements.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "analyze...
null
antgroup__vsag__1144
antgroup/vsag
1,144
defect
3c03ec50cd42d79137a826f8a3e154acd6c159bb
5b441a9f69be786545bfc312ad10c32a1664a492
feat(sindi): add parameter check for sindi
## Summary by Sourcery Enforce validation on SINDI index build and search parameters, handle invalid inputs gracefully, and expand tests accordingly New Features: - Add runtime checks for doc_prune_ratio and window_size bounds in SINDIParameter - Add runtime checks for term_prune_ratio, query_prune_ratio, and n_candi...
diff --git a/src/algorithm/sindi/sindi.cpp b/src/algorithm/sindi/sindi.cpp index 8688697a8b..61a32f03b3 100644 --- a/src/algorithm/sindi/sindi.cpp +++ b/src/algorithm/sindi/sindi.cpp @@ -45,6 +45,7 @@ SINDI::SINDI(const SINDIParameterPtr& param, const IndexCommonParam& common_para std::vector<int64_t> SINDI::Add(cons...
11
3
0
[{"id": "G0", "claim": "The range checks for doc_prune_ratio, term_prune_ratio and query_prune_ratio hardcode the bounds and are repeated across methods; consider centralizing them as named constants or a shared helper/validator to reduce duplication.", "category": "maintainability", "verdict": "uncertain", "priority":...
null
antgroup__vsag__1152
antgroup/vsag
1,152
defect
51a4d88379b74ffebfd018ed2e9bc41fb30689e0
7f82f17a24074904d7e561c824a8b3d83b16dffb
feat(int8): add int8 type support for full-precision quantizer
close #1151 ## Summary by Sourcery Add full INT8 quantization support to the existing quantizer framework. New Features: - Implement INT8Quantizer template class with encode/decode, compute, and computer implementations for L2SQR, inner product, and cosine metrics. - Introduce INT8QuantizerParameter for JSON configu...
diff --git a/src/common.h b/src/common.h index 40c36cabdb..d3ca39dead 100644 --- a/src/common.h +++ b/src/common.h @@ -18,6 +18,7 @@ #include <cstdint> #include "vsag_exception.h" +#include <cstdint> #define SAFE_CALL(stmt) \ try { ...
10
6
2
[{"id": "G0", "claim": "EncodeBatchImpl (and DecodeBatchImpl) return false even on successful completion, which may be interpreted as a failure and should return true per the base class contract.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests ...
null
antgroup__vsag__1192
antgroup/vsag
1,192
defect
fe4fa673313a8efe5e978968eae49a101965158d
5426d419990f5bb56fbd9214cd15706ba0466dab
feat(sparse): improve performance of batch distances calculation
close #1191 ## Summary by Sourcery Introduce batch distance calculation methods for SINDI and SparseIndex, along with performance optimizations for sparse queries and filtering. New Features: - Add CalDistanceById for SINDI to compute distances for multiple IDs in a single call - Add CalDistanceById for SparseIndex ...
diff --git a/src/algorithm/sindi/sindi.cpp b/src/algorithm/sindi/sindi.cpp index 80aa7c6117..0244f879b9 100644 --- a/src/algorithm/sindi/sindi.cpp +++ b/src/algorithm/sindi/sindi.cpp @@ -397,6 +397,49 @@ SINDI::CalcDistanceById(const DatasetPtr& vector, int64_t id) const { return term_list->CalcDistanceByInnerId(c...
6
3
2
[{"id": "G0", "claim": "SparseIndex::CalDistanceById does not check whether GetIdByLabel returns an invalid inner_id, which CalDistanceByIdUnsafe may not handle properly; add a check for missing ids before calling CalDistanceByIdUnsafe.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
antgroup__vsag__1240
antgroup/vsag
1,240
defect
57a7e5ea2eeb567c7f5f19f161ad0b96fe70a99b
91cd757c6af7374db02757acd95faaa8f7571116
feat: add parallelism search for bruteforce
closed: #1241 - unify some search parameters ## Summary by Sourcery Enable parallelism in brute-force search via a unified search parameter framework, centralize common search settings, and update tests to cover multi-threaded scenarios New Features: - Add parallel brute-force search with configurable thr...
diff --git a/src/algorithm/brute_force.cpp b/src/algorithm/brute_force.cpp index 685272dfb6..dc61972bd5 100644 --- a/src/algorithm/brute_force.cpp +++ b/src/algorithm/brute_force.cpp @@ -181,31 +181,19 @@ BruteForce::KnnSearch(const DatasetPtr& query, int64_t k, const std::...
10
6
1
[{"id": "G0", "claim": "The parallelism value is read from JSON without validation, so a user-supplied 0 could cause a division-by-zero crash and a negative value unexpected behavior in BruteForce::SearchWithRequest; it should be validated to be a positive integer.", "category": "correctness", "verdict": "supported", "...
null
antgroup__vsag__1242
antgroup/vsag
1,242
defect
fda4d733ce00fe74039cc2151e2ca30428ceac41
38f6ee721d9e2ca6ada39cb17d471eca3de5460f
fix(sindi): bad alloc and bench issue caused by term id limit
close #1244 ## Summary by Sourcery Refactor term list resizing to avoid allocation failures, enhance exception handling and logging in the SINDI algorithm, and raise the term ID limit to 10 million Bug Fixes: - Prevent crashes by handling std::bad_alloc during vector insertions and in term list resizing En...
diff --git a/src/algorithm/sindi/sindi.cpp b/src/algorithm/sindi/sindi.cpp index 29bdc6d94f..dac2c3ee6f 100644 --- a/src/algorithm/sindi/sindi.cpp +++ b/src/algorithm/sindi/sindi.cpp @@ -80,9 +80,13 @@ SINDI::Add(const DatasetPtr& base) { try { window_term_list_[cur_window]->InsertVector(sparse_...
3
2
1
[{"id": "G0", "claim": "The rewritten ResizeTermList loses or corrupts existing state: new_ids and new_datas are pre-filled with new_term_capacity default elements and then emplace_back'ed, so they end up oversized with extra default entries, and existing term_sizes_ values are never copied into new_sizes, which stays ...
null
antgroup__vsag__1260
antgroup/vsag
1,260
defect
df134a36fefa719f5c04e7ee5aa1328090662eab
aa8570c0e9f4e78bfe015f9b3a5c0885d4b63596
improvment: use multi thread for get_data_by_ids
## Summary by Sourcery Enhancements: - Split vector, attribute set, and extra info fetching into concurrent tasks based on build_thread_count to speed up GetDataByIdsWithFlag
diff --git a/src/algorithm/inner_index_interface.cpp b/src/algorithm/inner_index_interface.cpp index a9be84b50f..7c2402568f 100644 --- a/src/algorithm/inner_index_interface.cpp +++ b/src/algorithm/inner_index_interface.cpp @@ -414,6 +414,8 @@ InnerIndexInterface::GetDataByIdsWithFlag(const int64_t* ids, in...
6
1
1
[{"id": "G0", "claim": "Add a check that thread_count is greater than zero (and reasonable, e.g. <= count) before computing item_per_thread, to prevent division by zero when build_thread_count_ is zero.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
antgroup__vsag__1261
antgroup/vsag
1,261
defect
82bdad4f650d2cf0a293b46ffd3a9d13558f0748
fcd3f34f9d7cf65a5826db12b40e19c70574cc46
feat(SINDI): add term id limit check (cp 0.16)
(cherry picked from commit 45a9f7631cb91f017726416fad7d4a1eedbdd37b) ## Summary by Sourcery Add configurable term_id_limit to SINDI index and enforce it throughout vector insertion and search, returning failed IDs for out-of-range or invalid vectors and updating parameters, serialization, tests, and examples accordin...
diff --git a/examples/cpp/109_index_sindi.cpp b/examples/cpp/109_index_sindi.cpp index 6253aa1543..8450828d9d 100644 --- a/examples/cpp/109_index_sindi.cpp +++ b/examples/cpp/109_index_sindi.cpp @@ -114,6 +114,7 @@ main(int argc, char** argv) { * - index_param: Parameters specific to sparse indexing: * - ...
8
2
1
[{"id": "G0", "claim": "In KnnSearch (and likewise RangeSearch) the new guard checks sparse_vectors->len_ instead of the query vector's own sparse_query.len_, so it may not validate that the query vector is non-empty.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
antgroup__vsag__1289
antgroup/vsag
1,289
defect
ae9220f31ce54ae62d65ef88b4a1739bfabccc8f
7811c1179cef276b34da26931fb34cd4ff5d07c1
improvement: performance of update vector
close #1288 ## Summary by Sourcery Enhancements: - Replace KNN-based neighbor search with direct neighbor list retrieval in update_vector for both HNSW and HGraph to reduce data copy and search overhead
diff --git a/src/algorithm/hgraph.cpp b/src/algorithm/hgraph.cpp index 882cd34d07..b5ae63e07f 100644 --- a/src/algorithm/hgraph.cpp +++ b/src/algorithm/hgraph.cpp @@ -2193,32 +2193,21 @@ HGraph::UpdateVector(int64_t id, const DatasetPtr& new_base, bool force_update) get_vectors(data_type_, dim_, new_base, &new_bas...
2
2
2
[{"id": "G0", "claim": "In HNSW::update_vector, get_linklist0 is called with an external label where an internal ID is expected, and getDistanceByLabel is called with an internal ID where an external label is expected, which can lead to memory corruption or crashes.", "category": "correctness", "verdict": "supported", ...
null
antgroup__vsag__1291
antgroup/vsag
1,291
defect
3e69e7f5b660129082e797baea792bc53f0f32ed
80f0d9a002f539ed2305442a80bacff3a0aacc31
feat(index): add write function for Serialize
closed: #1282 ## Summary by Sourcery Add support for serializing indexes via a custom write function New Features: - Introduce WriteFuncType and offset/size typedefs in index.h - Add Serialize(write_func) method to Index interface with default implementation - Implement write-function-based serialization in InnerInd...
diff --git a/include/vsag/index.h b/include/vsag/index.h index 5f54091277..ca0f395526 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -51,6 +51,10 @@ enum class IndexType { HNSW, DISKANN, HGRAPH, IVF, PYRAMID, BRUTEFORCE, SPARSE, #define DATA_FLAG_ATTRIBUTE 0x20 #define DATA_FLAG_ID 0x40 +using Offs...
6
1
0
[{"id": "G0", "claim": "Remove the unused variable num_bytes from InnerIndexInterface::Serialize(WriteFuncType).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "IndexImpl::Serialize(WriteFuncType) does not return the result of inner_index_->Seria...
null
antgroup__vsag__1309
antgroup/vsag
1,309
defect
abe10628bdfb7435b7315b2334817978240a688d
1c601c7aa1c094289ae286545fa90114aad3906b
feat(index): Support get detail data with info from index
closed: #1293 - only support label_table and num_element ## Summary by Sourcery Add support for retrieving detailed index metadata, specifically element count and label table, by introducing new metadata descriptors and data access APIs and implementing them in the inner index. New Features: - Define IndexD...
diff --git a/include/vsag/index.h b/include/vsag/index.h index 56608203e5..70c9423fef 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -544,7 +544,23 @@ class Index { */ virtual tl::expected<std::vector<IndexDetailInfo>, Error> GetIndexDetailInfos() const { - throw std::runtime_err...
8
2
0
[{"id": "G0", "claim": "The non-const getter overloads for vector and string types (GetData1DArrayInt64, GetData2DArrayInt64, GetDataScalarString) return by value, causing an unnecessary copy on every call and preventing callers from modifying the returned object, so they should return a non-const reference instead.", ...
null
antgroup__vsag__1316
antgroup/vsag
1,316
defect
fa2bd217b4ff3438cf0add4e387c6fa90865a6e9
9587346900e0aff1ec91c4f36feaf04bfe9d3d98
feat(index): add "is_timeout" stat for search result
closed: #1326 ## Summary by Sourcery Introduce a JSON-based statistics mechanism for search results, track timeout events, and expose these stats through the Dataset API New Features: - Add Dataset::Statstics and GetStatstics methods to set and retrieve JSON-encoded statistics Enhancements: - Initialize ...
diff --git a/include/vsag/dataset.h b/include/vsag/dataset.h index 7d35cbc36e..d98c37314c 100644 --- a/include/vsag/dataset.h +++ b/include/vsag/dataset.h @@ -276,6 +276,32 @@ class Dataset : public std::enable_shared_from_this<Dataset> { */ virtual int64_t GetExtraInfoSize() const = 0; + + /* + ...
6
2
1
[{"id": "G0", "claim": "Rename the misspelled 'Statstics'/'GetStatstics' methods, parameters and 'statstics_' member to 'Statistics'/'GetStatistics'/'statistics_' across the interface and implementation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
antgroup__vsag__1323
antgroup/vsag
1,323
defect
2385a987985f91ab64b078ceb5f8596bc4457e12
9a304601e0f8b35983924dab20017094bd455592
refactor(string): unify same string defination
- split key/value for inner strings - make internal/external string more clear. After mapping, all external param will not be used, but internal string instead - unify string defination with same values ## Summary by Sourcery Unify and consolidate string key definitions across the codebase by renaming and centraliz...
diff --git a/src/algorithm/brute_force.cpp b/src/algorithm/brute_force.cpp index d5be8ec2c0..7c9d39b8e3 100644 --- a/src/algorithm/brute_force.cpp +++ b/src/algorithm/brute_force.cpp @@ -438,10 +438,10 @@ static const std::string BRUTE_FORCE_PARAMS_TEMPLATE = { "type": "{INDEX_BRUTE_FORCE}", "{IO...
5
1
1
[{"id": "G0", "claim": "Renaming common constants to generic names like TYPE_KEY risks collisions, so the keys should be grouped into context-specific namespaces or structs to avoid ambiguity.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The external-t...
null
antgroup__vsag__1334
antgroup/vsag
1,334
defect
0b7ee549f0f3f916e8552e7263e56c802e29e906
6228ea26eb322a3bd95a2b2ace494bcdf6a8d06b
feat(c_api): add functional serialzie method for C api
closed: #1295 ## Summary by Sourcery Introduce new functional serialization and deserialization methods to the C API, enabling clients to supply custom write and read callbacks for flexible IO, backed by a RandomAccessStreamBuf implementation and verified by updated unit tests. New Features: - Add vsag_serialize_wri...
diff --git a/include/vsag/vsag_c_api.h b/include/vsag/vsag_c_api.h index c18bcc9079..111b2010a4 100644 --- a/include/vsag/vsag_c_api.h +++ b/include/vsag/vsag_c_api.h @@ -64,4 +64,16 @@ vsag_serialize_file(vsag_index_t index, const char* file_path); Error_t vsag_deserialize_file(vsag_index_t index, const char* file...
8
1
0
[{"id": "G0", "claim": "vsag_serialize_write_func and vsag_deserialize_read_func should add null checks for the write_func, read_func and size_func callback pointers, since a null callback may crash (null pointer dereference).", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}...
null
antgroup__vsag__1337
antgroup/vsag
1,337
defect
cb71930dd3b7f6643a9d2f07eea48c41c3606945
28d7f230cb69512d8db1bf138138ddeacde5d941
refactor(pyramid): refactor the parameters of the pyramid
#1336 ## Summary by Sourcery Refactor pyramid and hgraph parameter handling to use a unified JSON schema, streamlined mapping, and enhanced configurability Enhancements: - Redefine Pyramid index JSON schema with a top-level "graph" section and separate base/precise code blocks, adding new options for graph_type, gra...
diff --git a/examples/cpp/107_index_pyramid.cpp b/examples/cpp/107_index_pyramid.cpp index d0d6195529..bed8cd6ca5 100644 --- a/examples/cpp/107_index_pyramid.cpp +++ b/examples/cpp/107_index_pyramid.cpp @@ -102,16 +102,14 @@ main(int argc, char** argv) { "metric_type": "l2", "dim": 128, "inde...
11
3
1
[{"id": "G0", "claim": "Add a check to verify GRAPH_TYPE_KEY exists in graph_json before accessing it, to prevent runtime errors if the key is missing.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a presence check for BASE_CODES_KEY before acces...
null
antgroup__vsag__1350
antgroup/vsag
1,350
defect
2f7ee34a636ec5a97289891cd37d3bc6fe0d4f9f
9f4da529370b9bdcb7e5e34f49d53507f8f11c61
feat(pyramid): implement more fine-grained locks in pyramid
close: #1336 ## Summary by Sourcery Enhance pyramid index concurrency by introducing fine-grained locking strategies and extending search interfaces to support concurrent add and search operations. New Features: - Add per-point locking via PointsMutex to enable concurrent additions and searches - Extend SearchFunc a...
diff --git a/src/algorithm/pyramid.cpp b/src/algorithm/pyramid.cpp index 82fa2ce003..b6528c8c6c 100644 --- a/src/algorithm/pyramid.cpp +++ b/src/algorithm/pyramid.cpp @@ -62,7 +62,7 @@ IndexNode::IndexNode(IndexCommonParam* common_param, GraphInterfaceParamPtr grap void IndexNode::BuildGraph(ODescent& odescent) { -...
9
3
1
[{"id": "G0", "claim": "Enabling SUPPORT_ADD_SEARCH_CONCURRENT may introduce data races or inconsistent states during concurrent add and search operations, so the feature needs additional concurrency validation before it is declared supported.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scop...
null
antgroup__vsag__1363
antgroup/vsag
1,363
defect
5bdc00a04a2e7136d7044bf8a44319c80fd71f87
0a2a3fe465658caa6aef28adacb358fb292b632c
feat(c_api): add more api for c-sdk
closed: #1369 - try to align the c_api to c++'s Index interface ## Summary by Sourcery Extend and align the C API with the C++ index interface, adding richer search and index management capabilities while improving error handling. New Features: - Introduce C API functions for adding and training data sepa...
diff --git a/include/vsag/vsag_c_api.h b/include/vsag/vsag_c_api.h index 111b2010a4..56a9047e3b 100644 --- a/include/vsag/vsag_c_api.h +++ b/include/vsag/vsag_c_api.h @@ -37,28 +37,273 @@ extern "C" { typedef struct Error { int code; char message[1024]; -} Error_t; +} Error_t; /** The error code. */ -typed...
9
3
2
[{"id": "G0", "claim": "SearchResult_t declares `void* other_result = nullptr;` with a C++ default member initializer in the public C API header, which is invalid C and prevents pure C consumers from including the header, so the in-struct initializer should be removed (and NULL used instead of nullptr).", "category": "...
null
antgroup__vsag__1384
antgroup/vsag
1,384
defect
21dcac3518fc5f08cb582437661f1e67385be76d
6b23dc0d1179b5c3a36be1e9e35903e93bf512f0
feat(pyramid): support reordering and timeout checks
#1336 ## Summary by Sourcery Add support for reorder-aware pyramid indexing and timeout-aware search, and extend tests accordingly. New Features: - Support optional reorder using precise quantization codes throughout pyramid build, add, resize, train, and search flows. - Expose search timeout configuration and timeo...
diff --git a/src/algorithm/pyramid.cpp b/src/algorithm/pyramid.cpp index 9946f14720..8f6e7c9ce6 100644 --- a/src/algorithm/pyramid.cpp +++ b/src/algorithm/pyramid.cpp @@ -167,9 +167,13 @@ Pyramid::build_by_odescent(const DatasetPtr& base) { std::memcpy(label_table_->label_table_.data(), data_ids, sizeof(LabelType)...
7
1
0
[{"id": "G0", "claim": "Pyramid::Deserialize now assumes the footer, BASIC_INFO metadata and the max_capacity field are always present, so index files written before this metadata existed will fail at load; guards or a fallback (e.g. base_codes_->TotalCount()) should be added so older indexes remain readable.", "catego...
null
antgroup__vsag__1391
antgroup/vsag
1,391
defect
85354ffe70a387fd631f42d9602febb88c39045e
5d6e5947efbb5159d8040c30519f2cb595321cf8
feat(sq4): implement for sq4's simd
## Summary by Sourcery Optimize SQ4 quantization distance and inner-product computations with SIMD implementations across SSE, AVX, AVX2, and AVX512 backends and extend corresponding tests and benchmarks. Enhancements: - Add dedicated SSE, AVX, AVX2, and AVX512 SIMD implementations for SQ4 inner-product and L2-square...
diff --git a/src/simd/avx.cpp b/src/simd/avx.cpp index b313fe1f7e..720b484e21 100644 --- a/src/simd/avx.cpp +++ b/src/simd/avx.cpp @@ -734,7 +734,89 @@ SQ4ComputeIP(const float* RESTRICT query, const float* RESTRICT lower_bound, const float* RESTRICT diff, uint64_t dim) { +#if ...
3
2
1
[{"id": "G0", "claim": "The new AVX2, AVX and SSE SQ4 loops read past the packed 4-bit code buffer for small dimensions (e.g. for dim 16 the two 8-byte _mm_loadl_epi64 loads per 16-value iteration exceed the ceil(dim/2)-byte buffer, and likewise the SSE 8-value loop at dim 8), which is undefined behavior unless callers...
null
antgroup__vsag__1419
antgroup/vsag
1,419
defect
aed6ee06ae327059d72a1c112d3af4958b2c0985
a28819e6957491253cfbe098fed1fb42e906611b
fix(Add): fix semantic issues when "recovery tombstone" fails
close #1418 ## Summary by Sourcery Adjust HNSW index add/update/remove behavior and expand tests to validate tombstone recovery, label updates, and recall consistency across update and remove workflows. Bug Fixes: - Fix HGraph tombstone recovery to properly roll back failed recoveries and throw on inconsiste...
diff --git a/src/algorithm/hgraph.cpp b/src/algorithm/hgraph.cpp index 7141ef5498..d11697f879 100644 --- a/src/algorithm/hgraph.cpp +++ b/src/algorithm/hgraph.cpp @@ -1743,16 +1743,18 @@ HGraph::try_recover_tombstone(const DatasetPtr& data, std::vector<int64_t>& fail * * * [case 1] fail to insert -> c...
5
2
0
[{"id": "G0", "claim": "LabelTable::UpdateLabel now rewrites every occurrence of old_label in label_table_, but label_remap_ still maps each label to a single internal_id, so when multiple IDs share a label (if duplicates are valid) only one stays reachable through the reverse map and lookup semantics can become incons...
null
antgroup__vsag__1421
antgroup/vsag
1,421
defect
89d83dcb308d8df8a3a61f0bb8853e51823c8d07
4ba9442aac72eebcecfa416c2095e64b9302c822
enhance(sindi): improve sindi performance with filter
## Summary by Sourcery Optimize sparse term search performance in SINDI by tightening window iteration with filter-aware bounds and introducing a no-prune heap insertion path that leverages full distance buffers. New Features: - Add a filter API to expose all valid IDs and propagate it through inner ID wrapper filter...
diff --git a/include/vsag/filter.h b/include/vsag/filter.h index a8b5ee1d9b..f590ff6f39 100644 --- a/include/vsag/filter.h +++ b/include/vsag/filter.h @@ -73,6 +73,16 @@ class Filter { FilterDistribution() const { return Distribution::NONE; // (default) no distribution information hints provides } +...
9
2
1
[{"id": "G0", "claim": "min_window_id/max_window_id derived from GetIdByLabel results are not clamped to [0, window_term_list_.size() - 1], which can lead to out-of-bounds access on window_term_list_ if GetIdByLabel returns an ID outside the current window range; consider bounding these values before the window loop.",...
null
antgroup__vsag__1434
antgroup/vsag
1,434
defect
987bac12211152e538ac950828e2ad8c5c35a6a5
255a96b8f8c36a0508df0fb12461fb0d742c6f23
feat: add allocator parameter to GetRawVectorByIds
introduce an `allocator` parameter to the `GetRawVectorByIds` method, allowing callers to specify a custom memory allocator when retrieving raw vectors from the index. closed: #1433
diff --git a/include/vsag/index.h b/include/vsag/index.h index ed5763a397..d8dd4ea9c3 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -492,6 +492,7 @@ class Index { * * @param ids Array of vector IDs for which raw data is requested. * @param count Number of IDs in the 'ids' array. + ...
5
2
0
[{"id": "G0", "claim": "For consistency with the public API in vsag::Index and the implementation in vsag::IndexImpl, the parameter `specified_allocator` of InnerIndexInterface::GetVectorByIds (in the header and the .cpp implementation) should be renamed to `alloc`.", "category": "maintainability", "verdict": "uncertai...
null
antgroup__vsag__1515
antgroup/vsag
1,515
defect
c98e5d4dffd5c5e16d776264ac9ffcd44f065e0f
52bd88e6cac173561ae5b6065faa3313da5501da
feat(quantizer): support extend rabitq
close #1514 **some perf test on internet-dataset-10m-768 :** **limit reorder factor:** <img width="1820" height="496" alt="1" src="https://github.com/user-attachments/assets/7f90067d-e3cc-4111-ac5b-4d37c1dfa442" /> <img width="1827" height="825" alt="2" src="https://github.com/user-attachments/assets/7b3695...
diff --git a/include/vsag/constants.h b/include/vsag/constants.h index e5179e1f0e..aa85120df9 100644 --- a/include/vsag/constants.h +++ b/include/vsag/constants.h @@ -148,6 +148,7 @@ extern const char* const SERIALIZE_VERSION; extern const char* const SQ4_UNIFORM_TRUNC_RATE; extern const char* const RABITQ_PCA_DIM; ...
4
2
1
[{"id": "G0", "claim": "The temporary debugging `if` statement in TestComputer (same condition as the following REQUIRE, with an empty `std::cout` body) should be removed before merging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The manual ...
null
antgroup__vsag__1544
antgroup/vsag
1,544
defect
5e95c0d4bea3b4ee8b26206bda4622adb27b4dda
d65b7e88e881346e20d9714e68d5fb7e43daf901
enhance(sindi): implement backward compatibility for sindi
close #1543
diff --git a/src/datacell/sparse_term_datacell.cpp b/src/datacell/sparse_term_datacell.cpp index aca7b2e01a..89c33642df 100644 --- a/src/datacell/sparse_term_datacell.cpp +++ b/src/datacell/sparse_term_datacell.cpp @@ -15,8 +15,8 @@ #include "sparse_term_datacell.h" +#include "utils/util_functions.h" #include "vs...
2
1
1
[{"id": "G0", "claim": "Moving term_sizes_ to the end of the serialized data breaks the on-disk format, so newer code cannot load indexes serialized by older versions, and format versioning should be introduced to decide which layout to read.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope...
null
antgroup__vsag__1551
antgroup/vsag
1,551
defect
90201b93af8dc1c5ea41db99bf14cfc3ea33a2cd
d4edcb1e7df55f1c859dd820e72559ade064261d
feat(remove): refactor Remove with mark remove mode
closed: #1541 - add and refactor new interfaces - implement if mark remove for HGraph, IVF
diff --git a/include/vsag/index.h b/include/vsag/index.h index 22425cdbb9..12cb4ee799 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -56,6 +56,23 @@ using OffsetType = uint64_t; using SizeType = uint64_t; using WriteFuncType = std::function<void(OffsetType, SizeType, const void*)>; +enum class AddM...
6
3
1
[{"id": "G0", "claim": "BruteForce::Remove incorrectly returns 1 regardless of the number of IDs successfully removed; it should return the count of successful removals.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SimpleFlat::Remove is inefficien...
null
antgroup__vsag__1553
antgroup/vsag
1,553
defect
2f816f9a9667c3ed0e8e7cf111dbef5faef38c42
a8f2c75c133dbc31d27e05e8d217ed316f5deb05
feat(diskann): support calculate distance by id in diskann
close #1552
diff --git a/extern/diskann/DiskANN/include/pq_flash_index.h b/extern/diskann/DiskANN/include/pq_flash_index.h index 7bf2063deb..4715657845 100644 --- a/extern/diskann/DiskANN/include/pq_flash_index.h +++ b/extern/diskann/DiskANN/include/pq_flash_index.h @@ -24,7 +24,7 @@ namespace diskann template <typename T, typena...
11
8
2
[{"id": "G0", "claim": "pq_coord_scratch is sized by max_degree but used to hold coordinates for count points in aggregate_coords, so count greater than max_degree overflows the buffer; it should be sized by count.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", ...
null
antgroup__vsag__1700
antgroup/vsag
1,700
defect
f46ddf45583cfeec2c55b8b5728240e2479694ca
340ac2c40cd843a0dc16795de01a173f43fac220
test: add unit coverage for utils module
## Summary - Add unit tests for previously uncovered `src/utils` components: window result queue, util helpers, lock strategy, linear congruential generator, sparse vector transform, timer, and slow task timer. - Add empty-window handling in `WindowResultQueue::GetAvgResult()` to avoid division by zero and verify with ...
diff --git a/src/utils/linear_congruential_generator_test.cpp b/src/utils/linear_congruential_generator_test.cpp new file mode 100644 index 0000000000..760e2a9c82 --- /dev/null +++ b/src/utils/linear_congruential_generator_test.cpp @@ -0,0 +1,44 @@ + +// Copyright 2024-present the vsag project +// +// Licensed under th...
6
6
2
[{"id": "G0", "claim": "The assertion `REQUIRE(timer.threshold == 0)` in the 'slow path with tiny threshold' section only re-checks the value set during construction two lines above and tests nothing about the timer's operation, so it is redundant and should be removed.", "category": "testing", "verdict": "supported", ...
null
antgroup__vsag__1706
antgroup/vsag
1,706
defect
f46ddf45583cfeec2c55b8b5728240e2479694ca
8b5c75e89df646619508e833dc6163669e944558
feat(hgraph): implement ShrinkAndRepair for deleted node reclamation
- Add HGraphShrinkContext to handle graph shrinking with timeout support - Implement state machine for shrink process: prepare, collect edges, process edges, cleanup - Add HGraphShrinkCheckPoint, HGraphShrinkEdges, and HGraphShrinkState classes - Modify graph_add_one to filter out self-referencing neighbors and adjust ...
diff --git a/src/algorithm/hgraph.cpp b/src/algorithm/hgraph.cpp index 65619c9796..ccd83e0741 100644 --- a/src/algorithm/hgraph.cpp +++ b/src/algorithm/hgraph.cpp @@ -29,6 +29,7 @@ #include "datacell/flatten_interface.h" #include "datacell/sparse_graph_datacell.h" #include "dataset_impl.h" +#include "hgraph_shrink_c...
14
4
0
[{"id": "G0", "claim": "process_forward_edges only re-prunes the existing neighbors of each forward neighbor instead of also introducing new candidate neighbors (e.g. the deleted node's other forward neighbors) as process_reverse_edges does, which could leave the graph in a suboptimal state after repair.", "category": ...
null
antgroup__vsag__1715
antgroup/vsag
1,715
defect
30dcaf0345c2fc913dccee29c53b535d76e4e98d
7ac3c20046be6b12a6a8d3612f7ac9ca0a3c4367
fix(json_wrapper): fix undefined behavior in copy constructor
## Summary Fix undefined behavior in `JsonWrapper` copy constructor that could cause random crashes or memory corruption. ## Changes - Use member initializer list in copy constructor to properly initialize members - Remove incorrect cleanup code (`if (owns_json_) { delete json_; }`) from copy constructor - Add unit ...
diff --git a/src/json_wrapper.cpp b/src/json_wrapper.cpp index 927e925d00..f587b398c2 100644 --- a/src/json_wrapper.cpp +++ b/src/json_wrapper.cpp @@ -30,12 +30,7 @@ JsonWrapper::~JsonWrapper() { } } -JsonWrapper::JsonWrapper(const JsonWrapper& other) { - if (owns_json_) { - delete json_; - } - ...
2
2
1
[{"id": "G0", "claim": "The copy constructor should initialize json_ directly from other.json_ with the nlohmann copy constructor in the member initializer list instead of default-constructing and then assigning.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
antgroup__vsag__1731
antgroup/vsag
1,731
defect
cafb34b01b3b4959d42716245078ca8238b05690
f46097bb9f301c4320be93938c805d1cef913253
feat(dataset): add FP16/BF16 input vector support
## Summary Add support for FP16 and BF16 input vector formats in VSAG library, enabling direct indexing of half-precision vectors without application-level conversion. This reduces memory usage by 50% compared to FP32. ## Changes - Add Float16Vectors support in Dataset API - Implement FP16/BF16 data types and constan...
diff --git a/TASK.md b/TASK.md new file mode 120000 index 0000000000..aef8d0a4ec --- /dev/null +++ b/TASK.md @@ -0,0 +1 @@ +/home/tianlan.lht/code/workspace/agent-hive/tasks/2026-03-20-支持-fp16-bf16-输入向量格式.md \ No newline at end of file diff --git a/include/vsag/constants.h b/include/vsag/constants.h index 06675e4650..6...
10
4
2
[{"id": "G0", "claim": "QuantizerAdapter::DecodeOneImpl/DecodeBatchImpl convert decoded floats back to uint16_t with static_cast(round(...)), which yields integer magnitudes rather than FP16/BF16 bit patterns and corrupts decoded data; the conversion should use FloatToFP16()/FloatToBF16() selected by data_type_.", "cat...
null
antgroup__vsag__1747
antgroup/vsag
1,747
defect
cbc9b8a4a9d86a83b0026cc67db523214e8be211
f57776a610febba462ee798bba61c9accc10ca33
feat(hgraph): add reverse edge support for HGraph index
## Summary Add reverse edge tracking capability to the HGraph index, enabling O(1) lookup of incoming neighbors for each node. ## Changes - Add `ReverseEdge` class for tracking incoming neighbors with thread-safe operations - Add `use_reverse_edges` parameter to `HGraphParameter` (default: false) - Integrate reverse e...
diff --git a/src/algorithm/hgraph.cpp b/src/algorithm/hgraph.cpp index 8d8fabfb1f..fa9637786e 100644 --- a/src/algorithm/hgraph.cpp +++ b/src/algorithm/hgraph.cpp @@ -67,7 +67,8 @@ HGraph::HGraph(const HGraphParameterPtr& hgraph_param, const vsag::IndexCommonPa odescent_param_(hgraph_param->odescent_param), ...
14
9
5
[{"id": "G0", "claim": "Storing incoming neighbors in a Vector makes AddReverseEdge/RemoveReverseEdge O(N) linear scans, which can bottleneck nodes with high in-degree; consider vsag::UnorderedSet instead.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
antgroup__vsag__1790
antgroup/vsag
1,790
defect
982c677f2249c3e3bb68a5ce8a68e5b2d07e38e0
4385f3aa37bd95d367f178df96816b2f099c994a
fix(hgraph): enable continuous shrink processing in HGraphShrinkContext
## Change Type - [x] Bug fix - [ ] New feature - [ ] Improvement/Refactor - [ ] Documentation - [ ] CI/Build/Infra ## Linked Issue - Issue: <!-- related issue if any --> ## What Changed - Refactor `HGraphShrinkContext::Run()` to use while loop for continuous processing of multiple deleted nodes - Reset state to ID...
diff --git a/src/algorithm/hgraph_shrink_context.cpp b/src/algorithm/hgraph_shrink_context.cpp index 5f87c2de1f..2a2501849e 100644 --- a/src/algorithm/hgraph_shrink_context.cpp +++ b/src/algorithm/hgraph_shrink_context.cpp @@ -21,7 +21,6 @@ #include "utils/lock_strategy.h" namespace vsag { - HGraphShrinkContext::H...
1
1
1
[{"id": "G0", "claim": "The newly introduced `while (true)` loop in `HGraphShrinkContext::Run` never terminates when a skipped non-level-0 deleted node is never removed from the deleted IDs list, because `prepare()` keeps fetching the same nodes — skipped nodes should still be removed so the loop can progress.", "categ...
null
antgroup__vsag__1797
antgroup/vsag
1,797
defect
6ee2fd50d48da890aa5cee0a9adcba473ed750cf
5a8b04e23f62023a12cbd08d15c13798ade7f62b
refactor(hgraph): move duplicate tracking to graph layer
## Summary - move HGraph duplicate tracking from `LabelTable` into graph-level duplicate trackers and wire `support_duplicate` through HGraph and Pyramid graph params - restore legacy HGraph duplicate index compatibility during deserialize/search, including legacy metadata mapping and duplicate payload recovery for fla...
diff --git a/examples/cpp/107_index_pyramid.cpp b/examples/cpp/107_index_pyramid.cpp index 4f3f74f188..30d706e9ef 100644 --- a/examples/cpp/107_index_pyramid.cpp +++ b/examples/cpp/107_index_pyramid.cpp @@ -1,4 +1,3 @@ - // Copyright 2024-present the vsag project // // Licensed under the Apache License, Version 2.0 ...
8
7
1
[{"id": "G0", "claim": "For better reproducibility the rewritten example should use the C++ <random> library with a fixed seed (std::mt19937) instead of rand().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unused `add_count` variable in Py...
null
antgroup__vsag__1822
antgroup/vsag
1,822
defect
9d88ea86f71b796343d7dee9ff6a4ccec1194459
85e54e7e4dfbd15ba1ee72f8d264812e5ef85ba6
Fix: duplicate vectors not fully returned when support_duplicate=true
- [x] Squash all 4 commits into one commit with `Signed-off-by` to fix DCO - [x] Force-push squashed commit to branch
diff --git a/src/algorithm/hgraph.cpp b/src/algorithm/hgraph.cpp index ffe91198da..61fa9927a6 100644 --- a/src/algorithm/hgraph.cpp +++ b/src/algorithm/hgraph.cpp @@ -897,6 +897,7 @@ HGraph::KnnSearch(const DatasetPtr& query, search_param.ef = std::max(params.ef_search, k); search_param.is_inner_id_al...
3
1
1
[{"id": "G0", "claim": "In the duplicate-insertion paths of ParallelSearcher and BasicSearcher, pushing multiple duplicate_ids can leave top_candidates->Size() above ef by more than one because only a single Pop() is done; the trim should loop until Size() <= ef (applying AddDiscardNode to each popped element and keepi...
null
antgroup__vsag__1844
antgroup/vsag
1,844
defect
8681b130739813772cda00bfc6d46d45afe92456
8c2f4a7c2013670aa2609815990f6c0a987f6340
fix: propagate iterator filter init failures in hnsw
## Summary - handle `IteratorFilterContext::init()` failures in `HNSW::knn_search()` instead of continuing with a null context - use RAII for the temporary iterator context during initialization and preserve the original allocation error - add a targeted regression test that forces iterator filter initialization to ...
diff --git a/src/index/hnsw.cpp b/src/index/hnsw.cpp index c5b75db3c0..1944be3a3e 100644 --- a/src/index/hnsw.cpp +++ b/src/index/hnsw.cpp @@ -268,9 +268,15 @@ HNSW::knn_search(const DatasetPtr& query, std::shared_lock lock_global(rw_mutex_); if (iter_ctx != nullptr && *iter_ctx == nullptr) { - ...
4
4
2
[{"id": "G0", "claim": "The new error path in HNSW::knn_search logs with logger::error although IteratorFilterContext::init() already logs on failure via LOG_ERROR_AND_RETURNS, duplicating error entries; remove this logger::error (or downgrade it) and just propagate err.", "category": "maintainability", "verdict": "sup...
null
antgroup__vsag__1845
antgroup/vsag
1,845
defect
d5a44970cc5bd702b91b17a01c78e51348f00c78
8d883811d3c7c6815f4017263d9ebfcd9030a73c
fix: propagate iterator filter init failures in hnsw
## Summary - handle `IteratorFilterContext::init()` failures in `HNSW::knn_search()` instead of continuing with a null context - use RAII for the temporary iterator context during initialization and preserve the original allocation error - add a targeted regression test that forces iterator filter initialization to ...
diff --git a/src/index/hnsw.cpp b/src/index/hnsw.cpp index 354ab3bc32..573c0be08f 100644 --- a/src/index/hnsw.cpp +++ b/src/index/hnsw.cpp @@ -294,9 +294,15 @@ HNSW::knn_search(const DatasetPtr& query, std::shared_lock lock_global(rw_mutex_); if (iter_ctx != nullptr && *iter_ctx == nullptr) { - ...
4
3
1
[{"id": "G0", "claim": "The error-handling block logs the failure a second time even though IteratorFilterContext::init() already logs it via LOG_ERROR_AND_RETURNS, so it should drop the redundant logger::error call and return tl::unexpected(ret.error()) directly.", "category": "maintainability", "verdict": "supported"...
null
antgroup__vsag__25
antgroup/vsag
25
defect
641d10b6900553ab7ac2c84e36b071345e2dade7
d71717611205425b6cacc8ebf04215268226c0c1
add some basic structure for quantizer, io and simd operators
- only header for quantizer and io - fp32 quantizer as example
diff --git a/CMakeLists.txt b/CMakeLists.txt index ecdd6a0714..7a4585d0c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,6 +189,7 @@ endif () include_directories (${CMAKE_CURRENT_BINARY_DIR}/spdlog/install/include) include_directories (include) +include_directories (src) set (CMAKE_CXX_STANDARD 17) d...
13
9
0
[{"id": "G0", "claim": "Rename the private method CheckValidOffset to check_valid_offset to follow the project's underscore naming style for private methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the TEST_RECALL macro to TEST_ACC...
null
antgroup__vsag__337
antgroup/vsag
337
defect
a84d5c950b1121bf3bc5717718d1ba24b591f2ce
b1e1e72e6ef96aa9280dc78d7fdd8cf4e113149d
Add a batch interface for getDistanceByLabel
Add a batch interface for getDistanceByLabel * param count is the count of vids * param vids is the unique identifier of the vector to be calculated in the index. * param vector is the embedding of query * param distances is the distances between the query and the vector of the given ID * return result is valid di...
diff --git a/include/vsag/index.h b/include/vsag/index.h index 9681242039..ebab6df5d7 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -249,6 +249,22 @@ class Index { throw std::runtime_error("Index doesn't support get distance by id"); }; + /** + * @brief Calculate the distance be...
4
4
2
[{"id": "G0", "claim": "The new batch interfaces should keep the parameter style of CalcDistanceById, i.e. CalcBatchDistanceById(const float* vector, const int64_t* ids, int64_t len), instead of leading with count.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
antgroup__vsag__486
antgroup/vsag
486
defect
cc047ce12e44c337e9991fbbdb3f1985481ba5c4
0a12a07401ea71ef338e6c22564f2a69c163a9d5
hgraph support extra info
1. Add new datacell type`ExtraInfoDataCell` 2. HGraph supports a new parameter `extra_info_size` 3. Modify HGraph related interface, including `KnnSearch`, `Add` etc. related to issue #277
diff --git a/include/vsag/constants.h b/include/vsag/constants.h index b78c1507e7..44bfa9f160 100644 --- a/include/vsag/constants.h +++ b/include/vsag/constants.h @@ -45,6 +45,7 @@ extern const char* const METRIC_IP; extern const char* const DATATYPE_FLOAT32; extern const char* const DATATYPE_INT8; extern const char...
6
6
2
[{"id": "G0", "claim": "The extra info held by DatasetImpl needs to be released in the destructor when `owner_` has been set to True.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In KnnSearch and, ditto, in RangeSearch the extra infos should be fe...
null
antgroup__vsag__507
antgroup/vsag
507
defect
4bde4b44df4cead3bc7338ba832153c5d631df2a
354eb733b6e5d5d234854c009e64a3728a684eb9
support simd of rabitq-fp32
- add simd support for rabitq-fp32 for avx512, avx2 (not support avx and below for now since there are environmental issues occur in machine that not support avx) - expected QPS is same with FP32-avx512 - #320 old version: <img width="1509" alt="image" src="https://github.com/user-attachments/assets/a8f47893-427f...
diff --git a/src/quantization/rabitq_quantization/rabitq_quantizer.h b/src/quantization/rabitq_quantization/rabitq_quantizer.h index d169d65c96..f095b69245 100644 --- a/src/quantization/rabitq_quantization/rabitq_quantizer.h +++ b/src/quantization/rabitq_quantization/rabitq_quantizer.h @@ -238,7 +238,8 @@ RaBitQuantize...
4
4
1
[{"id": "G0", "claim": "Pre-store 1.0f / sqrt(this->dim_) (e.g. as a member) instead of recomputing it at each RaBitQFloatBinaryIP call site in EncodeOneImpl and ComputeQueryBaseImpl.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new avx::RaBit...
null
antgroup__vsag__526
antgroup/vsag
526
defect
4fdec8308767cc22cecd5546d563bf2b03842d43
df0c78b4e3866905d92103f492f411f52ad9d6bf
Hnsw iter filter search
A discard heap is introduced. The function of the discard heap is to save the nodes discarded in the previous round of queries and sort them by distance. If the results in the first round of queries are insufficient, another round of queries will be performed. In the next round, the nodes in the discard heap are used a...
diff --git a/include/vsag/index.h b/include/vsag/index.h index 6515ca9bf8..1d934754d4 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -30,6 +30,7 @@ #include "vsag/expected.hpp" #include "vsag/filter.h" #include "vsag/index_features.h" +#include "vsag/iterator_context.h" #include "vsag/readerset.h" ...
3
2
1
[{"id": "G0", "claim": "TestKnnSearchIter gates on SUPPORT_RANGE_SEARCH although the pull request adds iterator filter search — why is range search the feature checked here?", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In TestKnnSearchIter the fil...
null
antgroup__vsag__543
antgroup/vsag
543
defect
bcb5d1987e5fc2ea1e2d4434aff58409a41bcae0
30c1e991ac1bac7e42477cdc6d9cc6a175ce661c
Support Hgraph Iterator Filter Search
related to: #544 Iterator Filter Search is used in queries with a vector data filtering rate of 1%-50%, to achieve higher performance by compressing the number of queries. When the filtering rate is 1%-50%, iterative filtering is basically stable between 1-2 rounds of queries. The principle: A discard heap is i...
diff --git a/include/vsag/index.h b/include/vsag/index.h index 9b98bf3530..cd1b2cc65e 100644 --- a/include/vsag/index.h +++ b/include/vsag/index.h @@ -30,6 +30,7 @@ #include "vsag/expected.hpp" #include "vsag/filter.h" #include "vsag/index_features.h" +#include "vsag/iterator_context.h" #include "vsag/readerset.h" ...
1
1
0
[{"id": "G0", "claim": "The new KnnSearch overload's parameter should be spelled `IteratorContext*& iter_ctx` instead of `vsag::IteratorContext*& iter_ctx`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
antgroup__vsag__604
antgroup/vsag
604
defect
1edaaf1e6741f58e73804500eb380d40ac18fba4
7438712176ce17ed0cfeae4c326d7b7bdc1be6e1
support sparse vector in HGraph
close: #659 ![image](https://github.com/user-attachments/assets/d60fb522-e876-45da-8206-e725c59b3645)
diff --git a/include/vsag/constants.h b/include/vsag/constants.h index 928d2a486d..b0009e0ba4 100644 --- a/include/vsag/constants.h +++ b/include/vsag/constants.h @@ -49,6 +49,7 @@ extern const char* const METRIC_COSINE; extern const char* const METRIC_IP; extern const char* const DATATYPE_FLOAT32; extern const char...
4
3
1
[{"id": "G0", "claim": "HGraph::get_data handles only FLOAT and SPARSE and throws for other data types, so an int8 dataset is currently not supported.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DATATYPE_SPARSE argument was appended to the inva...
null
antgroup__vsag__77
antgroup/vsag
77
defect
440c6dbb9c66abaab29c7281c712c203f6ece1de
566447f4adf35f185a148a51e4d7755cb5d8c77b
update simd operators for special dims
update sq8 simd operators for special dims (not power of 2)
diff --git a/src/simd/avx.cpp b/src/simd/avx.cpp index 2d54c1fdc5..4b0915af37 100644 --- a/src/simd/avx.cpp +++ b/src/simd/avx.cpp @@ -161,6 +161,30 @@ PQDistanceAVXFloat256(const void* single_dim_centers, float single_dim_val, void } namespace avx2 { + +#if defined(ENABLE_AVX2) + +__inline __m128i __attribute__((_...
1
1
0
[{"id": "G0", "claim": "All self-defined dims lists in the test files should be modified to use fixtures::get_common_used_dims().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
antgroup__vsag__816
antgroup/vsag
816
defect
fe4bb5e5d318a4e64b06a11b6364a89091f6b20d
c43ae675ddf81a6d9abf153bd573b03cbc332cff
rabitq sq4 quer performance optimization
close: #838 Here are two optimizations 1. implement a lightweight sq4 for rabitq 2. use avx512 popcount for rabitq-sq4 distance calculation after the lightweight sq4 optimization, the performance data is as follows: | ef_search | sq4-old | sq4-opt | fp32 | recall | | ----------- | ----------- |...
diff --git a/CMakeLists.txt b/CMakeLists.txt index b4686b0ed2..abc69cd080 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ option (DISABLE_SSE_FORCE "Force disable sse and higher instructions" OFF) option (DISABLE_AVX_FORCE "Force disable avx and higher instructions" OFF) option (DISABLE_AVX2_FORCE ...
4
4
0
[{"id": "G0", "claim": "The inline SQ quantization/reordering block should be encapsulated into a function with unit tests covering it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out line '//return avx512::RaBitQSQ4UBinaryIP;' ...
null