The Scoreboard

TOP 10
TOP 25
See your own brand’s scoreboard Start Now

Top 5 posts

The Zavy score

The Zavy score is a proprietary measure that determines the performance of a brand based on social media metrics. The score is based on the benchmarked performance of all the brands in the dashboard. Being an index, a score of 100 illustrates that the brand is ‘on par’ against the other brands.

The Zavy score is reported by social media platform/ channel: Facebook, Twitter and Youtube and is also aggregated up to an overall score – with each channel being weighted based on importance (based on usage in Australasia). The performance of each social media channel is based on the engagement and sentiment metrics unique to that channel.

The Leaderboard

Each company is ranked based on its Zavy score. The score is a rolling 30 day view of performance. Changes in position are calculated daily – based on the last 30 days performance

«

Versions

Package Name Version
Django 1.11.7
Python 3.5.2
ckeditor Ckeditor 5.5.0
compressor Compressor 2.2
debug_toolbar Debug Toolbar 1.9.1
rest_framework Django REST framework 3.7.3

Time

Resource usage

Resource Value
User CPU time 1492.000 msec
System CPU time 0.000 msec
Total CPU time 1492.000 msec
Elapsed time 1471.122 msec
Context switches 1576 voluntary, 21 involuntary

Browser timing

Timing attribute Timeline Milliseconds since navigation start (+length)

Settings from zavy2.settings

