NeuralAI / data /train_dpo_v14.jsonl
Subject-Emu-5259's picture
Push NeuralAI project files - training data, scripts, services, knowledge base
38b4eff verified
Raw
History Blame Contribute Delete
13.8 kB
{"prompt": "If all Bloops are Razzies and all Razzies are Lazzies, are all Bloops Lazzies?", "chosen": "Yes, all Bloops are Lazzies. This is a syllogism: if A (Bloops) is a subset of B (Razzies) and B is a subset of C (Lazzies), then A must be a subset of C.", "rejected": "Maybe. It depends on how many Bloops there are.", "category": "logic", "created": "2026-06-03T03:07:33.826629"}
{"prompt": "Solve for x: 2x + 5 = 15", "chosen": "To solve 2x + 5 = 15:\n1. Subtract 5 from both sides: 2x = 10\n2. Divide by 2: x = 5", "rejected": "x is 10 because 15 minus 5 is 10.", "category": "math", "created": "2026-06-03T03:07:33.826666"}
{"prompt": "What is the next number in the sequence: 2, 4, 8, 16, ...?", "chosen": "The next number is 32. The sequence follows a geometric progression where each term is multiplied by 2 (2^n).", "rejected": "It's 20 because it looks like it's going up.", "category": "logic", "created": "2026-06-03T03:07:33.826667"}
{"prompt": "Explain the difference between a list and a tuple in Python.", "chosen": "The primary difference is mutability: lists are mutable (can be changed after creation), while tuples are immutable. Syntactically, lists use square brackets `[]` and tuples use parentheses `()`.", "rejected": "Lists are for numbers and tuples are for text.", "category": "reasoning", "created": "2026-06-03T03:07:33.826669"}
{"prompt": "A farmer has 17 sheep and all but 9 die. How many are left?", "chosen": "9 sheep are left. The phrase 'all but 9 die' means that exactly 9 survived.", "rejected": "8 sheep are left because 17 - 9 = 8.", "category": "logic", "created": "2026-06-03T03:07:33.826669"}
{"prompt": "Calculate the area of a circle with radius 5.", "chosen": "The area is A = \u03c0r\u00b2. For r = 5, A = \u03c0(5)\u00b2 = 25\u03c0, which is approximately 78.54.", "rejected": "The area is 10\u03c0 because 5 times 2 is 10.", "category": "math", "created": "2026-06-03T03:07:33.826670"}
{"prompt": "If you have three apples and you take away two, how many apples do you have?", "chosen": "You have 2 apples. You are the one who took them.", "rejected": "1 apple is left in the basket.", "category": "logic", "created": "2026-06-03T03:07:33.826671"}
{"prompt": "What is the capital of France and its most famous landmark?", "chosen": "The capital of France is Paris, and its most famous landmark is the Eiffel Tower.", "rejected": "It's Lyon and the Louvre.", "category": "reasoning", "created": "2026-06-03T03:07:33.826671"}
{"prompt": "How do you handle a division by zero error in Python?", "chosen": "Use a try-except block: `try: result = a / b except ZeroDivisionError: result = None`.", "rejected": "Just check if b is 0 with an if statement.", "category": "reasoning", "created": "2026-06-03T03:07:33.826672"}
{"prompt": "What is 15% of 200?", "chosen": "15% of 200 is 30. Calculation: 0.15 * 200 = 30.", "rejected": "It's 15 because 15 percent means 15.", "category": "math", "created": "2026-06-03T03:07:33.826673"}
{"prompt": "Why is it dangerous to use a mutable default argument like `def func(a=[])` in Python?", "chosen": "It is dangerous because default arguments are evaluated once at definition time, not at execution time. This means the same list object is shared across all calls that don't provide an argument, leading to unexpected state persistence between calls.", "rejected": "It's fine as long as you clear the list at the end of the function.", "category": "debugging", "created": "2026-06-05T03:07:51.438075"}
{"prompt": "A clock shows 3:15. What is the angle between the hour and minute hands?", "chosen": "At 3:15, the minute hand is at 90 degrees. The hour hand has moved 1/4 of the way between 3 and 4. Since each hour is 30 degrees, the hour hand is at 90 + (30 * 0.25) = 97.5 degrees. The difference is 7.5 degrees.", "rejected": "The angle is 0 degrees because both hands are on the 3.", "category": "math", "created": "2026-06-05T03:07:51.440019"}
{"prompt": "Explain the difference between 'git fetch' and 'git pull'.", "chosen": "'git fetch' downloads commits, files, and refs from a remote repository into your local repo but does not merge them into your working files. 'git pull' is a combination of 'git fetch' followed by 'git merge' (or 'git rebase'), updating your current branch with the remote changes.", "rejected": "'git fetch' is for getting new branches and 'git pull' is for getting new code in your current branch.", "category": "reasoning", "created": "2026-06-05T03:07:51.441921"}
{"prompt": "How do you resolve a 'Port already in use' error when starting a web server?", "chosen": "1. Identify the PID using the port: `lsof -i :PORT` or `netstat -nlp | grep PORT`. 2. Terminate the process: `kill -9 PID`. 3. Alternatively, configure the server to use a different port.", "rejected": "Wait for a few minutes until the port is freed by the operating system.", "category": "debugging", "created": "2026-06-05T03:07:51.443925"}
{"prompt": "If you have a 3-gallon jug and a 5-gallon jug, how can you measure exactly 4 gallons of water?", "chosen": "1. Fill the 5-gallon jug. 2. Pour into the 3-gallon jug until full (2 gallons left in 5-gal). 3. Empty the 3-gallon jug. 4. Pour the 2 gallons from the 5-gal into the 3-gal. 5. Refill the 5-gallon jug. 6. Pour into the 3-gal until full (requires 1 gallon). 7. Exactly 4 gallons remain in the 5-gal jug.", "rejected": "Fill both half way and combine them.", "category": "logic", "created": "2026-06-05T03:07:51.445763"}
{"prompt": "What is the Big O complexity of searching for an element in a balanced binary search tree (BST)?", "chosen": "The time complexity is O(log n), where n is the number of nodes. This is because each comparison allows you to skip half of the remaining tree, similar to binary search.", "rejected": "It's O(n) because you might have to check every node if the tree is big.", "category": "reasoning", "created": "2026-06-05T03:07:51.447657"}
{"prompt": "Write a concise SQL query to find the second highest salary from an Employees table.", "chosen": "`SELECT MAX(Salary) FROM Employees WHERE Salary < (SELECT MAX(Salary) FROM Employees);`. This finds the maximum salary that is strictly less than the overall maximum.", "rejected": "`SELECT Salary FROM Employees ORDER BY Salary DESC LIMIT 1, 1;` (Note: This is less robust as it fails if there are duplicate top salaries).", "category": "debugging", "created": "2026-06-05T03:07:51.449481"}
{"prompt": "Describe the concept of 'deadlock' in concurrent programming.", "chosen": "Deadlock occurs when two or more processes are unable to proceed because each is waiting for the other to release a resource. It typically involves four conditions: mutual exclusion, hold and wait, no preemption, and circular wait.", "rejected": "Deadlock is when a computer freezes because it ran out of memory.", "category": "reasoning", "created": "2026-06-05T03:07:51.451237"}
{"prompt": "Solve: 5 + 3 * 2 - 8 / 4", "chosen": "Following PEMDAS/BODMAS:\n1. Multiplication: 3 * 2 = 6\n2. Division: 8 / 4 = 2\n3. Expression: 5 + 6 - 2 = 9", "rejected": "5 + 3 = 8, 8 * 2 = 16, 16 - 8 = 8, 8 / 4 = 2. The answer is 2.", "category": "math", "created": "2026-06-05T03:07:51.452972"}
{"prompt": "You come to a fork in the road. One path leads to the City of Truth (where everyone tells the truth) and the other to the City of Lies (where everyone lies). A person from one of the cities is standing at the fork. What single question can you ask to find the path to the City of Truth?", "chosen": "Ask: 'Which path would a person from the other city say is the path to the City of Truth?' Then take the opposite path. Both a truth-teller and a liar will point to the path to the City of Lies.", "rejected": "Ask: 'Are you a liar?' and see what they say.", "category": "logic", "created": "2026-06-05T03:07:51.454859"}
{"prompt": "Explain the concept of gauge invariance in Quantum Field Theory.", "chosen": "Gauge invariance refers to the property of a physical system where its observable properties remain unchanged under local transformations of certain internal degrees of freedom. In QFT, this requires the introduction of gauge fields (like the photon or gluons) to maintain the invariance of the Lagrangian, leading to the fundamental forces of the Standard Model.", "rejected": "Gauge invariance means that the model doesn't change when you change the units of measurement.", "category": "physics", "created": "2026-06-05T03:20:14.727342"}
{"prompt": "What are Platonic Forms in the context of metaphysics?", "chosen": "Platonic Forms are non-material, abstract, and eternal essences or entities that represent the most accurate reality of things. According to Plato, the physical world we perceive is merely a shadow or imperfect imitation of these perfect Forms, which can only be apprehended through reason.", "rejected": "Platonic Forms are different shapes like circles and squares that Plato discovered in geometry.", "category": "philosophy", "created": "2026-06-05T03:20:14.727350"}
{"prompt": "Analyze the implications of a multipolar global order for international trade.", "chosen": "A multipolar global order shifts influence away from a single hegemon toward multiple centers of power (e.g., US, China, EU, BRICS+). Implications for trade include the regionalization of supply chains, the rise of alternative reserve currencies, and a shift from global multilateral agreements to targeted bilateral or regional trade blocs, increasing both strategic autonomy and geopolitical friction.", "rejected": "A multipolar global order means that everyone will trade with everyone else using the same rules and the same currency like the dollar.", "category": "geopolitics", "created": "2026-06-05T03:20:14.727351"}
{"prompt": "Debug this Python code: `def get_sum(n): return sum(range(n))` for large `n` if it causes a memory error.", "chosen": "In Python 3, `range()` is a generator-like object and doesn't store the whole list in memory. However, `sum()` still processes them. If `n` is extremely large, the integer size itself isn't the issue, but if you are using an older version or a specific library that materializes the range, you should use a mathematical formula: `n * (n - 1) // 2`. This is O(1) time and memory.", "rejected": "You should use a for loop instead of sum() to save memory.", "category": "debugging", "created": "2026-06-05T03:20:14.727351"}
{"prompt": "How do you resolve a circular dependency in a Python project?", "chosen": "To resolve circular dependencies: 1. Refactor common logic into a third module. 2. Move imports inside functions or methods (local imports). 3. Use `import module` instead of `from module import name`. 4. Re-evaluate the architecture to ensure a clear hierarchy and separation of concerns.", "rejected": "Just put all your code in one file so you don't have to import anything.", "category": "debugging", "created": "2026-06-05T03:20:14.727352"}
{"prompt": "How do you resolve a circular dependency in a Python project?", "chosen": "To resolve circular dependencies: 1. Refactor common logic into a third module. 2. Move imports inside functions or methods (local imports). 3. Use `import module` instead of `from module import name`. 4. Re-evaluate the architecture to ensure a clear hierarchy and separation of concerns.", "rejected": "Just put all your code in one file so you don't have to import anything.", "category": "debugging", "created": "2026-06-05T03:20:14.727353"}
{"prompt": "Explain the significance of the 1648 Treaty of Westphalia.", "chosen": "The Peace of Westphalia ended the Thirty Years' War and established the principle of Westphalian sovereignty\u2014the idea that each state has exclusive authority over its territory and domestic affairs, including religion. This laid the foundation for the modern international system of sovereign nation-states.", "rejected": "The Treaty of Westphalia was a trade agreement that allowed countries to buy and sell goods without taxes.", "category": "history", "created": "2026-06-05T03:20:14.727353"}
{"prompt": "Analyze the role of BRICS+ in the context of the 'Global South'.", "chosen": "BRICS+ represents a significant geopolitical and economic collective aiming to challenge Western-led financial architectures (like the IMF/World Bank) and advocate for the interests of the Global South. By expanding to include nations from Africa, the Middle East, and Latin America, BRICS+ seeks to create alternative payment systems, foster intra-bloc trade, and demand more representative global governance.", "rejected": "BRICS+ is a group of countries that want to start a new world war against the West.", "category": "geopolitics", "created": "2026-06-05T03:20:14.727354"}
{"prompt": "Describe the philosophical concept of 'The Social Contract'.", "chosen": "The Social Contract is a theory in political philosophy (developed by thinkers like Hobbes, Locke, and Rousseau) that individuals implicitly or explicitly agree to surrender some of their freedoms and submit to the authority of a ruler or government in exchange for the protection of their remaining rights and the maintenance of social order.", "rejected": "The Social Contract is a law that says you have to have a job to live in a country.", "category": "philosophy", "created": "2026-06-05T03:20:14.727354"}
{"prompt": "What is the difference between an 'Outer Join' and an 'Inner Join' in SQL?", "chosen": "An INNER JOIN returns only the rows where there is a match in both tables. An OUTER JOIN (LEFT, RIGHT, or FULL) returns all rows from at least one of the tables, including the rows where there is no match in the other table (filling missing values with NULL).", "rejected": "Inner joins are faster and outer joins are slower.", "category": "reasoning", "created": "2026-06-05T03:20:14.727355"}