WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit 0e3163d

Browse files
committed
Share the utility debugging prompt I've been using
1 parent 1f8e850 commit 0e3163d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

prompts/comparison-util-debug.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The current context is a <PROGRAMMING LANGUAGE> project designed to test the
2+
MongoDB <DRIVER> Driver code examples we show in the MongoDB documentation.
3+
4+
This project contains a utility to compare the actual output from running a
5+
code example with the expected output we define. The entrypoint for that
6+
utility is: <FILEPATH>
7+
8+
The current test is running a function from an example file and comparing the
9+
output to the expected output in <FILEPATH or VAR NAME>. The test currently
10+
shows that these things don't match, but they should match. I believe this is
11+
due to an issue with the comparison utility implementation.
12+
13+
Help me debug why the comparison utility is returning false for this, and fix
14+
any issues we find in the comparison library implementation, without making any
15+
changes to the example file or expected output.

0 commit comments

Comments
 (0)