<commit_before># coding: utf-8

require 'ftpd/active_socket'
require 'ftpd/passive_socket'
require 'stringio'
require 'tempfile'

module FTPD
  class Handler

    COMMANDS = %w[quit type user retr stor eprt port cdup cwd dele rmd pwd
                  list size syst mkd pass xcup xpwd xcwd xrmd rest allo nlst
                  pasv epsv help noop mode rnfr rnto stru feat mdtm]

    REQUIRE_AUTH  = %w[cdup xcup cwd xcwd eprt epsv mode nlst list mdtm pasv port
                       pwd xpwd retr size stor stru syst type]<commit_msg>the FEAT command isn't implemented<commit_after># coding: utf-8

require 'ftpd/active_socket'
require 'ftpd/passive_socket'
require 'stringio'
require 'tempfile'

module FTPD
  class Handler

    COMMANDS = %w[quit type user retr stor eprt port cdup cwd dele rmd pwd
                  list size syst mkd pass xcup xpwd xcwd xrmd rest allo nlst
                  pasv epsv help noop mode rnfr rnto stru mdtm]

    REQUIRE_AUTH  = %w[cdup xcup cwd xcwd eprt epsv mode nlst list mdtm pasv port
                       pwd xpwd retr size stor stru syst type]
{'fraction_non_alphanumeric': 0.044954128440366975, 'fraction_numerical': 0.001834862385321101, 'mean_word_length': 2.6125827814569536, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2805377', 'n_tokens_mistral': 392, 'n_tokens_neox': 372, 'n_words': 144}