<commit_before>"""Smoke Form"""

from datetime import datetime

from tw2.forms import FormPage, ListForm, CalendarDateTimePicker, TextArea
from tw2.core import DateTimeValidator, Required


class SmokeForm(FormPage):
    title = ''
    class child(ListForm):
        action = '/register_smoke'
        date = CalendarDateTimePicker(value=datetime.now())
        justification = TextArea(validator=Required)<commit_msg>This seems specific to this type of widget<commit_after>"""Smoke Form"""

from datetime import datetime

from tw2.forms import FormPage, ListForm, CalendarDateTimePicker, TextArea
from tw2.core import DateTimeValidator, Required


class SmokeForm(FormPage):
    title = ''
    class child(ListForm):
        action = '/register_smoke'
        date = CalendarDateTimePicker(required=True)
        justification = TextArea(validator=Required)
{'fraction_non_alphanumeric': 0.08741258741258741, 'fraction_numerical': 0.004662004662004662, 'mean_word_length': 4.61437908496732, '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': '1431859', 'n_tokens_mistral': 230, 'n_tokens_neox': 224, 'n_words': 64}