Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openagent_eval/diagnosis/chunking.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _check_content_gaps(
"will", "about", "into", "your", "some", "than",
}
question_words = set(
w.lower() for w in re.findall(r"\b[a-zA-Z]{4,}\b", question)
w.lower() for w in re.findall(r"\b\w{4,}\b", question)
) - stop_words
if not question_words:
return issues
Expand Down
2 changes: 1 addition & 1 deletion openagent_eval/providers/base/retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from openagent_eval.providers.base.models import Document
from openagent_eval.providers.models import Document


class Retriever(ABC):
Expand Down
Loading