Draft: Add NICE-based AMFV MVP baseline with Dense+BM25 retrieval and KISS eval - #3
Draft: Add NICE-based AMFV MVP baseline with Dense+BM25 retrieval and KISS eval #3AdepojuJeremy wants to merge 8 commits into
Conversation
|
|
|
Hey Jeremy, nice work getting the full pipeline running end to end, the RRF fusion plus KISS eval setup is a solid baseline to build from. I read through the retrieval and eval code. Since chunks are fixed size windows and the eval checks for the exact source chunk_id, my guess is some of the near misses are cases where retrieval lands on a different chunk from the right document, not a genuinely wrong topic. same_doc_hit like you mentioned would help tell those two failure modes apart. If it's still open I'd like to pick it up, small change to the eval scoring, nothing touching your retrieval code. Happy to open it against your branch or off main, whichever is easier for you, just let me know. |
|
Thanks, Saman. I’d appreciate that. Please open the change against A small test covering exact-chunk, same-document/different-chunk, and wrong-document results would be helpful too. you can tag me and also benjamin, when the PR is ready |
feat(baseline): AMFV MVP pipeline with NICE KISS eval
Summary
This PR implements the full AMFV baseline pipeline from ingestion through evaluation:
Eval setup
The KISS eval set is source-grounded. Each case is generated from a NICE source sentence and stores:
input_text— the passage to verifyexpected_claim— the atomic claim to checkexpected_chunk_id— the relevant source chunkexpected_verdict—strongly_supportedsource_metadata— guideline title, section, NICE IDThe eval runner measures:
retrieval_hit@kscore_pass_rateverdict_match_ratecase_pass_ratemean_best_scoreCurrent results
25-case KISS eval run using Cohere
command-a-03-2025for both decomposition and verification:Notes / limitations
same_doc_hitas a secondary metric alongside strict exact-chunk hit.How to run
1. Set the baseline package path
2. Run the test suite
Expected:
3. Generate the KISS eval set
4. Inspect the eval set
5. Run the full KISS eval
Next steps
same_doc_hitas a secondary retrieval metric