:chore: Extract explanations from prediction queries

Created by: jpggvilaca

📝 Description

  • Extract explanation query from prediction queries (usePredictionQuery and usePredictionROIQuery)
  • Update interfaces and unit tests

Follow up:

  • Merge usePredictionQuery with usePredictionROIQuery

Type of Change

Select the type of change your PR introduces:

  • 🐞 Bug fix – Non-breaking change which fixes an issue
  • 🚀 New feature – Non-breaking change which adds functionality
  • 🔨 Refactor – Non-breaking change which refactors the code base
  • 💥 Breaking change – Changes that break existing functionality
  • 📚 Documentation update
  • 🔒 Security update
  • 🧪 Tests

🧪 Testing Scenarios

Describe how the changes were tested and how reviewers can test them too:

  • Tested manually
  • 🤖 Run automated end-to-end tests

Checklist

Before submitting the PR, ensure the following:

  • 🔍 PR title is clear and descriptive
  • 📝 For internal contributors: If applicable, include the JIRA ticket number (e.g., ITEP-123456) in the PR title. Do not include full URLs
  • 💬 I have commented my code, especially in hard-to-understand areas
  • 📄 I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or my feature works

Merge request reports

Loading