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-00900 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/utils/storage.js` at cursor position:\n<|fim_prefix|>export const timedStorage = {\n set(key, value, ttlSeconds) {\n const item = {\n value,\n expiry: Date.now() + (ttlSeconds * 1000)\n };\n try {\n localStorage.s... | <|fim_prefix|>export const timedStorage = {
set(key, value, ttlSeconds) {
const item = {
value,
expiry: Date.now() + (ttlSeconds * 1000)
};
try {
localStorage.setItem(key, JSON.stringify(item));
} catch (e) {
console.warn('LocalStorage quota exceeded or unavailable', e);
}
... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00901 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/utils/apiClient.js` at cursor position:\n<|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {\n<|fim_suffix|> const controller = new AbortController();\n const timeoutId = setTimeout(()... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
<|fim_suffix|> const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeout);
try {
const response = await fetch(url, {
...fetchOpts,
signal: ... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00902 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/card-grid.css` at cursor position:\n<|fim_prefix|>:root {\n --grid-gap: 1.5rem;\n --card-bg: #ffffff;\n --card-radius: 12px;\n --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n --card-shadow-hover... | <|fim_prefix|>:root {
--grid-gap: 1.5rem;
--card-bg: #ffffff;
--card-radius: 12px;
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
--card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.product-grid {
<|fim_suffix|> padding: 2rem ... | {
"source": "curated_web_fim",
"file": "src/styles/card-grid.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00903 | agentic_web | ru | javascript | [
{
"role": "system",
"content": "Ты — автономный ИИ-агент веб-разработки (Fullstack / Frontend Engineer).\nТебе доступны инструменты:\n- `read_file(path)`: чтение содержимого файла\n- `write_file(path, content)`: создание или перезапись файла\n- `edit_file(path, target, replacement)`: замена фрагмента кода в... | <|im_start|>system
Ты — автономный ИИ-агент веб-разработки (Fullstack / Frontend Engineer).
Тебе доступны инструменты:
- `read_file(path)`: чтение содержимого файла
- `write_file(path, content)`: создание или перезапись файла
- `edit_file(path, target, replacement)`: замена фрагмента кода в файле
- `run_command(command... | {
"source": "curated_web_agent",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.95
} |
web-coder-00904 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Using float property, create a two-column layo... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Using float property, create a two-column layout where the left column is 60% of the page ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00905 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/utils/apiClient.js` в позиции курсора:\n<|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {\n const { timeout = 8000, ...fetchOpts } = options;\n\n for (let attempt = 1; attempt <=... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
const { timeout = 8000, ...fetchOpts } = options;
for (let attempt = 1; attempt <= retries; attempt++) {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeo... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00906 | 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 this.ctx = canvas.getContext('2d');\n this.isRunning = false;\n this.lastTime = 0;\n ... | <|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-00907 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/card-grid.css` at cursor position:\n<|fim_prefix|>:root {\n --grid-gap: 1.5rem;\n --card-bg: #ffffff;\n --card-radius: 12px;\n --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n --card-shadow-hover... | <|fim_prefix|>:root {
--grid-gap: 1.5rem;
--card-bg: #ffffff;
--card-radius: 12px;
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
--card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.product-grid {
display: grid;
grid-templa... | {
"source": "curated_web_fim",
"file": "src/styles/card-grid.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00908 | 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": "Create a custom React hook that can be used to laz... | <|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
Create a custom React hook that can be used to lazily load components. The hook should take a ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00909 | 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": "Create a React component called `Chat` that accept... | <|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
Create a React component called `Chat` that accepts a `messages` prop. The component should re... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00910 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/utils/storage.js` в позиции курсора:\n<|fim_prefix|>export const timedStorage = {\n set(key, value, ttlSeconds) {\n const item = {\n value,\n expiry: Date.now() + (ttlSeconds * 1000)\n };\n<|fim_suffix|> cons... | <|fim_prefix|>export const timedStorage = {
set(key, value, ttlSeconds) {
const item = {
value,
expiry: Date.now() + (ttlSeconds * 1000)
};
<|fim_suffix|> console.warn('LocalStorage quota exceeded or unavailable', e);
}
},
get(key) {
const itemStr = localStorage.getItem(key);
... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00911 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given a parent container with the following CS... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given a parent container with the following CSS:
```css
.parent {
display: flex;
flex... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00912 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Build a Next.js application that uses GraphQL ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Build a Next.js application that uses GraphQL to manage state across multiple pages.<|im_e... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00913 | autocomplete_fim | ru | css | [
{
"role": "user",
"content": "Автодополнение кода (css) для файла `src/styles/card-grid.css` в позиции курсора:\n<|fim_prefix|>:root {\n --grid-gap: 1.5rem;\n --card-bg: #ffffff;\n --card-radius: 12px;\n --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n<|fim_suffix|>... | <|fim_prefix|>:root {
--grid-gap: 1.5rem;
--card-bg: #ffffff;
--card-radius: 12px;
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
<|fim_suffix|> display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: var(--grid-gap);
padding: 2rem 1rem;
m... | {
"source": "curated_web_fim",
"file": "src/styles/card-grid.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00914 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай хук uselocalstorage для react на typescript с поддержкой событий storageevent для сайта.... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай хук uselocalstorage для react на typescript с поддержкой событий storageevent для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сд... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00915 | agentic_web | en | fullstack | [
{
"role": "system",
"content": "You are an autonomous AI web agent with tools and step-by-step reasoning."
},
{
"role": "user",
"content": "Implement WebGL 3D scene with responsive canvas and UI controls."
},
{
"role": "assistant",
"content": "<|im_start|>system\nYou are a helpful AI... | <|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
…[earlier truncated]…
etOrCreateModuleJob (node:internal/modules/esm/loader:615:35)
at Module …[truncated]
ASSISTANT (tool call) Bash input={"command": "cp /tmp/dbg-mp.mjs ./dbg-mp.mjs && sed -i \"s#'../app'#'../app'#\" dbg-mp.mjs && node... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-00916 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай JavaScript module that exports a class ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай JavaScript module that exports a class representing a car with properties such as m... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00917 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/components/navbar.js` at cursor position:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const ... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00918 | agentic_web | en | fullstack | [
{
"role": "system",
"content": "You are an autonomous AI web agent with tools and step-by-step reasoning."
},
{
"role": "user",
"content": "Implement WebGL 3D scene with responsive canvas and UI controls."
},
{
"role": "assistant",
"content": "<|im_start|>system\nYou are a helpful AI... | <|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
…[earlier truncated]…
buy-name\">${def.name}</span>\n <span class=\"buy-stats\">DMG ${def.dmg}${def.pellets ? '×' + def.pellets : ''} · RPM ${def.rpm}</span>\n <span cla …[truncated]
TOOL RESULT: The file /home/lane/AIArchives/archi... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-00919 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/spinner.css` at cursor position:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3px soli... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyf... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00920 | agentic_web | en | css | [
{
"role": "system",
"content": "You are an expert AI Web Development Agent. You have access to tools:\n- `read_file(path)`: Read file contents\n- `write_file(path, content)`: Create or overwrite a file\n- `edit_file(path, target, replacement)`: Search and replace a snippet\n- `run_command(command)`: Execute... | <|im_start|>system
You are an expert AI Web Development Agent. You have access to tools:
- `read_file(path)`: Read file contents
- `write_file(path, content)`: Create or overwrite a file
- `edit_file(path, target, replacement)`: Search and replace a snippet
- `run_command(command)`: Execute terminal commands (npm, buil... | {
"source": "curated_web_agent",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.95
} |
web-coder-00921 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай адаптивный аккордеон с плавной высотой на чистом css grid-template-rows для сайта. Напиш... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай адаптивный аккордеон с плавной высотой на чистом css grid-template-rows для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сделай а... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00922 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай защита от xss и безопасный рендеринг пользовательского html для сайта. Напиши чистое реш... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай защита от xss и безопасный рендеринг пользовательского html для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сделай защита от xss... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00923 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/utils/apiClient.js` в позиции курсора:\n<|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {\n const { timeout = 8000, ...fetchOpts } = options;\n\n for (let attempt = 1; attempt <=... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
const { timeout = 8000, ...fetchOpts } = options;
for (let attempt = 1; attempt <= retries; attempt++) {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeo... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00924 | agentic_web | en | fullstack | [
{
"role": "system",
"content": "You are an autonomous AI web agent with tools and step-by-step reasoning."
},
{
"role": "user",
"content": "Implement WebGL 3D scene with responsive canvas and UI controls."
},
{
"role": "assistant",
"content": "<|im_start|>system\nYou are a helpful AI... | <|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
…[earlier truncated]…
gs: schema-driven. UI is generated from SCHEMA, values persist to\n// localStorage, and every value is reachable as settings.get('group.key').\n\nconst STORAGE_KEY = 'neonstrike.settings.v1';\n\nexport const SCHEMA = {\n... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-00925 | 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": "- Debug a performance issue in a React application... | <|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
- Debug a performance issue in a React application using styled-components by profiling the ap... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00926 | 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": "Given an array of objects, write a JavaScript func... | <|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
Given an array of objects, write a JavaScript function to find the object with the highest val... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00927 | web_reasoning_sft | en | css | [
{
"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 service worker that caches static assets l... | <|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 service worker that caches static assets like images, CSS, and JavaScript files.<|im_e... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00928 | autocomplete_fim | en | typescript | [
{
"role": "user",
"content": "Code autocomplete (typescript) for `src/hooks/useDebounce.ts` at cursor position:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\n<|fim_suffix|>export function useDebounce<T>(value: T, delay: number = 300): T {\n const [debouncedValue, setDebouncedValue] = useSt... | <|fim_prefix|>import { useState, useEffect } from 'react';
<|fim_suffix|>export function useDebounce<T>(value: T, delay: number = 300): T {
const [debouncedValue, setDebouncedValue] = useState<T>(value);
useEffect(() => {
const handler = setTimeout(() => {
setDebouncedValue(value);
}, delay);
r... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00929 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Refactor the following Less code to improve mo... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Refactor the following Less code to improve modularity and maintainability by using a Less... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00930 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Use Storybook's snapshot testing feature to en... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Use Storybook's snapshot testing feature to ensure that your components' output remains co... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00931 | autocomplete_fim | ru | css | [
{
"role": "user",
"content": "Автодополнение кода (css) для файла `src/styles/spinner.css` в позиции курсора:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyf... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00932 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "In a React component, a fragment is used to gr... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
In a React component, a fragment is used to group elements together. However, the fragment... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00933 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/utils/apiClient.js` в позиции курсора:\n<|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {\n const { timeout = 8000, ...fetchOpts } = options;\n\n for (let attempt = 1; attempt <=... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
const { timeout = 8000, ...fetchOpts } = options;
for (let attempt = 1; attempt <= retries; attempt++) {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeo... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00934 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/utils/apiClient.js` at cursor position:\n<|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {\n const { timeout = 8000, ...fetchOpts } = options;\n\n for (let attempt = 1; attempt <= retrie... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
const { timeout = 8000, ...fetchOpts } = options;
for (let attempt = 1; attempt <= retries; attempt++) {
const controller = new AbortController();
<|fim_suffix|> const response = await fetch(url, {
... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00935 | 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": "Create a styled component using Emotion that takes... | <|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
Create a styled component using Emotion that takes a boolean prop called `isActive`, and condi... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00936 | 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 have a React application with React Router. Yo... | <|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 have a React application with React Router. You want to create a form that allows users to... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00937 | 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 this.ctx = canvas.getContext('2d');\n this.isRunning = false;\n this.lastTime = 0;\n ... | <|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-00938 | 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": "Create a React Portal that renders a context menu ... | <|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
Create a React Portal that renders a context menu that appears when a user right-clicks on an ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00939 | agentic_web | en | fullstack | [
{
"role": "system",
"content": "You are an autonomous AI web agent with tools and step-by-step reasoning."
},
{
"role": "user",
"content": "Implement WebGL 3D scene with responsive canvas and UI controls."
},
{
"role": "assistant",
"content": "<|im_start|>system\nYou are a helpful AI... | <|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
…[earlier truncated]…
preset (software-rendering floor)
8. maps: all three render, are >90% pixel-distinct from each other, bots
navigate each; character close-up renders
9. multiplayer: two real browser clients — create room, join by cod... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-00940 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай адаптивная модалка с focus trap и обработкой клика по оверлею для сайта. Напиши чистое р... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай адаптивная модалка с focus trap и обработкой клика по оверлею для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сделай адаптивная ... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00941 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/components/navbar.js` at cursor position:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const ... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00942 | agentic_web | en | javascript | [
{
"role": "system",
"content": "You are an expert AI Web Development Agent. You have access to tools:\n- `read_file(path)`: Read file contents\n- `write_file(path, content)`: Create or overwrite a file\n- `edit_file(path, target, replacement)`: Search and replace a snippet\n- `run_command(command)`: Execute... | <|im_start|>system
You are an expert AI Web Development Agent. You have access to tools:
- `read_file(path)`: Read file contents
- `write_file(path, content)`: Create or overwrite a file
- `edit_file(path, target, replacement)`: Search and replace a snippet
- `run_command(command)`: Execute terminal commands (npm, buil... | {
"source": "curated_web_agent",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.95
} |
web-coder-00943 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Consider the following HTML structure:\n\n```h... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Consider the following HTML structure:
```html
<div class="container">
<header>Header</... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00944 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/spinner.css` at cursor position:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n<|fim_suffix|> border-radius: 50%;\n animation: s... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
<|fim_suffix|> border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg)... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00945 | autocomplete_fim | ru | css | [
{
"role": "user",
"content": "Автодополнение кода (css) для файла `src/styles/spinner.css` в позиции курсора:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n<|fim_suffix|> position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3px solid rgba(... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
<|fim_suffix|> position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00946 | 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": "Write CSS code to animate the position of an eleme... | <|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 CSS code to animate the position of an element along a path that you define using CSS.<|... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00947 | autocomplete_fim | ru | html | [
{
"role": "user",
"content": "Автодополнение кода (html) для файла `public/index.html` в позиции курсора:\n<|fim_prefix|><!DOCTYPE html>\n<html lang=\"ru\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content... | <|fim_prefix|><!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Современный адаптивный веб-сервис">
<title>Интерактивная панель управления</title>
<link rel="stylesheet" href="/styles/main.css... | {
"source": "curated_web_fim",
"file": "public/index.html",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00948 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "In a React application, write code to retrieve... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
In a React application, write code to retrieve a value from the localStorage using the Web... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00949 | autocomplete_fim | ru | html | [
{
"role": "user",
"content": "Автодополнение кода (html) для файла `public/index.html` в позиции курсора:\n<|fim_prefix|><!DOCTYPE html>\n<html lang=\"ru\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content... | <|fim_prefix|><!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Современный адаптивный веб-сервис">
<title>Интерактивная панель управления</title>
<link rel="stylesheet" href="/styles/main.css... | {
"source": "curated_web_fim",
"file": "public/index.html",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00950 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Add a width of 500px to the table from the pre... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Add a width of 500px to the table from the previous question.<|im_end|>
<|im_start|>assist... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00951 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Convert the following CSS code to Sass, using ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Convert the following CSS code to Sass, using a mixin:
```css
.container {
width: 100%;... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00952 | 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": "Given a React component that uses `useState` hook,... | <|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
Given a React component that uses `useState` hook, refactor it to use `useReducer` hook instea... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00953 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай хук uselocalstorage для react на typescript с поддержкой событий storageevent для сайта.... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай хук uselocalstorage для react на typescript с поддержкой событий storageevent для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сд... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00954 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/components/navbar.js` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n<... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
<|fim_suffix|> setScrolled(window.scrollY > 20);
};
window.addEventListener('scroll', handleScroll, { passive: true });
... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00955 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/components/navbar.js` at cursor position:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const ... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00956 | 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": "Create a React component that uses `useQuery` to f... | <|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
Create a React component that uses `useQuery` to fetch a list of users and display their names... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00957 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/components/navbar.js` at cursor position:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const ... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
<|fim_suffix|> return () => window.removeEventListener('scroll... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00958 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Fix the following code to reverse an array of ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Fix the following code to reverse an array of functions:
```javascript
const array = [fun... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00959 | autocomplete_fim | en | javascript | [
{
"role": "user",
"content": "Code autocomplete (javascript) for `src/utils/storage.js` at cursor position:\n<|fim_prefix|>export const timedStorage = {\n set(key, value, ttlSeconds) {\n const item = {\n value,\n expiry: Date.now() + (ttlSeconds * 1000)\n };\n try {\n localStorage.s... | <|fim_prefix|>export const timedStorage = {
set(key, value, ttlSeconds) {
const item = {
value,
expiry: Date.now() + (ttlSeconds * 1000)
};
try {
localStorage.setItem(key, JSON.stringify(item));
} catch (e) {
console.warn('LocalStorage quota exceeded or unavailable', e);
}
... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00960 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a simple script that displays a basic no... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a simple script that displays a basic notification to the user.<|im_end|>
<|im_start... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00961 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай Less function to calculate the width of... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай Less function to calculate the width of an element, including its padding and borde... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00962 | 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": "Use a React Bootstrap component to create a toolti... | <|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
Use a React Bootstrap component to create a tooltip.<|im_end|>
<|im_start|>assistant
<think>
1... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00963 | 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": "Given a function that returns a Promise that resol... | <|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
Given a function that returns a Promise that resolves to a list of objects, write a function t... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00964 | 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": "Create an HTML document with a dynamic heading str... | <|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
Create an HTML document with a dynamic heading structure. The headings should change based on ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00965 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай video player that supports playback of ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай video player that supports playback of both local and remote video files.<|im_end|>... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00966 | 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 this.ctx = canvas.getContext('2d');\n this.isRunning = false;\n this.lastTime = 0;\n ... | <|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-00967 | agentic_web | ru | javascript | [
{
"role": "system",
"content": "Ты — автономный ИИ-агент веб-разработки (Fullstack / Frontend Engineer).\nТебе доступны инструменты:\n- `read_file(path)`: чтение содержимого файла\n- `write_file(path, content)`: создание или перезапись файла\n- `edit_file(path, target, replacement)`: замена фрагмента кода в... | <|im_start|>system
Ты — автономный ИИ-агент веб-разработки (Fullstack / Frontend Engineer).
Тебе доступны инструменты:
- `read_file(path)`: чтение содержимого файла
- `write_file(path, content)`: создание или перезапись файла
- `edit_file(path, target, replacement)`: замена фрагмента кода в файле
- `run_command(command... | {
"source": "curated_web_agent",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.95
} |
web-coder-00968 | 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": "Given the following code:\n\n```javascript\nfetch(... | <|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
Given the following code:
```javascript
fetch('https://example.com/api/v1/users', {
headers... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00969 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "You have a website that uses multiple SSL cert... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
You have a website that uses multiple SSL certificates for different subdomains and you wa... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00970 | autocomplete_fim | ru | css | [
{
"role": "user",
"content": "Автодополнение кода (css) для файла `src/styles/spinner.css` в позиции курсора:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyf... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00971 | 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 function that takes a number as an argum... | <|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 function that takes a number as an argument and uses a `do...while` loop to repeated... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00972 | autocomplete_fim | ru | css | [
{
"role": "user",
"content": "Автодополнение кода (css) для файла `src/styles/spinner.css` в позиции курсора:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyf... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00973 | 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": "Create an Axios instance with a custom base URL an... | <|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
Create an Axios instance with a custom base URL and headers. Use this instance to fetch data f... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00974 | agentic_web | en | fullstack | [
{
"role": "system",
"content": "You are an autonomous AI web agent with tools and step-by-step reasoning."
},
{
"role": "user",
"content": "Implement WebGL 3D scene with responsive canvas and UI controls."
},
{
"role": "assistant",
"content": "<|im_start|>system\nYou are a helpful AI... | <|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
…[earlier truncated]…
playtest.mjs has been updated successfully. (file state is current in your context — no need to Read it back)
ASSISTANT (tool call) Bash input={"command": "node playtest.mjs 2>&1 | tail -30", "description": "Re-run full ... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-00975 | 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": "Write HTML code for a complex form with multiple s... | <|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 HTML code for a complex form with multiple sections, conditional fields, and dynamic con... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00976 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write CSS code to create a block-level element... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write CSS code to create a block-level element that spans the full width of its parent con... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00977 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Add a method to the social network object that... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Add a method to the social network object that allows you to add a new post to the network... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00978 | 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 this.ctx = canvas.getContext('2d');\n this.isRunning = false;\n this.lastTime = 0;\n ... | <|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-00979 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай защита от xss и безопасный рендеринг пользовательского html для сайта. Напиши чистое реш... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай защита от xss и безопасный рендеринг пользовательского html для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сделай защита от xss... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00980 | 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": "Create a simple pagination component using Materia... | <|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
Create a simple pagination component using Material-UI's Pagination component.<|im_end|>
<|im_... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00981 | web_reasoning_sft | en | css | [
{
"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": "Modify the strategy from the previous question to ... | <|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
Modify the strategy from the previous question to support purging of old resources from the ca... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00982 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following HTML, write the necessary ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following HTML, write the necessary CSS to wrap the flex items in reverse order:... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00983 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/spinner.css` at cursor position:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3px soli... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
<|fim... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00984 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай адаптивная модалка с focus trap и обработкой клика по оверлею для сайта. Напиши чистое р... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай адаптивная модалка с focus trap и обработкой клика по оверлею для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сделай адаптивная ... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00985 | autocomplete_fim | ru | html | [
{
"role": "user",
"content": "Автодополнение кода (html) для файла `public/index.html` в позиции курсора:\n<|fim_prefix|><!DOCTYPE html>\n<html lang=\"ru\">\n<head>\n <meta charset=\"UTF-8\">\n<|fim_suffix|><body>\n <header class=\"app-header\">\n <div class=\"header-inner\">\n <h1 class=\"logo\">... | <|fim_prefix|><!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<|fim_suffix|><body>
<header class="app-header">
<div class="header-inner">
<h1 class="logo">Веб-Платформа</h1>
<button id="openModalBtn" class="btn btn-primary" type="button">Создать проект</button>
</div>
</header>
... | {
"source": "curated_web_fim",
"file": "public/index.html",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00986 | 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": "Extend the previous question to allow for multiple... | <|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
Extend the previous question to allow for multiple file uploads using the Fetch API and FormDa... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00987 | 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": "- Given a React component that uses a third-party ... | <|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
- Given a React component that uses a third-party library that does not support Concurrent Mod... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00988 | autocomplete_fim | en | typescript | [
{
"role": "user",
"content": "Code autocomplete (typescript) for `src/hooks/useDebounce.ts` at cursor position:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\n/**\n * Кастомный React хук для задержки обновления значения (debounce).\n * @param value Исходное значение любого типа\n * @param de... | <|fim_prefix|>import { useState, useEffect } from 'react';
/**
* Кастомный React хук для задержки обновления значения (debounce).
* @param value Исходное значение любого типа
* @param delay Задержка в миллисекундах
<|fim_suffix|> const handler = setTimeout(() => {
setDebouncedValue(value);
}, delay);
... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00989 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/components/navbar.js` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n ... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00990 | 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": "Create a component called `Dialog` that renders a ... | <|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
Create a component called `Dialog` that renders a dialog box with a title, content, and action... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00991 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Integrate your custom Ant Design component int... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Integrate your custom Ant Design component into a React application.<|im_end|>
<|im_start|... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00992 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/spinner.css` at cursor position:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3px soli... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
<|fim_suffix|>
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: ro... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00993 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/spinner.css` at cursor position:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n height: 40px;\n border: 3px soli... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(59, 130, 246, 0.2);
border-top-color: #3b82f6;
border-radius: 50%;
animation: spin 0.8s linear infinite;
<|fim_su... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00994 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/components/navbar.js` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\nexport function NavigationBar({ links, brandName = 'DevPortal' }) {\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n ... | <|fim_prefix|>import { useState, useEffect } from 'react';
export function NavigationBar({ links, brandName = 'DevPortal' }) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00995 | agentic_web | en | fullstack | [
{
"role": "system",
"content": "You are an autonomous AI web agent with tools and step-by-step reasoning."
},
{
"role": "user",
"content": "Implement WebGL 3D scene with responsive canvas and UI controls."
},
{
"role": "assistant",
"content": "<|im_start|>system\nYou are a helpful AI... | <|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
…[earlier truncated]…
call) Bash input={"command": "grep -n \"software-rendering floor\" README.md", "description": "Locate line for edit"}
TOOL RESULT: 58:7. perf snapshot per quality preset (software-rendering floor)
ASSISTANT (tool call) ... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-00996 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — старший фронтенд-разработчик. Создаешь современные надежные веб-интерфейсы с подробным разбором архитектуры в <think>...</think>."
},
{
"role": "user",
"content": "Сделай адаптивный аккордеон с плавной высотой на чистом css grid-template-rows для сайта. Напиш... | <|im_start|>system
Ты — старший фронтенд-разработчик.<|im_end|>
<|im_start|>user
Сделай адаптивный аккордеон с плавной высотой на чистом css grid-template-rows для сайта. Напиши чистое решение с обработкой краевых случаев.<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и требований:
- Входной запрос: Сделай а... | {
"source": "curated_ru_frontend",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.99
} |
web-coder-00997 | 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": "Write JavaScript code to create a simple notificat... | <|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 JavaScript code to create a simple notification with a title and a body.<|im_end|>
<|im_... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00998 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/utils/apiClient.js` в позиции курсора:\n<|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {\n const { timeout = 8000, ...fetchOpts } = options;\n\n for (let attempt = 1; attempt <=... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
const { timeout = 8000, ...fetchOpts } = options;
for (let attempt = 1; attempt <= retries; attempt++) {
const controller = new AbortController();
<|fim_suffix|> signal: controller.signal
});
... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00999 | 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": "Add a scroll event handler to a window object that... | <|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
Add a scroll event handler to a window object that displays the current scroll position of the... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.