<commit_before>defmodule MySQLTest do
  use ExUnit.Case
  # doctest GnServer

  # DB_URI = "mysql://gn2:mysql_password@localhost/db_webqtl_s"
  test "Test MySQL connection" do
    {:ok, pid} = Mysqlex.Connection.start_link(username: "gn2", database: "db_webqtl_s", password: "<PASSWORD>", hostname: "localhost")
    {:ok, result} = Mysqlex.Connection.query(pid, "SELECT * FROM Species", [])
    # rec = Map.from_struct(result)<commit_msg>test: remark added<commit_after>defmodule MySQLTest do
  use ExUnit.Case
  # doctest GnServer

  # We currently use the small database for testing
  # DB_URI = "mysql://gn2:mysql_password@localhost/db_webqtl_s"
  test "Test MySQL connection" do
    {:ok, pid} = Mysqlex.Connection.start_link(username: "gn2", database: "db_webqtl_s", password: "<PASSWORD>", hostname: "localhost")
    {:ok, result} = Mysqlex.Connection.query(pid, "SELECT * FROM Species", [])
    # rec = Map.from_struct(result)
{'fraction_non_alphanumeric': 0.13933547695605572, 'fraction_numerical': 0.004287245444801715, 'mean_word_length': 5.064935064935065, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2182800', 'n_tokens_mistral': 333, 'n_tokens_neox': 315, 'n_words': 73}