<commit_before>function Presenter (password) {
  var self = this

  // remove hash, conver to base64
  self.appName = window.btoa(window.location.href.slice(0, window.location.href.indexOf(window.location.hash)))
  // limit maximum peerId length
  self.namespace = self.appName.replace(/[^a-zA-Z0-9]+/g, '')
  self.peers = {}
  self.peerId = self.namespace + ' ' + Math.random().toString().slice(2)
  self.peer = new Peer(self.peerId, { host: 'peerjs.now.sh', port: 443, secure: true })

  self.peer.on('connection', function (conn) {
    self.peers[conn.peer] = conn<commit_msg>update comment<commit_after>function Presenter (password) {
  var self = this

  // remove hash, conver to base64
  self.appName = window.btoa(window.location.href.slice(0, window.location.href.indexOf(window.location.hash)))
  // remove invalid characters
  self.namespace = self.appName.replace(/[^a-zA-Z0-9]+/g, '')
  self.peers = {}
  self.peerId = self.namespace + ' ' + Math.random().toString().slice(2)
  self.peer = new Peer(self.peerId, { host: 'peerjs.now.sh', port: 443, secure: true })

  self.peer.on('connection', function (conn) {
    self.peers[conn.peer] = conn
{'fraction_non_alphanumeric': 0.17113223854796888, 'fraction_numerical': 0.015557476231633534, 'mean_word_length': 3.9699570815450644, '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': '2662523', 'n_tokens_mistral': 410, 'n_tokens_neox': 391, 'n_words': 75}