source
stringclasses
11 values
task
stringclasses
4 values
messages
listlengths
3
3
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
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nSum all the number...
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\nI'm work...
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 Python 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\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\nCompose a Java scr...
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 script fea...
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...
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\nCraft the necessar...
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\nCan you ...
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\nWe need to build a function that computes the product of the elements...
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\nSaMer...
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 ...
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\nIn Pytho...
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 complex ...
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 to check the validity of an email address. The emai...
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\n給定一個由字串所...
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...
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 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\nWrite a Python pro...
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\nIn Python, write 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\nPlease write a fun...
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 an efficien...
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...
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\nFix bug in packet loss\n\n### Original Code\n``...
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\nImplemen...
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 iris dat...
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>...
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 a ne...
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\nDesign a software ...
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\nBuild a program us...
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-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 li...
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 Python fu...
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 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 implementing a custom collection view cell for a ...
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-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\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 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...
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\nWhat is ...
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\nDevelop ...
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 ...
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\nGiven a ...
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\nhow would you write this in c#?\ndef complex_prime_sort(l1: list, l2:...
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\nIt's ...
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...
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
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 need the c equivalent for this:\nimport java.util.*;\nimport java.u...
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\nIn the c...
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\nGiven a string, wr...
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 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\nReconstr...
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 custom data model class in Python ...
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 ...
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...
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 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\nCould yo...
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\nGenerate...
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
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 program that compares two input paragraphs comprising multip...
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 ...
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...
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...
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 method th...
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...
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 ...
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 ...
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\nGiven th...
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 li...
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\nConstruct a class in Python that describes a car. The car should have...
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 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>...