fix: remove debug print statements and fix typo in evaluation code#45
Open
yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
Open
fix: remove debug print statements and fix typo in evaluation code#45yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
yurekami wants to merge 1 commit intodeepseek-ai:mainfrom
Conversation
- Remove debug print("wtf", ...) and print(item, ...) in eval_script.py
- Remove print("DEBUG >>>", ...) in answer_extraction.py
- Remove print("DEBUG CMATH:", ...) in answer_extraction.py
- Fix typo: "+\\inity" -> "+\\infty" in strip_string function
- Improve error message in NotImplementedError to include type info
These debug statements pollute stdout when running evaluations and
can interfere with result parsing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
print("wtf", ...)andprint(item, ...)statements ineval_script.pyprint("DEBUG >>>", ...)inanswer_extraction.pyprint("DEBUG CMATH:", ...)inanswer_extraction.py+\\inity→+\\inftyinstrip_stringfunctionNotImplementedErrorto include type information for easier debuggingProblem
Debug print statements pollute stdout when running evaluations, which can interfere with result parsing and make logs harder to read in production environments.
Test plan
python3 -m py_compile🤖 Generated with Claude Code