Spaces:
Sleeping
Sleeping
Commit History
-
Add training scripts and utilities for NodeAudit and GraphReview
- Implement `train_lora.py` for LoRA training pipeline, including dataset preparation and model training. - Create `trajectory_collector.py` to collect trajectories and DPO pairs from the CodeReview environment. - Develop `training_graph.py` for visualizing training outcomes and module performance. - Introduce `inference.py` as an example inference script for LLM interactions. - Add scripts for cloning training repositories and seeding databases from the training corpus. - Implement `verify_all.py` to run verification scripts in the code-review environment.902cd29
-
feat: Implement task registry and grading system
- Added task specifications for easy, medium, and hard tasks with detailed configurations. - Introduced a task registry to manage task specifications and retrieval. - Developed grading logic for easy, medium, and hard tasks, ensuring deterministic behavior. - Created action and reward models to facilitate grading and action validation. - Established a review runner to execute grading and persist results. - Implemented environment state management for tracking module reviews and episode states. - Added tests for graders and environment interactions to ensure correctness and determinism. - Set up FastAPI server endpoints for health checks and task retrieval. - Documented phase objectives and design principles for clarity and future reference.b196357 -
feat: Implement chunking and graph management for code review environment
- Added chunker module to split parsed Python modules into manageable chunks. - Introduced graph builder to create edges between code chunks and modules. - Created sample project files for authentication, cart calculations, checkout flow, and configuration. - Implemented utility functions for inventory management and email notifications. - Developed payment gateway wrapper with security considerations. - Added validators for input checks and coupon validation. - Created extensive test suite for graph manager, observation builder, and token budget enforcement. - Documented Phase 2 plan for graph manager and observation builder integration.899a7c7 -
feat: initialize CodeReviewEnv with foundational components
- Add Dockerfile for containerized environment setup. - Create README.md with quickstart instructions. - Implement database package with migrations and schema definitions. - Develop store module for database interactions and data management. - Introduce parser module for AST parsing and code analysis. - Establish environment and graph management for dependency tracking. - Set up grading and task management placeholders for future phases. - Include sample codebase and ground truth for testing and validation. - Add tests for environment, parser, and graph functionalities.cf05092