ragcheck-cli 0.2.0__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/PKG-INFO +195 -193
  2. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/README.md +8 -8
  3. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/pyproject.toml +8 -6
  4. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/__init__.py +1 -1
  5. ragcheck_cli-0.2.2/ragcheck/analyzers/chunkers.py +193 -0
  6. ragcheck_cli-0.2.2/ragcheck/cli.py +231 -0
  7. ragcheck_cli-0.2.2/ragcheck/core/config.py +47 -0
  8. ragcheck_cli-0.2.2/ragcheck/core/config_loader.py +24 -0
  9. ragcheck_cli-0.2.2/ragcheck/core/document_loader.py +275 -0
  10. ragcheck_cli-0.2.2/ragcheck/core/vector_store.py +172 -0
  11. ragcheck_cli-0.2.2/ragcheck/reports/html_report.py +513 -0
  12. ragcheck_cli-0.2.2/ragcheck/testers/auto_qa.py +122 -0
  13. ragcheck_cli-0.2.2/ragcheck/testers/retrieval_tester.py +113 -0
  14. ragcheck_cli-0.2.2/ragcheck_cli.egg-info/PKG-INFO +195 -0
  15. ragcheck_cli-0.2.2/ragcheck_cli.egg-info/SOURCES.txt +41 -0
  16. ragcheck_cli-0.2.2/ragcheck_cli.egg-info/dependency_links.txt +1 -0
  17. ragcheck_cli-0.2.2/ragcheck_cli.egg-info/entry_points.txt +2 -0
  18. ragcheck_cli-0.2.2/ragcheck_cli.egg-info/requires.txt +20 -0
  19. ragcheck_cli-0.2.2/ragcheck_cli.egg-info/top_level.txt +1 -0
  20. ragcheck_cli-0.2.2/setup.cfg +4 -0
  21. ragcheck_cli-0.2.0/.github/workflows/ragcheck.yml +0 -25
  22. ragcheck_cli-0.2.0/.github/workflows/tests.yml +0 -22
  23. ragcheck_cli-0.2.0/.gitignore +0 -12
  24. ragcheck_cli-0.2.0/CONTRIBUTING.md +0 -31
  25. ragcheck_cli-0.2.0/legal_data/BNSS 2023.pdf +0 -0
  26. ragcheck_cli-0.2.0/legal_data/BNS_2023.pdf +0 -0
  27. ragcheck_cli-0.2.0/legal_data/BSA_2023.pdf +0 -0
  28. ragcheck_cli-0.2.0/ragcheck/analyzers/chunkers.py +0 -289
  29. ragcheck_cli-0.2.0/ragcheck/cli.py +0 -211
  30. ragcheck_cli-0.2.0/ragcheck/core/config.py +0 -75
  31. ragcheck_cli-0.2.0/ragcheck/core/config_loader.py +0 -55
  32. ragcheck_cli-0.2.0/ragcheck/core/document_loader.py +0 -99
  33. ragcheck_cli-0.2.0/ragcheck/core/vector_store.py +0 -81
  34. ragcheck_cli-0.2.0/ragcheck/reports/html_report.py +0 -460
  35. ragcheck_cli-0.2.0/ragcheck/testers/auto_qa.py +0 -221
  36. ragcheck_cli-0.2.0/ragcheck/testers/retrieval_tester.py +0 -185
  37. ragcheck_cli-0.2.0/ragcheck.yaml +0 -27
  38. ragcheck_cli-0.2.0/sample_data/components.txt +0 -1
  39. ragcheck_cli-0.2.0/sample_data/intro.txt +0 -1
  40. ragcheck_cli-0.2.0/tests/__init__.py +0 -1
  41. ragcheck_cli-0.2.0/tests/integration/test_end_to_end.py +0 -74
  42. ragcheck_cli-0.2.0/tests/integration/test_pip_install.py +0 -26
  43. ragcheck_cli-0.2.0/tests/unit/__init__.py +0 -1
  44. ragcheck_cli-0.2.0/tests/unit/test_auto_qa.py +0 -36
  45. ragcheck_cli-0.2.0/tests/unit/test_chunkers.py +0 -150
  46. ragcheck_cli-0.2.0/tests/unit/test_cli.py +0 -44
  47. ragcheck_cli-0.2.0/tests/unit/test_config.py +0 -33
  48. ragcheck_cli-0.2.0/tests/unit/test_embeddings.py +0 -30
  49. ragcheck_cli-0.2.0/tests/unit/test_failure_classifier.py +0 -58
  50. ragcheck_cli-0.2.0/tests/unit/test_html_report.py +0 -73
  51. ragcheck_cli-0.2.0/tests/unit/test_recommender.py +0 -70
  52. ragcheck_cli-0.2.0/tests/unit/test_retrieval_tester.py +0 -97
  53. ragcheck_cli-0.2.0/tests/unit/test_vector_store.py +0 -61
  54. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/CHANGELOG.md +0 -0
  55. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/LICENSE +0 -0
  56. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/MANIFEST.in +0 -0
  57. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/docs/ARCHITECTURE.md +0 -0
  58. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/chunk_demo.py +0 -0
  59. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/classifier_demo.py +0 -0
  60. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/demo.py +0 -0
  61. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/embed_demo.py +0 -0
  62. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/full_pipeline_demo.py +0 -0
  63. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/qa_demo.py +0 -0
  64. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/examples/report_demo.py +0 -0
  65. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/__main__.py +0 -0
  66. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/analyzers/__init__.py +0 -0
  67. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/analyzers/failure_classifier.py +0 -0
  68. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/analyzers/recommender.py +0 -0
  69. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/core/__init__.py +0 -0
  70. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/core/embeddings.py +0 -0
  71. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/core/progress.py +0 -0
  72. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/reports/__init__.py +0 -0
  73. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/reports/chunk_visualizer.py +0 -0
  74. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/reports/export.py +0 -0
  75. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/reports/generator.py +0 -0
  76. {ragcheck_cli-0.2.0 → ragcheck_cli-0.2.2}/ragcheck/testers/__init__.py +0 -0
