system
stringclasses
1 value
prompt
stringlengths
78
12.9k
chosen
stringlengths
370
27.9k
rejected
stringlengths
327
28k
category
stringclasses
5 values
source
stringclasses
8 values
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying algorithms and want a visualization of binary search on a sorted array. Show the array as bars, highlight the mid index, and depict the comparisons shrinking the search interval with each step. Include a path tracing the index choices and transitions for successful and unsuccessful searches, plus a small n...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class BinarySearchVisualization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class BinarySearchVisualization(Scene): def construct(self): title = Text('Binary Search Visualization', font_size=48) subtitle = Text('A faster way to find data', font_size=28) subtitle.next_to(title, DOWN, buff=0.3) self.play(Write(title), run_time=2...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
How can we visualize the embedding theorems within Sobolev Spaces, which state when one Sobolev Space is a subspace of another, considering dimension and smoothness?
```python from manim import * class SobolevEmbeddings(Scene): def construct(self): # Introduction title = Text("Embeddings in Sobolev Spaces", font_size=36) subtitle = Text("A Visual Journey", font_size=28).next_to(title, DOWN) self.play(Write(title), Write(subtitle)) self.w...
```python from manim import * class SobolevEmbeddings(Scene): def construct(self): # Introduction title = Text("Embeddings in Sobolev Spaces", font_size=36) subtitle = Text("A Visual Journey", font_size=28) self.play(Write(title), Write(subtitle)) self.wait(1) self.p...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a Manim animation for a Grade 12 Chemistry lesson on solution concentration. The video should be in 16:9 format and follow a natural classroom flow. Start by displaying the title "Concentration of Solutions" at the top of the screen. Below it, show the question: "What is the concentration of dissolved oxygen in...
```python from manim import * import numpy as np class SolutionConcentration(Scene): def construct(self): # 1. Title Scene # Layout: Title at top, Question below it title = Text("Concentration of Solutions", font_size=48, color="#4a9eff") title.to_edge(UP, buff=0.8) ...
```python from manim import * import numpy as np class SolutionConcentration(Scene): def construct(self): # 1. Title Scene # Layout: Title at top, Question below it title = Text("Concentration of Solutions", font_size=48, color="#4a9eff") title # Split long question...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching undergrads ML and want a vivid visualization of WaveNet training loss as depth changes (10, 20, 30 layers). Show three loss curves over epochs on a common axis with color-coded lines and clear convergence annotations. Include a quick intuition for how depth affects the receptive field and a side-by-side co...
```python from manim import * class WaveNetTrainingLossVisualization(Scene): def construct(self): title = Text('WaveNet Training Loss Visualization', font_size=40, color=BLUE) subtitle = Text('Understanding Model Performance Through Loss Curves', font_size=24, color=GRAY) subtitle.next_to(...
```python from manim import * class WaveNetTrainingLossVisualization(Scene): def construct(self): title = Text('WaveNet Training Loss Visualization', font_size=40, color=BLUE) subtitle = Text('Understanding Model Performance Through Loss Curves', font_size=24, color=GRAY) subtitle.next_to(...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning Bayesian optimization in RL and want a visualization of how a GP-based optimizer guides model-based RL for a robot vision task. Depict the interaction loop: agent collects data from robot-camera observations, a GP surrogate updates, and the acquisition function selects the next experiment. Show a 3D robot ...
```python from manim import * class BayesianOptimizationRLScene(Scene): def construct(self): title = Text('Bayesian Optimization in RL', font_size=44) subtitle = Text('Efficient Exploration & Exploitation', font_size=26, color=GREY) subtitle.next_to(title, DOWN, buff=0.3) title_gro...
```python from manim import * class BayesianOptimizationRLScene(Scene): def construct(self): title = Text('Bayesian Optimization in RL', font_size=44) subtitle = Text('Efficient Exploration & Exploitation', font_size=26, color=GREY) subtitle title_group = VGroup(title, subtitle) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Euler Characteristic' (The Marvel of Euler's Characteristic in Subdividing Polyhedrons): How does the Euler characteristic of a polyhedron change when edges are continuously subdivided? Visual style guidance: A blend of grayscale minimalist aesthetic, using smooth animations ...
```python from manim import * class EulerCharacteristic(Scene): def construct(self): # Set background color to grayscale self.camera.background_color = "#333333" # Introduction title = Text("The Marvel of Euler's Characteristic", color=BLUE) subtitle = Text("in Subd...
```python from manim import * class EulerCharacteristic(Scene): def construct(self): # Set background color to grayscale self.camera.background_color = "#333333" # Introduction title = Text("The Marvel of Euler's Characteristic", color=BLUE) subtitle = Text("in Subd...
legacy_api_hallucination
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Diophantine Equations' (The Mystery of x³ + y³ + z³ = k: Where Math Meets Art): In what way can the equation x³ + y³ + z³ = k illustrate the limitations and challenges of finding integer solutions? Visual style guidance: The visual style is sophisticated and elegant, utilizin...
```python from manim import * class DiophantineEquationsScene(Scene): def construct(self): # Title title = Text("The Mystery of x³ + y³ + z³ = k", font_size=36) subtitle = Text("Where Math Meets Art", font_size=28) subtitle.next_to(title, DOWN) # Display title and s...
```python from manim import * class DiophantineEquationsScene(Scene): def construct(self): # Title title = Text("The Mystery of x³ + y³ + z³ = k", font_size=36) subtitle = Text("Where Math Meets Art", font_size=28) subtitle # Display title and subtitle self....
spatial_layout_overlap
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Here is the enhanced animation description that includes all original features plus significant new elements: The enhanced animation begins by displaying the integral problem ∫₂³ x² dx while simultaneously drawing a coordinate plane with labeled axes in the background. As the integration bounds text appears ("From x=2...
```python from manim import * class EnhancedIntegralAnimation(Scene): def construct(self): # Create coordinate plane axes = Axes( x_range=[0, 4, 1], y_range=[0, 10, 2], axis_config={"color": BLUE}, x_axis_config={ "numbers_to_include":...
```python from manim import * class EnhancedIntegralAnimation(Scene): def construct(self): # Create coordinate plane axes = Axes( x_range=[0, 4, 1], y_range=[0, 10, 2], axis_config={"color": BLUE}, x_axis_config={ "numbers_to_include":...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching undergrads CS and want a vivid visualization of how isort groups and orders imports. Show a messy Python file before and after isort, with color-coded sections: standard library, third-party, and local modules. Animate the reordering and the impact on dependency readability. Include a small metric that tra...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ImportOrganizationUsingIsort(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ImportOrganizationUsingIsort(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Here is the enhanced animation instruction that includes all original features plus significant new elements: The enhanced animation begins by creating the coordinate axes and plotting the cubic function f(x) = x³ - 3x in green, while simultaneously displaying its equation in the top-left corner. As the red tangent li...
```python from manim import * class EnhancedTangentAnimation(Scene): def construct(self): # Create axes axes = Axes( x_range=[-3, 3, 1], y_range=[-5, 5, 1], axis_config={"color": BLUE}, ) axes_labels = axes.get_axis_labels(x_label="x", y_label="y"...
```python from manim import * class EnhancedTangentAnimation(Scene): def construct(self): # Create axes axes = Axes( x_range=[-3, 3, 1], y_range=[-5, 5, 1], axis_config={"color": BLUE}, ) axes_labels = axes.get_axis_labels(x_label="x", y_label="y"...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Can Sperner's Lemma be leveraged to algorithmically solve fair division problems, like cake-cutting, in a geometrically consistent manner?
```python from manim import * class SpernerLemmaScene(Scene): def construct(self): # Introduction title = Text("Slicing the Cake: Fair Division Through Sperner's Lemma") title.scale(0.7) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) ...
```python from manim import * class SpernerLemmaScene(Scene): def construct(self): # Introduction title = Text("Slicing the Cake: Fair Division Through Sperner's Lemma") title.scale(0.7) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm guiding a grad research seminar on gradient flow and want a dynamic bar chart of per-layer gradient norms. Update the bars every epoch to reveal vanishing or exploding trends across the network. Show optional overlays for average norm and max norm, and annotate bottleneck layers with colors. Include a narrative cap...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class GradientNormsScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class GradientNormsScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching sequence modeling and want a clear confusion-matrix-style visualization for next-character predictions. Show predicted probability slices vs. actual next-character labels on the validation set, with a big heatmap comparing probabilities to true counts. Annotate typical mispredictions and emphasize per-char...
```python from manim import * class SequenceModelingConfusionMatrixVisualization(Scene): def construct(self): title = Text('Sequence Modeling: Confusion Matrix', font_size=36) subtitle = Text('Visualizing Model Performance', font_size=24, color=BLUE) header = VGroup(title, subtitle).arrang...
```python from manim import * class SequenceModelingConfusionMatrixVisualization(Scene): def construct(self): title = Text('Sequence Modeling: Confusion Matrix', font_size=36) subtitle = Text('Visualizing Model Performance', font_size=24, color=BLUE) header = VGroup(title, subtitle).arrang...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad ML class and want to illustrate numerical stability in softmax. Show a vector of logits, then subtract the maximum before exponentiating, visualizing the shift of the curve downward and the identical probabilities computed; include a comparison of before/after and a note on why max subtraction...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SoftmaxStabilityScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SoftmaxStabilityScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad course on decision-theoretic planning and want a vivid visualization of MDP planning. Show states, actions, stochastic transitions, and rewards, with on-screen Bellman backups computing V(s) and Q(s,a). Include a gridworld example, policy iteration versus value iteration, and a comparison acro...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MDPPlanningScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MDPPlanningScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Bézout's Identity' (Unlocking Diophantine Solutions with Bézout's Identity): Can Bézout's Identity be used to visually demonstrate the solution to a diophantine equation and how would that appear? Visual style guidance: The visual style combines 3D geometric grids with fluid ...
```python from manim import * class BezoutIdentity(Scene): def construct(self): # Title title = Text("Unlocking Diophantine Solutions with Bézout's Identity") title.scale(0.8) title.to_edge(UP) # Question mark question = Text("?", font_size=72) ...
```python from manim import * class BezoutIdentity(Scene): def construct(self): # Title title = Text("Unlocking Diophantine Solutions with Bézout's Identity") title.scale(0.8) title.to_edge(UP) # Question mark question = Text("?", font_size=72) ...
invalid_axes_kwarg
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad ML course on autoregressive models and want an animation of the iterative prediction loop. At each step T, the model outputs a token that becomes the input for step T+1, forming a feedback chain. Visualize the evolving context window, token embeddings, and the line of predictions sliding along...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class AutoregressiveLoopScene(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class AutoregressiveLoopScene(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Can you create an animated math video step-by-step showing how to solve the double integral of r multiplied by e to the power of r theta, with r going from 0 to 1 and theta from 0 to pi, using polar coordinates? Include text explanations for each phase of the integration process and visualize the final answer at the en...
```python from manim import * class AreaUnderCurve(Scene): def construct(self): ax = Axes( x_range=[0, 4, 1], y_range=[0, 2, 1], axis_config={"color": BLUE}, ) # Labels for axes labels = ax.get_axis_labels(x_label="x", y_label="y") # Fun...
```python from manim import * class AreaUnderCurve(Scene): def construct(self): ax = Axes(axis_color=BLUE, x_range=[0, 4, 1], y_range=[0, 2, 1], axis_config={"color": BLUE}, ) # Labels for axes labels = ax.get_axis_labels(x_label="x", y_label="y...
invalid_axes_kwarg
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a step-by-step educational Manim CE lecture scene explaining: Proof of Pythagorean Theorem via geometric rearrangement. ```python from manim import * import numpy as np class PedagogicalScene742(Scene): def construct(self): title = Title("Pythagorean Theorem: $a^2 + b^2 = c^2$") formula = M...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class PythagoreanTheoremScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac m...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class PythagoreanTheoremScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac m...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an animated educational video explaining human capital and productivity in the context of geography. The video should be 16:9 format and follow this structure: Title slide: "Human Capital and Productivity" with a subtitle "Grade 12 Geography - Advanced Level" Introduce the concept: Display a definition of huma...
```python from manim import * import numpy as np import random import math class HumanCapitalProductivity(Scene): def construct(self): # -- Setup -- self.camera.background_color = "#0f0f0f" # Color Palette TEXT_COLOR = "#d4d4d4" ACCENT_BLUE = "#4a9eff" ACCEN...
```python from manim import * import numpy as np import random import math class HumanCapitalProductivity(Scene): def construct(self): # -- Setup -- self.camera.background_color = "#0f0f0f" # Color Palette TEXT_COLOR = "#d4d4d4" ACCENT_BLUE = "#4a9eff" ACCEN...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a 10-second Manim scene with a BarChart that first shows baseline values and then updates the bars to a second set of values with a caption about growth.
```python from manim import * class BarGrowthWithUpdate(Scene): def construct(self): title = Text("Bars Can Update Over Time", font_size=34).to_edge(UP) chart = BarChart( values=[2, 3, 2.5], bar_names=["A", "B", "C"], y_range=[0, 6, 1], y_length=4.5, ...
```python from manim import * class BarGrowthWithUpdate(Scene): def construct(self): title = Text("Bars Can Update Over Time", font_size=34).to_edge(UP) chart = BarChart( values=[2, 3, 2.5], bar_names=["A", "B", "C"], y_range=[0, 6, 1], y_length=4.5, ...
legacy_api_hallucination
synthetic_hard_neg:sebastianboehler/autoresearch-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Goldbach's Conjecture' (Exploring Prime Pairs with Machine Learning: A Look into Goldbach's Conjecture): In what way could machine learning algorithms be trained to predict or investigate sums of prime pairs for large even integers, significantly larger than those checked so ...
```python from manim import * class GoldbachML(Scene): def construct(self): # Title title = Text("Exploring Prime Pairs with Machine Learning", font_size=28).to_edge(UP) subtitle = Text("A Look into Goldbach's Conjecture", font_size=24).next_to(title, DOWN) # Introduction ...
```python from manim import * class GoldbachML(Scene): def construct(self): # Title title = Text("Exploring Prime Pairs with Machine Learning", font_size=28) subtitle = Text("A Look into Goldbach's Conjecture", font_size=24) # Introduction self.play(Write(title)) ...
spatial_layout_overlap
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching optimization methods and want a side-by-side animation calculating dL/dw for a single weight by finite difference, then comparing to the analytical gradient. Show a simple quadratic loss, move w in small steps, display numerical approximations, and highlight the error as we vary the step size h.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class FiniteDifferenceScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class FiniteDifferenceScene(Scene): def construct(self): axes = Axes(x_range=[-3, 3, 1], y_range=[-1, 5, 1], axis_config={'color': WHITE}, x_length=10, y_length=5) hill_func = lambda x: 0.5 * x ** 2 hill_graph = axes.plot(hill_func, color=BLUE, x_range=[-3, 3]...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Construct a clean Manim CE scene initializing StreamLines with verified keyword arguments. Ensure no deprecated ManimGL arguments (like element_color, max_value, or max_magnitude) are used.
```python from manim import * import numpy as np class ApiValidStreamLines365(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) MARGIN = 0.5 # [LAYOUT] title = Text("StreamLines API Demo", font_size=36)....
```python from manim import * import numpy as np class ApiValidStreamLines365(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) MARGIN = 0.5 # [LAYOUT] title = Text("StreamLines API Demo", font_size=36)....
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an interactive Manim CE animation demonstrating: Orbital mechanics simulation using add_updater with dt. Use updaters and ValueTracker.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class OrbitalMechanicsUpdater(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class OrbitalMechanicsUpdater(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning model introspection and want to see a dynamic summary table being generated like torchinfo, expanding rows for each layer with parameter counts. Start with a compact header and progressively reveal layers showing shapes, channels, and total parameters. Highlight how the total parameter count grows as the n...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ModelIntrospectionDynamics(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ModelIntrospectionDynamics(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Here is the enhanced animation instruction that builds upon the original while adding significant new features: The animation begins with a green square being drawn and filled on screen (DrawBorderThenFill), which then smoothly morphs into a blue circle (ReplacementTransform) while simultaneously displaying the mathem...
```python from manim import * class SquareToCircleWithMath(Scene): def construct(self): # Create initial square square = Square(color=GREEN, fill_opacity=1) square_label = MathTex("A = s^2").next_to(square, DOWN) # Draw square and its area formula self.play(DrawBord...
```python from manim import * class SquareToCircleWithMath(Scene): def construct(self): # Create initial square square = Square(color=GREEN, fill_opacity=1) square_label = TexMobject("A = s^2").next_to(square, DOWN) # Draw square and its area formula self.play(DrawB...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching ML students who want intuition for activations. Animate a scrolling dashboard that shows mean, std, min, and max of activations for each layer during forward passes. Include per-layer color cues, transitions as batch composition changes, and small insets with histograms evolving over time.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ActivationStatisticsScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ActivationStatisticsScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching a deep learning course and want to visualize a skip connection merging with the main path. Show two streams: the main path output and the skip connection output, then animate their element-wise addition into the final output. Include a brief note on gradient flow through both paths and optionally a 1x1 pro...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SkipConnectionsScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SkipConnectionsScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning numerical methods and want to see Euler's method compared to the exact solution for a simple ODE. Create a side-by-side animation: integrate dy/dt = f(y,t) from t0 to t1 using Euler steps, while plotting the exact solution, with the error evolving in time. Show step-by-step updates, a zoom into the last fe...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import math class EulerMethodComparison(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import math class EulerMethodComparison(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
What role does the damping coefficient play in the phase difference between the driving force and the response of a driven damped oscillator?
```python from manim import * class DrivenDampedOscillator(Scene): def construct(self): # Title title = Text("Driven Damped Oscillator", font_size=42) subtitle = Text("Phase Difference & Damping", font_size=32) subtitle.next_to(title, DOWN) self.play(Write(title)) ...
```python from manim import * class DrivenDampedOscillator(Scene): def construct(self): # Title title = Text("Driven Damped Oscillator", font_size=42) subtitle = Text("Phase Difference & Damping", font_size=32) subtitle.next_to(title, DOWN) self.play(Write(title)) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Can you create an educational animation that explains how to convert an infinite geometric series into its closed form, then apply that formula to a specific example such as the sum of 1/2 to the nth power from n equals 0 to infinity? The animation should first display the general formula for an infinite geometric seri...
```python from manim import * class PythagoreanTheorem(Scene): def construct(self): # Creating the initial right triangle triangle = RightTriangle().scale(2) a_label = Tex("a").next_to(triangle, LEFT) b_label = Tex("b").next_to(triangle, DOWN) c_label = Tex("c").next_to(tria...
```python from manim import * class PythagoreanTheorem(Scene): def construct(self): # Creating the initial right triangle triangle = RightTriangle().scale(2) a_label = Tex("a").next_to(triangle, LEFT) b_label = Tex("b").next_to(triangle, DOWN) c_label = Tex("c").next_to(tria...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning optimization and want to visualize the loss surface curvature with a 2D slice, including the optimizer's current position and a Hessian-based curvature estimate. I’d like contour lines, a moving optimizer point, and a small eigen-direction vector illustrating sharp vs flat curvature. Add a quick comparison...
```python from manim import * import numpy as np class LossSurfaceCurvature(Scene, ThreeDScene): def construct(self): self.stop_ambient_camera_rotation() title = Text('Loss Surface Curvature', font_size=48, color=BLUE) subtitle = Text('Visualization of Optimization Landscapes', font_size=2...
```python from manim import * import numpy as np class LossSurfaceCurvature(Scene, ThreeDScene): def construct(self): self.stop_ambient_camera_rotation() title = Text('Loss Surface Curvature', font_size=48, color=BLUE) subtitle = Text('Visualization of Optimization Landscapes', font_size=2...
invalid_axes_kwarg
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
In what creative way can a bifurcation diagram illustrate the process of equilibrium selection in coordination games?
```python from manim import * class EquilibriumSelectionScene(Scene): def construct(self): # Title title = Text("Unraveling Equilibrium: The Dance of Coordination", font_size=32) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) # Element 1: Cro...
```python from manim import * class EquilibriumSelectionScene(Scene): def construct(self): # Title title = Text("Unraveling Equilibrium: The Dance of Coordination", font_size=32) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) # Element 1: Cro...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a Manim animation for a Grade 11 Advanced Economics lesson on statistical measures for summarizing economic data. The video should be in 16:9 format and follow this structure: 1. Opening Scene (3 seconds): Display the title "Statistical Measures in Economics" in large, clear text centered on screen with a subtl...
```python from manim import * import numpy as np import random import math class StatisticalMeasures(Scene): def construct(self): # Set background color explicitly ensures consistency self.camera.background_color = "#0f0f0f" # --- 1. Opening Scene (3s) --- title = Text("Statistical...
```python from manim import * import numpy as np import random import math class StatisticalMeasures(Scene): def construct(self): # Set background color explicitly ensures consistency self.camera.background_color = "#0f0f0f" # --- 1. Opening Scene (3s) --- title = Text("Statistical...
invalid_axes_kwarg
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching undergrads a probabilistic modeling course and want a vivid visualization of NLL versus cross-entropy. Show two overlapping integral curves that reveal when they diverge as the predicted probability for the true class changes. Use color-coded curves, shading for sample contributions, and a side-by-side cap...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import math class ProbabilityCurve(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * import math class ProbabilityCurve(Scene): def construct(self): title = Text('Probabilistic Modeling Curves', font_size=44) subtitle = Text('Visualizing Uncertainty with Data', font_size=26) subtitle.next_to(title, DOWN, buff=0.2) title_group = VGroup(...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying optimization and want to visualize Adam's momentum term as an exponentially decaying average of past gradients. Animate a sequence of gradient vectors with color representing decay, and show the velocity update as a moving average that smooths the path. Include a brief note on bias-correction and a side-by...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MomentumOptimizationScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MomentumOptimizationScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching undergrads a deep learning course and want a visual that shows internal covariate shift by animating the input distribution to a layer across epochs. Animate the input distribution as moving histograms epoch by epoch, with mean/variance annotated. Show how batch normalization stabilizes the activation dist...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class InternalCovariateShiftScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class InternalCovariateShiftScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
As a student of vector calculus, I want to visualize Green's theorem in the plane. Animate a closed curve C bounding a region D, show the line integral around C and the double integral over D, and illustrate how the two are equal by adjusting the field, the orientation, and the region. First with a rectangle, then with...
```python from manim import * import numpy as np class VisualizingGreensTheorem(Scene): def construct(self): self.camera.background_color = '#1a1a2e' curve = ParametricFunction(lambda t: np.array([2.5 * np.cos(t), 1.5 * np.sin(t), 0]), t_range=[0, TAU], color=YELLOW, stroke_width=4) self.p...
```python from manim import * import numpy as np class VisualizingGreensTheorem(Scene): def construct(self): self.camera.background_color = '#1a1a2e' curve = ParametricFunction(lambda t: np.array([2.5 * np.cos(t), 1.5 * np.sin(t), 0]), t_range=[0, TAU], color=YELLOW, stroke_width=4) self.p...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Manifolds' (Unwrapping the N-Sphere: A Journey in Higher Dimensions): How can we imagine the process of wrapping a higher-dimensional sphere (n-sphere) within a manifold? Visual style guidance: Akin to 3Blue1Brown’s aesthetic: smooth animations, calming blues and greens, enha...
```python from manim import * class UnwrappingTheNSphere(Scene): def construct(self): # Introduction title = Text("Unwrapping the N-Sphere", font_size=48) subtitle = Text("A Journey in Higher Dimensions", font_size=36) subtitle.next_to(title, DOWN) self.play(Write(t...
```python from manim import * class UnwrappingTheNSphere(Scene): def construct(self): # Introduction title = Text("Unwrapping the N-Sphere", font_size=48) subtitle = Text("A Journey in Higher Dimensions", font_size=36) subtitle self.play(Write(title)) self.p...
spatial_layout_overlap
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'd like to create an educational animation which visually demonstrates how to find the area under the curve of the function f(x) = x^2 from x = 1 to x = 2. The animation should start by writing out the function, then stating the problem of finding the area under this curve between the given range. After that, I want t...
```python from manim import * class AreaUnderCurve(Scene): def construct(self): # Displaying the problem problem = MathTex(r"\int_1^3 x^2 \,dx") self.play(Write(problem)) self.wait(1) # Explanation for setting up the integral explanation1 = Text("Calculate the area ...
```python from manim import * class AreaUnderCurve(Scene): def construct(self): # Displaying the problem problem = TexMobject(r"\int_1^3 x^2 \,dx") self.play(Write(problem)) self.wait(1) # Explanation for setting up the integral explanation1 = Text("Calculate the ar...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an animated educational video about international trade and foreign exchange for grade 12 economics students. The video should be 16:9 aspect ratio and follow this flow: Start with a title screen showing "International Trade and Foreign Exchange" with a subtitle "Impact of Exports on Foreign Exchange Supply." ...
```python from manim import * import numpy as np class InternationalTradeScene(Scene): def construct(self): # --- Section 1: Title Screen --- # Clear, professional title with contrasting subtitle title = Text("International Trade and Foreign Exchange", font_size=42, weight=BOLD) tit...
```python from manim import * import numpy as np class InternationalTradeScene(Scene): def construct(self): # --- Section 1: Title Screen --- # Clear, professional title with contrasting subtitle title = Text("International Trade and Foreign Exchange", font_size=42, weight=BOLD) tit...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching graduate students about causal discovery from observational data using graphs. Show a pipeline from data to candidate graphs using constraints and score-based searches. Animate edge insertions/removals, bootstrap confidence graphs, and compare inferred structures to a known ground truth under interventions...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class CausalDiscoveryScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [B...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class CausalDiscoveryScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [B...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
The following Manim CE scene failed to compile. Truncated traceback: NameError: name 'PURPLE_COLOR_missing' is not defined Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * # Define colors to be used BACKGROUND_COLOR = "#FA...
```python from manim import * # Define colors to be used BACKGROUND_COLOR = "#FAEBD7" TEXT_COLOR = "#5B5A5A" BLUE_COLOR = "#1E90FF" GREEN_COLOR = "#32CD32" RED_COLOR = "#FF6347" YELLOW_COLOR = "#FFD700" PURPLE_COLOR = "#8A2BE2" # Configure frame properties config.frame_size = (1920, 1080) config.frame_width = 16 conf...
```python from manim import * # Define colors to be used BACKGROUND_COLOR = "#FAEBD7" TEXT_COLOR = "#5B5A5A" BLUE_COLOR = "#1E90FF" GREEN_COLOR = "#32CD32" RED_COLOR = "#FF6347" YELLOW_COLOR = "#FFD700" PURPLE_COLOR = "#8A2BE2" # Configure frame properties config.frame_size = (1920, 1080) config.frame_width = 16 conf...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning vector calculus and want intuition for curl as rotation. Animate a 3D vector field with a color map that encodes local rotation, plus a small loop illustrating circulation and the line integral. Show a side-by-side visualization of the curl scalar field and how Stokes' theorem relates the loop integral to ...
```python from manim import * class CurlIntuitionScene(Scene): def construct(self): title = Text('Curl Intuition in Vector Calculus', font_size=40, color=BLUE) subtitle = Text('Measuring Rotation in Vector Fields', font_size=24, color=GRAY) title_group = VGroup(title, subtitle).arrange(DOW...
```python from manim import * class CurlIntuitionScene(Scene): def construct(self): title = Text('Curl Intuition in Vector Calculus', font_size=40, color=BLUE) subtitle = Text('Measuring Rotation in Vector Fields', font_size=24, color=GRAY) title_group = VGroup(title, subtitle).arrange(DOW...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
```python from manim import * from manim import config Text.set_default(font='SimHei') class CFLProperties(Scene): def construct(self): self.show_context() self.show_capacity_limits() self.show_intersection_closure() def show_context(self): title = Text('Properties of Context-...
```python from manim import * from manim import config Text.set_default(font='SimHei') class CFLProperties(Scene): def construct(self): self.show_context() self.show_capacity_limits() self.show_intersection_closure() def show_context(self): title = Text('Properties of Context-...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching undergrads ML and want a vivid visualization of gradient descent on a simple quadratic loss. Show a 3D parabolic surface z = w^2 with a point representing w, moving by w <- w - lr * dw where dw = d/dw z. Include several learning rates to illustrate convergence versus divergence. Use smooth camera motion, w...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class GradientDescent3DScene(ThreeDScene, VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_camera_orientation(phi=70 * DEGREES...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class GradientDescent3DScene(ThreeDScene, VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_camera_orientation(phi=70 * DEGREES...
invalid_axes_kwarg
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad ML course and want a 3D visualization of a hyperparameter landscape with hidden_dim on one axis and learning rate on another. Plot the validation loss as a surface and mark the optimum with a star; include a parameter sweep animation and camera orbit to reveal valley geometry.
```python from manim import * import numpy as np class HyperparameterLandscapeScene(Scene, ThreeDScene): def construct(self): title = Text('Hyperparameter Landscape Visualization', font_size=36) subtitle = Text('Navigate the terrain of model optimization', font_size=24, color=BLUE) intro_g...
```python from manim import * import numpy as np class HyperparameterLandscapeScene(Scene, ThreeDScene): def construct(self): title = Text('Hyperparameter Landscape Visualization', font_size=36) subtitle = Text('Navigate the terrain of model optimization', font_size=24, color=BLUE) intro_g...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning about module modes and want to see how a training/eval flag propagates to all child modules. Animate a parent module toggling train/eval and broadcast of the flag through a module tree, with checks showing each child adopting the state. Highlight any mismatches with a warning badge and trace the propagatio...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ModuleModesAnimation(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class ModuleModesAnimation(Scene): def construct(self): self.camera.background_color = '#1a1a2e' title = Text('Module Modes in Machine Learning', font_size=36, color=WHITE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) self....
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Mobject.__init__() got an unexpected keyword argument 'max_magnitude' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class ExponentialIntegr...
```python from manim import * class ExponentialIntegrationExample(Scene): def construct(self): # Displaying the problem problem = MathTex(r"\int e^{2x} \,dx") self.play(Write(problem)) self.wait(1) # Explanation for setting u = 2x explanation1 = Text("Let u = 2x, th...
```python from manim import * class ExponentialIntegrationExample(Scene): def construct(self): # Displaying the problem problem = TexMobject(r"\int e^{2x} \,dx") self.play(Write(problem)) self.wait(1) # Explanation for setting u = 2x explanation1 = Text("Let u = 2x,...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning linear genetic programming and want to see how linear GP evolves programs to solve symbolic regression tasks. Visualize a population of candidate programs, their fitness, and the genetic operators selecting and mutating them. Show program trees transforming over generations, and a Pareto-front in the objec...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinearGPScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT 1 |...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinearGPScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT 1 |...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying CNN dilation effects and want to show the dilation factor as expanding gaps between filter taps, growing exponentially with depth. Animate a 1D filter with gaps increasing at deeper layers, and plot the receptive field growth as depth increases. Include a side-by-side comparison of effective coverage and a...
```python from manim import * class CNNDilationEffects(Scene): def construct(self): title = Text('CNN Dilation Effects', font_size=48, color=BLUE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) self.wait(0.5) self.play(title.animate.scale(0.6).to_edge(UP,...
```python from manim import * class CNNDilationEffects(Scene): def construct(self): title = Text('CNN Dilation Effects', font_size=48, color=BLUE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) self.wait(0.5) self.play(title.animate.scale(0.6).to_edge(UP,...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Continued Fractions' (Decoding Continued Fractions: A Geometrical Lens on Diophantine Equations): What geometrical interpretations can be drawn from continued fraction expansions for solving Diophantine equations? Visual style guidance: Elegant and cohesive, maintaining the s...
```python from manim import * class ContinuedFractionsScene(Scene): def construct(self): # Define colors blue = "#3B82F6" # Primary color purple = "#9333EA" # Secondary color gold = "#F59E0B" # Highlight color # Create title title = Text("Decoding Continu...
```python from manim import * class ContinuedFractionsScene(Scene): def construct(self): # Define colors blue = "#3B82F6" # Primary color purple = "#9333EA" # Secondary color gold = "#F59E0B" # Highlight color # Create title title = Text("Decoding Continu...
spatial_layout_overlap
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying hardware acceleration and want a side-by-side animation of a tiny network running on GPU, TPU, and NPU. Visualize throughput, latency, memory bandwidth, and parallelism, plus a simple scheduler showing kernel launches and data transfers.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class HardwareAccelerationVisualization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class HardwareAccelerationVisualization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning sorting algorithms and want a visual that shows insertion sort as it places each new element into its proper spot by shifting larger elements to the right. Show the array as bars, highlight the key, and animate the shifting steps and the insertion, with a pointer moving left to right. Include a comparison ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class InsertionSortVisualization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class InsertionSortVisualization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a step-by-step educational Manim CE lecture scene explaining: Gradient Descent Optimization on 2D Quadratic Function. ```python from manim import * import numpy as np class PedagogicalScene27(Scene): def construct(self): title = Title(r"Gradient Descent: $x_{k+1} = x_k - \gamma \nabla f(x_k)$") ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class GradientDescent2DScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class GradientDescent2DScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width ...
invalid_axes_kwarg
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning how an MLP computes logits; please visualize a forward pass Input -> Linear1 -> Tanh -> Linear2 -> Logits, with the shapes displayed between layers (e.g., [B, D_in] -> [B, D_hidden] -> [B, D_hidden] -> [B, D_out]). Include a concrete example.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MLPForwardPassScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MLPForwardPassScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad ML audience and want a side-by-side comparison of the initial random output distribution and the final output distribution after training (softmax probabilities). Show two panels with identical inputs, animate the evolution of probabilities, and highlight significant shifts toward correct clas...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class SoftmaxProbabilityEvolution(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache...
```python from manim import * import numpy as np class SoftmaxProbabilityEvolution(Scene): def construct(self): colors = {'primary': BLUE, 'secondary': GREEN, 'accent': ORANGE, 'highlight': YELLOW, 'text': WHITE, 'bg': BLACK} title = Text('Softmax Probability Evolution', font_size=48, color=colors...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching a scalar-valued computational graph and want a step-by-step animation where each node displays both its value and its local derivative. Show the forward pass values, then annotate each node with its ∂output/∂input, and illustrate backpropagation with highlighted gradient flow across a few connected operati...
```python from manim import * class ComputationalGraphScene(Scene): def construct(self): title = Text('Scalar-Valued Computational Graph', font_size=32) title.to_edge(UP, buff=0.4) self.play(Write(title), run_time=2.0) node_a = Circle(radius=0.35, color=BLUE, fill_opacity=0.2) ...
```python from manim import * class ComputationalGraphScene(Scene): def construct(self): title = Text('Scalar-Valued Computational Graph', font_size=32) title self.play(Write(title), run_time=2.0) node_a = Circle(radius=0.35, color=BLUE, fill_opacity=0.2) node_b = Circle(ra...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning backprop and want to visualize how gradients accumulate when a variable feeds multiple branches. Animate a small computation graph where partial derivatives from each branch sum at the shared node, with colors showing each contribution. Let the trace show the cumulative gradient updating the shared paramet...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class BackpropagationScene(VoiceoverScene): def construct(self): # Set up speech service self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceove...
```python from manim import * class BackpropagationScene(Scene): def construct(self): self.camera.background_color = '#1a1a2e' title = Text('Backpropagation: How Neural Networks Learn', font_size=36, color=WHITE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) ...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a Manim animation for a Grade 12 Business Studies class on delegation of authority. The video should be 16:9 aspect ratio and follow this structure: 1. Title slide: Display "Delegation of Authority" in large text at the top with a professional blue color scheme suitable for a classroom setting. 2. Question rev...
```python from manim import * import numpy as np import random import math class DelegationOfAuthority(Scene): def construct(self): # --- Config & Colors --- BG_COLOR = "#0f0f0f" TEXT_COLOR = "#d4d4d4" ACCENT_BLUE = "#4a9eff" ACCENT_GREEN = "#6ba76e" ACCENT_ORANGE = ...
```python from manim import * import numpy as np import random import math class DelegationOfAuthority(Scene): def construct(self): # --- Config & Colors --- BG_COLOR = "#0f0f0f" TEXT_COLOR = "#d4d4d4" ACCENT_BLUE = "#4a9eff" ACCENT_GREEN = "#6ba76e" ACCENT_ORANGE = ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching optimization strategies and want a fair comparison of random search versus grid search sampling points on a 2D plane. Animate two sets of points, color-coded by method, and show coverage over time with a metric like area explored. Overlay a smooth objective landscape and highlight how each method discovers...
```python from manim import * class OptimizationStrategiesComparison(Scene): def construct(self): title = Text('Optimization Strategies Comparison', font_size=48, color=BLUE) subtitle = Text('Finding the Best Algorithm for Your AI Model', font_size=28, color=GRAY) subtitle.next_to(title, D...
```python from manim import * class OptimizationStrategiesComparison(Scene): def construct(self): title = Text('Optimization Strategies Comparison', font_size=48, color=BLUE) subtitle = Text('Finding the Best Algorithm for Your AI Model', font_size=28, color=GRAY) subtitle self.pla...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I’m teaching a basic linear layer visualization and want to show the weight update direction from the gradient. Display a 2D input space, the current weight vector, and the gradient vector, then animate the SGD update along the negative gradient. Include arrows with color coding and a short caption explaining the updat...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinearLayerWeightUpdate(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinearLayerWeightUpdate(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Curious: visualize eigenvectors and eigenvalues with intuition for undergraduates. Show a 2D linear transformation acting on several vectors, highlighting directions that stretch without rotation, then transform into the eigenbasis and reconstruct the action. Include scenes: a 2D plane with animated arrows, a 3D extens...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class EigenVectorScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class EigenVectorScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying the Vision API (Google) and want to see how different features are extracted from a photo. Show the image with label detections, OCR bounding boxes, and face landmarks labeled with confidence scores. Animate updates as additional analyses come in, and compare results on a confusing scene.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ImageAnalysisVisionAPI(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class ImageAnalysisVisionAPI(Scene): def construct(self): title = Text('Image Analysis With Vision API', font_size=48, color=BLUE) subtitle = Text('AI-Powered Visual Understanding', font_size=28, color=GRAY) subtitle.next_to(title, DOWN, buff=0.5) self...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Fourier Series Square Wave Approximation with NumPy. ```python from manim import * import numpy as np class SciComputeScene1197(Scene): def construct(self): ax = Axes(x_range=[-PI, PI, PI/2], y_range=[-1.5, 1.5, 0....
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class SciComputeScene1197(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class SciComputeScene1197(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching normalization and want to compare two pipelines: one with gamma fixed at 1 and beta fixed at 0 (pure normalization) and another where gamma and beta are learnable. Animate two parallel streams, show how outputs and gradients differ, and finish with a side-by-side plot of training loss versus iteration.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class NormalizationLectureScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class NormalizationLectureScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad course on optimization and want a tactile intuition for momentum. Animate a ball rolling down a slope, gaining speed as momentum accumulates, and compare it to vanilla gradient descent with a second ball. Show friction, collisions with shallow minima, and a clear velocity buildup over iteratio...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class MomentumOptimizationScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_mode...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class MomentumOptimizationScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_mode...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad course on model capacity and want a 'capacity' slider that increases parameter count. Show training and development error forming a U-shaped curve as capacity grows, highlighting the bias-variance tradeoff. Animate multiple checkpoints with different regularization settings and annotate optima...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import math import random class ModelCapacityAndBiasVarianceTradeoff(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir=...
```python from manim import * import math import random class ModelCapacityAndBiasVarianceTradeoff(Scene): def construct(self): title = Text('Model Capacity & Bias-Variance Tradeoff', font_size=36) subtitle = Text('AI Foundations', font_size=24, color=BLUE) title_group = VGroup(title, subt...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'Modular Inverse' (Unveiling Symmetry: The Art of Modular Inverses): What patterns emerge when visualizing modular inverses on a number line for different integers and moduli? Visual style guidance: Elegant and clean with a minimalist approach. Using a white background with de...
```python from manim import * class ModularInverseScene(Scene): def construct(self): # Colors BLUE_COLOR = "#0C6291" ORANGE_COLOR = "#FF8811" # Introduction title = Text("Unveiling Symmetry: The Art of Modular Inverses", color=BLUE_COLOR, font_size=32) self....
```python from manim import * class ModularInverseScene(Scene): def construct(self): # Colors BLUE_COLOR = "#0C6291" ORANGE_COLOR = "#FF8811" # Introduction title = Text("Unveiling Symmetry: The Art of Modular Inverses", color=BLUE_COLOR, font_size=32) self....
spatial_layout_overlap
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning about training dynamics and want to visualize the weight matrix as a grid of tiny squares, with colors transitioning blue-to-red as weights update. Start from initialization, animate a training loop with key updates, and include a translucent overlay of the evolving loss to connect updates to performance.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class TrainingDynamicsVisualization(ThreeDScene, VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ...
```python from manim import * class TrainingDynamicsVisualization(ThreeDScene, Scene): def construct(self): title = Text('Training Dynamics Visualization', font_size=40, color=BLUE) subtitle = Text('Seeing How Neural Networks Learn', font_size=28, color=WHITE) subtitle.next_to(title, DOWN,...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
What role do Vassiliev invariants play in the configuration space of all possible knot types?
```python from manim import * class VassilievInvariantsScene(Scene): def construct(self): # Title of the animation title = Text("Knotting the World: Exploring Vassiliev Invariants", font_size=32) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) ...
```python from manim import * class VassilievInvariantsScene(Scene): def construct(self): # Title of the animation title = Text("Knotting the World: Exploring Vassiliev Invariants", font_size=32) self.play(Write(title)) self.wait(1) self.play(FadeOut(title)) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a 30-second Manim scene that explains a decision boundary crossing with a zoom window. Use an implicit boundary, a moving probe, and readable status panels so the class flip is obvious even near the crossing.
```python from manim import * class ZoomedDecisionMarginStory(ZoomedScene): def __init__(self, **kwargs): super().__init__(zoom_factor=0.42, zoomed_display_height=2.5, zoomed_display_width=4.2, image_frame_stroke_width=9, zoomed_camera_config={"default_frame_stroke_width": 3}, **kwargs) def construct(...
```python from manim import * class ZoomedDecisionMarginStory(ZoomedScene): def __init__(self, **kwargs): super().__init__(zoom_factor=0.42, zoomed_display_height=2.5, zoomed_display_width=4.2, image_frame_stroke_width=9, zoomed_camera_config={"default_frame_stroke_width": 3}, **kwargs) def construct(...
spatial_layout_overlap
synthetic_hard_neg:sebastianboehler/autoresearch-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Mobject.__init__() got an unexpected keyword argument 'max_value' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class ExponentialGraphScene...
```python from manim import * class ExponentialGraphScene(Scene): def construct(self): # Writing the title of the graph title = Text("Exponential Function Graph").shift(UP*3) self.play(Write(title)) self.wait(1) # Create axes axes = Axes( x_range=[-3, 3]...
```python from manim import * class ExponentialGraphScene(Scene): def construct(self): # Writing the title of the graph title = Text("Exponential Function Graph").shift(UP*3) self.play(Write(title)) self.wait(1) # Create axes axes = Axes( x_range=[-3, 3]...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad calculus-informed ML course and want a clean manual derivation of the chain rule for f(g(h(x))). Show f∘g∘h with x, h(x), g(h(x)), f(g(h(x))), and animate gradients with respect to each intermediate variable, including a numeric check on a simple example.
```python from manim import * class ChainRuleDerivation(Scene): def construct(self): title = Text('The Chain Rule', font_size=48) subtitle = Text('Bridging Calculus and Machine Learning', font_size=28, color=BLUE) title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3) self.p...
```python from manim import * class ChainRuleDerivation(Scene): def construct(self): title = Text('The Chain Rule', font_size=48) subtitle = Text('Bridging Calculus and Machine Learning', font_size=28, color=BLUE) title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3) self.p...
invalid_axes_kwarg
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Here’s an enhanced version of the animation that retains all the original features while adding explanatory text, a mathematical formula for convolution, and a dynamic transformation of the neural network into a simplified diagram at the end: The animation begins by displaying an MNIST digit image as the input layer, ...
```python from manim import * import numpy as np class CNNAnimation(Scene): def construct(self): # Colors BLUE_C = "#58C4DD" GREEN_C = "#A7C07C" RED_C = "#FF6B6B" PURPLE_C = "#CAA9FA" # Create MNIST digit input mnist = Square(side_length=2, fill_colo...
```python from manim import * import numpy as np class CNNAnimation(Scene): def construct(self): # Colors BLUE_C = "#58C4DD" GREEN_C = "#A7C07C" RED_C = "#FF6B6B" PURPLE_C = "#CAA9FA" # Create MNIST digit input mnist = Square(side_length=2, fill_colo...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an interactive Manim CE animation demonstrating: Cycloid Generation with TracedPath and rolling circle. Use updaters and ValueTracker.
```python from manim import * import numpy as np class CycloidGeneration(VoiceoverScene, MovingCameraScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) MARGIN = 0.5 # [LAYOUT] ground = Line( LEFT * (co...
```python from manim import * import numpy as np class CycloidGeneration(VoiceoverScene, MovingCameraScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) MARGIN = 0.5 # [LAYOUT] ground = Line( LEFT * (co...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm learning about Xavier initialization and want a visual that shows backward pass gradient variance staying constant across layers, depicted as equal-height bars. Show an initialization stage, then a backward pass where variances propagate and remain balanced, with colors highlighting variance retention. Include a mo...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class XavierInitialization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) # Ti...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class XavierInitialization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) # Ti...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Construct a clean Manim CE scene initializing NumberPlane with verified keyword arguments. Ensure no deprecated ManimGL arguments (like element_color, max_value, or max_magnitude) are used. ```python from manim import * import numpy as np class ApiValidNumberPlane195(Scene): def construct(self): obj = Num...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class ApiValidNumberPlane195(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac max...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class ApiValidNumberPlane195(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac max...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a 30-second Manim scene that explains an action potential curve over time. Show resting potential, rapid rise, and recovery phases with labeled highlights and captions.
```python from manim import * class NeuroscienceActionPotentialStory(Scene): def construct(self): title = Text("An Action Potential Has Distinct Phases", font_size=34).to_edge(UP) axes = Axes(x_range=[0, 8, 1], y_range=[-90, 40, 20], x_length=6.8, y_length=4.8, tips=False).shift(LEFT * 0.6 + DOWN *...
```python from manim import * class NeuroscienceActionPotentialStory(Scene): def construct(self): title = Text("An Action Potential Has Distinct Phases", font_size=34).to_edge(UP) axes = Axes(x_range=[0, 8, 1], y_range=[-90, 40, 20], x_length=6.8, y_length=4.8, tips=False).shift(LEFT * 0.6 + DOWN *...
legacy_api_hallucination
synthetic_hard_neg:sebastianboehler/autoresearch-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying initialization effects and want to see two parallel training runs: one maintaining variance with sqrt(n), another with a constant 1. Show two kinetic plots of layer activations or gradients, side-by-side, with variance tracked over depth. Highlight divergence or stable propagation as depth increases, and a...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class InitializationEffectsScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_mod...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class InitializationEffectsScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_mod...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
```python from manim import * from manim import config Text.set_default(font='SimHei') class DataModelingProcess(Scene): def construct(self): title = Text('Data Modeling Practices', font_size=40, weight=BOLD) title.to_edge(UP, buff=0.4) subtitle = Text('Modeling Process', font_size=32, col...
```python from manim import * from manim import config Text.set_default(font='SimHei') class DataModelingProcess(Scene): def construct(self): title = Text('Data Modeling Practices', font_size=40, weight=BOLD) title.to_edge(UP, buff=0.4) subtitle = Text('Modeling Process', font_size=32, col...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a 25-second multi-beat fluid-mechanics explainer for ideal steady flow through a constriction. Show equal-volume particle packets moving faster in the narrow section, compare pressure gauges before and inside the constriction, and connect the observations to continuity and Bernoulli. State the steady, incompress...
```python from manim import * class BernoulliConstrictionStory(Scene): def construct(self): title = Text("A constriction links faster flow with lower static pressure", font_size=34).to_edge(UP) top = VMobject(color=BLUE_B).set_points_as_corners([ LEFT * 5 + UP * 1.5, LEFT * 1.5 + UP * 1...
```python from manim import * class BernoulliConstrictionStory(Scene): def construct(self): title = Text("A constriction links faster flow with lower static pressure", font_size=34) top = VMobject(color=BLUE_B).set_points_as_corners([ LEFT * 5 + UP * 1.5, LEFT * 1.5 + UP * 1.5, LEFT * 0...
spatial_layout_overlap
synthetic_hard_neg:sebastianboehler/autoresearch-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
You are a Manim expert. Please convert the Markdown lecture notes into executable Manim CE v0.19.0 code that displays content in English. The page layout must be clear, with no overlapping elements, and you must not output any explanatory or descriptive text outside the code. Pay special attention to avoiding common er...
```python from manim import * from manim import config Text.set_default(font='SimHei') class PennTreebankAnnotation(Scene): def construct(self): title = Text('Penn Treebank: Annotated Content', font_size=34, color=WHITE, weight=BOLD) title.to_edge(UP, buff=0.5) title_line = Line(LEFT, RIGH...
```python from manim import * from manim import config Text.set_default(font='SimHei') class PennTreebankAnnotation(Scene): def construct(self): title = Text('Penn Treebank: Annotated Content', font_size=34, color=WHITE, weight=BOLD) title title_line = Line(LEFT, RIGHT, color=ORANGE) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I’m teaching undergrads ML and want a vivid visualization of a forward pass from raw character IDs to the final cross-entropy loss. Show embedding lookup, a linear projection, a softmax, and the cross-entropy calculation, with each operation highlighted in sequence. Include separate scenes for embeddings, logits, proba...
```python from manim import * class ForwardPassExplanation(Scene): def construct(self): title = Text('Forward Pass in Machine Learning', font_size=36, color=BLUE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) subtitle = Text('The Journey of Data Through a Neural...
```python from manim import * class ForwardPassExplanation(Scene): def construct(self): title = Text('Forward Pass in Machine Learning', font_size=36, color=BLUE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) subtitle = Text('The Journey of Data Through a Neural...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Manim-SFT
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
The following Manim CE scene failed to compile. Truncated traceback: AttributeError: VGroup object has no attribute 'c2p' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class PathIntegralsTopology(Scene): def constru...
```python from manim import * class PathIntegralsTopology(Scene): def construct(self): # Title title = Text("The Paths Less Taken: Quantum Mechanics and Spacetime Topology", font_size=24) title.to_edge(UP) self.play(Write(title)) self.wait(1) # Introduction:...
```python from manim import * class PathIntegralsTopology(Scene): def construct(self): # Title title = Text("The Paths Less Taken: Quantum Mechanics and Spacetime Topology", font_size=24) title.to_edge(UP) self.play(Write(title)) self.wait(1) # Introduction:...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching an undergrad ML course and want a vivid visualization of the softmax output over a character sequence. Render a pie chart where each slice represents a character's probability, highlighting the max probability colorfully. Animate changes as the input token shifts and when temperature is varied. Include inf...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class SoftmaxScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class SoftmaxScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/AOS-Narrated-Manim-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching NLP visualization and want a 26x26 heatmap showing a character transition matrix, where each cell color encodes the log-frequency of a character pair. Build a grid with labeled axes for source and target characters, animate a gradual heat buildup across cells, and include a colorbar and a note on interpret...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class CharacterTransitionHeatmapScene(VoiceoverScene, ThreeDScene): def construct(self): # Setup speech service self.set_speech_service( GTTSService(voice="alb...
```python from manim import * class CharacterTransitionHeatmapScene(Scene, ThreeDScene): def construct(self): title = Text('NLP Character Transition Heatmap', font_size=36, color=BLUE) subtitle = Text('Visualizing Character Relationships Over Time', font_size=24, color=GRAY) subtitle.next_...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a Manim animation video for a Grade 10 Social Studies class explaining road transport advantages. The video should be in 16:9 format and follow this structure: Start with a title slide showing "Road Transport and Its Advantages" in large text with a simple road icon or graphic. Hold for 2 seconds. Introduce th...
```python from manim import * import numpy as np import random import math class RoadTransportScene(Scene): def construct(self): # --- Config & Palette --- self.camera.background_color = "#0f0f0f" c_text = "#d4d4d4" c_blue = "#4a9eff" c_green = "#6ba76e" c_o...
```python from manim import * import numpy as np import random import math class RoadTransportScene(Scene): def construct(self): # --- Config & Palette --- self.camera.background_color = "#0f0f0f" c_text = "#d4d4d4" c_blue = "#4a9eff" c_green = "#6ba76e" c_o...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an educational ManimCE animation on 'The Sieve of Eratosthenes' (Uncovering Prime Efficiency with the Sieve of Eratosthenes): Can we establish the efficiency of the Sieve of Eratosthenes using recursive visualization methods? Visual style guidance: The animation style is inspired by chalkboard aesthetics, utiliz...
```python from manim import * class SieveOfEratosthenes(Scene): def construct(self): # Set background color for blackboard feel self.camera.background_color = "#0C1020" # Element 1: Opening question question = Text( "Can we establish the efficiency of the Sieve ...
```python from manim import * class SieveOfEratosthenes(Scene): def construct(self): # Set background color for blackboard feel self.camera.background_color = "#0C1020" # Element 1: Opening question question = Text( "Can we establish the efficiency of the Sieve ...
legacy_api_hallucination
synthetic_hard_neg:bespokelabs/bespoke-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Lorenz Attractor Differential Equation with SciPy solve_ivp. ```python from manim import * import numpy as np from scipy.integrate import solve_ivp class SciComputeScene554(Scene): def construct(self): from scipy.i...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np from scipy.integrate import solve_ivp MARGIN = 0.5 class SciComputeScene554(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np from scipy.integrate import solve_ivp MARGIN = 0.5 class SciComputeScene554(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a Manim educational video about Integral Intelligence in the Indian Tradition for 12th grade psychology students. The video should be in 16:9 format. Start with a title screen showing "Integral Intelligence in the Indian Tradition" in the center with a calm, professional color scheme (blues and greens to sugges...
```python from manim import * import numpy as np class IntegralIntelligenceScene(Scene): def construct(self): # 1. Title Screen self.setup_title() # 2. Question Setup question_group = self.display_question() # 3. Diagram Construction diagram_group =...
```python from manim import * import numpy as np class IntegralIntelligenceScene(Scene): def construct(self): # 1. Title Screen self.setup_title() # 2. Question Setup question_group = self.display_question() # 3. Diagram Construction diagram_group =...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a 30-second Manim scene that explains a titration curve. Plot pH versus added base, move a tracker-driven dot from acidic to equivalence to basic regions, and show a live pH readout with guide lines.
```python from manim import * class TitrationTrackerDashboard(Scene): def construct(self): def ph_curve(x): return 2.2 + 9.0 / (1 + np.exp(-(x - 5.2) * 1.8)) title = Text("Reading a Titration Curve", font_size=38).to_edge(UP) axes = Axes( x_range=[0, 10, 1], ...
```python from manim import * class TitrationTrackerDashboard(Scene): def construct(self): def ph_curve(x): return 2.2 + 9.0 / (1 + np.exp(-(x - 5.2) * 1.8)) title = Text("Reading a Titration Curve", font_size=38).to_edge(UP) axes = Axes( x_range=[0, 10, 1], ...
legacy_api_hallucination
synthetic_hard_neg:sebastianboehler/autoresearch-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
The following Manim CE scene failed to compile. Truncated traceback: NameError: name 'res_line_missing' is not defined Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * from manim import config Text.set_default(font='SimHei'...
```python from manim import * from manim import config Text.set_default(font='SimHei') class LinearRegressionScene(Scene): def construct(self): title = Text('Linear Regression and Least Squares', font_size=34, color=WHITE, weight=BOLD) title.to_edge(UP, buff=0.5) title_line = Line(LEFT, RI...
```python from manim import * from manim import config Text.set_default(font='SimHei') class LinearRegressionScene(Scene): def construct(self): title = Text('Linear Regression and Least Squares', font_size=34, color=WHITE, weight=BOLD) title title_line = Line(LEFT, RIGHT, color=ORANGE) ...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Here’s an enhanced version of the animation with additional features and improved clarity: The animation begins by displaying the general equation of motion, \( m \vec{a} = m \vec{g} + \vec{T} \), with a smooth `Write` effect, followed by an explanatory text appearing at the top of the screen, detailing each term (mas...
```python from manim import * class VerticalCircularMotion(Scene): def construct(self): # General equation of motion general_eq = MathTex( "m", "\\vec{a}", "=", "m", "\\vec{g}", "+", "\\vec{T}" ).scale(1.5) explanation = Text("Mass × Acceleration = Weight + Tension", fon...
```python from manim import * class VerticalCircularMotion(Scene): def construct(self): # General equation of motion general_eq = MathTex( "m", "\\vec{a}", "=", "m", "\\vec{g}", "+", "\\vec{T}" ).scale(1.5) explanation = Text("Mass × Acceleration = Weight + Tension", fon...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create an interactive Manim CE animation demonstrating: Cycloid Generation with TracedPath and rolling circle. Use updaters and ValueTracker.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class CycloidGeneration(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class CycloidGeneration(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Create a 30-second Manim explainer that combines a titration curve, a moving equivalence tracker, and a small summary table. Highlight the acidic, rapid-change, and basic regions as separate beats instead of just showing the final chart.
```python from manim import * class TitrationTableTrackerStory(Scene): def construct(self): title = Text("Reading a Titration Curve in Stages", font_size=36).to_edge(UP) axes = Axes(x_range=[0, 10, 1], y_range=[0, 14, 2], x_length=7.2, y_length=4.6, tips=False).shift(LEFT * 1.7 + DOWN * 0.2) ...
```python from manim import * class TitrationTableTrackerStory(Scene): def construct(self): title = Text("Reading a Titration Curve in Stages", font_size=36) axes = Axes(x_range=[0, 10, 1], y_range=[0, 14, 2], x_length=7.2, y_length=4.6, tips=False) curve = axes.plot(lambda x: 7 + 3.1 * np....
spatial_layout_overlap
synthetic_hard_neg:sebastianboehler/autoresearch-manim
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm studying weight initialization and want to compare Xavier and He schemes in terms of fan_in and fan_out. Visualize two initialization variants as grids of vectors in a layer and show how variance scales with layer width. Animate gradient norms and signal magnitudes across several layers to illustrate stability vers...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class WeightInitializationSchemes(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_mo...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class WeightInitializationSchemes(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_mo...
spatial_layout_overlap
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
Here is the enhanced animation description: The animation begins by constructing a set of blue axes spanning from -4 to 4 on the x-axis and -2 to 2 on the y-axis. A smooth white cosine curve, labeled as \( \cos(x) \), gracefully appears on the axes, accompanied by its mathematical label. After a brief pause, the der...
```python from manim import * class CosineDerivativeAntiderivative(Scene): def construct(self): # Create axes axes = Axes( x_range=[-4, 4, 1], y_range=[-2, 2, 1], x_length=8, y_length=4, axis_config={"color": BLUE}, ) axes_...
```python from manim import * class CosineDerivativeAntiderivative(Scene): def construct(self): # Create axes axes = Axes( x_range=[-4, 4, 1], y_range=[-2, 2, 1], x_length=8, y_length=4, axis_config={"color": BLUE}, ) axes_...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/manim-sft-10k
You are an expert Manim Community Edition (ManimCE v0.19+) Python developer and mathematical animator. Given a user request, first plan the spatial layout, coordinate bounds, timing, and pedagogical flow inside <think>...</think> tags (when reasoning is helpful), and then output a complete, runnable, self-contained Man...
I'm teaching sequence models and want to visualize the receptive field expanding over an input sequence. Show a colored window that grows across time steps, multiple layers widening, and annotate the field size as it expands, with a timeline.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ReceptiveFieldScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ReceptiveFieldScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) ...
legacy_api_hallucination
synthetic_hard_neg:nabin2004/qwen3-8b-manimator-gold-sft