<commit_before>#!/usr/bin/env bash
# Prints the local network IP address.
if [ "$PLATFORM" == "mac" ]; then
	nic0="en0"
	nic1="en1"
	ip0=$(/sbin/ifconfig ${nic0} | grep 'inet ')
	ip1=$(/sbin/ifconfig ${nic1} | grep 'inet ')
else
	nic0="eth0"
	nic1="wlan0"
	ip0=$(/sbin/ifconfig ${nic0} | grep 'inet addr:')
	ip1=$(/sbin/ifconfig ${nic1} | grep 'inet addr:')
fi
if [ -n "$ip0" ]; then
	lan_ip="$ip0"
elif [ -n "$ip1" ]; then
	lan_ip="$ip1"<commit_msg>ignore warning when network interface is not found<commit_after>#!/usr/bin/env bash
# Prints the local network IP address.
if [ "$PLATFORM" == "mac" ]; then
	nic0="en0"
	nic1="en1"
	ip0=$(/sbin/ifconfig ${nic0} 2>/dev/null | grep 'inet ')
	ip1=$(/sbin/ifconfig ${nic1} 2>/dev/null } | grep 'inet ')
else
	nic0="eth0"
	nic1="wlan0"
	ip0=$(/sbin/ifconfig ${nic0}} 2>/dev/null | grep 'inet addr:')
	ip1=$(/sbin/ifconfig ${nic1}} 2>/dev/null | grep 'inet addr:')
fi
if [ -n "$ip0" ]; then
	lan_ip="$ip0"
elif [ -n "$ip1" ]; then
	lan_ip="$ip1"
{'fraction_non_alphanumeric': 0.22548028311425683, 'fraction_numerical': 0.044489383215369056, 'mean_word_length': 4.294117647058823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5172833', 'n_tokens_mistral': 447, 'n_tokens_neox': 430, 'n_words': 102}