<commit_before>// Copyright 2015, University of Colorado Boulder

/**
 *
 * @author <NAME> (PhET Interactive Simulations)
 */
define( function() {
  'use strict';

  return function( v, c, smooth, Level, Wall, Shape, shapeToSegments, Slicer, Cupcake ) {

    var origin = v( 800, -1350 );
    var a = 1000;
    var b = 200;
    var d = 50;
    var h = 100;
    var m = 1500;
    var cupcakeAt = function( vector ) {
      return new Cupcake( vector.x, vector.y );
    };

    return new Level( origin.plusXY( a - d, -m + 50 ), origin.plusXY( a + d, -m + 50 ), v( 900, -1300 ), v( 1, 0 ) )
      .addWall( new Wall( shapeToSegments( new Shape()
        .lineTo( origin.x, origin.y )
        .lineToRelative( a - b, 0 )
        .lineToRelative( b - d, -m )
        .lineToRelative( d + d, 0 )
        .lineToRelative( b, m + h )
        .lineTo( origin.x, origin.y + h )
        .close()
      ) ) )

      .addObstacle( new Slicer( origin.plusXY( a - 200, -100 ), origin.plusXY( a + 50 + 200, -100 + 50 ), 3 ) )
      .addObstacle( new Slicer( origin.plusXY( a - 200, -100 + 50 ), origin.plusXY( a + 50 + 200, -100 + 50 - 50 ), 2 ) )

      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30, -100 - 200 ), origin.plusXY( a + 50 + 200 - 30, -100 + 50 - 200 ), 3 ) )
      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30, -100 + 50 - 200 ), origin.plusXY( a + 50 + 200 - 30, -100 + 50 - 50 - 200 ), 2 ) )

      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30 + 30, -100 - 200 - 200 ), origin.plusXY( a + 50 + 200 - 30 - 30, -100 + 50 - 200 - 200 ), 3 ) )
      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30 + 30, -100 + 50 - 200 - 200 ), origin.plusXY( a + 50 + 200 - 30 - 30, -100 + 50 - 50 - 200 - 200 ), 2 ) )
      .addCupcake( cupcakeAt( origin.plusXY( 200, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 400, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 600, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 800, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 300, h - 20 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 500, h - 20 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 700, h - 20 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 900, h - 20 ) ) )

      .addCupcake( cupcakeAt( origin.plusXY( a - 150, -200 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( a - 100, -200 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( a - 50, -200 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( a - 0, -200 ) ) )<commit_msg>Don't close level 3<commit_after>// Copyright 2015, University of Colorado Boulder

/**
 *
 * @author <NAME> (PhET Interactive Simulations)
 */
define( function() {
  'use strict';

  return function( v, c, smooth, Level, Wall, Shape, shapeToSegments, Slicer, Cupcake ) {

    var origin = v( 800, -1350 );
    var a = 1000;
    var b = 200;
    var d = 50;
    var h = 100;
    var m = 1500;
    var cupcakeAt = function( vector ) {
      return new Cupcake( vector.x, vector.y );
    };

    return new Level( origin.plusXY( a - d, -m + 50 ), origin.plusXY( a + d, -m + 50 ), v( 900, -1300 ), v( 1, 0 ) )
      .addWall( new Wall( shapeToSegments( new Shape()
        .lineTo( origin.x, origin.y )
        .lineToRelative( a - b, 0 )
        .lineToRelative( b - d, -m )
        .lineToRelative( d + d, 0 )
        .lineToRelative( b, m + h )
        .lineTo( origin.x, origin.y + h )
      ) ) )

      .addObstacle( new Slicer( origin.plusXY( a - 200, -100 ), origin.plusXY( a + 50 + 200, -100 + 50 ), 3 ) )
      .addObstacle( new Slicer( origin.plusXY( a - 200, -100 + 50 ), origin.plusXY( a + 50 + 200, -100 + 50 - 50 ), 2 ) )

      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30, -100 - 200 ), origin.plusXY( a + 50 + 200 - 30, -100 + 50 - 200 ), 3 ) )
      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30, -100 + 50 - 200 ), origin.plusXY( a + 50 + 200 - 30, -100 + 50 - 50 - 200 ), 2 ) )

      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30 + 30, -100 - 200 - 200 ), origin.plusXY( a + 50 + 200 - 30 - 30, -100 + 50 - 200 - 200 ), 3 ) )
      .addObstacle( new Slicer( origin.plusXY( a - 200 + 30 + 30, -100 + 50 - 200 - 200 ), origin.plusXY( a + 50 + 200 - 30 - 30, -100 + 50 - 50 - 200 - 200 ), 2 ) )
      .addCupcake( cupcakeAt( origin.plusXY( 200, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 400, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 600, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 800, 10 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 300, h - 20 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 500, h - 20 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 700, h - 20 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( 900, h - 20 ) ) )

      .addCupcake( cupcakeAt( origin.plusXY( a - 150, -200 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( a - 100, -200 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( a - 50, -200 ) ) )
      .addCupcake( cupcakeAt( origin.plusXY( a - 0, -200 ) ) )
{'fraction_non_alphanumeric': 0.1652925799316308, 'fraction_numerical': 0.11160265433340036, 'mean_word_length': 2.1048689138576777, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6925738', 'n_tokens_mistral': 2466, 'n_tokens_neox': 1873, 'n_words': 576}