<commit_before>defmodule PanWeb.Live.Admin.Sandbox do
  use Surface.LiveView, layout: {PanWeb.LayoutView, "live_admin.html"}

  def render(assigns) do
    ~F"""
    <div class="m-4"
         x-data="{isShow: false}">
      <button class="bg-gray hover:bg-gray-lighter px-6 py-1"
              x-on:click="isShow = true">Trigger</button>
      <div x-show="isShow"
           class="absolute top-0 right-4 m-3 w-2/3 md:w-1/3">
        <div class="bg-white border-gray border p-3 flex items-start shadow-md rounded-md space-x-2">
          <div class="flex-shrink-0">✅</div>
          <div class="flex-1 space-y-1">
            <p class="text-base leading-6 font-medium text-gray-700">Heading</p>
            <p class="text-sm leading-5 text-gray-600">Some Text</p>
          </div>
          <div class="flex-shrink-0 text-lg cursor-pointer" x-on:click="isShow = false">❎</div>
        </div>
      </div>
    </div>
    """
  end
end
<commit_msg>sandbox with tailwind + alpine notification<commit_after>defmodule PanWeb.Live.Admin.Sandbox do
  use Surface.LiveView, layout: {PanWeb.LayoutView, "live_admin.html"}

  def render(assigns) do
    ~F"""
    <div class="m-4"
         x-data="{isShow: false}">
      <button class="bg-gray-light rounded hover:bg-gray-lighter px-6 py-1"
              x-on:click="isShow = true; setTimeout(() => isShow = false, 5000)">Trigger</button>
      <div x-show="isShow"
           class="absolute top-0 right-4 m-3 w-2/3 md:w-1/3">
        <div class="bg-white border-gray border p-3 flex items-start shadow-md rounded-md space-x-2">
          <div class="flex-shrink-0">✅</div>
          <div class="flex-1 space-y-1">
            <p class="text-base leading-6 font-medium text-gray-700">Heading</p>
            <p class="text-sm leading-5 text-gray-600">Some Text</p>
          </div>
        </div>
      </div>
    </div>
    """
  end
end

{'fraction_non_alphanumeric': 0.16914893617021276, 'fraction_numerical': 0.027127659574468086, 'mean_word_length': 2.3649373881932023, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 38, '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': '2249403', 'n_tokens_mistral': 686, 'n_tokens_neox': 666, 'n_words': 139}