<commit_before>import Foundation

struct MVitaPtpMessageOutSendResult:MVitaPtpMessageOutProtocol
{
    let data:Data
    
    init(
        event:MVitaPtpMessageInEvent,
        result:MVitaPtpResult)
    {
        let builder:MVitaPtpMessageOutBuilder = MVitaPtpMessageOutBuilder()
        builder.append(value:MVitaPtpType.command.rawValue)
        builder.append(value:MVitaPtpDataPhase.none.rawValue)
        builder.append(value:MVitaPtpCommand.sendResult.rawValue)
        builder.appendTransactionId()
        builder.append(value:event.eventId)
        builder.append(value:result.rawValue)
        
        data = builder.export()
    }
}<commit_msg>Update send result with parameters<commit_after>import Foundation

struct MVitaPtpMessageOutSendResult:MVitaPtpMessageOutProtocol
{
    let data:Data
    
    init(
        event:MVitaPtpMessageInEvent,
        result:MVitaPtpResult,
        parameters:[UInt32])
    {
        let builder:MVitaPtpMessageOutBuilder = MVitaPtpMessageOutBuilder()
        builder.append(value:MVitaPtpType.command.rawValue)
        builder.append(value:MVitaPtpDataPhase.none.rawValue)
        builder.append(value:MVitaPtpCommand.sendResult.rawValue)
        builder.appendTransactionId()
        builder.append(value:event.eventId)
        builder.append(value:result.rawValue)
        
        for parameter:UInt32 in parameters
        {
            builder.append(value:parameter)
        }
        
        data = builder.export()
    }
}
{'fraction_non_alphanumeric': 0.07884097035040431, 'fraction_numerical': 0.0026954177897574125, 'mean_word_length': 3.024390243902439, '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': '1557711', 'n_tokens_mistral': 454, 'n_tokens_neox': 431, 'n_words': 50}