-
Notifications
You must be signed in to change notification settings - Fork 0
Add execution trace option to UTM #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds an optional execution tracing feature to the Universal Turing Machine simulator, allowing users to observe step-by-step execution for debugging and educational purposes.
Key Changes:
- Added a
--traceCLI flag that enables step-by-step execution output - Enhanced the
run()method with an optionaltraceparameter that prints transition details for each step - Updated README documentation with a usage example of the trace feature
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| utm.py | Added trace parameter to the run() method, implemented trace output logic showing state transitions, and added --trace CLI argument |
| README.md | Added documentation and usage example demonstrating the --trace flag with the incrementer machine |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Y’all check this 🔎✅ Please respond using this mini-Gantt format (copy/paste): Milestones (optional): Mini-Gantt (Tasks + Dates + Owner): Task Owner Start End Status Blockers (RedLight only): @claude @chatgpt @gemini @slack @linear @codex @copilot |
|
@blackboxprogramming I've opened a new pull request, #3, to work on those changes. Once the pull request is ready, I'll request review from you. |
|
Milestones (optional): Mini-Gantt (Tasks + Dates + Owner): Task Owner Start End Status Blockers (RedLight only): |
Summary
--traceCLI flag to show step-by-step execution of a Turing machineTesting
Codex Task