verify.py's HASH_QUANTIZATION_DECIMALS is now overridable via PROOF_HASH_DECIMALS. Finding: the determinism divergence is NOT Windows-vs-Linux — Windows and a second Linux box (ruvultra, same numpy/scipy) produce identical hashes at every precision, including ca58956c at 6 decimals. Only the GitHub Azure CI runner diverges (667eb054), i.e. a CPU-microarchitecture pocketfft/BLAS reordering (the #560 Skylake-vs-Cascade-Lake class). Temporary diagnostic sweep step prints the CI runner's hash at decimals 6..2 so we can pick the coarsest precision that collapses the microarch divergence to the common hash. Both the sweep step and the PROOF_HASH_DECIMALS plumbing are removed/finalized in the follow-up. Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| data | ||
| docs | ||
| scripts | ||
| src | ||
| tests | ||
| README.md | ||
| __init__.py | ||
| requirements-lock.txt | ||
| setup.py | ||
| test_application.py | ||
| test_auth_rate_limit.py | ||
README.md
WiFi-DensePose v1 (Python Implementation)
This directory contains the original Python implementation of WiFi-DensePose.
Structure
v1/
├── src/ # Python source code
│ ├── api/ # REST API endpoints
│ ├── config/ # Configuration management
│ ├── core/ # Core processing logic
│ ├── database/ # Database models and migrations
│ ├── hardware/ # Hardware interfaces
│ ├── middleware/ # API middleware
│ ├── models/ # Neural network models
│ ├── services/ # Business logic services
│ └── tasks/ # Background tasks
├── tests/ # Test suite
├── docs/ # Documentation
├── scripts/ # Utility scripts
├── data/ # Data files
├── setup.py # Package setup
├── test_application.py # Application tests
└── test_auth_rate_limit.py # Auth/rate limit tests
Requirements
- Python 3.10+
- PyTorch 2.0+
- FastAPI
- PostgreSQL/SQLite
Installation
cd v1
pip install -e .
Usage
# Start API server
python -m src.main
# Run tests
pytest tests/
Note
This is the legacy Python implementation. For the new Rust implementation with improved performance, see /v2/.