cognee/evals/eval_framework/benchmark_adapters
alekszievr 17231de5d0
Test: Parse context pieces separately in MusiqueQAAdapter and adjust tests [cog-1234] (#561)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Updated evaluation checks by removing assertions related to the
relationship between `corpus_list` and `qa_pairs`, now focusing solely
on `qa_pairs` limits.

- **Refactor**
- Improved content processing to append each paragraph individually to
`corpus_list`, enhancing clarity in data structure.
- Simplified type annotations in the `load_corpus` method across
multiple adapters, ensuring consistency in return types.

- **Chores**
- Updated dependency installation commands in GitHub Actions workflows
for Python 3.10, 3.11, and 3.12 to include additional evaluation-related
dependencies.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-02-20 14:23:53 +01:00
..
__init__.py feat: Cognee evaluation framework development (#498) 2025-02-11 16:31:54 +01:00
base_benchmark_adapter.py feat: Cognee evaluation framework development (#498) 2025-02-11 16:31:54 +01:00
benchmark_adapters.py Cog 1293 corpus builder custom cognify tasks (#527) 2025-02-12 16:44:08 +01:00
dummy_adapter.py Test: Parse context pieces separately in MusiqueQAAdapter and adjust tests [cog-1234] (#561) 2025-02-20 14:23:53 +01:00
hotpot_qa_adapter.py Test: Parse context pieces separately in MusiqueQAAdapter and adjust tests [cog-1234] (#561) 2025-02-20 14:23:53 +01:00
musique_adapter.py Test: Parse context pieces separately in MusiqueQAAdapter and adjust tests [cog-1234] (#561) 2025-02-20 14:23:53 +01:00
twowikimultihop_adapter.py Test: Parse context pieces separately in MusiqueQAAdapter and adjust tests [cog-1234] (#561) 2025-02-20 14:23:53 +01:00