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...
Create a comprehensive Manim animation explaining Bt cotton as a genetically modified crop. The video should be in 16:9 format and follow this structure: Start with a title screen displaying "Genetic Engineering: The Case of Bt Cotton" with a subtitle "Benefits of Genetically Modified Crops." Introduce the question o...
```python from manim import * import numpy as np import random import math class BtCottonScene(Scene): def construct(self): # Set background self.camera.background_color = "#0f0f0f" # 1. Title Screen self.intro_sequence() # 2. Question Display self....
```python from manim import * import numpy as np import random import math class BtCottonScene(Scene): def construct(self): # Set background self.camera.background_color = "#0f0f0f" # 1. Title Screen self.intro_sequence() # 2. Question Display self....
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 Chinese Remainder Theorem' (Unlocking the Magic: The Chinese Remainder Theorem with Venn Diagrams): In what way can the Chinese Remainder Theorem be visually represented using Venn diagrams? Visual style guidance: Clean, visually striking with high contrast between colors...
```python from manim import * class ChineseRemainderTheoremScene(Scene): def construct(self): # Title animation title = Text("The Chinese Remainder Theorem", font_size=42) self.play(Write(title)) self.wait(1) self.play(title.animate.scale(0.7).to_edge(UP)) #...
```python from manim import * class ChineseRemainderTheoremScene(Scene): def construct(self): # Title animation title = Text("The Chinese Remainder Theorem", font_size=42) self.play(Write(title)) self.wait(1) self.play(title.animate.scale(0.7)) # Introductio...
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 students about triple integrals and I'd like to create an educational animation that visually explains the step-by-step process of evaluating a triple integral. Can you make an animation that starts by showing the integral of xyz from 0 to 1 for z, y, and x in that order? Once the problem is presented, I w...
```python from manim import * class SurfaceAreaSphericalExample(Scene): def construct(self): # Display the problem problem = MathTex(r"\int_{0}^{\pi} \int_{0}^{2\pi} \int_{0}^{1} \rho^2 \sin \phi \, d\rho \, d\theta \, d\phi") self.play(Write(problem)) self.wait(1) # Explan...
```python from manim import * class SurfaceAreaSphericalExample(Scene): def construct(self): # Display the problem problem = TexMobject(r"\int_{0}^{\pi} \int_{0}^{2\pi} \int_{0}^{1} \rho^2 \sin \phi \, d\rho \, d\theta \, d\phi") self.play(Write(problem)) self.wait(1) # Exp...
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...
In a signals course, I want a rich visualization of Fourier series convergence for a square wave. Show partial sums building up and the Gibbs phenomenon near the jump, with the spectrum represented as bars that shrink into the time signal as more terms are added. Create multiple scenes: (a) time-domain reconstruction...
```python import numpy as np from manim import ( Axes, MathTex, Text, VGroup, Write, Create, FadeOut, Transform, BLUE, GREEN, YELLOW, ORANGE, RED, GRAY, PINK, PI, UP, DOWN, LEFT, RIGHT, DL ) from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class Fourie...
```python import numpy as np from manim import ( Axes, MathTex, Text, VGroup, Write, Create, FadeOut, Transform, BLUE, GREEN, YELLOW, ORANGE, RED, GRAY, PINK, PI, UP, DOWN, LEFT, RIGHT, DL ) from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class Fourie...
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...
As an undergraduate learning linear algebra, I want a visualization of the spectral theorem for real symmetric matrices. Show how any vector decomposes into eigenvectors and how the matrix scales along those directions, with the eigenspaces highlighted in 3D. I’d like a sequence of scenes: intuition first, then the alg...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SpectralTheoremScene(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 SpectralTheoremScene(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...
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: SymPy Symbolic Derivative and animated derivation steps. ```python from manim import * import numpy as np import sympy as sp class SciComputeScene267(Scene): def construct(self): import sympy as sp ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np import sympy as sp MARGIN = 0.5 class SciComputeScene267(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = confi...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np import sympy as sp MARGIN = 0.5 class SciComputeScene267(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = confi...
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 learning GAN-based text generation and want a visualization of the training dynamics of SeqGAN or LeakGAN. Build scenes that show the generator and discriminator interacting, with gradient signals and reward shaping rendered as animated graphs. Include sample generated sentences, reward timelines, and a comparison ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class GANTextGeneration(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) # TITLE...
```python from manim import * class GANTextGeneration(Scene): def construct(self): title = Text('GAN Based Text Generation Dynamics', font_size=38) title.to_edge(UP, buff=0.4) subtitle = Text('Creativity Meets Computation', font_size=26, color=BLUE) subtitle.next_to(title, DOWN, bu...
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 learning optimization and want a visual comparison of gradient descent, momentum, and Adam on a nonconvex loss. Show a 3D loss landscape with three trajectories starting from the same point, plus a 2D zoom near the minima. Include a parameter sweep over learning rate and momentum/beta, with animated plots showing c...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class OptimizationComparisonScene(ThreeDScene, VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_camera_orientation(phi=75 * DEGREES, theta=-45 * ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class OptimizationComparisonScene(ThreeDScene, VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_camera_orientation(phi=75 * DEGREES, theta=-45 * ...
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 about how pre-activations change shape; animate a histogram that starts bell-curved and gradually becomes skewed as a parameter shifts, with annotations on skewness, mean shift, and tails, plus a quick note on implications for activation.
```python from manim import * import random import numpy as np class PreActivationSkewnessScene(Scene): def construct(self): title = Text('Pre-Activations & Histogram Skewness', font_size=40, color=BLUE) subtitle = Text('Understanding Neural Network Behavior', font_size=24, color=GRAY) sub...
```python from manim import * import random import numpy as np class PreActivationSkewnessScene(Scene): def construct(self): title = Text('Pre-Activations & Histogram Skewness', font_size=40, color=BLUE) subtitle = Text('Understanding Neural Network Behavior', font_size=24, color=GRAY) sub...
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 a 15-second Manim scene that explains a derivative as the slope of a tangent. Plot a smooth curve on axes, move a point along the curve with a short tangent line, show the slope label updating once, and finish with a boxed caption saying the derivative is local rate of change.
```python from manim import * class DerivativeTangentZoom(Scene): def construct(self): def f(x): return 0.22 * (x - 0.8) ** 2 + 0.35 def p(x): return axes.c2p(x, f(x)) def tangent_segment(x): slope = 0.44 * (x - 0.8) left, right = x - 0.55, x ...
```python from manim import * class DerivativeTangentZoom(Scene): def construct(self): def f(x): return 0.22 * (x - 0.8) ** 2 + 0.35 def p(x): return axes.c2p(x, f(x)) def tangent_segment(x): slope = 0.44 * (x - 0.8) left, right = x - 0.55, x ...
invalid_axes_kwarg
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 'Topological Groups' (The Manifold Symphony: Understanding Lie Groups Through Topology): In what way can the topology of a Lie group aid in understanding the symmetry of its algebraic structure? Visual style guidance: Sleek and modern with a limited color palette of blues, whi...
```python from manim import * class LieGroupTopology(Scene): def construct(self): # Define colors blue = "#3333FF" gold = "#FFD700" white = "#FFFFFF" # Title title = Text("The Manifold Symphony", font_size=40, color=blue) subtitle = Text("Understandi...
```python from manim import * class LieGroupTopology(Scene): def construct(self): # Define colors blue = "#3333FF" gold = "#FFD700" white = "#FFFFFF" # Title title = Text("The Manifold Symphony", font_size=40, color=blue) subtitle = Text("Understandi...
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...
What are the dynamics of multiple intersecting J-holomorphic curves within high-dimensional symplectic manifolds?
```python from manim import * class JHolomorphicCurvesScene(Scene): def construct(self): # Introduction title = Text("J-Holomorphic Curves", font_size=36, color=PURPLE) subtitle = Text("in Symplectic Geometry", font_size=28, color=BLUE) subtitle.next_to(title, DOWN) ...
```python from manim import * class JHolomorphicCurvesScene(Scene): def construct(self): # Introduction title = Text("J-Holomorphic Curves", font_size=36, color=PURPLE) subtitle = Text("in Symplectic Geometry", font_size=28, color=BLUE) subtitle self.play(Write(titl...
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 is the enhanced animation instruction that builds upon the original while adding significant new features: The enhanced animation begins by displaying the general Fourier series formula (f(x) ∼ a₀ + Σ(aₙcos(nx) + bₙsin(nx))) with a smooth Write animation, then immediately introduces a new explanatory text box bel...
```python from manim import * import numpy as np class EnhancedFourierSeries(Scene): def construct(self): # General Fourier series formula general_formula = MathTex( r"f(x) \sim a_0 + \sum_{n=1}^{\infty} (a_n \cos(nx) + b_n \sin(nx))", font_size=36 ).to_edge(UP) ...
```python from manim import * import numpy as np class EnhancedFourierSeries(Scene): def construct(self): # General Fourier series formula general_formula = MathTex( r"f(x) \sim a_0 + \sum_{n=1}^{\infty} (a_n \cos(nx) + b_n \sin(nx))", font_size=36 ) ...
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 learning gated activations and want to visualize the gradient of a gate that combines Tanh and Sigmoid derivatives. Show the chain rule decomposition: tanh' times gate, sigmoid' times gate, and illustrate how the overall gradient evolves across time steps, with color coding for each component.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class GatedActivationsGradientScene(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 GatedActivationsGradientScene(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...
Can we construct a power set of a power set, and what can this tell us about hierarchical structures in set theory?
```python from manim import * class PowerSetTower(Scene): def construct(self): # Title title = Text("The Infinite Tower of Power Sets") subtitle = Text("A Journey into Set Theory").scale(0.7) subtitle.next_to(title, DOWN) self.play(Write(title), Write(subtitle)) ...
```python from manim import * class PowerSetTower(Scene): def construct(self): # Title title = Text("The Infinite Tower of Power Sets") subtitle = Text("A Journey into Set Theory").scale(0.7) subtitle self.play(Write(title), Write(subtitle)) self.wait(1) ...
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...
How can finding the minimum number of variables in a triangulation help determine the graph's chromatic number?
```python from manim import * class GraphTriangulationScene(Scene): def construct(self): # Title title = Text("The Magic of Graph Triangulation", font_size=36, color=BLUE) subtitle = Text("Coloring Made Simple", font_size=28, color=PURPLE) subtitle.next_to(title, DOWN) ...
```python from manim import * class GraphTriangulationScene(Scene): def construct(self): # Title title = Text("The Magic of Graph Triangulation", font_size=36, color=BLUE) subtitle = Text("Coloring Made Simple", font_size=28, color=PURPLE) subtitle title_group = VGr...
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 step-by-step educational Manim CE lecture scene explaining: Taylor Series Expansion of exp(x).
```python from manim import * import numpy as np class PedagogicalScene215(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) MARGIN = 0.5 def fit_in_frame(self, mob: Mobject, w_frac: float = 0.9, h_frac: float = 0.9...
```python from manim import * import numpy as np class PedagogicalScene215(VoiceoverScene): def construct(self): # [SETUP] self.set_speech_service(GTTSService(transcription_model="base")) MARGIN = 0.5 def fit_in_frame(self, mob: Mobject, w_frac: float = 0.9, h_frac: float = 0.9...
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 software engineering and want a live visualization of how a linter detects style and quality issues. Animate the code as blocks, highlight syntax violations, and show fix suggestions with before/after views. Plot a running score and demonstrate how config options influence warnings during a small refactor.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinterScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT 1 | s...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinterScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="base")) # [BEAT 1 | s...
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...
Curious about how gradient descent navigates a non-convex loss. Show a 2D contour of a toy loss with multiple minima, then animate several optimization runs from different starting points using varied learning rates. I want to trace the paths, highlight saddle points, and visualize step updates as arrows or paths, with...
```python from manim import * class GradientDescentScene(Scene): def construct(self): title = Text('Gradient Descent in Non-Convex Losses', font_size=36) subtitle = Text('Navigating Complex Landscapes in Neural Networks', font_size=24, color=BLUE) title_group = VGroup(title, subtitle).arra...
```python from manim import * class GradientDescentScene(Scene): def construct(self): title = Text('Gradient Descent in Non-Convex Losses', font_size=36) subtitle = Text('Navigating Complex Landscapes in Neural Networks', font_size=24, color=BLUE) title_group = VGroup(title, subtitle).arra...
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...
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 LectureNotes(Scene): def construct(self): title1 = Title('Deep Learning Based Coreference Resolution') subtitle1 = Text('End-to-End Neural Network Model', font_size=36, color=BLUE) subtitle1.next_t...
```python from manim import * from manim import config Text.set_default(font='SimHei') class LectureNotes(Scene): def construct(self): title1 = Title('Deep Learning Based Coreference Resolution') subtitle1 = Text('End-to-End Neural Network Model', font_size=36, color=BLUE) subtitle1 ...
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 DynamicScene260(Scene): def construct(self): ground = Line(LEFT * 4 + DOWN * 1.5, RIGHT * 4 + DOWN * 1.5, col...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class CycloidGenerationScene(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 CycloidGenerationScene(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...
I'm teaching undergrads ML and want a visualization of a summary table that lists hyperparameter configurations ranked by validation accuracy, sorted ascending. Each row shows learning rate, batch size, regularization, and the resulting accuracy; animate the sorting so the best config rises to the top. Highlight the to...
```python from manim import * class HyperparameterTuningVisualizations(Scene): def construct(self): title = Text('Hyperparameter Tuning Visualizations', font_size=48, color=BLUE) subtitle = Text('Finding Optimal Settings for ML Models', font_size=28, color=GRAY) subtitle.next_to(title, DOW...
```python from manim import * class HyperparameterTuningVisualizations(Scene): def construct(self): title = Text('Hyperparameter Tuning Visualizations', font_size=48, color=BLUE) subtitle = Text('Finding Optimal Settings for ML Models', font_size=28, color=GRAY) subtitle.next_to(title, DOW...
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 a graduate course on numerical linear algebra, I'd like a visually rich explanation of SVD on a noisy 2D data cloud. Animate the data points, show the principal directions (singular vectors) and how truncating to k singular values reconstructs the data, with intuitive before/after visuals. Include multiple scenes: a...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class SVDEckartYoungScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="bas...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class SVDEckartYoungScene(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="bas...
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 undergrads a course on AI-assisted coding and want a vivid visualization of how a GPT-based code generator like Copilot turns a natural-language prompt into code. Show the encoding of the prompt, the autoregressive token generation, and how repository context influences the next-token predictions. Include ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class GPTCodeGenScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) # 1. Tit...
```python from manim import * class GPTCodeGenScene(Scene): def construct(self): title = Text('GPT-Based Code Generation', font_size=40) subtitle = Text('From Prompt to Code', font_size=24) title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.2) title_group.to_edge(UP, buff=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...
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 CryptographyLecture(Scene): def construct(self): self.show_comparison_table() self.show_hybrid_encryption_rationale() self.show_hybrid_encryption_process() def create_text(self, string, color=...
```python from manim import * from manim import config Text.set_default(font='SimHei') class CryptographyLecture(Scene): def construct(self): self.show_comparison_table() self.show_hybrid_encryption_rationale() self.show_hybrid_encryption_process() def create_text(self, string, color=...
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...
The following Manim CE scene failed to compile. Truncated traceback: TypeError: Mobject.__init__() got an unexpected keyword argument 'element_color' Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class ParametricCurveEx...
```python from manim import * class ParametricCurveExample(Scene): def construct(self): # Title for the scene title = Text("Parametric Curve Representation", font_size=36) self.play(Write(title)) self.wait(1) # Moving the title to the top of the frame self.play(Appl...
```python from manim import * class ParametricCurveExample(Scene): def construct(self): # Title for the scene title = Text("Parametric Curve Representation", font_size=36) self.play(Write(title)) self.wait(1) # Moving the title to the top of the frame self.play(Appl...
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 learning about how pre-activations change shape; animate a histogram that starts bell-curved and gradually becomes skewed as a parameter shifts, with annotations on skewness, mean shift, and tails, plus a quick note on implications for activation.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class PreActivationSkewness(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="b...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class PreActivationSkewness(VoiceoverScene): def construct(self): # [SETUP] # [LAYOUT] self.set_speech_service(GTTSService(transcription_model="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...
I'm teaching software engineering and want a live visualization of how a linter detects style and quality issues. Animate the code as blocks, highlight syntax violations, and show fix suggestions with before/after views. Plot a running score and demonstrate how config options influence warnings during a small refactor.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LinterDetectionVisualization(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class LinterDetectionVisualization(Scene): def construct(self): title = Text('Linter Detection Visualization', font_size=48, color=BLUE) subtitle = Text('Catching Code Issues Before They Catch You', font_size=28, color=GRAY) subtitle.next_to(title, DOWN, buff=...
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: Animation only works on Mobjects Fix the code. Return a complete working scene. Do not keep the invalid constructor kwargs or Unicode subscripts. ```python from manim import * class AreaUnderCurve(Scene): def construct(self): ...
```python from manim import * class AreaUnderCurve(Scene): def construct(self): curve_label = MathTex(r"f(x) = 3 - \frac{1}{2}x^2", font_size=24) self.play(Write(curve_label)) self.wait(1) curve_graph = FunctionGraph( lambda x: 3 - 0.5 * x**2, x_range=[-3, 3...
```python from manim import * class AreaUnderCurve(Scene): def construct(self): curve_label = TexMobject(r"f(x) = 3 - \frac{1}{2}x^2", font_size=24) self.play(Write(curve_label)) self.wait(1) curve_graph = FunctionGraph( lambda x: 3 - 0.5 * x**2, x_range=[-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 undergrads ML and want a vivid visualization of the tanh activation curve. Show logits ranging from -∞ to ∞ mapped to -1 to 1, with saturation regions colored red. Include a moving input slider and an annotation of the slope decay, plus a side plot of the derivative magnitude. ```python from manim import ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class AOSTrajectoryScene201(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 AOSTrajectoryScene201(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...
Create a Manim animation for Grade 10 Science about image formation by mirrors. The video should be in 16:9 format and follow a classroom teaching style. Start with an introduction slide showing the title "Image Formation by Mirrors" in the center. Display the question below: "Which type of mirror always forms a virtu...
```python from manim import * import numpy as np import math class ImageFormationByMirrors(Scene): def construct(self): # Set background color self.camera.background_color = "#0f0f0f" # --- Section 1: Introduction --- # Title at the top title = Title("Image Formation by Mir...
```python from manim import * import numpy as np import math class ImageFormationByMirrors(Scene): def construct(self): # Set background color self.camera.background_color = "#0f0f0f" # --- Section 1: Introduction --- # Title at the top title = Title("Image Formation by Mir...
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...
Here’s an enhanced version of the animation that retains all the original features while adding a visual representation of the area under the curve and step-by-step annotations to clarify the integral calculation: **Enhanced Animation Description:** The animation begins by displaying the function \( f(x) = 3 - x^2 \...
```python from manim import * class IntegralAreaAnimation(Scene): def construct(self): # Display the function func_text = MathTex("f(x) = 3 - x^2").scale(1.2) self.play(Write(func_text)) self.wait(1) # Show the question question = Tex("Find the area under $f(x)$ fro...
```python from manim import * class IntegralAreaAnimation(Scene): def construct(self): # Display the function func_text = MathTex("f(x) = 3 - x^2").scale(1.2) self.play(Write(func_text)) self.wait(1) # Show the question question = Tex("Find the area under $f(x)$ fro...
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 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 * import math class EulerMethodComparison(Scene): def construct(self): title = Text('Euler Method Comparison for ODEs', font_size=40) subtitle = Text('Which method gives the smoothest ride?', font_size=24).next_to(title, DOWN) self.play(Write(title), Write(subti...
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 learning about embedding layers and backpropagation. Visualize the embedding backward pass so that gradients flow only to the rows corresponding to the current batch indices, with other rows frozen. Display a matrix of embeddings, gradient arrows targeting active rows, and a clear before/after comparison. Include a...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class EmbeddingLayersAndBackpropagation(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") )...
```python from manim import * class EmbeddingLayersAndBackpropagation(Scene): def construct(self): title = Text('Embedding Layers & Backpropagation', font_size=48) subtitle = Text('How Neural Networks Understand Language', font_size=28, color=BLUE) subtitle.next_to(title, DOWN, buff=0.5) ...
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 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 * 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....
```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....
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 a Manim animation in 16:9 format for an advanced 11th-grade psychology class on Gender Role-Play and Moral Development. Start with a title screen displaying "Gender Role-Play and Moral Development" with a subtitle "Understanding Social and Moral Growth." Then present the question: "Provide an example of a si...
```python from manim import * import numpy as np class GenderRolePlayScene(Scene): def construct(self): # Setup background color (Dark theme) self.camera.background_color = "#0f0f0f" # --- SECTION 1: TITLE SCREEN --- # Large title for clarity title = Text("Gender Ro...
```python from manim import * import numpy as np class GenderRolePlayScene(Scene): def construct(self): # Setup background color (Dark theme) self.camera.background_color = "#0f0f0f" # --- SECTION 1: TITLE SCREEN --- # Large title for clarity title = Text("Gender Ro...
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 educational ManimCE animation on 'Quadratic Reciprocity' (Exploring Quadratic Reciprocity in 3D): Can we represent the reciprocity law through a 3D lattice visualization, where dimensions represent different primes and coordinates capture residue relationships? Visual style guidance: The 3D animation features...
```python from manim import * class QuadraticReciprocityScene(Scene): def construct(self): # Introduction title = Text("Exploring Quadratic Reciprocity in 3D") self.play(Write(title)) self.wait(1) self.play(title.animate.shift(UP * 3)) # Explanation of quadr...
```python from manim import * class QuadraticReciprocityScene(Scene): def construct(self): # Introduction title = Text("Exploring Quadratic Reciprocity in 3D") self.play(Write(title)) self.wait(1) self.play(title.animate) # Explanation of quadratic residues ...
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...
Create an interactive Manim CE animation demonstrating: Riemann Rectangles adapting dynamically with ValueTracker. Use updaters and ValueTracker. ```python from manim import * import numpy as np class DynamicScene122(Scene): def construct(self): ax = Axes(x_range=[0, 4, 1], y_range=[0, 5, 1], x_length=6, ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class DynamicScene122(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class DynamicScene122(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac...
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 course and want a visualization of a single scalar neuron with inputs x1, x2, weights w1, w2, and bias b. Animate the weighted sum z = w1*x1 + w2*x2 + b and the tanh activation a = tanh(z), with a moving dot tracing both curves as inputs change. Include side-by-side plots showing how small ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ScalarNeuronVisualization(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 ScalarNeuronVisualization(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 RL with model-based methods and want a visualization of Bayesian optimization guiding safe exploration. Show a loop where a GP surrogate proposes parameter configurations, each tested in a simulated environment with a safety constraint. Animate multiple iterations with the acquisitio...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np class BayesianOptimizationLecture(VoiceoverScene): def construct(self): # Set up speech service self.set_speech_service( GTTSService(voice="...
```python from manim import * import numpy as np class BayesianOptimizationLecture(Scene): def construct(self): title = Text('Bayesian Optimization', font_size=48, color=BLUE) subtitle = Text('for Safe Exploration', font_size=36, color=YELLOW) subtitle.next_to(title, DOWN) title_gr...
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...
Here is the enhanced animation description that includes all original features plus significant new elements: The enhanced animation begins by displaying the function y = x² at the top of the screen, then smoothly transitions to showing the curve graphed from x=0 to x=2 with the area underneath shaded. As the integral...
```python from manim import * class RiemannIntegral(Scene): def construct(self): # Set up axes axes = Axes( x_range=[0, 2.5, 0.5], y_range=[0, 5, 1], x_length=6, y_length=5, axis_config={"color": BLUE}, ) axes_labels = axes...
```python from manim import * class RiemannIntegral(Scene): def construct(self): # Set up axes axes = Axes(axis_color=BLUE, x_range=[0, 2.5, 0.5], y_range=[0, 5, 1], x_length=6, y_length=5, axis_config={"color": BLUE}, ) a...
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 Manim animation for a Grade 12 Physics lesson on the Biot-Savart Law application. The video should be in 16:9 format. Structure the animation as follows: 1. Title scene: Display "Biot-Savart Law: Practical Application" centered on screen with a physics-themed color scheme. 2. Question introduction: Show the...
```python from manim import * import numpy as np import math class BiotSavartScene(Scene): def construct(self): # --- 1. Title Scene --- # Clear, physics-themed title title = Text("Biot-Savart Law", font_size=54, color="#4a9eff", weight=BOLD) subtitle = Text("Practical Application: ...
```python from manim import * import numpy as np import math class BiotSavartScene(Scene): def construct(self): # --- 1. Title Scene --- # Clear, physics-themed title title = Text("Biot-Savart Law", font_size=54, color="#4a9eff", weight=BOLD) subtitle = Text("Practical Application: ...
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 to illustrate reducing the learning rate when loss spikes, visualized as turning a dial. Build a dashboard with a date-ordered loss plot and a knob that you turn down when spikes occur, plus a short explanation of why smaller steps stabilize descent and how patience-based de...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class LearningRateAdjustment(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class LearningRateAdjustment(Scene): def construct(self): title = Text('Learning Rate Adjustment in ML', font_size=42) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) self.next_section() lr_def = VGroup(Text('Learning Rate (η)...
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 learning how batch statistics are computed for a single feature. Animate computing the batch mean and variance along the batch axis for one feature dimension, showing the formulas mu = (1/m) sum x_i and var = (1/m) sum (x_i - mu)^2, with a running window across the batch.
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class BatchMeanAndVariance(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class BatchMeanAndVariance(Scene): def construct(self): title = Text('Batch Mean and Variance', font_size=36, color=BLUE) title.to_edge(UP) self.play(Write(title), run_time=2.0) self.play(FadeOut(title)) data = [4, 7, 2, 9, 5] data_titl...
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 20-second Manim scene that visualizes latent-space interpolation. Show two endpoint vectors, a curved latent path between them, several intermediate sample panels, and a caption that the representation changes smoothly.
```python from manim import * class LatentSpaceInterpolationPath(Scene): def construct(self): title = Text("Latent Space Interpolation", font_size=36).to_edge(UP) plane = NumberPlane(x_range=[-4, 4, 1], y_range=[-3, 3, 1], x_length=6.5, y_length=4.2, background_line_style={"stroke_opacity": 0.22})....
```python from manim import * class LatentSpaceInterpolationPath(Scene): def construct(self): title = Text("Latent Space Interpolation", font_size=36).to_edge(UP) plane = NumberPlane(x_range=[-4, 4, 1], y_range=[-3, 3, 1], x_length=6.5, y_length=4.2, background_line_style={"stroke_opacity": 0.22})....
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...
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Linear Algebra 2D Matrix Eigenvector Transformation. ```python from manim import * import numpy as np class SciComputeScene124(Scene): def construct(self): plane = NumberPlane(x_range=[-4, 4, 1], y_range=[-3, 3, 1]...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class SciComputeScene124(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_f...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class SciComputeScene124(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_f...
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 animation for a 12th grade Advanced Sociology lesson on social identity and its sociological study. The video should be in 16:9 format and follow this structure: 1. Title screen: Display "Social Identity in Sociology" with a clean, academic font. Hold for 2 seconds. 2. Introduction section: Show the de...
```python from manim import * import numpy as np import random import math class SociologySocialIdentity(Scene): def construct(self): # 1. Title Screen # ----------------------------------------------- title = Text("Social Identity in Sociology", font_size=54, color="#4a9eff") title...
```python from manim import * import numpy as np import random import math class SociologySocialIdentity(Scene): def construct(self): # 1. Title Screen # ----------------------------------------------- title = Text("Social Identity in Sociology", font_size=54, color="#4a9eff") 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...
Create an interactive Manim CE animation demonstrating: Tangent line dynamically tracking curve f(x) = x^2. Use updaters and ValueTracker. ```python from manim import * import numpy as np class DynamicScene971(Scene): def construct(self): ax = Axes(x_range=[-3, 3, 1], y_range=[0, 9, 3], x_length=6, y_leng...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class DynamicScene971(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class DynamicScene971(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac...
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...
Here’s an enhanced version of the animation with additional features and improved flow: The animation begins with the text "Transform" smoothly appearing at the top of the screen, shifting upward to its final position. As the text settles, a square materializes at the center of the screen, its edges crisp and bold. Th...
```python from manim import * class EnhancedTransform(Scene): def construct(self): # Create and animate the title title = Text("Transform").scale(1.5).to_edge(UP) self.play(Write(title)) self.play(title.animate.shift(UP * 0.2), run_time=0.5) # Create square and anim...
```python from manim import * class EnhancedTransform(Scene): def construct(self): # Create and animate the title title = Text("Transform").scale(1.5).to_edge(UP) self.play(Write(title)) self.play(title.animate.shift(UP * 0.2), run_time=0.5) # Create square and anim...
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...
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 ApiValidStreamLines473(Scene): def construct(self): obj = Str...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class ApiValidStreamLines473(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 ApiValidStreamLines473(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...
I'm studying audio models and want to visualize a WaveNet block: input → Dilated Conv → gated tanh/sigmoid path → 1x1 Conv → + Input (residual). Animate time-aligned signals through dilation steps, gating, and the residual merge. Color-code the two branches and highlight how the residual sustains gradients across layer...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class WaveNetBlockVisualization(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 WaveNetBlockVisualization(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 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 * import math class LinearGeneticProgrammingVisualization(Scene): def construct(self): title = Text('Linear Genetic Programming', font_size=48, color=BLUE) subtitle = Text('Where Code Evolves to Solve Problems', font_size=28, color=WHITE) subtitle.next_to(title,...
```python from manim import * import math class LinearGeneticProgrammingVisualization(Scene): def construct(self): title = Text('Linear Genetic Programming', font_size=48, color=BLUE) subtitle = Text('Where Code Evolves to Solve Problems', font_size=28, color=WHITE) subtitle self.p...
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 an undergrad course on representation learning and want to visualize hierarchical feature extraction: low-level (characters) → mid-level (morphology) → high-level (semantics). Show three stacked feature maps evolving through successive layers, with visual cues for each level. Animate transitions from raw i...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService MARGIN = 0.5 class HierarchicalFeatureExtraction(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 HierarchicalFeatureExtraction(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 about activation functions and want a visual intuition for d/dx tanh(x) = 1 - tanh(x)^2. Show the tanh curve and, below it, the derivative as an inverted-parabola shape mapped onto tanh-values. Animate a moving x that drags both curves, highlighting the correspondence between slope and tanh. Include labele...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import math class TanhActivationFunctionScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ...
```python from manim import * import math class TanhActivationFunctionScene(Scene): def construct(self): title = Text('Tanh Activation Function & Its Derivative', font_size=36) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) self.wait(2.0) self.play(FadeOu...
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 learning PyTorch and want to visualize how running statistics get saved into the model state_dict during training. Make a scene that lists keys (e.g., running_mean, running_var) lighting the current key in blue as it updates, with a timeline showing saving at checkpoints. Include a side panel that highlights these ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class PyTorchStateDict(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 PyTorchStateDict(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 learning geometry and want an animation that derives the sum of interior angles of an n-gon. Construct a generic polygon, triangulate it step by step and show that the sum equals (n-2)·180 degrees, with a live counter counting the total angle from triangles. Include a slider for n to demonstrate several cases, high...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SumOfInteriorAnglesOfPolygon(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 SumOfInteriorAnglesOfPolygon(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...
Subject: Graph Theory Topic: Graph Symmetries Question: In what ways does graph symmetry reduction simplify computational problems, such as finding the shortest path or coloring the graph? Title: The Beauty of Graph Symmetries: Unlocking Simplicity Narration: Have you ever marveled at the elegant patterns found in n...
```python from manim import * class GraphSymmetryScene(Scene): def construct(self): # Set blue/teal color palette TEAL_COLOR = "#2ECCB8" BLUE_COLOR = "#1C3D80" # Title title = Text("The Beauty of Graph Symmetries", color=BLUE_COLOR).scale(0.8).to_edge(UP) ...
```python from manim import * class GraphSymmetryScene(Scene): def construct(self): # Set blue/teal color palette TEAL_COLOR = "#2ECCB8" BLUE_COLOR = "#1C3D80" # Title title = Text("The Beauty of Graph Symmetries", color=BLUE_COLOR).scale(0.8).to_edge(UP) ...
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 'Homotopy' (Shape Shifting in Topology: Understanding Homotopy): How can two shapes that look completely different be continuously transformed into each other through homotopy? Visual style guidance: The animation features a flat 2D style with bold outlines and gradient colors...
```python from manim import * class HomotopyExplanation(Scene): def construct(self): # Title of the animation title = Text("Shape Shifting in Topology: Understanding Homotopy", font_size=30) self.play(Write(title)) self.wait(1) self.play(title.animate.to_edge(UP)) ...
```python from manim import * class HomotopyExplanation(Scene): def construct(self): # Title of the animation title = Text("Shape Shifting in Topology: Understanding Homotopy", font_size=30) self.play(Write(title)) self.wait(1) self.play(title.animate) # Int...
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...
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 NLPDevelopmentHistory(Scene): def construct(self): title = Text('Introduction to Natural Language Processing', font_size=36, weight=BOLD) title.to_edge(UP, buff=0.4) subtitle = Text('The Developmen...
```python from manim import * from manim import config Text.set_default(font='SimHei') class NLPDevelopmentHistory(Scene): def construct(self): title = Text('Introduction to Natural Language Processing', font_size=36, weight=BOLD) title subtitle = Text('The Development History of Natural L...
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 16:9 classroom video about Sikkim's integration with India. Start with an introductory title slide showing "Sikkim's Integration with India" with a subtitle "Political Science - Grade 12". Display the question "Who was Kazi Lhendup Dorji Khangsarpa?" centered on the screen, allowing t...
```python from manim import * import numpy as np class SikkimIntegration(Scene): def construct(self): # Set background color self.camera.background_color = "#0f0f0f" # --- Section 1: Introduction --- title = Text("Sikkim's Integration with India", font_size=48, color="#4a9eff") ...
```python from manim import * import numpy as np class SikkimIntegration(Scene): def construct(self): # Set background color self.camera.background_color = "#0f0f0f" # --- Section 1: Introduction --- title = Text("Sikkim's Integration with India", font_size=48, color="#4a9eff") ...
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 educational ManimCE animation on 'Torus Topology' (Topology Unraveled: The Secrets of the Torus): How does the genus of a torus influence its Euler characteristic, and what implications does this have in topology? Visual style guidance: Visual style should be smooth, dynamic, and colorful, resembling an artis...
```python from manim import * class TorusTopology(Scene): def construct(self): # Introduction title = Text("Topology Unraveled: The Secrets of the Torus") self.play(Write(title)) self.wait(1) self.play(title.animate.to_edge(UP)) # Element 1: Torus visualizat...
```python from manim import * class TorusTopology(Scene): def construct(self): # Introduction title = Text("Topology Unraveled: The Secrets of the Torus") self.play(Write(title)) self.wait(1) self.play(title.animate.to_edge(UP)) # Element 1: Torus visualizat...
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...
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 * class SequenceModelsReceptiveFieldVisualization(Scene): def construct(self): title = Text('Sequence Models: Receptive Field', font_size=36) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) n_inputs = 8 input_squares = VGroup(*[...
```python from manim import * class SequenceModelsReceptiveFieldVisualization(Scene): def construct(self): title = Text('Sequence Models: Receptive Field', font_size=36) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) n_inputs = 8 input_squares = VGroup(*[...
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 * from manim import config Text.set_default(font='SimH...
```python from manim import * from manim import config Text.set_default(font='SimHei') class NetworkSecurity(Scene): def construct(self): title = Text('TLS Handshake & VPN Tunnels', font_size=34, color=WHITE, weight=BOLD) title.to_edge(UP, buff=0.5) title_line = Line(LEFT, RIGHT, color=ORA...
```python from manim import * from manim import config Text.set_default(font='SimHei') class NetworkSecurity(Scene): def construct(self): title = Text('TLS Handshake & VPN Tunnels', font_size=34, color=WHITE, weight=BOLD) title title_line = Line(LEFT, RIGHT, color=ORANGE) title_lin...
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...
Develop a Manim animation to explain the concept of symmetry. Choose pentagon, illustrate its axis of symmetry, and demonstrate how symmetry affects the figure.
```python from manim import * class SymmetryExplanationPentagon(Scene): def construct(self): # Title title = Text("Symmetry Explanation", font_size=24, color=YELLOW).to_edge(UP) self.play(Write(title)) self.wait(1) # Step 1: Create a regular pentagon pentagon = Regu...
```python from manim import * class SymmetryExplanationPentagon(Scene): def construct(self): # Title title = Text("Symmetry Explanation", font_size=24, color=YELLOW) self.play(Write(title)) self.wait(1) # Step 1: Create a regular pentagon pentagon = RegularPolygon(n...
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 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 PedagogicalScene306(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 ...
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 and want to animate a conv2d operation on a small image, showing the kernel sliding and the dot product lighting up the output pixel. Use a tiny input grid, a 2D kernel, and illuminate the elementwise products as they sum to the output. Extend to a couple of positions, discuss padding/s...
```python from manim import * class ConvolutionalNeuralNetworksBasics(Scene): def construct(self): title = Text('Convolutional Neural Networks', font_size=48, color=BLUE) subtitle = Text('Basics', font_size=32, color=GRAY) title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3) ...
```python from manim import * class ConvolutionalNeuralNetworksBasics(Scene): def construct(self): title = Text('Convolutional Neural Networks', font_size=48, color=BLUE) subtitle = Text('Basics', font_size=32, color=GRAY) title_group = VGroup(title, subtitle).arrange(DOWN, buff=0.3) ...
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 ModularDevelopment(Scene): def construct(self): title = Text('Modular Development', font_size=34, color=WHITE, weight=BOLD) title.to_edge(UP, buff=0.5) title_line = Line(LEFT, RIGHT, color=ORANGE)....
```python from manim import * from manim import config Text.set_default(font='SimHei') class ModularDevelopment(Scene): def construct(self): title = Text('Modular Development', font_size=34, color=WHITE, weight=BOLD) title title_line = Line(LEFT, RIGHT, color=ORANGE) title_line.mat...
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 educational ManimCE animation on 'Modular Arithmetic' (Dancing to Modular Melodies: Patterns in Arithmetic): What patterns emerge from performing consecutive modular operations using different moduli? Visual style guidance: A smooth blend of 3D graphics with a pastel color palette, featuring rotating geometri...
```python from manim import * class ModularArithmeticPatterns(Scene): def construct(self): # Introduction title = Text("Dancing to Modular Melodies") subtitle = Text("Patterns in Arithmetic").scale(0.8).next_to(title, DOWN) self.play(Write(title)) self.play(Write(su...
```python from manim import * class ModularArithmeticPatterns(Scene): def construct(self): # Introduction title = Text("Dancing to Modular Melodies") subtitle = Text("Patterns in Arithmetic").scale(0.8) self.play(Write(title)) self.play(Write(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...
Write a Manim CE visualization using scientific Python libraries (numpy, scipy, sympy) for: Linear Algebra 2D Matrix Eigenvector Transformation. ```python from manim import * import numpy as np class SciComputeScene548(Scene): def construct(self): plane = NumberPlane(x_range=[-4, 4, 1], y_range=[-3, 3, 1]...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class EigenvectorTransformScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_wid...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class EigenvectorTransformScene2(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_wid...
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...
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 IntrinsicDimension(Scene): def construct(self): title = Text('Determining Intrinsic Dimension', font_size=34, color=WHITE, weight=BOLD) title.to_edge(UP, buff=0.5) title_line = Line(LEFT, RIGHT, co...
```python from manim import * from manim import config Text.set_default(font='SimHei') class IntrinsicDimension(Scene): def construct(self): title = Text('Determining Intrinsic Dimension', font_size=34, color=WHITE, weight=BOLD) title.to_edge(UP, buff=0.5) title_line = Line(LEFT, RIGHT, co...
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 course on model introspection and want a visualization of the parameter iterator that yields all trainable tensors. Display a stream of labeled tensors for each layer and highlight the current parameter group as the iterator advances. Include a side panel with shapes, names, and requires_grad ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ParameterIteratorScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class ParameterIteratorScene(Scene): def construct(self): title = Text('Model Introspection Parameter Iterator', font_size=40, color=BLUE) subtitle = Text('Understanding AI Model Parameters', font_size=28, color=GRAY) subtitle.next_to(title, DOWN, buff=0.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...
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 PedagogicalScene177(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 PedagogicalScene177(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 PedagogicalScene177(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 learning about multimodal instruction-following models and want to see how InstructBLIP interprets and follows complex prompts. Create scenes that show input prompts, model reasoning steps, and the resulting image/text outputs. Include failures and corrections with attention highlights, and a timeline of accuracy a...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class MultimodalInstructionFollowingModels(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ...
```python from manim import * class MultimodalInstructionFollowingModels(Scene): def construct(self): title = Text('Multimodal Instruction Following Models', font_size=36) subtitle = Text('Understanding AI Beyond Text', font_size=24, color=BLUE_B) header = VGroup(title, subtitle).arrange(D...
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 TangentLine 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 ApiValidTangentLine297(Scene): def construct(self): obj = Tan...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class ApiValidTangentLine297(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 ApiValidTangentLine297(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...
Create a Manim animation for an advanced 11th grade physics lesson on surface tension, specifically demonstrating how water striders can walk on water. Start with a title screen showing "Surface Tension: Water Striders" in clean, large text. Below it, display the learning question: "What is an example of a phenomenon ...
```python from manim import * import numpy as np import math import random class WaterStriderScene(Scene): def construct(self): # --- Config & Setup --- # Audio timing simulation # Total duration roughly 90s # Colors C_BG = "#0f0f0f" C_TEXT = "#d4d4d4" ...
```python from manim import * import numpy as np import math import random class WaterStriderScene(Scene): def construct(self): # --- Config & Setup --- # Audio timing simulation # Total duration roughly 90s # Colors C_BG = "#0f0f0f" C_TEXT = "#d4d4d4" ...
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 studying sequence-to-sequence training. Animate teacher forcing by showing ground-truth tokens fed into the decoder with green arrows during training, contrasted with model predictions during inference shown as blue arrows. Include a timeline split, with a side-by-side comparison and a caption explaining the traini...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class TeacherForcingScene(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 TeacherForcingScene(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...
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 CoqLectureNotes(Scene): def construct(self): title = Text('Integer Arithmetic & Functions', font_size=40, weight=BOLD, color=BLUE) title.to_edge(UP) self.play(Write(title)) nia_title = Text...
```python from manim import * from manim import config Text.set_default(font='SimHei') class CoqLectureNotes(Scene): def construct(self): title = Text('Integer Arithmetic & Functions', font_size=40, weight=BOLD, color=BLUE) title self.play(Write(title)) nia_title = Text('The nia Co...
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 educational animation video (16:9 format) for a 12th grade sociology class explaining the concept of dominant castes in rural society. Structure the video as follows: 1. Opening Scene: Display the title "Dominant Castes in Rural Society" in large, clear text centered on the screen with a subtle background co...
```python from manim import * import numpy as np class DominantCasteSociology(Scene): def construct(self): # --- Config & Colors --- self.camera.background_color = "#0f0f0f" c_text_main = "#d4d4d4" c_accent_blue = "#4a9eff" c_accent_green = "#6ba76e" c_accen...
```python from manim import * import numpy as np class DominantCasteSociology(Scene): def construct(self): # --- Config & Colors --- self.camera.background_color = "#0f0f0f" c_text_main = "#d4d4d4" c_accent_blue = "#4a9eff" c_accent_green = "#6ba76e" c_accen...
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 is the enhanced animation instruction that includes all original features plus significant new visual elements: The enhanced animation begins by displaying the integral problem ∫₁³ x² dx at the center of the screen while simultaneously graphing the parabola y = x² in the background with labeled axes from x=0 to x...
```python from manim import * class EnhancedIntegralAnimation(Scene): def construct(self): # Colors INTEGRAL_COLOR = YELLOW AREA_COLOR = BLUE_E TEXT_COLOR = WHITE UPPER_BOUND_COLOR = BLUE LOWER_BOUND_COLOR = RED RESULT_COLOR = PURPLE # Create axes an...
```python from manim import * class EnhancedIntegralAnimation(Scene): def construct(self): # Colors INTEGRAL_COLOR = YELLOW AREA_COLOR = BLUE_E TEXT_COLOR = WHITE UPPER_BOUND_COLOR = BLUE LOWER_BOUND_COLOR = RED RESULT_COLOR = PURPLE # Create axes an...
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 differential equations and want to explore slope fields for dy/dx = x + y. Build a dense slope-field and overlay several integral curves from different initial conditions, then derive the exact solution y = Ce^x − x − 1 and verify it on the plot. Include interactive steps showing how small changes in initi...
```python import math import numpy as np from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SlopeFieldIntegralCurvesScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="v...
```python import math import numpy as np from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class SlopeFieldIntegralCurvesScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="v...
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 PedagogicalScene960(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 PedagogicalScene960(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 PedagogicalScene960(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_...
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 a graduate course on deep learning and want a toggle between model.train() and model.eval(), highlighting BN behavior: batch statistics in train and running statistics in eval. Visualize a small network with BatchNorm, animate batch mean/var versus running mean/var, and show how outputs differ when switchi...
```python from manim import * import numpy as np class BatchNormBehaviorVisualization(Scene): def construct(self): title = Text('Batch Normalization', font_size=48, color=BLUE) subtitle = Text('Stabilizing Deep Neural Networks', font_size=28, color=GRAY) title_group = VGroup(title, subtitl...
```python from manim import * import numpy as np class BatchNormBehaviorVisualization(Scene): def construct(self): title = Text('Batch Normalization', font_size=48, color=BLUE) subtitle = Text('Stabilizing Deep Neural Networks', font_size=28, color=GRAY) title_group = VGroup(title, subtitl...
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 'Perfect Numbers' (The Fractal Nature of Perfect Numbers): Can we represent perfect numbers using a fractal pattern arising from their proper divisors? Visual style guidance: Adopt a 3Blue1Brown style with smooth transitions, a mix of deep blues and vibrant yellows for number ...
```python from manim import * class PerfectNumbersFractal(Scene): def construct(self): # Colors - using 3Blue1Brown style colors BLUE_DEEP = "#0C2D48" YELLOW_VIBRANT = "#FFCB47" # Introduction title = Text("The Fractal Nature of Perfect Numbers", color=BLUE_DEEP) ...
```python from manim import * class PerfectNumbersFractal(Scene): def construct(self): # Colors - using 3Blue1Brown style colors BLUE_DEEP = "#0C2D48" YELLOW_VIBRANT = "#FFCB47" # Introduction title = Text("The Fractal Nature of Perfect Numbers", color=BLUE_DEEP) ...
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...
Create a 10-second Manim scene where a dot travels along a curved path while a live-updating line stays attached to it. Make the scene clearly about the motion animation itself.
```python from manim import * class MoveAlongPathWithLink(Scene): def construct(self): title = Text("MoveAlongPath with an Updater", font_size=34).to_edge(UP) dot = Dot(LEFT * 4 + DOWN * 1.3, color=ORANGE, radius=0.1) path = VMobject(color=BLUE_D) path.set_points_smoothly([LEFT * 4 ...
```python from manim import * class MoveAlongPathWithLink(Scene): def construct(self): title = Text("MoveAlongPath with an Updater", font_size=34).to_edge(UP) dot = Dot(LEFT * 4 + DOWN * 1.3, color=ORANGE, radius=0.1) path = VMobject(color=BLUE_D) path.set_points_smoothly([LEFT * 4 ...
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 teaching a geometry lab for undergrads and want a step-by-step Euclidean construction of an equilateral triangle given a segment. Animate compass-and-straightedge style: draw circles with radius AB centered at A and B, locate the intersection as the third vertex, and prove the sides are equal with congruent radii. ...
```python from manim import * class EquilateralTriangleConstruction(Scene): def construct(self): title = Text('Euclidean Construction: Equilateral Triangle', font_size=36) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) point_a = Dot(LEFT * 2, color=BLUE) ...
```python from manim import * class EquilateralTriangleConstruction(Scene): def construct(self): title = Text('Euclidean Construction: Equilateral Triangle', font_size=36) title self.play(Write(title), run_time=2.0) point_a = Dot(LEFT * 2, color=BLUE) point_b = Dot(RIGHT * ...
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 undergrads and want a vivid visualization of a live training dashboard. Show four panels: Loss (top-left), LR (top-right), Accuracy (bottom-left), and Gradient Norms (bottom-right), updating in real time. Use smooth transitions, synchronized time axis, and color cues to highlight spikes or trends. Include ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class RealTimeTrainingDashboardScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class RealTimeTrainingDashboardScene(Scene): def construct(self): title = Text('Real-Time Training Dashboard', font_size=36, color=BLUE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) dashboard = RoundedRectangle(width=12, height=6.5...
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 macroeconomics lesson on value addition. The video should be in 16:9 aspect ratio and follow a classroom-style flow. Start with the title "Macroeconomics and Value Addition" displayed prominently at the top. Below it, show the main question: "What is the primary focus of macroec...
```python from manim import * import numpy as np class MacroeconomicsValueAddition(Scene): def construct(self): # 1. Setup Theme & Layout self.camera.background_color = "#0f0f0f" # Colors C_PRIMARY = "#d4d4d4" C_ACCENT_1 = "#e8945e" # Orange for Wheat/Bread theme ...
```python from manim import * import numpy as np class MacroeconomicsValueAddition(Scene): def construct(self): # 1. Setup Theme & Layout self.camera.background_color = "#0f0f0f" # Colors C_PRIMARY = "#d4d4d4" C_ACCENT_1 = "#e8945e" # Orange for Wheat/Bread theme ...
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 convolutional receptive fields and want to visualize how the receptive field grows with depth like a binary tree. Show two leaves starting at a base input and progressively merging to larger regions as depth increases, with the field illustrated as colored cones. Include an animation of dilation stepping a...
```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")) ...
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 learning geometry and want an animation that derives the sum of interior angles of an n-gon. Construct a generic polygon, triangulate it step by step and show that the sum equals (n-2)·180 degrees, with a live counter counting the total angle from triangles. Include a slider for n to demonstrate several cases, high...
```python from manim import * class SumOfInteriorAnglesOfPolygon(Scene): def construct(self): title = Text('Sum of Interior Angles of Polygons', font_size=42) title.to_edge(UP, buff=0.4) self.play(Write(title), run_time=2.0) tri = Polygon([-1.5, -1, 0], [1.5, -1, 0], [0, 1.2, 0], c...
```python from manim import * class SumOfInteriorAnglesOfPolygon(Scene): def construct(self): title = Text('Sum of Interior Angles of Polygons', font_size=42) title.to_edge(UP, buff=0.4) self.play(Write(title), run_time=2.0) tri = Polygon([-1.5, -1, 0], [1.5, -1, 0], [0, 1.2, 0], c...
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 automatic differentiation and want a compute graph for a small expression I can gradient-check. Visualize the nodes and edges, and prompt me to trace the gradients by hand, then reveal the correct gradient values with a color fade. Include a few intermediate scalars and a final scalar to compare my trace a...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class AutomaticDifferentiation(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class AutomaticDifferentiation(Scene): def construct(self): title = Text('Automatic Differentiation', font_size=48, color=BLUE) subtitle = Text('via Compute Graphs', font_size=32, color=GRAY) subtitle.next_to(title, DOWN) self.play(Write(title), Write(...
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 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 * class SkipConnectionsScene(Scene): def construct(self): title = Text('Skip Connections in Deep Learning', font_size=48, color=BLUE) subtitle = Text('Understanding ResNet Architecture', font_size=32, color=WHITE) self.play(Write(title), run_time=2.0 * 0.6) ...
```python from manim import * class SkipConnectionsScene(Scene): def construct(self): title = Text('Skip Connections in Deep Learning', font_size=48, color=BLUE) subtitle = Text('Understanding ResNet Architecture', font_size=32, color=WHITE) self.play(Write(title), run_time=2.0 * 0.6) ...
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 interactive Manim CE animation demonstrating: Riemann Rectangles adapting dynamically with ValueTracker. Use updaters and ValueTracker. ```python from manim import * import numpy as np class DynamicScene382(Scene): def construct(self): ax = Axes(x_range=[0, 4, 1], y_range=[0, 5, 1], x_length=6, ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class DynamicScene382(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService import numpy as np MARGIN = 0.5 class DynamicScene382(VoiceoverScene): def fit_in_frame(self, mob: Mobject, w_frac=0.9, h_frac=0.9) -> Mobject: max_w = config.frame_width * w_frac...
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...
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 PedagogicalScene408(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 GradientDescent2DScene(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 GradientDescent2DScene(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 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 * 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") ) ...
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 deep learning and want a heatmap visualization of the gradient matrix for a linear layer. Animate the gradient values as a heatmap, showing which weights receive the largest updates during backprop, with color intensity. Include a mini-loop over training steps to show how the gradient pattern evolves, mayb...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class GradientVisualizationScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class GradientVisualizationScene(Scene): def construct(self): title = Text('Gradient Visualization for Linear Layer', font_size=36) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) eq_title = Text('Linear Layer Forward Pass:', font_siz...
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 an NLP demo to undergrads. Show a generated text string typed out character by character, with a glowing cursor whose brightness encodes the probability of the next character. Include a small probability distribution bar for top candidates that updates as each character is typed, and a brief note about sam...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class NLPTextGenerationStrategies(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class NLPTextGenerationStrategies(Scene): def construct(self): title = Text('NLP Text Generation Strategies', font_size=48, color=BLUE) subtitle = Text('From Markov Chains to Transformers', font_size=28, color=GRAY) subtitle.next_to(title, DOWN, buff=0.5) ...
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 an undergrad course and want to animate a conv2d operation on a small image, showing the kernel sliding and the dot product lighting up the output pixel. Use a tiny input grid, a 2D kernel, and illuminate the elementwise products as they sum to the output. Extend to a couple of positions, discuss padding/s...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ConvolutionalNeuralNetworksBasics(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 ConvolutionalNeuralNetworksBasics(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...
Create an educational ManimCE animation on 'Compact Spaces' (From Discrete Points to Compact Spaces: A Journey in Topology): What unique transformations occur when a space with a discrete topology transitions into a compact space under a topology change? Visual style guidance: Utilize a dark, calming color palette with...
```python from manim import * class CompactSpacesAnimation(Scene): def construct(self): # Set background color to dark blue (starry night feel) self.camera.background_color = "#0C1445" # Title title = Text("From Discrete Points to Compact Spaces", font_size=36, color=WHITE)...
```python from manim import * class CompactSpacesAnimation(Scene): def construct(self): # Set background color to dark blue (starry night feel) self.camera.background_color = "#0C1445" # Title title = Text("From Discrete Points to Compact Spaces", font_size=36, color=WHITE)...
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...
I'm learning calculus-inspired DL and want a hand-derivation animation for a simple loss with a 2x3 weight matrix W. Show the forward pass giving a scalar loss, then animate dL/dW element by element, highlighting each partial derivative. Include a grid of W with coordinates, and a vectorized view of the gradient update...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class CalculusInspiredDeepLearning(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 CalculusInspiredDeepLearning(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 a course on ranking methods and want to visualize how pairwise and listwise losses shape a scoring model. Animate a small item set, compute pairwise hinge or logistic losses, then show gradients updating a scoring function. Extend to listwise losses like NDCG-based loss, displaying how optimizing one list ...
```python from manim import * from manim_voiceover import VoiceoverScene from manim_voiceover.services.gtts import GTTSService class ListwiseLossScene(VoiceoverScene): def construct(self): self.set_speech_service( GTTSService(voice="alba", cache_dir="voiceover_cache") ) ...
```python from manim import * class ListwiseLossScene(Scene): def construct(self): title = Text('Listwise Loss', font_size=48, color=PURPLE) title.to_edge(UP, buff=0.5) self.play(Write(title), run_time=2.0) self.wait(0.3) context = Text('Ranking: Order the entire list optim...
narrated_pedagogical_preference
nabin2004/manim-narrated-dpo-400