[Enhancement] Add Web Agents Evaluation Workflow#130
Open
NiraliPopat wants to merge 8 commits intomainfrom
Open
[Enhancement] Add Web Agents Evaluation Workflow#130NiraliPopat wants to merge 8 commits intomainfrom
NiraliPopat wants to merge 8 commits intomainfrom
Conversation
…eption'' Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
… into scratch/web_agents_eval
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.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
Added a comprehensive web agents evaluation framework to SyGra for evaluating browser automation agents with retry logic, inline evaluation, and advanced metrics tracking.
Explain the features implemented:
🎯 Core Evaluation Framework
RequestResponseLogger: Comprehensive request/response logging system with timestamped JSON logsFetchNextActionPreProcessor: Pre-processes LLM requests with chat history management and retry hint injectionFetchNextActionPostProcessor: Post-processes LLM responses and extracts tool callsInlineEvaluationLambda: Real-time evaluation of model predictions against golden responsesRetryFlow: Intelligent retry logic with failure detectionShouldContinueCondition: Workflow continuation controlFlatten: Post-processor to flatten nested retry structures for analysis🛠️ Browser Interaction Tools
@tooldecorator:screenshot_tool,click_tool,type_tool,typing_tool,scroll_toolwait_tool,resume_tool,hil_tool,text_clear_tool,slider_tool🔄 Intelligent Retry System
📊 Evaluation Metrics
⚙️ Configuration & Constants
📚 Documentation
Performance impact (if any):
How to Test the feature
Steps for reviewers to verify functionality:
Checklist