@@ -1,193 +1,195 @@
1
- Metadata-Version: 2.4
2
- Name: ragcheck-cli
3
- Version: 0.2.0
4
- Summary: Lighthouse for RAG systems diagnose and fix your retrieval pipeline
5
- Project-URL: Homepage, https://github.com/pranay7863/ragcheck
6
- Project-URL: Documentation, https://github.com/pranay7863/ragcheck/blob/main/README.md
7
- Project-URL: Repository, https://github.com/pranay7863/ragcheck
8
- Project-URL: Issues, https://github.com/pranay7863/ragcheck/issues
9
- Author-email: Pranay Mane <pranaymane78@gmail.com>
10
- License: MIT
11
- License-File: LICENSE
12
- Keywords: ai,chunking,diagnostics,evaluation,llm,rag,retrieval
13
- Classifier: Development Status :: 3 - Alpha
14
- Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
- Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
- Classifier: Topic :: Software Development :: Quality Assurance
21
- Requires-Python: >=3.10
22
- Requires-Dist: chromadb>=0.4.0
23
- Requires-Dist: jinja2>=3.1.0
24
- Requires-Dist: litellm>=1.0.0
25
- Requires-Dist: nltk>=3.9.0
26
- Requires-Dist: pydantic>=2.5.0
27
- Requires-Dist: pyyaml>=6.0
28
- Requires-Dist: rich>=13.0.0
29
- Requires-Dist: sentence-transformers>=2.2.0
30
- Requires-Dist: transformers>=4.30.0
31
- Requires-Dist: typer>=0.12.0
32
- Provides-Extra: export
33
- Requires-Dist: playwright>=1.40.0; extra == 'export'
34
- Provides-Extra: pdf
35
- Requires-Dist: pypdf2>=3.0.0; extra == 'pdf'
36
- Provides-Extra: ragas
37
- Requires-Dist: ragas<0.5.0,>=0.4.0; extra == 'ragas'
38
- Description-Content-Type: text/markdown
39
-
40
- # ragcheck - Lighthouse for RAG Systems
41
-
42
- [![PyPI version](https://badge.fury.io/py/ragcheck.svg)](https://badge.fury.io/py/ragcheck)
43
- [![Python](https://img.shields.io/badge/python-3.11%2B-blue)](https://www.python.org/)
44
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
45
-
46
- > One command to diagnose your RAG pipeline and get actionable fixes.
47
-
48
- ```bash
49
- pip install ragcheck
50
- ragcheck init
51
- ragcheck run --docs ./data --query "What is Article 370?"
52
- ```
53
-
54
- ## What is ragcheck?
55
-
56
- **ragcheck** is a lightweight, one-command diagnostic CLI that generates a beautiful, shareable HTML report analyzing why your RAG system fails and how to fix it.
57
-
58
- Think of it as **Lighthouse for RAG systems** just like Lighthouse audits web pages, ragcheck audits your retrieval pipeline.
59
-
60
- ## Features
61
-
62
- - **Auto-Generated Test Suite** - 50 synthetic questions from your documents
63
- - **Chunk Visualizer** - See exactly where your chunking breaks
64
- - **Retrieval Heatmap** - Identify dead chunks and dominant chunks
65
- - **Failure Classification** - Know WHY your RAG fails, not just THAT it fails
66
- - **Actionable Recommendations** - Specific fixes with predicted impact
67
- - **CI/CD Integration** - Fail builds when RAG quality regresses
68
-
69
- ## Quick Start
70
-
71
- ### Installation
72
-
73
- ```bash
74
- pip install ragcheck
75
- ```
76
-
77
- Or with [uv](https://github.com/astral-sh/uv):
78
-
79
- ```bash
80
- uv tool install ragcheck
81
- ```
82
-
83
- ### Initialize
84
-
85
- ```bash
86
- ragcheck init
87
- ```
88
-
89
- Creates a `ragcheck.yaml` config file in your project.
90
-
91
- ### Run Analysis
92
-
93
- ```bash
94
- ragcheck run --docs ./data --query "Your test query"
95
- ```
96
-
97
- Generates `ragcheck_report.html` with:
98
- - Scorecards (retrieval accuracy, faithfulness)
99
- - Chunk boundary visualization
100
- - Retrieval heatmap
101
- - Failure mode classification
102
- - Before/after score predictions
103
-
104
- ### CI Mode
105
-
106
- ```bash
107
- ragcheck run --docs ./data --ci --min-score 0.80
108
- ```
109
-
110
- Returns exit code 0/1. Use in GitHub Actions to fail builds on quality regression.
111
-
112
- ## Example Report
113
-
114
- ![ragcheck report](https://raw.githubusercontent.com/yourusername/ragcheck/main/docs/report-screenshot.png)
115
-
116
- ## Architecture
117
-
118
- ```
119
- ragcheck CLI
120
- ├── Chunk Analyzer (6 strategies + benchmark)
121
- ├── Retriever Tester (auto-QA + dense retrieval)
122
- ├── Failure Classifier (4 failure modes)
123
- ├── Recommendation Engine (decision tree)
124
- └── Report Engine (Jinja2 + CSS/HTML HTML)
125
- ```
126
-
127
- ## Tech Stack
128
-
129
- | Component | Tool |
130
- |-----------|------|
131
- | CLI | Typer + Rich |
132
- | Config | Pydantic |
133
- | Embeddings | sentence-transformers |
134
- | Vector DB | ChromaDB |
135
- | LLM Interface | LiteLLM |
136
- | Reports | Jinja2 + CSS/HTML |
137
-
138
- ## Configuration
139
-
140
- `ragcheck.yaml`:
141
-
142
- ```yaml
143
- project_name: ragcheck
144
- docs_path: ./data
145
- chunking:
146
- strategy: recursive
147
- chunk_size: 512
148
- chunk_overlap: 128
149
- llm:
150
- provider: openai
151
- model: gpt-3.5-turbo
152
- retrieval:
153
- top_k: 5
154
- similarity_threshold: 0.7
155
- report:
156
- format: html
157
- include_heatmap: true
158
- ```
159
-
160
- ## Development
161
-
162
- ```bash
163
- git clone https://github.com/pranay7863/ragcheck.git
164
- cd ragcheck
165
- uv sync
166
- uv run pytest
167
- uv run ruff check .
168
- uv run mypy ragcheck/
169
- ```
170
-
171
- ## Contributing
172
-
173
- See [CONTRIBUTING.md](CONTRIBUTING.md)
174
-
175
- ## License
176
-
177
- MIT — see [LICENSE](LICENSE)
178
-
179
- ## Roadmap
180
-
181
- - [x] v0.2.0 — Offline reports, NLI faithfulness, scaled auto-QA, chunk viz
182
- - [ ] v0.3.0 — More vector DBs (Pinecone, Weaviate)
183
- - [ ] v0.3.0 — SaaS API for teams
184
- - [ ] v0.4.0 — Enterprise features (SSO, audit logs)
185
-
186
- ## Support
187
-
188
- - [GitHub Issues](https://github.com/pranay7863/ragcheck/issues)
189
- - Twitter: [@ypranay53](https://twitter.com/pranay53)
190
-
191
- ---
192
-
193
- **Built with discipline.** Read the [blueprint](docs/ARCHITECTURE.md) that started it all.
1
+ Metadata-Version: 2.4
2
+ Name: ragcheck-cli
3
+ Version: 0.2.2
4
+ Summary: Lighthouse for RAG systems - diagnose and fix your retrieval pipeline
5
+ Author-email: Pranay Mane <pranaymane78@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/pranay7863/ragcheck
8
+ Project-URL: Documentation, https://github.com/pranay7863/ragcheck/blob/main/README.md
9
+ Project-URL: Repository, https://github.com/pranay7863/ragcheck
10
+ Project-URL: Issues, https://github.com/pranay7863/ragcheck/issues
11
+ Keywords: rag,llm,evaluation,retrieval,ai,chunking,diagnostics
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
19
+ Classifier: Topic :: Software Development :: Quality Assurance
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: typer>=0.12.0
24
+ Requires-Dist: rich>=13.0.0
25
+ Requires-Dist: jinja2>=3.1.0
26
+ Requires-Dist: nltk>=3.9.0
27
+ Requires-Dist: pydantic>=2.5.0
28
+ Requires-Dist: litellm>=1.0.0
29
+ Requires-Dist: sentence-transformers>=2.2.0
30
+ Requires-Dist: chromadb>=0.4.0
31
+ Requires-Dist: PyYAML>=6.0
32
+ Requires-Dist: transformers>=4.30.0
33
+ Requires-Dist: pdfplumber>=0.10.0
34
+ Provides-Extra: pdf
35
+ Requires-Dist: PyPDF2>=3.0.0; extra == "pdf"
36
+ Provides-Extra: export
37
+ Requires-Dist: playwright>=1.40.0; extra == "export"
38
+ Provides-Extra: ragas
39
+ Requires-Dist: ragas<0.5.0,>=0.4.0; extra == "ragas"
40
+ Dynamic: license-file
41
+
42
+ # ragcheck - Lighthouse for RAG Systems
43
+
44
+ [![PyPI version](https://badge.fury.io/py/ragcheck-cli.svg)](https://badge.fury.io/py/ragcheck-cli)
45
+ [![Python](https://img.shields.io/badge/python-3.11%2B-blue)](https://www.python.org/)
46
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
47
+
48
+ > One command to diagnose your RAG pipeline and get actionable fixes.
49
+
50
+ ```bash
51
+ pip install ragcheck-cli
52
+ ragcheck init
53
+ ragcheck run --docs ./data --query "What is Article 370?"
54
+ ```
55
+
56
+ ## What is ragcheck?
57
+
58
+ **ragcheck** is a lightweight, one-command diagnostic CLI that generates a beautiful, shareable HTML report analyzing why your RAG system fails and how to fix it.
59
+
60
+ Think of it as **Lighthouse for RAG systems** — just like Lighthouse audits web pages, ragcheck audits your retrieval pipeline.
61
+
62
+ ## Features
63
+
64
+ - **Auto-Generated Test Suite** - 50 synthetic questions from your documents
65
+ - **Chunk Visualizer** - See exactly where your chunking breaks
66
+ - **Retrieval Heatmap** - Identify dead chunks and dominant chunks
67
+ - **Failure Classification** - Know WHY your RAG fails, not just THAT it fails
68
+ - **Actionable Recommendations** - Specific fixes with predicted impact
69
+ - **CI/CD Integration** - Fail builds when RAG quality regresses
70
+
71
+ ## Quick Start
72
+
73
+ ### Installation
74
+
75
+ ```bash
76
+ pip install ragcheck-cli
77
+ ```
78
+
79
+ Or with [uv](https://github.com/astral-sh/uv):
80
+
81
+ ```bash
82
+ uv tool install ragcheck-cli
83
+ ```
84
+
85
+ ### Initialize
86
+
87
+ ```bash
88
+ ragcheck init
89
+ ```
90
+
91
+ Creates a `ragcheck.yaml` config file in your project.
92
+
93
+ ### Run Analysis
94
+
95
+ ```bash
96
+ ragcheck run --docs ./data --query "Your test query"
97
+ ```
98
+
99
+ Generates `ragcheck_report.html` with:
100
+ - Scorecards (retrieval accuracy, faithfulness)
101
+ - Chunk boundary visualization
102
+ - Retrieval heatmap
103
+ - Failure mode classification
104
+ - Before/after score predictions
105
+
106
+ ### CI Mode
107
+
108
+ ```bash
109
+ ragcheck run --docs ./data --ci --min-score 0.80
110
+ ```
111
+
112
+ Returns exit code 0/1. Use in GitHub Actions to fail builds on quality regression.
113
+
114
+ ## Example Report
115
+
116
+ ![ragcheck report](https://raw.githubusercontent.com/pranay7863/ragcheck/main/docs/report-screenshot.png)
117
+
118
+ ## Architecture
119
+
120
+ ```
121
+ ragcheck CLI
122
+ ├── Chunk Analyzer (6 strategies + benchmark)
123
+ ├── Retriever Tester (auto-QA + dense retrieval)
124
+ ├── Failure Classifier (4 failure modes)
125
+ ├── Recommendation Engine (decision tree)
126
+ └── Report Engine (Jinja2 + CSS/HTML)
127
+ ```
128
+
129
+ ## Tech Stack
130
+
131
+ | Component | Tool |
132
+ |-----------|------|
133
+ | CLI | Typer + Rich |
134
+ | Config | Pydantic |
135
+ | Embeddings | sentence-transformers |
136
+ | Vector DB | ChromaDB |
137
+ | LLM Interface | LiteLLM |
138
+ | Reports | Jinja2 + CSS/HTML |
139
+
140
+ ## Configuration
141
+
142
+ `ragcheck.yaml`:
143
+
144
+ ```yaml
145
+ project_name: ragcheck
146
+ docs_path: ./data
147
+ chunking:
148
+ strategy: recursive
149
+ chunk_size: 512
150
+ chunk_overlap: 128
151
+ llm:
152
+ provider: openai
153
+ model: gpt-3.5-turbo
154
+ retrieval:
155
+ top_k: 5
156
+ similarity_threshold: 0.7
157
+ report:
158
+ format: html
159
+ include_heatmap: true
160
+ ```
161
+
162
+ ## Development
163
+
164
+ ```bash
165
+ git clone https://github.com/pranay7863/ragcheck.git
166
+ cd ragcheck
167
+ uv sync
168
+ uv run pytest
169
+ uv run ruff check .
170
+ uv run mypy ragcheck/
171
+ ```
172
+
173
+ ## Contributing
174
+
175
+ See [CONTRIBUTING.md](CONTRIBUTING.md)
176
+
177
+ ## License
178
+
179
+ MIT — see [LICENSE](LICENSE)
180
+
181
+ ## Roadmap
182
+
183
+ - [x] v0.2.0 — Offline reports, NLI faithfulness, scaled auto-QA, chunk viz
184
+ - [ ] v0.3.0 — More vector DBs (Pinecone, Weaviate)
185
+ - [ ] v0.3.0 — SaaS API for teams
186
+ - [ ] v0.4.0 — Enterprise features (SSO, audit logs)
187
+
188
+ ## Support
189
+
190
+ - [GitHub](https://github.com/pranay7863/ragcheck)
191
+ - Twitter: [@mane_pranay](https://twitter.com/mane_pranay)
192
+
193
+ ---
194
+
195
+ **Built with discipline.** Read the [blueprint](docs/ARCHITECTURE.md) that started it all.
@@ -1,13 +1,13 @@
1
1
  # ragcheck - Lighthouse for RAG Systems
2
2
 
3
- [![PyPI version](https://badge.fury.io/py/ragcheck.svg)](https://badge.fury.io/py/ragcheck)
3
+ [![PyPI version](https://badge.fury.io/py/ragcheck-cli.svg)](https://badge.fury.io/py/ragcheck-cli)
4
4
  [![Python](https://img.shields.io/badge/python-3.11%2B-blue)](https://www.python.org/)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
 
7
7
  > One command to diagnose your RAG pipeline and get actionable fixes.
8
8
 
9
9
  ```bash
10
- pip install ragcheck
10
+ pip install ragcheck-cli
11
11
  ragcheck init
12
12
  ragcheck run --docs ./data --query "What is Article 370?"
13
13
  ```
@@ -32,13 +32,13 @@ Think of it as **Lighthouse for RAG systems** — just like Lighthouse audits we
32
32
  ### Installation
33
33
 
34
34
  ```bash
35
- pip install ragcheck
35
+ pip install ragcheck-cli
36
36
  ```
37
37
 
38
38
  Or with [uv](https://github.com/astral-sh/uv):
39
39
 
40
40
  ```bash
41
- uv tool install ragcheck
41
+ uv tool install ragcheck-cli
42
42
  ```
43
43
 
44
44
  ### Initialize
@@ -72,7 +72,7 @@ Returns exit code 0/1. Use in GitHub Actions to fail builds on quality regressio
72
72
 
73
73
  ## Example Report
74
74
 
75
- ![ragcheck report](https://raw.githubusercontent.com/yourusername/ragcheck/main/docs/report-screenshot.png)
75
+ ![ragcheck report](https://raw.githubusercontent.com/pranay7863/ragcheck/main/docs/report-screenshot.png)
76
76
 
77
77
  ## Architecture
78
78
 
@@ -82,7 +82,7 @@ ragcheck CLI
82
82
  ├── Retriever Tester (auto-QA + dense retrieval)
83
83
  ├── Failure Classifier (4 failure modes)
84
84
  ├── Recommendation Engine (decision tree)
85
- └── Report Engine (Jinja2 + CSS/HTML HTML)
85
+ └── Report Engine (Jinja2 + CSS/HTML)
86
86
  ```
87
87
 
88
88
  ## Tech Stack
@@ -146,8 +146,8 @@ MIT — see [LICENSE](LICENSE)
146
146
 
147
147
  ## Support
148
148
 
149
- - [GitHub Issues](https://github.com/pranay7863/ragcheck/issues)
150
- - Twitter: [@ypranay53](https://twitter.com/pranay53)
149
+ - [GitHub](https://github.com/pranay7863/ragcheck)
150
+ - Twitter: [@mane_pranay](https://twitter.com/mane_pranay)
151
151
 
152
152
  ---
153
153
 
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "ragcheck-cli"
3
- version = "0.2.0"
4
- description = "Lighthouse for RAG systems diagnose and fix your retrieval pipeline"
3
+ version = "0.2.2"
4
+ description = "Lighthouse for RAG systems - diagnose and fix your retrieval pipeline"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
7
7
  requires-python = ">=3.10"
@@ -31,6 +31,7 @@ dependencies = [
31
31
  "chromadb>=0.4.0",
32
32
  "PyYAML>=6.0",
33
33
  "transformers>=4.30.0",
34
+ "pdfplumber>=0.10.0",
34
35
  ]
35
36
 
36
37
  [project.optional-dependencies]
@@ -48,11 +49,12 @@ Repository = "https://github.com/pranay7863/ragcheck"
48
49
  Issues = "https://github.com/pranay7863/ragcheck/issues"
49
50
 
50
51
  [build-system]
51
- requires = ["hatchling"]
52
- build-backend = "hatchling.build"
52
+ requires = ["setuptools>=61.0", "wheel"]
53
+ build-backend = "setuptools.build_meta"
53
54
 
54
- [tool.hatch.build.targets.wheel]
55
- packages = ["src/ragcheck"]
55
+ [tool.setuptools.packages.find]
56
+ where = ["."]
57
+ include = ["ragcheck*"]
56
58
 
57
59
  [tool.ruff]
58
60
  line-length = 100
@@ -1,3 +1,3 @@
1
1
  """ragcheck — Lighthouse for RAG systems."""
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.2"