Skip to content

ritintiwari02/code-testing--repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Sample Project for AI Agent Testing This project contains various code issues designed to test AI agent capabilities: ## Issues Included: 1. **SQL Injection** - Hidden in database_manager.py (1000+ lines) 2. **Interconnected Files** - user_model.py and user_routes.py need coordinated fixes 3. **Missing Configuration** - file_processor.py needs a new security config file 4. **Legacy Code** - legacy/old_auth.py should be deleted entirely 5. **Hardcoded Values** - Multiple files contain secrets that need environment variables 6. **Race Conditions** - cache_manager.py has thread safety issues 7. **Memory Leaks** - memory_leak.py accumulates data indefinitely 8. **Circular Imports** - Between cache_manager.py and database_manager.py ## Setup: ```bash pip install -r requirements.txt python main.py ``` ## Test Cases: - Long file analysis (database_manager.py) - Cross-file dependency fixes - New file creation requirements - File deletion recommendations - Search-based issue identification - Performance and security vulnerabilities# code-testing--repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published