Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / Search

Ask PHAROS about its own code.

PHAROS indexed its own repository with its own indexer. This page searches that index with PHAROS’s retrieval, ported to run in your browser. Keyword search starts at once; load the embedding model to add dense and hybrid.

RECORDED The index: PHAROS’s indexer at 975a38d with granite-embedding-small-english-r2-int8, run for this site on 10 November 2026: 7,272 chunks from 807 of 1,576 tracked files.

RUNS HERE The search: PHAROS’s retrieval, ported to JavaScript, in this page. The embedding model, once loaded, runs here too. No PHAROS service is involved.

PHAROS at 975a38dMIT license

Search

Mode
Try

Embedder: not loaded. Without it PHAROS does what a server with no embedding backend does: auto falls back to keyword with a warning, and an explicit dense or hybrid is refused.

Loading the index…

    How close is this to PHAROS?

    PHAROS’s own retriever was run on the same index for the 12 questions above. The browser’s results are compared with its results, top ten against top ten. This measures agreement with PHAROS, not whether PHAROS found the right code.

    What is comparedAgreement
    Keyword, same order and scores12 of 12 questions
    Dense, PHAROS’s question vector, this site’s half-float index119 of 120 results
    Hybrid, the same120 of 120 results
    Dense, with the question embedded in the browser112 of 120 results; the same first result for 11 of 12
    Token ids, browser tokenizer against PHAROS’sidentical on 7,304 texts

    Why the last row is not exact: the model is int8, and its integer matrix products are computed by different code in your browser’s WebAssembly and in native ONNX Runtime, so a question’s vector differs slightly. The index stores half floats, half the size of PHAROS’s float32.