$ account chi111i
This repository is a full-stack web application, 'BypassAIGC', functioning as an AI-powered academic writing assistant. Its core operational logic, confirmed by code analysis of its two-stage 'polish' and 'enhance' pipeline and configuration flags, is to rewrite text to evade detection by AIGC classifiers like GPTZero. It is a monolithic application built with a FastAPI backend and a React frontend, packaged for standalone deployment via PyInstaller. The codebase features a highly sophisticated, deterministic Word document formatting engine (`word_formatter`) that parses markdown into a Document AST, renders it to OOXML, validates the structure against a StyleSpec, and applies patch-based auto-corrections. This module demonstrates exceptional craftsmanship in document engineering. While functionally complete, the application suffers from significant technical debt. This includes critical security vulnerabilities (default secrets, permissive CORS, plaintext API key storage), ad-hoc database migrations, duplicated application entry points, and incomplete features (e.g., PDF export is a stub). The project is maintained but carries a high risk of technical drift, making it unsuitable for production deployment without substantial hardening.