LightRAG/lightrag
anouarbm 949bfc4228 fix: Apply ruff formatting and rename test_dataset to sample_dataset
**Lint Fixes (ruff)**:
- Sort imports alphabetically (I001)
- Add blank line after import traceback (E302)
- Add trailing comma to dict literals (COM812)
- Reformat writer.writerow for readability (E501)

**Rename test_dataset.json → sample_dataset.json**:
- Avoids .gitignore pattern conflict (test_* is ignored)
- More descriptive name - it's a sample/template, not actual test data
- Updated all references in eval_rag_quality.py and README.md

Resolves lint-and-format CI check failure.
Addresses reviewer feedback about test dataset naming.

(cherry picked from commit 5cdb4b0ef2)
2025-12-04 19:11:08 +08:00
..
api fix(docs): correct typo "acivate" → "activate" 2025-12-04 19:11:08 +08:00
evaluation fix: Apply ruff formatting and rename test_dataset to sample_dataset 2025-12-04 19:11:08 +08:00
kg Add retry decorators to Neo4j read operations for resilience 2025-12-04 19:09:08 +08:00
llm feat: add optional Langfuse observability integration 2025-12-04 19:11:08 +08:00
models tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
services tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tools Improve LightRAG initialization checker tool with better usage docs 2025-12-04 19:09:05 +08:00
__init__.py Bump core version to 1.4.9.1 2025-09-28 15:25:02 +08:00
base.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
constants.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
exceptions.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
lightrag.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
namespace.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
operate.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
prompt.py Improve prompt clarity by standardizing terminology and formatting 2025-09-28 13:31:55 +08:00
rerank.py Improve edge case handling for max_tokens=1 2025-12-04 19:09:07 +08:00
security.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tenant_rag_manager.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
types.py Add is_truncated to graph query for NetworkX graph db 2025-04-02 22:12:20 +08:00
utils.py Optimize JSON write with fast/slow path to reduce memory usage 2025-12-04 19:09:04 +08:00
utils_context.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
utils_graph.py Improve entity merge logging by removing redundant message and fixing typo 2025-12-04 19:09:02 +08:00