source stringclasses 11
values | task stringclasses 4
values | messages listlengths 3 3 |
|---|---|---|
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... |
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\nConsidering that 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\nWrite 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... |
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... |
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\nHow do I find the ... |
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... |
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... |
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\nCreate a function that can identify whether multiple sets of strings ... |
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 you ... |
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... |
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\nImplement a `Book`... |
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 given two ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nYou are ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\ncan you ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nI have a... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nIs there... |
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\nFabricat... |
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\nExplain what an AP... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nImplemen... |
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\nCreate 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\nImplement a K-Near... |
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... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nCreate a dynamic, ... |
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\nPlease i... |
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 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>... |
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\nRefactor the following piece of code, which contains errors, from an ... |
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\nMayor... |
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 Python fu... |
Magicoder-OSS-Instruct-75K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
OpenCodeInstruct | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
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... |
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... |
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 Python fu... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a python fun... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nDevelop a complex ... |
CodeFeedback-Filtered-Instruction | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nYou are tasked with implementing a performance testing utility for 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-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\nImprove and optimi... |
Magicoder-OSS-Instruct-75K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
OpenCodeInstruct | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
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 data log fixture foreign keys\n\n### Origin... |
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 Python class to manage a company's employee data. This 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\nGenerate a program... |
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\nCan you conduct 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... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nImplemen... |
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... |
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 se... |
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\nThe task... |
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\nAs a new... |
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 port thi... |
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\ndo you mind conver... |
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... |
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\nPolyc... |
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... |
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\nSurmise the follow... |
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\nSplit 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... |
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... |
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\nCreate a program u... |
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\nFormulat... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nYou are ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCan you ... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a python fun... |
CodeFeedback-Filtered-Instruction | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nDevelop a Python code to resolve this advanced mathematical challenge... |
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 Missing Extension from package\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\nImplemen... |
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\nQuestion... |
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\nGenerate a unique ... |
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... |
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... |
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\nInterpre... |
commitpackft | REFACTOR | [
{
"role": "system",
"content": "You are an expert Python refactoring assistant.\nRewrite the code following:\n- PEP 8\n- Type hints\n- Docstrings\n- Best practices\n- SOLID principles\n\nDo not change behavior. Only improve structure and quality."
},
{
"role": "user",
"content": "<TASK:REFACTOR>... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a function t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.