<commit_before>
create_release() {
  local token="$1";
  local owner="$2";
  local repo="$3";
  local tag_name="$4";
  local target_commitish="$5";
  local name="$6";
  local body="$7";
  local draft="$8";
  local prerelease="$9";

  local payload="\"tag_name\":\"$tag_name\"";

  if [ -n "$target_commitish" ]; then
    payload="$payload,\"target_commitish\":\"$target_commitish\"";
  fi;

  if [ -n "$name" ]; then
    payload="$payload,\"name\":\"$name\"";
  fi;

  if [ -n "$body" ]; then
    payload="$payload,\"body\":\"$body\"";
  fi;

  if [ -n "$draft" ]; then
    payload="$payload,\"draft\":\"$draft\"";
  fi;

  if [ -n "$prerelease" ]; then
    payload="$payload,\"prerelease\":\"$prerelease\"";
  fi;

  payload="\{$payload\}";

  curl --fail -X POST https://api.github.com/repos/$owner/$repo/releases \
    -A "wercker-create-release" \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token $token" \
    -H "Content-Type: application/json" \
    -d "$payload";

  echo "curl exit $?";
}<commit_msg>Add more debug<commit_after>
create_release() {
  local token="$1";
  local owner="$2";
  local repo="$3";
  local tag_name="$4";
  local target_commitish="$5";
  local name="$6";
  local body="$7";
  local draft="$8";
  local prerelease="$9";

  local payload="\"tag_name\":\"$tag_name\"";

  if [ -n "$target_commitish" ]; then
    payload="$payload,\"target_commitish\":\"$target_commitish\"";
  fi;

  if [ -n "$name" ]; then
    payload="$payload,\"name\":\"$name\"";
  fi;

  if [ -n "$body" ]; then
    payload="$payload,\"body\":\"$body\"";
  fi;

  if [ -n "$draft" ]; then
    payload="$payload,\"draft\":\"$draft\"";
  fi;

  if [ -n "$prerelease" ]; then
    payload="$payload,\"prerelease\":\"$prerelease\"";
  fi;

  payload="\{$payload\}";

  echo $payload

  curl --fail -X POST https://api.github.com/repos/$owner/$repo/releases \
    -A "wercker-create-release" \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token $token" \
    -H "Content-Type: application/json" \
    -d "$payload";

  echo "curl exit $?";
}
{'fraction_non_alphanumeric': 0.23711832061068702, 'fraction_numerical': 0.009541984732824428, 'mean_word_length': 3.194, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '25140', 'n_tokens_mistral': 779, 'n_tokens_neox': 740, 'n_words': 154}