<commit_before>mixin printChildren(boundedArea) 
  - console.log("Printing children of %s", boundedArea.NAME);
  - var children = boundedArea.children;
  - if (children == null || children.length == 0) {
    - return;
  - }
  ul
    - for (var index = 0; index < children.length; index++) {
      - var child = children[index];
      li #{child.NAME}
      - console.log("Printing %s child of %s", child.NAME, boundedArea.NAME);
      + printChildren(child)
    - }

- console.log("Started rendering watching");
- for (var index = 0; index < rootAreas.length; index++) {
  - var boundedArea = rootAreas[index];
  div(class='panel panel-default')
    div.panel-heading
      | #{boundedArea.NAME}
    div.panel-body
      + printChildren(boundedArea)
- }<commit_msg>Displays the routes which are children as well as the bounded areas which are children<commit_after>mixin printChildren(boundedArea) 
  - console.log("Printing children of %s", boundedArea.NAME);
  - var children = boundedArea.children;
  - var routes = boundedArea.routes;
  - if ((children == null || children.length == 0) && (routes == null || routes.length == 0)) {
    - return;
  - }
  ul
    - if (children != null && children.length > 0) {
      - for (var index = 0; index < children.length; index++) {
        - var child = children[index];
        li #{child.NAME}
        - console.log("Printing %s child of %s", child.NAME, boundedArea.NAME);
        + printChildren(child)
      - }
    - }  
    - if (routes != null && routes.length > 0) {
      - for (var index = 0; index < routes.length; index++) {
        - var route = routes[index];
        li.route #{route.NAME}
      - }
    - }

- console.log("Started rendering watching");
- for (var index = 0; index < rootAreas.length; index++) {
  - var boundedArea = rootAreas[index];
  div(class='panel panel-default')
    div.panel-heading
      | #{boundedArea.NAME}
    div.panel-body
      + printChildren(boundedArea)
- }
{'fraction_non_alphanumeric': 0.15030674846625766, 'fraction_numerical': 0.005112474437627812, 'mean_word_length': 2.7276190476190476, 'pattern_counts': {'":': 0, '<': 8, '<?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': '6232315', 'n_tokens_mistral': 620, 'n_tokens_neox': 603, 'n_words': 155}