Model: Binned LGBM 3d PH Isotonic 2% v1


Details

Unique Key
binned-ph-lgmb-p2-seq3-isotonic
Current Version
1
Type
long
Description
None
End Point
None
Last Trained
April 5, 2025, 1:33 a.m.
Meta
tags: ['penny', 'original']
class: binned
target: {'type': 'price_high', 'value': 1.02, 'duration': 3}
sequence: 3
classifier: lgbm
calibration: isotonic

Last Metrics
April 4, 2025
[{'Feature': 'ticker_encoded_normalized', 'Importance': 0.12551198057532117}, {'Feature': 'c20_sentiment_negative_rolling_mean_3', 'Importance': 0.015529988265915054}, {'Feature': 'c10_items_positive_count_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_items_negative_count_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_items_neutral_count_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_sentiment_positive_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_sentiment_neutral_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_sentiment_negative_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_sentiment_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_relevance_score_rolling_mean_3', 'Importance': 0.0}, {'Feature': 'c90_citation_flow_score_rolling_mean_3', 'Importance': 0.0}]

Model Backtesting

All

Total Tests

20,663

# Pass

15,014

Pass Count:
# of Tests that met or exceeded the model's performance target (ie., 3%)

# Fail

5,649

Fail Count:
# of Tests that did not meet or exceed the model's performance target (ie., 3%)

Win Rate

72.7 %

Win Rate:
% of Tests that met or exceed the model's performance target (ie., 3%)

Hit Rate

93.6 %

Hit Rate:
% of Tests that resulted in a > 0% gain.

Avg Gain

8.5 %

Avg Performance Gain:
Average % Gain for each test defined by the theoretical buy-price v. sell-price difference.

© 2025 - PennyLoupe LLC. Austin, TX.

SunMonTueWedThuFriSat
293012345678910111213141516171819202122232425262728293031123456789
SunMonTueWedThuFriSat
303112345678910111213141516171819202122232425262728293012345678910
DJDT

Versions

Package Name Version
Django 5.0.3
Python 3.11.8
coverage Coverage 7.4.4
debug_toolbar Debug Toolbar 4.3.0
django_extensions Django Extensions 3.2.3
grappelli Grappelli 3.0.8

Time

Resource usage

Resource Value
User CPU time 177.714 msec
System CPU time 8.443 msec
Total CPU time 186.157 msec
Elapsed time 1417.951 msec
Context switches 11 voluntary, 3 involuntary

Browser timing

Timing attribute Timeline Milliseconds since navigation start (+length)
domainLookup65 (+52)
connect117 (+107)
request224 (+1797)
response1808 (+213)
domLoading1829 (+-1743883805807)
domInteractive2450
domContentLoadedEvent2450 (+9)
loadEvent-1743883803978 (+0)

Settings from app.settings

