source stringclasses 11
values | task stringclasses 4
values | messages listlengths 3 3 |
|---|---|---|
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\nWrite a command 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\nWrite a ... |
commitpackft | REFACTOR | [
{
"role": "system",
"content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality."
},
{
"role": "user",
"content": "<TASK:REFACTOR>... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCan some... |
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 ... |
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 the list ['Python', 'is', 'not', 'always', 'easy', 'to', 'learn... |
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 web scrap... |
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 lo... |
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\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... |
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 anyo... |
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 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\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\nI am fac... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nI've been trying 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 tasked wit... |
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 import into refmanage namespace\n\n### Orig... |
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 given a Py... |
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... |
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 anyo... |
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 the code sni... |
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 an 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\nGenerate... |
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 Python s... |
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\nWithout using any ... |
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\nImplement a class ... |
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 Python c... |
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\nDesign a function, addNumbers(a, b), that takes in two integers a and... |
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\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 bi... |
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 want 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\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\nEnumerat... |
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\nUpgrade ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nYou are ... |
commitpackft | REFACTOR | [
{
"role": "system",
"content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality."
},
{
"role": "user",
"content": "<TASK:REFACTOR>... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nDesign 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\nDevelop an algorit... |
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\nDesign 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\nDesign a recursive... |
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\nGiven an input str... |
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\nDesign 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... |
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\nCheck bench mode==run with fixed block shape\n\... |
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\nConsider this comp... |
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 ... |
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\nconvert ... |
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\nFormulate a Python... |
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\nRewrite the below ... |
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 indentation for break keyword.\n\n### Origi... |
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... |
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\nDevelop a Python s... |
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>... |
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... |
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\nIn the c... |
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 spe... |
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\nYou are presented ... |
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 binary 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\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... |
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 participat... |
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\nIf we were to use ... |
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\nCould you translat... |
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 ... |
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\nHow can ... |
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\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\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\nIs it possible to ... |
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 ... |
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 list of in... |
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 code in Py... |
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 advanced... |
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 an algorith... |
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 code for a... |
commitpackft | REFACTOR | [
{
"role": "system",
"content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality."
},
{
"role": "user",
"content": "<TASK:REFACTOR>... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nEdit 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 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.