<commit_before><?hh

class OAuthAuthorize {
  public static function get(): :xhp {
    $oauth = new OAuth();
    $server = $oauth->getOAuthServer();
    $request = OAuth2\Request::createFromGlobals();
    $response = new OAuth2\Response();

    if (!$server->validateAuthorizeRequest($request, $response)) {
        $response->send();
        die;
    }

    return
      <div class="well col-md-6 col-md-offset-3">
        <form method="post">
          <h1>{$server->getAuthorizeController()->getClientId()}</h1>
          <h3>would like to access the folling info:</h3>
          <ul class="list-group">
            <li class="list-group-item">{$server->getAuthorizeController()->getScope()}</li><commit_msg>I can't spell<commit_after><?hh

class OAuthAuthorize {
  public static function get(): :xhp {
    $oauth = new OAuth();
    $server = $oauth->getOAuthServer();
    $request = OAuth2\Request::createFromGlobals();
    $response = new OAuth2\Response();

    if (!$server->validateAuthorizeRequest($request, $response)) {
        $response->send();
        die;
    }

    return
      <div class="well col-md-6 col-md-offset-3">
        <form method="post">
          <h1>{$server->getAuthorizeController()->getClientId()}</h1>
          <h3>would like to access the following info:</h3>
          <ul class="list-group">
            <li class="list-group-item">{$server->getAuthorizeController()->getScope()}</li>
{'fraction_non_alphanumeric': 0.1720505617977528, 'fraction_numerical': 0.011235955056179775, 'mean_word_length': 3.0598290598290596, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 35, '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': '4710966', 'n_tokens_mistral': 448, 'n_tokens_neox': 443, 'n_words': 85}