Setting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS []
ALLOWED_HOSTS ['dev3.zavy.co']
APPEND_SLASH True
AUTHENTICATION_BACKENDS ['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS '********************'
AUTH_USER_MODEL 'mgmt.ZavyUser'
BASE_DIR '/home/daniel/zavy/zavy2'
BOWER_COMPONENTS_ROOT '/home/daniel/zavy/components/'
BOWER_INSTALLED_APPS ('jquery', 'underscore', 'd3#3.0.8', 'highcharts', 'jquery-ui')
BOWER_PATH '/home/daniel/zavy/node_modules/bower/bin/bower'
CACHES {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'TIMEOUT': 900}}}
CACHE_MIDDLEWARE_ALIAS 'default'
CACHE_MIDDLEWARE_KEY_PREFIX '********************'
CACHE_MIDDLEWARE_SECONDS 600
CELERY_BROKER_URL 'amqp://'
COMPRESS_CACHEABLE_PRECOMPILERS ()
COMPRESS_CACHE_BACKEND 'default'
COMPRESS_CACHE_KEY_FUNCTION '********************'
COMPRESS_CLEAN_CSS_ARGUMENTS ''
COMPRESS_CLEAN_CSS_BINARY 'cleancss'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS ''
COMPRESS_CLOSURE_COMPILER_BINARY 'java -jar compiler.jar'
COMPRESS_CSS_COMPRESSOR 'compressor.css.CssCompressor'
COMPRESS_CSS_FILTERS ['compressor.filters.css_default.CssAbsoluteFilter']
COMPRESS_CSS_HASHING_METHOD 'mtime'
COMPRESS_DATA_URI_MAX_SIZE 1024
COMPRESS_DEBUG_TOGGLE None
COMPRESS_ENABLED False
COMPRESS_JINJA2_GET_ENVIRONMENT <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f2b6945a488>
COMPRESS_JS_COMPRESSOR 'compressor.js.JsCompressor'
COMPRESS_JS_FILTERS ['compressor.filters.jsmin.JSMinFilter']
COMPRESS_MINT_DELAY 30
COMPRESS_MTIME_DELAY 10
COMPRESS_OFFLINE False
COMPRESS_OFFLINE_CONTEXT {'STATIC_URL': '/static/'}
COMPRESS_OFFLINE_MANIFEST 'manifest.json'
COMPRESS_OFFLINE_TIMEOUT 31536000
COMPRESS_OUTPUT_DIR 'CACHE'
COMPRESS_PARSER 'compressor.parser.AutoSelectParser'
COMPRESS_PRECOMPILERS ()
COMPRESS_REBUILD_TIMEOUT 2592000
COMPRESS_ROOT '/var/www/zavy.co/static'
COMPRESS_STORAGE 'compressor.storage.CompressorFileStorage'
COMPRESS_TEMPLATE_FILTER_CONTEXT {'STATIC_URL': '/static/'}
COMPRESS_URL '/static/'
COMPRESS_URL_PLACEHOLDER '/__compressor_url_placeholder__/'
COMPRESS_VERBOSE False
COMPRESS_YUGLIFY_BINARY 'yuglify'
COMPRESS_YUGLIFY_CSS_ARGUMENTS '--terminal'
COMPRESS_YUGLIFY_JS_ARGUMENTS '--terminal'
COMPRESS_YUI_BINARY 'java -jar yuicompressor.jar'
COMPRESS_YUI_CSS_ARGUMENTS ''
COMPRESS_YUI_JS_ARGUMENTS ''
CSRF_COOKIE_AGE 31449600
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_HTTPONLY False
CSRF_COOKIE_NAME 'csrftoken'
CSRF_COOKIE_PATH '/'
CSRF_COOKIE_SECURE False
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS []
CSRF_USE_SESSIONS False
DATABASES {'backend': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'zavybackend.chdlmoguzvfj.ap-southeast-2.rds.amazonaws.com', 'NAME': 'zavy_backend', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}, 'datasift': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'traprod.cwfuu9hldnus.ap-southeast-2.rds.amazonaws.com', 'NAME': 'datasift', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'test_mgmt', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'fb_public': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'zavy-public.chdlmoguzvfj.ap-southeast-2.rds.amazonaws.com', 'NAME': 'zavy_fb_public', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}, 'fb_roi': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'zavy_fb_roi', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'instagram': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'zavy-instagram.chdlmoguzvfj.ap-southeast-2.rds.amazonaws.com', 'NAME': 'zavy_instagram', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}, 'klipfolio': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'traprod.cwfuu9hldnus.ap-southeast-2.rds.amazonaws.com', 'NAME': 'klipfolio', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}, 'twitter': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'zavy-twitter.chdlmoguzvfj.ap-southeast-2.rds.amazonaws.com', 'NAME': 'zavy_twitter', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}, 'youtube': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'zavy-youtube.chdlmoguzvfj.ap-southeast-2.rds.amazonaws.com', 'NAME': 'zavy_youtube', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'zavy'}}
DATABASE_ROUTERS ['zavy2.routers.ZavyRouter']
DATA_UPLOAD_MAX_MEMORY_SIZE 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS 1000
DATETIME_FORMAT 'N j, Y, P'
DATETIME_INPUT_FORMATS ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT 'N j, Y'
DATE_INPUT_FORMATS ('%d-%m-%Y',)
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DEBUG_TOOLBAR_CONFIG {'SHOW_TOOLBAR_CALLBACK': <function show_toolbar at 0x7f2b6a143510>}
DECIMAL_SEPARATOR '.'
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL 'Zavy <hello@zavy.co>'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS []
EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 'email-smtp.us-west-2.amazonaws.com'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER 'AKIAIJ2Y6ABYDSCDYVNA'
EMAIL_PORT 587
EMAIL_SSL_CERTFILE None
EMAIL_SSL_KEYFILE '********************'
EMAIL_SUBJECT_PREFIX '[Django] '
EMAIL_TIMEOUT None
EMAIL_USE_LOCALTIME False
EMAIL_USE_SSL False
EMAIL_USE_TLS True
FILE_CHARSET 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS None
FILE_UPLOAD_HANDLERS ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
FILE_UPLOAD_PERMISSIONS None
FILE_UPLOAD_TEMP_DIR None
FIRST_DAY_OF_WEEK 0
FIXTURE_DIRS []
FORCE_SCRIPT_NAME None
FORMAT_MODULE_PATH None
FORM_RENDERER 'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS []
INSTALLED_APPS ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'djangobower', 'mgmt', 'dashboard', 'backend', 'fb_public', 'twitter', 'instagram', 'klipfolio', 'datasift', 'youtube', 'fb_roi', 'compressor', 'rest_framework', 'ckeditor', 'debug_toolbar']
INTERNAL_IPS []
LANGUAGES [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI ['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE 'en-us'
LANGUAGE_COOKIE_AGE None
LANGUAGE_COOKIE_DOMAIN None
LANGUAGE_COOKIE_NAME 'django_language'
LANGUAGE_COOKIE_PATH '/'
LOCALE_PATHS []
LOGGING {'disable_existing_loggers': False, 'formatters': {'standard': {'datefmt': '%d/%b/%Y %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s ' '[%(name)s:%(lineno)s] %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler'}, 'instagram_logfile': {'backupCount': 2, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/log/celery_logs/instagram.log', 'formatter': 'standard', 'level': 'DEBUG'}, 'logfile': {'backupCount': 2, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/log/celery_logs/fb_api.log', 'formatter': 'standard', 'level': 'DEBUG'}, 'twitter_logfile': {'backupCount': 2, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/log/celery_logs/twitter.log', 'formatter': 'standard', 'level': 'DEBUG'}, 'youtube_logfile': {'backupCount': 2, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/log/celery_logs/youtube.log', 'formatter': 'standard', 'level': 'DEBUG'}}, 'loggers': {'django': {'handlers': ['console'], 'level': 'INFO'}, 'fb_public_api': '********************', 'instagram_api': '********************', 'twitter_api': '********************', 'youtube_api': '********************'}, 'version': 1}
LOGGING_CONFIG 'logging.config.dictConfig'
LOGIN_REDIRECT_URL 'home'
LOGIN_URL '/login'
LOGOUT_REDIRECT_URL None
MANAGERS []
MEDIA_ROOT '/home/daniel/zavy/zavy2/media_local/'
MEDIA_URL '/media/'
MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.gzip.GZipMiddleware', 'mgmt.middleware.UpdateLastActivityMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware']
MIDDLEWARE_CLASSES ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
MIGRATION_MODULES {}
MONTH_DAY_FORMAT 'F j'
NUMBER_GROUPING 0
PASSWORD_HASHERS '********************'
PASSWORD_RESET_TIMEOUT_DAYS '********************'
PREPEND_WWW False
ROOT_URLCONF 'zavy2.urls'
SECRET_KEY '********************'
SECURE_BROWSER_XSS_FILTER False
SECURE_CONTENT_TYPE_NOSNIFF False
SECURE_HSTS_INCLUDE_SUBDOMAINS False
SECURE_HSTS_PRELOAD False
SECURE_HSTS_SECONDS 0
SECURE_PROXY_SSL_HEADER None
SECURE_REDIRECT_EXEMPT []
SECURE_SSL_HOST None
SECURE_SSL_REDIRECT False
SERVER_EMAIL 'root@localhost'
SESSION_CACHE_ALIAS 'default'
SESSION_COOKIE_AGE 1209600
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_HTTPONLY True
SESSION_COOKIE_NAME 'sessionid'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE 'zavy2.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SIGNING_BACKEND 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS []
SITE_ID 1
SLACK_API_KEY '********************'
STATICFILES_DIRS ('static',)
STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'djangobower.finders.BowerFinder']
STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT '/var/www/zavy.co/static/'
STATIC_URL '/static/'
TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/daniel/zavy/zavy2/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}]
TEST_ENVIRONMENT False
TEST_NON_SERIALIZED_APPS []
TEST_RUNNER 'zavy2.test_runner.UnManagedModelTestRunner'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE 'Pacific/Auckland'
TWITTER_ACCESS_TOKEN '********************'
TWITTER_ACCESS_TOKEN_SECRET '********************'
TWITTER_CONSUMER_KEY '********************'
TWITTER_CONSUMER_SECRET '********************'
USE_ETAGS False
USE_I18N True
USE_L10N True
USE_THOUSAND_SEPARATOR False
USE_TZ True
USE_X_FORWARDED_HOST False
USE_X_FORWARDED_PORT False
VIRTUAL_ROOT '/home/daniel/zavy'
WSGI_APPLICATION 'zavy2.wsgi.application'
X_FRAME_OPTIONS 'SAMEORIGIN'
YEAR_MONTH_FORMAT 'F Y'

