Merged
Conversation
…ferences from "questions" to "question" and updating submission instructions for answers.
…ed in XML tags for consistency across different answer types.
…simplifying answer submission logic, enhancing code clarity and maintainability.
…allow for longer execution periods.
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.
This pull request refactors the data analysis environment and prompt templates to simplify question handling and answer submission. The main changes include removing support for multiple simultaneous questions, updating prompt instructions to reflect single-question tasks, and standardizing answer formatting with XML tags. Additionally, the notebook execution timeout has been increased to accommodate longer-running analyses.
Refactoring question and answer handling:
mcqs) from theDataAnalysisEnvironmentclass, simplifying it to handle only single questions and single answers. [1] [2] [3]submit_answermethod no longer performs correctness evaluation or handles JSON/dictionary answers; it now simply records and returns the submitted answer.Prompt and answer format updates:
prompts.pyto refer to a single question instead of multiple questions, and clarified instructions for MCQ and open-ended tasks. [1] [2] [3]<answer>...</answer>) for all question types.Environment configuration:
notebook_env.pyto support longer-running analyses.