<commit_before>extends layout

block content
  h1 L-System Drawing

  canvas(id="lsys_canvas", name="lsys_canvas", height="800", width="800")

  script.
    var canvas = document.getElementById('lsys_canvas')
    var context = canvas.getContext('2d')
    var lsys = !{JSON.stringify(lsys)};
    lsys_draw(400, 400, context, lsys)<commit_msg>Add "Back" link to L-System page<commit_after>extends layout

block content
  h1 L-System Drawing

  p
    a(href="/") Back

  canvas(id="lsys_canvas", name="lsys_canvas", height="800", width="800")

  script.
    var canvas = document.getElementById('lsys_canvas')
    var context = canvas.getContext('2d')
    var lsys = !{JSON.stringify(lsys)};
    lsys_draw(400, 400, context, lsys)
{'fraction_non_alphanumeric': 0.14167812929848694, 'fraction_numerical': 0.03851444291609354, 'mean_word_length': 4.515151515151516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5864924', 'n_tokens_mistral': 268, 'n_tokens_neox': 245, 'n_words': 57}