interplane.Get Omega
Read in your language

cortex

aien-dev/cortex

Brought by drakestapleton

branch main Branches Tags History

cortex / evidence / fts / commands.txt

20 lines · 1592 bytes Raw Blame History
1FtsEngine evidence (2026-10-26, Linux aarch64 host only; no GPU; not hardware qualification)
2
3Command (from the repo root):
4 sh tests/fts/run.sh # DB defaults to the read-only copy /tmp/cxo/data/cortex-copy.db
5Env: OMC=/tmp/cxo/omega/seed/out/omc (sha256 befb8199...8a1d), SQLITE_SRC=$HOME/.cargo/registry/src/
6 index.crates.io-1949cf8c6b5b557f/libsqlite3-sys-0.28.0/sqlite3, WORK=/tmp/cxo/fts-work/run
7Log: evidence/fts/run.log (tool hashes, plan, every PASS/FAIL line, timings, corpus stats). RESULT PASS.
8
9Oracle: tests/fts/oracle.c linked with sqlite3.c 3.45.0 (sha256 7956a38f...6775) compiled by
10gcc 13.3.0 -O3 with the -D flags of libsqlite3-sys 0.28.0 build.rs; it runs the exact cortex-rs
11search SQL text (EXPLAIN QUERY PLAN: SCAN f VIRTUAL TABLE INDEX 0:M4 / SEARCH e / TEMP B-TREE
12FOR ORDER BY), the LIKE query, the unicode61 xTokenize, glibc 2.39 log() and C fma().
13Disassembly: cortex-rs-bm25.dis (the live binary's fts5Bm25Function), oracle-bm25.dis (same
14instruction sequence from the oracle build), glibc-log.dis (log@@GLIBC_2.29 replicated by flog.om).
15
16Generators of committed tables (tool versions: Python 3, glibc 2.39 libm sha256 5e039156...1b4a):
17 python3 tests/fts/gen_uni_tables.py .../libsqlite3-sys-0.28.0/sqlite3/sqlite3.c -> tables in om/uni_fts.om
18 python3 tests/fts/gen_parse_tables.py .../libsqlite3-sys-0.28.0/sqlite3/sqlite3.c -> tables in om/fts.om
19 python3 tests/fts/gen_flog_table.py /usr/lib/aarch64-linux-gnu/libm.so.6 -> table in om/flog.om
20Test inputs: gen_queries.py, gen_like.py, gen_tokf.py (seeded, deterministic).