You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ A collection of lightweight browser apps served from a single landing page. Each
10
10
-**Cosine Similarity Lab** – Explore the 0.50+ cosine matches across jokes, quotes, and cross-deck blends, tweak the minimum score, and compare entries side by side with vector stats.
11
11
-**Value Formatter** – Turn newline-separated entries into formatted key-value pairs for quick copy/paste in code reviews or data preparation.
12
12
-**Asset Observatory** – Summarise dataset payloads, embedding stores, and similarity sweeps across the toolbox with nerdy charts and a full ledger view.
13
-
-**Embedding Explorer** – Paste vectors or browse curated samples to visualise metrics, heatmaps, and notable dimensions of embedding payloads.
13
+
-**Embedding Explorer** – Browse stored embedding datasets to visualise metrics, heatmaps, and notable dimensions of each vector.
14
14
15
15
## Usage
16
16
@@ -51,7 +51,7 @@ The tests spin up a temporary `python -m http.server` instance and exercise ever
51
51
-`tests/similarity-report.spec.js` exercises dataset toggles, thresholds, and similarity overlays.
52
52
-`tests/asset-observatory.spec.js` keeps the asset dashboard honest so charts, summaries, and the ledger stay in sync.
53
53
-`tests/home-navigation.spec.js` ensures every app exposes the Home shortcut.
54
-
-`tests/embedding-explorer.spec.js` checks that the Embedding Explorer loads samples, recomputes statistics, and surfaces the strongest dimensions.
54
+
-`tests/embedding-explorer.spec.js` checks that the Embedding Explorer loads stored embeddings, recomputes statistics, and surfaces the strongest dimensions.
55
55
-`tests/offline-manifest.spec.js` guards the offline cache manifest so every shipped HTML, JSON, and JavaScript asset remains downloadable.
56
56
57
57
Use `npm run test:ui` if you want to watch the checks in the Playwright inspector while iterating locally. To focus on a single spec, pass its filename to Playwright, for example:
-`index.html` – Dashboard layout with dataset selector, record filter, neighbor list, and dual canvas plots.
61
-
-`app.js` – Parses sample embeddings, decodes base64 vectors, computes statistics, renders histograms, and highlights the strongest positive/negative dimensions.
62
-
-`sample-embeddings.js` – Bundled dataset and metadata sources exposed as`window.embeddingExplorerSamples` and`window.embeddingSources`.
63
-
-**Data maintenance.** Update `sample-embeddings.js` when adding new demo vectors. The explorer reads live datasets by decoding the base64 payloads from the embeddings stores in `data/` when available.
61
+
-`app.js` – Loads dataset metadata, decodes base64 vectors, computes statistics, renders histograms, and highlights the strongest positive/negative dimensions.
62
+
-`sample-embeddings.js` – Bundled dataset definitions exposed as `window.embeddingSources`.
63
+
-**Data maintenance.** Update `sample-embeddings.js` when adding or renaming embedding datasets. The explorer reads live datasets by decoding the base64 payloads from the embedding stores in `data/` when available.
64
64
-**Regression coverage.**`tests/embedding-explorer.spec.js` verifies dataset switching, record filtering, neighbor insights, and chart rendering.
0 commit comments