Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Device test document_rag_e2e: a blank picture is indexed (1 chunk) instead of notSearchable

Aperta
#301 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart
Ambito
search, testing

Direzione di ricerca

Start with integration_test/document_rag_e2e_test.dart and the failing blank-picture case that expects DocumentIndexStatus.notSearchable; run that test and inspect how image labels and OCR contribute to indexing. The issue leaves the cause unresolved, so trace the relevant indexer behavior before choosing a fix. Done when the blank picture is not searchable and the related passing cases still behave as expected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug good first issue

Reproduced on main (vivo 1933, run 2026-10-19), not caused by #289 or #299.

integration_test/document_rag_e2e_test.dart → images (real ML Kit OCR) a picture with no text is kept but not searchable:

Expected: DocumentIndexStatus.notSearchable Actual: DocumentIndexStatus.indexed (log: indexed e2eimage (image) — 1 chunks in 4s)

The test renders a blank picture (_renderBlank). The indexer produced one chunk, so the picture was indexed, most likely from an ML Kit image label rather than OCR text. Either the image-label step now labels a blank picture (the test image or the label confidence cut-off needs adjusting), or the indexer should not index a picture with only a low-value label. Not yet diagnosed which.

Other cases in the file pass (12 passed, 4 skipped, this one failed).

Lingua principale
Dart
Stelle
2
Fork
2
Merge medio
1g 35m
PR unite (30g)
36

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di basictech01/uniun

Tutte le issue di basictech01/uniun

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.