Commit Graph

4 Commits

Author SHA1 Message Date
Фёдор
54e2206234 Добавлен генератор PDF отчетов с графиками и поддержкой кириллицы
- Создан create_pdf_report.py для генерации PDF отчётов
- Поддержка кириллицы через DejaVu Sans шрифты
- 3 типа графиков: распределение по баллам, топ-10 критериев, общая статистика
- Отчёт для Орловской области: 259KB, 5 страниц
- Обновлен create_horizontal_report.py
2025-10-28 00:33:33 +03:00
Фёдор
5e807fd7ce 📊 Improve dashboard with detailed registry statistics
- Added detailed statistics from hotel registry
- Shows total hotels, active hotels, hotels with websites, accessible sites
- Dynamic section positioning (no more hardcoded row numbers)
- Fixed region name usage throughout (no more 'СПб' in Orel reports)
- Shows different stats for ONLY_ACTIVE mode

Stats now include:
- Registry data: Total/Active hotels, Hotels with websites, Accessible sites
- Audit data: Audits conducted, With/Without sites, RKN registry, Avg score, Compliant hotels (≥50%)

Tested on Orel region:
- 64 total active hotels in registry
- 35 with websites
- 29 audited
- Avg score: 44.1%
2025-10-27 23:22:57 +03:00
Фёдор
309de51744 Add status filter to report generation
- Added ONLY_ACTIVE parameter to filter by hotel status
- Now supports generating reports for 'Действует' (Active) hotels only
- Default: ONLY_ACTIVE = True (Orel region configured)
- Can be easily toggled for all statuses

Changes:
- create_horizontal_report.py: Added status_name filter in SQL query
- Tested on Orel region: 29 active hotels (out of 30 total)
- Average score: 44.1%, RKN registry: 26 hotels
2025-10-27 23:16:29 +03:00
Фёдор
684fada337 🚀 Full project sync: Hotels RAG & Audit System
 Major Features:
- Complete RAG system for hotel website analysis
- Hybrid audit with BGE-M3 embeddings + Natasha NER
- Universal horizontal Excel reports with dashboards
- Multi-region processing (SPb, Orel, Chukotka, Kamchatka)

📊 Completed Regions:
- Орловская область: 100% (36/36)
- Чукотский АО: 100% (4/4)
- г. Санкт-Петербург: 93% (893/960)
- Камчатский край: 87% (89/102)

🔧 Infrastructure:
- PostgreSQL with pgvector extension
- BGE-M3 embeddings API
- Browserless for web scraping
- N8N workflows for automation
- S3/Nextcloud file storage

📝 Documentation:
- Complete DB schemas
- API documentation
- Setup guides
- Status reports
2025-10-27 22:49:42 +03:00