ragcheck-cli 0.2.7__tar.gz → 0.2.9__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.
- {ragcheck_cli-0.2.7/ragcheck_cli.egg-info → ragcheck_cli-0.2.9}/PKG-INFO +1 -1
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/pyproject.toml +1 -1
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/__init__.py +1 -1
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/cli.py +2 -2
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/progress.py +3 -3
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9/ragcheck_cli.egg-info}/PKG-INFO +1 -1
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/CHANGELOG.md +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/LICENSE +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/MANIFEST.in +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/README.md +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/docs/ARCHITECTURE.md +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/chunk_demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/classifier_demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/embed_demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/full_pipeline_demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/qa_demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/examples/report_demo.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/__main__.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/analyzers/__init__.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/analyzers/chunkers.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/analyzers/failure_classifier.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/analyzers/recommender.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/__init__.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/config.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/config_loader.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/document_loader.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/embeddings.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/core/vector_store.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/reports/__init__.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/reports/chunk_visualizer.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/reports/export.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/reports/generator.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/reports/html_report.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/testers/__init__.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/testers/auto_qa.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck/testers/retrieval_tester.py +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck_cli.egg-info/SOURCES.txt +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck_cli.egg-info/dependency_links.txt +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck_cli.egg-info/entry_points.txt +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck_cli.egg-info/requires.txt +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/ragcheck_cli.egg-info/top_level.txt +0 -0
- {ragcheck_cli-0.2.7 → ragcheck_cli-0.2.9}/setup.cfg +0 -0
|
@@ -21,7 +21,7 @@ from ragcheck.analyzers.chunkers import Chunker
|
|
|
21
21
|
from ragcheck.analyzers.failure_classifier import FailureClassifier
|
|
22
22
|
from ragcheck.analyzers.recommender import Recommender
|
|
23
23
|
from ragcheck.testers.auto_qa import AutoQA, generate_dummy_questions
|
|
24
|
-
from ragcheck.testers.retrieval_tester import RetrievalTester
|
|
24
|
+
from ragcheck.testers.retrieval_tester import RetrievalTester, TestQuestion
|
|
25
25
|
from ragcheck.reports.generator import ReportGenerator
|
|
26
26
|
from ragcheck.reports.html_report import HTMLReport
|
|
27
27
|
|
|
@@ -131,7 +131,7 @@ def run(
|
|
|
131
131
|
questions = []
|
|
132
132
|
if query:
|
|
133
133
|
# Single query mode — create question from user query
|
|
134
|
-
questions.append(
|
|
134
|
+
questions.append(TestQuestion(
|
|
135
135
|
question=query,
|
|
136
136
|
expected_answer="", # Will be filled by retrieval
|
|
137
137
|
source_chunks=[query], # Use query as proxy for source
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from rich.console import Console
|
|
4
4
|
from rich.progress import (
|
|
5
5
|
BarColumn,
|
|
6
|
-
Progress,
|
|
6
|
+
Progress as RichProgress,
|
|
7
7
|
SpinnerColumn,
|
|
8
8
|
TextColumn,
|
|
9
9
|
TimeElapsedColumn,
|
|
@@ -13,9 +13,9 @@ from rich.progress import (
|
|
|
13
13
|
console = Console()
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
def get_progress() ->
|
|
16
|
+
def get_progress() -> RichProgress:
|
|
17
17
|
"""Get a pre-configured Rich Progress instance."""
|
|
18
|
-
return
|
|
18
|
+
return RichProgress(
|
|
19
19
|
SpinnerColumn(),
|
|
20
20
|
TextColumn("[progress.description]{task.description}"),
|
|
21
21
|
BarColumn(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|