<commit_before>#include <stddef.h>

#include "effects.h"

void off_treads(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);
void off_barrel(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);
void off_panels(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);

void simple_treads(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);

void rainbow_treads(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);
void rainbow_panels(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);

struct effect effect_treads_off = {
	.name       = "off",
	.arg_desc   = "N/A",
	.render     = off_treads,
};

struct effect effect_treads_simple = {
	.name       = "simple",
	.arg_desc   = "N/A",
	.render     = simple_treads,
};

struct effect effect_treads_rainbow = {
	.name       = "rainbow",
	.arg_desc   = "N/A",
	.render     = rainbow_treads,
};

struct effect effect_barrel_off = {
	.name       = "off",
	.arg_desc   = "N/A",
	.render     = off_barrel,
};

struct effect effect_panels_off = {
	.name       = "off",
	.arg_desc   = "N/A",
	.render     = off_panels,
};

struct effect effect_panels_rainbow = {
	.name       = "rainbow",
	.arg_desc   = "N/A",
	.render     = rainbow_panels,
};

struct effect* effects_treads[] = {
	&effect_treads_off,
	&effect_treads_simple,
	&effect_treads_rainbow,
};

struct effect* effects_barrel[] = {
	&effect_barrel_off,
};

struct effect* effects_panels[] = {
	&effect_panels_off,
	&effect_panels_rainbow,
};

struct channel channel_treads = {
	.active      = 0,
	.num_effects = sizeof(effects_treads) / sizeof(*effects_treads),
	.effects     = effects_treads,
};

struct channel channel_barrel = {
	.active      = 0,
	.num_effects = sizeof(effects_barrel) / sizeof(*effects_barrel),
	.effects     = effects_treads,
};

struct channel channel_panels = {
	.active      = 0,
	.num_effects = sizeof(effects_panels) / sizeof(*effects_panels),
	.effects     = effects_panels,
};<commit_msg>Fix bug where barrel got treads list.<commit_after>#include <stddef.h>

#include "effects.h"

void off_treads(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);
void off_barrel(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);
void off_panels(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);

void simple_treads(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);

void rainbow_treads(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);
void rainbow_panels(struct effect* effect, int shift, int framenum, char* framebuf, size_t framelen);

struct effect effect_treads_off = {
	.name       = "off",
	.arg_desc   = "N/A",
	.render     = off_treads,
};

struct effect effect_treads_simple = {
	.name       = "simple",
	.arg_desc   = "N/A",
	.render     = simple_treads,
};

struct effect effect_treads_rainbow = {
	.name       = "rainbow",
	.arg_desc   = "N/A",
	.render     = rainbow_treads,
};

struct effect effect_barrel_off = {
	.name       = "off",
	.arg_desc   = "N/A",
	.render     = off_barrel,
};

struct effect effect_panels_off = {
	.name       = "off",
	.arg_desc   = "N/A",
	.render     = off_panels,
};

struct effect effect_panels_rainbow = {
	.name       = "rainbow",
	.arg_desc   = "N/A",
	.render     = rainbow_panels,
};

struct effect* effects_treads[] = {
	&effect_treads_off,
	&effect_treads_simple,
	&effect_treads_rainbow,
};

struct effect* effects_barrel[] = {
	&effect_barrel_off,
};

struct effect* effects_panels[] = {
	&effect_panels_off,
	&effect_panels_rainbow,
};

struct channel channel_treads = {
	.active      = 0,
	.num_effects = sizeof(effects_treads) / sizeof(*effects_treads),
	.effects     = effects_treads,
};

struct channel channel_barrel = {
	.active      = 0,
	.num_effects = sizeof(effects_barrel) / sizeof(*effects_barrel),
	.effects     = effects_barrel,
};

struct channel channel_panels = {
	.active      = 0,
	.num_effects = sizeof(effects_panels) / sizeof(*effects_panels),
	.effects     = effects_panels,
};
{'fraction_non_alphanumeric': 0.12529719448407037, 'fraction_numerical': 0.0014265335235378032, 'mean_word_length': 3.891860465116279, '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': '3061134', 'n_tokens_mistral': 1622, 'n_tokens_neox': 1533, 'n_words': 356}