Skip to content

Conversation

@Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Nov 19, 2025

This update follows a few philosophies:

  1. use the number matched, number scanned, number total to inform the user
  2. give as much information to the user as possible about what was done to compute the results
  3. never display the same number more than once as it is repetitive/redundant
Spans image
Logs image

This update follows a few philosophies:
1. use the number matched, number scanned, number total to inform the user
2. give as much information to the user as possible about what was done to compute the results
3. never display the same number more than once as it is repetitive/redundant
@Zylphrex Zylphrex marked this pull request as ready for review November 20, 2025 15:11
@Zylphrex Zylphrex requested review from a team as code owners November 20, 2025 15:11
downsampledLogsCount,
allLogsCount,
tooltip: downsampledTooltip,
totalLogsCount,
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Full scan with user query misrepresents results as estimated

When a user query is provided and a full scan is performed, the footer incorrectly labels results with "Estimated from X matches", implying uncertainty from sampling. Since a full scan scanned all available data without sampling, the results are actual counts, not estimates. The word "Estimated" is misleading in this context. Additionally, this code path is currently untested and uses maybeWarning and maybeTooltip which are always null when dataScanned === 'full', making the output inconsistent with the intended user-facing meaning.

Fix in Cursor Fix in Web

@Zylphrex Zylphrex merged commit 017e419 into master Nov 20, 2025
49 checks passed
@Zylphrex Zylphrex deleted the txiao/feat/update-confidence-footer-again branch November 20, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants