Skip to content

Models Library Statistics

Connor Bain edited this page Nov 18, 2020 · 1 revision

Generating Stats about the Models Library

sbt runMain org.nlogo.Stats

This generates a histogram of prim usage across all Sample Models. We try to update the copy of this png in the repo on each major Models Library release.

You can also generate a "text" histogram of model lengths by running this Scala script:

scala -nc bin/ModelLengths.scala

This has to be manually updated, but here's the histogram as of e35ce19:

850-874 = * (1)
825-849 =  (0)
800-824 = * (1)
775-799 = ** (2)
750-774 =  (0)
725-749 =  (0)
700-724 =  (0)
675-699 = * (1)
650-674 =  (0)
625-649 = ** (2)
600-624 =  (0)
575-599 = * (1)
550-574 = * (1)
525-549 = ***** (5)
500-524 = * (1)
475-499 = ** (2)
450-474 =  (0)
425-449 = ** (2)
400-424 = ***** (5)
375-399 = **** (4)
350-374 = ****** (6)
325-349 = ********* (9)
300-324 = ***** (5)
275-299 = ******** (8)
250-274 = **************** (16)
225-249 = ******************** (20)
200-224 = **************** (16)
175-199 = ************************* (25)
150-174 = ********************* (21)
125-149 = ****************************** (30)
100-124 = ***************************************** (41)
 75- 99 = ******************************************************************** (68)
 50- 74 = *************************************************************************************************** (99)
 25- 49 = ************************************************************************************************************************************** (134)
  0- 24 = ********************************************************************************** (82)

