id
stringlengths
15
15
task_type
stringclasses
3 values
language
stringclasses
2 values
framework
stringclasses
6 values
messages
listlengths
2
9
text
stringlengths
596
35.5k
meta
dict
web-coder-03700
autocomplete_fim
en
javascript
[ { "role": "user", "content": "Code autocomplete (javascript) for `src/game/engine.js` at cursor position:\n<|fim_prefix|>export class CanvasGameEngine {\n constructor(canvas) {\n this.canvas = canvas;\n this.ctx = canvas.getContext('2d');\n this.isRunning = false;\n this.lastTime = 0;\n this...
<|fim_prefix|>export class CanvasGameEngine { constructor(canvas) { this.canvas = canvas; this.ctx = canvas.getContext('2d'); this.isRunning = false; this.lastTime = 0; this.entities = []; } start() { this.isRunning = true; this.lastTime = performance.now(); requestAnimationFrame(...
{ "source": "curated_web_fim", "file": "src/game/engine.js", "has_think": false, "has_tools": false, "quality_score": 0.96 }
web-coder-03701
web_reasoning_sft
ru
react
[ { "role": "system", "content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код." }, { "role": "user", "content": "Write a test to check if a React component ren...
<|im_start|>system Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|> <|im_start|>user Write a test to check if a React component renders a specific element when a certain conte...
{ "source": "Tensoic/FrontendCookbook", "file": null, "has_think": true, "has_tools": false, "quality_score": 0.75 }
web-coder-03702
web_reasoning_sft
en
html
[ { "role": "system", "content": "You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code." }, { "role": "user", "content": "Fix the HTML code to ensure that it is valid and d...
<|im_start|>system You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code.<|im_end|> <|im_start|>user Fix the HTML code to ensure that it is valid and displays correctly in a web browser.<|im_end|...
{ "source": "Tensoic/FrontendCookbook", "file": null, "has_think": true, "has_tools": false, "quality_score": 0.7 }
web-coder-03703
web_reasoning_sft
en
react
[ { "role": "system", "content": "You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code." }, { "role": "user", "content": "You are building a React application that displays...
<|im_start|>system You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code.<|im_end|> <|im_start|>user You are building a React application that displays a list of blog posts. Each blog post is fet...
{ "source": "Tensoic/FrontendCookbook", "file": null, "has_think": true, "has_tools": false, "quality_score": 0.75 }
web-coder-03704
autocomplete_fim
ru
javascript
[ { "role": "user", "content": "Автодополнение кода (javascript) для файла `src/game/engine.js` в позиции курсора:\n<|fim_prefix|>export class CanvasGameEngine {\n constructor(canvas) {\n this.canvas = canvas;\n<|fim_suffix|> }\n\n start() {\n this.isRunning = true;\n this.lastTime = performance.n...
<|fim_prefix|>export class CanvasGameEngine { constructor(canvas) { this.canvas = canvas; <|fim_suffix|> } start() { this.isRunning = true; this.lastTime = performance.now(); requestAnimationFrame(this.loop.bind(this)); } stop() { this.isRunning = false; } loop(currentTime) { if ...
{ "source": "curated_web_fim", "file": "src/game/engine.js", "has_think": false, "has_tools": false, "quality_score": 0.96 }
web-coder-03705
web_reasoning_sft
en
javascript
[ { "role": "system", "content": "You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code." }, { "role": "user", "content": "Write a JavaScript program to swap the values of t...
<|im_start|>system You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code.<|im_end|> <|im_start|>user Write a JavaScript program to swap the values of two variables without using a temporary varia...
{ "source": "Tensoic/FrontendCookbook", "file": null, "has_think": true, "has_tools": false, "quality_score": 0.7 }
web-coder-03706
web_reasoning_sft
en
html
[ { "role": "system", "content": "You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code." }, { "role": "user", "content": "Within a NextJS app, write code to add Open Graph ...
<|im_start|>system You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code.<|im_end|> <|im_start|>user Within a NextJS app, write code to add Open Graph (OG) tags for social media sharing using the...
{ "source": "Tensoic/FrontendCookbook", "file": null, "has_think": true, "has_tools": false, "quality_score": 0.75 }