<commit_before>pragma solidity ^0.4.11;

import "./Verifier.sol";
import "./Verifiable.sol";

/*
 * @title Verifier contract that always returns true
 */
contract IdentityVerifier is Verifier {
    /*
     * @dev Verify implementation that always returns true. Used primarily for testing purposes
     * @param _jobId Job identifier
     * @param _segmentNumber Segment being verified for job
     * @param _code Content-addressed storage hash of binary to execute off-chain
     * @param _dataHash Content-addressed storage hash of input data of segment
     * @param _transcodedDataHash Hash of transcoded segment data
     * @param _callbackContract Address of Verifiable contract to call back
     */
    function verify(
        uint256 _jobId,
        uint256 _claimId,
        uint256 _segmentNumber,
        string _dataHash,
        string _transcodedDataHash,
        address _callbackContract
    )
        external
        payable
        returns (bool)
    {
        // Check if receiveVerification on callback contract succeeded
        if (!Verifiable(_callbackContract).receiveVerification(_jobId, _claimId, _segmentNumber, true)) throw;

        return true;
    }
}<commit_msg>Remove unnecessary throw from IdentityVerifier<commit_after>pragma solidity ^0.4.13;

import "./Verifier.sol";
import "./Verifiable.sol";

/*
 * @title Verifier contract that always returns true
 */
contract IdentityVerifier is Verifier {
    /*
     * @dev Verify implementation that always returns true. Used primarily for testing purposes
     * @param _jobId Job identifier
     * @param _segmentNumber Segment being verified for job
     * @param _code Content-addressed storage hash of binary to execute off-chain
     * @param _dataHash Content-addressed storage hash of input data of segment
     * @param _transcodedDataHash Hash of transcoded segment data
     * @param _callbackContract Address of Verifiable contract to call back
     */
    function verify(
        uint256 _jobId,
        uint256 _claimId,
        uint256 _segmentNumber,
        string _dataHash,
        string _transcodedDataHash,
        address _callbackContract
    )
        external
        payable
        returns (bool)
    {
        // Check if receiveVerification on callback contract succeeded
        Verifiable(_callbackContract).receiveVerification(_jobId, _claimId, _segmentNumber, true);

        return true;
    }
}
{'fraction_non_alphanumeric': 0.06097055163832435, 'fraction_numerical': 0.010783907092492741, 'mean_word_length': 2.9092382495948135, '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': '3214750', 'n_tokens_mistral': 623, 'n_tokens_neox': 601, 'n_words': 222}