Skip to content

Add embeddings space diagnostics: cohesion, overlap, and query/passag…#25

Merged
th-e-o merged 1 commit into
mainfrom
fix/agentic-rag-navigator-robustness
Jul 15, 2026
Merged

Add embeddings space diagnostics: cohesion, overlap, and query/passag…#25
th-e-o merged 1 commit into
mainfrom
fix/agentic-rag-navigator-robustness

Conversation

@th-e-o

@th-e-o th-e-o commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

evaluate_embeddings.py now checks whether the NAF taxonomy is reflected in the embedding space (per-level sibling cohesion, a sorted similarity heatmap, inter-group confusion/overlap detection, retrieval confusion tally, and a query/passage gap diagnostic for libellés vs. notices), plus an experiment testing whether embedding the notices' "Excludes" text improves retrieval.

Also publishes these diagnostics as a Quarto report (presentation/embeddings.qmd) alongside the existing presentation site, with a frozen execution cache so CI can render it without live access to the internal embedding API. Excludes presentation/_freeze/ from the large-file pre-commit check since that cache is expected to hold full rendered figure data.

…e gap analysis

evaluate_embeddings.py now checks whether the NAF taxonomy is reflected in the
embedding space (per-level sibling cohesion, a sorted similarity heatmap,
inter-group confusion/overlap detection, retrieval confusion tally, and a
query/passage gap diagnostic for libellés vs. notices), plus an experiment
testing whether embedding the notices' "Excludes" text improves retrieval.

Also publishes these diagnostics as a Quarto report (presentation/embeddings.qmd)
alongside the existing presentation site, with a frozen execution cache so CI
can render it without live access to the internal embedding API. Excludes
presentation/_freeze/ from the large-file pre-commit check since that cache is
expected to hold full rendered figure data.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@th-e-o
th-e-o merged commit 3efd322 into main Jul 15, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant