Skip to content

validate gold file parsing and add tests - #26

Merged
royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
mokshagnachintha:fixes/validate-gold-file
Sep 6, 2026
Merged

validate gold file parsing and add tests#26
royalpinto007 merged 2 commits into
AgentPostmortem:mainfrom
mokshagnachintha:fixes/validate-gold-file

Conversation

@mokshagnachintha

Copy link
Copy Markdown
Contributor

What: Add robust input validation for vaultrag.evaluate.load_gold and unit tests to ensure malformed gold files produce clear ValueError messages. Fixes #25.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Welcome, @mokshagnachintha, and thanks for your first pull request to VaultRAG.

A quick look at CONTRIBUTING.md covers how things are set up and run here.

I'll review this shortly. Ask anything in the thread if something is unclear.

@royalpinto007

Copy link
Copy Markdown
Collaborator

Nice work - almost there. One acceptance criterion from #25 is missing: reject duplicate case ids with a ValueError naming the id. Please add that check plus its test, then it is good to merge.

@mokshagnachintha

Copy link
Copy Markdown
Contributor Author

Added duplicate case id validation and unit test. Thanks for the review!

@royalpinto007
royalpinto007 merged commit 4d68a88 into AgentPostmortem:main Sep 6, 2026
1 check passed
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

This is in, @mokshagnachintha. Really appreciate it.

Good, focused change. Exactly the kind of thing VaultRAG needs.

If VaultRAG is useful to you, a star goes a long way.

Happy to see more from you whenever you have the time.

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.

load_gold does no validation on gold files

3 participants