Headers

Request headers

Key Value
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding x-gzip, gzip, deflate
Connection close
Host dev3.zavy.co
User-Agent CCBot/2.0 (http://commoncrawl.org/faq/)
X-Forwarded-For 54.81.254.212
X-Forwarded-Proto http
X-Real-Ip 54.81.254.212

Response headers

Key Value
Content-Type text/html; charset=utf-8

WSGI environ

Since the WSGI environ inherits the environment of the server, only a significant subset is shown below.

Key Value
PATH_INFO /scoreboard-public/ext
QUERY_STRING
REMOTE_ADDR b''
REQUEST_METHOD GET
SCRIPT_NAME
SERVER_NAME dev3.zavy.co
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SOFTWARE gunicorn/19.7.1

Request

View information

View function Arguments Keyword arguments URL name
dashboard.views.ScoreboardStoppressView () {'slug': 'ext'} scoreboard-public

No cookies

No session data

No GET data

No POST data

SQL queries from 1 connection

  •   default 18.50 ms (140 queries including 139 duplicates )
  Query Timeline Time (ms) Action
  +   Duplicated 24 times.
5.053993453776965%
0.94

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(91)
  context['competitors'] = scoreboard_json(context['selected_company'], self.request, public=True)
/home/daniel/zavy/zavy2/dashboard/api_views.py in scoreboard_json(127)
  selected_company = verify_company(selected_company, request.user, public)
/home/daniel/zavy/zavy2/dashboard/api_views.py in verify_company(34)
  company = Company.objects.get(pk=company_id)
  +
1.386562202005103%
0.26

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(91)
  context['competitors'] = scoreboard_json(context['selected_company'], self.request, public=True)
/home/daniel/zavy/zavy2/dashboard/api_views.py in scoreboard_json(131)
  cache.set(SCOREBOARD_CACHE_KEY % selected_company.name, competitors)
  +   Duplicated 24 times.
1.2306383856086183%
0.23

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '286') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
1.5605267905466353%
0.29

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '286') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6275611453313059%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '286') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5760160820597408%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '286') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5592639364964821%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '286') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5618411896600604%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.027035385685936%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '12') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6262725187495168%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '12') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5502435504239581%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '12') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5566866833329038%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '12') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5541094301693256%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '12') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5553980567511146%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0244581325223576%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '292') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6017886136955233%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '292') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5566866833329038%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '292') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5940568542047885%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '292') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5837478415504754%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '292') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.728074018710858%
0.13

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0231695059405685%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '13') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5940568542047885%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '13') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5850364681322646%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '13') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.568284322569006%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '13') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5837478415504754%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '13') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5901909744594211%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0218808793587795%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '15') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6133862529316254%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '15') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5773047086415298%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '15') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5824592149686864%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '15') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6133862529316254%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '15') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5631298162418494%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0309012654313034%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '293') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6275611453313059%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '293') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5618411896600604%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '293') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6958583541661297%
0.13

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '293') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5734388288961625%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '293') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5979227339501559%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.1095074869204402%
0.21

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '8') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5966341073683668%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '8') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5463776706785908%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '8') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5502435504239581%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '8') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5399345377696452%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '8') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5566866833329038%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
0.9961083477229968%
0.18

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '294') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5798819618051081%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '294') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.568284322569006%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '294') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5592639364964821%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '294') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5463776706785908%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '294') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5502435504239581%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
0.9986856008865751%
0.18

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '284') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6224066390041494%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '284') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5979227339501559%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '284') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5811705883868973%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '284') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5618411896600604%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '284') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5747274554779516%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0489420375763512%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '299') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6365815314038298%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '299') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6017886136955233%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '299') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5966341073683668%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '299') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5940568542047885%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '299') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5940568542047885%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0218808793587795%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '300') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5953454807865777%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '300') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5747274554779516%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '300') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.568284322569006%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '300') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5631298162418494%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '300') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6623540630396124%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0347671451766707%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '297') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6095203731862581%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '297') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5966341073683668%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '297') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5734388288961625%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '297') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5566866833329038%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '297') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5863250947140537%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0141491198680446%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '288') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5979227339501559%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '288') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5605525630782712%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '288') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5927682276229994%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '288') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5940568542047885%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '288') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.5553980567511146%
0.10

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0128604932862555%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '295') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6224066390041494%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '295') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6636426896214015%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '295') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6236952655859386%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '295') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6430246643127755%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '295') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6571995567124559%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.1069302337568618%
0.20

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '26') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.7216308858019123%
0.13

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '26') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6301383984948842%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(482)
  'fb': competitor.zavy_index_fb_public(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_fb_public(380)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Twitter''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '26') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6275611453313059%
