Commit graph

12 commits

Author SHA1 Message Date
4948fe50e3 Add semantic package search via pgvector embeddings
Package text search now combines several strategies: exact name match,
name prefix promotion, compound word splitting ("sqlite browser" finds
"sqlitebrowser") and semantic nearest neighbor search over description
embeddings computed by an external embedding service (all-MiniLM-L6-v2,
384 dims) stored with the pgvector extension. Classic PostgreSQL
full-text search remains as fallback when the vector service is
unreachable. Gibberish queries without lexical overlap with the package
data return empty results instead of random matches.

Embeddings can be backfilled with bin/rails debshots:compute_vectors.

Also drops the unused lograge gem from the Gemfile.
2026-08-22 22:07:56 +02:00
f872bd011b disabled minitest/reporters so that RubyMine is happy 2026-02-26 00:23:25 +01:00
55ea782b86 tests rubocopified 2024-07-15 00:05:56 +02:00
2700289ff8 Capybara test initializer removed
Apparently "system tests" are a better way to handle them.
2020-10-30 16:38:38 +01:00
Christoph Haas
9428d8d7dd Screenshot upload process fixed and tested 2018-08-17 09:21:32 +02:00
Christoph Haas
5498e9b9a4 Basic tests added 2018-08-14 14:19:07 +02:00
Christoph Haas
64bf286636 Tests run okay
…they are massively incomplete though
2018-08-13 15:02:28 +02:00
1ca187e0ed minitest now generally works with Devise 2016-07-22 16:03:50 +02:00
45d1749f8c Colored test outputs enabled 2016-03-01 12:58:08 +01:00
785191e2c2 Minimal changes - nothing functional 2015-04-23 22:34:58 +02:00
383f69c0b7 test_helper got updated automatically 2015-04-23 17:21:35 +02:00
3af24f56dc Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00