Reference Implementation 6 — an agentic Visual Question Answering evaluation framework#20
Open
aravind-3105 wants to merge 3 commits intomainfrom
Open
Reference Implementation 6 — an agentic Visual Question Answering evaluation framework#20aravind-3105 wants to merge 3 commits intomainfrom
aravind-3105 wants to merge 3 commits intomainfrom
Conversation
…ith dependencies and environment setup
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
Adds Reference Implementation 6 — an agentic Visual Question Answering evaluation framework for the ChartQAPro dataset, built on CrewAI. The framework decomposes chart QA into an explicit Plan → OCR → Inspect → Verify loop, producing fully traceable Model Evaluation Packets (MEPs) per sample. Includes multi-pass evaluation, failure taxonomy, HTML reporting, a Streamlit dashboard, and optional Opik observability integration.
Type of Change
Changes Made
implementations/agentic_vqa_eval/— full reference implementation for agentic ChartQAPro evaluationmep/schema.py,mep/writer.py) — portable JSON trace capturing plan, OCR, vision, verifier output, tool logs, timestamps, and errorseval_outputs.py(accuracy + LLM-as-judge),eval_traces.py(latency/replayability),eval_topk.py(hit@1/2/3),error_taxonomy.py(VLM-based failure classification)eval/report.py(self-contained HTML report) andeval/dashboard.py(Streamlit sample browser)opik_integration/) — trace viewer, prompt versioning, dataset registration, experiment comparison; fully optional viaOPIK_URL_OVERRIDEpyproject.tomlwith project dependencies, ruff/mypy/pytest config aligned with repo conventionsrun_pipeline.ipynb(end-to-end execution) andanalysis.ipynb(results visualization) notebooksTesting
uv run pytest tests/)uv run mypy <src_dir>)uv run ruff check src_dir/)Manual testing details:
Pipeline run end-to-end on ChartQAPro test split (25 samples) across
openai_openaiconfig. MEPs generated, all eval passes executed, summary CSV and HTML report produced. OCR ablation (--no_ocr) and verifier skip (--no_verifier) flags verified. Opik tracing validated with self-hosted Docker stack.Screenshots/Recordings
Related Issues
Deployment Notes
OPENAI_API_KEYand/orGEMINI_API_KEYin.envimplementations/agentic_vqa_eval/viauv syncthensource .venv/bin/activateOPIK_URL_OVERRIDE=http://localhost:5173/apito enable; omit to disable silentlyChecklist