[   0.0s] Scanning /home/tobi/Desktop/dervish/external_refs/flask ...
[   4.1s] Preprocess: 1424 methods from 83 .py files (4.1s)
[   4.2s] Groups: 11 named, 4 ungrouped methods
[   4.2s]   ├ examples/celery/src/task_app (11 methods)
[   4.2s]   ├ examples/javascript/tests (5 methods)
[   4.2s]   ├ examples/tutorial/flaskr (18 methods)
[   4.2s]   ├ examples/tutorial/tests (25 methods)
[   4.2s]   ├ src/flask (216 methods)
[   4.2s]   ├ src/flask/json (50 methods)
[   4.2s]   ├ src/flask/sansio (102 methods)
[   4.2s]   ├ tests (962 methods)
[   4.2s]   ├ tests/test_apps (3 methods)
[   4.2s]   ├ tests/test_apps/blueprintapp/apps (4 methods)
[   4.2s]   ├ tests/type_check (24 methods)
[   4.2s]   └ (other) (4 methods)
[   4.2s] Inferring 11 groups across 12 workers ...
[   4.9s] Infer examples/celery/src/task_app (11 methods) done
[   5.0s] Infer examples/tutorial/flaskr (18 methods) done
[   5.1s] Infer examples/javascript/tests (5 methods) done
[   5.2s] Infer tests/test_apps (3 methods) done
[   5.3s] Infer tests/test_apps/blueprintapp/apps (4 methods) done
[   5.5s] Infer tests/type_check (24 methods) done
[   5.8s] Infer examples/tutorial/tests (25 methods) done
[   6.0s] Infer src/flask/json [return] (42 methods) done
[   6.1s] Infer src/flask/sansio [state] (92 methods) done
[   7.1s] Infer src/flask (216 methods) done
[  12.9s] Infer tests [return] (953 methods) done

.py:
  ╰─ examples/celery/src/task_app (11 methods) — no grammar — too_diverse
     Imports:  from celery import Celery  |  from celery import Task  |  from flask import Flask  |  from flask import render_template  |  from . import views  |  import time
               ... and 5 more
     Args(shared_task): n=0 [1:kwarg; 0:]
     Args(dict): n=3 [3:kwarg,kwarg,kwarg]
     Args(range): n=1 [1:var]
     Args(Blueprint): n=3 [3:lit,var,kwarg]
  ╰─ examples/javascript/tests (5 methods) — no grammar — too_diverse
     Imports:  import pytest  |  from js_example import app  |  from flask import template_rendered
  ╰─ examples/tutorial/flaskr (18 methods) — no grammar — too_diverse
     Imports:  import os  |  from flask import Flask  |  from . import db  |  from . import auth  |  from . import blog  |  import functools
               ... and 17 more
     Args(get_db): n=0 [0:]
     Args(url_for): n=1 [1:lit]
     Args(redirect): n=1 [1:call]
     Args(render_template): n=1 [1:lit; 2:lit,kwarg]
  ╰─ examples/tutorial/tests (25 methods) — no grammar — too_diverse
     Imports:  import os  |  import tempfile  |  import pytest  |  from flaskr import create_app  |  from flaskr.db import get_db  |  from flaskr.db import init_db
               ... and 3 more
     Args(get_db): n=0 [0:]
     Args(create_app): n=1 [1:other; 0:]
     Args(str): n=1 [1:other]
     Args(open): n=2 [2:call,lit]
  ╰─ src/flask (216 methods) — no grammar — too_diverse
     Imports:  from __future__ import annotations  |  import collections.abc as cabc  |  import inspect  |  import os  |  import sys  |  import typing as t
               ... and 133 more
     Args(isinstance): n=2 [2:var,var; 2:var,other]
     Args(super): n=0 [0:; 2:var,var]
     Args(RuntimeError): n=1 [1:lit; 1:other]
     Args(getattr): n=3 [3:var,lit,lit; 3:var,var,lit]
  ╰─ src/flask/json [return] (42 methods)
     Algorithm: CRX
     Grammar:   return.current_app?.(dumps+http_date+isinstance+str)+?.json?.(UUID+_untag_scan+and+dict+for+in+item+iter+k+key+len+loads+next+self+serializer+tag+tuple+v+value)+?.args?.(__html__+items+list+tags)+?.(fp+s)?.kwargs?
     Score:     16609831518673645712841974286315274
     Imports:  from __future__ import annotations  |  import json as _json  |  import typing as t  |  from ..globals import current_app  |  from .provider import _default  |  from ..wrappers import Response
               ... and 18 more
     Args(isinstance): n=2 [2:var,var; 2:var,other]
     Args(iter): n=1 [1:var]
     Args(next): n=1 [1:call]
     Args(str): n=1 [1:call; 1:var]
  ╰─ src/flask/sansio [state] (92 methods)
     Algorithm: CRX
     Grammar:   state.app.code?.f.name+?
     Score:     8
     Imports:  from __future__ import annotations  |  import logging  |  import os  |  import sys  |  import typing as t  |  from datetime import timedelta
               ... and 44 more
     Args(ValueError): n=1 [1:lit; 1:other]
     Args(defaultdict): n=1 [1:var; 2:var,other]
     Args(isinstance): n=2 [2:var,var]
     Args(callable): n=1 [1:var]
  ╰─ tests [return] (953 methods)
     Algorithm: CRX
     Grammar:   return+.(flask+str)+?.self?.(Flask+app)+?.(in+isinstance)+?.session?.render_template+?.request?.config?.e?.get+?.value+?.data?
     Score:     5251076
     Imports:  import os  |  import sys  |  import pytest  |  from _pytest import monkeypatch  |  from flask import Flask  |  from flask.globals import app_ctx as _app_ctx
               ... and 94 more
     Args(isinstance): n=2 [2:var,var; 2:subscript,var]
     Args(str): n=1 [1:other; 1:var]
     Args(len): n=1 [1:var; 1:other]
     Args(Flask): n=1 [1:lit; 1:var]
  ╰─ tests/test_apps (3 methods) — no grammar — too_diverse
     Imports:  from flask import Flask
     Args(Flask): n=1 [1:lit; 1:call]
  ╰─ tests/test_apps/blueprintapp/apps (4 methods)
     Algorithm: CRX
     Grammar:   return.render_template+
     Score:     4
     Imports:  from flask import Blueprint  |  from flask import render_template
     Args(render_template): n=1 [1:lit]
     Args(Blueprint): n=3 [5:lit,var,kwarg,kwarg,kwarg; 3:lit,var,kwarg]
  ╰─ tests/type_check (24 methods)
     Algorithm: CRX
     Grammar:   def?.(Generator+encode+for+in+iter+range+return+show+str+t+x+yield)+?.HTTPStatus?.(Response+code+jsonify)+?.stream_template+?.render_template+?.OK?.name+?.self?.template_name+?
     Score:     119659610633016130285752
     Imports:  from __future__ import annotations  |  from flask import Flask  |  from flask import Response  |  from http import HTTPStatus  |  from werkzeug.exceptions import BadRequest  |  from werkzeug.exceptions import NotFound
               ... and 6 more
     Args(range): n=1 [1:lit]
     Args(Flask): n=1 [1:var]
     Args(Response): n=0 [0:]
     Args(render_template): n=1 [1:other; 2:lit,kwarg]
  ╰─ (other) (4 methods) — no grammar
