<commit_before><?php defined('SYSPATH') OR die('No direct script access.');

/**
 * @package    openbuildings\site-versions
 * @author     <NAME> <<EMAIL>>
 * @copyright  (c) 2013 OpenBuildings Ltd.
 * @license    http://spdx.org/licenses/BSD-3-Clause
 */
class Kohana_Jam_Behavior_Visitor_User extends Jam_Behavior {

	/**
	 * @codeCoverageIgnore
	 */
	public function initialize(Jam_Meta $meta, $name)
	{
		parent::initialize($meta, $name);

		$meta
			->association('current_visitor', Jam::association('hasone', array(
				'foreign_model' => 'user', 
				'inverse_of' => 'purchase',
				'foreign_key' => 'purchase_id',
			)));
	}
}
<commit_msg>fix regression<commit_after><?php defined('SYSPATH') OR die('No direct script access.');

/**
 * @package    openbuildings\site-versions
 * @author     <NAME> <<EMAIL>>
 * @copyright  (c) 2013 OpenBuildings Ltd.
 * @license    http://spdx.org/licenses/BSD-3-Clause
 */
class Kohana_Jam_Behavior_Visitor_Purchase extends Jam_Behavior {

	/**
	 * @codeCoverageIgnore
	 */
	public function initialize(Jam_Meta $meta, $name)
	{
		parent::initialize($meta, $name);

		$meta
			->association('current_visitor', Jam::association('hasone', array(
				'foreign_model' => 'user', 
				'inverse_of' => 'purchase',
				'foreign_key' => 'purchase_id',
			)));
	}
}

{'fraction_non_alphanumeric': 0.16936104695919937, 'fraction_numerical': 0.007698229407236336, 'mean_word_length': 4.2, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '1208714', 'n_tokens_mistral': 496, 'n_tokens_neox': 438, 'n_words': 83}