redis/modules/vector-sets/tests
Salvatore Sanfilippo 674b829981
VSIM EPSILON fixes (#14223)
Hi, this PR implements the following changes:

1. The EPSILON option of VSIM is now documented.
2. The EPSILON behavior was fixed: the score was incorrectly divided by
two in the meaning, with a 0-2 interval provided by the underlying
cosine similarity, instead of the 0-1 interval. So an EPSILON of 0.2
only returned elements with a distance between 1 and 0.9 instead of 1
and 0.8. This is a *breaking change* but the command was not documented
so far, and it is a fix, as the user sees the similarity score so was a
total mismatch. I believe this fix should definitely be back ported as
soon as possible.
3. There are now tests.

Thanks for checking,
Salvatore
2025-08-12 11:45:35 +08:00
..
basic_commands.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
basic_similarity.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
concurrent_vadd_cas_del_vsim.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
concurrent_vsim_and_del.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
debug_digest.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
deletion.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
dimension_validation.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
epsilon.py VSIM EPSILON fixes (#14223) 2025-08-12 11:45:35 +08:00
evict_empty.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
filter_expr.py [Vector Sets] IN operator for string/string operands (#14122) 2025-06-26 10:13:54 +08:00
filter_int.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
large_scale.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
memory_usage.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
node_update.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
persistence.py Fix vrand ping pong (#14183) 2025-07-18 18:19:14 +08:00
reduce.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
replication.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
threading_config.py Add config base to vector-sets and hnsw thread config (#14082) 2025-06-16 10:06:43 +08:00
vadd_cas.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
vemb.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
vismember.py Vector Sets: VISMEMBER and other fixes (#13941) 2025-04-15 22:58:57 +03:00
vrand-ping-pong.py Fix vrand ping pong (#14183) 2025-07-18 18:19:14 +08:00
vrandmember.py Add 'modules/vector-sets/' from commit 'c6db0a7c20ff5638f3a0c9ce9c106303daeb2f67' 2025-04-02 16:34:28 +03:00
with.py Implement WITHATTRIBS for VSIM. (#14065) 2025-05-27 22:12:48 +08:00