<commit_before><?php
/**
 * Plugin Name: GO Crosspost
 * Plugin URI: http://gigaom.com
 * Description: Pings another domain to let it know a new relevant post has been added which
 *              triggers that domain to then pull the data it needs to replicate the post in WP.
 * Author: GigaOM
 * Version: 1.0
 * Author URI: http://gigaom.com/
 */

require_once __DIR__ . '/components/class-go-xpost-migrator.php';
require_once __DIR__ . '/components/class-go-xpost.php';
require_once __DIR__ . '/components/functions.php';

global $goxpost;

// load the business logic we're using and configure
require_once __DIR__ . '/local/class-go-xpost-' .  go_channel()->go_xpost_config .'.php';
$go_xpost_class_name = 'GO_XPost_' . ucfirst( go_channel()->go_xpost_config );
$goxpost = new $go_xpost_class_name( go_channel()->go_xpost_config_url );
unset( $go_xpost_class_name );<commit_msg>Don't try to include a non-existent file.<commit_after><?php
/**
 * Plugin Name: GO Crosspost
 * Plugin URI: http://gigaom.com
 * Description: Pings another domain to let it know a new relevant post has been added which
 *              triggers that domain to then pull the data it needs to replicate the post in WP.
 * Author: GigaOM
 * Version: 1.0
 * Author URI: http://gigaom.com/
 */

require_once __DIR__ . '/components/class-go-xpost-migrator.php';
require_once __DIR__ . '/components/class-go-xpost.php';

global $goxpost;

// load the business logic we're using and configure
require_once __DIR__ . '/local/class-go-xpost-' .  go_channel()->go_xpost_config .'.php';
$go_xpost_class_name = 'GO_XPost_' . ucfirst( go_channel()->go_xpost_config );
$goxpost = new $go_xpost_class_name( go_channel()->go_xpost_config_url );
unset( $go_xpost_class_name );
{'fraction_non_alphanumeric': 0.12298850574712644, 'fraction_numerical': 0.0022988505747126436, 'mean_word_length': 4.135693215339233, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '708645', 'n_tokens_mistral': 593, 'n_tokens_neox': 580, 'n_words': 165}