<jupyter_start><jupyter_text>Generic DKRZ national archive form This form is intended to provide a generic template for interactive forms e.g. for testing ... to be finalized ...<jupyter_code># please edit the (red) information below: Name, email and project the data belongs to
from dkrz_forms import form_handler
my_project = "DKRZ_CDP"

my_first_name = "...."  # example: sf.first_name = "Harold"
my_last_name = "...."   # example: sf.last_name = "Mitty"
my_email = "...."       # example: sf.email = "<EMAIL>"
my_keyword = "...."     # example: sf.keyword = "mymodel_myrunid"

sf = form_handler.init_form(my_project,my_first_name,my_last_name,my_email,my_keyword)<jupyter_output><empty_output><jupyter_text>Edit form information<jupyter_code>sf.myattribute = "myinformation"<jupyter_output><empty_output><jupyter_text>Save your formyour form will be stored (the form name consists of your last name plut your keyword)<jupyter_code>form_handler.save_form(sf,"..my comment..") # edit my comment info<jupyter_output><empty_output><jupyter_text>officially submit your formthe form will be submitted to the DKRZ team to processyou also receive a confirmation email with a reference to your online form for future modifications<jupyter_code>form_handler.email_form_info(sf)
form_handler.form_submission(sf)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10119940029985007, 'fraction_numerical': 0.0, 'mean_word_length': 6.063492063492063, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '171572', 'license': 'Apache-2.0', 'n_tokens_mistral': 438, 'n_tokens_neox': 424, 'n_words': 116, 'path': 'test/forms/test/test_ki_222.ipynb', 'repo_name': 'IS-ENES-Data/submission_forms', 'size': '1345'}