This repository was archived by the owner on Dec 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # Debug Failing Comparison Utility
2+
3+ ## Context
4+ The current context is a <PROGRAMMING LANGUAGE > project designed to test the
5+ MongoDB <DRIVER > Driver code examples shown in the MongoDB documentation.
6+
7+ This project contains a utility that compares the actual output from running a
8+ code example against a defined, expected output. The entrypoint for that
9+ utility is <ENTRYPOINT_FILEPATH>.
10+
11+ ## Problem Statement
12+
13+ A specific test is executing a function from an example file and comparing its
14+ output to the expected output defined in <EXPECTED_OUTPUT_PATH_OR_VAR>. The
15+ test currently fails because the utility returns ` false ` , indicating that the
16+ actual and expected outputs differ, but they should match. This suggests an
17+ issue in the comparison utility's implementation.
18+
19+ ## Constraints
20+
21+ - Do not modify the example file or expected output.
22+
23+ ## Task
24+
25+ - Investigate and debug why the comparison utility returns false for this case.
26+ - Fix any issues found in the comparison utility.
27+ - (Optional but recommended) If helpful, update or add tests for identified
28+ edge cases to ensure robustness and to prevent future regressions.
29+
30+ If you need more information (such as sample actual/expected outputs or error
31+ messages), let me know.
32+
33+ ## Success Criteria
34+
35+ The comparison utility should return ` true ` when the actual and expected
36+ outputs match for this test.
You can’t perform that action at this time.
0 commit comments