<commit_before><?php

namespace Gatekeeper;

use Gatekeeper\Metrics\Metrics;


$Endpoint = $_EVENT['request']->getEndpoint();
$userIdentifier = $_EVENT['request']->getUserIdentifier();


// build identifier string for current user
$_EVENT['metrics']['endpoint-requests'] = Metrics::appendCounter("endpoints/$Endpoint->ID/requests");
$_EVENT['metrics']['endpoint-user-requests'] = Metrics::appendCounter("endpoints/$Endpoint->ID/users/$userIdentifier/requests");<commit_msg>updated lingering camel-free metric key<commit_after><?php

namespace Gatekeeper;

use Gatekeeper\Metrics\Metrics;


$Endpoint = $_EVENT['request']->getEndpoint();
$userIdentifier = $_EVENT['request']->getUserIdentifier();


// build identifier string for current user
$_EVENT['metrics']['endpointRequests'] = Metrics::appendCounter("endpoints/$Endpoint->ID/requests");
$_EVENT['metrics']['endpointUserRequests'] = Metrics::appendCounter("endpoints/$Endpoint->ID/users/$userIdentifier/requests");
{'fraction_non_alphanumeric': 0.17337461300309598, 'fraction_numerical': 0.0, 'mean_word_length': 9.210526315789474, 'pattern_counts': {'":': 0, '<': 5, '<?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': '423032', 'n_tokens_mistral': 254, 'n_tokens_neox': 251, 'n_words': 41}