Setting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS []
ALLOWED_HOSTS ['*']
ALPACA_API '********************'
APPEND_SLASH True
AUTH0_CLIENT_ID None
AUTH0_CLIENT_SECRET '********************'
AUTH0_DOMAIN None
AUTHENTICATION_BACKENDS ['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS '********************'
AUTH_USER_MODEL 'auth.User'
BASE_DIR PosixPath('/mnt/disks/pennyloupe_disk/pennyloupe')
CACHES {'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/var/tmp/django_cache'}}
CACHE_MIDDLEWARE_ALIAS 'default'
CACHE_MIDDLEWARE_KEY_PREFIX '********************'
CACHE_MIDDLEWARE_SECONDS 600
CELERY_BROKER_URL 'redis://localhost:6379'
CELERY_RESULT_BACKEND 'redis://localhost:6379'
CSRF_COOKIE_AGE 31449600
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_HTTPONLY False
CSRF_COOKIE_NAME 'csrftoken'
CSRF_COOKIE_PATH '/'
CSRF_COOKIE_SAMESITE 'Lax'
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 {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': True, 'CONN_MAX_AGE': 600, 'ENGINE': 'django.db.backends.postgresql', 'HOST': '34.125.28.12', 'NAME': 'pennyloupe', 'OPTIONS': {'sslmode': 'require'}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'pennyloupe'}}
DATABASE_ROUTERS []
DATA_UPLOAD_MAX_MEMORY_SIZE 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS 1000
DATA_UPLOAD_MAX_NUMBER_FILES 100
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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M']
DATE_FORMAT 'N j, Y'
DATE_INPUT_FORMATS ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DEBUG_TOOLBAR_CONFIG {'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f8df9cffec0>}
DECIMAL_SEPARATOR '.'
DEFAULT_AUTO_FIELD 'django.db.models.BigAutoField'
DEFAULT_CHARSET 'utf-8'
DEFAULT_EXCEPTION_REPORTER 'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS []
EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 'localhost'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER ''
EMAIL_PORT 25
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 False
FIELD_ENCRYPTION_KEY '********************'
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 420
FILE_UPLOAD_TEMP_DIR None
FIRST_DAY_OF_WEEK 0
FIXTURE_DIRS []
FORCE_SCRIPT_NAME None
FORMAT_MODULE_PATH None
FORMS_URLFIELD_ASSUME_HTTPS False
FORM_RENDERER 'django.forms.renderers.DjangoTemplates'
GRAPPELLI_ADMIN_TITLE 'Penny Loupe'
GRAPPELLI_AUTOCOMPLETE_SEARCH_FIELDS {'auth': {'user': ('id__iexact', 'username__icontains')}}
IGNORABLE_404_URLS []
INSTALLED_APPS ['coverage', 'grappelli', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.humanize', 'django.contrib.messages', 'django.contrib.postgres', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_htmx', 'app.core.apps.CoreConfig', 'django_extensions', 'debug_toolbar']
INTERNAL_IPS ['127.0.0.1']
LANGUAGES [('en', 'English')]
LANGUAGES_BIDI ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE 'en-us'
LANGUAGE_COOKIE_AGE None
LANGUAGE_COOKIE_DOMAIN None
LANGUAGE_COOKIE_HTTPONLY False
LANGUAGE_COOKIE_NAME 'django_language'
LANGUAGE_COOKIE_PATH '/'
LANGUAGE_COOKIE_SAMESITE None
LANGUAGE_COOKIE_SECURE False
LOCALE_PATHS []
LOGGING {}
LOGGING_CONFIG 'logging.config.dictConfig'
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/accounts/login/'
LOGOUT_REDIRECT_URL None
MANAGERS []
MEDIA_ROOT PosixPath('/mnt/disks/pennyloupe_disk/pennyloupe/media')
MEDIA_URL '/media/'
MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django_htmx.middleware.HtmxMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware']
MIGRATION_MODULES {}
MONTH_DAY_FORMAT 'F j'
NUMBER_GROUPING 0
OPENAI_API_KEY '********************'
PASSWORD_HASHERS '********************'
PASSWORD_RESET_TIMEOUT '********************'
POLYGON_API_KEY '********************'
PREPEND_WWW False
QT_API_KEY '********************'
QT_APP_ID '13d3cbab'
QT_PASSWORD '********************'
QT_USERNAME 'kevin+dev3@pennyloupe.com'
ROOT_URLCONF 'app.urls'
SCRAPER_API_KEY '********************'
SECRET_KEY '********************'
SECRET_KEY_FALLBACKS '********************'
SECURE_CONTENT_TYPE_NOSNIFF True
SECURE_CROSS_ORIGIN_OPENER_POLICY 'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS False
SECURE_HSTS_PRELOAD False
SECURE_HSTS_SECONDS 0
SECURE_PROXY_SSL_HEADER None
SECURE_REDIRECT_EXEMPT []
SECURE_REFERRER_POLICY 'same-origin'
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_SAMESITE 'Lax'
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 'app.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SIGNING_BACKEND 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS []
SQL_FILES_DIR '/mnt/disks/pennyloupe_disk/pennyloupe/app/core/sql'
STATICFILES_DIRS []
STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT PosixPath('/mnt/disks/pennyloupe_disk/pennyloupe/static')
STATIC_URL '/static/'
STORAGES {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['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_NON_SERIALIZED_APPS []
TEST_RUNNER 'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE 'UTC'
USE_I18N True
USE_THOUSAND_SEPARATOR False
USE_TZ True
USE_X_FORWARDED_HOST False
USE_X_FORWARDED_PORT False
WSGI_APPLICATION 'app.wsgi.application'
X_FRAME_OPTIONS 'DENY'
YEAR_MONTH_FORMAT 'F Y'

Headers

Request headers

Key Value
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding gzip, deflate, br, zstd
Cache-Control no-cache
Connection keep-alive
Host pennyloupe.com
Pragma no-cache
Sec-Ch-Ua "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
Sec-Ch-Ua-Mobile ?0
Sec-Ch-Ua-Platform "Windows"
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

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
CONTENT_LENGTH
CONTENT_TYPE
PATH_INFO /model/54
QUERY_STRING
REMOTE_ADDR 3.17.66.55
REQUEST_METHOD GET
SCRIPT_NAME
SERVER_NAME pennyloupe.com
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1

Request

View information

View function Arguments Keyword arguments URL name
app.core.views.app.model_detail () {'id': 54} model_detail

No cookies

No session data

No GET data

No POST data

SQL queries from 1 connection

  • default 1231.96 ms (5 queries )
Query Timeline Time (ms) Action
SELECT "pl_model"."created_dt",
       "pl_model"."updated_dt",
       "pl_model"."status_id",
       "pl_model"."id",
       "pl_model"."key",
       "pl_model"."name",
       "pl_model"."description",
       "pl_model"."type",
       "pl_model"."version",
       "pl_model"."last_trained_dt",
       "pl_model"."last_run_dt",
       "pl_model"."end_point_url",
       "pl_model"."meta",
       "pl_model"."account_id"
  FROM "pl_model"
 WHERE "pl_model"."id" = 54
 LIMIT 21
SELECT ••• FROM "pl_model" WHERE "pl_model"."id" = 54 LIMIT 21
1.81

Connection: default

Transaction status: Idle

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(680)
  model = Model.objects.get(pk=id)

SELECT "pl_model_metrics"."created_dt",
       "pl_model_metrics"."updated_dt",
       "pl_model_metrics"."status_id",
       "pl_model_metrics"."id",
       "pl_model_metrics"."date",
       "pl_model_metrics"."metrics",
       "pl_model_metrics"."identifier",
       "pl_model_metrics"."model_id"
  FROM "pl_model_metrics"
 WHERE ("pl_model_metrics"."model_id" = 54 AND "pl_model_metrics"."status_id" = 10 AND "pl_model_metrics"."date" >= '2024-10-07'::date AND "pl_model_metrics"."date" <= '2025-04-05'::date)
 ORDER BY "pl_model_metrics"."date" DESC
SELECT ••• FROM "pl_model_metrics" WHERE ("pl_model_metrics"."model_id" = 54 AND "pl_model_metrics"."status_id" = 10 AND "pl_model_metrics"."date" >= '2024-10-07'::date AND "pl_model_metrics"."date" <= '2025-04-05'::date) ORDER BY "pl_model_metrics"."date" DESC
57.85

Connection: default

Transaction status: Idle

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(750)
  if metrics:

SELECT "pl_model_test"."pick_date" AS "date",
       COUNT("pl_model_test"."id") FILTER (WHERE "pl_model_test"."result") AS "pass_count",
       COUNT("pl_model_test"."id") FILTER (WHERE NOT "pl_model_test"."result") AS "fail_count",
       COUNT("pl_model_test"."id") AS "total_count",
       COUNT("pl_model_test"."id") FILTER (WHERE (("pl_model_test"."meta" -> 'buy_price') IS NOT NULL AND ("pl_model_test"."meta" -> 'sell_price') > ("pl_model_test"."meta" -> 'buy_price') AND ("pl_model_test"."meta" -> 'sell_price') IS NOT NULL)) AS "hit_count",
       CASE WHEN COUNT("pl_model_test"."id") = 0 THEN 0.0
            ELSE ((COUNT("pl_model_test"."id") FILTER (WHERE "pl_model_test"."result") * 100.0) / COUNT("pl_model_test"."id"))
             END AS "win_rate",
       CASE WHEN COUNT("pl_model_test"."id") = 0 THEN 0.0
            ELSE ((COUNT("pl_model_test"."id") FILTER (WHERE (("pl_model_test"."meta" -> 'buy_price') IS NOT NULL AND ("pl_model_test"."meta" -> 'sell_price') > ("pl_model_test"."meta" -> 'buy_price') AND ("pl_model_test"."meta" -> 'sell_price') IS NOT NULL)) * 100.0) / COUNT("pl_model_test"."id"))
             END AS "hit_rate",
       AVG(((100 * ((("pl_model_test"."meta" -> 'sell_price'))::double precision - (("pl_model_test"."meta" -> 'buy_price'))::double precision)) / (("pl_model_test"."meta" -> 'buy_price'))::double precision)) AS "avg_performance"
  FROM "pl_model_test"
 WHERE ("pl_model_test"."model_id" = 54 AND "pl_model_test"."status_id" = 10 AND "pl_model_test"."pick_date" >= '2024-10-07'::date AND "pl_model_test"."pick_date" <= '2025-04-05'::date)
 GROUP BY 1
 ORDER BY "pl_model_test"."pick_date" DESC
SELECT ••• FROM "pl_model_test" WHERE ("pl_model_test"."model_id" = 54 AND "pl_model_test"."status_id" = 10 AND "pl_model_test"."pick_date" >= '2024-10-07'::date AND "pl_model_test"."pick_date" <= '2025-04-05'::date) GROUP BY 1 ORDER BY "pl_model_test"."pick_date" DESC
940.29

Connection: default

Transaction status: Idle

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(782)
  for n, p in enumerate(performance_data):

SELECT DATE_TRUNC('week', "pl_model_test"."pick_date") AS "week",
       CASE WHEN ("pl_model_test"."probability" >= 0.0 AND "pl_model_test"."probability" <= 0.1) THEN 0.1
            WHEN ("pl_model_test"."probability" > 0.1 AND "pl_model_test"."probability" <= 0.2)  THEN 0.2
            WHEN ("pl_model_test"."probability" > 0.2 AND "pl_model_test"."probability" <= 0.3)  THEN 0.3
            WHEN ("pl_model_test"."probability" > 0.3 AND "pl_model_test"."probability" <= 0.4)  THEN 0.4
            WHEN ("pl_model_test"."probability" > 0.4 AND "pl_model_test"."probability" <= 0.5)  THEN 0.5
            WHEN ("pl_model_test"."probability" > 0.5 AND "pl_model_test"."probability" <= 0.6)  THEN 0.6
            WHEN ("pl_model_test"."probability" > 0.6 AND "pl_model_test"."probability" <= 0.7)  THEN 0.7
            WHEN ("pl_model_test"."probability" > 0.7 AND "pl_model_test"."probability" <= 0.8)  THEN 0.8
            WHEN ("pl_model_test"."probability" > 0.8 AND "pl_model_test"."probability" <= 0.9)  THEN 0.9
            WHEN ("pl_model_test"."probability" > 0.9 AND "pl_model_test"."probability" <= 1.0)  THEN 1.0
            ELSE NULL
             END AS "bin",
       COUNT("pl_model_test"."id") AS "total_count",
       COUNT("pl_model_test"."id") FILTER (WHERE (("pl_model_test"."meta" -> 'buy_price') IS NOT NULL AND ("pl_model_test"."meta" -> 'sell_price') > ("pl_model_test"."meta" -> 'buy_price') AND ("pl_model_test"."meta" -> 'sell_price') IS NOT NULL)) AS "hit_count",
       COUNT("pl_model_test"."id") FILTER (WHERE "pl_model_test"."result") AS "win_count",
       AVG(((100 * ((("pl_model_test"."meta" -> 'sell_price'))::double precision - (("pl_model_test"."meta" -> 'buy_price'))::double precision)) / (("pl_model_test"."meta" -> 'buy_price'))::double precision)) AS "avg_performance",
       CASE WHEN COUNT("pl_model_test"."id") = 0 THEN 0.0
            ELSE ((COUNT("pl_model_test"."id") FILTER (WHERE (("pl_model_test"."meta" -> 'buy_price') IS NOT NULL AND ("pl_model_test"."meta" -> 'sell_price') > ("pl_model_test"."meta" -> 'buy_price') AND ("pl_model_test"."meta" -> 'sell_price') IS NOT NULL)) * 100.0) / COUNT("pl_model_test"."id"))
             END AS "hit_rate",
       CASE WHEN COUNT("pl_model_test"."id") = 0 THEN 0.0
            ELSE ((COUNT("pl_model_test"."id") FILTER (WHERE "pl_model_test"."result") * 100.0) / COUNT("pl_model_test"."id"))
             END AS "win_rate",
       COUNT("pl_model_test"."id") AS "count"
  FROM "pl_model_test"
 WHERE ("pl_model_test"."model_id" = 54 AND "pl_model_test"."status_id" = 10 AND "pl_model_test"."pick_date" >= '2024-10-07'::date AND "pl_model_test"."pick_date" <= '2025-04-05'::date)
 GROUP BY 1,
          2
 ORDER BY 1 ASC,
          2 ASC
SELECT ••• FROM "pl_model_test" WHERE ("pl_model_test"."model_id" = 54 AND "pl_model_test"."status_id" = 10 AND "pl_model_test"."pick_date" >= '2024-10-07'::date AND "pl_model_test"."pick_date" <= '2025-04-05'::date) GROUP BY 1, 2 ORDER BY 1 ASC, 2 ASC
120.63

Connection: default

Transaction status: Idle

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(981)
  for entry in curve_data_weekly:

SELECT CASE WHEN ("pl_model_test"."probability" >= 0.0 AND "pl_model_test"."probability" <= 0.1) THEN 0.1
            WHEN ("pl_model_test"."probability" > 0.1 AND "pl_model_test"."probability" <= 0.2)  THEN 0.2
            WHEN ("pl_model_test"."probability" > 0.2 AND "pl_model_test"."probability" <= 0.3)  THEN 0.3
            WHEN ("pl_model_test"."probability" > 0.3 AND "pl_model_test"."probability" <= 0.4)  THEN 0.4
            WHEN ("pl_model_test"."probability" > 0.4 AND "pl_model_test"."probability" <= 0.5)  THEN 0.5
            WHEN ("pl_model_test"."probability" > 0.5 AND "pl_model_test"."probability" <= 0.6)  THEN 0.6
            WHEN ("pl_model_test"."probability" > 0.6 AND "pl_model_test"."probability" <= 0.7)  THEN 0.7
            WHEN ("pl_model_test"."probability" > 0.7 AND "pl_model_test"."probability" <= 0.8)  THEN 0.8
            WHEN ("pl_model_test"."probability" > 0.8 AND "pl_model_test"."probability" <= 0.9)  THEN 0.9
            WHEN ("pl_model_test"."probability" > 0.9 AND "pl_model_test"."probability" <= 1.0)  THEN 1.0
            ELSE NULL
             END AS "bin",
       COUNT("pl_model_test"."id") AS "total_count",
       COUNT("pl_model_test"."id") FILTER (WHERE (("pl_model_test"."meta" -> 'buy_price') IS NOT NULL AND ("pl_model_test"."meta" -> 'sell_price') > ("pl_model_test"."meta" -> 'buy_price') AND ("pl_model_test"."meta" -> 'sell_price') IS NOT NULL)) AS "hit_count",
       COUNT("pl_model_test"."id") FILTER (WHERE "pl_model_test"."result") AS "win_count",
       AVG(((100 * ((("pl_model_test"."meta" -> 'sell_price'))::double precision - (("pl_model_test"."meta" -> 'buy_price'))::double precision)) / (("pl_model_test"."meta" -> 'buy_price'))::double precision)) AS "avg_performance",
       CASE WHEN COUNT("pl_model_test"."id") = 0 THEN 0.0
            ELSE ((COUNT("pl_model_test"."id") FILTER (WHERE (("pl_model_test"."meta" -> 'buy_price') IS NOT NULL AND ("pl_model_test"."meta" -> 'sell_price') > ("pl_model_test"."meta" -> 'buy_price') AND ("pl_model_test"."meta" -> 'sell_price') IS NOT NULL)) * 100.0) / COUNT("pl_model_test"."id"))
             END AS "hit_rate",
       CASE WHEN COUNT("pl_model_test"."id") = 0 THEN 0.0
            ELSE ((COUNT("pl_model_test"."id") FILTER (WHERE "pl_model_test"."result") * 100.0) / COUNT("pl_model_test"."id"))
             END AS "win_rate",
       COUNT("pl_model_test"."id") AS "count"
  FROM "pl_model_test"
 WHERE ("pl_model_test"."model_id" = 54 AND "pl_model_test"."status_id" = 10 AND "pl_model_test"."pick_date" >= '2024-10-07'::date AND "pl_model_test"."pick_date" <= '2025-04-05'::date)
 GROUP BY 1
 ORDER BY 1 ASC
SELECT ••• FROM "pl_model_test" WHERE ("pl_model_test"."model_id" = 54 AND "pl_model_test"."status_id" = 10 AND "pl_model_test"."pick_date" >= '2024-10-07'::date AND "pl_model_test"."pick_date" <= '2025-04-05'::date) GROUP BY 1 ORDER BY 1 ASC
111.38

Connection: default

Transaction status: Idle

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(1004)
  "curve_data": list(curve_data),

Static files (717 found, 2 used)

Static file paths

None

Static file apps

  1. grappelli
  2. django.contrib.admin
  3. django_htmx
  4. app.core
  5. django_extensions
  6. debug_toolbar

Static files

css/pennyloupe.css
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/css/pennyloupe.css
img/penny_loupe_logo.png
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/penny_loupe_logo.png

django.contrib.staticfiles.finders.AppDirectoriesFinder (717 files)

Path Location
.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/.DS_Store
grappelli/.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/.DS_Store
grappelli/js/grappelli.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/grappelli.js
grappelli/js/jquery.grp_related_m2m.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_related_m2m.js
grappelli/js/jquery.grp_autocomplete_fk.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_autocomplete_fk.js
grappelli/js/jquery.grp_autocomplete_generic.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_autocomplete_generic.js
grappelli/js/jquery.grp_timepicker.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_timepicker.js
grappelli/js/jquery.grp_collapsible_group.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_collapsible_group.js
grappelli/js/jquery.grp_related_generic.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_related_generic.js
grappelli/js/jquery.grp_related_fk.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_related_fk.js
grappelli/js/jquery.grp_collapsible.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_collapsible.js
grappelli/js/grappelli.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/grappelli.min.js
grappelli/js/jquery.grp_autocomplete_m2m.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_autocomplete_m2m.js
grappelli/js/jquery.grp_inline.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/js/jquery.grp_inline.js
grappelli/images/spritesheet-1694777276.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/spritesheet-1694777276.png
grappelli/images/backgrounds/loading-small.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/backgrounds/loading-small.gif
grappelli/images/backgrounds/changelist-results.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/backgrounds/changelist-results.png
grappelli/images/backgrounds/ui-sortable-placeholder.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/backgrounds/ui-sortable-placeholder.png
grappelli/images/backgrounds/nav-grabber.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/backgrounds/nav-grabber.gif
grappelli/images/backgrounds/messagelist.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/backgrounds/messagelist.png
grappelli/images/icons/ui-datepicker-next.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/ui-datepicker-next.png
grappelli/images/icons/link-external-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-external-small_hover.png
grappelli/images/icons/tools-arrow-up-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-arrow-up-handler_hover.png
grappelli/images/icons/date-hierarchy-back.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/date-hierarchy-back.png
grappelli/images/icons/tools-delete-handler-predelete.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-delete-handler-predelete.png
grappelli/images/icons/breadcrumbs-rtl.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/breadcrumbs-rtl.png
grappelli/images/icons/datepicker_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/datepicker_hover.png
grappelli/images/icons/tools-trash-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-trash-handler_hover.png
grappelli/images/icons/selector-add-m2m-vertical_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-add-m2m-vertical_hover.png
grappelli/images/icons/tools-related-remove-handler-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-remove-handler-small_hover.png
grappelli/images/icons/sorted-descending.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/sorted-descending.png
grappelli/images/icons/breadcrumbs_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/breadcrumbs_hover.png
grappelli/images/icons/tools-viewsite-link_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-viewsite-link_hover.png
grappelli/images/icons/object-tools-add-link.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/object-tools-add-link.png
grappelli/images/icons/tools-related-edit-handler-small-disabled.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-edit-handler-small-disabled.png
grappelli/images/icons/tools-related-remove-handler-small-disabled.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-remove-handler-small-disabled.png
grappelli/images/icons/sorted-ascending.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/sorted-ascending.png
grappelli/images/icons/link-internal-rtl-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-internal-rtl-small_hover.png
grappelli/images/icons/pulldown-handler_selected.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/pulldown-handler_selected.png
grappelli/images/icons/tools-delete-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-delete-handler_hover.png
grappelli/images/icons/tools-trash-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-trash-handler.png
grappelli/images/icons/related-lookup-m2m_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/related-lookup-m2m_hover.png
grappelli/images/icons/tools-arrow-down-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-arrow-down-handler.png
grappelli/images/icons/tools-arrow-down-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-arrow-down-handler_hover.png
grappelli/images/icons/selector-filter.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-filter.png
grappelli/images/icons/link-external-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-external-small.png
grappelli/images/icons/link-external-rtl-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-external-rtl-small.png
grappelli/images/icons/date-hierarchy-back_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/date-hierarchy-back_hover.png
grappelli/images/icons/change-link-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/change-link-small_hover.png
grappelli/images/icons/datetime-now.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/datetime-now.png
grappelli/images/icons/change-link-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/change-link-small.png
grappelli/images/icons/sort-remove_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/sort-remove_hover.png
grappelli/images/icons/tools-related-edit-handler-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-edit-handler-small.png
grappelli/images/icons/link-internal-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-internal-small_hover.png
grappelli/images/icons/th-ascending.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/th-ascending.png
grappelli/images/icons/related-lookup-m2m.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/related-lookup-m2m.png
grappelli/images/icons/tools-related-remove-handler-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-remove-handler-small.png
grappelli/images/icons/autocomplete-single-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/autocomplete-single-small.png
grappelli/images/icons/breadcrumbs.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/breadcrumbs.png
grappelli/images/icons/selector-add-m2m-horizontal_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-add-m2m-horizontal_hover.png
grappelli/images/icons/tools-related-add-handler-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-add-handler-small_hover.png
grappelli/images/icons/add-link-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/add-link-small_hover.png
grappelli/images/icons/add-link-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/add-link-small.png
grappelli/images/icons/add-another.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/add-another.png
grappelli/images/icons/tools-drag-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-drag-handler_hover.png
grappelli/images/icons/related-remove_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/related-remove_hover.png
grappelli/images/icons/pulldown-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/pulldown-handler.png
grappelli/images/icons/ui-datepicker-prev.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/ui-datepicker-prev.png
grappelli/images/icons/selector-remove-m2m-horizontal_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-remove-m2m-horizontal_hover.png
grappelli/images/icons/tools-close-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-close-handler_hover.png
grappelli/images/icons/tools-trash-list-toggle-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-trash-list-toggle-handler.png
grappelli/images/icons/tools-related-remove-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-remove-handler.png
grappelli/images/icons/link-internal-rtl_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-internal-rtl_hover.png
grappelli/images/icons/object-tools-viewsite-link.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/object-tools-viewsite-link.png
grappelli/images/icons/tools-related-remove-handler-disabled.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-remove-handler-disabled.png
grappelli/images/icons/timepicker.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/timepicker.png
grappelli/images/icons/tools-related-edit-handler-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-edit-handler-small_hover.png
grappelli/images/icons/selector-add-m2m-vertical.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-add-m2m-vertical.png
grappelli/images/icons/date-hierarchy-back-rtl.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/date-hierarchy-back-rtl.png
grappelli/images/icons/selector-remove-m2m-vertical_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-remove-m2m-vertical_hover.png
grappelli/images/icons/datepicker.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/datepicker.png
grappelli/images/icons/datetime-now_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/datetime-now_hover.png
grappelli/images/icons/breadcrumbs-rtl_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/breadcrumbs-rtl_hover.png
grappelli/images/icons/selector-add-m2m-horizontal.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-add-m2m-horizontal.png
grappelli/images/icons/status-no.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/status-no.png
grappelli/images/icons/status-unknown.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/status-unknown.png
grappelli/images/icons/tools-open-handler-hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-open-handler-hover.png
grappelli/images/icons/pulldown-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/pulldown-handler_hover.png
grappelli/images/icons/back-link-rtl.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/back-link-rtl.png
grappelli/images/icons/tools-remove-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-remove-handler.png
grappelli/images/icons/ui-datepicker-next_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/ui-datepicker-next_hover.png
grappelli/images/icons/date-hierarchy-back-rtl_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/date-hierarchy-back-rtl_hover.png
grappelli/images/icons/delete-link-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/delete-link-small.png
grappelli/images/icons/tools-edit-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-edit-handler_hover.png
grappelli/images/icons/tools-viewsite-link.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-viewsite-link.png
grappelli/images/icons/tools-open-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-open-handler.png
grappelli/images/icons/tools-add-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-add-handler.png
grappelli/images/icons/th-descending.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/th-descending.png
grappelli/images/icons/tools-drag-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-drag-handler.png
grappelli/images/icons/tools-related-edit-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-edit-handler.png
grappelli/images/icons/tools-related-add-handler-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-add-handler-small.png
grappelli/images/icons/sort-remove-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/sort-remove-small.png
grappelli/images/icons/related-lookup.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/related-lookup.png
grappelli/images/icons/tools-trash-list-toggle-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-trash-list-toggle-handler_hover.png
grappelli/images/icons/sort-remove.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/sort-remove.png
grappelli/images/icons/autocomplete-multiple-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/autocomplete-multiple-small.png
grappelli/images/icons/back-link-rtl_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/back-link-rtl_hover.png
grappelli/images/icons/link-internal-rtl.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-internal-rtl.png
grappelli/images/icons/link-external-rtl-small_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-external-rtl-small_hover.png
grappelli/images/icons/tools-add-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-add-handler_hover.png
grappelli/images/icons/tools-close-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-close-handler.png
grappelli/images/icons/back-link.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/back-link.png
grappelli/images/icons/selector-remove-m2m-vertical.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-remove-m2m-vertical.png
grappelli/images/icons/status-yes.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/status-yes.png
grappelli/images/icons/form-select.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/form-select.png
grappelli/images/icons/tools-related-add-handler-small-disabled.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-add-handler-small-disabled.png
grappelli/images/icons/related-remove.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/related-remove.png
grappelli/images/icons/tools-edit-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-edit-handler.png
grappelli/images/icons/tools-remove-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-remove-handler_hover.png
grappelli/images/icons/tools-delete-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-delete-handler.png
grappelli/images/icons/tools-arrow-up-handler.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-arrow-up-handler.png
grappelli/images/icons/ui-datepicker-prev_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/ui-datepicker-prev_hover.png
grappelli/images/icons/timepicker_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/timepicker_hover.png
grappelli/images/icons/filter-choice-selected-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/filter-choice-selected-small.png
grappelli/images/icons/related-lookup_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/related-lookup_hover.png
grappelli/images/icons/link-internal-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-internal-small.png
grappelli/images/icons/link-internal-rtl-small.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/link-internal-rtl-small.png
grappelli/images/icons/tools-related-remove-handler_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/tools-related-remove-handler_hover.png
grappelli/images/icons/add-another_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/add-another_hover.png
grappelli/images/icons/selector-remove-m2m-horizontal.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/selector-remove-m2m-horizontal.png
grappelli/images/icons/searchbox.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/searchbox.png
grappelli/images/icons/back-link_hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/images/icons/back-link_hover.png
grappelli/img/admin/arrow-up.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/img/admin/arrow-up.gif
grappelli/img/admin/arrow-down.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/img/admin/arrow-down.gif
grappelli/tinymce_setup/tinymce_setup.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce_setup/tinymce_setup.js
grappelli/stylesheets/screen.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/stylesheets/screen.css
grappelli/stylesheets/rtl.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/stylesheets/rtl.css
grappelli/stylesheets/mueller/screen.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/stylesheets/mueller/screen.css
grappelli/stylesheets/mueller/grid/output.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/stylesheets/mueller/grid/output.css
grappelli/stylesheets/mueller/grid/output-rtl.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/stylesheets/mueller/grid/output-rtl.css
grappelli/stylesheets/partials/custom/tinymce.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/stylesheets/partials/custom/tinymce.css
grappelli/tinymce/.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/.DS_Store
grappelli/tinymce/changelog.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/changelog.txt
grappelli/tinymce/examples/word.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/word.html
grappelli/tinymce/examples/simple.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/simple.html
grappelli/tinymce/examples/skins.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/skins.html
grappelli/tinymce/examples/.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/.DS_Store
grappelli/tinymce/examples/index.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/index.html
grappelli/tinymce/examples/full.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/full.html
grappelli/tinymce/examples/menu.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/menu.html
grappelli/tinymce/examples/custom_formats.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/custom_formats.html
grappelli/tinymce/examples/accessibility.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/accessibility.html
grappelli/tinymce/examples/templates/layout1.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/templates/layout1.htm
grappelli/tinymce/examples/templates/snippet1.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/templates/snippet1.htm
grappelli/tinymce/examples/lists/template_list.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/lists/template_list.js
grappelli/tinymce/examples/lists/media_list.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/lists/media_list.js
grappelli/tinymce/examples/lists/image_list.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/lists/image_list.js
grappelli/tinymce/examples/lists/link_list.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/lists/link_list.js
grappelli/tinymce/examples/css/word.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/css/word.css
grappelli/tinymce/examples/css/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/css/content.css
grappelli/tinymce/examples/media/sample.ram /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.ram
grappelli/tinymce/examples/media/sample.mov /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.mov
grappelli/tinymce/examples/media/sample.rm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.rm
grappelli/tinymce/examples/media/sample.avi /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.avi
grappelli/tinymce/examples/media/sample.swf /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.swf
grappelli/tinymce/examples/media/sample.dcr /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.dcr
grappelli/tinymce/examples/media/logo.jpg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/logo.jpg
grappelli/tinymce/examples/media/sample.flv /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/sample.flv
grappelli/tinymce/examples/media/logo_over.jpg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/examples/media/logo_over.jpg
grappelli/tinymce/jscripts/tiny_mce/tiny_mce_popup.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/tiny_mce_popup.js
grappelli/tinymce/jscripts/tiny_mce/license.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/license.txt
grappelli/tinymce/jscripts/tiny_mce/tiny_mce.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/tiny_mce.js
grappelli/tinymce/jscripts/tiny_mce/tiny_mce_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/tiny_mce_src.js
grappelli/tinymce/jscripts/tiny_mce/utils/mctabs.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/utils/mctabs.js
grappelli/tinymce/jscripts/tiny_mce/utils/form_utils.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/utils/form_utils.js
grappelli/tinymce/jscripts/tiny_mce/utils/editable_selects.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/utils/editable_selects.js
grappelli/tinymce/jscripts/tiny_mce/utils/validate.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/utils/validate.js
grappelli/tinymce/jscripts/tiny_mce/themes/simple/editor_template.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/editor_template.js
grappelli/tinymce/jscripts/tiny_mce/themes/simple/editor_template_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/editor_template_src.js
grappelli/tinymce/jscripts/tiny_mce/themes/simple/img/icons.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/img/icons.gif
grappelli/tinymce/jscripts/tiny_mce/themes/simple/langs/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/langs/en.js
grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/default/ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/default/ui.css
grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/default/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/default/content.css
grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/ui.css
grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/content.css
grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/image.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/image.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/anchor.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/anchor.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/shortcuts.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/shortcuts.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/about.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/about.htm
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/charmap.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/charmap.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/image.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/image.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/about.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/about.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/link.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/link.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/color_picker.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/color_picker.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/anchor.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/js/anchor.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/shockwave.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/shockwave.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/quicktime.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/quicktime.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/iframe.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/iframe.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/icons.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/icons.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/video.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/video.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/trans.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/trans.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/realmedia.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/realmedia.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/flash.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/flash.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/pagebreak.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/pagebreak.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/windowsmedia.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/img/windowsmedia.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_pl.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_pl.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_base.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_base.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_typography.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_typography.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/ui.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/customized.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/customized.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_de.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_de.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_en.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_en.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_cs.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_documentstructure_cs.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_grid.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content_grid.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/content.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/dialog.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/dialog.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/icons/icon-fb_show.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/icons/icon-fb_show.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/icons/icon-fb_show-hover.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/icons/icon-fb_show-hover.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/icons/icon-mceResize.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/icons/icon-mceResize.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/menu/icon-mceOpen.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/menu/icon-mceOpen.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/customized/button_pagebreak.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/customized/button_pagebreak.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/customized/pagebreak.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/customized/pagebreak.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/unlink.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/unlink.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/visualchars.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/visualchars.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_row_after.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_row_after.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifycenter.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifycenter.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/redo.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/redo.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/link.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/link.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_delete_row.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_delete_row.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/pasteword.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/pasteword.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/italic.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/italic.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/fullscreen.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/fullscreen.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/code.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/code.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/image.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/image.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifyright.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifyright.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_row_before.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_row_before.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/template.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/template.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/show_advanced.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/show_advanced.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_row_props.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_row_props.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/undo.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/undo.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifyleft.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifyleft.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/underline.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/underline.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_delete_col.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_delete_col.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/media.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/media.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifyfull.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/justifyfull.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_merge_cells.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_merge_cells.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_col_after.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_col_after.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_split_cells.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_split_cells.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_col_before.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_col_before.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/bold.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/bold.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/charmap.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/charmap.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/numlist.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/numlist.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/bullist.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/bullist.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_cell_props.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/table_cell_props.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/search.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/search.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/blockquote.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/blockquote.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/cleanup.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/img/buttons/cleanup.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/ui.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/content.css
grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css
grappelli/tinymce/jscripts/tiny_mce/langs/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/langs/en.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/table/table.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/table.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/table/row.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/row.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/cell.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/cell.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/row.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/row.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/merge_cells.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/merge_cells.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/table.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/js/table.js
grappelli/tinymce/jscripts/tiny_mce/plugins/table/css/row.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/css/row.css
grappelli/tinymce/jscripts/tiny_mce/plugins/table/css/table.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/css/table.css
grappelli/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css
grappelli/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/style/readme.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/readme.txt
grappelli/tinymce/jscripts/tiny_mce/plugins/style/props.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/props.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/style/js/props.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/js/props.js
grappelli/tinymce/jscripts/tiny_mce/plugins/style/css/props.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/css/props.css
grappelli/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js
grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css
grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/moxieplayer.swf /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/moxieplayer.swf
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/media.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/media.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/js/media.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/js/media.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/js/embed.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/js/embed.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/css/media.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/css/media.css
grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media_orig/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/preview/example.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/preview/example.html
grappelli/tinymce/jscripts/tiny_mce/plugins/preview/preview.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/preview/preview.html
grappelli/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js
grappelli/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/blank.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/blank.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/template.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/template.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/js/template.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/js/template.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/css/template.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/css/template.css
grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template_orig/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/img/visualchars.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/img/visualchars.png
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/img/show_advanced.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/img/show_advanced.png
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/fr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/fr.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/cs.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/cs.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/pl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/pl.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/en.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/de.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/de.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/ru.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli/langs/ru.js
grappelli/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/image.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/image.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/js/image.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/js/image.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/img/sample.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/img/sample.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/css/advimage.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/css/advimage.css
grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advimage_orig/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/visualblocks/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/visualblocks/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/visualblocks/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/visualblocks/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/visualblocks/css/visualblocks.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/visualblocks/css/visualblocks.css
grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css
grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example_dependency/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example_dependency/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example_dependency/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example_dependency/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/pastetext.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/pastetext.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/pasteword.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/pasteword.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/js/pasteword.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/js/pasteword.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/js/pastetext.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/js/pastetext.js
grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/paste_orig/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template/blank.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/blank.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/template/template.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/template.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template/js/template.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/js/template.js
grappelli/tinymce/jscripts/tiny_mce/plugins/template/css/template.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/css/template.css
grappelli/tinymce/jscripts/tiny_mce/plugins/template/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/template/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/searchreplace.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/searchreplace.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/js/searchreplace.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/js/searchreplace.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/css/searchreplace.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/css/searchreplace.css
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace_orig/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css
grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/fr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/fr.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/cs.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/cs.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/pl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/pl.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/en.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/de.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/de.js
grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/ru.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/grappelli_contextmenu/langs/ru.js
grappelli/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/link.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/link.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/js/advlink.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/js/advlink.js
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/css/advlink.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/css/advlink.css
grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink_orig/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif
grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css
grappelli/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css
grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media/moxieplayer.swf /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/moxieplayer.swf
grappelli/tinymce/jscripts/tiny_mce/plugins/media/media.htm /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/media.htm
grappelli/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media/js/media.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/js/media.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js
grappelli/tinymce/jscripts/tiny_mce/plugins/media/css/media.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/css/media.css
grappelli/tinymce/jscripts/tiny_mce/plugins/media/langs/en_dlg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/media/langs/en_dlg.js
grappelli/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
grappelli/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js
grappelli/jquery/jquery.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/jquery.min.js
grappelli/jquery/jquery.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/jquery.js
grappelli/jquery/LICENSE-JQUERY.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/LICENSE-JQUERY.txt
grappelli/jquery/.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/.DS_Store
grappelli/jquery/jquery-migrate-3.0.1.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/jquery-migrate-3.0.1.min.js
grappelli/jquery/LICENSE.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/LICENSE.txt
grappelli/jquery/jquery-migrate-3.0.1.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/jquery-migrate-3.0.1.js
grappelli/jquery/ui/jquery-ui.structure.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.structure.css
grappelli/jquery/ui/jquery-ui.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.css
grappelli/jquery/ui/jquery-ui.structure.min.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.structure.min.css
grappelli/jquery/ui/jquery-ui.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.js
grappelli/jquery/ui/AUTHORS.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/AUTHORS.txt
grappelli/jquery/ui/.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/.DS_Store
grappelli/jquery/ui/jquery-ui.theme.min.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.theme.min.css
grappelli/jquery/ui/index.html /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/index.html
grappelli/jquery/ui/LICENSE.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/LICENSE.txt
grappelli/jquery/ui/jquery-ui.min.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.min.css
grappelli/jquery/ui/jquery-ui.theme.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.theme.css
grappelli/jquery/ui/jquery-ui.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/jquery-ui.min.js
grappelli/jquery/ui/images/ui-icons_cc0000_256x240.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/images/ui-icons_cc0000_256x240.png
grappelli/jquery/ui/images/ui-icons_777620_256x240.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/images/ui-icons_777620_256x240.png
grappelli/jquery/ui/images/ui-icons_555555_256x240.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/images/ui-icons_555555_256x240.png
grappelli/jquery/ui/images/ui-icons_777777_256x240.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/images/ui-icons_777777_256x240.png
grappelli/jquery/ui/images/ui-icons_444444_256x240.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/images/ui-icons_444444_256x240.png
grappelli/jquery/ui/images/ui-icons_ffffff_256x240.png /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/images/ui-icons_ffffff_256x240.png
grappelli/jquery/ui/external/jquery/jquery.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/grappelli/jquery/ui/external/jquery/jquery.js
admin/js/actions.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/admin/js/actions.js
admin/js/admin/.DS_Store /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/admin/js/admin/.DS_Store
admin/js/admin/DateTimeShortcuts.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/admin/js/admin/DateTimeShortcuts.js
admin/js/admin/RelatedObjectLookups.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/grappelli/static/admin/js/admin/RelatedObjectLookups.js
admin/js/nav_sidebar.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/nav_sidebar.js
admin/js/autocomplete.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/autocomplete.js
admin/js/jquery.init.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/jquery.init.js
admin/js/urlify.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/urlify.js
admin/js/calendar.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/calendar.js
admin/js/actions.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/actions.js
admin/js/core.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/core.js
admin/js/SelectFilter2.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/SelectFilter2.js
admin/js/prepopulate_init.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/prepopulate_init.js
admin/js/change_form.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/change_form.js
admin/js/inlines.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/inlines.js
admin/js/cancel.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/cancel.js
admin/js/prepopulate.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/prepopulate.js
admin/js/theme.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/theme.js
admin/js/popup_response.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/popup_response.js
admin/js/SelectBox.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/SelectBox.js
admin/js/collapse.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/collapse.js
admin/js/filters.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/filters.js
admin/js/vendor/xregexp/LICENSE.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/LICENSE.txt
admin/js/vendor/xregexp/xregexp.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.js
admin/js/vendor/xregexp/xregexp.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.min.js
admin/js/vendor/select2/LICENSE.md /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/LICENSE.md
admin/js/vendor/select2/select2.full.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/select2.full.js
admin/js/vendor/select2/select2.full.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/select2.full.min.js
admin/js/vendor/select2/i18n/bs.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/bs.js
admin/js/vendor/select2/i18n/ja.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ja.js
admin/js/vendor/select2/i18n/sr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sr.js
admin/js/vendor/select2/i18n/he.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/he.js
admin/js/vendor/select2/i18n/ca.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ca.js
admin/js/vendor/select2/i18n/bn.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/bn.js
admin/js/vendor/select2/i18n/sk.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sk.js
admin/js/vendor/select2/i18n/hr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hr.js
admin/js/vendor/select2/i18n/ar.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ar.js
admin/js/vendor/select2/i18n/hy.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hy.js
admin/js/vendor/select2/i18n/th.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/th.js
admin/js/vendor/select2/i18n/vi.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/vi.js
admin/js/vendor/select2/i18n/mk.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/mk.js
admin/js/vendor/select2/i18n/hi.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hi.js
admin/js/vendor/select2/i18n/lt.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/lt.js
admin/js/vendor/select2/i18n/tk.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/tk.js
admin/js/vendor/select2/i18n/fr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/fr.js
admin/js/vendor/select2/i18n/fi.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/fi.js
admin/js/vendor/select2/i18n/zh-CN.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/zh-CN.js
admin/js/vendor/select2/i18n/sr-Cyrl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sr-Cyrl.js
admin/js/vendor/select2/i18n/pt-BR.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/pt-BR.js
admin/js/vendor/select2/i18n/ne.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ne.js
admin/js/vendor/select2/i18n/ko.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ko.js
admin/js/vendor/select2/i18n/et.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/et.js
admin/js/vendor/select2/i18n/pt.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/pt.js
admin/js/vendor/select2/i18n/da.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/da.js
admin/js/vendor/select2/i18n/bg.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/bg.js
admin/js/vendor/select2/i18n/es.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/es.js
admin/js/vendor/select2/i18n/is.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/is.js
admin/js/vendor/select2/i18n/hu.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hu.js
admin/js/vendor/select2/i18n/af.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/af.js
admin/js/vendor/select2/i18n/cs.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/cs.js
admin/js/vendor/select2/i18n/nl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/nl.js
admin/js/vendor/select2/i18n/sv.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sv.js
admin/js/vendor/select2/i18n/el.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/el.js
admin/js/vendor/select2/i18n/fa.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/fa.js
admin/js/vendor/select2/i18n/it.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/it.js
admin/js/vendor/select2/i18n/dsb.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/dsb.js
admin/js/vendor/select2/i18n/zh-TW.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/zh-TW.js
admin/js/vendor/select2/i18n/ro.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ro.js
admin/js/vendor/select2/i18n/km.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/km.js
admin/js/vendor/select2/i18n/pl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/pl.js
admin/js/vendor/select2/i18n/ms.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ms.js
admin/js/vendor/select2/i18n/ps.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ps.js
admin/js/vendor/select2/i18n/tr.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/tr.js
admin/js/vendor/select2/i18n/en.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/en.js
admin/js/vendor/select2/i18n/nb.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/nb.js
admin/js/vendor/select2/i18n/gl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/gl.js
admin/js/vendor/select2/i18n/de.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/de.js
admin/js/vendor/select2/i18n/eu.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/eu.js
admin/js/vendor/select2/i18n/id.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/id.js
admin/js/vendor/select2/i18n/ru.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ru.js
admin/js/vendor/select2/i18n/hsb.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/hsb.js
admin/js/vendor/select2/i18n/az.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/az.js
admin/js/vendor/select2/i18n/lv.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/lv.js
admin/js/vendor/select2/i18n/ka.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/ka.js
admin/js/vendor/select2/i18n/sl.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sl.js
admin/js/vendor/select2/i18n/uk.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/uk.js
admin/js/vendor/select2/i18n/sq.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/select2/i18n/sq.js
admin/js/vendor/jquery/jquery.min.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.min.js
admin/js/vendor/jquery/jquery.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.js
admin/js/vendor/jquery/LICENSE.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/LICENSE.txt
admin/js/admin/DateTimeShortcuts.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js
admin/js/admin/RelatedObjectLookups.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
admin/img/search.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/search.svg
admin/img/icon-unknown.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-unknown.svg
admin/img/tooltag-arrowright.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/tooltag-arrowright.svg
admin/img/icon-deletelink.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-deletelink.svg
admin/img/icon-viewlink.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-viewlink.svg
admin/img/icon-alert.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-alert.svg
admin/img/inline-delete.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/inline-delete.svg
admin/img/icon-addlink.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-addlink.svg
admin/img/selector-icons.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/selector-icons.svg
admin/img/tooltag-add.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/tooltag-add.svg
admin/img/icon-calendar.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-calendar.svg
admin/img/icon-unknown-alt.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-unknown-alt.svg
admin/img/icon-clock.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-clock.svg
admin/img/icon-no.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-no.svg
admin/img/LICENSE /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/LICENSE
admin/img/icon-hidelink.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-hidelink.svg
admin/img/README.txt /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/README.txt
admin/img/sorting-icons.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/sorting-icons.svg
admin/img/icon-changelink.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-changelink.svg
admin/img/calendar-icons.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/calendar-icons.svg
admin/img/icon-yes.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/icon-yes.svg
admin/img/gis/move_vertex_off.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/gis/move_vertex_off.svg
admin/img/gis/move_vertex_on.svg /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/img/gis/move_vertex_on.svg
admin/css/base.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/base.css
admin/css/dark_mode.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/dark_mode.css
admin/css/login.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/login.css
admin/css/responsive_rtl.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/responsive_rtl.css
admin/css/responsive.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/responsive.css
admin/css/rtl.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/rtl.css
admin/css/widgets.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/widgets.css
admin/css/autocomplete.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/autocomplete.css
admin/css/dashboard.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/dashboard.css
admin/css/nav_sidebar.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/nav_sidebar.css
admin/css/changelists.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/changelists.css
admin/css/forms.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/forms.css
admin/css/vendor/select2/LICENSE-SELECT2.md /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/vendor/select2/LICENSE-SELECT2.md
admin/css/vendor/select2/select2.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/vendor/select2/select2.css
admin/css/vendor/select2/select2.min.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django/contrib/admin/static/admin/css/vendor/select2/select2.min.css
django-htmx.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/static/django-htmx.js
js/htmx.min.js /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/js/htmx.min.js
js/tradingview/charting_library/charting_library.standalone.js /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/js/tradingview/charting_library/charting_library.standalone.js
img/how-it-works.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/how-it-works.png
img/penny_loupe_logo_bw.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/penny_loupe_logo_bw.png
img/volatility.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/volatility.png
img/penny_loupe_bg.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/penny_loupe_bg.png
img/penny_loupe_logo.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/penny_loupe_logo.png
img/news_sites.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/news_sites.png
img/pennyloupe_icon.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/pennyloupe_icon.png
img/penny_loupe_logo_inv.png /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/img/penny_loupe_logo_inv.png
css/pennyloupe.css /mnt/disks/pennyloupe_disk/pennyloupe/app/core/static/css/pennyloupe.css
django_extensions/js/jquery.ajaxQueue.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_extensions/static/django_extensions/js/jquery.ajaxQueue.js
django_extensions/js/jquery.bgiframe.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_extensions/static/django_extensions/js/jquery.bgiframe.js
django_extensions/js/jquery.autocomplete.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_extensions/static/django_extensions/js/jquery.autocomplete.js
django_extensions/img/indicator.gif /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_extensions/static/django_extensions/img/indicator.gif
django_extensions/css/jquery.autocomplete.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_extensions/static/django_extensions/css/jquery.autocomplete.css
debug_toolbar/js/utils.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/js/utils.js
debug_toolbar/js/history.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/js/history.js
debug_toolbar/js/toolbar.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.js
debug_toolbar/js/timer.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/js/timer.js
debug_toolbar/js/redirect.js /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/js/redirect.js
debug_toolbar/css/toolbar.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/css/toolbar.css
debug_toolbar/css/print.css /mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/debug_toolbar/static/debug_toolbar/css/print.css

Templates (37 rendered)

Template path

  1. templates

Templates

model_detail.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/model_detail.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'}
base.html
/mnt/disks/pennyloupe_disk/pennyloupe/templates/base.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'}
components/leftnav.html
/mnt/disks/pennyloupe_disk/pennyloupe/templates/components/leftnav.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: leftnav. Contents: [<TextNode: '\n <div'>, <IncludeNode: template=<FilterExpression '"components/leftnav.html"'>>, <TextNode: '\n </di'>]>}
components/header.html
/mnt/disks/pennyloupe_disk/pennyloupe/templates/components/header.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: header. Contents: [<TextNode: '\n\n '>, <IncludeNode: template=<FilterExpression '"components/header.html"'>>, <TextNode: '\n\n '>]>}
components/kpis.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/components/kpis.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'kpi': ''}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.03, 'financial': 0, 'other': 0.18}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.16, 'financial': 0, 'other': 0.09}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.1, 'financial': 0, 'other': 0.11}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.03, 'financial': 0, 'other': 0.15}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.03, 'financial': 0, 'other': 0.15}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.14, 'financial': 0, 'other': 0.13}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.03, 'financial': 0, 'other': 0.14}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.03, 'financial': 0, 'other': 0.15}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.02, 'financial': 0, 'other': 0.15}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0, 'financial': 0, 'other': 0}}
snippets/metrics.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/snippets/metrics.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: content. Contents: [<TextNode: '\n\n <div class="pl-cont'>, <Variable Node: model.name>, <TextNode: ' v'>, <Variable Node: model.version>, <TextNode: '\n\n </h1>\n\n '>, <URLNode view_name=''admin:core_model_change'' args=[<FilterExpression 'model.id'>] kwargs={} as=None>, <TextNode: '"\n '>, <Variable Node: model.key>, <TextNode: '</b>\n '>, <Variable Node: model.version>, <TextNode: '\n '>, <Variable Node: model.type>, <TextNode: '\n '>, <Variable Node: model.description|default:"<i>None</i>">, <TextNode: '\n '>, <Variable Node: model.end_point_url>, <TextNode: '</dd>\n '>, <Variable Node: model.last_trained_dt|localtime>, <TextNode: '</dd>\n '>, <URLNode view_name='"model_picks"' args=[] kwargs={} as=None>, <TextNode: '?model_id='>, <Variable Node: model.id>, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '&date_to='>, <Variable Node: model.last_run_dt|localtime|date:"Y-m-d">, <TextNode: '">\n '>, <Variable Node: model.last_run_dt|localtime>, <TextNode: '\n '>, <ForNode: for key, value in model.meta.items, tail_len: 5>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f8de9020790>, <TextNode: '\n\n '>, <Variable Node: date_from|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:\''>, <Variable Node: date_to|date:'Y-m-d'>, <TextNode: '" uk-datepicker="format:'>, <Variable Node: curve_data_week_list|length>, <TextNode: '" value="0" step="1"\n '>, <IncludeNode: template=<FilterExpression '"components/kpis.html"'>>, <TextNode: '\n <!--'>, <IfNode>, <TextNode: '\n\n </div>\n'>]>} {'forloop': {'counter': 30, 'counter0': 29, 'first': False, 'last': True, 'parentloop': {}, 'revcounter': 1, 'revcounter0': 0}, 'p': {'avg_performance': 5.532064775154031, 'date': datetime.date(2024, 10, 7), 'fail_count': 319, 'hit_count': 701, 'hit_rate': 90.33505154639175, 'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}, 'pass_count': 457, 'total_count': 776, 'win_rate': 58.891752577319586}} {'metrics': {'content': 0.02, 'financial': 0, 'other': 0.16}}
components/footer.html
/mnt/disks/pennyloupe_disk/pennyloupe/templates/components/footer.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: footer. Contents: [<TextNode: '\n '>, <IncludeNode: template=<FilterExpression '"components/footer.html"'>>, <TextNode: '\n '>]>}
components/performance_curve.html
/mnt/disks/pennyloupe_disk/pennyloupe/app/core/templates/components/performance_curve.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': '<SimpleLazyObject: ' "'2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>", 'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>), 'request': '<<request>>', 'user': '<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object ' 'at 0x7f8de8858bd0>>'} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}], 'curve_data_by_week': {'2024-10-07': [{'avg_performance': 0.3105590062111735, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-10-07', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.777701003342625, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2024-10-07', 'win_count': 3, 'win_rate': 33.333333333333336}, {'avg_performance': 3.953782016109056, 'bin': 0.9, 'count': 413, 'hit_count': 374, 'hit_rate': 90.55690072639226, 'total_count': 413, 'week': '2024-10-07', 'win_count': 218, 'win_rate': 52.78450363196126}, {'avg_performance': 6.593562511632707, 'bin': 1.0, 'count': 920, 'hit_count': 844, 'hit_rate': 91.73913043478261, 'total_count': 920, 'week': '2024-10-07', 'win_count': 621, 'win_rate': 67.5}], '2024-10-28': [{'avg_performance': 29.131604486321162, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-10-28', 'win_count': 2, 'win_rate': 100.0}, {'avg_performance': 3.8621679715305337, 'bin': 0.8, 'count': 8, 'hit_count': 7, 'hit_rate': 87.5, 'total_count': 8, 'week': '2024-10-28', 'win_count': 5, 'win_rate': 62.5}, {'avg_performance': 6.853897461908112, 'bin': 0.9, 'count': 257, 'hit_count': 253, 'hit_rate': 98.44357976653697, 'total_count': 257, 'week': '2024-10-28', 'win_count': 198, 'win_rate': 77.04280155642023}, {'avg_performance': 8.176248323779935, 'bin': 1.0, 'count': 514, 'hit_count': 495, 'hit_rate': 96.3035019455253, 'total_count': 514, 'week': '2024-10-28', 'win_count': 414, 'win_rate': 80.54474708171206}], '2024-11-04': [{'avg_performance': 9.31397274528088, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2024-11-04', 'win_count': 5, 'win_rate': 71.42857142857143}, {'avg_performance': 9.74129748730993, 'bin': 0.9, 'count': 280, 'hit_count': 264, 'hit_rate': 94.28571428571429, 'total_count': 280, 'week': '2024-11-04', 'win_count': 216, 'win_rate': 77.14285714285714}, {'avg_performance': 10.395486796679174, 'bin': 1.0, 'count': 397, 'hit_count': 376, 'hit_rate': 94.7103274559194, 'total_count': 397, 'week': '2024-11-04', 'win_count': 313, 'win_rate': 78.84130982367758}], '2024-11-11': [{'avg_performance': 1.7021696252465532, 'bin': 0.6, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-11-11', 'win_count': 1, 'win_rate': 50.0}, {'avg_performance': 34.83356822471865, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-11-11', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 6.434288205709617, 'bin': 0.9, 'count': 246, 'hit_count': 225, 'hit_rate': 91.46341463414635, 'total_count': 246, 'week': '2024-11-11', 'win_count': 154, 'win_rate': 62.60162601626016}, {'avg_performance': 5.753777259205454, 'bin': 1.0, 'count': 515, 'hit_count': 449, 'hit_rate': 87.18446601941747, 'total_count': 515, 'week': '2024-11-11', 'win_count': 316, 'win_rate': 61.359223300970875}], '2024-11-18': [{'avg_performance': 1.764705882352943, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 39.35309973045822, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-18', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 24.304417628467878, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2024-11-18', 'win_count': 10, 'win_rate': 83.33333333333333}, {'avg_performance': 9.081816940560536, 'bin': 0.9, 'count': 524, 'hit_count': 506, 'hit_rate': 96.56488549618321, 'total_count': 524, 'week': '2024-11-18', 'win_count': 424, 'win_rate': 80.91603053435115}, {'avg_performance': 13.235050407817173, 'bin': 1.0, 'count': 907, 'hit_count': 885, 'hit_rate': 97.57442116868798, 'total_count': 907, 'week': '2024-11-18', 'win_count': 805, 'win_rate': 88.75413450937155}], '2024-11-25': [{'avg_performance': 0.5649717514124374, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-11-25', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 17.54945519618237, 'bin': 0.8, 'count': 6, 'hit_count': 6, 'hit_rate': 100.0, 'total_count': 6, 'week': '2024-11-25', 'win_count': 4, 'win_rate': 66.66666666666667}, {'avg_performance': 7.740677558664149, 'bin': 0.9, 'count': 295, 'hit_count': 278, 'hit_rate': 94.23728813559322, 'total_count': 295, 'week': '2024-11-25', 'win_count': 209, 'win_rate': 70.84745762711864}, {'avg_performance': 8.82823056892888, 'bin': 1.0, 'count': 526, 'hit_count': 512, 'hit_rate': 97.33840304182509, 'total_count': 526, 'week': '2024-11-25', 'win_count': 441, 'win_rate': 83.8403041825095}], '2024-12-02': [{'avg_performance': 0.4288777698356004, 'bin': 0.5, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 3.953748601268192, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2024-12-02', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 3.061914845323536, 'bin': 0.8, 'count': 13, 'hit_count': 13, 'hit_rate': 100.0, 'total_count': 13, 'week': '2024-12-02', 'win_count': 8, 'win_rate': 61.53846153846154}, {'avg_performance': 7.028587935072782, 'bin': 0.9, 'count': 450, 'hit_count': 406, 'hit_rate': 90.22222222222223, 'total_count': 450, 'week': '2024-12-02', 'win_count': 277, 'win_rate': 61.55555555555556}, {'avg_performance': 7.688445884052878, 'bin': 1.0, 'count': 1014, 'hit_count': 930, 'hit_rate': 91.71597633136095, 'total_count': 1014, 'week': '2024-12-02', 'win_count': 685, 'win_rate': 67.55424063116371}], '2024-12-09': [{'avg_performance': 0.5786712054456086, 'bin': 0.8, 'count': 5, 'hit_count': 3, 'hit_rate': 60.0, 'total_count': 5, 'week': '2024-12-09', 'win_count': 1, 'win_rate': 20.0}, {'avg_performance': 4.228293902024862, 'bin': 0.9, 'count': 210, 'hit_count': 189, 'hit_rate': 90.0, 'total_count': 210, 'week': '2024-12-09', 'win_count': 104, 'win_rate': 49.523809523809526}, {'avg_performance': 5.460315683856782, 'bin': 1.0, 'count': 424, 'hit_count': 374, 'hit_rate': 88.20754716981132, 'total_count': 424, 'week': '2024-12-09', 'win_count': 267, 'win_rate': 62.971698113207545}], '2024-12-16': [{'avg_performance': 1.2509887791872978, 'bin': 0.7, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'week': '2024-12-16', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.905441318663721, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2024-12-16', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.284894302969728, 'bin': 0.9, 'count': 416, 'hit_count': 389, 'hit_rate': 93.50961538461539, 'total_count': 416, 'week': '2024-12-16', 'win_count': 265, 'win_rate': 63.70192307692308}, {'avg_performance': 10.069746563681482, 'bin': 1.0, 'count': 1146, 'hit_count': 1070, 'hit_rate': 93.36823734729494, 'total_count': 1146, 'week': '2024-12-16', 'win_count': 836, 'win_rate': 72.94938917975567}], '2024-12-23': [{'avg_performance': 4.590294300260031, 'bin': 0.8, 'count': 17, 'hit_count': 16, 'hit_rate': 94.11764705882354, 'total_count': 17, 'week': '2024-12-23', 'win_count': 9, 'win_rate': 52.94117647058823}, {'avg_performance': 11.942424221463114, 'bin': 0.9, 'count': 566, 'hit_count': 540, 'hit_rate': 95.40636042402826, 'total_count': 566, 'week': '2024-12-23', 'win_count': 417, 'win_rate': 73.67491166077738}, {'avg_performance': 16.59517166285854, 'bin': 1.0, 'count': 1027, 'hit_count': 990, 'hit_rate': 96.39727361246348, 'total_count': 1027, 'week': '2024-12-23', 'win_count': 849, 'win_rate': 82.66796494644596}], '2024-12-30': [{'avg_performance': 5.569766501584431, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2024-12-30', 'win_count': 3, 'win_rate': 60.0}, {'avg_performance': 10.213519262977321, 'bin': 0.9, 'count': 271, 'hit_count': 264, 'hit_rate': 97.41697416974169, 'total_count': 271, 'week': '2024-12-30', 'win_count': 214, 'win_rate': 78.96678966789668}, {'avg_performance': 11.65487757769049, 'bin': 1.0, 'count': 540, 'hit_count': 518, 'hit_rate': 95.92592592592592, 'total_count': 540, 'week': '2024-12-30', 'win_count': 450, 'win_rate': 83.33333333333333}], '2025-01-06': [{'avg_performance': 4.3269230769230695, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-06', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 4.2846433435611475, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-06', 'win_count': 3, 'win_rate': 42.857142857142854}, {'avg_performance': 6.584959242494614, 'bin': 0.9, 'count': 164, 'hit_count': 149, 'hit_rate': 90.85365853658537, 'total_count': 164, 'week': '2025-01-06', 'win_count': 96, 'win_rate': 58.53658536585366}, {'avg_performance': 6.533316099551097, 'bin': 1.0, 'count': 332, 'hit_count': 308, 'hit_rate': 92.7710843373494, 'total_count': 332, 'week': '2025-01-06', 'win_count': 207, 'win_rate': 62.34939759036145}], '2025-01-13': [{'avg_performance': 0.974658869395708, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-13', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.649581230865309, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-13', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 6.281123305744255, 'bin': 0.8, 'count': 7, 'hit_count': 7, 'hit_rate': 100.0, 'total_count': 7, 'week': '2025-01-13', 'win_count': 7, 'win_rate': 100.0}, {'avg_performance': 7.079814262014689, 'bin': 0.9, 'count': 292, 'hit_count': 278, 'hit_rate': 95.20547945205479, 'total_count': 292, 'week': '2025-01-13', 'win_count': 220, 'win_rate': 75.34246575342466}, {'avg_performance': 9.720312954488518, 'bin': 1.0, 'count': 832, 'hit_count': 799, 'hit_rate': 96.03365384615384, 'total_count': 832, 'week': '2025-01-13', 'win_count': 676, 'win_rate': 81.25}], '2025-01-20': [{'avg_performance': 4.038734713656455, 'bin': 0.8, 'count': 5, 'hit_count': 5, 'hit_rate': 100.0, 'total_count': 5, 'week': '2025-01-20', 'win_count': 2, 'win_rate': 40.0}, {'avg_performance': 6.824695556710181, 'bin': 0.9, 'count': 148, 'hit_count': 140, 'hit_rate': 94.5945945945946, 'total_count': 148, 'week': '2025-01-20', 'win_count': 95, 'win_rate': 64.1891891891892}, {'avg_performance': 9.542901303759244, 'bin': 1.0, 'count': 337, 'hit_count': 319, 'hit_rate': 94.65875370919882, 'total_count': 337, 'week': '2025-01-20', 'win_count': 252, 'win_rate': 74.77744807121661}], '2025-01-27': [{'avg_performance': 0.9823182711198394, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 6.868131868131869, 'bin': 0.6, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 1, 'win_rate': 100.0}, {'avg_performance': 1.5624999999999944, 'bin': 0.7, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-01-27', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 4.027684396591157, 'bin': 0.8, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-01-27', 'win_count': 4, 'win_rate': 100.0}, {'avg_performance': 7.52816251349586, 'bin': 0.9, 'count': 137, 'hit_count': 130, 'hit_rate': 94.8905109489051, 'total_count': 137, 'week': '2025-01-27', 'win_count': 103, 'win_rate': 75.18248175182482}, {'avg_performance': 8.536181242571292, 'bin': 1.0, 'count': 424, 'hit_count': 395, 'hit_rate': 93.16037735849056, 'total_count': 424, 'week': '2025-01-27', 'win_count': 329, 'win_rate': 77.59433962264151}], '2025-02-03': [{'avg_performance': 9.626160918215007, 'bin': 0.8, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-03', 'win_count': 3, 'win_rate': 100.0}, {'avg_performance': 7.725142839857705, 'bin': 0.9, 'count': 158, 'hit_count': 154, 'hit_rate': 97.46835443037975, 'total_count': 158, 'week': '2025-02-03', 'win_count': 137, 'win_rate': 86.70886075949367}, {'avg_performance': 10.053031460480254, 'bin': 1.0, 'count': 461, 'hit_count': 456, 'hit_rate': 98.91540130151844, 'total_count': 461, 'week': '2025-02-03', 'win_count': 422, 'win_rate': 91.54013015184381}], '2025-02-17': [{'avg_performance': 2.829334737939083, 'bin': 0.5, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-17', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 6.1642430080296595, 'bin': 0.6, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-17', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 0.0, 'bin': 0.7, 'count': 1, 'hit_count': 0, 'hit_rate': 0.0, 'total_count': 1, 'week': '2025-02-17', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 1.9126888214392472, 'bin': 0.8, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'week': '2025-02-17', 'win_count': 5, 'win_rate': 41.666666666666664}, {'avg_performance': 5.287228792259458, 'bin': 0.9, 'count': 427, 'hit_count': 397, 'hit_rate': 92.97423887587821, 'total_count': 427, 'week': '2025-02-17', 'win_count': 283, 'win_rate': 66.27634660421546}, {'avg_performance': 7.68175975114777, 'bin': 1.0, 'count': 1254, 'hit_count': 1166, 'hit_rate': 92.98245614035088, 'total_count': 1254, 'week': '2025-02-17', 'win_count': 882, 'win_rate': 70.33492822966507}], '2025-02-24': [{'avg_performance': 0.9459459459459377, 'bin': 0.4, 'count': 1, 'hit_count': 1, 'hit_rate': 100.0, 'total_count': 1, 'week': '2025-02-24', 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.5181709205912335, 'bin': 0.6, 'count': 3, 'hit_count': 3, 'hit_rate': 100.0, 'total_count': 3, 'week': '2025-02-24', 'win_count': 2, 'win_rate': 66.66666666666667}, {'avg_performance': 5.023396868590892, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-02-24', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 2.5536525112220487, 'bin': 0.8, 'count': 18, 'hit_count': 14, 'hit_rate': 77.77777777777777, 'total_count': 18, 'week': '2025-02-24', 'win_count': 6, 'win_rate': 33.333333333333336}, {'avg_performance': 5.166133111732155, 'bin': 0.9, 'count': 557, 'hit_count': 501, 'hit_rate': 89.94614003590664, 'total_count': 557, 'week': '2025-02-24', 'win_count': 349, 'win_rate': 62.657091561938955}, {'avg_performance': 6.063916476151778, 'bin': 1.0, 'count': 1198, 'hit_count': 1076, 'hit_rate': 89.81636060100168, 'total_count': 1198, 'week': '2025-02-24', 'win_count': 805, 'win_rate': 67.19532554257096}], '2025-03-03': [{'avg_performance': 3.7401332877712505, 'bin': 0.8, 'count': 11, 'hit_count': 11, 'hit_rate': 100.0, 'total_count': 11, 'week': '2025-03-03', 'win_count': 6, 'win_rate': 54.54545454545455}, {'avg_performance': 3.848717976078449, 'bin': 0.9, 'count': 221, 'hit_count': 193, 'hit_rate': 87.33031674208145, 'total_count': 221, 'week': '2025-03-03', 'win_count': 104, 'win_rate': 47.05882352941177}, {'avg_performance': 5.384375547781203, 'bin': 1.0, 'count': 475, 'hit_count': 425, 'hit_rate': 89.47368421052632, 'total_count': 475, 'week': '2025-03-03', 'win_count': 272, 'win_rate': 57.26315789473684}], '2025-03-10': [{'avg_performance': 8.12782548632121, 'bin': 0.7, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'week': '2025-03-10', 'win_count': 3, 'win_rate': 75.0}, {'avg_performance': 12.29567905896364, 'bin': 0.8, 'count': 9, 'hit_count': 9, 'hit_rate': 100.0, 'total_count': 9, 'week': '2025-03-10', 'win_count': 7, 'win_rate': 77.77777777777777}, {'avg_performance': 7.605788361615662, 'bin': 0.9, 'count': 517, 'hit_count': 491, 'hit_rate': 94.97098646034816, 'total_count': 517, 'week': '2025-03-10', 'win_count': 408, 'win_rate': 78.91682785299807}, {'avg_performance': 9.493749988816306, 'bin': 1.0, 'count': 663, 'hit_count': 628, 'hit_rate': 94.72096530920061, 'total_count': 663, 'week': '2025-03-10', 'win_count': 560, 'win_rate': 84.46455505279035}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'kpis': {'avg_gain': 8.499666235090704, 'fail_count': 5649, 'hit_count': 19335, 'hit_rate': 93.5730532836471, 'pass_count': 15014, 'total_tests': 20663, 'win_rate': 72.66127861394763}, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'performance_data': '<<queryset of core.ModelTest>>'} {'block': <Block Node: body_end. Contents: [<TextNode: '\n\n <!-- PERFORMANCE CU'>, <IncludeNode: template=<FilterExpression '"components/performance_curve.html"'>>, <TextNode: '\n <!-- /PERFORMANCE CU'>]>} {'curve_data': [{'avg_performance': 0.9641321085328886, 'bin': 0.4, 'count': 2, 'hit_count': 2, 'hit_rate': 100.0, 'total_count': 2, 'win_count': 0, 'win_rate': 0.0}, {'avg_performance': 2.2292204959132125, 'bin': 0.5, 'count': 4, 'hit_count': 4, 'hit_rate': 100.0, 'total_count': 4, 'win_count': 2, 'win_rate': 50.0}, {'avg_performance': 3.7686100553554973, 'bin': 0.6, 'count': 12, 'hit_count': 12, 'hit_rate': 100.0, 'total_count': 12, 'win_count': 7, 'win_rate': 58.333333333333336}, {'avg_performance': 7.914791436539116, 'bin': 0.7, 'count': 23, 'hit_count': 22, 'hit_rate': 95.65217391304348, 'total_count': 23, 'win_count': 14, 'win_rate': 60.869565217391305}, {'avg_performance': 7.408860748352586, 'bin': 0.8, 'count': 167, 'hit_count': 159, 'hit_rate': 95.20958083832335, 'total_count': 167, 'win_count': 98, 'win_rate': 58.68263473053892}, {'avg_performance': 7.280943483103977, 'bin': 0.9, 'count': 6549, 'hit_count': 6121, 'hit_rate': 93.46465109176974, 'total_count': 6549, 'win_count': 4491, 'win_rate': 68.57535501603299}, {'avg_performance': 9.094658142524892, 'bin': 1.0, 'count': 13906, 'hit_count': 13015, 'hit_rate': 93.59269380123688, 'total_count': 13906, 'win_count': 10402, 'win_rate': 74.80224363584064}]}

Context processors

django.template.context_processors.csrf
Toggle context {'csrf_token': <SimpleLazyObject: '2wIvffj0jELVNpud4ku36Owfn9geIHLUiwVMdQhN46n3XV7VhDY2Z6ESIMNVTln2'>}
django.template.context_processors.debug
Toggle context {}
django.template.context_processors.request
Toggle context {'request': <WSGIRequest: GET '/model/54'>}
django.contrib.auth.context_processors.auth
Toggle context {'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>, 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f8de8858bd0>>)}
django.contrib.messages.context_processors.messages
Toggle context {'messages': <FallbackStorage: request=<WSGIRequest: GET '/model/54'>>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}

Cache calls from 1 backend

Summary

Total calls Total time Cache hits Cache misses
2 3.155665472149849 ms 0 1

Commands

add get set get_or_set touch delete clear get_many set_many delete_many has_key incr decr incr_version decr_version
0 1 1 0 0 0 0 0 0 0 0 0 0 0 0

Calls

Time (ms) Type Arguments Keyword arguments Backend
0.2361 get ('model_detail_6dd4c48e5679',) {} <django.core.cache.backends.filebased.FileBasedCache object at 0x7f8de894ce50>
/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(663)
  context = cache.get(cache_key)

2.9196 set ('model_detail_6dd4c48e5679', {'model': <Model: Binned LGBM 3d PH Isotonic 2% (binned-ph-lgmb-p2-seq3-isotonic v1)>, 'last_metrics': <ModelMetrics: Binned LGBM 3d PH Isotonic 2% Metrics: 2025-04-04 >, 'kpis': {'total_tests': 20663, 'pass_count': 15014, 'fail_count': 5649, 'hit_count': 19335, 'win_rate': 72.66127861394763, 'hit_rate': 93.5730532836471, 'avg_gain': 8.499666235090704}, 'curve_data': [{'bin': 0.4, 'total_count': 2, 'hit_count': 2, 'win_count': 0, 'avg_performance': 0.9641321085328886, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 2}, {'bin': 0.5, 'total_count': 4, 'hit_count': 4, 'win_count': 2, 'avg_performance': 2.2292204959132125, 'hit_rate': 100.0, 'win_rate': 50.0, 'count': 4}, {'bin': 0.6, 'total_count': 12, 'hit_count': 12, 'win_count': 7, 'avg_performance': 3.7686100553554973, 'hit_rate': 100.0, 'win_rate': 58.333333333333336, 'count': 12}, {'bin': 0.7, 'total_count': 23, 'hit_count': 22, 'win_count': 14, 'avg_performance': 7.914791436539116, 'hit_rate': 95.65217391304348, 'win_rate': 60.869565217391305, 'count': 23}, {'bin': 0.8, 'total_count': 167, 'hit_count': 159, 'win_count': 98, 'avg_performance': 7.408860748352586, 'hit_rate': 95.20958083832335, 'win_rate': 58.68263473053892, 'count': 167}, {'bin': 0.9, 'total_count': 6549, 'hit_count': 6121, 'win_count': 4491, 'avg_performance': 7.280943483103977, 'hit_rate': 93.46465109176974, 'win_rate': 68.57535501603299, 'count': 6549}, {'bin': 1.0, 'total_count': 13906, 'hit_count': 13015, 'win_count': 10402, 'avg_performance': 9.094658142524892, 'hit_rate': 93.59269380123688, 'win_rate': 74.80224363584064, 'count': 13906}], 'curve_data_by_week': {'2024-10-07': [{'week': '2024-10-07', 'bin': 0.7, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 0.3105590062111735, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2024-10-07', 'bin': 0.8, 'total_count': 9, 'hit_count': 9, 'win_count': 3, 'avg_performance': 3.777701003342625, 'hit_rate': 100.0, 'win_rate': 33.333333333333336, 'count': 9}, {'week': '2024-10-07', 'bin': 0.9, 'total_count': 413, 'hit_count': 374, 'win_count': 218, 'avg_performance': 3.953782016109056, 'hit_rate': 90.55690072639226, 'win_rate': 52.78450363196126, 'count': 413}, {'week': '2024-10-07', 'bin': 1.0, 'total_count': 920, 'hit_count': 844, 'win_count': 621, 'avg_performance': 6.593562511632707, 'hit_rate': 91.73913043478261, 'win_rate': 67.5, 'count': 920}], '2024-10-28': [{'week': '2024-10-28', 'bin': 0.7, 'total_count': 2, 'hit_count': 2, 'win_count': 2, 'avg_performance': 29.131604486321162, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 2}, {'week': '2024-10-28', 'bin': 0.8, 'total_count': 8, 'hit_count': 7, 'win_count': 5, 'avg_performance': 3.8621679715305337, 'hit_rate': 87.5, 'win_rate': 62.5, 'count': 8}, {'week': '2024-10-28', 'bin': 0.9, 'total_count': 257, 'hit_count': 253, 'win_count': 198, 'avg_performance': 6.853897461908112, 'hit_rate': 98.44357976653697, 'win_rate': 77.04280155642023, 'count': 257}, {'week': '2024-10-28', 'bin': 1.0, 'total_count': 514, 'hit_count': 495, 'win_count': 414, 'avg_performance': 8.176248323779935, 'hit_rate': 96.3035019455253, 'win_rate': 80.54474708171206, 'count': 514}], '2024-11-04': [{'week': '2024-11-04', 'bin': 0.8, 'total_count': 7, 'hit_count': 7, 'win_count': 5, 'avg_performance': 9.31397274528088, 'hit_rate': 100.0, 'win_rate': 71.42857142857143, 'count': 7}, {'week': '2024-11-04', 'bin': 0.9, 'total_count': 280, 'hit_count': 264, 'win_count': 216, 'avg_performance': 9.74129748730993, 'hit_rate': 94.28571428571429, 'win_rate': 77.14285714285714, 'count': 280}, {'week': '2024-11-04', 'bin': 1.0, 'total_count': 397, 'hit_count': 376, 'win_count': 313, 'avg_performance': 10.395486796679174, 'hit_rate': 94.7103274559194, 'win_rate': 78.84130982367758, 'count': 397}], '2024-11-11': [{'week': '2024-11-11', 'bin': 0.6, 'total_count': 2, 'hit_count': 2, 'win_count': 1, 'avg_performance': 1.7021696252465532, 'hit_rate': 100.0, 'win_rate': 50.0, 'count': 2}, {'week': '2024-11-11', 'bin': 0.8, 'total_count': 5, 'hit_count': 5, 'win_count': 3, 'avg_performance': 34.83356822471865, 'hit_rate': 100.0, 'win_rate': 60.0, 'count': 5}, {'week': '2024-11-11', 'bin': 0.9, 'total_count': 246, 'hit_count': 225, 'win_count': 154, 'avg_performance': 6.434288205709617, 'hit_rate': 91.46341463414635, 'win_rate': 62.60162601626016, 'count': 246}, {'week': '2024-11-11', 'bin': 1.0, 'total_count': 515, 'hit_count': 449, 'win_count': 316, 'avg_performance': 5.753777259205454, 'hit_rate': 87.18446601941747, 'win_rate': 61.359223300970875, 'count': 515}], '2024-11-18': [{'week': '2024-11-18', 'bin': 0.6, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 1.764705882352943, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2024-11-18', 'bin': 0.7, 'total_count': 1, 'hit_count': 1, 'win_count': 1, 'avg_performance': 39.35309973045822, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 1}, {'week': '2024-11-18', 'bin': 0.8, 'total_count': 12, 'hit_count': 12, 'win_count': 10, 'avg_performance': 24.304417628467878, 'hit_rate': 100.0, 'win_rate': 83.33333333333333, 'count': 12}, {'week': '2024-11-18', 'bin': 0.9, 'total_count': 524, 'hit_count': 506, 'win_count': 424, 'avg_performance': 9.081816940560536, 'hit_rate': 96.56488549618321, 'win_rate': 80.91603053435115, 'count': 524}, {'week': '2024-11-18', 'bin': 1.0, 'total_count': 907, 'hit_count': 885, 'win_count': 805, 'avg_performance': 13.235050407817173, 'hit_rate': 97.57442116868798, 'win_rate': 88.75413450937155, 'count': 907}], '2024-11-25': [{'week': '2024-11-25', 'bin': 0.7, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 0.5649717514124374, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2024-11-25', 'bin': 0.8, 'total_count': 6, 'hit_count': 6, 'win_count': 4, 'avg_performance': 17.54945519618237, 'hit_rate': 100.0, 'win_rate': 66.66666666666667, 'count': 6}, {'week': '2024-11-25', 'bin': 0.9, 'total_count': 295, 'hit_count': 278, 'win_count': 209, 'avg_performance': 7.740677558664149, 'hit_rate': 94.23728813559322, 'win_rate': 70.84745762711864, 'count': 295}, {'week': '2024-11-25', 'bin': 1.0, 'total_count': 526, 'hit_count': 512, 'win_count': 441, 'avg_performance': 8.82823056892888, 'hit_rate': 97.33840304182509, 'win_rate': 83.8403041825095, 'count': 526}], '2024-12-02': [{'week': '2024-12-02', 'bin': 0.5, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 0.4288777698356004, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2024-12-02', 'bin': 0.7, 'total_count': 1, 'hit_count': 1, 'win_count': 1, 'avg_performance': 3.953748601268192, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 1}, {'week': '2024-12-02', 'bin': 0.8, 'total_count': 13, 'hit_count': 13, 'win_count': 8, 'avg_performance': 3.061914845323536, 'hit_rate': 100.0, 'win_rate': 61.53846153846154, 'count': 13}, {'week': '2024-12-02', 'bin': 0.9, 'total_count': 450, 'hit_count': 406, 'win_count': 277, 'avg_performance': 7.028587935072782, 'hit_rate': 90.22222222222223, 'win_rate': 61.55555555555556, 'count': 450}, {'week': '2024-12-02', 'bin': 1.0, 'total_count': 1014, 'hit_count': 930, 'win_count': 685, 'avg_performance': 7.688445884052878, 'hit_rate': 91.71597633136095, 'win_rate': 67.55424063116371, 'count': 1014}], '2024-12-09': [{'week': '2024-12-09', 'bin': 0.8, 'total_count': 5, 'hit_count': 3, 'win_count': 1, 'avg_performance': 0.5786712054456086, 'hit_rate': 60.0, 'win_rate': 20.0, 'count': 5}, {'week': '2024-12-09', 'bin': 0.9, 'total_count': 210, 'hit_count': 189, 'win_count': 104, 'avg_performance': 4.228293902024862, 'hit_rate': 90.0, 'win_rate': 49.523809523809526, 'count': 210}, {'week': '2024-12-09', 'bin': 1.0, 'total_count': 424, 'hit_count': 374, 'win_count': 267, 'avg_performance': 5.460315683856782, 'hit_rate': 88.20754716981132, 'win_rate': 62.971698113207545, 'count': 424}], '2024-12-16': [{'week': '2024-12-16', 'bin': 0.7, 'total_count': 2, 'hit_count': 2, 'win_count': 0, 'avg_performance': 1.2509887791872978, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 2}, {'week': '2024-12-16', 'bin': 0.8, 'total_count': 4, 'hit_count': 4, 'win_count': 4, 'avg_performance': 6.905441318663721, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 4}, {'week': '2024-12-16', 'bin': 0.9, 'total_count': 416, 'hit_count': 389, 'win_count': 265, 'avg_performance': 7.284894302969728, 'hit_rate': 93.50961538461539, 'win_rate': 63.70192307692308, 'count': 416}, {'week': '2024-12-16', 'bin': 1.0, 'total_count': 1146, 'hit_count': 1070, 'win_count': 836, 'avg_performance': 10.069746563681482, 'hit_rate': 93.36823734729494, 'win_rate': 72.94938917975567, 'count': 1146}], '2024-12-23': [{'week': '2024-12-23', 'bin': 0.8, 'total_count': 17, 'hit_count': 16, 'win_count': 9, 'avg_performance': 4.590294300260031, 'hit_rate': 94.11764705882354, 'win_rate': 52.94117647058823, 'count': 17}, {'week': '2024-12-23', 'bin': 0.9, 'total_count': 566, 'hit_count': 540, 'win_count': 417, 'avg_performance': 11.942424221463114, 'hit_rate': 95.40636042402826, 'win_rate': 73.67491166077738, 'count': 566}, {'week': '2024-12-23', 'bin': 1.0, 'total_count': 1027, 'hit_count': 990, 'win_count': 849, 'avg_performance': 16.59517166285854, 'hit_rate': 96.39727361246348, 'win_rate': 82.66796494644596, 'count': 1027}], '2024-12-30': [{'week': '2024-12-30', 'bin': 0.8, 'total_count': 5, 'hit_count': 5, 'win_count': 3, 'avg_performance': 5.569766501584431, 'hit_rate': 100.0, 'win_rate': 60.0, 'count': 5}, {'week': '2024-12-30', 'bin': 0.9, 'total_count': 271, 'hit_count': 264, 'win_count': 214, 'avg_performance': 10.213519262977321, 'hit_rate': 97.41697416974169, 'win_rate': 78.96678966789668, 'count': 271}, {'week': '2024-12-30', 'bin': 1.0, 'total_count': 540, 'hit_count': 518, 'win_count': 450, 'avg_performance': 11.65487757769049, 'hit_rate': 95.92592592592592, 'win_rate': 83.33333333333333, 'count': 540}], '2025-01-06': [{'week': '2025-01-06', 'bin': 0.7, 'total_count': 1, 'hit_count': 1, 'win_count': 1, 'avg_performance': 4.3269230769230695, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 1}, {'week': '2025-01-06', 'bin': 0.8, 'total_count': 7, 'hit_count': 7, 'win_count': 3, 'avg_performance': 4.2846433435611475, 'hit_rate': 100.0, 'win_rate': 42.857142857142854, 'count': 7}, {'week': '2025-01-06', 'bin': 0.9, 'total_count': 164, 'hit_count': 149, 'win_count': 96, 'avg_performance': 6.584959242494614, 'hit_rate': 90.85365853658537, 'win_rate': 58.53658536585366, 'count': 164}, {'week': '2025-01-06', 'bin': 1.0, 'total_count': 332, 'hit_count': 308, 'win_count': 207, 'avg_performance': 6.533316099551097, 'hit_rate': 92.7710843373494, 'win_rate': 62.34939759036145, 'count': 332}], '2025-01-13': [{'week': '2025-01-13', 'bin': 0.6, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 0.974658869395708, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2025-01-13', 'bin': 0.7, 'total_count': 4, 'hit_count': 4, 'win_count': 3, 'avg_performance': 4.649581230865309, 'hit_rate': 100.0, 'win_rate': 75.0, 'count': 4}, {'week': '2025-01-13', 'bin': 0.8, 'total_count': 7, 'hit_count': 7, 'win_count': 7, 'avg_performance': 6.281123305744255, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 7}, {'week': '2025-01-13', 'bin': 0.9, 'total_count': 292, 'hit_count': 278, 'win_count': 220, 'avg_performance': 7.079814262014689, 'hit_rate': 95.20547945205479, 'win_rate': 75.34246575342466, 'count': 292}, {'week': '2025-01-13', 'bin': 1.0, 'total_count': 832, 'hit_count': 799, 'win_count': 676, 'avg_performance': 9.720312954488518, 'hit_rate': 96.03365384615384, 'win_rate': 81.25, 'count': 832}], '2025-01-20': [{'week': '2025-01-20', 'bin': 0.8, 'total_count': 5, 'hit_count': 5, 'win_count': 2, 'avg_performance': 4.038734713656455, 'hit_rate': 100.0, 'win_rate': 40.0, 'count': 5}, {'week': '2025-01-20', 'bin': 0.9, 'total_count': 148, 'hit_count': 140, 'win_count': 95, 'avg_performance': 6.824695556710181, 'hit_rate': 94.5945945945946, 'win_rate': 64.1891891891892, 'count': 148}, {'week': '2025-01-20', 'bin': 1.0, 'total_count': 337, 'hit_count': 319, 'win_count': 252, 'avg_performance': 9.542901303759244, 'hit_rate': 94.65875370919882, 'win_rate': 74.77744807121661, 'count': 337}], '2025-01-27': [{'week': '2025-01-27', 'bin': 0.4, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 0.9823182711198394, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2025-01-27', 'bin': 0.6, 'total_count': 1, 'hit_count': 1, 'win_count': 1, 'avg_performance': 6.868131868131869, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 1}, {'week': '2025-01-27', 'bin': 0.7, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 1.5624999999999944, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2025-01-27', 'bin': 0.8, 'total_count': 4, 'hit_count': 4, 'win_count': 4, 'avg_performance': 4.027684396591157, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 4}, {'week': '2025-01-27', 'bin': 0.9, 'total_count': 137, 'hit_count': 130, 'win_count': 103, 'avg_performance': 7.52816251349586, 'hit_rate': 94.8905109489051, 'win_rate': 75.18248175182482, 'count': 137}, {'week': '2025-01-27', 'bin': 1.0, 'total_count': 424, 'hit_count': 395, 'win_count': 329, 'avg_performance': 8.536181242571292, 'hit_rate': 93.16037735849056, 'win_rate': 77.59433962264151, 'count': 424}], '2025-02-03': [{'week': '2025-02-03', 'bin': 0.8, 'total_count': 3, 'hit_count': 3, 'win_count': 3, 'avg_performance': 9.626160918215007, 'hit_rate': 100.0, 'win_rate': 100.0, 'count': 3}, {'week': '2025-02-03', 'bin': 0.9, 'total_count': 158, 'hit_count': 154, 'win_count': 137, 'avg_performance': 7.725142839857705, 'hit_rate': 97.46835443037975, 'win_rate': 86.70886075949367, 'count': 158}, {'week': '2025-02-03', 'bin': 1.0, 'total_count': 461, 'hit_count': 456, 'win_count': 422, 'avg_performance': 10.053031460480254, 'hit_rate': 98.91540130151844, 'win_rate': 91.54013015184381, 'count': 461}], '2025-02-17': [{'week': '2025-02-17', 'bin': 0.5, 'total_count': 3, 'hit_count': 3, 'win_count': 2, 'avg_performance': 2.829334737939083, 'hit_rate': 100.0, 'win_rate': 66.66666666666667, 'count': 3}, {'week': '2025-02-17', 'bin': 0.6, 'total_count': 4, 'hit_count': 4, 'win_count': 3, 'avg_performance': 6.1642430080296595, 'hit_rate': 100.0, 'win_rate': 75.0, 'count': 4}, {'week': '2025-02-17', 'bin': 0.7, 'total_count': 1, 'hit_count': 0, 'win_count': 0, 'avg_performance': 0.0, 'hit_rate': 0.0, 'win_rate': 0.0, 'count': 1}, {'week': '2025-02-17', 'bin': 0.8, 'total_count': 12, 'hit_count': 12, 'win_count': 5, 'avg_performance': 1.9126888214392472, 'hit_rate': 100.0, 'win_rate': 41.666666666666664, 'count': 12}, {'week': '2025-02-17', 'bin': 0.9, 'total_count': 427, 'hit_count': 397, 'win_count': 283, 'avg_performance': 5.287228792259458, 'hit_rate': 92.97423887587821, 'win_rate': 66.27634660421546, 'count': 427}, {'week': '2025-02-17', 'bin': 1.0, 'total_count': 1254, 'hit_count': 1166, 'win_count': 882, 'avg_performance': 7.68175975114777, 'hit_rate': 92.98245614035088, 'win_rate': 70.33492822966507, 'count': 1254}], '2025-02-24': [{'week': '2025-02-24', 'bin': 0.4, 'total_count': 1, 'hit_count': 1, 'win_count': 0, 'avg_performance': 0.9459459459459377, 'hit_rate': 100.0, 'win_rate': 0.0, 'count': 1}, {'week': '2025-02-24', 'bin': 0.6, 'total_count': 3, 'hit_count': 3, 'win_count': 2, 'avg_performance': 2.5181709205912335, 'hit_rate': 100.0, 'win_rate': 66.66666666666667, 'count': 3}, {'week': '2025-02-24', 'bin': 0.7, 'total_count': 4, 'hit_count': 4, 'win_count': 3, 'avg_performance': 5.023396868590892, 'hit_rate': 100.0, 'win_rate': 75.0, 'count': 4}, {'week': '2025-02-24', 'bin': 0.8, 'total_count': 18, 'hit_count': 14, 'win_count': 6, 'avg_performance': 2.5536525112220487, 'hit_rate': 77.77777777777777, 'win_rate': 33.333333333333336, 'count': 18}, {'week': '2025-02-24', 'bin': 0.9, 'total_count': 557, 'hit_count': 501, 'win_count': 349, 'avg_performance': 5.166133111732155, 'hit_rate': 89.94614003590664, 'win_rate': 62.657091561938955, 'count': 557}, {'week': '2025-02-24', 'bin': 1.0, 'total_count': 1198, 'hit_count': 1076, 'win_count': 805, 'avg_performance': 6.063916476151778, 'hit_rate': 89.81636060100168, 'win_rate': 67.19532554257096, 'count': 1198}], '2025-03-03': [{'week': '2025-03-03', 'bin': 0.8, 'total_count': 11, 'hit_count': 11, 'win_count': 6, 'avg_performance': 3.7401332877712505, 'hit_rate': 100.0, 'win_rate': 54.54545454545455, 'count': 11}, {'week': '2025-03-03', 'bin': 0.9, 'total_count': 221, 'hit_count': 193, 'win_count': 104, 'avg_performance': 3.848717976078449, 'hit_rate': 87.33031674208145, 'win_rate': 47.05882352941177, 'count': 221}, {'week': '2025-03-03', 'bin': 1.0, 'total_count': 475, 'hit_count': 425, 'win_count': 272, 'avg_performance': 5.384375547781203, 'hit_rate': 89.47368421052632, 'win_rate': 57.26315789473684, 'count': 475}], '2025-03-10': [{'week': '2025-03-10', 'bin': 0.7, 'total_count': 4, 'hit_count': 4, 'win_count': 3, 'avg_performance': 8.12782548632121, 'hit_rate': 100.0, 'win_rate': 75.0, 'count': 4}, {'week': '2025-03-10', 'bin': 0.8, 'total_count': 9, 'hit_count': 9, 'win_count': 7, 'avg_performance': 12.29567905896364, 'hit_rate': 100.0, 'win_rate': 77.77777777777777, 'count': 9}, {'week': '2025-03-10', 'bin': 0.9, 'total_count': 517, 'hit_count': 491, 'win_count': 408, 'avg_performance': 7.605788361615662, 'hit_rate': 94.97098646034816, 'win_rate': 78.91682785299807, 'count': 517}, {'week': '2025-03-10', 'bin': 1.0, 'total_count': 663, 'hit_count': 628, 'win_count': 560, 'avg_performance': 9.493749988816306, 'hit_rate': 94.72096530920061, 'win_rate': 84.46455505279035, 'count': 663}]}, 'curve_data_week_list': ['2024-10-07', '2024-10-28', '2024-11-04', '2024-11-11', '2024-11-18', '2024-11-25', '2024-12-02', '2024-12-09', '2024-12-16', '2024-12-23', '2024-12-30', '2025-01-06', '2025-01-13', '2025-01-20', '2025-01-27', '2025-02-03', '2025-02-17', '2025-02-24', '2025-03-03', '2025-03-10'], 'date_from': datetime.date(2024, 10, 7), 'date_to': datetime.date(2025, 4, 5), 'performance_data': <QuerySet [{'date': datetime.date(2025, 3, 14), 'pass_count': 556, 'fail_count': 80, 'total_count': 636, 'hit_count': 623, 'win_rate': 87.42138364779875, 'hit_rate': 97.95597484276729, 'avg_performance': 9.686287978220731, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 3, 13), 'pass_count': 422, 'fail_count': 135, 'total_count': 557, 'hit_count': 509, 'win_rate': 75.76301615798923, 'hit_rate': 91.38240574506284, 'avg_performance': 7.556987585041437, 'metrics': {'content': 0.03, 'financial': 0, 'other': 0.18}}, {'date': datetime.date(2025, 3, 3), 'pass_count': 382, 'fail_count': 325, 'total_count': 707, 'hit_count': 629, 'win_rate': 54.03111739745403, 'hit_rate': 88.96746817538897, 'avg_performance': 4.878764531930539, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 2, 28), 'pass_count': 433, 'fail_count': 111, 'total_count': 544, 'hit_count': 516, 'win_rate': 79.59558823529412, 'hit_rate': 94.8529411764706, 'avg_performance': 7.277969011521247, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 2, 26), 'pass_count': 339, 'fail_count': 109, 'total_count': 448, 'hit_count': 428, 'win_rate': 75.66964285714286, 'hit_rate': 95.53571428571429, 'avg_performance': 6.596936236234177, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 2, 24), 'pass_count': 393, 'fail_count': 396, 'total_count': 789, 'hit_count': 655, 'win_rate': 49.80988593155894, 'hit_rate': 83.01647655259822, 'avg_performance': 4.185076421987646, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 2, 19), 'pass_count': 463, 'fail_count': 216, 'total_count': 679, 'hit_count': 629, 'win_rate': 68.18851251840942, 'hit_rate': 92.63622974963181, 'avg_performance': 7.385210151203532, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 2, 18), 'pass_count': 712, 'fail_count': 310, 'total_count': 1022, 'hit_count': 953, 'win_rate': 69.66731898238747, 'hit_rate': 93.24853228962817, 'avg_performance': 6.782889404765257, 'metrics': {'content': 0.16, 'financial': 0, 'other': 0.09}}, {'date': datetime.date(2025, 2, 4), 'pass_count': 562, 'fail_count': 60, 'total_count': 622, 'hit_count': 613, 'win_rate': 90.35369774919614, 'hit_rate': 98.55305466237942, 'avg_performance': 9.459643978671318, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 1, 29), 'pass_count': 437, 'fail_count': 131, 'total_count': 568, 'hit_count': 532, 'win_rate': 76.93661971830986, 'hit_rate': 93.66197183098592, 'avg_performance': 8.232786617825314, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 1, 22), 'pass_count': 349, 'fail_count': 141, 'total_count': 490, 'hit_count': 464, 'win_rate': 71.22448979591837, 'hit_rate': 94.6938775510204, 'avg_performance': 8.665727255771952, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 1, 15), 'pass_count': 470, 'fail_count': 136, 'total_count': 606, 'hit_count': 582, 'win_rate': 77.55775577557756, 'hit_rate': 96.03960396039604, 'avg_performance': 9.090623208994863, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2025, 1, 14), 'pass_count': 436, 'fail_count': 94, 'total_count': 530, 'hit_count': 507, 'win_rate': 82.26415094339623, 'hit_rate': 95.66037735849056, 'avg_performance': 8.885338348914946, 'metrics': {'content': 0.1, 'financial': 0, 'other': 0.11}}, {'date': datetime.date(2025, 1, 7), 'pass_count': 307, 'fail_count': 197, 'total_count': 504, 'hit_count': 465, 'win_rate': 60.91269841269841, 'hit_rate': 92.26190476190476, 'avg_performance': 6.514511284329235, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2024, 12, 30), 'pass_count': 667, 'fail_count': 149, 'total_count': 816, 'hit_count': 787, 'win_rate': 81.74019607843137, 'hit_rate': 96.44607843137256, 'avg_performance': 11.13890495677408, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2024, 12, 26), 'pass_count': 592, 'fail_count': 124, 'total_count': 716, 'hit_count': 702, 'win_rate': 82.68156424581005, 'hit_rate': 98.04469273743017, 'avg_performance': 18.27943902834713, 'metrics': {'content': 0.03, 'financial': 0, 'other': 0.15}}, {'date': datetime.date(2024, 12, 23), 'pass_count': 683, 'fail_count': 211, 'total_count': 894, 'hit_count': 844, 'win_rate': 76.39821029082773, 'hit_rate': 94.40715883668904, 'avg_performance': 12.072270767239058, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, {'date': datetime.date(2024, 12, 17), 'pass_count': 438, 'fail_count': 217, 'total_count': 655, 'hit_count': 612, 'win_rate': 66.87022900763358, 'hit_rate': 93.43511450381679, 'avg_performance': 8.718366863579607, 'metrics': {'content': 0.03, 'financial': 0, 'other': 0.15}}, {'date': datetime.date(2024, 12, 16), 'pass_count': 667, 'fail_count': 246, 'total_count': 913, 'hit_count': 853, 'win_rate': 73.05585980284775, 'hit_rate': 93.42825848849945, 'avg_performance': 9.73717309879823, 'metrics': {'content': 0.14, 'financial': 0, 'other': 0.13}}, {'date': datetime.date(2024, 12, 11), 'pass_count': 372, 'fail_count': 267, 'total_count': 639, 'hit_count': 566, 'win_rate': 58.21596244131455, 'hit_rate': 88.57589984350548, 'avg_performance': 5.017228365270306, 'metrics': {'financial': 0, 'content': 0, 'other': 0}}, '...(remaining elements truncated)...']>}, 86400) {} <django.core.cache.backends.filebased.FileBasedCache object at 0x7f8de894ce50>
/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/whitenoise/middleware.py in __call__(124)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/.venv/lib/python3.11/site-packages/django_htmx/middleware.py in __call__(43)
  return self.get_response(request)

/mnt/disks/pennyloupe_disk/pennyloupe/app/core/views/app.py in model_detail(1013)
  cache.set(cache_key, context, 24*60*60)

Signals

Signal Receivers
class_prepared
connection_created register_type_handlers
got_request_exception
m2m_changed
post_delete
post_init
post_migrate create_permissions, create_contenttypes
post_save create_initial_trade_position
pre_delete
pre_init
pre_migrate inject_rename_contenttypes_operations
pre_save
request_finished close_old_connections, close_caches, reset_urlconf
request_started reset_queries, close_old_connections
setting_changed reset_cache, clear_cache_handlers, update_installed_apps, update_connections_time_zone, clear_routers_cache, reset_template_engines, storages_changed, clear_serializers_cache, language_changed, localize_settings_changed, file_storage_changed, complex_setting_changed, root_urlconf_changed, static_storage_changed, static_finders_changed, auth_password_validators_changed, user_model_swapped, update_toolbar_config, reset_hashers, update_level_tags, uninstall_if_needed, clear_caches, StaticFilesStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties, FileSystemStorage._clear_cached_properties