<commit_before><?php
/**
 * To run this:
 * drush --user=1 php-script ./bc2oa.php 
 *
 * This is a single-purpose script for importing BaseCamp XML data into
 * an OpenAtrium project. It is not intended as a single solution for 
 * all environments, but as a starting point for you to create your own solution.
 */
require 'QueryPath/QueryPath.php';

// ==== SETTINGS ====

// The BaseCamp XML file to read
$file = 'spinehealth-20100507143515.xml.foo';

// The formatter used for content.
$default_format = 5;

// The NID of the project to assign cases to.
$default_project_id = 297;
<commit_msg>Fixed file name.<commit_after><?php
/**
 * To run this:
 * drush --user=1 php-script ./bc2oa.php 
 *
 * This is a single-purpose script for importing BaseCamp XML data into
 * an OpenAtrium project. It is not intended as a single solution for 
 * all environments, but as a starting point for you to create your own solution.
 */
require 'QueryPath/QueryPath.php';

// ==== SETTINGS ====

// The BaseCamp XML file to read
$file = 'basecamp-export.xml';

// The formatter used for content.
$default_format = 5;

// The NID of the project to assign cases to.
$default_project_id = 297;

{'fraction_non_alphanumeric': 0.11016949152542373, 'fraction_numerical': 0.022033898305084745, 'mean_word_length': 3.4904942965779466, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '586717', 'n_tokens_mistral': 387, 'n_tokens_neox': 362, 'n_words': 150}