And the ranking of models by number of lines of code:

 868 Polling Advanced HubNet
 806 PNoM 5 Virtual Syringe Temperature Graph
 799 PNoM 4 Virtual Syringe Force Graph
 785 Bird Breeders HubNet
 687 DNA Protein Synthesis
 634 PNoM 3 Virtual Syringe
 630 Fish Tank Genetic Drift
 590 DNA Replication Fork
 572 PNoM 7 Particle Sandbox Intermolecular Forces
 530 PNoM 6 Particle Sandbox Gravity
 530 Bird Breeder
 528 PNoM 1 Diffusion Sandbox
 528 Urban Suite - Tijuana Bordertowns
 527 Gridlock Alternate HubNet
 516 Fish Spotters HubNet
 488 Artificial Anasazi
 480 Repressilator 1D
 444 Function HubNet
 439 Critter Designers HubNet
 423 PNoM 2 Diffusion Sensor Sandbox
 418 Restaurants HubNet
 412 GasLab Two Gas 3D.nlogo3d
 404 Prisoners Dilemma HubNet
 403 Connected Chemistry 8 Gas Particle Sandbox
 392 Bug Hunters Adaptations HubNet
 386 Frogger
 386 GenEvo 1 Genetic Switch
 375 Dislocation Motion and Deformation
 373 Ant Adaptation
 368 Connected Chemistry 7 Ideal Gas Law
 366 Oil Cartel HubNet
 359 Bug Hunt Predators and Invasive Species - Two Regions
 352 BeeSmart HubNet
 352 4 Block Two Stalagmites
 347 Bug Hunt Environmental Changes
 339 Bug Hunt Coevolution
 332 Bacteria Food Hunt
 332 Guppy Spots HubNet
 328 BeeSmart Hive Finding
 327 Connected Chemistry Reversible Reaction
 327 Bug Hunt Disruptions
 325 Connected Chemistry Rusting Reaction
 325 Minority Game HubNet
 322 Tragedy of the Commons HubNet
 318 Random Combinations and Permutations
 317 Gridlock HubNet
 304 Oil Cartel Alternate HubNet
 300 Connected Chemistry 5 Temperature and Pressure
 296 Disease Doctors HubNet
 294 Connected Chemistry 6 Volume and Pressure
 282 GasLabNew Benchmark
 282 Root Beer Game HubNet
 278 Predator Prey Game HubNet
 276 Disease With Android Avoidance HubNet
 275 Current in a Wire HubNet
 275 GasLab Single Collision 3D.nlogo3d
 274 4 Block Stalagmites
 271 Braess Paradox
 270 Robby the Robot
 269 Walking HubNet
 268 GasLab With Sound
 266 Disease HubNet
 265 GasLab Free Gas 3D.nlogo3d
 264 Bug Hunt Predators and Invasive Species
 262 Synthetic Biology - Genetic Switch
 262 GasLab Moving Piston
 261 Pac-Man
 261 MTG 3 Feedback Loop HubNet
 261 Connected Chemistry 3 Circular Particles
 261 Expected Value Advanced
 255 Bug Hunters Competition HubNet
 253 Fruit Wars
 247 GasLabCirc Benchmark
 246 Bidding Market
 246 Plant Hybridization
 246 Traffic Grid Goal
 239 Sampler Solo
 238 epiDEM Travel and Control
 237 CRISPR Bacterium LevelSpace
 235 Ethnocentrism
 235 Ethnocentrism - Alternative Visualization
 235 Connected Chemistry Gas Combustion
 234 Lightning
 234 GenJam - Duple
 233 GasLab Circular Particles
 232 GasLab Adiabatic Piston
 232 Lattice Land - Explore
 229 Read Long List Test
 228 GasLab Isothermal Piston
 226 Polling HubNet
 225 CRISPR Bacterium
 225 Bacterial Infection
 223 Connected Chemistry 4 Number and Pressure
 222 Osmotic Pressure
 219 GasLabOld Benchmark
 210 GasLab Heat Box
 209 Geometron Top-Down
 208 MTG 2 Random Assignment HubNet
 206 Autumn
 205 Connected Chemistry 2 Changing Pressure
 204 Urban Suite - Economic Disparity
 203 Continental Divide
 202 Traffic Grid
 202 Tetris
 202 Connected Chemistry Solid Combustion
 202 PD N-Person Iterated
 202 CRISPR Ecosystem
 201 Anisogamy
 197 Sampler HubNet
 196 CRISPR Ecosystem LevelSpace
 195 Signaling Game
 194 MTG 1 Equal Opportunities HubNet
 192 Wealth Benchmark
 191 Plant Speciation
 189 Artificial Neural Net - Perceptron
 189 Expected Value
 188 Shuffle Board
 188 Chaos in a Box
 187 Bug Hunters Camouflage HubNet
 186 Small Worlds
 185 PANDA BEAR HubNet
 184 GasLab Pressure Box
 182 Histo Blocks
 181 Natural Selection - Camouflage
 181 GasLab Second Law
 180 Sex Ratio Equilibrium
 178 Dice Stalagmite HubNet
 176 N-Bodies
 176 Lattice Land - Triangles Dissection
 176 GasLab Gravity Box
 175 NW General Examples
 175 Connected Chemistry Atmosphere
 175 Bug Hunt Consumers
 174 Equidistant Probability
 172 Blood Sugar Regulation
 171 GasLab Atmosphere
 170 GasLab Maxwells Demon
 166 CA1D Benchmark
 165 Sample Stalagmite
 164 GasLab Two Gas
 163 Flocking 3D Alternate.nlogo3d
 161 HIV
 161 ProbLab Genetics
 159 Pac-Man Level Editor
 158 Fairy Circles
 156 Hydrogen Diffusion 3D.nlogo3d
 155 Sound Machines
 155 GIS General Examples
 154 GasLab Gas in a Box
 153 Bug Hunt Camouflage
 152 ANN Benchmark
 151 Piaget-Vygotsky Game
 151 CA 1D Elementary
 150 Language Change
 147 GasLab Gas in a Box (Perspective Demo)
 147 GasLab Single Collision
 146 Central Limit Theorem
 145 Ants Benchmark
 144 Echo
 144 Climate Change
 142 Wealth Distribution
 141 Bacteria Hunt Speeds
 140 Public Good HubNet
 139 PageRank
 139 Team Benchmark
 138 Reactor X-Section
 138 Diprotic Acid
 137 Binomial Rabbits
 137 Random Basic Advanced
 136 Cash Flow
 135 Vision Evolution
 135 Bank Reserves
 134 Traffic 2 Lanes
 134 3D Solids
 133 Memory HubNet
 131 Matrix Example
 130 Optical Illusions
 130 Dining Philosophers
 129 GenEvo 4 Competition
 127 MaterialSim Grain Growth
 126 Connected Chemistry 1 Bike Tire
 126 Virus - Alternative Visualization
 125 Flocking - Alternative Visualizations
 125 GasLab Free Gas
 124 Artificial Neural Net - Multilayer
 122 Plant Growth
 122 Pursuit
 121 Bug Hunt Drift
 121 Rugby
 119 Minority Game
 118 Scatter
 118 CA Stochastic
 118 Merge Sort
 117 Dice
 117 Speakers
 117 Surface Walking 3D.nlogo3d
 116 L-System Fractals
 116 Wolf Sheep Stride Inheritance
 114 Peppered Moths
 114 Sandpile
 113 Daisyworld
 111 Ticket Sales
 110 Heat Diffusion - Alternative Visualization
 110 Mendelian Inheritance
 110 Division
 110 GenEvo 3 Genetic Drift and Natural Selection
 109 Dice Stalagmite
 109 Enzyme Kinetics
 108 Sugarscape 3 Wealth Distribution
 108 Investments HubNet
 108 Team Assembly
 108 Lennard-Jones
 107 Ants
 107 CA 1D Totalistic
 107 Altruism
 107 Weak Acid
 107 Traffic Intersection
 107 Algae
 107 Ants (Perspective Demo)
 106 Virus - Circle Visualization
 106 Virus
 105 Buffer
 104 Ants Simple
 102 epiDEM Basic
 100 PD Two Person Iterated
  99 Parallel Circuit
  99 Mouse Drag Multiple Example
  99 Rebellion
  99 Wandering Letters
  99 Heat Diffusion
  99 Projectile Attack
  98 WolfSheepShape Benchmark
  98 Wolf Sheep Predation
  97 Lattice Land - Triangles Explore
  97 Wolf Benchmark
  97 PANDA BEAR Solo
  97 Hotelling's Law
  97 Muscle Development
  96 Flocking 3D.nlogo3d
  95 Disease Solo
  94 GenEvo 2 Genetic Drift
  93 Doppler
  93 Composer
  92 Party
  92 Lunar Lander
  92 Mammoths
  92 Simple Kinetics 2
  92 Mimicry
  91 Series Circuit
  90 Traffic Basic Adaptive Individuals
  89 Beatbox
  89 2.5d Turtle View Example
  89 Random Basic
  88 Preferential Attachment Tester
  88 Rumor Mill
  88 Wolf Sheep Simple 5
  88 VirusNet Benchmark
  86 Urban Suite - Recycling
  85 Scattering
  85 Sunflower Biomorphs
  84 Fireworks 3D.nlogo3d
  84 Sandpile 3D.nlogo3d
  84 Paths
  83 Turing Machine 2D
  83 Python Flocking Clusters
  83 Simple Kinetics 3
  82 Particle Swarm Optimization
  81 Gravitation
  81 Spread of Disease
  81 Electrostatics
  80 Urban Suite - Path Dependence
  79 Galton Box
  79 4 Blocks
  79 Reactor Top Down
  79 Heatbugs
  78 Wave Machine
  78 Many Regions Example
  78 Tumor
  77 Urban Suite - Pollution
  77 Sugarscape 2 Constant Growback
  77 El Farol Extension 1
  77 El Farol Extension 2
  77 El Farol Extension 3
  77 Sugarscape 1 Immediate Growback
  77 Shepherds
  77 Life Turtle-Based
  77 Flocking Benchmark
  77 Gas Chromatography
  76 Pendulum
  76 Mandelbrot
  75 Partition Permutation Distribution
  75 Voronoi - Emergent
  75 Cooperation
  74 Moths
  74 Diffusion on a Directed Network
  74 Urban Suite - Cells
  74 Simple Genetic Algorithm
  74 Ant Lines
  73 Traffic Basic Adaptive
  73 Movie Recording Example
  72 Urban Suite - Awareness
  72 Prob Graphs Basic
  72 El Farol
  71 SmoothLife
  71 Turbulence
  71 Bug Hunt Speeds
  70 Crystallization Directed
  70 Erosion Benchmark
  70 every tester
  70 Virus on a Network
  70 Conic Sections 2
  70 Vector Fields
  69 Giant Component
  69 Red Queen
  69 Particle System Waterfall
  68 DLA Alternate Linear
  68 Habitat Preference Behavior
  68 Stochastic Patchwork
  68 Color Uniqueness Tester
  68 Flocking
  67 Crystallization Moving
  67 Hex Cell Aggregation
  67 CA Continuous
  67 Current in a Wire
  67 Fireworks
  67 Random Walk Left Right
  66 Flocking Vee Formations
  65 Urban Suite - Sprawl Effect
  65 Planarity
  65 Voronoi
  65 Intersecting Links Example
  64 Flocking (Perspective Demo)
  64 Client Perspective Example HubNet
  64 Wolf Sheep Simple 4
  64 Raindrops 3D.nlogo3d
  64 Minesweeper
  63 K-Means Clustering
  63 Template HubNet
  63 Wave Machine 3D.nlogo3d
  63 dense network tester
  63 Rock Paper Scissors
  63 Erosion
  62 Particle System Flame
  62 Conic Sections 1
  62 Heatbugs Benchmark
  61 DLA Alternate
  61 Thermostat
  61 Particle System Fountain
  61 Ising Benchmark
  61 Simple Birth Rates
  60 PD Basic Evolutionary
  60 Radical Polymerization
  60 Kidney Reabsorption
  60 Strong Acid
  60 Painted Desert Challenge
  59 Crystallization Basic
  59 Three Doors
  59 Traffic Basic Utility
  59 Simple Viral Marketing
  58 Surface Walking 2D
  58 Wolf Sheep Simple 3
  58 Traffic Basic
  57 GenDrift T interact
  57 Grand Canyon
  57 Fur
  57 Agentset Efficiency
  57 Sand
  57 Kaleidoscope
  56 Brian's Brain
  56 Termites 3D.nlogo3d
  56 Segregation Simple Extension 3
  56 Rabbits Grass Weeds
  56 Intersecting Lines Example
  55 Termites Benchmark
  54 Sandpile Simple
  53 Rope 3D.nlogo3d
  53 Segregation
  53 Tree Simple 3D.nlogo3d
  53 Simulated Annealing
  53 Fireflies
  52 Tutorial 3
  52 Segregation Simple Extension 2
  51 Follower 3D.nlogo3d
  51 Grouping Turtles Example
  51 Membrane Formation
  51 State Machine Example
  51 Bouncing Balls Example 3D.nlogo3d
  50 Termites (Perspective Demo)
  50 Simple Machine Learning
  50 Lattice Gas Automaton
  50 Raindrops
  50 Segregation Simple Extension 1
  49 Divide The Cake
  49 BehaviorSpace Example
  49 Kicked Rotators
  49 Birthdays
  49 Termites
  49 Voting Sensitivity Analysis
  48 Segregation Simple
  47 Mouse Recording Example
  47 Next Patch Example
  46 Free Fall
  46 Client Overrides Example HubNet
  46 Python Basic Example
  46 GIS Gradient Example
  45 Preferential Attachment
  45 FireBig Benchmark
  45 Fire Benchmark
  45 Preferential Attachment 3D.nlogo3d
  45 Shape Animation Example
  44 Electron Sink
  44 PrefAttach Benchmark
  44 Voting Component Verification
  44 Follower
  44 Percolation
  44 Plot Coalescing Benchmark
  44 Kicked Rotator
  44 Discrete Event Mousetrap
  43 Sunflower Emergent
  43 Life
  43 Hill Climbing Example 3D.nlogo3d
  43 Polymer Dynamics
  43 Neighborhoods Example
  42 Particle System Basic
  42 DLA 3D.nlogo3d
  41 Chemical Equilibrium
  41 CA 1D Rule 30 Turtle
  41 Percolation 3D.nlogo3d
  41 Bureaucrats Benchmark
  41 DLA
  40 Hex Cells Example
  40 Patch Clusters Example
  40 Voting
  40 Line of Sight Example
  39 Turtles Circling
  39 Random Walk 360
  39 Fire
  39 File Input Example
  39 Decay
  38 Sand 3D.nlogo3d
  38 FireWithExperiments
  38 Color Chart Example
  38 Sound Workbench
  38 List Benchmark
  37 DummyMath1 Benchmark
  37 Wolf Sheep Simple 2
  37 Fire Simple Extension 3
  37 Rope
  37 DummyMath Benchmark
  36 Airplane Landing Example 3D.nlogo3d
  36 Life Benchmark
  36 Arduino Example
  36 Solid Diffusion
  36 Percussion Workbench
  35 Heroes and Cowards
  35 Spherical Path Example 3D.nlogo3d
  35 Ising
  35 Random Network
  35 Simple Kinetics 1
  34 BZ Benchmark
  34 Bounce Example
  34 Palette Example
  34 Tree Simple
  34 CA 1D Rule 30
  34 Let Benchmark
  34 Star Fractal
  34 Perspective Example
  33 CA 1D Rule 90
  33 Network Import Example
  33 Lattice-Walking Turtles Example
  33 Mobile Aggregation Example
  32 Slime
  32 Mousetraps 3D.nlogo3d
  32 CA 1D Rule 110
  32 Neighborhoods Example 3D.nlogo3d
  32 Communication-T-T Example
  32 2.5d Patch View Example
  31 Circular Path Example
  31 Wall Following Example
  31 Random Balls
  31 CA 1D Rule 250
  31 CSV Example
  31 9-Blocks
  31 Fire Simple Extension 2
  31 Partners Example
  31 Case Conversion Example
  31 Vants
  30 Communication-T-T Network Example
  30 Hatch Example
  30 Ask Ordering Example
  30 Preferential Attachment Simple
  30 Patch Coordinates Example
  30 GenDrift T reproduce
  30 Ask-Concurrent Example
  29 Label Position Example
  29 One Turtle Per Patch Example
  29 Turtle and Observer Motion Example 3D.nlogo3d
  29 Link-Walking Turtles Example
  29 Mousetraps
  29 File Output Example
  29 Myself Example
  28 Network Example 3D.nlogo3d
  28 PD Basic
  28 Model Interactions Example
  28 Random Seed Example
  27 Sunflower 3D.nlogo3d
  27 3D Shapes Example
  27 B-Z Reaction
  27 Sierpinski Simple 3D.nlogo3d
  27 Model Visualizer and Plotter Example
  27 Koch Curve
  27 Musical Phrase Example
  27 Breed Procedures Example
  27 Example HubNet
  27 3D Surface
  27 Box Drawing Example
  26 Color Fractions
  26 Simple Economy
  25 Life 3D.nlogo3d
  25 Mouse Drag One Example
  25 Diffusion Graphics
  25 DLA Simple Extension 3
  25 DLA Simple Extension 2
  25 Fully Connected Network Benchmark
  25 Moore & Von Neumann Example
  25 DummyMath3 Benchmark
  24 Scatter Example
  24 Move Towards Target Example
  24 Rnd Example
  24 Wolf Sheep Simple 1
  24 Lottery Example
  23 Diffuse Off Edges Example
  23 Urban Suite - Structure from Randomness 1
  23 Sierpinski Simple
  23 Vision Cone Example
  22 Breeds and Shapes Example
  22 DLA Simple Extension 1
  22 Hill Climbing Example
  22 Halo Example
  21 Cone Tester.nlogo3d
  21 Tie System Example
  21 Random Grid Walk Example
  21 Urban Suite - Positive Feedback
  21 Fire Simple
  21 Turtles Circling Simple
  21 HSB and RGB Example
  21 sdm-dt-increment
  21 Honeycomb
  21 Shapes Example 3D.nlogo3d
  20 GridWalk Benchmark
  20 DLA Simple
  20 Turtle Perspective Example 3D.nlogo3d
  20 Set Difference Speed Tester
  20 Communication-T-P Example
  20 Let Inside Ask Benchmark
  20 Fire Simple Extension 1
  20 Mouse Example
  20 Hex Turtles Example
  19 Link Breeds Example
  19 Random Network Example
  19 Look Ahead Example
  18 Transparency Example
  18 Life Simple
  18 ImportWorld Benchmark
  18 Table Example
  18 Parent Model Example
  18 Boiling
  18 One-Of Turtles Benchmark
  18 User Interaction Example
  18 Link Lattice Example
  17 Plotting Example
  17 Rolling Plot Example
  17 Run Result Example
  17 Network Example
  17 Scale-color Example
  17 Agentset Ordering
  16 Uniform Distribution on a Sphere Example 3D.nlogo3d
  16 Trails Example 3D.nlogo3d
  16 Sunflower
  15 GenDrift P local
  15 Turtle Dance Example 3D.nlogo3d
  15 Three Loops Example 3D.nlogo3d
  14 Run Example
  13 Plot Slowdown
  13 Random Walk Example
  13 Profiler Example
  12 Urban Suite - Structure from Randomness 2
  12 GenDrift P global
  12 Plot Smoothing Example
  11 Histogram Example
  11 Circle Position Tester
  11 Circle Position Tester 3
  10 Once Button Tester
  10 DummyMath2 Benchmark
   9 print test
   7 Plot Axis Example
   7 Direction Indicator Size Test Case
   6 Fully Connected Network Example
   6 sdm-order-of-operations
   4 include test
   1 GoGoMonitor
   1 Movie Playing Example
   1 GoGoMonitorSimple
   1 Video Camera Example
   1 Agent Once Button Tester
   0 Image Import Example
   0 Circle Position Tester 2
   0 Info Tab Example