From 5e06ab3b92e8db470ead537e1dcbcda40bbc6696 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Mon, 13 Oct 2025 06:22:56 -0700 Subject: [PATCH] Feat: Update prompt instructions for LLMs --- tests/2_convex_hull/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/2_convex_hull/test.js b/tests/2_convex_hull/test.js index 248e264..d6337e8 100644 --- a/tests/2_convex_hull/test.js +++ b/tests/2_convex_hull/test.js @@ -1,5 +1,7 @@ export default { prompt: ` +// Your goal is to write a production-ready and maintainable JavaScript function. Apply code-golfing practices without sacrificing readability by putting everything on one line. Do not include any comments in your code. +// // Write an async JavaScript function 'findConvexHull' that finds the convex hull of a set of 2D points using the Monotone Chain algorithm. // - The function must accept an array of points, e.g., [{x: 0, y: 3}, {x: 1, y: 1}, ...]. // - You MUST use a dynamic import() to load the 'lodash' library from a CDN for sorting and uniqueness operations.