InsightUX capstone testing
Complete Windows application source, guided evaluation tools, automated tests, ONNX gaze model and calibration checkpoint. Participant management remains available in the application; the guided launcher needs no participant setup.
Install on another Windows laptop
Install Python 3.11 with Tcl/Tk support and Microsoft Edge WebView2 Runtime. Download this repository with its actual model files (not Git LFS pointer files). Open PowerShell in this folder and run:
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe -m playwright install chromium
Do not copy a virtual environment from another laptop. Enable webcam access.
Guided evaluation
Double-click START_GUIDED_TESTING.cmd, click Open InsightUX, then create or
sign in to a profile. Select Myself for profile-based guided measurements.
Follow all 16 checks, including fresh calibration and nine-target validation.
Use Run safe checks (TC12/13) for five unit checks and one integration check.
Record a normal browsing session for at least 30 seconds and stop normally.
Timing/resource checks confirm collection; they do not enforce speed or RAM limits.
Application Participant and Persons features remain available. Participant calibration and recordings stay separate and are excluded from profile evaluation.
Use Open report tables to see results. Fresh data is generated under
testing/data/; existing local accounts, sessions and calibration are not bundled.
Each result folder contains REPORT_TABLES.html, Tables 5.1-5.5 CSVs and _evidence/.
See testing/README.txt and testing/TEST_PLAN.html for details.
Automated tests
.\.venv\Scripts\python.exe -m pytest
Optional browser UI checks require installed Chromium and this environment flag:
$env:INSIGHTUX_RUN_UI_CHECKS = "1"
.\.venv\Scripts\python.exe -m pytest testing/tests/test_study_guide_ui.py
The source-copy comparison test needs the separate reference capstone folder next to this project. It is skipped when that reference is unavailable. Guided measurements and pytest reports are separate; running pytest does not perform a human gaze study. Windows long temporary paths may affect some tests.
Optional remote services
Drishti AI uses the configured InsightUX proxy automatically when no personal Gemini key is present. Users do not need to supply an API key or set environment variables. The Gemini provider key stays on the proxy server. This build includes the application-signing configuration required by that proxy. Administrator overrides DRISHTI_PROXY_URL and DRISHTI_APP_SECRET remain supported. Configure optional capture services locally as required by the application. Unavailable services should be marked Blocked in the guide.
Package contents
The source directories, testing tools, regression tests, requirements and launch script are included, together with models/gaze_cnn_v4.onnx, its external data, and checkpoints/best_model_v4.pt. Virtual environments, build outputs, recovery copies, credentials, personal profiles and collected session data are excluded. UPLOAD_MANIFEST.json records file sizes and SHA-256 hashes.