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-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 co... |
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\nModify and complet... |
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... |
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\nOnce ... |
commitpackft | REFACTOR | [
{
"role": "system",
"content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality."
},
{
"role": "user",
"content": "<TASK:REFACTOR>... |
OpenCodeInstruct | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
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... |
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 the given... |
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\nConsider... |
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\nIncrease... |
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 working on... |
CodeFeedback-Filtered-Instruction | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nDevelop a program that not only removes duplicate items from the list... |
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... |
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... |
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 ... |
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 subrou... |
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-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 ... |
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 ... |
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\nshow me the java r... |
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\nRewrite:... |
CodeFeedback-Filtered-Instruction | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nWrite a function to reverse a given sentence in Python. The function ... |
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 ... |
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\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... |
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\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\nI am new... |
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 ... |
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 regex pattern to validate whether a given string is an accep... |
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... |
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\nLevko... |
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 function ... |
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 di... |
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\nYaros... |
python_code_instructions_18k | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nWrite 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\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\nGenerate... |
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... |
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\nImplement a recurs... |
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... |
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 program 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\nI want t... |
OpenCodeInstruct | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are given a JS... |
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\nDevelop a function that outputs the constituents of a linked list, wh... |
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 f... |
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 stack ... |
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 PyPI README.MD showing problem.\n\n### Orig... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCan you ... |
OpenCodeInstruct | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are given a st... |
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\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 ... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nDevelop a function... |
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\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 ... |
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 function t... |
Magicoder-OSS-Instruct-75K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
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 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\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>... |
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 program 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 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\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 have 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\nDesign a Java program to find the maximum of N numbers, where N is 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 ... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a function t... |
commitpackft | 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 python fun... |
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\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 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\nI have this proble... |
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 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\nConstruc... |
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\nCalculate the dete... |
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>... |
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 Python scr... |
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... |
Code-290k-ShareGPT | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-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#Rewritten Test#\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.