Skip to content

Parallel MicroSim Generation Report

Date: 2026-02-03 Batch: Chapters 4, 5, and 6 Diagram MicroSims Total MicroSims Generated: 13

Executive Summary

This report documents the parallel generation of 13 MicroSims extracted from the #### Diagram specifications in Chapters 4 (Continuity), 5 (Asymptotes and End Behavior), and 6 (The Derivative Concept). All 13 agents ran concurrently, demonstrating significant time savings compared to sequential generation.

Key Metrics

Metric Value
Total MicroSims 13
Parallel Agents 13
Batch Start Time 2026-02-03 22:00:14
Batch End Time 2026-02-03 22:03:50
Total Elapsed Time 3 minutes 36 seconds
Sum of Individual Times 38 minutes 39 seconds
Parallelization Speedup ~10.7x
Total Tokens Used ~922,000 tokens

Timing Details by MicroSim

Completion Order (Fastest to Slowest)

Rank MicroSim Chapter Start End Duration Tokens
1 derivative-interpretation Ch 6 22:00:15 22:02:32 2:17 ~63,100
2 vertical-asymptote Ch 5 22:00:15 22:02:45 2:30 ~67,200
3 secant-to-tangent Ch 6 22:00:15 22:02:52 2:37 ~66,600
4 average-rate-change Ch 6 22:00:15 22:02:57 2:42 ~67,400
5 end-behavior Ch 5 22:00:15 22:03:03 2:48 ~65,400
6 tangent-line-calculator Ch 6 22:00:15 22:03:09 2:54 ~71,600
7 piecewise-continuity Ch 4 22:00:15 22:03:14 2:59 ~78,000
8 asymptote-types Ch 5 22:00:15 22:03:20 3:05 ~73,800
9 function-derivative-comparison Ch 6 22:00:15 22:03:27 3:12 ~84,200
10 continuity-conditions Ch 4 22:00:14 22:03:30 3:16 ~75,600
11 growth-rates Ch 5 22:00:15 22:03:34 3:19 ~74,000
12 ivt-visualization Ch 4 22:00:15 22:03:40 3:25 ~78,500
13 discontinuity-types Ch 4 22:00:15 22:03:50 3:35 ~74,500

By Chapter

Chapter 4: Continuity (4 MicroSims)

MicroSim Bloom Level Duration Tokens
continuity-conditions Understand (L2) 3:16 ~75,600
discontinuity-types Analyze (L4) 3:35 ~74,500
piecewise-continuity Apply (L3) 2:59 ~78,000
ivt-visualization Understand (L2) 3:25 ~78,500
Subtotal 13:15 ~306,600

Chapter 5: Asymptotes and End Behavior (4 MicroSims)

MicroSim Bloom Level Duration Tokens
vertical-asymptote Understand (L2) 2:30 ~67,200
asymptote-types Analyze (L4) 3:05 ~73,800
end-behavior Analyze (L4) 2:48 ~65,400
growth-rates Evaluate (L5) 3:19 ~74,000
Subtotal 11:42 ~280,400

Chapter 6: The Derivative Concept (5 MicroSims)

MicroSim Bloom Level Duration Tokens
average-rate-change Apply (L3) 2:42 ~67,400
secant-to-tangent Understand (L2) 2:37 ~66,600
function-derivative-comparison Analyze (L4) 3:12 ~84,200
derivative-interpretation Understand (L2) 2:17 ~63,100
tangent-line-calculator Apply (L3) 2:54 ~71,600
Subtotal 13:42 ~352,900

Parallelization Analysis

Time Savings

1
2
3
4
5
Sequential execution (sum of all durations): 38 min 39 sec
Parallel execution (wall clock time):         3 min 36 sec
─────────────────────────────────────────────────────────
Time saved:                                  35 min 3 sec
Speedup factor:                              10.7x

Gantt Chart (Approximate)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
22:00:14 ─────────────────────────────────────────────── 22:03:50
         |                                              |
         ├─ continuity-conditions ████████████████████──┤ 3:16
         ├─ discontinuity-types   █████████████████████─┤ 3:35
         ├─ piecewise-continuity  ███████████████───────┤ 2:59
         ├─ ivt-visualization     ██████████████████────┤ 3:25
         ├─ vertical-asymptote    ████████████──────────┤ 2:30
         ├─ asymptote-types       ███████████████───────┤ 3:05
         ├─ end-behavior          █████████████─────────┤ 2:48
         ├─ growth-rates          █████████████████─────┤ 3:19
         ├─ average-rate-change   █████████████─────────┤ 2:42
         ├─ secant-to-tangent     ████████████──────────┤ 2:37
         ├─ func-deriv-comparison ████████████████──────┤ 3:12
         ├─ derivative-interp     ██████████────────────┤ 2:17
         └─ tangent-line-calc     ██████████████────────┤ 2:54

Token Usage Summary

Category Tokens
Chapter 4 MicroSims ~306,600
Chapter 5 MicroSims ~280,400
Chapter 6 MicroSims ~352,900
Total ~939,900

Average Tokens per MicroSim

  • Mean: ~72,300 tokens
  • Min: ~63,100 tokens (derivative-interpretation)
  • Max: ~84,200 tokens (function-derivative-comparison)

Files Generated

Each MicroSim generated the following files:

1
2
3
4
5
docs/sims/{microsim-name}/
├── {microsim-name}.js    # Main p5.js JavaScript
├── main.html             # Standalone HTML shell
├── index.md              # MkDocs documentation page
└── metadata.json         # Dublin Core metadata

Additionally, mkdocs.yml was updated with navigation entries for all 13 MicroSims.

Generation Process

Methodology

  1. Extraction: Identified all #### Diagram sections in chapters 4, 5, and 6
  2. Specification Parsing: Extracted full specifications from <details> elements
  3. Parallel Launch: Spawned 13 background Task agents simultaneously
  4. Logging: Each agent recorded precise start/end timestamps to logs/{microsim-name}.md
  5. Skill Invocation: Each agent ran the /microsim-generator skill with the full specification

Agent Configuration

  • Agent Type: general-purpose
  • Execution Mode: Background (run_in_background: true)
  • Skill Used: microsim-generator

Quality Notes

All MicroSims were generated following project standards:

  • Canvas-based controls (no p5.js DOM functions per CLAUDE.md)
  • Responsive width design
  • Complete lesson plans in index.md
  • Dublin Core metadata for discoverability
  • Delta mascot integration where appropriate

Recommendations for Future Batches

  1. Optimal Batch Size: 13 parallel agents worked well; consider testing up to 20
  2. Token Budget: Plan for ~70,000-85,000 tokens per MicroSim
  3. Time Estimate: Expect 2:30-3:30 per MicroSim when running in parallel
  4. Wall Clock Time: For N MicroSims, expect ~3-4 minutes total (parallel execution)

Next Steps

  1. Capture screenshots for social media previews:

    1
    2
    3
    4
    5
    6
    7
    for sim in continuity-conditions discontinuity-types piecewise-continuity \
               ivt-visualization vertical-asymptote asymptote-types end-behavior \
               growth-rates average-rate-change secant-to-tangent \
               function-derivative-comparison derivative-interpretation \
               tangent-line-calculator; do
      ~/.local/bin/bk-capture-screenshot /Users/dan/Documents/ws/calculus/docs/sims/$sim
    done
    

  2. Test all MicroSims locally at http://127.0.0.1:8000/calculus/sims/{microsim-name}/

  3. Verify each MicroSim works in the p5.js editor for student editing


Report generated: 2026-02-03 22:05