Skip to content

improvement(search): follow Jira summaries holding every term with those holding half of them - #9121

Merged
waleedlatif1 merged 2 commits into
stagingfrom
improvement/jira-summary-tiers
Oct 16, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
improvement/jira-summary-tiers

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Type of Change

  • Improvement

Testing

  • atlassian.test.ts: new case for every-term summaries followed by half-term summaries; reverting to either-tier selection and removing the dedupe each turn it red; lib/sim-search/live suite passes (334 tests)
  • Three-way offline replay on a large production Jira (read-only), 60 distinct plain queries from real client sessions, pooled blind relevance labels per query, two independent judges: against the shipped rule this changes 1 of 23 overflowing queries (relevant in the top 10 0 → 5), 0 worse, 22 identical, under both judges; relevant issues in the top 10 across all 23: today's page 32/35, shipped 77/95, this 82/103 (first/second judge)

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 16, 2026 6:38am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

Jira searches now place summaries holding at least half the query terms after summaries holding every term, before the remaining original results.

  • Jira search puts partial summary matches after exact ones.

No actionable issues found. Tests were inspected but not run.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Every-term summaries] --> D[Combine in order]
  B[Half-term summaries, most terms first] --> D
  C[Original all-term page] --> D
  D --> E[Keep first copy of each issue]
  E --> F[Apply page limit]
Loading

Reviews (1) · Last reviewed commit: "improvement(search): dedupe the Jira sum..." · Reviewed by Greptile

@waleedlatif1
waleedlatif1 merged commit adbbe18 into staging Oct 16, 2026
53 checks passed
@waleedlatif1
waleedlatif1 deleted the improvement/jira-summary-tiers branch October 16, 2026 07:53

This branch was previously deployed

1 inactive deployment
Preview — 5257c825 Deployed Oct 16, 2026 by vercel[bot]
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.

1 participant