<commit_before><?php

namespace app\statistics\metrics;

class SiteSessionMetric extends AbstractStat
{
	function name()
	{
		return 'Session Adapter';
	}

	function granularity()
	{
		return STATISTIC_GRANULARITY_DAY;
	}

	function type()
	{
		return STATISTIC_TYPE_VOLUME;
	}

	function span()
	{
		return 2;
	}

	function hasChart()
	{
		return false;
	}

	function hasDelta()
	{
		return false;
	}

	function shouldBeCaptured()
	{
		return false;
	}

	function value( $start, $end )
	{
		return $this->app[ 'config' ]->get( 'session.adapter' );
	}
}<commit_msg>bugfix in sessions metric<commit_after><?php

namespace app\statistics\metrics;

class SiteSessionMetric extends AbstractStat
{
	function name()
	{
		return 'Session Adapter';
	}

	function granularity()
	{
		return STATISTIC_GRANULARITY_DAY;
	}

	function type()
	{
		return STATISTIC_TYPE_VOLUME;
	}

	function span()
	{
		return 2;
	}

	function hasChart()
	{
		return false;
	}

	function hasDelta()
	{
		return false;
	}

	function shouldBeCaptured()
	{
		return false;
	}

	function value( $start, $end )
	{
		return $this->app[ 'config' ]->get( 'sessions.adapter' );
	}
}
{'fraction_non_alphanumeric': 0.12073490813648294, 'fraction_numerical': 0.0017497812773403325, 'mean_word_length': 3.7666666666666666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1453783', 'n_tokens_mistral': 456, 'n_tokens_neox': 422, 'n_words': 93}