<commit_before>defmodule TalonTest.DashboardTest do
  use TestTalon.ConnCase
  require Logger

  test "get dashboard",  %{conn: conn} do
    conn = get conn, "/talon/dashboard"
    assert html_response(conn, 200) =~ "Dashboard"
  end

  test "get talon retrieves dashboard", %{conn: conn} do
    onn = get conn, "/talon"
    assert html_response(conn, 200) =~ "Dashboard"
  end

  test "dashboard shows sidebar" do
    conn = get build_conn(), "/talon"
    assert html_response(conn, 200) =~ "Dashboard"
    assert String.contains?(conn.resp_body, "Test Sidebar")
    assert String.contains?(conn.resp_body, "This is a test.")
  end
end<commit_msg>Fixup dashboard test<commit_after>defmodule TalonTest.DashboardTest do
  use TestTalon.ConnCase
  require Logger

  test "GET /talon/dashboard",  %{conn: conn} do
    conn = get conn, "/talon/dashboard"
    assert html_response(conn, 200) =~ "Test Layout"
    assert html_response(conn, 200) =~ "Test Dashboard"
  end

  test "GET /talon", %{conn: conn} do
    conn = get conn, "/talon"
    assert html_response(conn, 200) =~ "Test Layout"
    assert html_response(conn, 200) =~ "Test Dashboard"
  end
end
{'fraction_non_alphanumeric': 0.1196877710320902, 'fraction_numerical': 0.01821335646140503, 'mean_word_length': 3.869198312236287, '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': '1434729', 'n_tokens_mistral': 414, 'n_tokens_neox': 390, 'n_words': 115}