Skip to content
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

Add math problem solver using curator.Prompter #177

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Nov 27, 2024

Implements math problem solver functionality using curator.Prompter, providing safe code execution and benchmarking capabilities.

Changes:

  • Add Pydantic models for math problems and solutions
  • Implement safe code execution utilities
  • Create MathPrompter extending curator.Prompter
  • Add MathAutoBencher for benchmarking
  • Include test suite

Link to Devin run: https://preview.devin.ai/devin/3e3a0a977cfd4a1b8387707271fa7e0f

If you have any feedback, you can leave comments in the PR and I'll address them in the app!

- Add MathProblem/MathSolution Pydantic models
- Implement safe code execution utilities
- Create MathPrompter extending curator.Prompter
- Add MathAutoBencher for benchmarking
- Include test suite
- Add tests for code execution safety
- Add tests for MathPrompter functionality
- Include batch processing tests
- Format math_executor.py
- Format math_autobencher.py
- Format math_solver.py
- Format math_prompter.py
- Format test_math_solver.py

Fixes CI formatting checks.
@madiator madiator marked this pull request as draft November 30, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants