<commit_before><%page args="evtType=None, confObj=None"/>
<%

# maybe all of this should be moved to the W* class?

from MaKaC.fossils.conference import IConferenceFossil
import MaKaC.webinterface.webFactoryRegistry as webFactoryRegistry
import MaKaC.webinterface.urlHandlers as urlHandlers
import MaKaC.webinterface.displayMgr as displayMgr
from xml.sax.saxutils import escape

wr = webFactoryRegistry.WebFactoryRegistry()
typeList = { "conference" : "conference" }
for fact in wr.getFactoryList():
    val = fact.getId()

    if val == 'simple_event':
        val = 'lecture'

    typeList[fact.getId()] = val

visibilityList = {}
topcat = confObj.getOwnerList()[0]
level = 0
visibilityList[0] = 'Nowhere'
while topcat:
    level += 1
    if topcat.getId() != "0":<commit_msg>Remove missed displayMgr reference<commit_after><%page args="evtType=None, confObj=None"/>
<%

# maybe all of this should be moved to the W* class?

from MaKaC.fossils.conference import IConferenceFossil
import MaKaC.webinterface.webFactoryRegistry as webFactoryRegistry
import MaKaC.webinterface.urlHandlers as urlHandlers
from xml.sax.saxutils import escape

wr = webFactoryRegistry.WebFactoryRegistry()
typeList = { "conference" : "conference" }
for fact in wr.getFactoryList():
    val = fact.getId()

    if val == 'simple_event':
        val = 'lecture'

    typeList[fact.getId()] = val

visibilityList = {}
topcat = confObj.getOwnerList()[0]
level = 0
visibilityList[0] = 'Nowhere'
while topcat:
    level += 1
    if topcat.getId() != "0":
{'fraction_non_alphanumeric': 0.11402359108781127, 'fraction_numerical': 0.00655307994757536, 'mean_word_length': 4.7406015037593985, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6536313', 'n_tokens_mistral': 508, 'n_tokens_neox': 499, 'n_words': 130}