<commit_before>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;

namespace Bugsnag.Payload
{
  public class Report : Dictionary<string, object>, IPayload
  {
    private static readonly string _payloadVersion = "4.0";

    /// <summary>
    /// The maximum size of the serialized payload which can be sent
    /// to Bugsnag. The report will be trimmed if it exceeds this size.
    /// </summary>
    private static readonly int MaximumSize = 1024 * 1024;

    private readonly KeyValuePair<string, string>[] _headers;

    private readonly System.Exception _originalException;

    private readonly HandledState _originalSeverity;

    private readonly IConfiguration _configuration;<commit_msg>Revert "Fix payload version header"<commit_after>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;

namespace Bugsnag.Payload
{
  public class Report : Dictionary<string, object>, IPayload
  {
    private static readonly string _payloadVersion = "4";

    /// <summary>
    /// The maximum size of the serialized payload which can be sent
    /// to Bugsnag. The report will be trimmed if it exceeds this size.
    /// </summary>
    private static readonly int MaximumSize = 1024 * 1024;

    private readonly KeyValuePair<string, string>[] _headers;

    private readonly System.Exception _originalException;

    private readonly HandledState _originalSeverity;

    private readonly IConfiguration _configuration;
{'fraction_non_alphanumeric': 0.07543391188251002, 'fraction_numerical': 0.012683578104138851, 'mean_word_length': 3.866883116883117, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3841319', 'n_tokens_mistral': 401, 'n_tokens_neox': 369, 'n_words': 145}