<commit_before><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>SpyParty Tournament Drafting</title>

    <link href="static/css/bootstrap.min.css" rel="stylesheet">

    <script type="text/javascript" src="//code.jquery.com/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js"></script>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function(){
            namespace = '/test'; // change to an empty string to use the global namespace

            // the socket.io documentation recommends sending an explicit package upon connection
            // this is specially important when using the global namespace
            var socket = io.connect('http://' + document.domain + ':' + location.port + namespace);

            var username = "";
            var draft_id = "";

            var handle_create_success = function(msg) {
                console.log('got join success message');
                var room_id = msg['room_id'];
                $('#create_button').attr('disabled', 'disabled');
                $('#username').attr('disabled', 'disabled');
                $('#room').html('You are in room <b>' + room_id + '</b>.  Give this room to your oppnent.<br />');
            };

            var handle_join_success = function(msg) {
                console.log('joined room');
                var room_id = msg['room_id'];
                $('#join_error').html('');
                $('#room').html('You are in room <b>' + room_id + '</b>');
            };

            var handle_room_broadcast = function(msg) {
                console.log('handling room broadcast');
                $('#room').append(msg['msg']);
                $('#room').append('<br />');
            };

            var handle_draft_start = function(msg) {
                console.log('handling draft start');

                draft_id = msg['room_id'];

                var coin_flip_el = $('#coin_flip');

                if (username === msg['player_one']) {<commit_msg>added the other O to opponent<commit_after><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>SpyParty Tournament Drafting</title>

    <link href="static/css/bootstrap.min.css" rel="stylesheet">

    <script type="text/javascript" src="//code.jquery.com/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js"></script>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function(){
            namespace = '/test'; // change to an empty string to use the global namespace

            // the socket.io documentation recommends sending an explicit package upon connection
            // this is specially important when using the global namespace
            var socket = io.connect('http://' + document.domain + ':' + location.port + namespace);

            var username = "";
            var draft_id = "";

            var handle_create_success = function(msg) {
                console.log('got join success message');
                var room_id = msg['room_id'];
                $('#create_button').attr('disabled', 'disabled');
                $('#username').attr('disabled', 'disabled');
                $('#room').html('You are in room <b>' + room_id + '</b>.  Give this room to your opponent.<br />');
            };

            var handle_join_success = function(msg) {
                console.log('joined room');
                var room_id = msg['room_id'];
                $('#join_error').html('');
                $('#room').html('You are in room <b>' + room_id + '</b>');
            };

            var handle_room_broadcast = function(msg) {
                console.log('handling room broadcast');
                $('#room').append(msg['msg']);
                $('#room').append('<br />');
            };

            var handle_draft_start = function(msg) {
                console.log('handling draft start');

                draft_id = msg['room_id'];

                var coin_flip_el = $('#coin_flip');

                if (username === msg['player_one']) {
{'fraction_non_alphanumeric': 0.16297291246921872, 'fraction_numerical': 0.004029550033579583, 'mean_word_length': 2.142053445850914, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '4893230', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1183, 'n_words': 275}