Download tests/test_framework_rag_e2e.py from Angshul/Bayesian_LangGraph: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/Angshul/Bayesian_LangGraph/resolve/main/tests/test_framework_rag_e2e.py
- Command line
-
hf download hf://Angshul/Bayesian_LangGraph/tests/test_framework_rag_e2e.py
-
curl -L -o test_framework_rag_e2e.py https://huggingface.co/Angshul/Bayesian_LangGraph/resolve/main/tests/test_framework_rag_e2e.py
405 Bytes
| from evaluation.framework_rag_benchmark import run_framework_benchmark | |
| def test_real_langgraph_stategraph_rag_suite(): | |
| result = run_framework_benchmark() | |
| assert result["clean"]["passed"] == result["clean"]["n_cases"] == 8 | |
| assert result["conflict"]["passed"] == result["conflict"]["n_cases"] == 18 | |
| assert {"retrieve", "assess", "generate", "abstain"}.issubset(result["stategraph_nodes"]) | |