<commit_before>typealias Verb UInt8

const GET    = 1  |> Verb
const PUT    = 2  |> Verb
const POST   = 4  |> Verb
const DELETE = 8  |> Verb
const PATCH  = 16 |> Verb

const STI = Dict(
  "GET"    =>  GET,
  "PUT"    =>  PUT,
  "POST"   =>  POST,
  "DELETE" =>  DELETE,
  "PATCH"  =>  PATCH
)

"""
for cases when an endpoint can many different verbs
"""
function proper_method(verb, map)
  in(verb, map |> keys) && return map[verb]


  for v in keys(map)<commit_msg>moding the verbs<commit_after>typealias Verb UInt8

const GET    = 1 << 0 |> Verb
const PUT    = 1 << 1 |> Verb
const POST   = 1 << 2 |> Verb
const DELETE = 1 << 3 |> Verb
const PATCH  = 1 << 4 |> Verb

const STI = Dict(
  "GET"    =>  GET,
  "PUT"    =>  PUT,
  "POST"   =>  POST,
  "DELETE" =>  DELETE,
  "PATCH"  =>  PATCH
)

"""
for cases when an endpoint can many different verbs
"""
function proper_method(verb, map)
  in(verb, map |> keys) && return map[verb]

  for v in keys(map)
{'fraction_non_alphanumeric': 0.14675052410901468, 'fraction_numerical': 0.018867924528301886, 'mean_word_length': 2.7598425196850394, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 25, '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': '5122553', 'n_tokens_mistral': 408, 'n_tokens_neox': 372, 'n_words': 120}