How thebash4/qa_practise_repo works
This repository is a QA test suite for evaluation APIs and a browser-based evaluation interface. Its main workflow is to start or inspect evaluation runs, wait for completion, and validate returned results; the UI page object supports browser interaction. The excerpts show the API session and polling utilities, result-processing helpers, and page object. Test implementations and several fixture modules are unsampled, so their specific call relationships are not asserted.
Main entry points: polling.py Python run polling · evaluation-polling.ts TypeScript run polling · test_evaluations.py API test suite · conftest.py API session fixture
Components 13
API test support
- API test suite
api_tests/test_evaluations.py - API session fixture
api_tests/conftest.py - Logging API client
api_utils/api_client.py - Python run polling
api_utils/polling.py
Evaluation validation
- TypeScript run polling
utils/evaluation-polling.ts - Result processing
utils/evaluation-results.ts - DATA-104 expectations
test-data/data-104-expectations.ts - Evaluation test data
test-data/evaluation-data.ts
Browser testing
- Browser test suite
tests/first-test.spec.ts - Evaluation page object
pages/evaluation-page.ts
Other components
- Test runner
- Evaluation API
- Evaluation web app
Connections 10
- API session fixture → Logging API client: creates session
api_tests/conftest.py - Python run polling → Logging API client: uses quiet logger
api_utils/polling.py - Python run polling → Evaluation API: polls run
api_utils/polling.py - TypeScript run polling → Evaluation API: polls run
utils/evaluation-polling.ts - TypeScript run polling → Result processing: uses run types
utils/evaluation-polling.ts - Evaluation page object → Evaluation web app: navigates and clicks
pages/evaluation-page.ts - Test runner → API test suite: runs
- Test runner → Browser test suite: runs
- API test suite → API session fixture: uses fixture
- Browser test suite → Evaluation page object: uses page object