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-02900 | 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": "In a Redux application, you have a `user` reducer ... | <|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
In a Redux application, you have a `user` reducer that manages the current user's information.... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02901 | 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": "Implement a custom pagination component from scrat... | <|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
Implement a custom pagination component from scratch, without using Ant Design's built-in comp... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02902 | 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-02903 | 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<|fim_suffix|>\n start() {\n this.isRunning = true;\n this.lastTime = performance.now();\n r... | <|fim_prefix|>export class CanvasGameEngine {
constructor(canvas) {
this.canvas = canvas;
<|fim_suffix|>
start() {
this.isRunning = true;
this.lastTime = performance.now();
requestAnimationFrame(this.loop.bind(this));
}
stop() {
this.isRunning = false;
}
loop(currentTime) {
if (!th... | {
"source": "curated_web_fim",
"file": "src/game/engine.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02904 | web_reasoning_sft | en | javascript | [
{
"role": "system",
"content": "You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code."
},
{
"role": "user",
"content": "Write a JavaScript program that uses the `if` stat... | <|im_start|>system
You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code.<|im_end|>
<|im_start|>user
Write a JavaScript program that uses the `if` statement to check if a number is even or odd.<|... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02905 | 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-02906 | 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": "Consider a NextJS application with multiple pages,... | <|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
Consider a NextJS application with multiple pages, each of which fetches data from an API usin... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02907 | 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-02908 | 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-02909 | 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-02910 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a JavaScript function that takes a strin... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a JavaScript function that takes a string as an argument and returns the length of t... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02911 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following Emotion styles object, cre... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following Emotion styles object, create a адаптивный design for a form that chan... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02912 | autocomplete_fim | ru | javascript | [
{
"role": "user",
"content": "Автодополнение кода (javascript) для файла `src/components/navbar.js` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\n<|fim_suffix|> const [isMenuOpen, setIsMenuOpen] = useState(false);\n const [scrolled, setScrolled] = useState(false);\n\n ... | <|fim_prefix|>import { useState, useEffect } from 'react';
<|fim_suffix|> const [isMenuOpen, setIsMenuOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY > 20);
};
window.addEventListener('scroll', h... | {
"source": "curated_web_fim",
"file": "src/components/navbar.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02913 | 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-02914 | 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 Ant Design component 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 a custom Ant Design component that includes a header, body, and footer.<|im_end|>
<|im_... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02915 | 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-02916 | 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-02917 | 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 renders a large amoun... | <|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 renders a large amount of data, optimize the performance by using... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02918 | 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": "In a Next.js application, implement a dynamic rout... | <|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
In a Next.js application, implement a dynamic routing system that allows users to navigate to ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02919 | 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-02920 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following HTML and CSS, create a lay... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following HTML and CSS, create a layout where the sidebar is always visible and ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02921 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "html\">Page 1</a>\n<a href=\"page"
},
{
... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
html">Page 1</a>
<a href="page<|im_end|>
<|im_start|>assistant
<think>
1. Анализ задачи и ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02922 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given a simple HTML table with headers and dat... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given a simple HTML table with headers and data, add CSS to style the table with alternati... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02923 | 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 sticky header that remains at the top of ... | <|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 sticky header that remains at the top of the screen when the user scrolls down.<|im_e... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02924 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Develop a browser extension that can protect u... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Develop a browser extension that can protect users from XSS attacks. The extension should ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02925 | 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-02926 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай CSS class that applies a 2px solid gree... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай CSS class that applies a 2px solid green border to the top edge, a 3px solid blue b... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02927 | 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 `<section>` element inside the `<main>` elem... | <|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 `<section>` element inside the `<main>` element.<|im_end|>
<|im_start|>assistant
<think>... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02928 | 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-02929 | 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 div with the following properties:\n * ... | <|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 div with the following properties:
* Width: 200px
* Height: 200px
* Backgrou... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02930 | 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-02931 | 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 flex container with three items. Make the... | <|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 flex container with three items. Make the first item have a font-size of 12px, the se... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02932 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following HTML and CSS, write the mi... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following HTML and CSS, write the missing code to make the transform property of... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02933 | 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-02934 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Use Formik's `yup` library to define validatio... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Use Formik's `yup` library to define validation rules for the form fields.<|im_end|>
<|im_... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02935 | 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-02936 | 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": ": Implement a Redux reducer that handles 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
: Implement a Redux reducer that handles multiple actions and updates the state accordingly. U... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02937 | 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 a simple HTML document with a <canvas> 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
Given a simple HTML document with a <canvas> element, write JavaScript code that will add an e... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02938 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Implement code in a reducer function to handle... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Implement code in a reducer function to handle the 'ADD_TODO' action and add the new todo ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02939 | agentic_web | ru | css | [
{
"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-02940 | 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;
<|fim_suffix|>
stop() {
this.isRunning = false;
}
loop... | {
"source": "curated_web_fim",
"file": "src/game/engine.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02941 | 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 and include the necessary ... | <|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 and include the necessary HTML elements to define the document structu... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02942 | 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 required attribute to mark an input field ... | <|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 required attribute to mark an input field as mandatory, preventing the form from being... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02943 | 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 button that submits a form."
},
{
... | <|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 button that submits a form.<|im_end|>
<|im_start|>assistant
<think>
1. Requirement An... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02944 | 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-02945 | 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-02946 | 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-02947 | 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-02948 | 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-02949 | 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-02950 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a function to use a JWT to implement tok... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a function to use a JWT to implement token-based authentication in a mobile applicat... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02951 | 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-02952 | 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-02953 | 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": "How can you configure Webpack to minify and uglify... | <|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 Webpack to minify and uglify the bundled JavaScript code, reducing its s... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02954 | 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": "css */\n\n.box {\n color: blue;\n font-weight: b... | <|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
css */
.box {
color: blue;
font-weight: bold;
background-color: red;
}
```<|im_end|>
<|... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02955 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write the function using the logical AND opera... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write the function using the logical AND operator.<|im_end|>
<|im_start|>assistant
<think>... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02956 | 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<|fim_suffix|> } catch (e) {\n console.warn('LocalStorage quota exceeded or unavailabl... | <|fim_prefix|>export const timedStorage = {
set(key, value, ttlSeconds) {
const item = {
<|fim_suffix|> } catch (e) {
console.warn('LocalStorage quota exceeded or unavailable', e);
}
},
get(key) {
const itemStr = localStorage.getItem(key);
if (!itemStr) return null;
try {
cons... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02957 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай progress indicator that uses a custom а... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай progress indicator that uses a custom анимация to show the user's progress.<|im_end... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02958 | 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<|fim_suffix|> try {\n localStorage.setItem(key, JSON.stringify(item));\... | <|fim_prefix|>export const timedStorage = {
set(key, value, ttlSeconds) {
const item = {
value,
<|fim_suffix|> try {
localStorage.setItem(key, JSON.stringify(item));
} catch (e) {
console.warn('LocalStorage quota exceeded or unavailable', e);
}
},
get(key) {
const itemStr = l... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02959 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following HTML code, add a `<ul>` ta... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following HTML code, add a `<ul>` tag with three `<li>` tags to create a bullete... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02960 | 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-02961 | 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]…
/home/lane/AIArchives/archives/neonstrike/playtest/05-bsite.png"}
TOOL RESULT:
ASSISTANT (message): Floor improved, B-site moody magenta — good. Game done. Now register in archive: archive.json + README.
ASSISTANT (tool... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-02962 | web_reasoning_sft | ru | typescript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай custom Redux middleware in TypeScript t... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай custom Redux middleware in TypeScript that logs all actions dispatched to the store... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02963 | 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-02964 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай caching proxy server using a tool like ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай caching proxy server using a tool like Varnish or Nginx to cache responses from mul... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02965 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given the following code:\n\n```javascript\nco... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given the following code:
```javascript
const obj = { a: 1, b: 2, c: { d: 3, e: 4 } };
c... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02966 | 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-02967 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "5 }) => {\n const ref = useRef();\n const [i... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
5 }) => {
const ref = useRef();
const [isLoaded, setIsLoaded] = useState(false);
us... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02968 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай HTML page with a button that toggles t... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай HTML page with a button that toggles the visibility of a div. Add inline event han... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02969 | 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 Redux DevTools extension to persist your R... | <|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 Redux DevTools extension to persist your Redux store's state across page refreshes.<|i... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02970 | autocomplete_fim | ru | typescript | [
{
"role": "user",
"content": "Автодополнение кода (typescript) для файла `src/hooks/useDebounce.ts` в позиции курсора:\n<|fim_prefix|>import { useState, useEffect } from 'react';\n\n/**\n<|fim_suffix|> */\nexport function useDebounce<T>(value: T, delay: number = 300): T {\n const [debouncedValue, setDeboun... | <|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)... | {
"source": "curated_web_fim",
"file": "src/hooks/useDebounce.ts",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02971 | 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-02972 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a Sass function that takes a list of col... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a Sass function that takes a list of colors as an argument and returns a gradient ba... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02973 | 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 structure, use CSS grid 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
Given the following HTML structure, use CSS grid layout to create a layout where the header an... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02974 | 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": "Optimize the performance of images on your website... | <|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
Optimize the performance of images on your website by using appropriate image formats (such as... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02975 | 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-02976 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Implement optimistic updates in your Next.js a... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Implement optimistic updates in your Next.js application using Apollo Client's useMutation... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02977 | 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-02978 | 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]…
ommand-args>
USER: <local-command-stdout>Login successful</local-command-stdout>
USER: Note: look at assets in game via screenshots so you can properly enhance them.
ASSISTANT (tool call) Bash input={"command": "sudo -n ... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-02979 | 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-02980 | 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 that outlines a web page w... | <|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 that outlines a web page with a complex layout, such as a header with ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02981 | 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 HTML document, select the parent element ... | <|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 HTML document, select the parent element of an element with the id "my-id" and change... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02982 | 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 application with a 'Form' component... | <|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 application with a 'Form' component that renders a form with multiple input fie... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02983 | web_reasoning_sft | ru | html | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай box with a width of 200px, a height of ... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай box with a width of 200px, a height of 100px, a border of 1px solid black, a margin... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02984 | 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<|fim_suffix|> <title>Интерактивная панель управления</title>\n <link rel=\"stylesheet\" href=\"/styles/main.css\">\n</... | <|fim_prefix|><!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<|fim_suffix|> <title>Интерактивная панель управления</title>
<link rel="stylesheet" href="/styles/main.css">
</head>
<body>
<header class="app-header">
<div class="header-inner">
<h1 class="logo">Веб-Платформа</h1>
<but... | {
"source": "curated_web_fim",
"file": "public/index.html",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-02985 | 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": "You have a function that takes a string and return... | <|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 function that takes a string and returns a new string with all the vowels removed. ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02986 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Write a Redux Saga that fetches data from an A... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Write a Redux Saga that fetches data from an API and dispatches an action with the fetched... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02987 | 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-02988 | 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": "Implement a web app that allows users to save and ... | <|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
Implement a web app that allows users to save and retrieve their current state in a game using... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02989 | 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-02990 | 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-02991 | 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-02992 | 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 web application that uses a WebSocket con... | <|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 web application that uses a WebSocket connection to communicate with a server over HT... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02993 | 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]…
T: Blender 4.2.5 LTS
build date: 2024-12-17
build time: 01:31:17
Shell cwd was reset to /home/lane/AIArchives
ASSISTANT (tool call) Bash input={"command": "cd /home/lane/AIArchives/archives/neonstrike && mkdir -p blend... | {
"source": "Fable-5-distill",
"file": null,
"has_think": true,
"has_tools": true,
"quality_score": 0.92
} |
web-coder-02994 | 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-02995 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Add an edit form to the dynamic page that allo... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Add an edit form to the dynamic page that allows users to edit existing data and send the ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02996 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Given two arrays of numbers, write a program t... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Given two arrays of numbers, write a program that prints the elements that are common to b... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-02997 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "In the same application, use the `getDerivedSt... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
In the same application, use the `getDerivedStateFromError()` lifecycle method in the Erro... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02998 | 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 a ref to access... | <|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 a ref to access the DOM element that represents a map. Use ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-02999 | 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 JavaScript module that exports a function... | <|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 JavaScript module that exports a function to check if a string is a palindrome. Impor... | {
"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.