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>... |
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\nConstruct a regula... |
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\nI have 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\nInsert n... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\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 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\nCreate a Python class called \"Person\" that accepts a name and an ag... |
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\nI need 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 ... |
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 syntax... |
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\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\nI have a... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a python fun... |
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 function t... |
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\nMake a code to det... |
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 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\nA coo... |
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-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\nCan you ... |
Code-290k-ShareGPT | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nDesign a Java program that will generate and print Fibonacci series o... |
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\nImprove the flawed... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nDesign a... |
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\nEdit the following... |
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\nAmplify the comple... |
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>... |
Code-290k-ShareGPT | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nGiven a list of integers:\n[10,20,30,40,50,60,70,80,90,100]\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\nHelp me turn this ... |
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... |
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 the headers sent by the GitHub renderer.\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\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... |
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... |
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\nCalculate the numb... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nIn Pytho... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a Python pro... |
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>... |
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 Python class that calculates the B... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nWhat is ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nCreate 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\nYou are given a list of strings representing file paths and directori... |
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 name of command sent by send_dialogue actio... |
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\nI am try... |
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... |
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... |
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 function to calculate the total amount of money earned fr... |
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\nPerform an analysi... |
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 an array ... |
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\nUpdate the followi... |
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 random ... |
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\nGiven a list of strings and a search string, check if the search stri... |
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... |
Magicoder-OSS-Instruct-75K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\nDevelop ... |
Tested-143k-Python-Alpaca | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\n### Task\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>... |
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... |
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 | 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\nReturn a bad error code when a test fails\n\n##... |
CodeFeedback-Filtered-Instruction | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nCreate a program in Java that takes an array with two positive prime ... |
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... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a function t... |
OpenCodeInstruct | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are given a ta... |
Magicoder-OSS-Instruct-75K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nYou are tasked wit... |
opc-sft-stage2-educational | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nWrite a python fun... |
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\nCalculate the sum ... |
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... |
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 artific... |
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\nComplete the follo... |
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\nWrite a ... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\ni need this code 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... |
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\ni'm curious how th... |
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... |
Magicoder-Evol-Instruct-110K | GENERATE | [
{
"role": "system",
"content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code."
},
{
"role": "user",
"content": "<TASK:GENERATE>\n\nIf we consider a l... |
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\nGiven an input string, write a function that will remove all non-alph... |
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... |
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\nDevise a complex p... |
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... |
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\nI need h... |
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... |
CodeFeedback-Filtered-Instruction | DEBUG | [
{
"role": "system",
"content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code."
},
{
"role": "user",
"content": "<TASK:DEBUG>\n\nI'm curious how this would be coded in Go:\nfrom google.cloud import ... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.