{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "0812e51e",
   "metadata": {},
   "outputs": [],
   "source": [
    "import json\n",
    "with open(\"/home/georg/notebooks/web_harvest/harvest/podcasts/data/02_quantization.json\") as f:\n",
    "    m = json.load(f)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "96032fea",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "10,326 hours processed\n",
      "1,013,697 hours total\n"
     ]
    }
   ],
   "source": [
    "n = 0\n",
    "for mm in m:\n",
    "    for mmm in mm[\"meta\"]:\n",
    "        n += mmm[-1][-1]\n",
    "print(f\"{round(n * 1/75 / 60 / 60):,}\", \"hours processed\")\n",
    "print(f\"{round(n * 1/75 / 60 / 60 * 4123 / len(m)):,}\", \"hours total\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fe90878c",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "4b471352",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0b4b701c",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "261b2246",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "14ef3933",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c4d1fa7e",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
