Skip to content

Conversation

Orbital-Web
Copy link
Contributor

Description

Added extra error handling to the search quality test script.
Added files to gitignore
Merged two functions which share some steps

How Has This Been Tested?

It runs

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

@Orbital-Web Orbital-Web requested a review from a team as a code owner May 16, 2025 19:17
Copy link

vercel bot commented May 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 7:17pm

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Enhanced error handling and file management in search quality evaluation scripts, focusing on robustness and maintainability.

  • Added file existence checks with clear error messages in /backend/tests/regression/search_quality/generate_search_queries.py and run_search_eval.py
  • Switched to pathlib.Path for more robust file operations across both scripts
  • Added multi-tenant support validation to prevent running in unsupported environments
  • Merged _compute_jaccard_similarity and _compute_average_missing_chunk_ratio into single function for better efficiency
  • Added search quality test patterns (eval-*, search_eval_config.yaml, JSON files) to .gitignore

💡 (3/5) Reply to the bot's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!

3 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

@Orbital-Web Orbital-Web added this pull request to the merge queue May 19, 2025
Merged via the queue into main with commit d64f479 May 19, 2025
11 checks passed
@Orbital-Web Orbital-Web deleted the search-quality-eval-error-handling branch May 19, 2025 21:22
ferdinandl007 pushed a commit to ferdinandl007/onyx that referenced this pull request May 27, 2025
aronszanto pushed a commit to aronszanto/onyx that referenced this pull request May 27, 2025
ZhipengHe pushed a commit to ZhipengHe/onyx that referenced this pull request Jun 6, 2025
AnkitTukatek pushed a commit to TukaTek/onyx that referenced this pull request Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants