Skip to content

query_stockmarket/query4: eliminate ranking ambiguity#52

Open
Ruiying-Ma wants to merge 1 commit into
mainfrom
fix/stockmarket-query4-explicit-ranking
Open

query_stockmarket/query4: eliminate ranking ambiguity#52
Ruiying-Ma wants to merge 1 commit into
mainfrom
fix/stockmarket-query4-explicit-ranking

Conversation

@Ruiying-Ma
Copy link
Copy Markdown
Collaborator

The original phrasing "top 5 that had more up days than down days" was ambiguous: agents plausibly sorted by absolute up-day count (giving HDB/GTY/MTD/PFE) rather than by surplus (up−down), which is the intended ground truth (MFO/ARGD/HDB/AIN/DTQ).

Rewrite to make the ranking criterion unambiguous:

  • "largest surplus of up days over down days"
  • explicit "Rank by (up days minus down days) descending"
  • separate the filter condition from the ranking criterion

The original phrasing "top 5 that had more up days than down days"
was ambiguous: agents plausibly sorted by absolute up-day count
(giving HDB/GTY/MTD/PFE) rather than by surplus (up−down), which
is the intended ground truth (MFO/ARGD/HDB/AIN/DTQ).

Rewrite to make the ranking criterion unambiguous:
- "largest surplus of up days over down days"
- explicit "Rank by (up days minus down days) descending"
- separate the filter condition from the ranking criterion

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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