| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@ManasKumar111 is attempting to deploy a commit to the Arc53 Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What
Adds unit tests for ClassicRAG._get_data() covering chunk distribution, token budget enforcement, and the base_chunks override behavior — previously untested logic in application/retriever/classic_rag.py.
Tests added
Why
No test file existed for classic_rag.py. This logic governs how many documents actually reach the LLM prompt, so incorrect behavior here directly affects retrieval quality.
How tested
All 5 tests run and passing inside the Docker backend container:
docker compose -f deployment/docker-compose.yaml exec backend python3 -m pytest tests/retriever/test_classic_rag.py -v
Result: 5 passed, 0 failed
Type of change