unsloth/studio/backend/core/rag
Daniel Han f3bbd53afa Studio: remove dead RAG code (AST-confirmed)
Remove code with no live references, each confirmed dead via AST reference
analysis (no production callers and no importers), not just text search:

- chunk_belongs_to_document plus its dedicated tests and the now-orphaned
  _insert_chunk test helper. The preview-target route already does a
  single-query membership check and deliberately never called this helper.
- ingestion-progress.tsx and use-ingestion-events.ts (its only importer).
  Superseded by the aggregate ingestion toast stack; zero importers.
- Unreferenced tests/fixtures/rag-preview sample files and their generator.

No behavior change. The only non-deletion edits reword two comments that
referenced the removed helper.
2026-05-31 09:35:39 +00:00
..
parsers Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
__init__.py Studio: add RAG with hybrid search, reranker, chat integration 2026-05-23 18:46:15 +04:00
authorization.py Studio: remove dead RAG code (AST-confirmed) 2026-05-31 09:35:39 +00:00
bm25.py Studio: trim verbose comments/docstrings across RAG code 2026-05-26 13:51:11 +04:00
captioner.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
chunking.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
db.py Studio: trim verbose comments/docstrings across RAG code 2026-05-26 13:51:11 +04:00
embeddings.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
ingestion.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
locators.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-05-28 07:50:36 +00:00
reranker.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
retrieval.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
scope.py Studio: text-mode default with VLM-captioned figure splicing; helper VLM fallback 2026-05-27 11:16:56 +04:00
tool.py Studio: tighten RAG code comments 2026-05-31 08:31:08 +00:00
vector_store.py Studio: WIP — RAG preview UI, locator/auth refactor, tests, fixtures (pre-merge snapshot) 2026-05-28 00:13:43 +03:00