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-03600 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a JavaScript function that uses AJAX to ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a JavaScript function that uses AJAX to fetch a JSON object from a URL and then uses... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03601 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "In a React component, you want to use the `use... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
In a React component, you want to use the `useDispatch` hook to dispatch an action and als... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03602 | 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-03603 | 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": "Use flexbox to create a layout that responds to us... | <|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 flexbox to create a layout that responds to user interaction.<|im_end|>
<|im_start|>assist... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03604 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Implement a NextJS application with internatio... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Implement a NextJS application with internationalization (i18n) support and deploy it to A... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03605 | autocomplete_fim | ru | typescript | [
{
"role": "user",
"content": "Автодополнение кода (typescript) для файла `src/hooks/useDebounce.ts` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\n/**\n * Кастомный React хук для задержки обновления значения (debounce).\n * @param value Исходное значение любого типа\n * @p... | <|fim_prefix|>import { useState, useEffect } from 'react';
/**
* Кастомный React хук для задержки обновления значения (debounce).
* @param value Исходное значение любого типа
* @param delay Задержка в миллисекундах
*/
export function useDebounce<T>(value: T, delay: number = 300): T {
<|fim_suffix|>
useEffect(() ... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03606 | 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 two arrays as argument... | <|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 two arrays as arguments and returns a new array that contains all ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03607 | 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-03608 | 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();
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-03609 | 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 a custom event type called \"customEvent\" ... | <|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 event type called "customEvent" and dispatch it on an element when a specific ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03610 | 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-03611 | 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]…
4-asite renders — std=37.5 black=0%
✔ 05-bsite renders — std=39.7 black=0%
✔ 06-sky renders — std=60.7 black=0%
✔ sky view differs from spawn view — diff=93%
[3] textures
✔ texture "asphalt floor" produces pixels... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-03612 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following CSS:\n\n```css\n.container... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following CSS:
```css
.container {
display: grid;
grid-template-columns: re... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03613 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given a grid with three columns, add a CSS rul... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given a grid with three columns, add a CSS rule to make the second column twice as wide as... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03614 | 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-03615 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай box with a width of 50%, a height of 50... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай box with a width of 50%, a height of 50%, a yellow background color, and a 10px bor... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03616 | 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": "Use the <sub> tag to display the following text as... | <|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 the <sub> tag to display the following text as a subscript:
"H<sub>2</sub>O"<|im_end|>
<|... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03617 | 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 function debounce that takes 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
Write a JavaScript function debounce that takes a function and a delay as arguments and return... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03618 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Implement a service worker in your PWA to enab... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Implement a service worker in your PWA to enable offline caching for static assets like im... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03619 | 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();
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-03620 | 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-03621 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Use JavaScript to automatically populate the d... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Use JavaScript to automatically populate the date input field with the current date.<|im_e... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03622 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Integrate a CAPTCHA with a content management ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Integrate a CAPTCHA with a content management system (CMS) or e-commerce platform.<|im_end... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03623 | 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-03624 | 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 try {\n localSt... | <|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);
<|fim_... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03625 | 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": "Use the `reselect` library to create a memoized se... | <|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 the `reselect` library to create a memoized selector that returns the total number of prod... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03626 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай JavaScript variable called 'pets' and a... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай JavaScript variable called 'pets' and assign it an array of objects, where each obj... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03627 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай API route that uses authentication to ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай API route that uses authentication to restrict access to certain users.<|im_end|>
... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03628 | 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-03629 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a React component that uses the useCallb... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a React component that uses the useCallback hook to memoize a function that creates ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03630 | 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 Redux store with a `todos` reducer that ma... | <|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 Redux store with a `todos` reducer that manages a list of todos, and a React component... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03631 | autocomplete_fim | en | html | [
{
"role": "user",
"content": "Code autocomplete (html) for `public/index.html` at cursor position:\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-03632 | 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-03633 | 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-03634 | 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]…
fx: 'knife', reloadTime: 0 },\n pistol: { nam …[truncated]
TOOL RESULT: The file /home/lane/AIArchives/archives/neonstrike/app/public/js/game.js has been updated successfully. (file state is current in your cont... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-03635 | 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": "Extend the previous exercise by adding validation ... | <|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 exercise by adding validation to the form using React Query. Display error... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03636 | 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);
<|fim_suffix|> setScrolled(window.scrollY > 20);
};
window.addEventListe... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03637 | 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 HTML5 doctype declaration that includes ... | <|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 HTML5 doctype declaration that includes the public identifier "-//W3C//DTD HTML 5//E... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03638 | 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]…
js/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at l... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-03639 | 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]…
e/app/public/js/main.js (file state is current in your context — no need to Read it back)
ASSISTANT (message): Now index.html + CSS.
ASSISTANT (tool call) Write input={"file_path": "/home/lane/AIArchives/archives/neonstr... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-03640 | 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-03641 | 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 controlled select box component that is 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
Create a controlled select box component that is styled with CSS.<|im_end|>
<|im_start|>assist... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03642 | web_reasoning_sft | en | typescript | [
{
"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 Redux DevTools to identify performance bottlen... | <|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 Redux DevTools to identify performance bottlenecks in your application by analyzing the ti... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03643 | 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 a CSS animation that uses the `animation-it... | <|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 CSS animation that uses the `animation-iteration-count` property to control how many ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03644 | 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-03645 | 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]…
efore attempting to write it.</tool_use_error>
ASSISTANT (tool call) Bash input={"command": "grep -n \"software-rendering floor\" README.md", "description": "Locate line for edit"}
TOOL RESULT: 58:7. perf snapshot per qu... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-03646 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "You're working on an Angular application that ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
You're working on an Angular application that uses JWTs for authentication. The app needs ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03647 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a Redux-Saga Saga that listens for a `DE... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a Redux-Saga Saga that listens for a `DELETE_TODO` action and dispatches a `DELETE_T... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03648 | 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-03649 | 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": "How can you configure Mini CSS Extract Plugin to e... | <|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
How can you configure Mini CSS Extract Plugin to extract CSS from CSS files that are loaded dy... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03650 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given an array of numbers, write a JavaScript ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given an array of numbers, write a JavaScript expression that evaluates to `true` if the a... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03651 | 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 a custom Webpack plugin to extend its funct... | <|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 Webpack plugin to extend its functionality.<|im_end|>
<|im_start|>assistant
<t... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03652 | 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": "Add an accessible label to a form fieldset."
},
... | <|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 an accessible label to a form fieldset.<|im_end|>
<|im_start|>assistant
<think>
1. Require... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03653 | 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-03654 | 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-03655 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": ": Implement a Redux action creator that uses t... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
: Implement a Redux action creator that uses the `redux-thunk` middleware to dispatch mult... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03656 | 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-03657 | 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<|fim_suffix|> * @param delay Задержка в миллисекундах\n */\nexport function useDebounce<T>(value: T, delay: number = 300): T {\... | <|fim_prefix|>import { useState, useEffect } from 'react';
/**
<|fim_suffix|> * @param delay Задержка в миллисекундах
*/
export function useDebounce<T>(value: T, delay: number = 300): T {
const [debouncedValue, setDebouncedValue] = useState<T>(value);
useEffect(() => {
const handler = setTimeout(() => {
... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03658 | 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-03659 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай CSS image sprite for a set of six small... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай CSS image sprite for a set of six small icons, and use it to display those icons in... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03660 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given a React component that fetches data from... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given a React component that fetches data from an API, write a test case using Jest to moc... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03661 | 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-03662 | 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": "Given the following HTML code:\n\n```html\n<div cl... | <|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 HTML code:
```html
<div class="container">
<p>Lorem ipsum dolor sit ame... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03663 | 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 renders a list of it... | <|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 renders a list of items from an array and displays an error mess... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03664 | 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 try {\n localSt... | <|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-03665 | 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-03666 | 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 --card-shado... | <|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-03667 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "- Modify the `devtool` option to `source-map`.... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
- Modify the `devtool` option to `source-map`. Run the project again and observe the outpu... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03668 | 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<|fim_suffix|> start() {\n this.isRunning = true;\... | <|fim_prefix|>export class CanvasGameEngine {
constructor(canvas) {
this.canvas = canvas;
this.ctx = canvas.getContext('2d');
<|fim_suffix|> start() {
this.isRunning = true;
this.lastTime = performance.now();
requestAnimationFrame(this.loop.bind(this));
}
stop() {
this.isRunning = false;... | {
"source": "curated_web_fim",
"file": "src/game/engine.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03669 | 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-03670 | 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-03671 | 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": "A web application allows users to post comments on... | <|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
A web application allows users to post comments on a blog. The comments are stored in a databa... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03672 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "A React component renders a form with a large ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
A React component renders a form with a large number of text inputs and a submit button. O... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03673 | 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-03674 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a JavaScript program to remove a given e... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a JavaScript program to remove a given element from an array.<|im_end|>
<|im_start|>... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03675 | 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 Задержка в миллисекундах
*/
export function useDebounce<T>(value: T, delay: number = 300): T {
const [debouncedValue, setDe... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03676 | 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-03677 | 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": "Create a styled component for a div using the styl... | <|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 for a div using the styled.div template literal.<|im_end|>
<|im_star... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03678 | 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]…
game.player;\n net.sendState({\n x: p.pos[0], y: p.pos[1], z: p.pos[2],\n yaw: p.yaw, pitch: p.pitch, crouch: p.crouching,\n weapon: p.current, hp: p.hp,\n });\n }\n }", "new_string": ... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-03679 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "In your custom _app.js file, add the following... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
In your custom _app.js file, add the following code to the getInitialProps method:
```
... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03680 | 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-03681 | 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-03682 | 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 form with formik and a single input... | <|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 form with formik and a single input field that takes a user's name. Use the `us... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03683 | 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-03684 | 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 a test using Jest and Enzyme to verify 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
Write a test using Jest and Enzyme to verify that a component correctly sets the context value... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03685 | 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-03686 | 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-03687 | 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-03688 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a JavaScript function that uses the Fetc... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a JavaScript function that uses the Fetch API to fetch the contents of a URL and ret... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03689 | 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-03690 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай styled-component that uses a CSS prepro... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай styled-component that uses a CSS preprocessor like Sass or Less.<|im_end|>
<|im_sta... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03691 | 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 performance test for a React compo... | <|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 performance test for a React component that measures the time it takes for the... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03692 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Rewrite the following code snippet to achieve ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Rewrite the following code snippet to achieve the same result, but change the order of ope... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-03693 | 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<|fim_suffix|> const response... | <|fim_prefix|>export async function fetchWithRetry(url, options = {}, retries = 3, backoff = 500) {
const { timeout = 8000, ...fetchOpts } = options;
<|fim_suffix|> const response = await fetch(url, {
...fetchOpts,
signal: controller.signal
});
clearTimeout(timeoutId);
if (!r... | {
"source": "curated_web_fim",
"file": "src/utils/apiClient.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03694 | 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 = [];
}
<|fim_suffix|> requestAnimationFrame(this.loop.bind(this));
}
stop() {
this.isRunning = false... | {
"source": "curated_web_fim",
"file": "src/game/engine.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03695 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Consider a React component that consists of mu... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Consider a React component that consists of multiple nested elements. The component's rend... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03696 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a JavaScript program to implement a simp... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a JavaScript program to implement a simple HTTP GET request using the 'fetch()' API.... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-03697 | autocomplete_fim | ru | typescript | [
{
"role": "user",
"content": "Автодополнение кода (typescript) для файла `src/hooks/useDebounce.ts` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\n/**\n * Кастомный React хук для задержки обновления значения (debounce).\n * @param value Исходное значение любого типа\n * @p... | <|fim_prefix|>import { useState, useEffect } from 'react';
/**
* Кастомный React хук для задержки обновления значения (debounce).
* @param value Исходное значение любого типа
* @param delay Задержка в миллисекундах
*/
export function useDebounce<T>(value: T, delay: number = 300): T {
const [debouncedValue, setDe... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03698 | 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|>
useEffect(() => {
const handler = setTimeout(() => {
setDebouncedValue(val... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-03699 | 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
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.