From 1b3d5fe92d6aaf5a7e62a64f538f57f5eba883ba Mon Sep 17 00:00:00 2001 From: Ruiying-Ma Date: Thu, 21 May 2026 15:42:14 -0700 Subject: [PATCH] query_stockmarket/query4: eliminate ranking ambiguity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- query_stockmarket/query4/query.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query_stockmarket/query4/query.json b/query_stockmarket/query4/query.json index 0b528dd131..5b82ae7f94 100644 --- a/query_stockmarket/query4/query.json +++ b/query_stockmarket/query4/query.json @@ -1 +1 @@ -"What are the names (not symbol) of the top 5 non-ETF stocks listed on the New York Stock Exchange (NYSE) that had more up days than down days in 2017? (Up days: closing price > opening price; Down days: closing price < opening price)" \ No newline at end of file +"What are the names (not symbol) of the top 5 non-ETF stocks listed on the New York Stock Exchange (NYSE) with the largest surplus of up days over down days in 2017? Rank by (up days minus down days) descending. Only include stocks where up days exceed down days. (Up days: closing price > opening price; Down days: closing price < opening price)" \ No newline at end of file