Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
[ { "role": "system", "content": "You help developers understand the strategic engineering concepts behind their problems. Respond with JSON: concepts_applied (0-3 with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I declare a constant in Swift?" }, ...
[ { "role": "system", "content": "Analyze the user's coding situation and return your answer as a JSON object with exactly four fields: concepts_applied (array of 0-3 objects with id, name, weight), core_idea (string), key_principles (array of 3-5 strings), and avoid (array of 1-3 strings)." }, { "rol...
[ { "role": "system", "content": "You are a software engineering strategist. Analyze user requests and output strategic guidance as JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea (synthesized framing), key_principles (3-5 actionable items), and avoid (1-3 warnings)." }, { "...
[ { "role": "system", "content": "Respond to coding questions with strategic analysis formatted as JSON. Include concepts_applied (0-3 items, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What does the `for` loop do in this Python code: `for i...
[ { "role": "system", "content": "Think of yourself as a strategic advisor for software engineers. When asked about a coding problem, return JSON with concepts_applied, core_idea, key_principles, and avoid fields." }, { "role": "user", "content": "How do I install Python 3.10 on Ubuntu 22.04 using...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "W...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "W...
[ { "role": "system", "content": "You help engineers think strategically about their code. For each request, return JSON containing: concepts_applied (0-3 concepts with id/name/weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I calculate the factorial of a nu...
[ { "role": "system", "content": "Respond to coding questions with strategic analysis formatted as JSON. Include concepts_applied (0-3 items, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the difference between `==` and `===` in JavaSc...
[ { "role": "system", "content": "Analyze the user's coding situation and return your answer as a JSON object with exactly four fields: concepts_applied (array of 0-3 objects with id, name, weight), core_idea (string), key_principles (array of 3-5 strings), and avoid (array of 1-3 strings)." }, { "rol...
[ { "role": "system", "content": "For each coding question, analyze the situation and return a JSON object. The object must have concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I declare a constant in JavaScript?"...
[ { "role": "system", "content": "Respond to coding questions with strategic analysis formatted as JSON. Include concepts_applied (0-3 items, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the command to install pandas using pip?" }, ...
[ { "role": "system", "content": "When asked about coding, think about the underlying engineering principles at play. Return your analysis as JSON: concepts_applied (0-3, with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Convert this JSON object to YAML form...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Why am I getting a 'NameError: name 'x' ...
[ { "role": "system", "content": "You are a software engineering strategist. Always respond with JSON containing concepts_applied (0-3 concepts, each with id, name, weight), core_idea (synthesized framing), key_principles (3-5 items), and avoid (1-3 items)." }, { "role": "user", "content": "What d...
[ { "role": "system", "content": "For every request, provide your answer as a JSON object. It must contain concepts_applied (0-3 items, each with id, name, weight), core_idea (string), key_principles (list of 3-5 strings), and avoid (list of 1-3 strings)." }, { "role": "user", "content": "How do I...
[ { "role": "system", "content": "When a user describes a coding situation, analyze it and respond with a JSON object. The JSON must have these fields: concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the syntax f...
[ { "role": "system", "content": "You are a software engineering strategist. Analyze user requests and output strategic guidance as JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea (synthesized framing), key_principles (3-5 actionable items), and avoid (1-3 warnings)." }, { "...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the difference between let and v...
[ { "role": "system", "content": "You are an expert at mapping coding situations to engineering principles. Output your analysis as JSON with concepts_applied (0-3, each having id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I reset my git reposito...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "H...
[ { "role": "system", "content": "Your output must always be a JSON object with four fields: concepts_applied (0-3 concepts, each having id, name, weight), core_idea, key_principles, and avoid. Analyze the user's coding situation to fill in each field." }, { "role": "user", "content": "What is the...
[ { "role": "system", "content": "Review the user's request from a software engineering perspective. Your response must be JSON with these keys: concepts_applied (array of 0-3 objects with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Convert this JSON obje...
[ { "role": "system", "content": "You are a software engineering strategist. Analyze user requests and output strategic guidance as JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea (synthesized framing), key_principles (3-5 actionable items), and avoid (1-3 warnings)." }, { "...
[ { "role": "system", "content": "When asked about coding, think about the underlying engineering principles at play. Return your analysis as JSON: concepts_applied (0-3, with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I install Node.js version 18 o...
[ { "role": "system", "content": "You are an expert at mapping coding situations to engineering principles. Output your analysis as JSON with concepts_applied (0-3, each having id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Why am I getting 'IndexError: ...
[ { "role": "system", "content": "You are an engineering strategist. When a user describes a coding problem, think about which fundamental concepts apply and return JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content...
[ { "role": "system", "content": "You help developers understand the strategic engineering concepts behind their problems. Respond with JSON: concepts_applied (0-3 with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I write a SQL query to select all use...
[ { "role": "system", "content": "You are an engineering strategist. When a user describes a coding problem, think about which fundamental concepts apply and return JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content...
[ { "role": "system", "content": "When asked about coding, think about the underlying engineering principles at play. Return your analysis as JSON: concepts_applied (0-3, with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I check the version of git ins...
[ { "role": "system", "content": "For every request, provide your answer as a JSON object. It must contain concepts_applied (0-3 items, each with id, name, weight), core_idea (string), key_principles (list of 3-5 strings), and avoid (list of 1-3 strings)." }, { "role": "user", "content": "How do I...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "W...
[ { "role": "system", "content": "You review coding situations and output strategic advice in JSON format. The JSON should have: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Convert this JSON object to YAML format:\n{\n ...
[ { "role": "system", "content": "You are a software engineering strategist. Always respond with JSON containing concepts_applied (0-3 concepts, each with id, name, weight), core_idea (synthesized framing), key_principles (3-5 items), and avoid (1-3 items)." }, { "role": "user", "content": "What d...
[ { "role": "system", "content": "Think of yourself as a strategic advisor for software engineers. When asked about a coding problem, return JSON with concepts_applied, core_idea, key_principles, and avoid fields." }, { "role": "user", "content": "How do I install Python 3.10 on Ubuntu 22.04 using...
[ { "role": "system", "content": "You are a software engineering strategist. Analyze user requests and output strategic guidance as JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea (synthesized framing), key_principles (3-5 actionable items), and avoid (1-3 warnings)." }, { "...
[ { "role": "system", "content": "Your role is to analyze coding situations and return strategic guidance as JSON. The JSON must contain: concepts_applied (list of 0-3 objects, each with id, name, weight), core_idea (string or null), key_principles (list of 3-5 strings), avoid (list of 1-3 strings)." }, {...
[ { "role": "system", "content": "Respond to every coding question with a JSON object. Structure it as: {\"concepts_applied\": [...], \"core_idea\": \"...\", \"key_principles\": [...], \"avoid\": [...]}." }, { "role": "user", "content": "How do I write a regex to match an email address in Java?" ...
[ { "role": "system", "content": "You are an engineering strategist. When a user describes a coding problem, think about which fundamental concepts apply and return JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content...
[ { "role": "system", "content": "For every request, provide your answer as a JSON object. It must contain concepts_applied (0-3 items, each with id, name, weight), core_idea (string), key_principles (list of 3-5 strings), and avoid (list of 1-3 strings)." }, { "role": "user", "content": "How do I...
[ { "role": "system", "content": "Given any coding-related question, respond with a JSON object containing: concepts_applied (array of concepts with id, name, weight — 0 to 3 items), core_idea (the main insight), key_principles (3-5 action items), avoid (1-3 warnings)." }, { "role": "user", "conte...
[ { "role": "system", "content": "Think of yourself as a strategic advisor for software engineers. When asked about a coding problem, return JSON with concepts_applied, core_idea, key_principles, and avoid fields." }, { "role": "user", "content": "What is the curl command to send a POST request wi...
[ { "role": "system", "content": "You help engineers think strategically about their code. For each request, return JSON containing: concepts_applied (0-3 concepts with id/name/weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Convert this JSON object to YAML format:...
[ { "role": "system", "content": "You are an expert at mapping coding situations to engineering principles. Output your analysis as JSON with concepts_applied (0-3, each having id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Why do I get an IndexError: li...
[ { "role": "system", "content": "Your role is to analyze coding situations and return strategic guidance as JSON. The JSON must contain: concepts_applied (list of 0-3 objects, each with id, name, weight), core_idea (string or null), key_principles (list of 3-5 strings), avoid (list of 1-3 strings)." }, {...
[ { "role": "system", "content": "Given any coding-related question, respond with a JSON object containing: concepts_applied (array of concepts with id, name, weight — 0 to 3 items), core_idea (the main insight), key_principles (3-5 action items), avoid (1-3 warnings)." }, { "role": "user", "conte...
[ { "role": "system", "content": "Analyze the user's coding situation and return your answer as a JSON object with exactly four fields: concepts_applied (array of 0-3 objects with id, name, weight), core_idea (string), key_principles (array of 3-5 strings), and avoid (array of 1-3 strings)." }, { "rol...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the default port for MySQL?" }...
[ { "role": "system", "content": "You are a strategic advisor for software engineering. When a user describes a situation, return a JSON response with: concepts_applied (0-3 entries, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I impor...
[ { "role": "system", "content": "Analyze the user's coding situation and return your answer as a JSON object with exactly four fields: concepts_applied (array of 0-3 objects with id, name, weight), core_idea (string), key_principles (array of 3-5 strings), and avoid (array of 1-3 strings)." }, { "rol...
[ { "role": "system", "content": "Analyze what the user is trying to do from a software engineering perspective. Return your answer as JSON: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I declare a constant in Swi...
[ { "role": "system", "content": "Analyze what the user is trying to do from a software engineering perspective. Return your answer as JSON: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What is the command to install Nod...
[ { "role": "system", "content": "Review the user's request from a software engineering perspective. Your response must be JSON with these keys: concepts_applied (array of 0-3 objects with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Convert this JSON obje...
[ { "role": "system", "content": "Think of yourself as a strategic advisor for software engineers. When asked about a coding problem, return JSON with concepts_applied, core_idea, key_principles, and avoid fields." }, { "role": "user", "content": "Why am I getting an IndexError: list index out of ...
[ { "role": "system", "content": "When a user describes a coding situation, analyze it and respond with a JSON object. The JSON must have these fields: concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I send a POST...
[ { "role": "system", "content": "Respond to coding questions with strategic analysis formatted as JSON. Include concepts_applied (0-3 items, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What does the `forEach` method do in JavaScript?" }, ...
[ { "role": "system", "content": "You review coding situations and output strategic advice in JSON format. The JSON should have: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I change the default branch name from m...
[ { "role": "system", "content": "When asked about coding, think about the underlying engineering principles at play. Return your analysis as JSON: concepts_applied (0-3, with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What is the SQL syntax to select all ...
[ { "role": "system", "content": "Analyze the user's coding situation and return your answer as a JSON object with exactly four fields: concepts_applied (array of 0-3 objects with id, name, weight), core_idea (string), key_principles (array of 3-5 strings), and avoid (array of 1-3 strings)." }, { "rol...
[ { "role": "system", "content": "You are a strategic advisor for software engineering. When a user describes a situation, return a JSON response with: concepts_applied (0-3 entries, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the di...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I declare a constant in Python?" ...
[ { "role": "system", "content": "When asked about coding, think about the underlying engineering principles at play. Return your analysis as JSON: concepts_applied (0-3, with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What is the curl command to send a JS...
[ { "role": "system", "content": "You analyze coding situations and return strategic guidance. Always format your answer as JSON with these keys: concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Convert this JSON object to YAML...
[ { "role": "system", "content": "You help developers understand the strategic engineering concepts behind their problems. Respond with JSON: concepts_applied (0-3 with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Why am I getting an 'IndexError: list index ...
[ { "role": "system", "content": "Review the user's request from a software engineering perspective. Your response must be JSON with these keys: concepts_applied (array of 0-3 objects with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I install Node....
[ { "role": "system", "content": "Analyze what the user is trying to do from a software engineering perspective. Return your answer as JSON: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What does the '===' operator do in...
[ { "role": "system", "content": "You are a software engineering strategist. Always respond with JSON containing concepts_applied (0-3 concepts, each with id, name, weight), core_idea (synthesized framing), key_principles (3-5 items), and avoid (1-3 items)." }, { "role": "user", "content": "How do...
[ { "role": "system", "content": "You are an expert at mapping coding situations to engineering principles. Output your analysis as JSON with concepts_applied (0-3, each having id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the default port for S...
[ { "role": "system", "content": "You are an engineering strategist. When a user describes a coding problem, think about which fundamental concepts apply and return JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the difference between 'let' and...
[ { "role": "system", "content": "When a user describes a coding situation, analyze it and respond with a JSON object. The JSON must have these fields: concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I declare a c...
[ { "role": "system", "content": "For each coding question, analyze the situation and return a JSON object. The object must have concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the curl command to send a POST req...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "C...
[ { "role": "system", "content": "Your role is to analyze coding situations and return strategic guidance as JSON. The JSON must contain: concepts_applied (list of 0-3 objects, each with id, name, weight), core_idea (string or null), key_principles (list of 3-5 strings), avoid (list of 1-3 strings)." }, {...
[ { "role": "system", "content": "You analyze coding situations and return strategic guidance. Always format your answer as JSON with these keys: concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I install Python 3.9 on U...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Why am I getting an IndexError: list ind...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "W...
[ { "role": "system", "content": "Analyze the user's coding situation and return your answer as a JSON object with exactly four fields: concepts_applied (array of 0-3 objects with id, name, weight), core_idea (string), key_principles (array of 3-5 strings), and avoid (array of 1-3 strings)." }, { "rol...
[ { "role": "system", "content": "You are a strategic advisor for software engineering. When a user describes a situation, return a JSON response with: concepts_applied (0-3 entries, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the SQ...
[ { "role": "system", "content": "Think of yourself as a strategic advisor for software engineers. When asked about a coding problem, return JSON with concepts_applied, core_idea, key_principles, and avoid fields." }, { "role": "user", "content": "How do I parse a CSV file in Go using the encoding...
[ { "role": "system", "content": "You review coding situations and output strategic advice in JSON format. The JSON should have: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I declare a constant in Python?" }, ...
[ { "role": "system", "content": "You help developers understand the strategic engineering concepts behind their problems. Respond with JSON: concepts_applied (0-3 with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What is the curl command to send a POST requ...
[ { "role": "system", "content": "Analyze what the user is trying to do from a software engineering perspective. Return your answer as JSON: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "Convert this JSON object to YAML f...
[ { "role": "system", "content": "Respond to every coding question with a JSON object. Structure it as: {\"concepts_applied\": [...], \"core_idea\": \"...\", \"key_principles\": [...], \"avoid\": [...]}." }, { "role": "user", "content": "Why do I get 'IndexError: list index out of range' in Python...
[ { "role": "system", "content": "Analyze what the user is trying to do from a software engineering perspective. Return your answer as JSON: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I install Node.js version 1...
[ { "role": "system", "content": "Analyze what the user is trying to do from a software engineering perspective. Return your answer as JSON: concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What does the '===' operator do in...
[ { "role": "system", "content": "You are an expert at mapping coding situations to engineering principles. Output your analysis as JSON with concepts_applied (0-3, each having id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I select all elements w...
[ { "role": "system", "content": "For each coding question, analyze the situation and return a JSON object. The object must have concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "What is the default port for an HTTP server...
[ { "role": "system", "content": "Think of yourself as a strategic advisor for software engineers. When asked about a coding problem, return JSON with concepts_applied, core_idea, key_principles, and avoid fields." }, { "role": "user", "content": "How do I reverse a string in Java?" }, { "...
[ { "role": "system", "content": "You are an engineering strategist. When a user describes a coding problem, think about which fundamental concepts apply and return JSON with concepts_applied (0-3 concepts with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content...
[ { "role": "system", "content": "For each coding question, analyze the situation and return a JSON object. The object must have concepts_applied (0-3 entries with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "How do I declare a constant in Python 3.10?...
[ { "role": "system", "content": "You help developers understand the strategic engineering concepts behind their problems. Respond with JSON: concepts_applied (0-3 with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What is the curl command to send a JSON body...
[ { "role": "system", "content": "Your job: analyze coding situations and return strategic advice as JSON. Each response must include concepts_applied (0-3 items with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Convert this JSON object to YAML format:...
[ { "role": "system", "content": "Review the user's request from a software engineering perspective. Your response must be JSON with these keys: concepts_applied (array of 0-3 objects with id, name, weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What does the 'break' ...
[ { "role": "system", "content": "You help developers understand the strategic engineering concepts behind their problems. Respond with JSON: concepts_applied (0-3 with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "How do I install Node.js version 18 on Ubunt...
[ { "role": "system", "content": "Respond to every coding question with a JSON object. Structure it as: {\"concepts_applied\": [...], \"core_idea\": \"...\", \"key_principles\": [...], \"avoid\": [...]}." }, { "role": "user", "content": "Why am I getting 'TypeError: Cannot read properties of undef...
[ { "role": "system", "content": "When asked about coding, think about the underlying engineering principles at play. Return your analysis as JSON: concepts_applied (0-3, with id/name/weight), core_idea, key_principles, avoid." }, { "role": "user", "content": "What is the difference between '==' a...
[ { "role": "system", "content": "Respond to coding questions with strategic analysis formatted as JSON. Include concepts_applied (0-3 items, each with id, name, weight), core_idea, key_principles, and avoid." }, { "role": "user", "content": "Solve this logic puzzle: If A is true and B is false, w...
[ { "role": "system", "content": "For each user message about software engineering, produce a JSON response. Required fields: concepts_applied (list of up to 3 objects, each with id, name, weight), core_idea (string or null), key_principles (list), avoid (list)." }, { "role": "user", "content": "H...
[ { "role": "system", "content": "Respond to every coding question with a JSON object. Structure it as: {\"concepts_applied\": [...], \"core_idea\": \"...\", \"key_principles\": [...], \"avoid\": [...]}." }, { "role": "user", "content": "What is the default port for HTTP traffic?" }, { "ro...
End of preview. Expand in Data Studio

Software Fundamentals — Strategy Knowledge Base

A language-agnostic knowledge base of software engineering fundamentals, paired with a synthetic instruction-tuning dataset (~13,500 examples) for training small language models (SLMs) as software engineering strategists.

The trained model takes a description of a coding situation and routes it to relevant concepts, outputting synthesized strategic guidance as structured JSON.

Dataset Summary

This dataset provides ~13,500 instruction-tuning examples for training small language models (SLMs) as software engineering strategists. The training data is synthesized from a curated knowledge base of 518 language-agnostic software engineering concepts, each encoding the strategic reasoning behind when to apply a concept, when to avoid it, and what anti-patterns to watch for.

The knowledge base (entries/) serves as the source material — each of the 518 concept entries captures a single principle, not a snippet or tutorial, but the decision framework behind it. The training dataset (software-strategist-v1.jsonl) is generated from these entries, producing conversation-format examples that teach a model to route coding situations to relevant concepts.

What makes this unique:

  • Concept-level reasoning — Each entry encodes a decision framework: when to use a concept, when not to, and the tradeoffs involved. No existing dataset teaches this kind of strategic reasoning at scale.
  • Anti-pattern recognition — Every concept includes named anti-patterns with explanations of why they are bad, not just that they are bad.
  • "When not to use" guidance — Explicitly teaching the boundaries of applicability, which is as important as teaching the concept itself.
  • Language-agnostic — The same concept (e.g., "Circuit Breaker") applies whether the user is working in Python, Rust, JavaScript, Go, or any other language. The model learns patterns, not syntax.
  • Curated quality — All 518 entries scored 14/14 on a 7-dimension quality rubric (see Quality Assurance).

Quick Start

from datasets import load_dataset

# Load the full training dataset
dataset = load_dataset("jtregunna/software-strategist-v1", split="train")

# Inspect a single example
example = dataset[0]
print(example["messages"][-1]["content"])
# {"concepts_applied": [...], "core_idea": "...", "key_principles": [...], "avoid": [...]}

A single training example is a conversation with three messages (system, user, assistant):

{
  "messages": [
    {"role": "system", "content": "You are a software engineering strategist..."},
    {"role": "user", "content": "My API keeps crashing when the database is slow..."},
    {"role": "assistant", "content": "{\"concepts_applied\": [{\"id\": \"sf-error-classification-001\", \"name\": \"Error Classification\", \"weight\": \"primary\"}], \"core_idea\": \"Classify errors as transient (retryable) vs permanent (fail-fast)...\", \"key_principles\": [\"...\"], \"avoid\": [\"...\"]}"}
  ]
}

Dataset Structure

The repository contains three types of files:

Concept Entries (entries/)

518 self-contained JSON files (sf-*.json), each representing a single software engineering concept. Every entry follows a consistent schema (see Schema) and covers:

  • core_idea — One-sentence concept definition
  • when_to_use / when_not_to_use — Applicability conditions
  • anti_patterns — Named anti-patterns with explanations
  • reasoning_chain — Step-by-step decision logic
  • examples — Concrete illustrative scenarios
  • related_concepts — Cross-references to other entries

Training Dataset (software-strategist-v1.jsonl)

~13,500 synthetic training examples in standard instruction-tuning format, generated from the 518 concept entries. The dataset is composed of approximately 60% single-concept, 25% multi-concept, and 15% null examples. Each entry is a conversation with messages arrays.

The full dataset is available on Hugging Face.

Categories

The 518 concepts are organized across 19 categories:

Core (7)

Category Scope
design-patterns GoF patterns, SOLID, composition, structural/creational/behavioral patterns
data-management Modeling, indexing, transactions, consistency, caching, state machines
error-handling Classification, recovery, timeouts, retries, propagation, validation
architecture Layered, microservices, DDD, 12-factor, API design, service mesh
quality Code smells, testing strategies, mutation testing, observability, refactoring
security AuthN/AuthZ, injection prevention, least privilege, secrets management
algorithms Complexity analysis, search, sorting, graphs, dynamic programming

Craft (12)

Category Scope
code-reading Understanding unfamiliar codebases, navigation patterns, grep-driven development
legacy-code Tactic-based legacy modification, seam injection, characterization testing
version-control Git workflows, branching strategies, merge vs. rebase, commit hygiene
data-modeling ER diagrams, normalization, schema evolution, pagination, temporal modeling
networking HTTP, REST, RPC, CORS, DNS, content negotiation, websockets
build-dependencies Dependency management, version pinning, reproducible builds, monorepo
debugging-methodology Systematic debugging, bisect, tracing, assumption checking, instrumenting
code-review Review scope, feedback quality, checklist-driven review, cognitive load
performance Profiling, caching, load testing, scaling, memory management
scripting-cli Shell scripting, piping, environment management, process management
documentation READMEs, inline comments, ADRs, changelog discipline, API docs
concurrency Locks, producers/consumers, race conditions, event loops, actor model

Schema

Each concept entry follows a structured schema covering:

id, concept, category, subcategory, difficulty
core_idea, when_to_use, when_not_to_use
anti_patterns, reasoning_chain, examples
related_concepts, tags, task_types

See SCHEMA.md for the complete field specification with examples and constraints.

Each training example (JSONL) uses the standard conversation format:

{
  "messages": [
    {"role": "system", "content": "..."},
    {"role": "user", "content": "..."},
    {"role": "assistant", "content": "{\"concepts_applied\":[...],\"core_idea\":\"...\",\"key_principles\":[...],\"avoid\":[...] }"}
  ]
}

Quality Assurance

All 518 concept entries are validated against a 7-dimension rubric (see RUBRIC.md). Each dimension scores 0–2, with a passing threshold of ≥1 per dimension and ≥7/14 total.

Dimension What it measures
Concept Clarity Single, well-defined, language-agnostic concept
When-To-Use Accuracy Precise, actionable applicability conditions
Anti-Pattern Quality Named anti-patterns with clear explanations
Reasoning Chain Depth Step-by-step decision logic with tradeoff analysis
Example Quality Concrete, illustrative scenarios
Cross-Reference Integrity Accurate links to related concepts
Task Relevance Direct applicability to real coding situations

All 518 entries score a perfect 14/14 on this rubric.

Data Generation

The tools/ directory contains scripts for validation and synthetic data generation:

  • validate_entries.py — Validates all concept entries against the schema and rubric
  • generate_synthetic.py — Generates synthetic training examples from the knowledge base, supporting multiple backends and fallback chains
  • randomize_system_prompts.py — Variabilizes system prompts across generated examples to improve robustness

These tools are provided so users can regenerate or expand the dataset with their own LLM backends.

Citation

@misc{tregunna2025softwarestrategist,
  title = {Software Fundamentals — Strategy Knowledge Base},
  author = {Tregunna, Jeremy},
  year = {2025},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/jtregunna/software-strategist-v1}},
  note = {MIT License}
}

License

This dataset is licensed under the MIT License.

Downloads last month
565

Models trained or fine-tuned on jtregunna/software-strategist-v1