Datasets:
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-00000 | autocomplete_fim | en | css | [
{
"role": "user",
"content": "Code autocomplete (css) for `src/styles/spinner.css` at cursor position:\n<|fim_prefix|>.spinner-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.spinner {\n width: 40px;\n<|fim_suffix|> animation: spin 0.8... | <|fim_prefix|>.spinner-container {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
}
.spinner {
width: 40px;
<|fim_suffix|> animation: spin 0.8s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}... | {
"source": "curated_web_fim",
"file": "src/styles/spinner.css",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00001 | 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 button to the audio player that allows the u... | <|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 button to the audio player that allows the user to upload an audio file.<|im_end|>
<|im_... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00002 | 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-00003 | 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<|fim_suffix|>\n ge... | <|fim_prefix|>export const timedStorage = {
set(key, value, ttlSeconds) {
const item = {
value,
expiry: Date.now() + (ttlSeconds * 1000)
};
try {
<|fim_suffix|>
get(key) {
const itemStr = localStorage.getItem(key);
if (!itemStr) return null;
try {
const item = JSON.parse(i... | {
"source": "curated_web_fim",
"file": "src/utils/storage.js",
"has_think": false,
"has_tools": false,
"quality_score": 0.96
} |
web-coder-00004 | 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-00005 | 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": "Fix the missing 'aria-hidden' attribute on a hidde... | <|im_start|>system
You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code.<|im_end|>
<|im_start|>user
Fix the missing 'aria-hidden' attribute on a hidden submit button to prevent screen readers fr... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00006 | 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-00007 | 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-00008 | 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": "Build a custom styling solution that combines 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
Build a custom styling solution that combines Styled-components and Emotion. Create a styled c... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00009 | 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-00010 | 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": "In a complex web application, you have multiple la... | <|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 complex web application, you have multiple layers of elements that need to be positioned ... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00011 | web_reasoning_sft | en | javascript | [
{
"role": "system",
"content": "You are a senior web development architect (HTML, CSS, JavaScript, React). Always reason step-by-step inside <think>...</think> tags before providing clean, production-grade code."
},
{
"role": "user",
"content": "Given the following HTML code, disable the second ... | <|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, disable the second option in the "Vegetables" optgroup:
```htm... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00012 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Создай navigation menu that is hidden by defau... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Создай navigation menu that is hidden by default and appears when the user clicks on a ham... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00013 | web_reasoning_sft | ru | css | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Add a CSS анимация to a div element that fades... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Add a CSS анимация to a div element that fades in from transparency to full opacity over 2... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00014 | 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 story that uses the `Args` addon to create... | <|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 story that uses the `Args` addon to create a custom build system.<|im_end|>
<|im_start... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00015 | 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-00016 | 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-00017 | 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-00018 | 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-00019 | 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-00020 | 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-00021 | 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-00022 | 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 the following code:\n\n```\nconst obj1 = ... | <|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 the following code:
```
const obj1 = {
name: 'John Doe',
age: 30,
address: {
... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00023 | 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 global style that includes a CSS custom p... | <|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 global style that includes a CSS custom property that can be used to change the styli... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00024 | 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 debounce function that takes an event ... | <|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 debounce function that takes an event listener as an argument and returns a new ev... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00025 | 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-00026 | 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 variable named `func` and assi... | <|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 variable named `func` and assign it a function that takes two numbers as a... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00027 | 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 Universal React application using Next.js... | <|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 Universal React application using Next.js that can be rendered on both the server and... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00028 | web_reasoning_sft | ru | javascript | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "Group related input fields within a fieldset u... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
Group related input fields within a fieldset using the `legend` and `fieldset` elements.<|... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.7
} |
web-coder-00029 | 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 the following code:\n\n```html\n<form act... | <|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 the following code:
```html
<form action="/transfer" method="POST">
<input type="h... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00030 | 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-00031 | 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-00032 | 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 complex React component that uses 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
Given a complex React component that uses multiple levels of nesting and state management, wri... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00033 | web_reasoning_sft | ru | react | [
{
"role": "system",
"content": "Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код."
},
{
"role": "user",
"content": "In a React component that fetches data from an... | <|im_start|>system
Ты — ведущий эксперт по веб-разработке (HTML, CSS, JavaScript, React). Всегда сначала анализируй архитектуру и решение в тегах <think>...</think>, затем пиши чистый, качественный код.<|im_end|>
<|im_start|>user
In a React component that fetches data from an API, implement infinite scrolling to automa... | {
"source": "Tensoic/FrontendCookbook",
"file": null,
"has_think": true,
"has_tools": false,
"quality_score": 0.75
} |
web-coder-00034 | 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
} |
End of preview. Expand in Data Studio
WebDev Agentic Coder & Autocomplete Dataset (DoRA Ready)
Curated, filtered, and distilled dataset specifically designed for fine-tuning LLMs with DoRA (Weight-Decomposed Low-Rank Adaptation) and LoRA for:
- Web Development: HTML5, CSS3, JavaScript (ES6+), TypeScript, React, responsive UI, DOM, and Web APIs.
- Agentic Coding: Autonomous multi-turn problem solving, tool use (
read_file,write_file,edit_file,run_command), and codebase refactoring. - AI Autocomplete: Fill-In-The-Middle (FIM) format (
<|fim_prefix|>,<|fim_suffix|>,<|fim_middle|>) for IDE code completions. - Distilled Reasoning (
<think>Mode): Deep chain-of-thought analysis inspired by Fable / Claude-Code traces before generating code or calling tools. - Bilingual (>= 40% Natural Russian): Real-world colloquial yet technical Russian paired with high-quality English.
Dataset Statistics
- Total Curated Examples: 3707
- Language Distribution:
- Russian (ru): 2016 (54.4%)
- English (en): 1691 (45.6%)
- Task Types:
web_reasoning_sft: 2200autocomplete_fim: 1126agentic_web: 381
- Reasoning Chains (
<think>): 2500 examples (67.4%) - Quality Filtering Gate: 100% passed strict heuristic filtering (>80% garbage confidence rejected).
Data Format
Each row adheres to a unified schema supporting both conversational training (messages) and causal completion / FIM (text):
{
"id": "web-frontend-00042",
"task_type": "web_reasoning_sft",
"language": "ru",
"framework": "javascript",
"messages": [
{"role": "system", "content": "..."},
{"role": "user", "content": "..."},
{"role": "assistant", "content": "<think>\n...\n</think>\n..."}
],
"text": "<|im_start|>system\n...<|im_end|>...",
"meta": {
"source": "...",
"has_think": true,
"has_tools": false,
"quality_score": 0.98
}
}
Autocomplete (FIM) Format
FIM examples use standard tokens compatible with Qwen2.5-Coder and DeepSeek-Coder:
<|fim_prefix|>...code before cursor...<|fim_suffix|>...code after cursor...<|fim_middle|>...predicted completion...
Fine-tuning with DoRA (Example Config)
This dataset is pre-formatted for direct ingestion by TRL / SFTTrainer, Unsloth, Axolotl, and LLaMA-Factory:
from transformers import TrainingArguments
from peft import LoraConfig
from trl import SFTTrainer
from datasets import load_dataset
dataset = load_dataset("68standard/webdev-agentic-coder-distill-dora")
peft_config = LoraConfig(
use_dora=True, # Enable DoRA (Weight-Decomposed LoRA)
r=32,
lora_alpha=64,
lora_dropout=0.05,
target_modules=["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj"],
bias="none",
task_type="CAUSAL_LM"
)
trainer = SFTTrainer(
model="Qwen/Qwen2.5-Coder-7B-Instruct",
train_dataset=dataset["train"],
dataset_text_field="text",
max_seq_length=4096,
peft_config=peft_config,
args=TrainingArguments(
output_dir="./dora-web-agent-coder",
learning_rate=2e-4,
warmup_ratio=0.03,
lr_scheduler_type="cosine",
bf16=True,
logging_steps=10,
per_device_train_batch_size=2,
gradient_accumulation_steps=8
)
)
trainer.train()
- Downloads last month
- 42