Add cross-course lexical search with evidence and scope reporting

Aperta
#40 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, node.js
Ambito
search

Direzione di ricerca

Read AGENTS.md and docs/PROJECT_CONTEXT.md, then inspect src/index.js, index metadata, and the existing search_course behavior. This depends on #39, and the issue asks contributors to discuss the design before implementation, so wait for the dependent contracts and maintainer direction. Done means the acceptance tests cover scoped search, valid citations, authorization checks, and missing or unindexed coverage while preserving compatibility.

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

Descrizione

area:backend area:docs priority:medium status:blocked type:feature

Part of #28 · Target: Retrieval / v0.4

Goal and scope

Search explicit authorized course/semester scopes over indexed text and documents. Return ranked bounded snippets, course/resource/page references, index freshness and missing/unindexed coverage. Keep current search_course behavior compatible.

Implementation starting points

new search adapter/tool, src/index.js, index metadata. Follow AGENTS.md and docs/PROJECT_CONTEXT.md; reuse existing authorization, safe-error and synthetic-fixture patterns. New runtime dependencies need a documented reason.

Dependencies and readiness

Depends on #39. Discuss the design before starting implementation; dependent contracts must land first.

Out of scope

No generated unsupported answers, semantic search, implicit semester inference or hidden query telemetry.

Acceptance criteria and test plan

Tests cover Unicode/case/diacritics, filters, ranking, limits, no-result and partially indexed scopes. Every result has a valid citation; authorization is rechecked and unknown/unindexed is distinguishable from no matching text.

Run the relevant offline tests, npm run check and git diff --check; runtime changes also require npm test and npm audit. Report checks not run. No faculty credentials or private course material are required for a contribution.

Contributing

Comment here before starting so the maintainer can coordinate the approach and avoid duplicate work. Fork the repository, branch from master, and open a focused PR referencing this issue. No assignee or delivery deadline is set; required checks and review apply.

Lingua principale
JavaScript
Stelle
0
Fork
0
Merge medio
1h 20m
PR unite (30g)
14

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 mahmutmft/courses-mcp

Tutte le issue di mahmutmft/courses-mcp

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.