source
stringclasses
11 values
task
stringclasses
4 values
messages
listlengths
3
3
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\n1. The 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\nI have this proble...
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\nUsing multiprocess...
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\nI have several inp...
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 an i...
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\nAdd a update query to fix templates_history whe...
Magicoder-Evol-Instruct-110K
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n&lt;p&gt;The binom...
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 w...
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-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\nConstruct a Python...
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 provided template, create a function which calculates the 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\nHow can ...
commitpackft
DEBUG
[ { "role": "system", "content": "You are an expert Python debugging engineer.\nLocate the exact bug.\nExplain precisely why it happens.\nProduce corrected, complete Python code." }, { "role": "user", "content": "<TASK:DEBUG>\n\n### Requested Change\nFix a bug introduced by the last commit.\n\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\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\nDevelop ...
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...
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 sme...
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...
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
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 incomplete and erroneous Python script that uses SQLAlchemy ...
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...
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\nImplement 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\nCan anyo...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nI'm tryi...
Tested-143k-Python-Alpaca
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\n### Task\nIn the c...
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...
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 da...
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...
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...
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...
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 da...
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 li...
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\nFind the maximum v...
opc-sft-stage2-educational
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nWrite a python fun...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are tasked wit...
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 ...
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...
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\nMake RequestError available in package root.\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\nI'm tryi...
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 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 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\nYou are ...
OpenCodeInstruct
GENERATE
[ { "role": "system", "content": "You are a senior Python engineer.\nWrite complete, correct, production-ready Python code.\nInclude type hints, docstrings, and handle edge cases.\nNo placeholders. No TODOs. Only working code." }, { "role": "user", "content": "<TASK:GENERATE>\n\nYou are 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\nGiven an...