| # ============================================================================= | |
| # WHITELIST APPROACH: ignore EVERYTHING, then allow back only what we want. | |
| # Safer than blocklisting, given the many dated/experimental file variants | |
| # (calibrate_om_namah_Shivay.py, inference_pipeline_24_june.py, etc.) — | |
| # a blocklist would need a rule per file and would silently miss new ones. | |
| # ============================================================================= | |
| # 1. ignore everything... | |
| * | |
| # 2. ...but still descend into folders (so we can whitelist files inside them) | |
| !*/ | |
| # 3. allow back ONLY the real, current files | |
| !.gitignore | |
| !.gitattributes | |
| !README.md | |
| !requirements.txt | |
| !requirements-dev.txt | |
| !version.json | |
| !calibrate.py | |
| !validate.py | |
| !browser_session.py | |
| !analysis.py | |
| !inference_pipeline.py | |
| !session_logger.py | |
| !theme.py | |
| !auth.py | |
| !participants.py | |
| !tests/conftest.py | |
| !tests/test_auth.py | |
| !tests/test_participants.py | |
| !tests/test_analysis.py | |
| !packaging/InsightUX.spec | |
| !packaging/installer.iss | |
| !packaging/README.md | |
| !preprocessing/__init__.py | |
| !preprocessing/preprocessing_pipeline.py | |
| !models/__init__.py | |
| !models/model_v4.py | |
| !models/gaze_cnn_v4.onnx | |
| !models/gaze_cnn_v4.onnx.data | |
| !checkpoints/best_model_v4.pt | |
| # ============================================================================= | |
| # 4. HARD BLOCKS (last = wins). Private / generated / bulky. | |
| # ============================================================================= | |
| sessions/ # full-screen screenshots of real browsing — NEVER push | |
| calibration.pkl # your personal eye + screen calibration | |
| baseline_pose.pkl | |
| insightux_landing.html # regenerated at runtime | |
| insightux_login.html # regenerated at runtime | |
| users.json # profile records — password hashes, never push | |
| users/ # per-profile sessions/calibration/fine-tuned models | |
| _no_active_profile/ # inert placeholder dir touched only while logged out | |
| venv/ | |
| test_images/ | |
| test.mp4 | |
| __pycache__/ | |
| *.py[cod] | |
| .pytest_cache/ | |
| .DS_Store | |
| Thumbs.db |