<commit_before>{layout} = require('./config/layout')
{game} = require('./config/game')
{turtles} = require('./config/turtles')
{inspector} = require('./config/inspector')

exports.config = {
  device_width: 1024
  size: 480
  split: 6
  scale: (world, args) ->
    world.get('size') / world.get('split')
  i: 0
  j: 0
  angle: 0
  transform: (world, args) ->
    scale = world.get('scale')
    x = scale*(world.get('i'))
    y = scale*(world.get('j'))
    angle = world.get('angle')
    "translate(#{x},#{y}) rotate(#{angle})"
  name_style: (world, args) -> {x: -5, y: 5}
  current: -> "No world"
  signals: {
    prog_left:  {name: "L", do:"prog", signal: "left"}
    prog_right: {name: "R", do:"prog", signal: "right"}
    prog_forward: {name: "F", do:"prog", signal: "forward"}
    left:  {name: "<-", do: "turn", dir: 1}
    right: {name: "->", do: "turn", dir: -1}
    forward: {name: "^", do: "go", dir: 1}
    reverse: {name: "v", do: "go", dir: -1}
  }
  _CHILDREN: [
    game
    layout
    turtles
    inspector
  ]
}<commit_msg>Move layout after turtles<commit_after>{layout} = require('./config/layout')
{game} = require('./config/game')
{turtles} = require('./config/turtles')
{inspector} = require('./config/inspector')

exports.config = {
  device_width: 1024
  size: 480
  split: 6
  scale: (world, args) ->
    world.get('size') / world.get('split')
  i: 0
  j: 0
  angle: 0
  transform: (world, args) ->
    scale = world.get('scale')
    x = scale*(world.get('i'))
    y = scale*(world.get('j'))
    angle = world.get('angle')
    "translate(#{x},#{y}) rotate(#{angle})"
  name_style: (world, args) -> {x: -5, y: 5}
  current: -> "No world"
  signals: {
    prog_left:  {name: "L", do:"prog", signal: "left"}
    prog_right: {name: "R", do:"prog", signal: "right"}
    prog_forward: {name: "F", do:"prog", signal: "forward"}
    left:  {name: "<-", do: "turn", dir: 1}
    right: {name: "->", do: "turn", dir: -1}
    forward: {name: "^", do: "go", dir: 1}
    reverse: {name: "v", do: "go", dir: -1}
  }
  _CHILDREN: [
    game
    turtles
    layout
    inspector
  ]
}
{'fraction_non_alphanumeric': 0.23157894736842105, 'fraction_numerical': 0.016267942583732056, 'mean_word_length': 3.182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '870812', 'n_tokens_mistral': 856, 'n_tokens_neox': 809, 'n_words': 199}