<commit_before>#include "potholedetector.h"

int main(int argc, char** argv)
{
  ros::init(argc, argv, "potholedetector");

  ros::NodeHandle nh;
  ros::NodeHandle pNh("~");
  std::string topic;
  if (!pNh.hasParam("topic"))
    ROS_WARN_STREAM("No topics specified for pothole detector. No map will be generated.");

  pNh.getParam("topic", topic);

  PotholeDetector det{ nh, topic };

  ROS_INFO_STREAM("Pothole detector started");

  ros::spin();

  return 0;
}<commit_msg>Added pothole spin rate<commit_after>#include "potholedetector.h"

int main(int argc, char** argv)
{
  ros::init(argc, argv, "potholedetector");

  ros::NodeHandle nh;
  ros::NodeHandle pNh("~");
  std::string topic;
  if (!pNh.hasParam("topic"))
    ROS_WARN_STREAM("No topics specified for pothole detector. No map will be generated.");

  pNh.getParam("topic", topic);

  PotholeDetector det{ nh, topic };

  ROS_INFO_STREAM("Pothole detector started");

  // Rate is number of refreshes per second
  ros::Rate rate(5.);
  while (ros::ok())
  {
    ros::spinOnce();
    rate.sleep();
  }

  return 0;
}
{'fraction_non_alphanumeric': 0.15526802218114602, 'fraction_numerical': 0.0027726432532347504, 'mean_word_length': 4.49746192893401, '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': '1864373', 'n_tokens_mistral': 415, 'n_tokens_neox': 383, 'n_words': 97}