source stringclasses 11
values | task stringclasses 4
values | messages listlengths 3 3 |
|---|---|---|
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\ni'm working on Ara... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCreate a... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\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... |
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\nHey AI, ... |
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\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\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\nPlease enhance the... |
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\nState... |
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\nDefine 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\nCan you ... |
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 comput... |
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\nDeploy t... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nHow can ... |
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\nUsing the given array, create a function that returns a new array tha... |
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>... |
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 ... |
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\nDevise a Python function that calculates the cumulative total of the ... |
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 c... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nImplement a functi... |
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 class in ... |
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\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\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\nEdit the following Python program to make a correct API request and p... |
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 four classe... |
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-p... |
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\nDevelop a Python f... |
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\nUser \nI... |
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\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 a C progra... |
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>... |
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\nIs there... |
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... |
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 ... |
python_code_instructions_18k | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCreate a... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\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... |
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\nfix this... |
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 regular ex... |
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\nGiven the existing... |
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 function t... |
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 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... |
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 ... |
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\nResolve the errors in the given Python code and modify it to show bot... |
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\nAdd additional complexity to this programming test question:\n\nCompl... |
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 ... |
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... |
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\nClassify... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCreate a... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nGiven 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 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\nImplement a recursive function to compute the factorial of a given nu... |
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... |
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\nDevelop a Python 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\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\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\nCan an 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\nConstruc... |
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 Python function that accepts two lists of unequal lengths as... |
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\nCould you apply 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 ... |
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>... |
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\nOptimize... |
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\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\nIn Pytho... |
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>... |
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\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\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\nCreate a... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nYou are ... |
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\nModify exception handling to local config names... |
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>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.