Repository navigation
Prepare the demo target for judging: CI, a held-out-test mission, README - #8
Merged
Merged
Conversation
… README - tests workflow: pytest on every PR and on main, independent of EvoForge's own checks, so each PR shows a GitHub check next to the signed proof. - stats.py: median returns the upper middle item for even-length lists. The visible test only covers an odd length, so the held-out suite is what catches a shallow fix. mean is correct. - README: describes the add/sub/mul history as fixed by PRs #4-#6 and documents the median mission and how to check a PR's proof. - Trailing newline on the generated test files; ignore Python caches. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DTFbAx9ExCXQGVsXdYS89y
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.
Gets the repo the judges will open ready for the hackathon demo.
testsworkflow runspyteston every PR and on main, separately from EvoForge's own gates. Each EvoForge PR then shows a GitHub check next to its signed proof.stats.medianreturns the upper middle item for lists of even length. The visible test only covers an odd-length list, so the held-out suite is what catches a shallow fix.meanis correct and tested.calc.addstill had a bug, but add, sub and mul were fixed by evoforge mission: In calc.py, fix add(a, b) which wrongly returns a - b so it returns a + b. Keep #4, evoforge mission: In calc.py, fix sub(a, b) which wrongly returns a + b so it returns a - b. Keep #5 and evoforge mission: In calc.py, fix mul(a, b) which wrongly returns a + b so it returns a * b. Keep #6. It now records that history, describes the median mission with an example prompt, and explains how to check a PR's proof..gitignorefor Python caches.No conflict with #7 (
div), which only touchescalc.pyand adds its own tests.Checked locally: 11 tests pass, and
median([1, 2, 3, 4])returns 3, which is the planted bug.Generated by Claude Code