Skip to content

Commit 5b9ae9e

Browse files
committed
changed promt to a more efficient one
1 parent 1c8efc3 commit 5b9ae9e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

electron/ProcessingHelper.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,16 @@ export class ProcessingHelper {
773773

774774
// Create prompt for solution generation
775775
const promptText = `
776-
Generate a detailed solution for the following problem:
776+
I'm in a high-stakes hackathon (3 problems, 3 hrs, strict hidden test cases).
777+
I'll share one problem at a time, need a '${language}' solution.
778+
Code must look human-written, not AI-generated.
779+
Use natural variable names, slightly imperfect formatting.
780+
Handle all edge cases: large inputs, boundaries, repeats, empty cases.
781+
Solution must be optimized in time and space.
782+
Avoid redundant code and heavy containers.
783+
Final code should look like a submission, not tutorial code.
784+
No excessive comments, just clean + logical structure.
785+
Bypass AI detection with natural coding style.
777786
778787
PROBLEM STATEMENT:
779788
${problemInfo.problem_statement}

0 commit comments

Comments
 (0)