<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.badrobot.commands;

import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.tables.ITable;

/**
 *
 * @author <NAME>
 */
public class Gather extends BadCommand
{
    public int gatherAmount;
    public int storageCount;
    
    public Gather(int amount) 
    {
        requires( (Subsystem) gatherer);
        gatherAmount = amount;
    }

    protected void initialize() 
    {
        
    }

    public void valueChanged(ITable itable, String key, Object value, boolean bln)
    {
        
    }

    protected void addNetworkTableValues(ITable table) 
    {
        
    }

    public String getConsoleIdentity() 
    {
        return "Gather";
    }

    protected void execute() 
    {
        gatherer.gather();
        gatherer.raiseToShooter();
        storageCount++;
    }

    protected boolean isFinished() {
        if(storageCount == gatherAmount)
        {
            return true;
        }else
        return false;
    }

    protected void end() 
    {
        
    }

    protected void interrupted() 
    {
        
    }
}
<commit_msg>Finished Skeleton for Gather command.<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.badrobot.commands;

import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.tables.ITable;

/**
 *
 * @author <NAME>
 */
public class Gather extends BadCommand
{
    public int gatherAmount;
    public int storageCount;
    
    public Gather(int amount) 
    {
        requires( (Subsystem) gatherer);
        gatherAmount = amount;
    }

    protected void initialize() 
    {
        
    }

    public void valueChanged(ITable itable, String key, Object value, boolean bln)
    {
        
    }

    protected void addNetworkTableValues(ITable table) 
    {
        
    }

    public String getConsoleIdentity() 
    {
        return "Gather";
    }

    protected void execute() 
    {
        
        gatherer.gather();
        gatherer.raiseToShooter();
        storageCount++;
    }

    protected boolean isFinished() {
        if(storageCount == gatherAmount)
        {
            return true;
        }else
        return false;
    }

    protected void end() 
    {
        
    }

    protected void interrupted() 
    {
        
    }
}

{'fraction_non_alphanumeric': 0.08530280649926145, 'fraction_numerical': 0.0, 'mean_word_length': 1.7198795180722892, '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': '6329123', 'n_tokens_mistral': 822, 'n_tokens_neox': 788, 'n_words': 180}