<commit_before>include ./shared/nav-local
extends layout

mixin formatEntry(engine, entry)
  - var id = utils.getPlatformStatusId(engine, entry.id) 
  - var status = entry.status;
  - var classList = [];
  - classList.push(engine);
  - classList.push(status.status);
  - status.behindFlag && classList.push('behindFlag');
  - status.prefixed && classList.push('prefixed');
  li.entry(class=classList, id=id)
    span.title= entry.title
    div.status
      span.text= status.originalStatus
      if status.channel
        |  (starting 
        span.channel= status.channel
        | )
      if status.behindFlag
        | 
        span.behindFlag (behind a flag)
      if status.prefixed
        | 
        span.channel (prefixed)
    div.status-link.link-external
      - var statusUrl = utils.getPlatformStatusUrl(engine, entry.id);
      - var statusHost = utils.getHost(statusUrl);
      - var linkText = 'View the platform status entry (' + statusHost + ')';
      a(href=statusURL)= linkText


mixin formatEngine(engine, entries)
  div.engine
    h5.engine-name(class=engine)= engine
    ul.entry-list
      each entry in entries
        +formatEntry(engine, entry)


mixin formatFragment(url, fragment)
  - var id = url + encodeURIComponent(fragment.fragment);<commit_msg>Fix typo in link to original platform status<commit_after>include ./shared/nav-local
extends layout

mixin formatEntry(engine, entry)
  - var id = utils.getPlatformStatusId(engine, entry.id) 
  - var status = entry.status;
  - var classList = [];
  - classList.push(engine);
  - classList.push(status.status);
  - status.behindFlag && classList.push('behindFlag');
  - status.prefixed && classList.push('prefixed');
  li.entry(class=classList, id=id)
    span.title= entry.title
    div.status
      span.text= status.originalStatus
      if status.channel
        |  (starting 
        span.channel= status.channel
        | )
      if status.behindFlag
        | 
        span.behindFlag (behind a flag)
      if status.prefixed
        | 
        span.channel (prefixed)
    div.status-link.link-external
      - var statusUrl = utils.getPlatformStatusUrl(engine, entry.id);
      - var statusHost = utils.getHost(statusUrl);
      - var linkText = 'View the platform status entry (' + statusHost + ')';
      a(href=statusUrl)= linkText


mixin formatEngine(engine, entries)
  div.engine
    h5.engine-name(class=engine)= engine
    ul.entry-list
      each entry in entries
        +formatEntry(engine, entry)


mixin formatFragment(url, fragment)
  - var id = url + encodeURIComponent(fragment.fragment);
{'fraction_non_alphanumeric': 0.11355735805330243, 'fraction_numerical': 0.000772499034376207, 'mean_word_length': 2.8656716417910446, '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': '7203327', 'n_tokens_mistral': 795, 'n_tokens_neox': 782, 'n_words': 170}