0.12

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(483)
  'tw': competitor.zavy_index_twitter(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_twitter(404)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Youtube''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '26') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.599211360531945%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(484)
  'yt': competitor.zavy_index_youtube(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_youtube(416)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Instagram''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '26') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.6778175820210819%
0.13

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(485)
  'in': competitor.zavy_index_instagram(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_instagram(392)
  ).latest('date').value
  +   Duplicated 24 times.
1.0141491198680446%
0.19

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(478)
  'name': competitor.brand.display_name,
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''All''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '296') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1
  Duplicated 115 times.
0.578593335223319%
0.11

Connection: default

/home/daniel/zavy/bin/gunicorn in <module>(11)
  sys.exit(run())
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py in run(74)
  WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(203)
  super(Application, self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/app/base.py in run(72)
  Arbiter(self).run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in run(211)
  self.manage_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in manage_workers(544)
  self.spawn_workers()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_workers(611)
  self.spawn_worker()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/arbiter.py in spawn_worker(578)
  worker.init_process()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/base.py in init_process(131)
  self.run()
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run(124)
  self.run_for_one(timeout)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in run_for_one(68)
  self.accept(listener)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in accept(30)
  self.handle(listener, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle(135)
  self.handle_request(listener, req, client, addr)
/home/daniel/zavy/lib/python3.5/site-packages/gunicorn/workers/sync.py in handle_request(176)
  respiter = self.wsgi(environ, resp.start_response)
/home/daniel/zavy/zavy2/dashboard/views.py in get(85)
  context = self.get_context_data(**kwargs)
/home/daniel/zavy/zavy2/dashboard/views.py in get_context_data(92)
  context['result'] = get_scoreboard(context['selected_company'], context['competitors'])
/home/daniel/zavy/zavy2/dashboard/api_db_calls.py in get_scoreboard(481)
  'all': competitor.zavy_index_all(bydate),
/home/daniel/zavy/zavy2/mgmt/models.py in zavy_index_all(368)
  ).latest('date').value
  +
SELECT ••• "mgmt_zavyindex"."id", "mgmt_zavyindex"."brand_name_id", "mgmt_zavyindex"."competitor_name_id", "mgmt_zavyindex"."date", "mgmt_zavyindex"."value", "mgmt_zavyindex"."media_id", "mgmt_zavyindex"."metric_name", "mgmt_zavyindex"."post_link", "mgmt_zavyindex"."object_created", "mgmt_zavyindex"."object_modified" FROM "mgmt_zavyindex" WHERE ("mgmt_zavyindex"."brand_name_id" = '305' AND "mgmt_zavyindex"."media_id" = '''Facebook Public''' AND "mgmt_zavyindex"."metric_name" = '''Score_Index''' AND "mgmt_zavyindex"."date" = '''2018-07-17''' AND "mgmt_zavyindex"."competitor_name_id" = '296') ORDER BY "mgmt_zavyindex"."date" DESC LIMIT 1