<commit_before>package com.example.selenium.spree;

import ch.qos.logback.classic.Level;
import com.example.selenium.LogbackUtils;
import com.gargoylesoftware.htmlunit.DefaultCssErrorHandler;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;

public class ShoppingSpreeTests {

  static {
    LogbackUtils.initLogback(Level.WARN);
    LogbackUtils.setLevel(DefaultCssErrorHandler.class, Level.ERROR);
  }

  private WebDriver browser;

  @Before
  public void beforeMethod() throws Exception {
    browser = new HtmlUnitDriver();
  }

  @Test
  public void testHomePageTitle() {
    browser.get("http://spree.newcircle.com/products");
    Assert.assertEquals("Spree Demo Site", browser.getTitle());
  }

  @After
  public void afterMethod() {
    browser.quit();
  }
}
<commit_msg>Fixed bad URL in unit test.<commit_after>package com.example.selenium.spree;

import ch.qos.logback.classic.Level;
import com.example.selenium.LogbackUtils;
import com.gargoylesoftware.htmlunit.DefaultCssErrorHandler;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;

public class ShoppingSpreeTests {

  static {
    LogbackUtils.initLogback(Level.WARN);
    LogbackUtils.setLevel(DefaultCssErrorHandler.class, Level.ERROR);
  }

  private WebDriver browser;

  @Before
  public void beforeMethod() throws Exception {
    browser = new HtmlUnitDriver();
  }

  @Test
  public void testHomePageTitle() {
    browser.get("http://spree.newcircle.com");
    Assert.assertEquals("Spree Demo Site", browser.getTitle());
  }

  @After
  public void afterMethod() {
    browser.quit();
  }
}

{'fraction_non_alphanumeric': 0.11189570885388377, 'fraction_numerical': 0.0, 'mean_word_length': 4.615853658536586, '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': '4153492', 'n_tokens_mistral': 608, 'n_tokens_neox': 587, 'n_words': 111}