<commit_before><html>
<head>
  <link rel="stylesheet" href="/static/css/skeleton.css" media="screen">
</head>
<body>
  <h1>alarm / {{.Name}}</h1>
  <p>Actions: {{.Actions}}</p>
  <p>Expression: {{.Expression}}</p>
  <p>Enabled: {{.Enabled}}</p>
  <p>Wait: {{.Wait}}</p>
  <p>Data sources: {{.DataSources}}</p>
  <p>Instance: {{.Instance}}</p>
  <p>Envs: {{.Envs}}</p>
  <a href="/web/alarm/{{.Name}}/enable">enable</a>
  <a href="/web/alarm/{{.Name}}/disable">disable</a>
</body>
</html><commit_msg>web/alarm: conditional show enable/disable<commit_after><html>
<head>
  <link rel="stylesheet" href="/static/css/skeleton.css" media="screen">
</head>
<body>
  <h1>alarm / {{.Name}}</h1>
  <p>Actions: {{.Actions}}</p>
  <p>Expression: {{.Expression}}</p>
  <p>Enabled: {{.Enabled}}</p>
  <p>Wait: {{.Wait}}</p>
  <p>Data sources: {{.DataSources}}</p>
  <p>Instance: {{.Instance}}</p>
  <p>Envs: {{.Envs}}</p>
  {{if .Enabled}}
  <a href="/web/alarm/{{.Name}}/disable">disable</a>
  {{else}}
  <a href="/web/alarm/{{.Name}}/enable">enable</a>
  {{end}}
</body>
</html>
{'fraction_non_alphanumeric': 0.3058161350844278, 'fraction_numerical': 0.00375234521575985, 'mean_word_length': 4.471794871794872, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '2740298', 'n_tokens_mistral': 459, 'n_tokens_neox': 437, 'n_words': 68}