<commit_before>#include <Adafruit_CC3000.h>
#include <Adafruit_CC3000_Server.h>
#include <Time.h>
#include <SPI.h>
#include <Fat16.h>
#include <Fat16util.h>

// for a smaller footprint
#define SERIAL_BUFFER_SIZE 32

// success and failure messages
// and other reoccuring strings
// used throughout the application
const char* OK_MSG   = " ok\r\n";
const char* FAIL_MSG = " fail\r\n";
const char* NEWLINE_MSG = "\r\n";
const char  CSV_SEPARATOR = ',';

// change these pin numbers to fit your needs
// since we use the CC3000 Wifi Shield these
// are the ideal pin settings for us
#define TEMPERATURE1_ANALOG_PIN    0
#define TEMPERATURE2_ANALOG_PIN    1
#define FLOWSENSOR_LED_DIGITAL_PIN 2
#define FLOWSENSOR1_DIGITAL_PIN    6
#define FLOWSENSOR2_DIGITAL_PIN    7

// These are strings that uniquely identify
// the different data feeds to our web server
#define TEMPERATURE1_IMPORT_CODE F("KegScribeAmbientTemperature")
#define TEMPERATURE2_IMPORT_CODE F("KegScribeFridgeTemperature")
#define TAP1_IMPORT_CODE         F("KegScribeTap1")
#define TAP2_IMPORT_CODE         F("KegScribeTap2")

// number of milliseconds between recording to SD card
#define RECORD_INTERVAL (1000UL*60UL*5UL)

// number of milliseconds between reports to the web server
#define REPORT_INTERVAL 0 // (1000UL*60UL*1UL)

// number of seconds between calls to the NTP server
#define NTP_INTERVAL    (60*60*24)
<commit_msg>Report every minute.<commit_after>#include <Adafruit_CC3000.h>
#include <Adafruit_CC3000_Server.h>
#include <Time.h>
#include <SPI.h>
#include <Fat16.h>
#include <Fat16util.h>

// for a smaller footprint
#define SERIAL_BUFFER_SIZE 32

// success and failure messages
// and other reoccuring strings
// used throughout the application
const char* OK_MSG   = " ok\r\n";
const char* FAIL_MSG = " fail\r\n";
const char* NEWLINE_MSG = "\r\n";
const char  CSV_SEPARATOR = ',';

// change these pin numbers to fit your needs
// since we use the CC3000 Wifi Shield these
// are the ideal pin settings for us
#define TEMPERATURE1_ANALOG_PIN    0
#define TEMPERATURE2_ANALOG_PIN    1
#define FLOWSENSOR_LED_DIGITAL_PIN 2
#define FLOWSENSOR1_DIGITAL_PIN    6
#define FLOWSENSOR2_DIGITAL_PIN    7

// These are strings that uniquely identify
// the different data feeds to our web server
#define TEMPERATURE1_IMPORT_CODE F("KegScribeAmbientTemperature")
#define TEMPERATURE2_IMPORT_CODE F("KegScribeFridgeTemperature")
#define TAP1_IMPORT_CODE         F("KegScribeTap1")
#define TAP2_IMPORT_CODE         F("KegScribeTap2")

// number of milliseconds between recording to SD card
#define RECORD_INTERVAL (1000UL*60UL*1UL)

// number of milliseconds between reports to the web server
#define REPORT_INTERVAL (1000UL*60UL*1UL)

// number of seconds between calls to the NTP server
#define NTP_INTERVAL    (60*60*24)

{'fraction_non_alphanumeric': 0.08535714285714285, 'fraction_numerical': 0.038214285714285715, 'mean_word_length': 4.716326530612245, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '5059794', 'n_tokens_mistral': 1040, 'n_tokens_neox': 940, 'n_words': 293}