hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ca538dafd8b7c544589ebf4f4123692d074498e | 11,669 | py | Python | ourcalendar/tests/test_recurring.py | sudo-woodo/hitmeup | 45e50b0676d986a7308ba80bf623daa8a588767d | [
"MIT"
] | 1 | 2018-03-28T14:38:35.000Z | 2018-03-28T14:38:35.000Z | ourcalendar/tests/test_recurring.py | sudo-woodo/hitmeup | 45e50b0676d986a7308ba80bf623daa8a588767d | [
"MIT"
] | 1 | 2022-02-11T19:13:04.000Z | 2022-02-11T19:13:04.000Z | ourcalendar/tests/test_recurring.py | sudo-woodo/hitmeup | 45e50b0676d986a7308ba80bf623daa8a588767d | [
"MIT"
] | 1 | 2018-02-14T06:36:43.000Z | 2018-02-14T06:36:43.000Z | import datetime # may need to change to cater to django.utils.timezone
from django.test import TestCase
from django.utils import timezone
from util.factories import UserFactory, EventFactory, CalendarFactory, WeeklyRecurrenceFactory
from util.factories import Event, Calendar, RecurrenceType, SingleRecurrence, WeeklyRe... | 49.444915 | 115 | 0.630817 | 1,660 | 11,669 | 4.33012 | 0.075301 | 0.184752 | 0.11547 | 0.115192 | 0.882304 | 0.877713 | 0.860879 | 0.83695 | 0.819004 | 0.803283 | 0 | 0.197475 | 0.239695 | 11,669 | 235 | 116 | 49.655319 | 0.612714 | 0.034022 | 0 | 0.695652 | 0 | 0 | 0.011188 | 0 | 0 | 0 | 0 | 0.004255 | 0.097826 | 1 | 0.103261 | false | 0 | 0.027174 | 0 | 0.13587 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ca611b4917a1811ba4f5b7dc8493ab59fe2cc4e | 19,200 | py | Python | tests/masonry/builders/test_complete.py | DavidVujic/poetry-core | d7b5572aabc762f138e4d15f461f13a28c8258d6 | [
"MIT"
] | null | null | null | tests/masonry/builders/test_complete.py | DavidVujic/poetry-core | d7b5572aabc762f138e4d15f461f13a28c8258d6 | [
"MIT"
] | null | null | null | tests/masonry/builders/test_complete.py | DavidVujic/poetry-core | d7b5572aabc762f138e4d15f461f13a28c8258d6 | [
"MIT"
] | null | null | null | from __future__ import annotations
import ast
import os
import platform
import re
import shutil
import sys
import tarfile
import tempfile
import zipfile
from pathlib import Path
from typing import TYPE_CHECKING
import pytest
from poetry.core import __version__
from poetry.core.factory import Factory
from poetry.cor... | 30.769231 | 144 | 0.640625 | 2,670 | 19,200 | 4.431086 | 0.114981 | 0.032711 | 0.01065 | 0.019525 | 0.828501 | 0.79672 | 0.76401 | 0.747781 | 0.718113 | 0.678894 | 0 | 0.024699 | 0.217656 | 19,200 | 623 | 145 | 30.81862 | 0.762932 | 0.019948 | 0 | 0.654886 | 0 | 0.018711 | 0.423042 | 0.216758 | 0 | 0 | 0 | 0 | 0.201663 | 1 | 0.024948 | false | 0.002079 | 0.035343 | 0 | 0.060291 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ccbafd3d675482755703310410d6f8be33a0c42 | 184 | py | Python | main/models.py | reshng10/Pro | f3202553e70e7d7ea7d5a4d3560063cd6eb0e806 | [
"Apache-2.0"
] | null | null | null | main/models.py | reshng10/Pro | f3202553e70e7d7ea7d5a4d3560063cd6eb0e806 | [
"Apache-2.0"
] | null | null | null | main/models.py | reshng10/Pro | f3202553e70e7d7ea7d5a4d3560063cd6eb0e806 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from django.db.models.signals import post_save
from django.dispatch import receiver
# Create your models here.
| 30.666667 | 46 | 0.831522 | 29 | 184 | 5.241379 | 0.551724 | 0.263158 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 5 | 47 | 36.8 | 0.932515 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ce0623caa7f4f26dbd2b5fa6decf3d8f58155de | 151,253 | py | Python | la/tests/deflarry_test.py | mikiec84/la | 705e53df526ed316f5869962b50749f8d873364e | [
"BSD-2-Clause"
] | null | null | null | la/tests/deflarry_test.py | mikiec84/la | 705e53df526ed316f5869962b50749f8d873364e | [
"BSD-2-Clause"
] | null | null | null | la/tests/deflarry_test.py | mikiec84/la | 705e53df526ed316f5869962b50749f8d873364e | [
"BSD-2-Clause"
] | null | null | null | "Unit tests of larry."
import datetime
import unittest
import numpy as np
nan = np.nan
from numpy.testing import (assert_, assert_almost_equal, assert_raises,
assert_equal)
import la
from la import larry
from la.util.testing import printfail, noreference
from la.util.testing import assert_... | 36.74757 | 145 | 0.445386 | 20,314 | 151,253 | 3.199616 | 0.018411 | 0.08785 | 0.050433 | 0.042864 | 0.831592 | 0.813684 | 0.786082 | 0.767789 | 0.745204 | 0.730988 | 0 | 0.056385 | 0.381592 | 151,253 | 4,115 | 146 | 36.756501 | 0.638503 | 0.052323 | 0 | 0.596636 | 0 | 0 | 0.070542 | 0.00187 | 0 | 0 | 0 | 0 | 0.175029 | 1 | 0.102338 | false | 0 | 0.002281 | 0.000285 | 0.109179 | 0.11146 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b448a337094801fc93f3c412308c0642072c81c | 5,544 | py | Python | mop/config/default_config.py | HolisticCoders/mop | dc464021c7e69975fa9fcc06595cc91113768e5e | [
"MIT"
] | 8 | 2019-09-21T07:17:54.000Z | 2022-02-09T03:33:24.000Z | mop/config/default_config.py | ProjectBorealis/master-of-puppets | dc464021c7e69975fa9fcc06595cc91113768e5e | [
"MIT"
] | 102 | 2019-01-10T21:00:28.000Z | 2019-03-28T11:32:45.000Z | mop/config/default_config.py | HolisticCoders/mop | dc464021c7e69975fa9fcc06595cc91113768e5e | [
"MIT"
] | 3 | 2020-01-12T01:37:34.000Z | 2021-10-08T11:34:08.000Z | ########## General ##########
# modules that are automatically created by MOP at startup
# the dict is set up like so: {ModuleClassName:{arg1: value1, arg2: value2}}
default_modules = {"Root": {"name": "root", "side": "M"}}
side_color = {"M": [1.0, 0.6, 0.0], "L": [0.0, 0.5, 1.0], "R": [1.0, 0.05, 0.05]}
########## ... | 26.4 | 81 | 0.323052 | 1,019 | 5,544 | 1.744848 | 0.196271 | 0.422947 | 0.431946 | 0.404949 | 0.45613 | 0.434196 | 0.434196 | 0.387514 | 0.387514 | 0.387514 | 0 | 0.420242 | 0.449315 | 5,544 | 209 | 82 | 26.526316 | 0.162136 | 0.071429 | 0 | 0.505376 | 0 | 0 | 0.013228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005376 | false | 0 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b466d2b8926ae2408a53cceed76b3d3f833ed45 | 53 | py | Python | backend/app/views/design_overhangs/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 15 | 2018-02-12T13:12:13.000Z | 2021-08-15T11:37:59.000Z | backend/app/views/design_overhangs/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 9 | 2020-06-05T17:54:54.000Z | 2022-02-12T12:03:19.000Z | backend/app/views/design_overhangs/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 3 | 2018-10-18T13:08:50.000Z | 2020-08-17T14:09:46.000Z | from .DesignOverhangsView import DesignOverhangsView
| 26.5 | 52 | 0.90566 | 4 | 53 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8608afb187b2e03be90125b4471252b557722af5 | 10,428 | py | Python | pyshtools/legendre/legendre_functions.py | megies/SHTOOLS | 740455a28eafb6bb23a449cdec43724e86d99c4f | [
"BSD-3-Clause"
] | null | null | null | pyshtools/legendre/legendre_functions.py | megies/SHTOOLS | 740455a28eafb6bb23a449cdec43724e86d99c4f | [
"BSD-3-Clause"
] | null | null | null | pyshtools/legendre/legendre_functions.py | megies/SHTOOLS | 740455a28eafb6bb23a449cdec43724e86d99c4f | [
"BSD-3-Clause"
] | null | null | null | """
Convenience functions for computing the associated Legendre functions.
legendre Compute all the associated Legendre functions up to a maximum
degree and order.
legendre_lm Compute the associated Legendre function for a specific
degree l and order m.
"""
import... | 40.575875 | 79 | 0.638953 | 1,351 | 10,428 | 4.918579 | 0.15544 | 0.058841 | 0.047404 | 0.054176 | 0.803311 | 0.785704 | 0.76313 | 0.739052 | 0.736795 | 0.727615 | 0 | 0.031172 | 0.270905 | 10,428 | 256 | 80 | 40.734375 | 0.842562 | 0.570387 | 0 | 0.416667 | 0 | 0 | 0.262959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.0625 | 0 | 0.114583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86413be6133f269c72901a38753bfb7205aebc34 | 335 | py | Python | cerami/request/search_attribute/__init__.py | gummybuns/dorm | e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a | [
"MIT"
] | null | null | null | cerami/request/search_attribute/__init__.py | gummybuns/dorm | e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a | [
"MIT"
] | null | null | null | cerami/request/search_attribute/__init__.py | gummybuns/dorm | e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a | [
"MIT"
] | null | null | null | from .search_attribute import SearchAttribute
from .dict_attribute import DictAttribute
from .query_expression_attribute import QueryExpressionAttribute
from .update_expression_attribute import UpdateExpressionAttribute
from .update_action import UpdateAction
from .projection_expression_attribute import ProjectionExpre... | 47.857143 | 74 | 0.910448 | 33 | 335 | 8.969697 | 0.484848 | 0.253378 | 0.253378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071642 | 335 | 6 | 75 | 55.833333 | 0.951768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
864cc59f098726d22f346729ee3e1e928665f6a5 | 126 | py | Python | pype/hosts/houdini/api/plugin.py | simonebarbieri/pype | a6dc83aa1300738749cbe8e5e2e6d2d1794e0289 | [
"MIT"
] | null | null | null | pype/hosts/houdini/api/plugin.py | simonebarbieri/pype | a6dc83aa1300738749cbe8e5e2e6d2d1794e0289 | [
"MIT"
] | null | null | null | pype/hosts/houdini/api/plugin.py | simonebarbieri/pype | a6dc83aa1300738749cbe8e5e2e6d2d1794e0289 | [
"MIT"
] | null | null | null | from avalon import houdini
from pype.api import PypeCreatorMixin
class Creator(PypeCreatorMixin, houdini.Creator):
pass
| 18 | 49 | 0.809524 | 15 | 126 | 6.8 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 126 | 6 | 50 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
867d0b1709f3dd99cba2a26dbf4d69c6455289f2 | 44,747 | py | Python | tests/query/dnss/test_query_tool.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | null | null | null | tests/query/dnss/test_query_tool.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | null | null | null | tests/query/dnss/test_query_tool.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | null | null | null | """
The tool to check the availability or syntax of domain, IP or URL.
::
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ █... | 31.226099 | 88 | 0.649317 | 5,812 | 44,747 | 4.793531 | 0.061425 | 0.07107 | 0.098457 | 0.074659 | 0.848421 | 0.836971 | 0.824013 | 0.813676 | 0.796734 | 0.780797 | 0 | 0.006811 | 0.258475 | 44,747 | 1,432 | 89 | 31.247905 | 0.821042 | 0.236843 | 0 | 0.64186 | 0 | 0 | 0.045185 | 0.005045 | 0 | 0 | 0 | 0 | 0.286822 | 1 | 0.12093 | false | 0 | 0.015504 | 0.00155 | 0.144186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86bc25209ee594ff06fba1b4751dfa564fbb0760 | 6,184 | py | Python | neutrinomass/database/heavyloops.py | johngarg/neutrinomass | a4f1adf6abf10de16f34c7f89164342ba5857329 | [
"MIT"
] | 3 | 2020-09-28T14:38:45.000Z | 2021-11-05T08:45:05.000Z | neutrinomass/database/heavyloops.py | johngarg/neutrinomass | a4f1adf6abf10de16f34c7f89164342ba5857329 | [
"MIT"
] | null | null | null | neutrinomass/database/heavyloops.py | johngarg/neutrinomass | a4f1adf6abf10de16f34c7f89164342ba5857329 | [
"MIT"
] | 1 | 2020-10-29T23:25:14.000Z | 2020-10-29T23:25:14.000Z | #!/usr/bin/env python3
"""Tables of the fields in arXiv:1204.5862 `Systematic study of the $d=5$
Weinberg operator at one-loop order' for filtering
"""
from sympy import Rational, Symbol
from functools import reduce
import math
# su2
tbl_2_su2_reps_func = lambda m: [
[m, m + 1, m, m + 1],
[m + 1, m, m + 1, ... | 26.886957 | 81 | 0.356565 | 1,114 | 6,184 | 1.902154 | 0.061939 | 0.064181 | 0.067957 | 0.045304 | 0.845682 | 0.756489 | 0.713544 | 0.663521 | 0.645116 | 0.609722 | 0 | 0.144828 | 0.366915 | 6,184 | 229 | 82 | 27.004367 | 0.396424 | 0.029431 | 0 | 0.331707 | 0 | 0 | 0.365487 | 0.206275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.014634 | 0.019512 | 0.063415 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86cff8875e7daac75ac54d06d2c85aaac944d826 | 30 | py | Python | base/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | base/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | base/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | from . import initiate_driver
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86d51e9b8ebd17b768da9ce04d2d3b373c8e79b7 | 1,595 | py | Python | netbox/ipam/migrations/0038_custom_field_data.py | letic/netbox | 0930745e16330edf00da081150b079d5ed6ecc02 | [
"Apache-2.0"
] | 2 | 2021-07-08T03:58:12.000Z | 2022-02-11T21:50:46.000Z | netbox/ipam/migrations/0038_custom_field_data.py | emersonfelipesp/netbox | fecca5ad83fb6b48a2f15982dfd3242653f105f9 | [
"Apache-2.0"
] | 25 | 2019-09-17T19:40:50.000Z | 2022-03-11T04:01:55.000Z | netbox/ipam/migrations/0038_custom_field_data.py | emersonfelipesp/netbox | fecca5ad83fb6b48a2f15982dfd3242653f105f9 | [
"Apache-2.0"
] | 1 | 2018-12-05T12:03:21.000Z | 2018-12-05T12:03:21.000Z | import django.core.serializers.json
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ipam', '0037_ipaddress_assignment'),
]
operations = [
migrations.AddField(
model_name='aggregate',
name='custom_field_data',
... | 37.093023 | 117 | 0.636364 | 153 | 1,595 | 6.503268 | 0.228758 | 0.070352 | 0.147739 | 0.175879 | 0.786935 | 0.786935 | 0.786935 | 0.786935 | 0.786935 | 0.786935 | 0 | 0.00335 | 0.251411 | 1,595 | 42 | 118 | 37.97619 | 0.829983 | 0 | 0 | 0.631579 | 0 | 0 | 0.105956 | 0.015674 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86d87552500857b09106939a35bc747065d0f010 | 74 | py | Python | models/__init__.py | tianyicchenn/Raspi4B-IoT-Playbot | 4e3c6c977751dd077994e1e0877f33fa5e28904b | [
"MIT"
] | 1 | 2020-06-22T04:19:00.000Z | 2020-06-22T04:19:00.000Z | models/__init__.py | tianyicchenn/Raspi4B-IoT-Playbot | 4e3c6c977751dd077994e1e0877f33fa5e28904b | [
"MIT"
] | null | null | null | models/__init__.py | tianyicchenn/Raspi4B-IoT-Playbot | 4e3c6c977751dd077994e1e0877f33fa5e28904b | [
"MIT"
] | null | null | null | from .iotWeather import *
from .playRPS import *
from .teaseCats import *
| 18.5 | 25 | 0.756757 | 9 | 74 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 26 | 24.666667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86fc3808c9db7cb67d7e65a32c7b906aeeaeffa4 | 50,000 | py | Python | tests/test_playlist.py | spankders/pyspotify | b18ac0c72771e6c3418f0d57b775ae5c6e1ab44e | [
"Apache-2.0"
] | 1 | 2019-07-20T08:31:49.000Z | 2019-07-20T08:31:49.000Z | tests/test_playlist.py | spankders/pyspotify | b18ac0c72771e6c3418f0d57b775ae5c6e1ab44e | [
"Apache-2.0"
] | null | null | null | tests/test_playlist.py | spankders/pyspotify | b18ac0c72771e6c3418f0d57b775ae5c6e1ab44e | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
from __future__ import unicode_literals
import unittest
import spotify
from spotify import compat
from spotify.playlist import _PlaylistCallbacks
import tests
from tests import mock
@mock.patch('spotify.playlist.lib', spec=spotify.lib)
class PlaylistTest(unittest.TestCase):
def setUp(self):... | 41.220115 | 79 | 0.69614 | 6,459 | 50,000 | 5.046447 | 0.044589 | 0.172726 | 0.045559 | 0.076147 | 0.83657 | 0.80092 | 0.755637 | 0.734223 | 0.709465 | 0.689523 | 0 | 0.011853 | 0.20864 | 50,000 | 1,212 | 80 | 41.254125 | 0.811919 | 0.01568 | 0 | 0.594536 | 0 | 0 | 0.042766 | 0.000528 | 0 | 0 | 0 | 0.000825 | 0.190164 | 1 | 0.106011 | false | 0 | 0.00765 | 0 | 0.118033 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81114db9227df1db20ddbd856c8c7969d2d23a60 | 34,631 | py | Python | py_entitymatching/tests/test_attr_equiv_blocker.py | kvpradap/py_entitymatching | 4ff803df1a03cf4d77ef935357355e6de5dd9438 | [
"BSD-3-Clause"
] | null | null | null | py_entitymatching/tests/test_attr_equiv_blocker.py | kvpradap/py_entitymatching | 4ff803df1a03cf4d77ef935357355e6de5dd9438 | [
"BSD-3-Clause"
] | null | null | null | py_entitymatching/tests/test_attr_equiv_blocker.py | kvpradap/py_entitymatching | 4ff803df1a03cf4d77ef935357355e6de5dd9438 | [
"BSD-3-Clause"
] | null | null | null | import os
from nose.tools import *
import pandas as pd
import unittest
import py_entitymatching as em
p = em.get_install_path()
path_a = os.sep.join([p, 'tests', 'test_datasets', 'A.csv'])
path_b = os.sep.join([p, 'tests', 'test_datasets', 'B.csv'])
l_block_attr_1 = 'zipcode'
l_block_attr_2 = 'birth_year'
l_block_att... | 44.627577 | 85 | 0.61289 | 5,086 | 34,631 | 3.716083 | 0.028116 | 0.135714 | 0.10582 | 0.059365 | 0.951164 | 0.929365 | 0.906772 | 0.897566 | 0.879312 | 0.823228 | 0 | 0.02233 | 0.286189 | 34,631 | 775 | 86 | 44.685161 | 0.742233 | 0.012763 | 0 | 0.611367 | 0 | 0 | 0.037331 | 0.009479 | 0 | 0 | 0 | 0 | 0.12596 | 1 | 0.159754 | false | 0 | 0.00768 | 0 | 0.170507 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81140fc5073dae52c1af6cbe0106a0c960ccacc6 | 2,590 | py | Python | tests/facebook/test_group.py | sns-sdks/python-facebook | 9536d30393dee8b2a887b81f103d76262a677eee | [
"Apache-2.0"
] | 181 | 2019-08-28T10:03:49.000Z | 2022-03-26T19:36:05.000Z | tests/facebook/test_group.py | sns-sdks/python-facebook | 9536d30393dee8b2a887b81f103d76262a677eee | [
"Apache-2.0"
] | 159 | 2019-08-28T10:07:43.000Z | 2022-03-30T16:42:23.000Z | tests/facebook/test_group.py | sns-sdks/python-facebook | 9536d30393dee8b2a887b81f103d76262a677eee | [
"Apache-2.0"
] | 40 | 2019-09-10T20:12:47.000Z | 2022-03-12T16:16:46.000Z | """
Tests for groups
"""
import responses
def test_get_info(helpers, fb_api):
gp_id = "251560641854558"
with responses.RequestsMock() as m:
m.add(
method=responses.GET,
url=f"https://graph.facebook.com/{fb_api.version}/{gp_id}",
json=helpers.load_json(
... | 30.116279 | 84 | 0.57529 | 325 | 2,590 | 4.366154 | 0.181538 | 0.049331 | 0.042283 | 0.080338 | 0.80902 | 0.765328 | 0.765328 | 0.765328 | 0.728682 | 0.689218 | 0 | 0.034539 | 0.295753 | 2,590 | 85 | 85 | 30.470588 | 0.743421 | 0.006178 | 0 | 0.492537 | 0 | 0 | 0.29313 | 0.155347 | 0 | 0 | 0 | 0 | 0.089552 | 1 | 0.044776 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
811d1d7c031c60c1c444e7e4982286c8bc05c439 | 87 | py | Python | api/src/assets/__init__.py | Noahffiliation/corpus-christi | c69ec88784de7d2e5acde3012926f307b43e38b3 | [
"MIT"
] | 35 | 2018-11-29T20:06:52.000Z | 2021-04-12T19:01:42.000Z | api/src/assets/__init__.py | Noahffiliation/corpus-christi | c69ec88784de7d2e5acde3012926f307b43e38b3 | [
"MIT"
] | 529 | 2018-12-31T23:51:25.000Z | 2022-02-26T10:42:29.000Z | api/src/assets/__init__.py | Noahffiliation/corpus-christi | c69ec88784de7d2e5acde3012926f307b43e38b3 | [
"MIT"
] | 10 | 2018-12-04T16:17:00.000Z | 2021-04-07T00:47:52.000Z | from flask import Blueprint
assets = Blueprint('assets', __name__)
from . import api
| 14.5 | 38 | 0.758621 | 11 | 87 | 5.636364 | 0.636364 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 5 | 39 | 17.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d498d1ab5df401e1fdbc65dabddef9bf32c2d389 | 112 | py | Python | frontend/admin.py | roman-baldaev/test-task-weather | 114048583bc106ad082dcd6efe8d966f76cd476e | [
"MIT"
] | null | null | null | frontend/admin.py | roman-baldaev/test-task-weather | 114048583bc106ad082dcd6efe8d966f76cd476e | [
"MIT"
] | 2 | 2020-02-12T00:15:20.000Z | 2020-06-05T18:02:22.000Z | frontend/admin.py | roman-baldaev/test-task-weather | 114048583bc106ad082dcd6efe8d966f76cd476e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(City)
admin.site.register(History) | 18.666667 | 33 | 0.794643 | 16 | 112 | 5.5625 | 0.625 | 0.247191 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 6 | 34 | 18.666667 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d49f893c9fe0620d5e3a0cec41981ed35ce45f96 | 26 | py | Python | gachanator/__init__.py | Francesco149/gachanator | 6e710727d7d50cbd10d44dd4f502e18b318d6820 | [
"Unlicense"
] | 12 | 2019-11-18T18:40:16.000Z | 2021-11-12T11:21:23.000Z | gachanator/__init__.py | Francesco149/gachanator | 6e710727d7d50cbd10d44dd4f502e18b318d6820 | [
"Unlicense"
] | null | null | null | gachanator/__init__.py | Francesco149/gachanator | 6e710727d7d50cbd10d44dd4f502e18b318d6820 | [
"Unlicense"
] | 1 | 2020-10-21T22:53:23.000Z | 2020-10-21T22:53:23.000Z | from .gachanator import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4a03e43343e77acf15e3b6d823bc8d067d61544 | 36 | py | Python | validation/parser/__init__.py | moveaxlab/validation-py | c435b5b470bedde953a6f6a6363b8a268a20c926 | [
"MIT"
] | 1 | 2019-03-20T14:25:41.000Z | 2019-03-20T14:25:41.000Z | validation/parser/__init__.py | moveaxlab/validation-py | c435b5b470bedde953a6f6a6363b8a268a20c926 | [
"MIT"
] | null | null | null | validation/parser/__init__.py | moveaxlab/validation-py | c435b5b470bedde953a6f6a6363b8a268a20c926 | [
"MIT"
] | null | null | null | from .spec_parser import SpecParser
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4dbb3a4342087908074a0e0059460345cc3a454 | 26,750 | py | Python | venv/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_stateless_random_ops.py | aMp37/SimpleHTR | 2a8bad2990d83caaa004530cd3b3d87c5bd38ab4 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_stateless_random_ops.py | aMp37/SimpleHTR | 2a8bad2990d83caaa004530cd3b3d87c5bd38ab4 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_stateless_random_ops.py | aMp37/SimpleHTR | 2a8bad2990d83caaa004530cd3b3d87c5bd38ab4 | [
"MIT"
] | null | null | null | """Python wrappers around TensorFlow ops.
This file is MACHINE GENERATED! Do not edit.
Original C++ source file: stateless_random_ops.cc
"""
import collections as _collections
import six as _six
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
from tensorflow.python.eager import context as _cont... | 36.002692 | 1,706 | 0.670542 | 3,406 | 26,750 | 4.958309 | 0.08485 | 0.020962 | 0.011724 | 0.011547 | 0.777653 | 0.74396 | 0.728861 | 0.709202 | 0.682141 | 0.668996 | 0 | 0.049162 | 0.214505 | 26,750 | 742 | 1,707 | 36.051213 | 0.754569 | 0.337944 | 0 | 0.644444 | 1 | 0.031746 | 0.124418 | 0.100966 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050794 | false | 0.015873 | 0.060317 | 0.015873 | 0.193651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be0f205c3dc9a8b307cee128fca4c9e7f12eb059 | 1,140 | py | Python | tests/pymcell4/2507_variable_rate_bimol_box_it_100_bng_units/geometry.py | mcellteam/mcell-tests | 34d2d967b75d56edbae999bf0090641850f4f4fe | [
"MIT"
] | 1 | 2021-08-13T20:40:54.000Z | 2021-08-13T20:40:54.000Z | tests/pymcell4/2507_variable_rate_bimol_box_it_100_bng_units/geometry.py | mcellteam/mcell_tests | 34d2d967b75d56edbae999bf0090641850f4f4fe | [
"MIT"
] | null | null | null | tests/pymcell4/2507_variable_rate_bimol_box_it_100_bng_units/geometry.py | mcellteam/mcell_tests | 34d2d967b75d56edbae999bf0090641850f4f4fe | [
"MIT"
] | null | null | null | # WARNING: This is an automatically generated file and will be overwritten
# by CellBlender on the next model export.
import mcell as m
# ---- Cube ----
Cube_vertex_list = [
[-0.0500000007450581, -0.0500000007450581, -0.0500000007450581],
[-0.0500000007450581, -0.0500000007450581, 0.0500000007450581... | 27.142857 | 74 | 0.624561 | 137 | 1,140 | 5.087591 | 0.284672 | 0.585366 | 0.593974 | 1.121951 | 0.585366 | 0.585366 | 0.585366 | 0.585366 | 0.585366 | 0.585366 | 0 | 0.498317 | 0.218421 | 1,140 | 41 | 75 | 27.804878 | 0.283951 | 0.161404 | 0 | 0 | 1 | 0 | 0.004224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be2b80386338001345e5a0956f49a850936a7cac | 191 | py | Python | client.py | simonvoelcker/kamaji | ce21971cb469824b7f1198545d57b980fc2c8cba | [
"MIT"
] | null | null | null | client.py | simonvoelcker/kamaji | ce21971cb469824b7f1198545d57b980fc2c8cba | [
"MIT"
] | null | null | null | client.py | simonvoelcker/kamaji | ce21971cb469824b7f1198545d57b980fc2c8cba | [
"MIT"
] | null | null | null | from flask import Blueprint
blueprint = Blueprint('client', __name__, static_folder='static')
@blueprint.route('/movies/')
def index():
return blueprint.send_static_file('index.html')
| 21.222222 | 65 | 0.748691 | 23 | 191 | 5.913043 | 0.695652 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109948 | 191 | 8 | 66 | 23.875 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.157068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
078550320bdedf74a47e9aad7e81ff1fa8516c2c | 15,455 | py | Python | api/test/tournament_list_handler_test.py | Aragos/tichu-tournament | 4cdf727a30af8820ad56fe3097ec9a8e84892068 | [
"MIT"
] | 7 | 2016-12-12T02:29:42.000Z | 2020-05-12T21:21:21.000Z | api/test/tournament_list_handler_test.py | Aragos/tichu-tournament | 4cdf727a30af8820ad56fe3097ec9a8e84892068 | [
"MIT"
] | 31 | 2017-01-05T06:07:28.000Z | 2018-05-27T13:13:06.000Z | api/test/tournament_list_handler_test.py | Aragos/tichu-tournament | 4cdf727a30af8820ad56fe3097ec9a8e84892068 | [
"MIT"
] | 3 | 2017-12-21T23:30:12.000Z | 2019-01-03T20:51:52.000Z | import json
import unittest
import webtest
import os
from google.appengine.ext import testbed
from api.src import main
class AppTest(unittest.TestCase):
def setUp(self):
os.environ['AUTH_DOMAIN'] = 'testbed'
self.testbed = testbed.Testbed()
self.testbed.activate()
self.testbed.init_datastore_v3_... | 38.6375 | 85 | 0.603882 | 1,685 | 15,455 | 5.354303 | 0.103264 | 0.086455 | 0.107072 | 0.122146 | 0.838617 | 0.822767 | 0.820217 | 0.81667 | 0.81667 | 0.813013 | 0 | 0.023082 | 0.257134 | 15,455 | 399 | 86 | 38.734336 | 0.762738 | 0.008864 | 0 | 0.686441 | 0 | 0 | 0.175625 | 0.029325 | 0 | 0 | 0 | 0 | 0.183616 | 1 | 0.076271 | false | 0 | 0.016949 | 0 | 0.096045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0798ef1fd68fbb5b4aecfe26306c5b7569f2c233 | 96 | py | Python | back_front/personalArea/views.py | LaraEvdokimova/Aviato | 93084b70f5fae86997228878fd3b093b588d6d46 | [
"Apache-2.0"
] | null | null | null | back_front/personalArea/views.py | LaraEvdokimova/Aviato | 93084b70f5fae86997228878fd3b093b588d6d46 | [
"Apache-2.0"
] | null | null | null | back_front/personalArea/views.py | LaraEvdokimova/Aviato | 93084b70f5fae86997228878fd3b093b588d6d46 | [
"Apache-2.0"
] | 1 | 2020-06-06T15:54:05.000Z | 2020-06-06T15:54:05.000Z | from django.shortcuts import render
def index(req):
return render(req, 'input/index.html')
| 19.2 | 42 | 0.739583 | 14 | 96 | 5.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 4 | 43 | 24 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
07c20f1c01dfdb3006820370a40e5b973c007a4f | 34,367 | py | Python | PiCN/Layers/NFNLayer/test/test_BasicNFNLayer.py | NikolaiRutz/PiCN | 7775c61caae506a88af2e4ec34349e8bd9098459 | [
"BSD-3-Clause"
] | null | null | null | PiCN/Layers/NFNLayer/test/test_BasicNFNLayer.py | NikolaiRutz/PiCN | 7775c61caae506a88af2e4ec34349e8bd9098459 | [
"BSD-3-Clause"
] | null | null | null | PiCN/Layers/NFNLayer/test/test_BasicNFNLayer.py | NikolaiRutz/PiCN | 7775c61caae506a88af2e4ec34349e8bd9098459 | [
"BSD-3-Clause"
] | null | null | null | """Test the BasicNFNLayer"""
import time
import unittest
import multiprocessing
from PiCN.Layers.NFNLayer import BasicNFNLayer
from PiCN.Layers.NFNLayer.NFNExecutor import NFNPythonExecutor
from PiCN.Layers.NFNLayer.Parser import DefaultNFNParser
from PiCN.Layers.NFNLayer.NFNComputationTable import *
from PiCN.Layers... | 51.370703 | 136 | 0.712457 | 4,236 | 34,367 | 5.482767 | 0.047214 | 0.060581 | 0.103854 | 0.059419 | 0.87113 | 0.838192 | 0.828073 | 0.808827 | 0.79423 | 0.787341 | 0 | 0.011413 | 0.176507 | 34,367 | 668 | 137 | 51.447605 | 0.809229 | 0.050368 | 0 | 0.663306 | 0 | 0 | 0.074978 | 0.01646 | 0 | 0 | 0 | 0.001497 | 0.159274 | 1 | 0.052419 | false | 0.002016 | 0.030242 | 0 | 0.084677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07cccc3225be3b136e28dddf0e8b56e1129ccbe3 | 4,016 | py | Python | benchmarks/test_stats.py | claudiocc1/numba-stats | e79be268220b2a864f738b34942bad61fbcac22d | [
"MIT"
] | 13 | 2021-02-02T17:29:31.000Z | 2022-03-08T02:33:21.000Z | benchmarks/test_stats.py | claudiocc1/numba-stats | e79be268220b2a864f738b34942bad61fbcac22d | [
"MIT"
] | 12 | 2021-02-20T10:35:19.000Z | 2022-02-22T15:01:32.000Z | benchmarks/test_stats.py | claudiocc1/numba-stats | e79be268220b2a864f738b34942bad61fbcac22d | [
"MIT"
] | 4 | 2021-02-20T09:44:20.000Z | 2022-02-20T04:00:26.000Z | import numba_stats as nb
import scipy.stats as sc
import numpy as np
import pytest
@pytest.mark.benchmark(group="norm.pdf")
@pytest.mark.parametrize("which", ("scipy", "ours"))
@pytest.mark.parametrize("n", (10, 100, 1000, 10000))
def test_norm_pdf_speed(benchmark, which, n):
x = np.linspace(-5, 5, n)
m = np.... | 31.873016 | 84 | 0.61255 | 668 | 4,016 | 3.636228 | 0.067365 | 0.123508 | 0.172911 | 0.098806 | 0.965006 | 0.939893 | 0.909016 | 0.897489 | 0.820091 | 0.738164 | 0 | 0.0663 | 0.18501 | 4,016 | 125 | 85 | 32.128 | 0.675833 | 0 | 0 | 0.580952 | 0 | 0 | 0.069472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.038095 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07ff14a98930d35132fea958e31f43c36b7855ec | 3,008 | py | Python | box_parameterization_test.py | DerekGloudemans/3D-detector-trials | 480274567eaa84c5c883260ef62f150c7a23ffd3 | [
"MIT"
] | null | null | null | box_parameterization_test.py | DerekGloudemans/3D-detector-trials | 480274567eaa84c5c883260ef62f150c7a23ffd3 | [
"MIT"
] | 2 | 2021-10-18T17:06:38.000Z | 2021-11-04T20:49:24.000Z | box_parameterization_test.py | DerekGloudemans/3D-playground | 480274567eaa84c5c883260ef62f150c7a23ffd3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 3 15:23:09 2021
@author: worklab
"""
import cv2
import numpy as np
# im = np.zeros([1000,1000,3])
# points = np.zeros([8,2])
# x = 500 # in range 0, anchor_box_width
# y = 500 # in range 0, ancho... | 32 | 79 | 0.556848 | 618 | 3,008 | 2.614887 | 0.12945 | 0.074257 | 0.148515 | 0.089109 | 0.87005 | 0.846535 | 0.716584 | 0.716584 | 0.716584 | 0.716584 | 0 | 0.08087 | 0.235372 | 3,008 | 94 | 80 | 32 | 0.621739 | 0.678524 | 0 | 0 | 0 | 0 | 0.005447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed5735de744ae3549505fe94046bef0e31ab6a45 | 14,090 | py | Python | python/pbase/io/ply.py | renehorstmann/pbase | 7bf1b4e4fae833f24da92f3c7ee3b5e949cddb72 | [
"MIT"
] | 1 | 2021-09-16T06:28:03.000Z | 2021-09-16T06:28:03.000Z | python/pbase/io/ply.py | renehorstmann/pbase | 7bf1b4e4fae833f24da92f3c7ee3b5e949cddb72 | [
"MIT"
] | null | null | null | python/pbase/io/ply.py | renehorstmann/pbase | 7bf1b4e4fae833f24da92f3c7ee3b5e949cddb72 | [
"MIT"
] | null | null | null | import numpy as np
import ctypes as ct
from typing import Tuple, List, Optional
from .. import mathctypes
from .. import bindingbase as bb
from .. import types as t
from .. import error
from .. import plib
# /** Saves points to a ply file */
# pError p_io_save_points_ply(pCloud points, const char *file, bool ascii);... | 41.19883 | 121 | 0.645493 | 2,012 | 14,090 | 4.212227 | 0.033797 | 0.022655 | 0.039646 | 0.03115 | 0.968378 | 0.96059 | 0.925192 | 0.886608 | 0.776283 | 0.724012 | 0 | 0 | 0.256494 | 14,090 | 341 | 122 | 41.319648 | 0.808992 | 0.255642 | 0 | 0.49711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092486 | false | 0 | 0.046243 | 0 | 0.184971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed67ff6899488044ef37a8e7a89c968f35c85843 | 174 | py | Python | Server/Python/src/dbs/dao/MySQL/File/Insert.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/File/Insert.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/File/Insert.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
""" DAO Object for Files table """
from dbs.dao.Oracle.File.Insert import Insert as OraFileInsert
class Insert(OraFileInsert):
pass
| 19.333333 | 62 | 0.678161 | 23 | 174 | 5.130435 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 174 | 8 | 63 | 21.75 | 0.867647 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ed6f7a63f4169897b4bba93a3dca44dc0e547710 | 23 | py | Python | gdynet/__init__.py | 15garzab/gdynet | 1d5a9731142d9a11c99b48dd19bb6e2b4f000e41 | [
"MIT"
] | 1 | 2022-03-16T02:06:45.000Z | 2022-03-16T02:06:45.000Z | gdynet/__init__.py | 15garzab/gdynet | 1d5a9731142d9a11c99b48dd19bb6e2b4f000e41 | [
"MIT"
] | null | null | null | gdynet/__init__.py | 15garzab/gdynet | 1d5a9731142d9a11c99b48dd19bb6e2b4f000e41 | [
"MIT"
] | null | null | null | from .vampnet import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c01e4337a632a2c665497df6ba9618dbc65d08f | 12,747 | py | Python | tests/test_chillerheaterperformanceelectriceir.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 19 | 2015-12-08T23:33:51.000Z | 2022-01-31T04:41:10.000Z | tests/test_chillerheaterperformanceelectriceir.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 2 | 2019-10-04T10:57:00.000Z | 2021-10-01T06:46:17.000Z | tests/test_chillerheaterperformanceelectriceir.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 7 | 2015-11-04T02:25:01.000Z | 2021-12-08T03:14:28.000Z | import os
import tempfile
import unittest
import logging
from pyidf import ValidationLevel
import pyidf
from pyidf.idf import IDF
from pyidf.plant_heating_and_cooling_equipment import ChillerHeaterPerformanceElectricEir
log = logging.getLogger(__name__)
class TestChillerHeaterPerformanceElectricEir(unittest.TestCase)... | 84.98 | 257 | 0.847572 | 1,548 | 12,747 | 6.344315 | 0.071059 | 0.064963 | 0.121067 | 0.063537 | 0.920171 | 0.885653 | 0.85643 | 0.827512 | 0.771306 | 0.694023 | 0 | 0.010996 | 0.115321 | 12,747 | 150 | 258 | 84.98 | 0.859892 | 0.014984 | 0 | 0 | 0 | 0 | 0.048854 | 0 | 0 | 0 | 0 | 0 | 0.261261 | 1 | 0.027027 | false | 0 | 0.072072 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c36e464b8d81f7c5f4288cdda5b189e9049c6e6 | 250 | py | Python | bempp/api/linalg/__init__.py | ignacia-fp/bempp-cl | a65232558826e51e624b1a4f649b6a0ed5a7f551 | [
"MIT"
] | 70 | 2019-09-04T15:15:05.000Z | 2022-03-22T16:54:40.000Z | bempp/api/linalg/__init__.py | ignacia-fp/bempp-cl | a65232558826e51e624b1a4f649b6a0ed5a7f551 | [
"MIT"
] | 66 | 2020-01-16T08:31:00.000Z | 2022-03-25T11:18:59.000Z | bempp/api/linalg/__init__.py | ignacia-fp/bempp-cl | a65232558826e51e624b1a4f649b6a0ed5a7f551 | [
"MIT"
] | 22 | 2019-09-30T08:50:33.000Z | 2022-03-20T19:37:22.000Z | """Linear solvers.
Documentation of the functionality of this module and examples
can be found at https://bempp.com/handbook/api/solvers.html
"""
from .iterative_solvers import gmres
from .iterative_solvers import cg
from .direct_solvers import lu
| 25 | 62 | 0.804 | 37 | 250 | 5.351351 | 0.72973 | 0.19697 | 0.20202 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124 | 250 | 9 | 63 | 27.777778 | 0.90411 | 0.556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c4823b7475599ed407e718ed24c6e3eb2ec6e7c | 90 | py | Python | entregas/l1/hugo3/Entrega.py | jmwielandt/autocorrector | acd14910157b88dcb156e45dac975c6ac69c83d5 | [
"Apache-2.0"
] | null | null | null | entregas/l1/hugo3/Entrega.py | jmwielandt/autocorrector | acd14910157b88dcb156e45dac975c6ac69c83d5 | [
"Apache-2.0"
] | null | null | null | entregas/l1/hugo3/Entrega.py | jmwielandt/autocorrector | acd14910157b88dcb156e45dac975c6ac69c83d5 | [
"Apache-2.0"
] | null | null | null | def sumar(lista):
return sum(lista)
def min_com_multip(lista):
return 3
| 11.25 | 27 | 0.622222 | 13 | 90 | 4.153846 | 0.692308 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.288889 | 90 | 7 | 28 | 12.857143 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9c5c716a52c0ed06011815460fe80ad991736c9e | 54,140 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/notification/v1/user_channel_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/notification/v1/user_channel_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/notification/v1/user_channel_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spaceone/api/notification/v1/user_channel.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection ... | 51.172023 | 6,269 | 0.77307 | 6,758 | 54,140 | 5.885617 | 0.050607 | 0.040629 | 0.078818 | 0.084852 | 0.816292 | 0.782376 | 0.763042 | 0.698001 | 0.656015 | 0.641659 | 0 | 0.042747 | 0.107739 | 54,140 | 1,057 | 6,270 | 51.220435 | 0.780632 | 0.0227 | 0 | 0.698285 | 1 | 0.060545 | 0.268179 | 0.236756 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008073 | 0 | 0.008073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c67bf08e0c3b1ff07149760394314a99fb2472a | 11,892 | py | Python | model.py | nathangrinsztajn/RL_for_dynamic_scheduling | 04e7d7dda192a168aa22d226a348fb2114f4fba4 | [
"BSD-3-Clause"
] | 10 | 2021-05-10T02:45:11.000Z | 2022-03-22T08:17:47.000Z | model.py | nathangrinsztajn/RL_for_dynamic_scheduling | 04e7d7dda192a168aa22d226a348fb2114f4fba4 | [
"BSD-3-Clause"
] | null | null | null | model.py | nathangrinsztajn/RL_for_dynamic_scheduling | 04e7d7dda192a168aa22d226a348fb2114f4fba4 | [
"BSD-3-Clause"
] | 3 | 2020-12-07T11:50:09.000Z | 2021-11-23T06:13:14.000Z | import numpy as np
import torch
import torch.nn as nn
from torch.nn import Linear
from torch_geometric.data import Data
import torch.nn.functional as F
from torch_geometric.nn import GCNConv
from torch_geometric.nn.conv import SAGEConv
class Net(torch.nn.Module):
def __init__(self, input_dim):
super(Net, ... | 37.278997 | 112 | 0.607972 | 1,735 | 11,892 | 3.945245 | 0.05879 | 0.079474 | 0.054054 | 0.086779 | 0.800146 | 0.758072 | 0.742001 | 0.726954 | 0.712929 | 0.64076 | 0 | 0.036953 | 0.255886 | 11,892 | 319 | 113 | 37.278997 | 0.73658 | 0.115876 | 0 | 0.556054 | 0 | 0 | 0.049742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076233 | false | 0.040359 | 0.035874 | 0 | 0.192825 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92ea7f358e9ae31441dbfad9c0db2e0c6dfb8415 | 312 | py | Python | packages/watchmen-rest-doll/src/watchmen_rest_doll/admin/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-rest-doll/src/watchmen_rest_doll/admin/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-rest-doll/src/watchmen_rest_doll/admin/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .pipeline_router import ask_save_pipeline_action
from .space_router import ask_save_space_action
from .topic_router import ask_save_topic_action
from .user_group_router import ask_save_user_group_action, sync_user_group_change, SyncUserGroupChangeWithIndicator
from .user_router import ask_save_user_action
| 52 | 115 | 0.907051 | 47 | 312 | 5.489362 | 0.297872 | 0.232558 | 0.290698 | 0.368217 | 0.178295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 312 | 5 | 116 | 62.4 | 0.889655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
92ed860cf649685a6e0736c45d07247a74215300 | 49,388 | py | Python | tests/test_hgvs_to_copy_number.py | cancervariants/varlex | 3806317fa0125c3098e80124d5169fe6a13d50db | [
"MIT"
] | null | null | null | tests/test_hgvs_to_copy_number.py | cancervariants/varlex | 3806317fa0125c3098e80124d5169fe6a13d50db | [
"MIT"
] | 15 | 2019-10-23T17:35:42.000Z | 2020-05-05T21:04:01.000Z | tests/test_hgvs_to_copy_number.py | cancervariants/varlex | 3806317fa0125c3098e80124d5169fe6a13d50db | [
"MIT"
] | null | null | null | """Module for testing the hgvs to absolute and relative copy number endpoints"""
import copy
import pytest
@pytest.fixture(scope="module")
def genomic_dup1_rel_38(genomic_dup1_seq_loc):
"""Create test fixture relative copy number variation"""
return {
"type": "RelativeCopyNumber",
"_id": "ga4... | 38.049307 | 113 | 0.674678 | 5,988 | 49,388 | 5.20157 | 0.055277 | 0.043022 | 0.058047 | 0.058657 | 0.901724 | 0.8727 | 0.829614 | 0.825569 | 0.798022 | 0.783061 | 0 | 0.076592 | 0.210355 | 49,388 | 1,297 | 114 | 38.078643 | 0.72207 | 0.061594 | 0 | 0.667004 | 0 | 0 | 0.241655 | 0.118837 | 0 | 0 | 0 | 0 | 0.091093 | 1 | 0.05668 | false | 0 | 0.002024 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92f3a72706ffc611d24cda12ed4d238a09872856 | 3,997 | py | Python | tests/test_FilterParser.py | fdieulle/treebuilder | 43a4fc31d5b39694dbb4c713ce1a95116c56fe0c | [
"MIT"
] | 1 | 2021-01-06T03:06:33.000Z | 2021-01-06T03:06:33.000Z | tests/test_FilterParser.py | fdieulle/treebuilder | 43a4fc31d5b39694dbb4c713ce1a95116c56fe0c | [
"MIT"
] | null | null | null | tests/test_FilterParser.py | fdieulle/treebuilder | 43a4fc31d5b39694dbb4c713ce1a95116c56fe0c | [
"MIT"
] | null | null | null | from treebuilder.FilterLexer import FilterLexer
from treebuilder.FilterParser import FilterParser
from treebuilder.constants import ATTRIBUTES
class TestFilterParser:
lexer = FilterLexer()
items = [
{ 'Name': 'foo', 'Value': '10', 'title': 'foo' },
{ 'Name': 'bar', 'Value': '20', 'title':... | 33.872881 | 88 | 0.593695 | 457 | 3,997 | 5.155361 | 0.087527 | 0.086587 | 0.122666 | 0.151528 | 0.847199 | 0.772496 | 0.772496 | 0.772496 | 0.772496 | 0.772496 | 0 | 0.005474 | 0.268702 | 3,997 | 117 | 89 | 34.162393 | 0.800547 | 0 | 0 | 0.539326 | 0 | 0 | 0.143608 | 0 | 0 | 0 | 0 | 0 | 0.191011 | 1 | 0.089888 | false | 0 | 0.033708 | 0 | 0.157303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92fd6e18103c714b2a53981955a88274846bf254 | 87 | py | Python | src/materia/symmetry/__init__.py | kijanac/Materia | b49af518c8eff7d3a8c6caff39783e3daf80a7a0 | [
"MIT"
] | null | null | null | src/materia/symmetry/__init__.py | kijanac/Materia | b49af518c8eff7d3a8c6caff39783e3daf80a7a0 | [
"MIT"
] | null | null | null | src/materia/symmetry/__init__.py | kijanac/Materia | b49af518c8eff7d3a8c6caff39783e3daf80a7a0 | [
"MIT"
] | null | null | null | from .group_theory import *
from .symmetry_operation import *
from .symfinder import *
| 21.75 | 33 | 0.793103 | 11 | 87 | 6.090909 | 0.636364 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 34 | 29 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13651a165cbd1bea4046ce9c37dbfc1da1abf4bb | 34 | py | Python | aoc/d25/__init__.py | klittlepage/aoc2020 | 7135ac08263480a8cc9d6536d7caeb26bf85ae4f | [
"MIT"
] | null | null | null | aoc/d25/__init__.py | klittlepage/aoc2020 | 7135ac08263480a8cc9d6536d7caeb26bf85ae4f | [
"MIT"
] | null | null | null | aoc/d25/__init__.py | klittlepage/aoc2020 | 7135ac08263480a8cc9d6536d7caeb26bf85ae4f | [
"MIT"
] | null | null | null | from aoc.d25.main import p_1, p_2
| 17 | 33 | 0.764706 | 9 | 34 | 2.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.147059 | 34 | 1 | 34 | 34 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
136a4402e384d29cda4cf6a15e9af744a20bca54 | 28 | py | Python | tests/test_basic.py | VardaHagh/Rigidpy | 3cf8848e870c0d30bd3511221eea179d49532de2 | [
"MIT"
] | 3 | 2021-01-14T00:19:31.000Z | 2021-08-17T06:54:12.000Z | tests/test_basic.py | VardaHagh/Rigidpy | 3cf8848e870c0d30bd3511221eea179d49532de2 | [
"MIT"
] | null | null | null | tests/test_basic.py | VardaHagh/Rigidpy | 3cf8848e870c0d30bd3511221eea179d49532de2 | [
"MIT"
] | null | null | null | from context import rigidpy
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
136ac18859d6b9cff5fd6a1ad1fb7764519528fa | 4,073 | py | Python | src/citrine/informatics/scores.py | crleblanc/citrine-python | 4e89e9efc498352b2eb6b9abd60c14835c3dd686 | [
"Apache-2.0"
] | null | null | null | src/citrine/informatics/scores.py | crleblanc/citrine-python | 4e89e9efc498352b2eb6b9abd60c14835c3dd686 | [
"Apache-2.0"
] | null | null | null | src/citrine/informatics/scores.py | crleblanc/citrine-python | 4e89e9efc498352b2eb6b9abd60c14835c3dd686 | [
"Apache-2.0"
] | null | null | null | """Tools for working with Scores."""
from typing import List, Optional
from citrine._serialization import properties
from citrine._serialization.polymorphic_serializable import PolymorphicSerializable
from citrine._serialization.serializable import Serializable
from citrine._session import Session
from citrine.informa... | 37.027273 | 98 | 0.661183 | 424 | 4,073 | 6.290094 | 0.235849 | 0.024747 | 0.051744 | 0.049494 | 0.700412 | 0.700412 | 0.700412 | 0.700412 | 0.700412 | 0.700412 | 0 | 0 | 0.238399 | 4,073 | 109 | 99 | 37.366972 | 0.859768 | 0.285539 | 0 | 0.644068 | 0 | 0 | 0.067172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.118644 | 0.033898 | 0.508475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
13974b7dea7e30b41615eb4d35935a8df36caba7 | 54 | py | Python | hypergrad/__init__.py | fps7806/hypergradient-descent | 73202b3d384e8a586d952de3fd14707cda0deefb | [
"MIT"
] | 111 | 2018-04-30T02:28:03.000Z | 2022-01-07T20:34:16.000Z | hypergrad/__init__.py | fps7806/hypergradient-descent | 73202b3d384e8a586d952de3fd14707cda0deefb | [
"MIT"
] | 8 | 2018-05-13T07:30:25.000Z | 2020-04-26T07:14:23.000Z | hypergrad/__init__.py | fps7806/hypergradient-descent | 73202b3d384e8a586d952de3fd14707cda0deefb | [
"MIT"
] | 19 | 2018-07-23T10:54:44.000Z | 2021-09-17T06:48:31.000Z | from .adam_hd import AdamHD
from .sgd_hd import SGDHD
| 18 | 27 | 0.814815 | 10 | 54 | 4.2 | 0.7 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 28 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1398b34392f3df3e8b6aaba793a4f113c08cdb32 | 19 | py | Python | telex/git/__init__.py | datamachine/telex | 6021e336ebd4edcbb3a3c51c8bc7c50e71ce3e7b | [
"MIT"
] | 32 | 2015-06-11T15:47:12.000Z | 2021-09-16T01:23:36.000Z | telex/git/__init__.py | PerU-MoNsteR/telex | 6021e336ebd4edcbb3a3c51c8bc7c50e71ce3e7b | [
"MIT"
] | 15 | 2015-06-05T09:08:33.000Z | 2016-05-29T18:47:59.000Z | telex/git/__init__.py | PerU-MoNsteR/telex | 6021e336ebd4edcbb3a3c51c8bc7c50e71ce3e7b | [
"MIT"
] | 14 | 2015-06-09T14:02:38.000Z | 2020-11-26T12:33:30.000Z | from .git import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13d30a496ba5a2898e3bc1eca1c5d232ba42fe81 | 11,045 | py | Python | Algorithm.Python/stubs/QuantConnect/Data/__Fundamental_4.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 2 | 2020-12-08T11:27:20.000Z | 2021-04-06T13:21:15.000Z | Algorithm.Python/stubs/QuantConnect/Data/__Fundamental_4.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | null | null | null | Algorithm.Python/stubs/QuantConnect/Data/__Fundamental_4.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 1 | 2020-12-08T11:27:21.000Z | 2020-12-08T11:27:21.000Z | from .__Fundamental_5 import *
import typing
import System.IO
import System.Collections.Generic
import System
import QuantConnect.Data.Fundamental.MultiPeriodField
import QuantConnect.Data.Fundamental
import QuantConnect.Data
import QuantConnect
import datetime
class BankIndebtednessBalanceSheet(QuantConnect.Data.Fu... | 32.390029 | 150 | 0.729561 | 1,158 | 11,045 | 6.914508 | 0.163212 | 0.077932 | 0.128138 | 0.134258 | 0.723367 | 0.700637 | 0.690521 | 0.676783 | 0.644811 | 0.644811 | 0 | 0.000339 | 0.198551 | 11,045 | 340 | 151 | 32.485294 | 0.904202 | 0.330285 | 0 | 0.782051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.230769 | 0.064103 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
13d5d113dd68df0739c882630bc71c81dc5a9641 | 29 | py | Python | videoanalyst/data/sampler/__init__.py | lizhenbang56/Manipulating-Template-Pixels-for-Model-Adaptation-of-Siamese-Visual-Tracking | 76b88d8e68ac3d575a2ce81fc07ee2fce5f050d6 | [
"MIT"
] | 2 | 2020-07-30T08:26:08.000Z | 2020-11-24T07:40:46.000Z | videoanalyst/data/sampler/__init__.py | shartoo/video_analyst | db7c1b323f26ec19533a4b19804cf2c8a52643e5 | [
"MIT"
] | null | null | null | videoanalyst/data/sampler/__init__.py | shartoo/video_analyst | db7c1b323f26ec19533a4b19804cf2c8a52643e5 | [
"MIT"
] | null | null | null | from .sampler_impl import *
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13f92daf3266aa709718ae4d0f775887d276f077 | 34 | py | Python | examples/math.isinf/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.isinf/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.isinf/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.isinf(10))
| 11.333333 | 21 | 0.764706 | 6 | 34 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.088235 | 34 | 2 | 22 | 17 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b91a6fd7b191692958454bc8e529954a1ddaa81e | 161 | py | Python | YahooFinanceDashboard/_data_io/__init__.py | mosegui/YahooFinanceDashboard | b14117520a9c1f7d11422583946bdea44092cbd5 | [
"BSD-3-Clause"
] | 2 | 2019-09-11T09:06:03.000Z | 2019-12-07T17:17:45.000Z | YahooFinanceDashboard/_data_io/__init__.py | mosegui/YahooFinanceDashboard | b14117520a9c1f7d11422583946bdea44092cbd5 | [
"BSD-3-Clause"
] | null | null | null | YahooFinanceDashboard/_data_io/__init__.py | mosegui/YahooFinanceDashboard | b14117520a9c1f7d11422583946bdea44092cbd5 | [
"BSD-3-Clause"
] | 1 | 2020-02-13T16:37:47.000Z | 2020-02-13T16:37:47.000Z | # -*- coding: utf-8 -*-
"""
Written by Daniel Moseguí González
GitHub: user:mosegui
LinkedIn: https://www.linkedin.com/in/daniel-moseguí-gonzález-5aa02849/
"""
| 20.125 | 71 | 0.714286 | 21 | 161 | 5.47619 | 0.809524 | 0.226087 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 0.10559 | 161 | 7 | 72 | 23 | 0.75 | 0.937888 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b96490fc8eb9a677d0950a5d9250c18368b8ec4b | 4,353 | py | Python | data.py | akhyn/masstris | 9a48390f4793d00669a0d13b212173c37aae30b4 | [
"MIT"
] | 1 | 2019-04-20T15:03:39.000Z | 2019-04-20T15:03:39.000Z | data.py | akhyn/masstris | 9a48390f4793d00669a0d13b212173c37aae30b4 | [
"MIT"
] | null | null | null | data.py | akhyn/masstris | 9a48390f4793d00669a0d13b212173c37aae30b4 | [
"MIT"
] | null | null | null | # Graphics
colors = {
-1: (255, 255, 255),
0: (0, 0, 0),
1: (255, 128, 0),
2: (255, 128, 128),
3: (255, 0, 128),
4: (0, 128, 255),
5: (128, 0, 255),
6: (0, 255, 128),
7: (128, 255, 0),
8: (128, 128, 128),
'red': (255, 0, 0),
'black': (0, 0, 0),
'white': (255, 255, 255... | 41.855769 | 94 | 0.307834 | 778 | 4,353 | 1.669666 | 0.125964 | 0.458814 | 0.482679 | 0.464973 | 0.450346 | 0.443418 | 0.440339 | 0.420323 | 0.408776 | 0.368745 | 0 | 0.300041 | 0.434183 | 4,353 | 104 | 95 | 41.855769 | 0.227365 | 0.028946 | 0 | 0.022989 | 0 | 0 | 0.037494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9a2949494284b4e52adc59f5ac9a4938f171164 | 135 | py | Python | website/babylon/views.py | odelanit/digital-twin | 125631b0cc6eea7908b8634fc15251bc7163c124 | [
"Apache-2.0"
] | 3 | 2019-10-23T10:12:17.000Z | 2022-01-03T08:26:57.000Z | website/babylon/views.py | odelanit/digital-twin | 125631b0cc6eea7908b8634fc15251bc7163c124 | [
"Apache-2.0"
] | 7 | 2020-02-12T01:30:53.000Z | 2022-02-10T13:53:39.000Z | website/babylon/views.py | laboratoryyingong/digitalTwin | 41b34f8776bb731f45749be1cb507cf3e574ddc5 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return render(request, 'base.html')
| 19.285714 | 39 | 0.777778 | 18 | 135 | 5.833333 | 0.722222 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 6 | 40 | 22.5 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b9bbc8186707d6be6cc72b5421168885250091cd | 72 | py | Python | web.py | Laughing-Boy/ellie | b5c3009ce8e10966ddd625bfbe0ea0a537176446 | [
"BSD-3-Clause"
] | null | null | null | web.py | Laughing-Boy/ellie | b5c3009ce8e10966ddd625bfbe0ea0a537176446 | [
"BSD-3-Clause"
] | null | null | null | web.py | Laughing-Boy/ellie | b5c3009ce8e10966ddd625bfbe0ea0a537176446 | [
"BSD-3-Clause"
] | null | null | null | import server.clock
from server.server import app
server.clock.start()
| 14.4 | 29 | 0.805556 | 11 | 72 | 5.272727 | 0.545455 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 4 | 30 | 18 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9d133b0d13dfbc7d4136d06e48a52596b48a509 | 69,301 | py | Python | sdk/python/pulumi_azure/mssql/_inputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/mssql/_inputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/mssql/_inputs.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.826003 | 474 | 0.683684 | 8,395 | 69,301 | 5.425849 | 0.053603 | 0.09708 | 0.067003 | 0.036707 | 0.851811 | 0.782108 | 0.729462 | 0.678002 | 0.650274 | 0.608035 | 0 | 0.002579 | 0.210978 | 69,301 | 1,545 | 475 | 44.855016 | 0.83045 | 0.281396 | 0 | 0.533054 | 1 | 0.002099 | 0.147691 | 0.084438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210913 | false | 0.009444 | 0.005247 | 0.010493 | 0.334732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a281c90b0aaff9b4288c9d56737b69e291ed251 | 51,046 | py | Python | econml/policy/_drlearner.py | santboia/EconML | 541a88b9309af9fe605448495f30ec6a64d253a0 | [
"BSD-3-Clause"
] | null | null | null | econml/policy/_drlearner.py | santboia/EconML | 541a88b9309af9fe605448495f30ec6a64d253a0 | [
"BSD-3-Clause"
] | null | null | null | econml/policy/_drlearner.py | santboia/EconML | 541a88b9309af9fe605448495f30ec6a64d253a0 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from warnings import warn
import numpy as np
from sklearn.base import clone
from ..utilities import check_inputs, filter_none_kwargs
from ..dr import DRLearner
from ..dr._drlearner import _ModelFinal
from .._tree_exp... | 49.752437 | 120 | 0.59323 | 6,193 | 51,046 | 4.762151 | 0.094623 | 0.047301 | 0.021904 | 0.008816 | 0.855317 | 0.842296 | 0.834023 | 0.830293 | 0.825309 | 0.824359 | 0 | 0.003807 | 0.3413 | 51,046 | 1,025 | 121 | 49.800976 | 0.873305 | 0.586451 | 0 | 0.670213 | 0 | 0 | 0.019256 | 0.001252 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08156 | false | 0.003546 | 0.046099 | 0.01773 | 0.223404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a291ccb0db98336046c9cf4ce83b72e09bedcf2 | 56,427 | py | Python | DLWP/data/cfsr.py | flashlxy/DLWP | 0fddfa3ee927fa298648fc3eb469f5a7a93e51e9 | [
"MIT"
] | 1 | 2019-06-14T03:05:06.000Z | 2019-06-14T03:05:06.000Z | DLWP/data/cfsr.py | flashlxy/DLWP | 0fddfa3ee927fa298648fc3eb469f5a7a93e51e9 | [
"MIT"
] | null | null | null | DLWP/data/cfsr.py | flashlxy/DLWP | 0fddfa3ee927fa298648fc3eb469f5a7a93e51e9 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2017-18 Jonathan Weyn <jweyn@uw.edu>
#
# See the file LICENSE for your rights.
#
"""
Utilities for retrieving and processing CFS reanalysis and reforecast data using XArray.
For now, we only implement the regularly-gridded 1-degree data. Support for variables on the native Gaussian ~0.5
degree grid m... | 47.497475 | 120 | 0.56652 | 6,865 | 56,427 | 4.496286 | 0.096577 | 0.018142 | 0.008294 | 0.011566 | 0.780348 | 0.763145 | 0.747918 | 0.742897 | 0.73023 | 0.717271 | 0 | 0.012806 | 0.330214 | 56,427 | 1,187 | 121 | 47.537489 | 0.803911 | 0.238786 | 0 | 0.727273 | 0 | 0.003589 | 0.115627 | 0.003156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04067 | false | 0.003589 | 0.028708 | 0 | 0.114833 | 0.062201 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a45c71dd6f6674ebdbc18ca673e69a702aa9ef8 | 24 | py | Python | msdtk/pipeline/steps/__init__.py | alabamagan/maxillary_sinus_diagnosis_toolkit | 2529578a35f16787d63dfc18a37c9a19738dd665 | [
"MIT"
] | null | null | null | msdtk/pipeline/steps/__init__.py | alabamagan/maxillary_sinus_diagnosis_toolkit | 2529578a35f16787d63dfc18a37c9a19738dd665 | [
"MIT"
] | null | null | null | msdtk/pipeline/steps/__init__.py | alabamagan/maxillary_sinus_diagnosis_toolkit | 2529578a35f16787d63dfc18a37c9a19738dd665 | [
"MIT"
] | null | null | null | from .seg2diag import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e00a6e4ba7aa803271fa050a79e15c40249ddcda | 132 | py | Python | dist/Basilisk/fswAlgorithms/thrForceMapping/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/thrForceMapping/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/thrForceMapping/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the thrForceMapping package is automatically generated by the build system
from thrForceMapping import * | 66 | 102 | 0.840909 | 18 | 132 | 5.944444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 2 | 103 | 66 | 0.938596 | 0.757576 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e067fa82452008997a8d7a5a4801f689fb39a8b4 | 4,698 | py | Python | common/mockservermeth.py | wupengyue/AdminLTE | 7a15c85a2a9ceb22f1b9c67437113df9aebf77bf | [
"MIT"
] | null | null | null | common/mockservermeth.py | wupengyue/AdminLTE | 7a15c85a2a9ceb22f1b9c67437113df9aebf77bf | [
"MIT"
] | null | null | null | common/mockservermeth.py | wupengyue/AdminLTE | 7a15c85a2a9ceb22f1b9c67437113df9aebf77bf | [
"MIT"
] | null | null | null | """
@author:
@file: parsenei.py
@time: 2018/3/14 16:17
mockserver封装,用于在提供mock服务的时候使用
内部在headers里面加个token校验,获取不到token默认为外部请求,
内部请求不会去校验headers,在系统内部的请求直接可以获取接口返回的参数。
"""
from flask import request, abort, jsonify, make_response
from app.models import *
from common.dict_com import comp_dict, dict_par
import json
def... | 47.938776 | 108 | 0.485313 | 411 | 4,698 | 5.472019 | 0.216545 | 0.109827 | 0.143619 | 0.080036 | 0.759893 | 0.746999 | 0.746999 | 0.746999 | 0.719876 | 0.698977 | 0 | 0.011267 | 0.376543 | 4,698 | 97 | 109 | 48.43299 | 0.756572 | 0.034483 | 0 | 0.797619 | 0 | 0 | 0.144687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011905 | false | 0 | 0.047619 | 0 | 0.333333 | 0.011905 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1604d5c7fce8ffdb83b6b62239eca7c638983e67 | 67 | py | Python | test_first.py | EmielCoucke/algorithms-python-intro-ex | 20ae6fac66798a3e947dd67bf17cc94de34b2fb4 | [
"Apache-2.0"
] | null | null | null | test_first.py | EmielCoucke/algorithms-python-intro-ex | 20ae6fac66798a3e947dd67bf17cc94de34b2fb4 | [
"Apache-2.0"
] | null | null | null | test_first.py | EmielCoucke/algorithms-python-intro-ex | 20ae6fac66798a3e947dd67bf17cc94de34b2fb4 | [
"Apache-2.0"
] | null | null | null | from first import test
def test_first():
assert(test() == 16)
| 9.571429 | 22 | 0.656716 | 10 | 67 | 4.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.208955 | 67 | 6 | 23 | 11.166667 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
164a2dad198868e94fe0c2bdce29ec49de7230f0 | 71 | py | Python | pigar/tests/imports_example/example3.py | yasirroni/pigar | 823a3c2478361d53dba408bea75e1766d253f3c0 | [
"BSD-3-Clause"
] | 959 | 2016-08-15T10:02:24.000Z | 2022-03-31T12:35:39.000Z | pigar/tests/imports_example/example3.py | bmartinn/pigar | f98b26a82436525bd99a95f1585d0f2c72e59e2e | [
"BSD-3-Clause"
] | 67 | 2016-10-02T20:48:26.000Z | 2022-01-08T16:29:58.000Z | pigar/tests/imports_example/example3.py | bmartinn/pigar | f98b26a82436525bd99a95f1585d0f2c72e59e2e | [
"BSD-3-Clause"
] | 64 | 2016-11-30T11:21:36.000Z | 2022-02-18T19:33:37.000Z | # -*- coding: utf-8 -*-
from . import example1
from . import example2
| 14.2 | 23 | 0.647887 | 9 | 71 | 5.111111 | 0.777778 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.197183 | 71 | 4 | 24 | 17.75 | 0.754386 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16b8b8ef2fafb63526fa30778d98094b3d0843a3 | 100 | py | Python | medicSearch/views/__init__.py | robsonleal/medic_search | 647ee95effd4206d7090ae7e7af1706686caf4ec | [
"MIT"
] | null | null | null | medicSearch/views/__init__.py | robsonleal/medic_search | 647ee95effd4206d7090ae7e7af1706686caf4ec | [
"MIT"
] | null | null | null | medicSearch/views/__init__.py | robsonleal/medic_search | 647ee95effd4206d7090ae7e7af1706686caf4ec | [
"MIT"
] | null | null | null | from .HomeView import *
from .ProfileView import *
from .MedicView import *
from .AuthView import *
| 20 | 26 | 0.76 | 12 | 100 | 6.333333 | 0.5 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 4 | 27 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc4424097c4b492ceac16dc92f88795ebedeb90d | 3,443 | py | Python | tests/test_collections_deque.py | KingND/RemoveIt | a6110a6186b92d5381d99e7255601c80298d4ca6 | [
"MIT"
] | 1 | 2021-04-16T17:54:31.000Z | 2021-04-16T17:54:31.000Z | tests/test_collections_deque.py | KingND/RemoveIt | a6110a6186b92d5381d99e7255601c80298d4ca6 | [
"MIT"
] | null | null | null | tests/test_collections_deque.py | KingND/RemoveIt | a6110a6186b92d5381d99e7255601c80298d4ca6 | [
"MIT"
] | null | null | null | from collections import deque
import pytest
from removeit.removeit import removeit
@pytest.fixture
def group(): # all elements are hashable
return deque((
1, 2, 3, 3, "purple", "blue", -1, 0, "purple", -2.1, 2.1, (2, 3, 5)
))
# NOT USED IN TESTS BECAUSE UNHASHABLE ELEMENTS ARE UNSUPPORTED
# leaving here to sho... | 28.221311 | 75 | 0.731629 | 520 | 3,443 | 4.651923 | 0.146154 | 0.085986 | 0.072757 | 0.086813 | 0.825961 | 0.806532 | 0.727573 | 0.727573 | 0.703597 | 0.621745 | 0 | 0.01504 | 0.13099 | 3,443 | 121 | 76 | 28.454545 | 0.793449 | 0.048214 | 0 | 0.54878 | 0 | 0 | 0.08099 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 1 | 0.158537 | false | 0 | 0.036585 | 0.02439 | 0.219512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bca95c25afdc3be96bf6e4595129ced860c0e5c4 | 190 | py | Python | local/admin.py | Sergio-Basaure/taller_titulo_admin | 8e77d967e5818abb8e974e93ee64e226d64d73f5 | [
"MIT"
] | null | null | null | local/admin.py | Sergio-Basaure/taller_titulo_admin | 8e77d967e5818abb8e974e93ee64e226d64d73f5 | [
"MIT"
] | null | null | null | local/admin.py | Sergio-Basaure/taller_titulo_admin | 8e77d967e5818abb8e974e93ee64e226d64d73f5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .local.admin import LocalAdmin
from .categoria.admin import TipoReclamoAdmin
from .reclamo.admin import ReclamoAdmin
from .agenda.admin import HoraAdmin | 38 | 45 | 0.852632 | 25 | 190 | 6.48 | 0.52 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 190 | 5 | 46 | 38 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcd3974e91cefe9bf5b19d0ded3f56b468f5943e | 18,496 | py | Python | test/unit/obj/test_expirer.py | vvechkanov/SwiftUml | 98fa5adfe5664dbb4f328ba2a1789a63c7550eed | [
"Apache-2.0"
] | 1 | 2021-01-06T12:40:43.000Z | 2021-01-06T12:40:43.000Z | test/unit/obj/test_expirer.py | Triv90/SwiftUml | 98fa5adfe5664dbb4f328ba2a1789a63c7550eed | [
"Apache-2.0"
] | null | null | null | test/unit/obj/test_expirer.py | Triv90/SwiftUml | 98fa5adfe5664dbb4f328ba2a1789a63c7550eed | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2011 OpenStack, LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 35.43295 | 79 | 0.567204 | 2,094 | 18,496 | 4.847182 | 0.118911 | 0.027586 | 0.051429 | 0.034483 | 0.756749 | 0.729852 | 0.709951 | 0.704532 | 0.659803 | 0.634975 | 0 | 0.019688 | 0.313473 | 18,496 | 521 | 80 | 35.50096 | 0.77965 | 0.046388 | 0 | 0.690773 | 0 | 0 | 0.155239 | 0 | 0 | 0 | 0 | 0 | 0.082294 | 0 | null | null | 0.054863 | 0.01995 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4c35d21299034d7139590060923be843bdf42370 | 8,359 | py | Python | tests/unit/core/test_filters.py | statisticsnorway/microdata-data-service | d477b7b75589d4c977771122558c948c040a1106 | [
"Apache-2.0"
] | null | null | null | tests/unit/core/test_filters.py | statisticsnorway/microdata-data-service | d477b7b75589d4c977771122558c948c040a1106 | [
"Apache-2.0"
] | 7 | 2021-10-08T13:40:33.000Z | 2022-02-04T10:37:55.000Z | tests/unit/core/test_filters.py | statisticsnorway/microdata-data-service | d477b7b75589d4c977771122558c948c040a1106 | [
"Apache-2.0"
] | null | null | null | import shutil
import pytest
import numpy as np
from pandas.testing import assert_frame_equal
from pyarrow import Table
from data_service.core.filters import filter_by_fixed
from data_service.core.filters import filter_by_time
from data_service.core.filters import filter_by_time_period
from tests.unit.util.util import... | 29.329825 | 87 | 0.650915 | 999 | 8,359 | 5.083083 | 0.113113 | 0.03781 | 0.043521 | 0.051201 | 0.825916 | 0.800906 | 0.789484 | 0.769988 | 0.762111 | 0.73651 | 0 | 0.186599 | 0.219763 | 8,359 | 284 | 88 | 29.433099 | 0.591996 | 0 | 0 | 0.547511 | 0 | 0 | 0.100251 | 0.036009 | 0 | 0 | 0 | 0 | 0.054299 | 1 | 0.076923 | false | 0 | 0.040724 | 0 | 0.117647 | 0.126697 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c47a1079c7857aa0f80c42f306815b6e3f27929 | 3,026 | py | Python | tests/reasoning/logic/propositional/test_rv_or_n.py | mikulatomas/LNN | dfcef594a241778946a3b78b0b8390eb202821de | [
"Apache-2.0"
] | 41 | 2021-12-07T11:48:20.000Z | 2022-03-29T04:16:16.000Z | tests/reasoning/logic/propositional/test_rv_or_n.py | mikulatomas/LNN | dfcef594a241778946a3b78b0b8390eb202821de | [
"Apache-2.0"
] | 8 | 2022-02-16T08:50:00.000Z | 2022-03-31T08:37:28.000Z | tests/reasoning/logic/propositional/test_rv_or_n.py | mikulatomas/LNN | dfcef594a241778946a3b78b0b8390eb202821de | [
"Apache-2.0"
] | 7 | 2021-12-03T16:51:45.000Z | 2022-03-10T07:51:29.000Z | ##
# Copyright 2021 IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
##
import numpy as np
from lnn import Proposition, Or, Model, Fact
def test_upward(output=False):
"""standard upward n-input disjunction boolean truth table"""
n = 1000
propositions = list()
for i in range(0, ... | 25.428571 | 72 | 0.581626 | 428 | 3,026 | 4.03972 | 0.226636 | 0.057259 | 0.024292 | 0.044534 | 0.764604 | 0.75535 | 0.75535 | 0.75535 | 0.75535 | 0.75535 | 0 | 0.032344 | 0.254131 | 3,026 | 118 | 73 | 25.644068 | 0.733717 | 0.122604 | 0 | 0.721519 | 0 | 0 | 0.143888 | 0.016705 | 0 | 0 | 0 | 0 | 0.063291 | 1 | 0.025316 | false | 0 | 0.025316 | 0 | 0.050633 | 0.037975 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c57f2c5e827e0d182ab1333630154ef692ae683 | 105 | py | Python | aurora_connector/helpers/Exceptions.py | johnyob/Aurora-Connector | 9ffa8d5c2561f2fde206d404f14abb359fcedbc5 | [
"MIT"
] | null | null | null | aurora_connector/helpers/Exceptions.py | johnyob/Aurora-Connector | 9ffa8d5c2561f2fde206d404f14abb359fcedbc5 | [
"MIT"
] | null | null | null | aurora_connector/helpers/Exceptions.py | johnyob/Aurora-Connector | 9ffa8d5c2561f2fde206d404f14abb359fcedbc5 | [
"MIT"
] | null | null | null | class AuroraDatabaseException(Exception):
pass
class AuroraParameterException(Exception):
pass
| 15 | 42 | 0.790476 | 8 | 105 | 10.375 | 0.625 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 6 | 43 | 17.5 | 0.932584 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d5c7aad16bb14d096dec1cb0bfcc997771ff9657 | 130 | py | Python | app/config/__init__.py | Gerschtli/betting-game-backend | 4fb38e5316ea6509b4468f8ca11de2f899366abb | [
"MIT"
] | null | null | null | app/config/__init__.py | Gerschtli/betting-game-backend | 4fb38e5316ea6509b4468f8ca11de2f899366abb | [
"MIT"
] | 1 | 2021-11-04T16:42:26.000Z | 2021-11-04T16:42:26.000Z | app/config/__init__.py | Gerschtli/betting-game-backend | 4fb38e5316ea6509b4468f8ca11de2f899366abb | [
"MIT"
] | null | null | null | from typing import Any, Optional
import flask
def get(key: str) -> Optional[Any]:
return flask.current_app.config.get(key)
| 16.25 | 44 | 0.730769 | 20 | 130 | 4.7 | 0.7 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 130 | 7 | 45 | 18.571429 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d5fb9d2f794a622fc511c7f0c84ca5b0c5645832 | 15,034 | py | Python | BandoodleBackEnd/users/tests.py | enriquefromojaro/Bandoodle-back-public | c5e391e886ac1e75ebc5820c90da44fdbec44f30 | [
"MIT"
] | null | null | null | BandoodleBackEnd/users/tests.py | enriquefromojaro/Bandoodle-back-public | c5e391e886ac1e75ebc5820c90da44fdbec44f30 | [
"MIT"
] | null | null | null | BandoodleBackEnd/users/tests.py | enriquefromojaro/Bandoodle-back-public | c5e391e886ac1e75ebc5820c90da44fdbec44f30 | [
"MIT"
] | null | null | null | from typing import re
from django.contrib.auth.models import User
# Create your tests here.
from rest_framework import status
from rest_framework.test import APITestCase, APIClient, APIRequestFactory, force_authenticate
from rest_framework.authtoken.models import Token
from django.contrib.sessions.models import Sessi... | 44.217647 | 140 | 0.578223 | 1,593 | 15,034 | 5.243566 | 0.110483 | 0.053873 | 0.066802 | 0.107626 | 0.821382 | 0.818508 | 0.797558 | 0.773495 | 0.752185 | 0.722615 | 0 | 0.01981 | 0.244512 | 15,034 | 339 | 141 | 44.348083 | 0.715619 | 0.032127 | 0 | 0.637097 | 0 | 0 | 0.234971 | 0.028837 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.129032 | false | 0.020161 | 0.028226 | 0 | 0.16129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9109fc9923d494144ff162d6261080f06aaa9ec0 | 98 | py | Python | khl/__legacy__/command/menu.py | hang333/khl.py | 1d235541528b070a1206eaf31ccaded9eac52da1 | [
"MIT"
] | null | null | null | khl/__legacy__/command/menu.py | hang333/khl.py | 1d235541528b070a1206eaf31ccaded9eac52da1 | [
"MIT"
] | null | null | null | khl/__legacy__/command/menu.py | hang333/khl.py | 1d235541528b070a1206eaf31ccaded9eac52da1 | [
"MIT"
] | 1 | 2021-08-08T16:07:09.000Z | 2021-08-08T16:07:09.000Z | from .command import Command
class MenuCommand(Command):
"""
docstring
"""
pass
| 10.888889 | 28 | 0.612245 | 9 | 98 | 6.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 98 | 8 | 29 | 12.25 | 0.857143 | 0.091837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
913febdbc80b962b98300c3e29d24ce8aab47f8b | 96 | py | Python | Chapter01/12_argv_example.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 116 | 2018-12-21T01:05:47.000Z | 2022-03-23T21:41:41.000Z | Chapter01/12_argv_example.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 2 | 2021-03-31T19:36:19.000Z | 2021-06-10T22:29:26.000Z | Chapter01/12_argv_example.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 147 | 2018-12-19T14:10:32.000Z | 2022-03-20T11:03:20.000Z | import sys
print('Number of arguments:', len(sys.argv))
print('Argument list:', str(sys.argv))
| 19.2 | 44 | 0.708333 | 15 | 96 | 4.533333 | 0.733333 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 4 | 45 | 24 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
914120bf76e356588d5fea4b0ea9f923026e773c | 31,365 | py | Python | stoq/tests/test_core.py | chemberger/stoq | 58f520e408ed3d19be4d4d6acdf1e1e35625d91c | [
"Apache-2.0"
] | null | null | null | stoq/tests/test_core.py | chemberger/stoq | 58f520e408ed3d19be4d4d6acdf1e1e35625d91c | [
"Apache-2.0"
] | null | null | null | stoq/tests/test_core.py | chemberger/stoq | 58f520e408ed3d19be4d4d6acdf1e1e35625d91c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# Copyright 2014-2018 PUNCH Cyber Analytics Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... | 45.721574 | 106 | 0.682289 | 3,785 | 31,365 | 5.346103 | 0.07107 | 0.052187 | 0.030986 | 0.030245 | 0.81873 | 0.801186 | 0.792686 | 0.774846 | 0.747863 | 0.719644 | 0 | 0.006151 | 0.206887 | 31,365 | 685 | 107 | 45.788321 | 0.807284 | 0.036346 | 0 | 0.580372 | 0 | 0 | 0.124067 | 0.013299 | 0 | 0 | 0 | 0 | 0.241963 | 1 | 0.108291 | false | 0 | 0.013536 | 0 | 0.123519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6736e8e6e6466595b12714880a0e2693427f9e8 | 1,097 | py | Python | csl_yolo/tools/freeze_layer.py | angusll/kaggle_greatbarrierreef | cf1065833a8009be765f8d5d3f81a0c39485f312 | [
"Apache-2.0"
] | 63 | 2021-07-08T10:19:30.000Z | 2022-03-20T15:24:36.000Z | csl_yolo/tools/freeze_layer.py | angusll/kaggle_greatbarrierreef | cf1065833a8009be765f8d5d3f81a0c39485f312 | [
"Apache-2.0"
] | 6 | 2021-07-17T07:26:05.000Z | 2021-11-11T02:26:40.000Z | csl_yolo/tools/freeze_layer.py | angusll/kaggle_greatbarrierreef | cf1065833a8009be765f8d5d3f81a0c39485f312 | [
"Apache-2.0"
] | 12 | 2021-07-14T06:25:44.000Z | 2022-01-24T01:04:27.000Z | def FreezeLayers(model,keys=None,freeze_type="LAYERS"):
if(freeze_type=="ALL"):
for layer in model.layers:
layer.trainable=False
elif(keys==None):
raise Exception("FreezeLayers Error: The arg 'keys' can't be None.")
elif(type(keys[0])==str and freeze_type=="LAYERS"):
... | 42.192308 | 77 | 0.617138 | 150 | 1,097 | 4.433333 | 0.233333 | 0.120301 | 0.144361 | 0.078195 | 0.893233 | 0.893233 | 0.893233 | 0.893233 | 0.893233 | 0.893233 | 0 | 0.004848 | 0.247949 | 1,097 | 26 | 78 | 42.192308 | 0.801212 | 0 | 0 | 0.692308 | 0 | 0 | 0.130475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e684f64a63abbf83aefd0d7c03b5aef6394bce58 | 42 | py | Python | JellyBot/components/views/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | JellyBot/components/views/__init__.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | JellyBot/components/views/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from .api_json import APIJsonResponseView
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e68e5c090dee396777b19892e3af3fc31b5b6e08 | 31 | py | Python | habu/lib/tomorrow3/__init__.py | vincentfer/https-github.com-fportantier-habu | f9b305b8d1e06eda07ea06c2f5535336fedd7a87 | [
"BSD-3-Clause"
] | 461 | 2017-05-27T15:35:13.000Z | 2019-11-30T23:13:15.000Z | habu/lib/tomorrow3/__init__.py | dolboBobo/habu | d9f2df6ac66b7527f7a731f943af07726ff7e2e2 | [
"BSD-3-Clause"
] | 10 | 2017-10-12T09:43:23.000Z | 2019-06-21T17:25:09.000Z | habu/lib/tomorrow3/__init__.py | dolboBobo/habu | d9f2df6ac66b7527f7a731f943af07726ff7e2e2 | [
"BSD-3-Clause"
] | 108 | 2017-09-23T19:55:23.000Z | 2019-11-30T19:08:32.000Z | from .tomorrow3 import threads
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e699ca73695ccace2183958420a91fc4aca88ae8 | 172 | py | Python | src/poetry/packages/__init__.py | sivanbecker/poetry | 72497bcb66b5a1cc20e3aa95973c523a22b05bfa | [
"MIT"
] | 1 | 2020-02-01T07:13:05.000Z | 2020-02-01T07:13:05.000Z | src/poetry/packages/__init__.py | sivanbecker/poetry | 72497bcb66b5a1cc20e3aa95973c523a22b05bfa | [
"MIT"
] | 1 | 2021-12-31T19:44:26.000Z | 2022-03-08T20:52:13.000Z | src/poetry/packages/__init__.py | sivanbecker/poetry | 72497bcb66b5a1cc20e3aa95973c523a22b05bfa | [
"MIT"
] | 2 | 2020-12-07T04:26:21.000Z | 2021-09-25T21:46:36.000Z | from poetry.packages.dependency_package import DependencyPackage
from poetry.packages.locker import Locker
from poetry.packages.package_collection import PackageCollection
| 43 | 64 | 0.895349 | 20 | 172 | 7.6 | 0.5 | 0.197368 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 172 | 3 | 65 | 57.333333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6ca857a76a13e82250e4e8bc16bfa7c8ad21c15 | 8,609 | py | Python | test/cnnl/op_test/test_nonzero.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | 20 | 2022-03-01T11:40:51.000Z | 2022-03-30T08:17:47.000Z | test/cnnl/op_test/test_nonzero.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | test/cnnl/op_test/test_nonzero.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function
import sys
import os
os.environ['ENABLE_CNNL_TRYCATCH'] = 'OFF' # pylint: disable=C0413
import unittest
import logging
import torch
import torch_mlu.core.mlu_model as ct
cur_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(cur_dir + "/../../")
from common_utils ... | 43.261307 | 89 | 0.611685 | 1,231 | 8,609 | 4.072299 | 0.095857 | 0.045482 | 0.072611 | 0.05386 | 0.88829 | 0.885298 | 0.867744 | 0.857969 | 0.819868 | 0.819868 | 0 | 0.022864 | 0.248112 | 8,609 | 198 | 90 | 43.479798 | 0.751584 | 0.099779 | 0 | 0.682119 | 0 | 0 | 0.012182 | 0 | 0 | 0 | 0 | 0 | 0.152318 | 1 | 0.066225 | false | 0 | 0.05298 | 0 | 0.125828 | 0.006623 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6ccd02d75e7dc0827023bc35483beb6e920570d | 74 | py | Python | utility/__init__.py | zzh237/la | f363ef5ff5a540d716b585d752d344def194d31b | [
"MIT"
] | null | null | null | utility/__init__.py | zzh237/la | f363ef5ff5a540d716b585d752d344def194d31b | [
"MIT"
] | null | null | null | utility/__init__.py | zzh237/la | f363ef5ff5a540d716b585d752d344def194d31b | [
"MIT"
] | null | null | null | from .tensorboard_uty import *
from .hook import *
from .contour import * | 24.666667 | 30 | 0.756757 | 10 | 74 | 5.5 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 31 | 24.666667 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6d5f72a2de59a136a1f941c59890e0102fec62b | 40,577 | py | Python | buidl/test/test_taproot.py | dspicher/buidl-python | 74f67592a0d69841da8699a628ccd7efdca22880 | [
"MIT"
] | null | null | null | buidl/test/test_taproot.py | dspicher/buidl-python | 74f67592a0d69841da8699a628ccd7efdca22880 | [
"MIT"
] | null | null | null | buidl/test/test_taproot.py | dspicher/buidl-python | 74f67592a0d69841da8699a628ccd7efdca22880 | [
"MIT"
] | null | null | null | from io import BytesIO
from unittest import TestCase
from buidl.ecc import S256Point, PrivateKey
from buidl.helper import (
big_endian_to_int,
encode_varstr,
)
from buidl.script import Script, ScriptPubKey
from buidl.taproot import (
ControlBlock,
TapLeaf,
TapBranch,
TapRoot,
)
from buidl.tx im... | 66.410802 | 2,313 | 0.638736 | 1,289 | 40,577 | 19.930954 | 0.224981 | 0.017516 | 0.008408 | 0.008563 | 0.079366 | 0.065159 | 0.05788 | 0.043478 | 0.042116 | 0.042116 | 0 | 0.423617 | 0.300835 | 40,577 | 610 | 2,314 | 66.519672 | 0.481953 | 0.000518 | 0 | 0.381667 | 0 | 0 | 0.538615 | 0.460744 | 0 | 1 | 0 | 0 | 0.051667 | 1 | 0.01 | false | 0 | 0.013333 | 0 | 0.028333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc0f27beae3a162fdfe65cc70aeade9f7c03f734 | 6,981 | py | Python | services/traction/tests/integration/endpoints/routes/test_innkeeper.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/tests/integration/endpoints/routes/test_innkeeper.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/tests/integration/endpoints/routes/test_innkeeper.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | import uuid
from typing import List
import pytest
from pydantic import parse_obj_as
from api.db.models.tenant import TenantRead
from api.db.models.tenant_issuer import TenantIssuerRead
from api.endpoints.models.innkeeper import CheckInRequest, CheckInResponse
from httpx import AsyncClient
from tests.test_utils imp... | 31.165179 | 87 | 0.678843 | 941 | 6,981 | 4.868225 | 0.112646 | 0.056974 | 0.079459 | 0.096049 | 0.810085 | 0.779088 | 0.751364 | 0.716874 | 0.716874 | 0.706614 | 0 | 0.016012 | 0.21272 | 6,981 | 223 | 88 | 31.304933 | 0.817504 | 0.094972 | 0 | 0.664336 | 0 | 0 | 0.046574 | 0.038468 | 0 | 0 | 0 | 0 | 0.20979 | 1 | 0 | false | 0 | 0.062937 | 0 | 0.111888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc1d4bdf7348105a048aab496b3263dc9bd3b463 | 38,077 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/53.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/53.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/53.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3622
passenger_arriving = (
(4, 8, 8, 4, 2, 0, 6, 8, 5, 8, 1, 0), # 0
(7, 11, 6, 4, 3, 0, 6, 3, 9, 5, 3, 0), # 1
(8, 6, 7, 4, 0, 0, 6, 13, 5, 4, 4, 0), # 2
(4, 8, 11, 2, 0, 0, 7, 10, 4, 4, 1, 0), # 3
(4, 12, 10, 0, 2, 0, 4, 14, 4, 9, 1, 0), # 4
(7, 10, 11, 4, 3, 0, 5, 3,... | 113.662687 | 214 | 0.730441 | 5,147 | 38,077 | 5.401593 | 0.232563 | 0.310769 | 0.246025 | 0.466154 | 0.326128 | 0.325588 | 0.325588 | 0.325588 | 0.325588 | 0.325588 | 0 | 0.82004 | 0.118549 | 38,077 | 334 | 215 | 114.002994 | 0.008313 | 0.031804 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc6b041fdd9da406f44f49d8202d91b38e6627ea | 3,760 | py | Python | pyunit_testmodule.py | 79laowang/pyunit_samples | 02de277aa37528ad9795163b2f66a4cad06b5f19 | [
"MIT"
] | 1 | 2019-11-04T16:25:22.000Z | 2019-11-04T16:25:22.000Z | pyunit_testmodule.py | 79laowang/pyunit_samples | 02de277aa37528ad9795163b2f66a4cad06b5f19 | [
"MIT"
] | null | null | null | pyunit_testmodule.py | 79laowang/pyunit_samples | 02de277aa37528ad9795163b2f66a4cad06b5f19 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
#-------------------------------------------------------------------------------
# File Name: pyunit_testmodule.py
# Purpose: Create test suite from a test module
#
# Author: Ke Wang
#
# Created: 2019-11-04
# Copyright: (c) Ke Wang 2019
# Licence: <you... | 34.814815 | 119 | 0.557181 | 422 | 3,760 | 4.895735 | 0.329384 | 0.067764 | 0.040658 | 0.032914 | 0.780252 | 0.780252 | 0.780252 | 0.780252 | 0.74637 | 0.74637 | 0 | 0.021245 | 0.273936 | 3,760 | 107 | 120 | 35.140187 | 0.735531 | 0.123936 | 0 | 0.769231 | 0 | 0.025641 | 0.225679 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.115385 | false | 0 | 0.115385 | 0 | 0.25641 | 0.102564 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc6d0c61ece4a0f3ce8895b09c424359276cef95 | 177 | py | Python | tests/db2/__init__.py | arjones6/elixir | b9c185dc03f087f9299a0f030e94eeafa1edd655 | [
"MIT"
] | null | null | null | tests/db2/__init__.py | arjones6/elixir | b9c185dc03f087f9299a0f030e94eeafa1edd655 | [
"MIT"
] | null | null | null | tests/db2/__init__.py | arjones6/elixir | b9c185dc03f087f9299a0f030e94eeafa1edd655 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import six
from . import a
| 22.125 | 39 | 0.864407 | 24 | 177 | 5.583333 | 0.458333 | 0.298507 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129944 | 177 | 7 | 40 | 25.285714 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fc6ddd9accf5c5f5bb0a0809be6cd0e8eda70154 | 65 | py | Python | Boolean/Boolean17.py | liyuanyuan11/Python | d94cc7ab39e56c6e24bfc741a30da77590d1d220 | [
"MIT"
] | null | null | null | Boolean/Boolean17.py | liyuanyuan11/Python | d94cc7ab39e56c6e24bfc741a30da77590d1d220 | [
"MIT"
] | null | null | null | Boolean/Boolean17.py | liyuanyuan11/Python | d94cc7ab39e56c6e24bfc741a30da77590d1d220 | [
"MIT"
] | null | null | null | print(True and True)
print(True and False)
print(False and False) | 21.666667 | 22 | 0.784615 | 12 | 65 | 4.25 | 0.333333 | 0.352941 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 3 | 22 | 21.666667 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5da2d5ae848c9b22a5e64aeb13c4fb6c2abc8f68 | 104 | py | Python | module_b/module_b/main.py | SwitchEV/local-actions-runner-poc | 5548696f104fcd2acff07cb9f572e9cf378d5146 | [
"MIT"
] | null | null | null | module_b/module_b/main.py | SwitchEV/local-actions-runner-poc | 5548696f104fcd2acff07cb9f572e9cf378d5146 | [
"MIT"
] | 1 | 2021-09-02T12:14:37.000Z | 2021-09-02T12:14:37.000Z | module_b/module_b/main.py | SwitchEV/local-actions-runner-poc | 5548696f104fcd2acff07cb9f572e9cf378d5146 | [
"MIT"
] | null | null | null | def get_the_question() -> str:
return "life universe and everything"
print("Hello from Module B")
| 17.333333 | 41 | 0.711538 | 15 | 104 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182692 | 104 | 5 | 42 | 20.8 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.451923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5dab196c3ff22516bb203bbf7341ec4d0b31b337 | 6,651 | py | Python | tests/test_cosine_greedy.py | efrain2010/matchms | 69cedeed5597966619a97c4e4211deaf8610d727 | [
"Apache-2.0"
] | null | null | null | tests/test_cosine_greedy.py | efrain2010/matchms | 69cedeed5597966619a97c4e4211deaf8610d727 | [
"Apache-2.0"
] | null | null | null | tests/test_cosine_greedy.py | efrain2010/matchms | 69cedeed5597966619a97c4e4211deaf8610d727 | [
"Apache-2.0"
] | null | null | null | import numpy
import pytest
from matchms import Spectrum
from matchms.similarity import CosineGreedy
def test_cosine_greedy_without_parameters():
"""Compare output cosine score with own calculation on simple dummy spectrums."""
spectrum_1 = Spectrum(mz=numpy.array([100, 200, 300, 500, 510], dtype="float"),
... | 55.890756 | 115 | 0.678545 | 922 | 6,651 | 4.725597 | 0.110629 | 0.045903 | 0.039018 | 0.045903 | 0.809731 | 0.809731 | 0.77714 | 0.756484 | 0.726876 | 0.726876 | 0 | 0.07448 | 0.190498 | 6,651 | 118 | 116 | 56.364407 | 0.73477 | 0.126898 | 0 | 0.536585 | 0 | 0 | 0.090199 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.060976 | false | 0 | 0.04878 | 0 | 0.109756 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5dab52ad8284b1c036c02a688b10a6cd1dd6614c | 35,272 | py | Python | tests/components/tasmota/test_device_trigger.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/tasmota/test_device_trigger.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/tasmota/test_device_trigger.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """The tests for MQTT device triggers."""
import copy
import json
from unittest.mock import patch
from hatasmota.switch import TasmotaSwitchTriggerConfig
import pytest
import openpeerpower.components.automation as automation
from openpeerpower.components.tasmota.const import DEFAULT_PREFIX, DOMAIN
from openpeerpower.... | 32.094631 | 88 | 0.582473 | 3,849 | 35,272 | 5.039751 | 0.052481 | 0.026807 | 0.042891 | 0.059388 | 0.888236 | 0.876791 | 0.869265 | 0.859419 | 0.842922 | 0.826632 | 0 | 0.022825 | 0.296978 | 35,272 | 1,098 | 89 | 32.123862 | 0.759447 | 0.05588 | 0 | 0.685012 | 0 | 0 | 0.195138 | 0.096129 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.005855 | false | 0 | 0.015222 | 0.001171 | 0.023419 | 0.001171 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5dabfadfce4e8370b34459145496a339c0663655 | 20 | py | Python | wheelcms_rss/models.py | wheelcms/wheelcms_rss | 39c05e7d6c573d0ec8d37d63e550e83e8a2c2f46 | [
"BSD-2-Clause"
] | null | null | null | wheelcms_rss/models.py | wheelcms/wheelcms_rss | 39c05e7d6c573d0ec8d37d63e550e83e8a2c2f46 | [
"BSD-2-Clause"
] | null | null | null | wheelcms_rss/models.py | wheelcms/wheelcms_rss | 39c05e7d6c573d0ec8d37d63e550e83e8a2c2f46 | [
"BSD-2-Clause"
] | null | null | null | from . import feeds
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5dc04acb7e935595b027528e256f3e3387436ea0 | 103 | py | Python | bindings/python/hgdb/__init__.py | mfkiwl/hgdb | 6279b2d671b09094b7e69c592fa8f2eca3f6bacd | [
"BSD-2-Clause"
] | null | null | null | bindings/python/hgdb/__init__.py | mfkiwl/hgdb | 6279b2d671b09094b7e69c592fa8f2eca3f6bacd | [
"BSD-2-Clause"
] | null | null | null | bindings/python/hgdb/__init__.py | mfkiwl/hgdb | 6279b2d671b09094b7e69c592fa8f2eca3f6bacd | [
"BSD-2-Clause"
] | null | null | null | try:
from .client import HGDBClient
except ImportError:
pass
from .db import DebugSymbolTable
| 14.714286 | 34 | 0.757282 | 12 | 103 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203884 | 103 | 6 | 35 | 17.166667 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5dc43c20392701b922e671853dd72163cb0870f0 | 164 | py | Python | builder/lib/codegen/column.py | mcptr/pjxxs | b95de3d13e05cd9a68e16015a39c29edf8e5bd59 | [
"MIT"
] | null | null | null | builder/lib/codegen/column.py | mcptr/pjxxs | b95de3d13e05cd9a68e16015a39c29edf8e5bd59 | [
"MIT"
] | null | null | null | builder/lib/codegen/column.py | mcptr/pjxxs | b95de3d13e05cd9a68e16015a39c29edf8e5bd59 | [
"MIT"
] | null | null | null | from .. schema.column import SchemaColumn
class CodegenColumn(SchemaColumn):
def __init__(self, *args, **kwargs):
SchemaColumn.__init__(self, *args, **kwargs)
| 23.428571 | 46 | 0.75 | 18 | 164 | 6.388889 | 0.666667 | 0.13913 | 0.208696 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 164 | 6 | 47 | 27.333333 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5dd5c75d55daf935250c5ad5a4eebe5e5b0ac940 | 25 | py | Python | parser.py | llamaking136/small-compiler | 5767b09eb217d61e57f70d1a4a9db14ed27ee3c6 | [
"MIT"
] | null | null | null | parser.py | llamaking136/small-compiler | 5767b09eb217d61e57f70d1a4a9db14ed27ee3c6 | [
"MIT"
] | null | null | null | parser.py | llamaking136/small-compiler | 5767b09eb217d61e57f70d1a4a9db14ed27ee3c6 | [
"MIT"
] | null | null | null | def parser(tokens): pass
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
539ad893456212d1e5c43288dcf9c14bc4344567 | 25,252 | py | Python | src/saltext/vmware/modules/vmc_networks.py | kdsalvy/salt-ext-modules-vmware-1 | 9fdc941692e4c526f575f33b2ce23c1470582934 | [
"Apache-2.0"
] | 10 | 2021-11-02T20:24:44.000Z | 2022-03-11T05:54:27.000Z | src/saltext/vmware/modules/vmc_networks.py | cmcmarrow/salt-ext-modules-vmware | c546a9f9ae121b7399dabae82f714117d0ab558d | [
"Apache-2.0"
] | 83 | 2021-10-01T15:13:02.000Z | 2022-03-31T16:22:40.000Z | src/saltext/vmware/modules/vmc_networks.py | cmcmarrow/salt-ext-modules-vmware | c546a9f9ae121b7399dabae82f714117d0ab558d | [
"Apache-2.0"
] | 15 | 2021-09-30T23:17:27.000Z | 2022-03-23T06:54:22.000Z | """
Salt execution module for VMC Networks
Provides methods to Create, Read, Update and Delete Networks/Segments.
"""
import logging
from saltext.vmware.utils import vmc_constants
from saltext.vmware.utils import vmc_request
from saltext.vmware.utils import vmc_templates
log = logging.getLogger(__name__)
__virtualna... | 32.168153 | 118 | 0.603754 | 3,072 | 25,252 | 4.799479 | 0.108073 | 0.020144 | 0.010852 | 0.020144 | 0.901044 | 0.900502 | 0.882257 | 0.87812 | 0.866997 | 0.848549 | 0 | 0.01645 | 0.325954 | 25,252 | 784 | 119 | 32.209184 | 0.849774 | 0.659829 | 0 | 0.671171 | 0 | 0 | 0.158489 | 0.083536 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031532 | false | 0 | 0.018018 | 0.004505 | 0.085586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
539bd46538e8a3b420c65e384dde32f4a0307345 | 77 | py | Python | tests/__init__.py | mzubov/trafaret | ee11710ade3a66f0c0f051446cc3d318dea90280 | [
"BSD-2-Clause"
] | 259 | 2015-01-26T09:32:18.000Z | 2021-12-08T01:18:08.000Z | tests/__init__.py | mzubov/trafaret | ee11710ade3a66f0c0f051446cc3d318dea90280 | [
"BSD-2-Clause"
] | 125 | 2015-01-26T13:52:26.000Z | 2022-03-31T17:27:09.000Z | tests/__init__.py | mzubov/trafaret | ee11710ade3a66f0c0f051446cc3d318dea90280 | [
"BSD-2-Clause"
] | 79 | 2015-06-19T10:34:29.000Z | 2022-03-28T11:42:21.000Z | from .test_base import *
#from .test_mongo import *
from .test_utils import * | 25.666667 | 26 | 0.766234 | 12 | 77 | 4.666667 | 0.5 | 0.428571 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 3 | 27 | 25.666667 | 0.848485 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
53b68b7269031282125ef255a87876319c0b3c48 | 38 | py | Python | tests/__init__.py | ExploreWilder/OldWebsite | b6aeaded649921f10e376fe9a5f5db326b35096e | [
"BSD-3-Clause"
] | 1 | 2020-09-21T12:02:10.000Z | 2020-09-21T12:02:10.000Z | tests/__init__.py | ExploreWilder/MainWebsite | b6aeaded649921f10e376fe9a5f5db326b35096e | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | ExploreWilder/MainWebsite | b6aeaded649921f10e376fe9a5f5db326b35096e | [
"BSD-3-Clause"
] | null | null | null | from . import * # Sphinx requirement
| 19 | 37 | 0.710526 | 4 | 38 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 1 | 38 | 38 | 0.9 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53ca8603bbf3acd895ec6be11f5b0373194b033b | 29 | py | Python | app/extensions/__init__.py | BlueJillYang/blog | 16caf25af310b22e5c54f690e0b8cde9aff48cef | [
"Apache-2.0"
] | null | null | null | app/extensions/__init__.py | BlueJillYang/blog | 16caf25af310b22e5c54f690e0b8cde9aff48cef | [
"Apache-2.0"
] | null | null | null | app/extensions/__init__.py | BlueJillYang/blog | 16caf25af310b22e5c54f690e0b8cde9aff48cef | [
"Apache-2.0"
] | null | null | null | from .logger import logger
| 7.25 | 26 | 0.758621 | 4 | 29 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 3 | 27 | 9.666667 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53dba0aee598fc71d63148781601f46c006649e8 | 59 | py | Python | notebooks/MyModule/SubModuleOne/smo.py | fuxin123z/fuxin123z.io | ae9c815e5d46ce44246e9fd6e1066e2d9c051365 | [
"MIT"
] | 4,908 | 2015-06-29T04:25:47.000Z | 2022-03-30T19:24:22.000Z | notebooks/MyModule/SubModuleOne/smo.py | huongpham211/python3-in-one-pic | 4477fa5b0a54ae4a624e83036c44d9955f415107 | [
"MIT"
] | 21 | 2015-09-24T17:09:37.000Z | 2020-10-23T13:02:46.000Z | notebooks/MyModule/SubModuleOne/smo.py | huongpham211/python3-in-one-pic | 4477fa5b0a54ae4a624e83036c44d9955f415107 | [
"MIT"
] | 1,096 | 2015-06-29T14:48:20.000Z | 2022-03-23T13:24:04.000Z | def run():
print("Running MyModule.SubModuleOne.smo!")
| 19.666667 | 47 | 0.694915 | 7 | 59 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 48 | 29.5 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.576271 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
53e381597d935bbf2a901916db4fb4e0d2a8c2f0 | 109 | py | Python | src/utils/utils.py | evidence-surveillance/unreported_link_identidication | 4a92ca931667cde9dda563391cec35cd45ace1b7 | [
"MIT"
] | null | null | null | src/utils/utils.py | evidence-surveillance/unreported_link_identidication | 4a92ca931667cde9dda563391cec35cd45ace1b7 | [
"MIT"
] | null | null | null | src/utils/utils.py | evidence-surveillance/unreported_link_identidication | 4a92ca931667cde9dda563391cec35cd45ace1b7 | [
"MIT"
] | 1 | 2021-09-06T00:22:11.000Z | 2021-09-06T00:22:11.000Z | import functools
import operator
def flatten_array(x):
return functools.reduce(operator.iconcat, x, []) | 18.166667 | 52 | 0.761468 | 14 | 109 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 6 | 52 | 18.166667 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
53edd97f89db3f3753c2340c394fdcd536c42584 | 164 | py | Python | Markua/dump.py | krtek4/Markua-py | 6e073668750961b77dbc356c7a5ca439f94ab38e | [
"WTFPL"
] | 4 | 2016-09-18T04:32:42.000Z | 2020-07-26T16:20:11.000Z | Markua/dump.py | krtek4/Markua-py | 6e073668750961b77dbc356c7a5ca439f94ab38e | [
"WTFPL"
] | null | null | null | Markua/dump.py | krtek4/Markua-py | 6e073668750961b77dbc356c7a5ca439f94ab38e | [
"WTFPL"
] | 1 | 2019-12-05T08:51:38.000Z | 2019-12-05T08:51:38.000Z | from CommonMark import dump
def dumpJSON(obj):
return dump.dumpJSON(obj)
def dumpAST(obj, ind=0, topnode=False):
return dump.dumpAST(obj, ind, topnode)
| 16.4 | 42 | 0.719512 | 24 | 164 | 4.916667 | 0.541667 | 0.186441 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.170732 | 164 | 9 | 43 | 18.222222 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
54f49794190239be059c237b28d0e755cb96fecd | 153 | py | Python | rubin_sim/maf/db/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/maf/db/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/maf/db/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .database import *
from .opsimDatabase import *
from .resultsDb import *
from .trackingDb import *
from .sdssDatabase import *
from .dbObj import *
| 21.857143 | 28 | 0.764706 | 18 | 153 | 6.5 | 0.444444 | 0.42735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 6 | 29 | 25.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.