<commit_before><!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <style>
    td select,
    td input { width: 150px; }
    label { display: block; }

    .error input,
    .error textarea { border: 1px solid red; }
    .error { color: red; }
  </style>
  <title>Send message</title>
</head>

<body>
  <form>
    Сообщение:
    <label>
      <textarea name="message" style="display:block;width:400px;height:80px"></textarea>
    </label>

    <input type="button" onclick="send(this.form)" value="Send">
  </form>

  <script>
    history.replaceState({}, null, "/send");

    function showError(container, errorMessage) {
      container.className = 'error';
      var msgElem = document.createElement('span');
      msgElem.className = "error-message";
      msgElem.innerHTML = errorMessage;
      container.appendChild(msgElem);
    }

    function resetError(container) {
      container.className = '';
      if (container.lastChild.className == "error-message") {
        container.removeChild(container.lastChild);<commit_msg>Some send.html fix<commit_after><!DOCTYPE html>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <style>
    td select,
    td input { width: 150px; }
    label { display: block; }

    .error input,
    .error textarea { border: 1px solid red; }
    .error { color: red; }
  </style>
  <title>Send message</title>
</head>

<body>
  <form accept-charset="UTF-8">
    Сообщение:
    <textarea name="message" style="display:block;width:400px;height:80px"></textarea>
    <input type="button" onclick="send(this.form)" value="Send">
  </form>

  <script>
    history.replaceState({}, null, "/send");

    function showError(container, errorMessage) {
      container.className = 'error';
      var msgElem = document.createElement('span');
      msgElem.className = "error-message";
      msgElem.innerHTML = errorMessage;
      container.appendChild(msgElem);
    }

    function resetError(container) {
      container.className = '';
      if (container.lastChild.className == "error-message") {
        container.removeChild(container.lastChild);
{'fraction_non_alphanumeric': 0.15388235294117647, 'fraction_numerical': 0.00988235294117647, 'mean_word_length': 3.374485596707819, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '3655757', 'n_tokens_mistral': 688, 'n_tokens_neox': 655, 'n_words': 138}