Skip to content

EAI-2397: Add realistic user queries for Query Insights - #248

Open
mongodben wants to merge 1 commit into
cursor/eai-2397-real-derived-cases-9b9afrom
cursor/eai-2397-user-prompts-9b9a
Open

mongodben wants to merge 1 commit into
cursor/eai-2397-real-derived-cases-9b9afrom
cursor/eai-2397-user-prompts-9b9a

Conversation

@mongodben

@mongodben mongodben commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Jira: https://jira.mongodb.org/browse/EAI-2397

Why this change

  • Every report case opens with the same message. Real users word the request in other ways, and some are terse or ask for more than the report covers.

Changes

  • Adds query-insights-realistic-user-queries: seven cases on ported seeds, each with its own user message.
  • The messages cover a visitor lookup, an admissions report, a task list, an expense API, distinct products, a terse request and an exact command.
  • Registers the dataset in src/cli.ts.

Notes

  • The seeds and expectations come from the ported cases. Only the user message is new.
  • Each case copies the expected suggested indexes and reference of the case whose seed it reads. The same checks apply to a new wording.
  • The messages are hand-written, not taken from real users. The one-off generator is not committed.
  • Tests: the porting and query-insights suites pass at this commit.
  • Stacked on cursor/eai-2397-real-derived-cases-9b9a.
Open in Web Open in Cursor 

@mongodben
mongodben added this pull request to stack #255 November 3, 2026 20:27
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch from e42f824 to d8c5478 Compare November 4, 2026 19:12
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch 2 times, most recently from 2e6d44d to c97905a Compare November 4, 2026 19:29
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch from c97905a to c0a1f7b Compare November 4, 2026 19:35
@mongodben
mongodben removed this pull request from stack #255 November 4, 2026 19:36
@mongodben
mongodben added this pull request to stack #262 November 4, 2026 19:36
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch from c0a1f7b to 46285dd Compare November 4, 2026 19:46
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch from 46285dd to 69eb871 Compare November 4, 2026 19:53
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch from 69eb871 to ba2fb2c Compare November 4, 2026 20:17
Seven hand-written user queries on the ported seeds, in their own dataset. Each case copies its expectations from the ported case it reads, so a query only changes how the user asks.
@cursor
cursor Bot force-pushed the cursor/eai-2397-user-prompts-9b9a branch from ba2fb2c to c04811c Compare November 4, 2026 21:27
@cursor cursor Bot changed the title EAI-2397: Add realistic user prompts for Query Insights EAI-2397: Add realistic user queries for Query Insights Nov 4, 2026
@mongodben
mongodben marked this pull request as ready for review November 4, 2026 21:28
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.

2 participants