Dataset Viewer
Auto-converted to Parquet Duplicate
category
stringclasses
6 values
messages
listlengths
3
3
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Recurrent Neural Network (RNN) Model in Python with Keras that takes in text data and generates predicted labels.\n\nInput:\nNot applicable...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python class for Polygon which has the ability to compute the perimeter of a polygon.", "role": "user" }, { "content": "{\"outpu...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Implement a linear regression model in Python to predict the target value given features.", "role": "user" }, { "content": "{\"output_ty...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this TypeScript error: NullPointerException", "role": "user" }, { "content": "{\"output_type\": \"debug_graph\", \"nodes...
knowledge_graph
[ { "content": "You build knowledge graphs showing relationships between concepts.", "role": "system" }, { "content": "Explain the relationship between 'Docker' and 'Container'", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\": [{\"id\": \"n1\", \"type\": \...
mcp_tool_call
[ { "content": "You build knowledge graphs. Use <NEEDS_MCP:tool_name> for nodes requiring live data.", "role": "system" }, { "content": "Why is this function slow?", "role": "user" }, { "content": "{\"output_type\": \"investigation_graph\", \"nodes\": [{\"id\": \"query\", \"type\": \"quest...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a function in Python that takes in two dictionaries. The output should be a dictionary that contains the two original dictionaries combined, ...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "The deposition of sediment at the mouth of a river by water fanning out is called by what name?", "role": "user" }, { "c...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "A store sold a certain brand of jeans for $40. They only have few pairs of jeans left so they decided to give 10% discount on every two pairs of jeans bought by a custome...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate a Django project named \"myproject\" with the following structure:", "role": "user" }, { "content": "{\"output_type\": \"code_g...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this TypeScript error: IndexError: list index out of range", "role": "user" }, { "content": "{\"output_type\": \"debug_g...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a machine learning model in Python that predicts the product popularity based on the customer reviews.\n\nInput:\nData set containing custome...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Develop a program in Python to find the count of all prime numbers between two given numbers.\n\nInput:\nstart_number = 10\nend_number = 20", "r...
escalation
[ { "content": "Decide if you can handle this or need escalation.", "role": "system" }, { "content": "Define 'API'", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\": [{\"id\": \"ans\", \"type\": \"fact\", \"content\": \"Application Programming Interface\", ...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "After buying shirts worth $27 from a store, Dennis received 2 $10 bills and $3 in loose coins for his change. How much money did Dennis have initially?", "role": "use...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Modify the following Python funciton to return the second largest element in the list.\n\nInput:\nx = [1, 2, 3, 4, 5]", "role": "user" }, { ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Develop a Python script to measure the speed of different sorting algorithms.", "role": "user" }, { "content": "{\"output_type\": \"code...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Class A is twice as big as Class B. Class A is also a third the size of Class C. If Class B has 20 people in it, how many people are in Class C?", "role": "user" },...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Emma bought 3 dozens of macarons in addition to her 10 pieces of macarons for a party. If 15 pieces of macarons are left over, how many pieces of macarons were eaten?", ...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "James gets 3 parking tickets. The first 2 cost $150 each and the third cost 1/3 as much as one of these. His roommate agrees to pay half the cost. How much money does ...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this JavaScript error: SyntaxError: unexpected EOF while parsing", "role": "user" }, { "content": "{\"output_type\": \"d...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "An aqua park charges $12 admission and $6 for a tour. A group of 10 people goes to the aquarium and takes the tour; while a group of 5 people only goes to the aquarium. H...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Construct a Python class that determines the area and circumference of a circle.", "role": "user" }, { "content": "{\"output_type\": \"c...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Use a Python library to visualize a Gaussian normal distribution with the mean set to 5 and the standard deviation set to 1.", "role": "user" ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program for encrypting a given string using the XOR technique.\n\nInput:\nString: \"Hello world!\"", "role": "user" }, { ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate a list of output values by multiplying the input values from two array in Python.\n\nInput:\n[1, 2, 3] and [4, 5, 6]", "role": "user" ...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "What do sharks use to convert oxygen?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\"...
knowledge_graph
[ { "content": "You build knowledge graphs showing relationships between concepts.", "role": "system" }, { "content": "Explain the relationship between 'Git' and 'Commit'", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\": [{\"id\": \"n1\", \"type\": \"conce...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a class in Python that contains a property called \"name\" and a constructor to set the value of the name property.\n\nInput:\nJohn", "ro...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program to compare two given strings and returns the number of mismatched letters.\n\nInput:\nstring1 = \"abcdefg\"\nstring2 = \"acc...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "what breathes with the help of a diaphragm?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"n...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Summarize the text given below in 2 to 3 sentences.\n\nInput:\nThe Python programming language is a powerful, general-purpose, open-source language....
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a RESTful API using Python and Flask.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \"nodes\": [{\"id\": \"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Develop a Python program to generate a random password of length 8 that consists of letters and numbers.", "role": "user" }, { "content"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Construct a ML pipeline for text classification in Python\n\nInput:\nNot applicable", "role": "user" }, { "content": "{\"output_type\": ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Optimize the given Python program by reducing the time complexity.\n\nInput:\ndef find_max(lst):\n max_value = 0\n for item in lst:\n if max_va...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Jackson collects 45 hermit crabs, 3 spiral shells per hermit crab, and 2 starfish per spiral shell. How many souvenirs does he collect total?", "role": "user" }, ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python program to classify the iris dataset. The program should have an input field for the train and test data and output a confusion matri...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate Python code that collects all the even numbers from a given list of numbers.\n\nInput:\n[1, 2, 3, 4, 5, 6, 7, 8]", "role": "user" }, ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Identify the best algorithm to find the maximum sum of a subarray in a given array and write a Python code snippet accordingly.\n\nInput:\narr = [-2...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python program to remove the nth index character from a non-empty string.\n\nInput:\nString: \"Hello world!\", index: 5", "role": "user"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Develop a function in Python to generate a random number between 1 and 10.\n\nInput:\nNot applicable", "role": "user" }, { "content": "{...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Build an Access Control List (ACL) system for a Python web application. The system should be able to modify user access rights through user profiles...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a python function that prints out the largest element in an array.\n\nInput:\n[1,4,7,12,-1]", "role": "user" }, { "content": "{\"...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Eric has 4 ninja throwing stars. His friend Chad has twice as many. Then Jeff bought 2 ninja stars from Chad. Jeff now has 6 throwing stars. How many ninja throwing stars...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program to split a string in the match of a regular expression and return a list of the split strings.\n\nInput:\nstring = \"102030-...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program to sort a dictionary by value\n\nInput:\nd = {'z': 1, 'b': 2, 'a': 4, 'c': 3}", "role": "user" }, { "content": "...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Design a Python program to solve the longest palindromic substring problem.\n\nInput:\n\"babdfeffe\"", "role": "user" }, { "content": "{...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program that generates a histogram from a list of integers.", "role": "user" }, { "content": "{\"output_type\": \"code_g...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a web application using Django with two models called 'User' and 'Post', where 'User' has a one-to-many relationship with 'Post'.", "role...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate a function for vector addition in Python.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \"nodes\": [{\"id...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Use Python loops to generate a new list containing the square of all numbers in the following list.\n\nInput:\nlist = [1,2,3,4,5]", "role": "use...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Ann is baking cookies. She bakes three dozen oatmeal raisin cookies, two dozen sugar cookies, and four dozen chocolate chip cookies. Ann gives away two dozen oatmeal rais...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate a Python program that scores words based on their length - shorter words should receive a higher score.\n\nInput:\n\"Hello World!\"", "...
mcp_tool_call
[ { "content": "You build knowledge graphs. Use <NEEDS_MCP:tool_name> for nodes requiring live data.", "role": "system" }, { "content": "What changed in the payment system last week?", "role": "user" }, { "content": "{\"output_type\": \"investigation_graph\", \"nodes\": [{\"id\": \"query\"...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Eddy’s spider plant produces 2 baby plants 2 times a year. After 4 years, how many baby plants will the mother plant have produced?", "role": "user" }, { "co...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program that will parse a website and get all the links on the page.\n\nInput:\nNot applicable", "role": "user" }, { "co...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a web application usingPython and Flask that displays a simple \"Hello World\" page.\n\nInput:\nNot applicable", "role": "user" }, { ...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Borgnine wants to see 1100 legs at the zoo. He has already seen 12 chimps, 8 lions, and 5 lizards. He is next headed to see the tarantulas. How many tarantulas does he ne...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "The Grey's bought several chickens at a sale. John took 5 more of the chickens than Mary took. Ray took 6 chickens less than Mary. If Ray took 10 chickens, how many more ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a function in Python to return the length of the longest word in a list of words.\n\nInput:\nwords = [\"cat\", \"longestword\", \"dog\", \"ni...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Tom bought his games for $200. They tripled in value and he then sold 40% of them. How much did he sell the games for?", "role": "user" }, { "content": "{\"...
mcp_tool_call
[ { "content": "You build knowledge graphs. Use <NEEDS_MCP:tool_name> for nodes requiring live data.", "role": "system" }, { "content": "What changed in the payment system last week?", "role": "user" }, { "content": "{\"output_type\": \"investigation_graph\", \"nodes\": [{\"id\": \"query\"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Design a loop in Python that runs until the user enters q.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \"nodes\"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python program that generates lyrics for a song.\n\nInput:\nNot applicable", "role": "user" }, { "content": "{\"output_type\": ...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "Forests naturally keep what?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\": [{\"id\...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python program to sort the list of elements by their occurrence in the list.\n\nInput:\nl = [1,2,2,2,2,3,3,3,3,3,3,1,1,1]", "role": "use...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "Woodlands benefit from what?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\": [{\"id\...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "What happens when an animal perspires?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this JavaScript error: IndexError: list index out of range", "role": "user" }, { "content": "{\"output_type\": \"debug_g...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "There is a fruit display that has apples, oranges, and bananas. There are twice as many apples as oranges, and there are twice as many oranges as bananas. How many frui...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "transportation equipped with what is used for moving people across bodies of water", "role": "user" }, { "content": "{\"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate a Python program that prints out the highest prime factor for each integer between 1 and 10.\n\nInput:\nNot applicable", "role": "user"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Generate a Python function that takes in a string x and returns a substring of x that is the longest palindrome.\n\nInput:\nx = 'abacdbcdbafeaccba'"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Design a neural network application in Python to predict the price of real estate.\n\nInput:\nTable Name: Properties\n\nColumns:\n- id: int\n- locat...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this TypeScript error: TypeError: Cannot read properties of undefined", "role": "user" }, { "content": "{\"output_type\"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python code snippet to remove the last element from a list.\n\nInput:\nexample_list = [3, 1, 5, 7, 4, 8, 2]", "role": "user" }, { ...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Jamestown has 20 theme parks. If Venice has 25 more theme parks than Jamestown, and Marina Del Ray has 50 more theme parks than Jamestown, calculate the number of theme p...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Bald Mountain received 1.5 meters of snow last week. During a blizzard, Billy Mountain received 3.5 meters of snow and Mount Pilot received 126 centimeters of snow. How m...
escalation
[ { "content": "Decide if you can handle this or need escalation.", "role": "system" }, { "content": "Write a 10-page philosophical essay", "role": "user" }, { "content": "{\"output_type\": \"escalation_only\", \"nodes\": [], \"edges\": [], \"escalation\": {\"reason\": \"requires_deep_reas...
mcp_tool_call
[ { "content": "You build knowledge graphs. Use <NEEDS_MCP:tool_name> for nodes requiring live data.", "role": "system" }, { "content": "Explain how authentication works in this app", "role": "user" }, { "content": "{\"output_type\": \"investigation_graph\", \"nodes\": [{\"id\": \"query\",...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python script to display a table of values given a range of x and y coordinates.\n\nInput:\nx range: 0 to 50\ny range: 0 to 10", "role"...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Theo can eat 13 cookies, 3 times a day, 20 days each month. How many cookies can he eat in 3 months?", "role": "user" }, { "content": "{\"output_type\": \"rea...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Gwendolyn can read 200 sentences of a book in 1 hour. She just brought a book from the library, having 20 paragraphs per page. What's the total time Gwendolyn will take t...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Preston has a sandwich shop. He charges $5 for each sandwich. He also charges $20 for a delivery fee. Abra Company orders 18 sandwiches from Preston and also tips him 10%...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Explain Python's Decorator pattern.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \"nodes\": [{\"id\": \"task\", \...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Jenny is planning her catering budget for her wedding. She's going to have 80 guests. 3 times as many guests want steak as chicken. If each steak entree costs $25 and eac...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this Python error: NullPointerException", "role": "user" }, { "content": "{\"output_type\": \"debug_graph\", \"nodes\": ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Calculate the average grade of a student given a list of their grades in Python.\n\nInput:\ngrades = [90, 85, 80, 75, 70]", "role": "user" }, ...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python program to filter out all the even numbers from a list.\n\nInput:\n[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "role": "user" }, { ...
reasoning
[ { "content": "You solve complex problems by breaking them into step-by-step reasoning graphs.", "role": "system" }, { "content": "Albert has three times as many marbles as Angela. Angela has 8 more than Allison, who has 28 marbles. How many marbles do Albert and Allison have?", "role": "user" ...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "Two daughter cells are formed at what stage in cell division?", "role": "user" }, { "content": "{\"output_type\": \"know...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Create a Python script to generate random passwords. The script should take one parameter, an integer representing the length of the password, and s...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "what uses eyes for seeing by sensing light?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"n...
knowledge_graph
[ { "content": "You answer questions by retrieving facts and building knowledge graphs showing how they combine to form a conclusion.", "role": "system" }, { "content": "what can keep food from going bad?", "role": "user" }, { "content": "{\"output_type\": \"knowledge_graph\", \"nodes\": [...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this TypeScript error: SyntaxError: unexpected EOF while parsing", "role": "user" }, { "content": "{\"output_type\": \"d...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a Python program to generate a 5x5 matrix filled with zeros.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \...
debug
[ { "content": "You are a cognitive debugger. Output knowledge graphs showing the relationship between errors, code, and fixes.", "role": "system" }, { "content": "Debug this JavaScript error: NullPointerException", "role": "user" }, { "content": "{\"output_type\": \"debug_graph\", \"nodes...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Implement a stack class in Python.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \"nodes\": [{\"id\": \"task\", \"...
code
[ { "content": "You are a cognitive coding assistant. Output knowledge graphs mapping requirements to code solutions.", "role": "system" }, { "content": "Write a function in Python to find the sum of two arguments.", "role": "user" }, { "content": "{\"output_type\": \"code_graph\", \"nodes...
End of preview. Expand in Data Studio

🧠 NeuroGraph Training Dataset

35,668 examples for training the NeuroGraph cognitive router model.

🏒 Curated and engineered by CedzLabs

πŸ“Š Dataset Composition

Category Count Source
Code Generation 18,195 iamtarun/python_code_instructions_18k_alpaca
Step-by-Step Reasoning 7,473 openai/gsm8k
Knowledge Graphs 5,000 allenai/qasc
Synthetic (MCP/Escalation) 5,000 Custom CedzLabs generation
Total 35,668

πŸš€ Usage

from datasets import load_dataset
dataset = load_dataset("yakkshit/neurograph-dataset")
print(dataset["train"][0])

(Replace yakkshit with your actual Hugging Face username)

πŸ“„ License

MIT License.

Downloads last month
26