<commit_before>#!/bin/bash

if ! [ -d "./html" ]; then
  containerid=$(docker ps | grep addressfindermagento_app | awk '{print $1}')
  echo 'Copying Magento files to your local machine'
  docker cp $containerid:/var/www/html ./
fi

if ! [ -L "./html/app/code/AddressFinder" ]; then
  echo 'Symlinking the AddressFinder module'
  ln -s ../../../AddressFinder/ html/app/code/AddressFinder
fi

echo 'Uncommenting app volumes in docker-compose.yml'
sed -i '/# - ./html/app/code/c\- ./html/app/code' docker-compose.yml
sed -i '/# - ./html/app/design/c\- ./html/app/design' docker-compose.yml<commit_msg>Update the post-setup script to fix uncommenting<commit_after>#!/bin/bash

if ! [ -d "./html" ]; then
  containerid=$(docker ps | grep addressfindermagento_app | awk '{print $1}')
  echo 'Copying Magento files to your local machine'
  docker cp $containerid:/var/www/html ./
fi

if ! [ -L "./html/app/code/AddressFinder" ]; then
  echo 'Symlinking the AddressFinder module'
  ln -s ../../../AddressFinder/ html/app/code/AddressFinder
fi

echo 'Uncommenting app volumes in docker-compose.yml'
sed -i '' 's/# - \.\/html\/app/- .\/html\/app/' docker-compose.yml
{'fraction_non_alphanumeric': 0.17214532871972318, 'fraction_numerical': 0.0017301038062283738, 'mean_word_length': 3.207272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6148313', 'n_tokens_mistral': 418, 'n_tokens_neox': 396, 'n_words': 109}