LightRAG/lightrag
clssck dd1413f3eb test(lightrag,examples): add prompt accuracy and quality tests
Add comprehensive test suites for prompt evaluation:
- test_prompt_accuracy.py: 365 lines testing prompt extraction accuracy
- test_prompt_quality_deep.py: 672 lines for deep quality analysis
- Refactor prompt.py to consolidate optimized variants (removed prompt_optimized.py)
- Apply ruff formatting and type hints across 30 files
- Update pyrightconfig.json for static type checking
- Modernize reproduce scripts and examples with improved type annotations
- Sync uv.lock dependencies
2025-12-05 16:39:52 +01:00
..
api test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
entity_resolution test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
evaluation test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
kg test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
llm test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
tools test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
__init__.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
base.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
citation.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
constants.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
exceptions.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
lightrag.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
namespace.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
operate.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
prompt.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
rerank.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
types.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
utils.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
utils_graph.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00