Switch session storage from filesystem to in-memory for HF Spaces compatibility, eliminating permission issues. Update relevant environment variable logging and adjust documentation to reflect changes in session management.
Enhance data directory management by enforcing a persistent location and overriding environment variables. Introduce a new debug route for HF Spaces troubleshooting, providing detailed system and directory information. Improve startup logging for clarity.
Update data directory handling to use current working directory for persistence, enhance logging for evaluation saving and results retrieval, and add debug information display in the debug.html template.
Refactor document index handling in evaluation process to use 1-based indexing. Update logging for document navigation actions and ensure proper session management. Adjust form action in evaluate.html for consistency.