Difference between revisions of "Template:PromptCode Instruction"
Jump to navigation
Jump to search
(Created page with "'''PromptCode challenge:''' * Given the following code, use an LLM to generate a snippet of code that will function the same. * You can't cheat, which are basically: ** Feed...") |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
* Given the following code, use an LLM to generate a snippet of code that will function the same. | * Given the following code, use an LLM to generate a snippet of code that will function the same. | ||
| − | * You can't cheat, which are basically: | + | * You can't ''cheat'', which are basically: |
** Feed this code to an LLM and ask it to output the exact same thing. | ** Feed this code to an LLM and ask it to output the exact same thing. | ||
** Write this code in other languages and ask an LLM to rewrite in Python. | ** Write this code in other languages and ask an LLM to rewrite in Python. | ||
** Prompt LLM the logic of this code line-by-line. | ** Prompt LLM the logic of this code line-by-line. | ||
* You can prompt as many time as you want. | * You can prompt as many time as you want. | ||
| − | ** Easy mode: conversation style | + | ** Easy mode: conversation style, LLM keeps continuing with the context from its earlier message. |
| − | ** Hard mode: reset to new conversation or 'edit' the message sent to LLM for every prompt | + | ** Hard mode: reset to new conversation or 'edit' the message sent to LLM for every prompt. |
| + | * Highlight the black censored text for hint. | ||
| + | <br/> | ||
| + | <hr/> | ||
Latest revision as of 21:21, 21 April 2026
PromptCode challenge:
- Given the following code, use an LLM to generate a snippet of code that will function the same.
- You can't cheat, which are basically:
- Feed this code to an LLM and ask it to output the exact same thing.
- Write this code in other languages and ask an LLM to rewrite in Python.
- Prompt LLM the logic of this code line-by-line.
- You can prompt as many time as you want.
- Easy mode: conversation style, LLM keeps continuing with the context from its earlier message.
- Hard mode: reset to new conversation or 'edit' the message sent to LLM for every prompt.
- Highlight the black censored text for hint.