<commit_before>generator:
  class: sfPropelGenerator
  param:
    model_class:           sfNestedComment
    theme:                 admin15
    non_verbose_templates: true
    with_show:             false
    singular:              ~
    plural:                ~
    route_prefix:          sf_nested_comment
    with_propel_route:     1
    
    config:
      actions: ~
      fields:
        author_name:      { label: Author }
        content:          { label: Comment }
        commentableTitle: { label: In Response To }
        created_at:       { label: Submitted At }
        author_email:     { label: Email }
        author_url:       { label: Website }
      list:
        title:    List of comments
        display:  [_author_name, _comment, commentableTitle]
        actions:  [ ]
        object_actions:
          _edit: ~
          togglePublish: { name: publish/unpublish, action: togglePublish }
          reply:         { name: Reply, action: new }
          _delete: ~
      filter:
        display: [content, is_moderated]
        fields:
          content:
            widgetOptions: { with_empty: false }
      form:    ~
      edit:
        title: Edit Comment
        display: [author_name, author_email, author_url, content, created_at]
        fields:
          author_name:  { type: plain }
          author_email: { type: plain }
          author_url:   { type: plain }
          created_at:   { type: plain }
          content:
            widgetAttributes: { rows: 20, cols: 100 }
      new:
        title: Reply
        display: [author_name, author_email, author_url, content, user_id]
        fields:
          content:
            widgetAttributes: { rows: 20, cols: 100 }
          author_name:
            widgetClass: sfWidgetFormInputHidden
          author_email:
            widgetClass: sfWidgetFormInputHidden
          author_url:
            widgetClass: sfWidgetFormInputHidden
          user_id:
            widgetClass: sfWidgetFormInputHidden

<commit_msg>generator enhancement<commit_after>generator:
  class: sfPropelGenerator
  param:
    model_class:           sfNestedComment
    theme:                 admin15
    non_verbose_templates: true
    with_show:             false
    singular:              ~
    plural:                ~
    route_prefix:          sf_nested_comment
    with_propel_route:     1
    
    config:
      actions: ~
      fields:
        author_name:      { label: Author }
        content:          { label: Comment }
        commentableTitle: { label: In Response To }
        created_at:       { label: Submitted At }
        author_email:     { label: Email }
        author_url:       { label: Website }
      list:
        max_per_page: 5
        title:    Comments
        display:  [_author_name, _comment, commentableTitle]
        actions:  [ ]
        query_methods: [ recent ]
        object_actions:
          _edit: ~
          togglePublish: { name: publish/unpublish, action: togglePublish }
          reply:         { name: Reply, action: new }
          _delete: ~
      filter:
        class: sfNestedCommentFormFilter
        fields:
          content:
            widgetOptions: { with_empty: false }
      form:    ~
      edit:
        title: Edit Comment
        display: [author_name, author_email, author_url, content]
        fields:
          author_name:  { type: plain }
          author_email: { type: plain }
          author_url:   { type: plain }
          content:
            widgetAttributes: { rows: 20, cols: 100 }
      new:
        title: Reply
        display: [author_name, author_email, author_url, content, user_id]
        fields:
          content:
            widgetAttributes: { rows: 20, cols: 100 }
          author_name:
            widgetClass: sfWidgetFormInputHidden
          author_email:
            widgetClass: sfWidgetFormInputHidden
          author_url:
            widgetClass: sfWidgetFormInputHidden
          user_id:
            widgetClass: sfWidgetFormInputHidden

{'fraction_non_alphanumeric': 0.07027161724395714, 'fraction_numerical': 0.00672813356591079, 'mean_word_length': 1.61328125, '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': '6534180', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1066, 'n_words': 262}