feat: Python evaluator and CLI eval command (REQ-ARCH-035)#3
Merged
Conversation
Implement pure-Python eval loop mirroring the C engine: - ArbiterEvaluator class with all 13 condition operators - All 15 expression opcodes with int32 saturation - Safety guard priority ordering - arbiterc eval CLI command with --facts, --timestamps, --json - 55+ comprehensive test cases Co-Authored-By: Oz <oz-agent@warp.dev>
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.
REQ-ARCH-035: Python Evaluator
Pure-Python implementation of the arbiter eval loop that mirrors the C engine exactly.
Changes
All 141 tests pass (1 pre-existing skip).
Conversation: https://app.warp.dev/conversation/d2e5a285-21fe-43bf-a896-c0e7ba47704e
Run: https://oz.warp.dev/runs/019e88b0-c5e7-7d93-b62c-f5d3dcb87f73
This PR was generated with Oz.