A powerful Python-based Manual Code Verification Assistant for efficient and accurate review of programmatically generated code snippets.
Transform your code review workflow with both modern GUI and interactive terminal interfaces that make comparing generated code against expected results fast, intuitive, and comprehensive.
Current Version: 0.1.0 (Alpha) - Active development with regular updates
- Python 3.8+ π (Python 3.10+ recommended)
- Git for cloning the repository
# Clone the repository
git clone https://github.com/netpack/vaitp-auditor.git
cd vaitp-auditor
# Create and activate a Python virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install with GUI support
pip install -e ".[gui]"
# Run the application
vaitp-auditor
# macOS users: For proper icon in dock, use the launcher instead:
python vaitp_auditor_launcher.pyGUI Mode (Default)
# Launch the modern desktop interface (default if GUI dependencies available)
vaitp-auditor
# macOS users: For proper custom icon in dock, use:
python vaitp_auditor_launcher.py
# Or explicitly request GUI mode
vaitp-auditor --guiTerminal Mode
# Start terminal-based review session
vaitp-auditor --cliFollow the interactive setup wizard:
- Enter experiment name:
my_first_review - Select data source: Choose from folders, SQLite, or Excel/CSV
- Configure paths: Point to your generated and expected code
- Set sampling: Choose percentage of data to review (1-100%)
- Start reviewing: Use intuitive interface to classify code pairs
π Folder-based Review (Most Common)
vaitp-auditor
# Select option 1: Folders
# Generated code: /path/to/generated/
# Expected code: /path/to/expected/
# Original input code: /path/to/input/ποΈ Database Review
# SQLite database with code_pairs table
# Columns: id, generated_code, expected_codeπ Excel/CSV Review
# Spreadsheet with columns:
# ID | Generated Code | Expected CodeNavigation (CLI Mode)
ββββorhjkl- Scroll through codeTab- Switch between panelsPage Up/Down- Navigate faster
Classification (Single keypress!)
s- Success β (Code works correctly)f- Failure β (Code doesn't work)i- Invalid π« (Syntax errors)w- Wrongβ οΈ (Wrong vulnerability type)p- Partial πΆ (Partially correct)u- Undo β©οΈ (Go back one step)q- Quit πͺ (Save and exit)
- Setup Wizard: Intuitive 5-step configuration process
- Side-by-Side Code Comparison: Syntax highlighting with diff visualization
- Responsive Interface: Smooth scrolling, keyboard shortcuts, and accessibility support
- Performance Optimized: Lazy loading for large files, intelligent caching
- Accessibility Features: Screen reader support, high contrast themes, keyboard navigation
- Side-by-side code comparison with syntax highlighting
- Smooth scrolling and navigation
- Progress tracking and session management
- File System: Compare folders of code files
- SQLite: Review code stored in databases
- Excel/CSV: Process spreadsheet data
- Auto-save progress after each review
- Resume interrupted sessions seamlessly
- 30-day automatic cleanup of old sessions
- Excel reports with rich formatting and metadata
- CSV exports for further analysis
- Detailed timing and diff information
- Lazy loading for large files (>100KB)
- Intelligent caching and memory management
- Chunked processing for massive datasets
- Real-time performance monitoring
| Component | Minimum | Recommended |
|---|---|---|
| Python | 3.8 | 3.10+ |
| RAM | 4GB | 8GB+ |
| Storage | 1GB | 5GB+ |
VAITP-Auditor automatically manages session files, but you can manually clean up when needed:
# View session files
ls -la ~/.vaitp_auditor/sessions/
# Remove sessions older than 7 days (automatic cleanup is 30 days)
find ~/.vaitp_auditor/sessions/ -name "*.pkl" -mtime +7 -delete
# Remove all session files (β οΈ careful!)
rm ~/.vaitp_auditor/sessions/*.pkl| Type | Location | Description |
|---|---|---|
| Sessions | ~/.vaitp_auditor/sessions/*.pkl |
Review progress and state |
| Logs | ~/.vaitp_auditor/logs/*.log |
Application logs |
| Reports | ./reports/*.xlsx |
Generated review reports |
| Config | ~/.vaitp_auditor/config.yaml |
Optional configuration |
- Sessions: Auto-deleted after 30 days
- Logs: Rotated automatically
- Reports: Never auto-deleted (your data!)
| Guide | Description |
|---|---|
| π₯οΈ GUI User Guide | Complete GUI interface documentation |
| π©βπ» GUI Developer Guide | GUI development and extension guide |
| π CLI User Guide | Terminal interface documentation |
| π§ Setup Guide | Detailed installation and configuration |
| ποΈ Developer Guide | Architecture and contribution guidelines |
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Data Sources β β UI Components β β Processing β
β β β β β β
β β’ File System βββββΆβ β’ Terminal UI βββββΆβ β’ Diff Engine β
β β’ SQLite DB β β β’ Syntax Highl. β β β’ Classificationβ
β β’ Excel/CSV β β β’ Navigation β β β’ Validation β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Session Manager β β Report Generatorβ β Performance β
β β β β β β
β β’ Auto-save β β β’ Excel Export β β β’ Memory Mgmt β
β β’ Resume β β β’ CSV Export β β β’ Caching β
β β’ Recovery β β β’ Metadata β β β’ Optimization β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
We welcome contributions! Here's how to get started:
- Fork the repository on GitHub
- Clone your fork:
git clone https://github.com/yourusername/vaitp-auditor.git - Create a feature branch:
git checkout -b feature/amazing-feature - Install development dependencies:
pip install -e .[dev] - Make your changes and add tests
- Run tests:
pytest - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow PEP 8 style guidelines
- Add tests for new functionality
- Update documentation as needed
- Ensure all tests pass before submitting
- Write clear, descriptive commit messages
See our Developer Guide for detailed contribution guidelines and architecture information.
This project is licensed under the MIT License - see the LICENSE file for details.
- β Commercial use
- β Modification
- β Distribution
- β Private use
- β Liability
- β Warranty
The MIT License is a permissive license that allows you to use this software for any purpose, including commercial applications, as long as you include the original copyright notice.
- π Fast: Optimized for large-scale code review workflows
- π― Accurate: Structured classification with detailed reporting
- πͺ Robust: Cross-platform with comprehensive error handling
- π§ Flexible: Multiple data sources and export formats
- π Insightful: Rich metadata and performance analytics
Ready to revolutionize your manual code review process? Get started in under 2 minutes! π
VAITP-Auditor is currently in active development (v0.1.0 Alpha). The core functionality is stable and ready for use, with ongoing improvements to the GUI interface, performance optimizations, and deployment capabilities.
- β Modern GUI interface with accessibility features
- β Enhanced performance optimization and caching
- β Comprehensive test suite with >80% coverage
- β Simplified installation process
- π Enhanced reporting and analytics
- π¨ Additional GUI themes and customization
- π Advanced performance metrics and monitoring
-
π Documentation: Comprehensive guides in the docs/ directory
-
π Issues: Report bugs and request features via GitHub Issues
-
π¬ Discussions: Join community discussions for questions and ideas
-
π§ Contact: Reach out to the VAITP Research Team for collaboration
-
Support my work on Patreon: https://www.patreon.com/user?u=62912574