<commit_before>import { getBidRequest } from 'src/utils';
import adaptermanager from 'src/adaptermanager';

const CONSTANTS = require('src/constants');
const utils = require('src/utils.js');
const adloader = require('src/adloader.js');
const bidmanager = require('src/bidmanager.js');
const bidfactory = require('src/bidfactory.js');
const Adapter = require('src/adapter.js').default;

var RealVuAdapter = function RealVuAdapter() {
  var baseAdapter = new Adapter('realvu');
  baseAdapter.callBids = function (params) {
    var pbids = params.bids;
    var boost_back = function() {
      var top1 = window;
      realvu_frm = 0;
      try {
        var wnd = window;
        while ((top1 != top) && (typeof (wnd.document) != 'undefined')) {
          top1 = wnd;
          wnd = wnd.parent;
        }
      } catch (e) { };
      for (var i = 0; i < pbids.length; i++) {
        var bid_rq = pbids[i];
        var sizes = utils.parseSizesInput(bid_rq.sizes);
        top1.realvu_boost.addUnitById({
          partner_id: bid_rq.params.partnerId,
          unit_id: bid_rq.placementCode,
          callback: baseAdapter.boostCall,
          pbjs_bid: bid_rq,
          size: sizes[0],
          mode: 'kvp'
        });
      }
    };
    adloader.loadScript('//ac.realvu.net/realvu_boost.js', boost_back, 1);
  };

  baseAdapter.boostCall = function(rez) {
    var bid_request = rez.pin.pbjs_bid;
    var callbackId = bid_request.bidId;<commit_msg>Unused variable removed (#1800)<commit_after>import { getBidRequest } from 'src/utils';
import adaptermanager from 'src/adaptermanager';

const CONSTANTS = require('src/constants');
const utils = require('src/utils.js');
const adloader = require('src/adloader.js');
const bidmanager = require('src/bidmanager.js');
const bidfactory = require('src/bidfactory.js');
const Adapter = require('src/adapter.js').default;

var RealVuAdapter = function RealVuAdapter() {
  var baseAdapter = new Adapter('realvu');
  baseAdapter.callBids = function (params) {
    var pbids = params.bids;
    var boost_back = function() {
      var top1 = window;
      try {
        var wnd = window;
        while ((top1 != top) && (typeof (wnd.document) != 'undefined')) {
          top1 = wnd;
          wnd = wnd.parent;
        }
      } catch (e) { };
      for (var i = 0; i < pbids.length; i++) {
        var bid_rq = pbids[i];
        var sizes = utils.parseSizesInput(bid_rq.sizes);
        top1.realvu_boost.addUnitById({
          partner_id: bid_rq.params.partnerId,
          unit_id: bid_rq.placementCode,
          callback: baseAdapter.boostCall,
          pbjs_bid: bid_rq,
          size: sizes[0],
          mode: 'kvp'
        });
      }
    };
    adloader.loadScript('//ac.realvu.net/realvu_boost.js', boost_back, 1);
  };

  baseAdapter.boostCall = function(rez) {
    var bid_request = rez.pin.pbjs_bid;
    var callbackId = bid_request.bidId;
{'fraction_non_alphanumeric': 0.13648928818244643, 'fraction_numerical': 0.0065653075328265375, 'mean_word_length': 2.754863813229572, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1654458', 'n_tokens_mistral': 965, 'n_tokens_neox': 958, 'n_words': 202}