<commit_before>#include "neonrequest.hpp"

#include <logger/davix_logger_internal.h>
#include <libs/time_utils.h>
#include <ne_redirect.h>
#include <ne_request.h>
#include <neon/neonsession.hpp>
#include <fileops/fileutils.hpp>
#include <request/httpcachetoken_internal.hpp>
#include <memory>
#include <ext/algorithm>
#include <iterator>
#include <sstream>
#include <cstring>
#include <limits>


namespace Davix {



static void neonrequest_eradicate_session(NEONSession& sess, DavixError ** err){
    if(err && *err && (*err)->getStatus() == StatusCode::ConnectionProblem){
        DAVIX_DEBUG("Connexion problem: eradicate session.....");<commit_msg>- remove dependency to ext/algorithm, compilation problem with clang<commit_after>#include "neonrequest.hpp"

#include <config.h>
#include <logger/davix_logger_internal.h>
#include <libs/time_utils.h>
#include <ne_redirect.h>
#include <ne_request.h>
#include <neon/neonsession.hpp>
#include <fileops/fileutils.hpp>
#include <request/httpcachetoken_internal.hpp>
#include <memory>
#include <algorithm>
#include <iterator>
#include <sstream>
#include <cstring>
#include <limits>


namespace Davix {



static void neonrequest_eradicate_session(NEONSession& sess, DavixError ** err){
    if(err && *err && (*err)->getStatus() == StatusCode::ConnectionProblem){
        DAVIX_DEBUG("Connexion problem: eradicate session.....");
{'fraction_non_alphanumeric': 0.14545454545454545, 'fraction_numerical': 0.0, 'mean_word_length': 6.437837837837838, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 32, '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': '6240984', 'n_tokens_mistral': 467, 'n_tokens_neox': 445, 'n_words': 97}