<commit_before># -*- coding: utf-8; mode: cython -*-
# distutils: language = c++
# distutils: extra_compile_args = ['-std=c++11']

from libc.stdlib cimport malloc
from libcpp.vector cimport vector
from cvodes_cxx cimport Adams
from cvodes_anyode cimport simple_adaptive
cimport numpy as cnp

cdef extern from "numpy/arrayobject.h":
    void PyArray_ENABLEFLAGS(cnp.ndarray arr, int flags)

cnp.import_array()  # Numpy C-API initialization

cdef extern from "testing_utils.hpp":
    cppclass Decay[T]:
        Decay(T)


cdef class PyDecay:
    cdef Decay[double] *thisptr<commit_msg>Use C++14<commit_after># -*- coding: utf-8; mode: cython -*-
# distutils: language = c++
# distutils: extra_compile_args = ['-std=c++14']

from libc.stdlib cimport malloc
from libcpp.vector cimport vector
from cvodes_cxx cimport Adams
from cvodes_anyode cimport simple_adaptive
cimport numpy as cnp

cdef extern from "numpy/arrayobject.h":
    void PyArray_ENABLEFLAGS(cnp.ndarray arr, int flags)

cnp.import_array()  # Numpy C-API initialization

cdef extern from "testing_utils.hpp":
    cppclass Decay[T]:
        Decay(T)


cdef class PyDecay:
    cdef Decay[double] *thisptr
{'fraction_non_alphanumeric': 0.10327022375215146, 'fraction_numerical': 0.0068846815834767644, 'mean_word_length': 4.538095238095238, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, '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': '206472', 'n_tokens_mistral': 415, 'n_tokens_neox': 399, 'n_words': 114}