<commit_before>from libcpp.vector cimport vector
from libcpp.utility cimport pair

from microscopes._shared_ptr_h cimport shared_ptr, static_pointer_cast
from microscopes.common._entity_state_h cimport \
        fixed_entity_based_state_object as c_fixed_entity_based_state_object, \
        entity_based_state_object as c_entity_based_state_object
from microscopes.common._rng cimport rng

cdef class fixed_entity_based_state_object:
    cdef shared_ptr[c_fixed_entity_based_state_object] _thisptr
    cdef void set_fixed(self, const shared_ptr[c_fixed_entity_based_state_object] &o)
    cdef public list _models # list of model_descriptor objects
    cdef object _refs # used to hold references

cdef class entity_based_state_object(fixed_entity_based_state_object):
    cdef void set_fixed(self, const shared_ptr[c_fixed_entity_based_state_object] &o)
    cdef void set_entity(self, const shared_ptr[c_entity_based_state_object] &o)
    cdef shared_ptr[c_entity_based_state_object] px(self)
    cdef c_entity_based_state_object * raw_px(self)
<commit_msg>Remove fixed references from _entity_state.pxd<commit_after>from libcpp.vector cimport vector
from libcpp.utility cimport pair

from microscopes._shared_ptr_h cimport shared_ptr, static_pointer_cast
from microscopes.common._entity_state_h cimport \
        entity_based_state_object as c_entity_based_state_object
from microscopes.common._rng cimport rng


cdef class entity_based_state_object():
    cdef c_entity_based_state_object * raw_px(self)
    cdef shared_ptr[c_entity_based_state_object] _thisptr
    cdef public list _models # list of model_descriptor objects
    cdef object _refs # used to hold references

{'fraction_non_alphanumeric': 0.04174120453190221, 'fraction_numerical': 0.0, 'mean_word_length': 6.264069264069264, 'pattern_counts': {'":': 0, '<': 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': '4652260', 'n_tokens_mistral': 539, 'n_tokens_neox': 530, 'n_words': 125}