<commit_before>pragma solidity ^0.4.13;


/// Use an ethereum address as proof of 2FA instead of a phone number.
contract TwoFactorAuth {
    string public url;
    string public service;

    event Authenticated(address _user);

    function TwoFactorAuth(string _url, string _service) {
        url = _url;
        service = _service;
    }

    function () external {
        Authenticated(msg.sender);
    }

    function authenticate() {
        Authenticated(msg.sender);
    }
}<commit_msg>Add basic doctype comments<commit_after>pragma solidity ^0.4.13;


/// Use an ethereum address as proof of 2FA instead of a phone number.
contract TwoFactorAuth {
    string public url;
    string public service;

    /// @dev The event which logs an Ethereum 2FA call that a server can listen to.
    event Authenticated(address _user);

    /// Set the url and service strings on construction.
    /// @param _url The url this contract is intended to provide 2FA for.
    /// @param _service The name of the service this contract intends to provide 2FA for.
    function TwoFactorAuth(string _url, string _service) {
        url = _url;
        service = _service;
    }

    /// Default function rejects payments but has enough gas to authenticate users.
    function () external {
        Authenticated(msg.sender);
    }

    /// Authenticate a user.
    function authenticate() {
        Authenticated(msg.sender);
    }
}
{'fraction_non_alphanumeric': 0.07929824561403509, 'fraction_numerical': 0.009122807017543859, 'mean_word_length': 2.6470588235294117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7219232', 'n_tokens_mistral': 410, 'n_tokens_neox': 383, 'n_words': 150}