<commit_before><?php

include('../php/file.php');
include('php/htaccess.php');

$user = new User($username);
$experiments = $user->getExperiments();

if ($_REQUEST['password1'] == $_REQUEST['password2']) {
  $ht_password_file = new HTaccess();
  if ($ht_password_file->changePassword($username, $_REQUEST['password'], $_REQUEST['password1'])) {
    $page = 'main';
    $notification = 'Password successfully changed.';
  }
  else {
    $page = 'change_password';
    $notification = 'You entered the incorrect password. Please try agian.';
  }
}
else {
  $page = 'change_password';<commit_msg>No need to pull a list of a user's experiments<commit_after><?php

include('../php/file.php');
include('php/htaccess.php');

$user = new User($username);

if ($_REQUEST['password1'] == $_REQUEST['password2']) {
  $ht_password_file = new HTaccess();
  if ($ht_password_file->changePassword($username, $_REQUEST['password'], $_REQUEST['password1'])) {
    $page = 'main';
    $notification = 'Password successfully changed.';
  }
  else {
    $page = 'change_password';
    $notification = 'You entered the incorrect password. Please try agian.';
  }
}
else {
  $page = 'change_password';
{'fraction_non_alphanumeric': 0.1806615776081425, 'fraction_numerical': 0.005089058524173028, 'mean_word_length': 4.9, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '6482042', 'n_tokens_mistral': 364, 'n_tokens_neox': 364, 'n_words': 84}