Initial MiniGrades v1 and v2 specs, tests and problem config - #9
Merged
Conversation
- Added solution.py and 15 automated pytest cases in test.py. - Integrated SPEC.txt to define the core technical requirements. - Note: Initial version follows a linear logic (no loops/lists) as a stable testing baseline. - Compliance: All output formats and error handling strictly follow SPEC.txt.
- Created SPEC.txt for the baseline version of MiniGrades with core commands: init, add, add-grade, list, delete, and report. - Developed solution.py as a functional baseline implementation focusing on direct file I/O and strict specification compliance. - Integrated test.py featuring 15 automated pytest cases to validate core student/grade management and edge-case handling. - Note: Initial implementation follows a linear logic (no loops/lists) to establish a stable and verifiable testing foundation.
Updated project specifications for mini-grades to version 1, adding new functions and improving error handling.
Refactored minigrades (v1) implementation to support loops and lists for dynamic data management. Added persistent storage for grades and real-time average calculation, along with improved error handling.
Migrated the testing framework to align with v1 system architecture, moving from basic string matching to structured data validation.
Owner
|
the miniplaylist dir MUST contain only
|
Collaborator
Author
|
Okay, I will add necessary files. |
Added MiniGrades problem and edited descriptions in README.md.
Collaborator
Author
|
I added necessary files and revised README.md with new problem. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Overview
This PR introduces the core infrastructure for the
minigradesproblem within the benchmark suite. It establishes a clear evolution from a stateless grading script (v1) to a persistent, data-driven system (v2), enabling comprehensive testing of AI agents' ability to handle state and file I/O operations.💻 What is MiniGrades ?
Mini-grades is a simple command-line interface (CLI) tool designed to manage student records and track academic performance.
🔄 Changelog for MiniGrades (v1 to v2)
📂 Changes & Additions
problem.json: Defined the benchmark entry point, mapping the specifications and test suites for the runner engine.spec_v1.txt&spec_v2.txt: Detailed technical requirements for AI agents.test_v1.sh&test_v2.sh: Automated verification scripts to validate the correctness, edge-case handling, and storage integrity of the generated solutions.⚙️ Technical Focus
which-languageruntime, ensuring cross-platform compatibility (handling CRLF/LF transitions).