source
stringclasses
11 values
task
stringclasses
4 values
messages
listlengths
3
3
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI have a...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function i...
CodeFeedback-Filtered-Instruction
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nCreate a dictionar...
CodeFeedback-Filtered-Instruction
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nDelete every third...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are working on...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
Magicoder-Evol-Instruct-110K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nEstablish the surf...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are given a li...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nCan you ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nIs it po...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nWhat is ...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are given an a...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI have a...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nIs there...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nHow can ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nDevelop ...
Magicoder-Evol-Instruct-110K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n&lt;p&gt;A numeric...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI am wor...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a Python fun...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nPlease e...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nIs there...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nFormulat...
Magicoder-Evol-Instruct-110K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nI have this proble...
CodeFeedback-Filtered-Instruction
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\nYou are tasked with creating a Python function that dynamically loads...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nCreate a...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nHow can ...
commitpackft
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\n### Requested Change\nRaise exception when --debug is specified to ma...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
CodeFeedback-Filtered-Instruction
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\nWrite a function that takes in a tuple of floats. The function should...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI need h...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nIdentify...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a Python fun...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI want t...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
python_code_instructions_18k
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nWrite co...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are given a ma...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nCan you ...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
CodeFeedback-Filtered-Instruction
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\nImprove the performance of a piece of erroneous code that ideally tra...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are given a li...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nConstruc...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nWhat is ...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
CodeFeedback-Filtered-Instruction
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\nYou are tasked with implementing a simple cache mechanism for storing...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nCan you ...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are given a li...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nConstruc...
CodeFeedback-Filtered-Instruction
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\nCreate a function called \"print_third_item\" that takes in a list as...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI am try...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nHow can ...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
Magicoder-Evol-Instruct-110K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nDevise a lambda fu...
Magicoder-Evol-Instruct-110K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nCan you show me th...
python_code_instructions_18k
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nConstruc...
CodeFeedback-Filtered-Instruction
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\ncan you help me correct this python code? it's an ocr output and has ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nBuild a ...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a function t...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nHow can ...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nConstruc...
github-codereview
CODE_REVIEW
[ { "role": "system", "content": "You are a senior Python code reviewer.\nReview code like a staff engineer.\n\nFind and fix:\n- Syntax bugs\n- Runtime bugs\n- Logic bugs\n- Performance issues\n- Security issues\n- Maintainability issues\n\nProduce corrected production-quality Python code and explain every ch...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nIn the c...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nHow can ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nYou are ...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
commitpackft
REFACTOR
[ { "role": "system", "content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality." }, { "role": "user", "content": "<TASK:REFACTOR>...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
Magicoder-OSS-Instruct-75K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
python_code_instructions_18k
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nCreate a...