Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Remove the extra spaces from a string so that the output does not contain any extra spaces or leading/trailing spaces in C++. Additionally, modify the `removeExtraSpaces` function to also remove any duplicate characters pr...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Show how to find the mean of three numbers in Java.\n\nInput: int x = 3; int y = 4; int z = 5;" }, { "role": "assistant", "content": "<think>\nThe user wants a Java example to find the mean of three numbers. Th...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Rearrange the elements of the list in ascending order.\n\nInput: my_list = [8, 1, 3, 5, 4, 9]" }, { "role": "assistant", "content": "<think>\nThe problem is to sort a list of integers in ascending order. Python...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a MySQL query to calculate the average age of all employees." }, { "role": "assistant", "content": "```sql\nSELECT AVG(age) AS average_age\nFROM employees;\n```\n\n## Explanation\n\n| Component | Purpose...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Normalize the following data set.\n\nInput: [1000, 75, 16, -200, 24]" }, { "role": "assistant", "content": "<think>\nThe user wants to normalize a dataset using min-max normalization, which scales values to the...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write an algorithm to find the largest element in an array.\n\nInput: [8, 11, 12, 5, 3]" }, { "role": "assistant", "content": "<think>\nThis is a classic linear scan problem. The approach is:\n1. Handle the edg...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Concisely describe how a Doubly Linked List works and provide the implementation for a method that reverses the order of the elements in the list. Additionally, analyze the time and space complexity of your implementation ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a function that takes in an array of integers and returns a list of all the elements that appear exactly once in the array. The function should exclude any duplicates or elements that appear more than once.\n\nAddit...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Compress a given string using Run Length Encoding\n\nWrite a function `run_length_encoding` that takes in a string as input and returns the compressed version of the string using Run Length Encoding.\n\n**Example:**\n\n```...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a Python program to swap the first and last element of a given list of integers.\n\nInput: numbers = [2, 3, 4, 5, 6]" }, { "role": "assistant", "content": "<think>\nThe problem is simple: swap the first a...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write an array sorting function that sorts the array in ascending order.\n\nInput: [3, 1, 9, 5, 4]" }, { "role": "assistant", "content": "<think>\nThe problem is straightforward: sort an array in ascending orde...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a function to accept an array of integers and return an array with the corresponding squares of each element, but without using any built-in functions or operators for multiplication or exponentiation. Additionally,...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Generate the Fibonacci series for the given number.\n\nInput: Number: 10" }, { "role": "assistant", "content": "<think>\nThe problem asks to generate the Fibonacci series for a given number n=10, meaning the fi...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "How would you find the union of two sets?\n\nWrite a function that takes in two sets as input and returns a new set that contains all the elements from both sets without any duplicates.\n\nExample:\n\nInput:\nset1 = {1, 2,...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "\n\ndef truncate_number(number: float) -> float:\n \"\"\" Given a positive floating point number, it can be decomposed into\n and integer part (largest integer smaller than given number) and decimals\n (leftover p...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a for loop to iterate over a list of words and print their length. However, exclude any words that contain the letter \"e\" and contain an even number of letters. Additionally, if a word contains the letter \"a\", i...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Edit the given code in Python to produce the desired output.\nlst = [3, 8, 9]\n\nfor i in range(len(lst)):\n print(lst[i])\n \nlst.append(10)\nlst.remove(8)\n\nprint(lst[0])\nprint(lst[1])\nprint(lst[2])\n\nExpected ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a Java code to find the longest common prefix in a string array. The longest common prefix should consist of only lowercase letters. Additionally, the code should not use any built-in string manipulation functions or...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Edit this SQL query to include an order by clause and retrieve only the top 5 employees ordered by their salary in descending order. Additionally, filter the employees based on their job title, only selecting those who hav...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Given a string of words, convert each word to uppercase. The converted string should have all words separated by a single whitespace. Additionally, all vowels in the converted string should be replaced with the correspondi...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Identify the issue in the following function and suggest a fix. The function should handle cases where x and y are non-negative integers and y is greater than 1. Additionally, the function should print the multiplication o...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a SQL query to find customers from USA and order the list by their total purchases in descending order." }, { "role": "assistant", "content": "<think>\nThe problem requires:\n1. Filtering customers by cou...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Count the number of times each letter occurs in the given text.\n\nInput: Text: Coding is fun!" }, { "role": "assistant", "content": "<think>\nThe problem asks to count the frequency of each letter in the text ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a program that will filter out all numbers divisible by 3 from the given list of integers.\n\nInput: [2, 3, 4, 6, 8, 9, 10, 12]" }, { "role": "assistant", "content": "<think>\nThe problem asks to \"filte...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a method to convert a given number to Roman numeral format. The number will always be less than or equal to 3999. The converted Roman numeral should follow the subtractive notation rule. Additionally, the method sho...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Compose a SQL query to display the department(s) with the highest average salary of employees, where the average salary must be greater than $100,000 and the department must have at least 10 employees. Additionally, exclud...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Develop a script in Java to generate the nth prime Fibonacci number.\n\nThe script should take an input, n, which represents the position of the prime Fibonacci number to be generated. The script should then generate and o...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a list comprehension to generate the multiples of a prime number up to a limit. The prime number should be greater than 1000 and less than 10000. The limit should be a randomly generated number between 10000 and 500...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a JavaScript program that takes two numbers and returns the sum of their squares." }, { "role": "assistant", "content": "```javascript\n/**\n * Returns the sum of the squares of two numbers.\n * @param {...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "What are the characteristics of a Function in JavaScript?" }, { "role": "assistant", "content": "# Characteristics of a Function in JavaScript\n\n## 1. Functions Are First-Class Objects\n\nFunctions in JavaScri...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a Java function to find out if a string contains any vowels." }, { "role": "assistant", "content": "# Java Function to Check if a String Contains Any Vowels\n\n```java\npublic class VowelChecker {\n\n ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a Python function to generate a Fibonacci sequence of a given length." }, { "role": "assistant", "content": "<think>\nThe problem is straightforward: generate a Fibonacci sequence of a specified length.\...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Given a sentence, create a list that contains the number of characters in each word of the sentence. The sentence may contain punctuation marks and special characters.\n\nExample: \nInput: \"The quick, brown fox jumps over...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write C++ code to implement a circular doubly linked list with the following additional requirements:\n- The list should support adding elements at the front and back, as well as removing elements from the front and back, ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "What is the output of the following code if the input is a = [3, 5, 2, 4, 9]:\n\nInput: a = [3, 5, 2, 4, 9]" }, { "role": "assistant", "content": "It looks like you've provided the **input** (`a = [3, 5, 2, 4, ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a program that reads user inputs and stores them in a list." }, { "role": "assistant", "content": "<think>\nThe task is simple: read user inputs in a loop and store them in a list. I need to decide on:\n...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a C++ code to create a function which prints the sum of two integers." }, { "role": "assistant", "content": "```cpp\n#include <iostream>\n\nvoid printSum(int a, int b) {\n std::cout << \"The sum of \" ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Compose a Python code for computing the factorial of a given number, using recursion and without using the multiplication operator (*) or the division operator (/). Additionally, you are not allowed to use any loops (for, ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a function that takes in a list of integers and returns the sum of all the numbers that are a multiple of 3. If there is no number that is a multiple of 3, the function should return 0.\n\nPlease note that the input ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Modify the code snippet to filter all records from a table using SQL.\n\nInput: Table Name: StudentTable\nFilter Type: Accepted" }, { "role": "assistant", "content": "<think>\nThe user wants a Python code snipp...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Code a for loop that iterates over a list of positive integers and stores the tripled value of each number in another list. The original list should not be modified. Additionally, the solution should have a time complexity...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Translate this code snippet into a pseudocode.\n\nInput: for x in range(3, 10):\n print(x)" }, { "role": "assistant", "content": "```\nFOR x FROM 3 TO 9\n PRINT x\nEND FOR\n```" } ]
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a boolean function called \"is_num_even\" which takes in a number and returns true if the number is even. Additionally, the function should raise a custom exception called \"InvalidInputError\" if the input is not a...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Create a function in Java that takes two strings as input and output boolean true if they are the same and false if they are different." }, { "role": "assistant", "content": "```java\npublic class StringCompara...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Generate a dictionary that has 5 string-string key-value pairs" }, { "role": "assistant", "content": "<think>\nThe user wants a simple Python dictionary with 5 key-value pairs where both keys and values are str...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Write a Swift code to print out the signature of a function that takes two parameters, both of type Int, and returns an Int. The function should have the following requirements:\n\n1. The sum of the two parameters must be ...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Explain the purpose of the following CSS selector.\n\nInput: .main a" }, { "role": "assistant", "content": "## CSS Selector: `.main a`\n\nThis is a **descendant selector** (also called a \"descendant combinator...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Implement a stack data structure in Java." }, { "role": "assistant", "content": "<think>\nThe user wants a Stack data structure in Java. I'll implement a generic, array-based stack with dynamic resizing. Key op...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Implement a function that takes in two strings as input and returns an integer value representing their alphabetical order. The function should determine the alphabetical order by comparing the characters in the strings ba...
[ { "role": "system", "content": "<think>" }, { "role": "user", "content": "Without using any built-in functions, generate a Python code to remove the duplicated elements in a list" }, { "role": "assistant", "content": "<think>\nThe user wants to remove duplicates from a list without u...
End of preview. Expand in Data Studio

CodeAtelier 23K

codeatelier_23k_v2

Frontend code, Three.js, SVG and implementation reasoning.

Hugging Face Examples Size Languages

Português | English


Português

Sobre o dataset

O CodeAtelier 23K é um dataset voltado ao treinamento e fine-tuning de modelos de linguagem especializados em desenvolvimento frontend.

A coleção reúne aproximadamente 23 mil exemplos, totalizando 153 MB, com foco em geração de código, raciocínio de implementação e desenvolvimento de interfaces visualmente elaboradas.

Uma parte importante do conteúdo é dedicada a Three.js e SVG, incluindo tarefas que exigem mais do que a montagem de componentes convencionais.

A proposta do CodeAtelier é trabalhar com problemas de frontend nos quais decisões de layout, composição visual, estrutura de código e comportamento interativo fazem diferença no resultado.

Áreas de foco

Área Conteúdo
Three.js Cenas 3D, geometria, materiais, iluminação, animações e interatividade
SVG Gráficos vetoriais, composição, paths, filtros e elementos visuais personalizados
Frontend Estrutura de páginas, componentes, estilos e comportamento de interfaces
CSS Layouts, responsividade, transições, animações e acabamento visual
JavaScript Lógica de interação, manipulação de elementos e comportamento dinâmico
Reasoning Raciocínio relacionado à implementação, organização e resolução de problemas de código

Objetivo

O dataset foi desenvolvido para ajudar modelos de código a lidar melhor com solicitações frontend que envolvem requisitos visuais e técnicos simultaneamente.

Isso inclui situações como:

  • Implementar interfaces a partir de descrições detalhadas.
  • Desenvolver cenas e experiências interativas com Three.js.
  • Produzir SVGs com estruturas e efeitos visuais mais elaborados.
  • Resolver problemas de layout, animação e comportamento.
  • Relacionar decisões de implementação aos requisitos de uma tarefa.

O foco está em ampliar o repertório de soluções de frontend durante o treinamento, especialmente em tarefas nas quais uma implementação funcional ainda pode apresentar limitações visuais.

Informações gerais

Propriedade Valor
Nome CodeAtelier 23K
Repositório guell00/Front-end-expert-CodeAtelier_23K
Volume Aproximadamente 23.000 exemplos
Tamanho 153 MB
Idiomas Português e inglês
Domínio Desenvolvimento frontend
Conteúdo em destaque Three.js, SVG e reasoning
Aplicação Treinamento e fine-tuning de modelos de código

Utilização

O dataset está disponível no Hugging Face:

guell00/Front-end-expert-CodeAtelier_23K

Para carregar um dataset compatível com a biblioteca datasets:

from datasets import load_dataset

dataset = load_dataset(
    "guell00/Front-end-expert-CodeAtelier_23K"
)

print(dataset)
print(dataset["train"][0])

O exemplo pressupõe que o repositório tenha uma configuração carregável pela biblioteca e um split chamado train. A estrutura dos registros deve ser consultada antes de preparar o pipeline de treinamento.

Considerações sobre treinamento

O CodeAtelier pode ser utilizado em experimentos de supervised fine-tuning e em outras estratégias de treinamento compatíveis com a estrutura dos dados.

Recomenda-se verificar o formato dos exemplos, a distribuição dos temas e possíveis duplicações antes do treinamento.

A presença de exemplos de raciocínio e código não garante, por si só, melhorias na qualidade visual ou na correção das implementações. Esses resultados dependem do modelo base, do processo de treinamento e da avaliação utilizada.

Para avaliar modelos ajustados com o dataset, é útil considerar tanto a execução correta do código quanto a qualidade visual, a responsividade e a interatividade das interfaces geradas.


English

Overview

CodeAtelier 23K is a dataset intended for training and fine-tuning language models specialized in frontend development.

It contains approximately 23,000 examples across 153 MB, with an emphasis on code generation, implementation reasoning, and visually detailed web development.

A substantial part of the collection focuses on Three.js and SVG, covering tasks that go beyond conventional component-based interface development.

CodeAtelier focuses on frontend problems where layout decisions, visual composition, code structure, and interactive behavior affect the final implementation.

Coverage

Area Content
Three.js 3D scenes, geometry, materials, lighting, animation, and interaction
SVG Vector graphics, composition, paths, filters, and custom visual elements
Frontend Page structure, components, styling, and interface behavior
CSS Layouts, responsive design, transitions, animation, and visual refinement
JavaScript Interaction logic, element manipulation, and dynamic behavior
Reasoning Implementation decisions, code organization, and problem-solving

Intended use

CodeAtelier 23K is designed for code models working on frontend tasks that combine technical requirements with visual specifications.

Relevant applications include:

  • Generating frontend implementations from detailed instructions.
  • Building interactive 3D experiences using Three.js.
  • Creating SVG graphics with more complex structures and effects.
  • Solving layout, animation, and interaction problems.
  • Connecting implementation decisions to task requirements.

The dataset places particular emphasis on frontend tasks where functional correctness alone does not fully describe the expected result.

Dataset information

Property Value
Name CodeAtelier 23K
Repository guell00/Front-end-expert-CodeAtelier_23K
Examples Approximately 23,000
Size 153 MB
Languages Portuguese and English
Domain Frontend development
Main topics Three.js, SVG, reasoning
Intended application Code model training and fine-tuning

Loading the dataset

The dataset is hosted on Hugging Face:

guell00/Front-end-expert-CodeAtelier_23K

For repositories compatible with the Hugging Face datasets library:

from datasets import load_dataset

dataset = load_dataset(
    "guell00/Front-end-expert-CodeAtelier_23K"
)

print(dataset)
print(dataset["train"][0])

This example assumes that the repository can be loaded through the library and provides a train split. Inspect the available columns and record structure before converting the data into a training format.

Training considerations

CodeAtelier 23K can be used for supervised fine-tuning experiments and other training methods compatible with its data structure.

Before training, inspect the examples for formatting consistency, topic distribution, and duplicate content.

The presence of code and reasoning examples does not independently establish improvements in model performance. Results depend on the base model, training configuration, and evaluation methodology.

For frontend-oriented evaluations, useful criteria include code execution, visual fidelity, responsive behavior, and interactive functionality.


Author

Created by guell00.

Dataset repository: Front-end-expert-CodeAtelier_23K

Downloads last month
26