<commit_before>package main.habitivity.habits;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


public class Habit {
    private String id;
    private String title;
    private Date startDate;
    private String Reason;
    private List<Integer> daysOfTheWeekToComplete = new ArrayList<>();
    private List<HabitEvent> completions = new ArrayList<>();
    private String habitType;

    public Habit() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
    }

    public String getHabitType() {
        return habitType;
    }

    public void setHabitType(String habitType) {

    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
    }

    public List<Integer> getDaysOfTheWeekToComplete() {
        return daysOfTheWeekToComplete;
    }

    public void dayCompletedOn(Date date) {
    }

    public void setDaysOfTheWeekToComplete(List<Integer> daysToComplete) {
    }
    
    public List<HabitEvent> getCompletedEvents() {
        return completions;
    }

    public void setCompletedEvents(List<? extends HabitEvent> completions) {

    }

    public void addCompletedEvent(HabitEvent habitCompletion){

    }

    public void addHabitEvent(HabitEvent habitEvent){
        
    }

    public void deleteHabitEvent(HabitEvent habitEvent){
        
    }

    public String getReason() {
        return Reason;
    }

    public void setReason(String reason) {
        Reason = reason;
    }
}
<commit_msg>added comments to habit class<commit_after>package main.habitivity.habits;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


public class Habit {
    private String id;
    private String title;
    private Date startDate;
    private String Reason;
    private List<Integer> daysOfTheWeekToComplete = new ArrayList<>();
    private List<HabitEvent> completions = new ArrayList<>();
    private String habitType;

    public Habit() {
    }

    /**
    * Gets the id of the Habit
    *
    * @return id - id of the Habit
    */
    public String getId() {
        return id;
    }

    /**
    * Sets the id of the Habit
    *
    * @param [in] id - id of the Habit
    */
    public void setId(String id) {
    }


    /**
    * Gets the habitType of the Habit
    *
    * @return habitType - habitType of the habit
    */
    public String getHabitType() {
        return habitType;
    }

    /**
    * Sets the habitType of the Habit
    *
    * @param [in] habitType - habitType of the Habit
    */
    public void setHabitType(String habitType) {

    }

    /**
    * Gets the title of the Habit
    *
    * @return title - title of the Habit
    */
    public String getTitle() {
        return title;
    }

    /**
    * Sets the title of the Habit
    *
    * @param [in] title - title of the Habit
    */
    public void setTitle(String title) {
    }

    public Date getStartDate() {
        return startDate;
    }

    /**
    * Sets the startDate of the Habit
    *
    * @param [in] startDate - startDate of the Habit
    */
    public void setStartDate(Date startDate) {
    }

    /**
    * Gets the days of the week where we want to complete the habit.
    * Days of the week are represented by the integers i.e [1,2,3,4,5,6,7] where
    * 1 represents Monday, 2 represents Tuesday, ..... , 7 represents Sunday.
    *
    * @return daysOfTheWeekToComplete - list of integers that represents the days of the week to complete habit on
    */
    public List<Integer> getDaysOfTheWeekToComplete() {
        return daysOfTheWeekToComplete;
    }

    /**
    * Sets the days of the week where we want to complete the habit
    * i.e if we schedule the habit to be completed on mondays and wednesday then
    * the array will contain [1,3]. Days of the week are represented by integers.
    *
    * @param [in] daysToComplete - list of integers contains the days of the week we want to complete the habit
    */
    public void setDaysOfTheWeekToComplete(List<Integer> daysToComplete) {
    }
    
    /**
    * Gets our list of habitEvents
    *
    * @return completions - list of habitEvents
    */
    public List<HabitEvent> getCompletedEvents() {
        return completions;
    }

    /**
    * Sets the list of habits that are completed (i.e they're now habit events). 
    * I.e replace our old list of habit events with our new one
    *
    * @param [in] completions - list of habit events
    */
    public void setCompletedEvents(List<? extends HabitEvent> completions) {

    }

    /**
    * Sets the list of habits that are completed (i.e they're now habit events). 
    *
    * @param [in] completions - list of habit events
    */
    public void addCompletedEvent(HabitEvent habitCompletion){

    }

    /**
    * Add the completed habitEvent to our list of habitEvents 
    *
    * @param [in] habitEvent - event to add to our list of completed HabitEvents
    */
    public void addHabitEvent(HabitEvent habitEvent){
        
    }

    /**
    * Remove the habitEvent to our list of habitEvents 
    *
    * @param [in] habitEvent - event to remove from our list of completed HabitEvents
    */
    public void deleteHabitEvent(HabitEvent habitEvent){
        
    }

    /**
    * Gets the reason of the habit
    *
    * @return Reason - the reason for the habit
    */
    public String getReason() {
        return Reason;
    }

    /**
    * Sets the reason for the habit
    *
    * @param [in] reason - reason for the habit
    */
    public void setReason(String reason) {
        Reason = reason;
    }
}

{'fraction_non_alphanumeric': 0.08373452544704264, 'fraction_numerical': 0.0020632737276478678, 'mean_word_length': 2.3164196123147094, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4224117', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1658, 'n_words': 571}