source
stringclasses
11 values
task
stringclasses
4 values
messages
listlengths
3
3
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\nI've got this Python code from an OCR tool, but it's not working. 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 ...
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 given a Py...
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\nHow can ...
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...
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...
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\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\nIs there...
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\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\nDevise 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\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...
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...
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\nPakis...
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;Imagine 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\nProvide a piece of erroneous code that intends to round off a given n...
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...
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 st...
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...
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\nEmacs...
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 ...
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\nGenerate a code to...
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 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...
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\nPolyc...
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 TensorFlo...
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\nDevelop an efficie...
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 array 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 li...
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\ncan you rework thi...
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\nGiven an...
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\nAdd to the Python ...
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 JS...
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...
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\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...
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 tryi...
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...
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\nWe'll...
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...
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\nZS th...
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 att...
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
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 given an a...
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 ...
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...
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\nImplemen...
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 program that generates an error...
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\nCraft 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\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\nHow can ...
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\nCreate a python 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\nDevelop a program ...
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\nCreate 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\nRefine 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...
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 following python code is from ocr and has syntax errors. can 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\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 ...
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\nDevise 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 ...
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\nHelp me port this ...
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\nfix this...
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...
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...
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\nCompute the produc...
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\nLoad the digits da...
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-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 code to f...
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\nRefactor the given...
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\nWrite a code to co...
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...
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\nWrite 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\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...
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>...