source
stringclasses
11 values
task
stringclasses
4 values
messages
listlengths
3
3
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\nWrite a function t...
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\nGenerate...
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\nGiven tw...
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\nSuggest ...
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\nImplement a convol...
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 t...
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 given a sn...
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 ...
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\nImplement a functi...
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 ste...
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\nGiven an array of ...
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 ...
OpenCodeReasoning
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### Problem\nThere...
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\nCreate a...
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\nThe game of Digit Detective is a variant of the popular game Clue. In...
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\nExplain ...
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...
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 Discord bot command that interacts 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...
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\nDesign 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 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\nI'm work...
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\nCould you devise an SVG markup that visually embodies a basket brimmi...
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 two ...
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-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\nDesign a function ...
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...
OpenCodeReasoning
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### Problem\nIn th...
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>...
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\nConstruct the loop...
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...
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
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\nSort a list of str...
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...
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\nImplement a functi...
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...
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 fr...
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\nImplement an advanced Python class named 'Employee'. It should includ...
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 help me co...
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-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\nDebug the mistake ...
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\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 given a li...
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...
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\nWhat is ...
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\nUsing the followin...
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...
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 Java annotation processor that gen...
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\nConstruct a Python...
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-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\nIs there an algori...
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\nRewrite the follow...
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...
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\nIn a binary classi...
Code-290k-ShareGPT
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\nGiven a list of n numbers, write a Python program that will iterate o...
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...
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\nFix streamwriter action so it doesn't include \...
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\nElaborate on a met...
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...
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 Ruby scri...
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\nDevelop a function...
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\nAdapt th...
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 Python script to calculate the coefficient of determination (...
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...
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...
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\nrecreate this func...
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\nEmploy the k-Neare...
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 given a se...
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\nCreate a REST API ...
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...
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 to convert a Roman numeral to an integer. \n\nThe Ro...
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\nCreate 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\nDevelop ...
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...
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\nGiven an array of integers in ascending order and a target integer, w...
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 an algorith...
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...
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...
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\nGiven 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\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\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\nWhat is ...
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>...
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\nFix error String statement has no effect\n\n###...