feat: Phase 4 capstone - eval summary + final report + demoFeature/phase4 demo#24
Merged
Conversation
The FUNSD-headline print had a literal newline inside an f-string (invalid before Python 3.12); use a separate print() for the blank line.
- scripts/run_demo.py: add gradio_allowed_paths() and pass allowed_paths to demo.launch() so the Layout tab serves crop images when outputs live outside the repo (e.g. Colab Drive) - notebooks/07_final_report.ipynb: build the FUNSD headline into a variable before print() (clearer; identical output)
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.
Phase 4 - capstone (eval summary + final report + demo)
Aggregates the per-phase evaluation artifacts into one summary, a written report,
and an artifact-backed Gradio demo. Assembles existing metrics - no new research
(GriTS / Ragas / DeepEval are future work).
Contents (12 files)
outputs/evaluation/phase4_summary.json (gitignored) + reports/phase4_metrics.md
(committed, no-drift)
from the generated table)
(BM25 always-on; dense/RRF if embedding stack; answer-gen if OPENROUTER_API_KEY)
Verification
reports/phase4_metrics.md
Artifact policy: outputs/ stays gitignored; only reports/*.md are committed.