<commit_before>package api;
syntax = "proto3";

message Credentials {
  message Aws {
    string accessKeyId = 1;
    string secretAccessKey = 2;
    string sessionToken = 3;
    string expiration = 4;
  }
  message S3Post {
    string AWSAccessKeyId = 1;
    string policy = 2;
    string signature = 3;
    string acl = 4;
  }
  Aws aws = 1;
  S3Post s3Post = 2;
  string bucket = 3;
  string region = 4;
}

message SecretboxRecord {
  bytes encryptedData = 1;
  uint32 counter = 2;
  bytes nonceRandom = 3;
}

message SyncRecord {
  enum Action {
    CREATE = 0;
    UPDATE = 1;
    DELETE = 2;
  }
  message Site {
    string location = 1;
    string title = 2;
    string customTitle = 3;
    uint64 lastAccessedTime = 4;
    uint64 creationTime = 5;
  }
  message Bookmark {
    Site site = 1;
    bool isFolder = 2;
    uint32 folderId = 3;
    uint32 parentFolderId = 4;
  }
  message SiteSetting {
    string hostPattern = 1;
    int32 zoomLevel = 2;
    bool shieldsUp = 3;
    enum AdControl {
      SHOW_BRAVE_ADS = 0;
      BLOCK_ADS = 1;
      ALLOW_ADS_AND_TRACKING = 2;
    }
    enum CookieControl {
      BLOCK_THIRD_PARTY_COOKIE = 0;
      ALLOW_ALL_COOKIES = 1;
    }
    AdControl adControl = 4;
    CookieControl cookieControl = 5;
    bool safeBrowsing = 6;
    bool noScript = 7;
    bool httpsEverywhere = 8;
    bool fingerprintingProtection = 9;
    bool ledgerPayments = 10;
    bool ledgerPaymentsShown = 11;
  }
  message Device {
    string name = 1;
  }
  Action action = 1;<commit_msg>Change SiteSetting.zoomLevel from int32 to float<commit_after>package api;
syntax = "proto3";

message Credentials {
  message Aws {
    string accessKeyId = 1;
    string secretAccessKey = 2;
    string sessionToken = 3;
    string expiration = 4;
  }
  message S3Post {
    string AWSAccessKeyId = 1;
    string policy = 2;
    string signature = 3;
    string acl = 4;
  }
  Aws aws = 1;
  S3Post s3Post = 2;
  string bucket = 3;
  string region = 4;
}

message SecretboxRecord {
  bytes encryptedData = 1;
  uint32 counter = 2;
  bytes nonceRandom = 3;
}

message SyncRecord {
  enum Action {
    CREATE = 0;
    UPDATE = 1;
    DELETE = 2;
  }
  message Site {
    string location = 1;
    string title = 2;
    string customTitle = 3;
    uint64 lastAccessedTime = 4;
    uint64 creationTime = 5;
  }
  message Bookmark {
    Site site = 1;
    bool isFolder = 2;
    uint32 folderId = 3;
    uint32 parentFolderId = 4;
  }
  message SiteSetting {
    string hostPattern = 1;
    float zoomLevel = 2;
    bool shieldsUp = 3;
    enum AdControl {
      SHOW_BRAVE_ADS = 0;
      BLOCK_ADS = 1;
      ALLOW_ADS_AND_TRACKING = 2;
    }
    enum CookieControl {
      BLOCK_THIRD_PARTY_COOKIE = 0;
      ALLOW_ALL_COOKIES = 1;
    }
    AdControl adControl = 4;
    CookieControl cookieControl = 5;
    bool safeBrowsing = 6;
    bool noScript = 7;
    bool httpsEverywhere = 8;
    bool fingerprintingProtection = 9;
    bool ledgerPayments = 10;
    bool ledgerPaymentsShown = 11;
  }
  message Device {
    string name = 1;
  }
  Action action = 1;
{'fraction_non_alphanumeric': 0.07912732009117551, 'fraction_numerical': 0.041028980788016936, 'mean_word_length': 2.4324022346368714, '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': '7268120', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1050, 'n_words': 314}