<commit_before>from django.contrib.auth.models import User
from django import newforms as forms
from models import FreeThreadedComment, ThreadedComment

class ThreadedCommentForm(forms.ModelForm):
    
    class Meta:
        model = ThreadedComment
        fields = ('comment',)

class FreeThreadedCommentForm(forms.ModelForm):
    
    class Meta:
        model = FreeThreadedComment
        fields = ('comment', 'name', 'website', 'email')<commit_msg>Added tests for auto_transform_markup and commented all template tags.<commit_after>from django.contrib.auth.models import User
from django import newforms as forms
from models import FreeThreadedComment, ThreadedComment

class ThreadedCommentForm(forms.ModelForm):
    """
    Form which can be used to validate data for a new ThreadedComment.
    It consists of just one field: Comment.  I'm not e
    """
    class Meta:
        model = ThreadedComment
        fields = ('comment', 'markup')

class FreeThreadedCommentForm(forms.ModelForm):
    """
    Form which can be used to validate data for a new FreeThreadedComment.
    """
    class Meta:
        model = FreeThreadedComment
        fields = ('comment', 'name', 'website', 'email', 'markup')
{'fraction_non_alphanumeric': 0.08367854183927093, 'fraction_numerical': 0.0, 'mean_word_length': 3.646153846153846, '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': '5293282', 'n_tokens_mistral': 319, 'n_tokens_neox': 315, 'n_words': 111}