<commit_before>#include "hnetd.h"
#include "sput.h"
#include "smock.h"

#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>

#include "prefix_utils.c"
#include "iface.c"

void pa_iface_subscribe(__unused pa_t pa, __unused const struct pa_iface_callbacks *cb) {}
void platform_set_owner(__unused struct iface *c, __unused bool enable) {}
int platform_init(void) { return 0; }
void platform_set_address(__unused struct iface *c, __unused struct iface_addr *addr, __unused bool enable) {}
void platform_set_route(__unused struct iface *c, __unused struct iface_route *addr, __unused bool enable) {}
void platform_iface_free(__unused struct iface *c) {}
void platform_set_internal(__unused struct iface *c, __unused bool internal) {}
void platform_iface_new(__unused struct iface *c, __unused const char *handle) { c->platform = (void*)1; }<commit_msg>test_iface correct<commit_after>#include "hnetd.h"
#include "sput.h"
#include "smock.h"

#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>

#include "prefix_utils.c"
#include "iface.c"

void pa_data_subscribe(__unused struct pa_data *data, __unused struct pa_data_user *user) {}
void platform_set_owner(__unused struct iface *c, __unused bool enable) {}
int platform_init(void) { return 0; }
void platform_set_address(__unused struct iface *c, __unused struct iface_addr *addr, __unused bool enable) {}
void platform_set_route(__unused struct iface *c, __unused struct iface_route *addr, __unused bool enable) {}
void platform_iface_free(__unused struct iface *c) {}
void platform_set_internal(__unused struct iface *c, __unused bool internal) {}
void platform_iface_new(__unused struct iface *c, __unused const char *handle) { c->platform = (void*)1; }
{'fraction_non_alphanumeric': 0.10878417684700407, 'fraction_numerical': 0.002326934264107039, 'mean_word_length': 6.962962962962963, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '6914382', 'n_tokens_mistral': 564, 'n_tokens_neox': 598, 'n_words': 171}