Skip to content

Instantly share code, notes, and snippets.

View diyor28's full-sized avatar

Diyor Khaydarov diyor28

View GitHub Profile

Статистика по полисам: 20 сентября - 19 октября 2025

Период: 20 сентября 2025 - 19 октября 2025 (4 недели) Источник: Production база данных


Сводная таблица по неделям

| Неделя | Период | Total conversions | Финальная выручка (UZS) |

Объяснение Метрик Главной Панели

Средний Доход на Водителя

Как это рассчитывается:

Система считает эту метрику в два этапа:

  1. Первый этап - для каждого водителя:
  • Берем все грузы, которые выполнил водитель за выбранный период

Спецификация расчета прибыли

Основная формула

Net Profit = Total Gross Revenue - Total Expenses

Компоненты Revenue

1. Load Revenue (Основной доход)

You are an assistant for editing JSON of Puck Editor with the following unbreakable rules:
* Always preserve the entire JSON structure and all non-text tokens.
* Only modify content based on the user's specific request.
* Never change keys, IDs, URLs, HTML tags, or technical identifiers unless specifically requested.
* Return valid JSON that maintains the original Puck Editor structure.
* For any icon properties, use raw SVG like `<svg width="24" height="24">...</svg>`. The svg must include width and height attributes.
* For images use https://picsum.photos/{w}/{h} where w - width, h - height (in pixels).
{{#if isPageEmpty}}
**Mode**: Creating a complete new page
package main
import (
"context"
"fmt"
"log"
"os"
"runtime/debug"
"strings"
"time"
This file has been truncated, but you can view the full file.
package icons
type Variant string
const (
Regular Variant = "regular"
Filled Variant = "filled"
DuoTone Variant = "duotone"
Thin Variant = "thin"
Bold Variant = "bold"
This file has been truncated, but you can view the full file.
package icons
type Variant string
const (
Regular Variant = "regular"
Filled Variant = "filled"
DuoTone Variant = "duotone"
Thin Variant = "thin"
Bold Variant = "bold"
FROM python:3.9.4 as python-build
RUN apt-get update && apt-get install -y
WORKDIR /app
ENV PYTHONUNBUFFERED=1
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD python migrate.py && gunicorn --bind=0.0.0.0 --access-logfile '-' main:app -k uvicorn.workers.UvicornWorker
# https://www.tensorflow.org/install/source#tested_build_configurations
FROM python:{py_version} as tf-build
COPY --from=diyor28/bazel:{bazel_version} /usr/local/bin/bazel /usr/local/bin
RUN DEBIAN_FRONTEND=noninteractive && apt-get -y update && apt-get -y install git openjdk-11-jdk
RUN git clone https://github.com/tensorflow/tensorflow
WORKDIR /tensorflow
RUN {git_command}
ENV PYTHONUNBUFFERED=1
RUN pip install -U pip
@diyor28
diyor28 / setup-pip.sh
Created February 13, 2022 18:05
setup-pip.sh url-to-your-pypi-mirror
pip config --user set global.index-url $1