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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21d1c69858e63fd0fa03a99fca3f0a286e9d9502 | 45 | py | Python | shenfun/laguerre/__init__.py | jaisw7/shenfun | 7482beb5b35580bc45f72704b69343cc6fc1d773 | [
"BSD-2-Clause"
] | 138 | 2017-06-17T13:30:27.000Z | 2022-03-20T02:33:47.000Z | shenfun/laguerre/__init__.py | jaisw7/shenfun | 7482beb5b35580bc45f72704b69343cc6fc1d773 | [
"BSD-2-Clause"
] | 73 | 2017-05-16T06:53:04.000Z | 2022-02-04T10:40:44.000Z | shenfun/laguerre/__init__.py | jaisw7/shenfun | 7482beb5b35580bc45f72704b69343cc6fc1d773 | [
"BSD-2-Clause"
] | 38 | 2018-01-31T14:37:01.000Z | 2022-03-31T15:07:27.000Z | from .bases import *
from .matrices import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 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 |
21dbaafa9584719c2eb09101ae445c14289a272e | 155 | py | Python | archive/p/python/baklava.py | asharma13524/sample-programs | 1e15059b92144991a2983112c0d8fe14111fd0a8 | [
"MIT"
] | 422 | 2018-08-14T11:57:47.000Z | 2022-03-07T23:54:34.000Z | archive/p/python/baklava.py | asharma13524/sample-programs | 1e15059b92144991a2983112c0d8fe14111fd0a8 | [
"MIT"
] | 1,498 | 2018-08-10T19:18:52.000Z | 2021-12-14T03:02:00.000Z | archive/p/python/baklava.py | asharma13524/sample-programs | 1e15059b92144991a2983112c0d8fe14111fd0a8 | [
"MIT"
] | 713 | 2018-08-12T21:37:49.000Z | 2022-03-02T22:57:21.000Z | for i in range(0, 10, 1):
print((" " * (10 - i)) + ("*" * (i * 2 + 1)))
for i in range(10, -1, -1):
print((" " * (10 - i)) + ("*" * (i * 2 + 1)))
| 25.833333 | 49 | 0.335484 | 26 | 155 | 2 | 0.346154 | 0.153846 | 0.230769 | 0.423077 | 0.461538 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0 | 0.150943 | 0.316129 | 155 | 5 | 50 | 31 | 0.339623 | 0 | 0 | 0.5 | 0 | 0 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
df5511bc676c3d380f605acfd03401177919aa4b | 1,306 | py | Python | plugins/helpers/__init__.py | rmmoreira/udacity-dend-capstone | 600bf61bc59e686a4d3b0b6f371681c084759663 | [
"MIT"
] | 1 | 2021-02-12T19:10:03.000Z | 2021-02-12T19:10:03.000Z | plugins/helpers/__init__.py | rmmoreira/udacity-dend-capstone | 600bf61bc59e686a4d3b0b6f371681c084759663 | [
"MIT"
] | 314 | 2020-05-27T02:59:59.000Z | 2021-08-03T02:43:42.000Z | plugins/helpers/__init__.py | rmmoreira/udacity-dend-capstone | 600bf61bc59e686a4d3b0b6f371681c084759663 | [
"MIT"
] | 3 | 2020-05-31T13:08:33.000Z | 2021-07-06T23:00:36.000Z | from helpers.sql_queries import (immigration_table,
temperature_table,
airport_table,
demographics_table,
dim_airport_table,
dim_demographic_table,
... | 36.277778 | 63 | 0.503828 | 101 | 1,306 | 5.861386 | 0.217822 | 0.148649 | 0.141892 | 0.108108 | 0.827703 | 0.719595 | 0.719595 | 0.719595 | 0.719595 | 0.719595 | 0 | 0 | 0.445636 | 1,306 | 35 | 64 | 37.314286 | 0.81768 | 0 | 0 | 0 | 0 | 0 | 0.225115 | 0.123277 | 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 |
df7541ae2a5203a47616b3833f3471ad2b030cc8 | 13,810 | py | Python | ultilities.py | xuan0802/state-load-placement | 0a5ff41006c266001c6938dff64e4251d4f77f9b | [
"MIT"
] | null | null | null | ultilities.py | xuan0802/state-load-placement | 0a5ff41006c266001c6938dff64e4251d4f77f9b | [
"MIT"
] | null | null | null | ultilities.py | xuan0802/state-load-placement | 0a5ff41006c266001c6938dff64e4251d4f77f9b | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import ujson
from contants import *
import numpy as np
from ast import literal_eval
# product function
def prod(x):
product = 1
for i in x:
product = product * i
return product
def draw_pareto_front_ue_num():
# make figures
plt.figure()
for n_ in ue_n... | 39.570201 | 120 | 0.581101 | 1,986 | 13,810 | 3.85851 | 0.108258 | 0.101788 | 0.126452 | 0.01044 | 0.80308 | 0.760799 | 0.742529 | 0.742529 | 0.742529 | 0.735613 | 0 | 0.09645 | 0.237219 | 13,810 | 349 | 121 | 39.570201 | 0.631004 | 0.008545 | 0 | 0.590909 | 0 | 0 | 0.132437 | 0.005701 | 0.020979 | 0 | 0 | 0 | 0 | 1 | 0.027972 | false | 0 | 0.017483 | 0 | 0.048951 | 0.073427 | 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 |
10c8928d6be910cf9d19c0702382215a71adadb8 | 154 | py | Python | codesignal/array/alternatingSums.py | peterlamar/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 140 | 2020-10-21T13:23:52.000Z | 2022-03-31T15:09:45.000Z | codesignal/array/alternatingSums.py | ajibolashodipo/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 1 | 2021-07-22T14:01:25.000Z | 2021-07-22T14:01:25.000Z | codesignal/array/alternatingSums.py | ajibolashodipo/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 33 | 2020-10-21T14:17:02.000Z | 2022-03-25T11:25:03.000Z | """
For a = [50, 60, 60, 45, 70], the output should be
alternatingSums(a) = [180, 105].
"""
def alternatingSums(a):
return [sum(a[::2]), sum(a[1::2])] | 25.666667 | 50 | 0.577922 | 26 | 154 | 3.423077 | 0.692308 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148438 | 0.168831 | 154 | 6 | 51 | 25.666667 | 0.546875 | 0.538961 | 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 |
10eb2a4c59cbe9874a3b2d220e5e301895207653 | 130 | py | Python | projects/code_combat/4_Backwoods_Forest/089-Defense_of_Plainswood/defense_of_plainswood.py | only-romano/junkyard | b60a25b2643f429cdafee438d20f9966178d6f36 | [
"MIT"
] | null | null | null | projects/code_combat/4_Backwoods_Forest/089-Defense_of_Plainswood/defense_of_plainswood.py | only-romano/junkyard | b60a25b2643f429cdafee438d20f9966178d6f36 | [
"MIT"
] | null | null | null | projects/code_combat/4_Backwoods_Forest/089-Defense_of_Plainswood/defense_of_plainswood.py | only-romano/junkyard | b60a25b2643f429cdafee438d20f9966178d6f36 | [
"MIT"
] | null | null | null | hero.cast("haste", hero)
hero.moveXY(40, 25)
hero.buildXY("fence", 40, 20)
hero.moveXY(40, 35)
hero.buildXY("fence", 40, 52)
| 21.666667 | 30 | 0.653846 | 22 | 130 | 3.863636 | 0.5 | 0.235294 | 0.282353 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 0.130769 | 130 | 5 | 31 | 26 | 0.610619 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
80470827baa26156485c11fd4f3192a646c04553 | 181 | py | Python | pyticker/view/pyticker_styles.py | priyanshus/pyticker | 4f84b6c907cc3e405f5b3b98eb5c6f11913d7aff | [
"MIT"
] | null | null | null | pyticker/view/pyticker_styles.py | priyanshus/pyticker | 4f84b6c907cc3e405f5b3b98eb5c6f11913d7aff | [
"MIT"
] | 8 | 2021-03-19T06:24:02.000Z | 2021-03-21T07:25:44.000Z | pyticker/view/pyticker_styles.py | priyanshus/pyticker | 4f84b6c907cc3e405f5b3b98eb5c6f11913d7aff | [
"MIT"
] | null | null | null | class PyTickerStyles(object):
GREY_BACKGROUND_BLACK_TEXT = "bg:#e5e7e9 #000000"
DARK_GREY_BACKGROUND_BLACK_TEXT = "bg:#b2babb #000000"
INPUT_FIELD = "class:input-field"
| 36.2 | 58 | 0.751381 | 23 | 181 | 5.565217 | 0.608696 | 0.21875 | 0.296875 | 0.359375 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.138122 | 181 | 4 | 59 | 45.25 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0.292818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8048484e8098083a8c6cdf13da247ddde1d14335 | 9,897 | py | Python | beaconsite/tests/test_views.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 14 | 2019-09-30T12:44:17.000Z | 2022-02-04T14:45:16.000Z | beaconsite/tests/test_views.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 244 | 2021-03-26T15:13:15.000Z | 2022-03-31T15:48:04.000Z | beaconsite/tests/test_views.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 8 | 2020-05-19T21:55:13.000Z | 2022-03-31T07:02:58.000Z | """Tests for UI views in the beaconsite app"""
from Crypto.PublicKey import RSA
from django.urls import reverse
from test_plus.test import TestCase
from beaconsite.models import Consortium, Site
from beaconsite.tests.factories import ConsortiumFactory, SiteFactory
from variants.tests.factories import ProjectFactory
... | 35.600719 | 99 | 0.601799 | 1,009 | 9,897 | 5.796829 | 0.121903 | 0.107711 | 0.098307 | 0.043597 | 0.800479 | 0.785775 | 0.764404 | 0.739956 | 0.739956 | 0.739956 | 0 | 0.010975 | 0.272709 | 9,897 | 277 | 100 | 35.729242 | 0.801612 | 0.01263 | 0 | 0.618834 | 0 | 0 | 0.122196 | 0.046297 | 0 | 0 | 0 | 0 | 0.215247 | 1 | 0.071749 | false | 0 | 0.026906 | 0 | 0.143498 | 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 |
33cf49c5d0c7460dee1333354694d5b741f29a21 | 12,413 | py | Python | tests/thriftclient.py | aiden0z/flask-thriftclient | 34f14f75f5dd9163ecff6d6279ed82d6f53540e0 | [
"BSD-2-Clause"
] | null | null | null | tests/thriftclient.py | aiden0z/flask-thriftclient | 34f14f75f5dd9163ecff6d6279ed82d6f53540e0 | [
"BSD-2-Clause"
] | null | null | null | tests/thriftclient.py | aiden0z/flask-thriftclient | 34f14f75f5dd9163ecff6d6279ed82d6f53540e0 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
from thrift.transport import *
from thrift.transport import TSSLSocket
from thrift.protocol import *
from thrift.protocol import TCompactProtocol
import unittest
from flask import Flask
from flask_thriftclient import ThriftClient
class StubClient:
def __init__(self, protocol):
p... | 41.794613 | 100 | 0.672199 | 1,318 | 12,413 | 6.188923 | 0.106222 | 0.075518 | 0.071718 | 0.137918 | 0.880716 | 0.872134 | 0.85681 | 0.795023 | 0.780924 | 0.762413 | 0 | 0.015301 | 0.210263 | 12,413 | 296 | 101 | 41.935811 | 0.816791 | 0.007895 | 0 | 0.659574 | 0 | 0.004255 | 0.164536 | 0.109338 | 0 | 0 | 0 | 0 | 0.280851 | 1 | 0.165957 | false | 0.004255 | 0.029787 | 0.021277 | 0.225532 | 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 |
1d3fd13de0cb755a844c63e46caedb1822b96d88 | 197 | py | Python | demo/admin.py | dzhuang/django-galleryfield | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 9 | 2021-08-23T15:49:59.000Z | 2022-03-30T10:18:39.000Z | demo/admin.py | dzhuang/django-galleryfield | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 1 | 2021-08-10T19:53:33.000Z | 2021-08-10T19:53:33.000Z | demo/admin.py | dzhuang/django-gallery-widget | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 2 | 2021-08-22T11:30:46.000Z | 2021-12-01T00:22:21.000Z | from django.contrib import admin
from demo.models import DemoGallery
from galleryfield.models import BuiltInGalleryImage
admin.site.register(DemoGallery)
admin.site.register(BuiltInGalleryImage)
| 24.625 | 51 | 0.862944 | 23 | 197 | 7.391304 | 0.521739 | 0.141176 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081218 | 197 | 7 | 52 | 28.142857 | 0.939227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
1d49c0e7821913091c0a013ec7c7937c7dafdae1 | 2,408 | py | Python | tests/test_views_functional.py | olivier-2018/SE_project | 3c555e4289ee5faf4a1a71220baa47045ade1f51 | [
"MIT"
] | null | null | null | tests/test_views_functional.py | olivier-2018/SE_project | 3c555e4289ee5faf4a1a71220baa47045ade1f51 | [
"MIT"
] | 19 | 2021-12-26T23:03:09.000Z | 2022-01-14T15:42:16.000Z | tests/test_views_functional.py | olivier-2018/SoftwareEngg_project | 3c555e4289ee5faf4a1a71220baa47045ade1f51 | [
"MIT"
] | null | null | null | import pytest
import os
from src_api import create_app
from src_api.views import load_audio_sequence, make_prediction, load_ML_model
import tensorflow as tf
flask_app = create_app()
@pytest.mark.xfail
@pytest.mark.skipif(tf.__version__ != "2.7.0", reason="Tensorflow v2.7.0 only available with pip (not conda)")
@pyt... | 32.106667 | 115 | 0.63995 | 303 | 2,408 | 4.768977 | 0.244224 | 0.066436 | 0.038062 | 0.029066 | 0.838754 | 0.838754 | 0.838754 | 0.838754 | 0.838754 | 0.782007 | 0 | 0.050301 | 0.240449 | 2,408 | 74 | 116 | 32.540541 | 0.739749 | 0.029485 | 0 | 0.666667 | 0 | 0 | 0.213356 | 0.03209 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.033333 | false | 0 | 0.083333 | 0 | 0.116667 | 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 |
1d9121294ba8b637d742180b1ec61545aa1af87b | 25 | py | Python | tool/bug_finder/__init__.py | MageWeiG/karonte | 2ffe649557adccdd3c2c77c0ae0a5f27a385fdcb | [
"BSD-2-Clause"
] | 1 | 2021-04-15T12:00:56.000Z | 2021-04-15T12:00:56.000Z | tool/bug_finder/__init__.py | cascades-sjtu/karonte | 2ffe649557adccdd3c2c77c0ae0a5f27a385fdcb | [
"BSD-2-Clause"
] | null | null | null | tool/bug_finder/__init__.py | cascades-sjtu/karonte | 2ffe649557adccdd3c2c77c0ae0a5f27a385fdcb | [
"BSD-2-Clause"
] | 1 | 2021-06-09T07:37:59.000Z | 2021-06-09T07:37:59.000Z | from bug_finder import *
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
d517967d295da64892131bf297fffbd3743641f9 | 45 | py | Python | code_sandbox/tasks_queue_app/src/__init__.py | gretkierewicz/gret_code_examples | 623dce8fd3319091e3bdea946af7093442abb1bf | [
"MIT"
] | null | null | null | code_sandbox/tasks_queue_app/src/__init__.py | gretkierewicz/gret_code_examples | 623dce8fd3319091e3bdea946af7093442abb1bf | [
"MIT"
] | null | null | null | code_sandbox/tasks_queue_app/src/__init__.py | gretkierewicz/gret_code_examples | 623dce8fd3319091e3bdea946af7093442abb1bf | [
"MIT"
] | null | null | null | from .entities import *
from .tasks import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 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 |
d54b1872645cf1b9e28eeef8b7e5bd1c49bd4048 | 30 | py | Python | py2app_tests/plugin_with_scripts/helper2.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 193 | 2020-01-15T09:34:20.000Z | 2022-03-18T19:14:16.000Z | py2app_tests/plugin_with_scripts/helper2.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 185 | 2020-01-15T08:38:27.000Z | 2022-03-27T17:29:29.000Z | py2app_tests/plugin_with_scripts/helper2.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 23 | 2020-01-24T14:47:18.000Z | 2022-02-22T17:19:47.000Z | import code
print("Helper 2")
| 10 | 17 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 30 | 2 | 18 | 15 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 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 |
d58f04d88181667fe907f3a4f41c52fb122cd0c4 | 134 | py | Python | mongodb/factory/results/statistics.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | mongodb/factory/results/statistics.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | mongodb/factory/results/statistics.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from dataclasses import dataclass
from ._base import ModelResult
@dataclass
class RecordAPIStatisticsResult(ModelResult):
pass
| 14.888889 | 45 | 0.820896 | 13 | 134 | 8.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 8 | 46 | 16.75 | 0.947826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 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 |
891e0c99f3529840e2b5ebe4cfe50190d05cb58b | 132 | py | Python | glooey/drawing/__init__.py | Rahuum/glooey | 932edca1c8fdd710f1941038e47ac8d25a31a1a8 | [
"MIT"
] | 86 | 2016-11-28T12:34:28.000Z | 2022-03-17T13:49:49.000Z | glooey/drawing/__init__.py | Rahuum/glooey | 932edca1c8fdd710f1941038e47ac8d25a31a1a8 | [
"MIT"
] | 57 | 2017-03-07T10:11:52.000Z | 2022-01-16T19:35:33.000Z | glooey/drawing/__init__.py | Rahuum/glooey | 932edca1c8fdd710f1941038e47ac8d25a31a1a8 | [
"MIT"
] | 9 | 2017-03-15T18:55:50.000Z | 2022-02-17T14:52:49.000Z | from .color import *
from .text import *
from .artists import *
from .stencil import *
from .alignment import *
from .grid import *
| 18.857143 | 24 | 0.727273 | 18 | 132 | 5.333333 | 0.444444 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 132 | 6 | 25 | 22 | 0.888889 | 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 |
893632a341aacd1f6d992275676642f8327138c9 | 4,282 | py | Python | src/abaqus/Section/GasketSection.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Section/GasketSection.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Section/GasketSection.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | import typing
from abaqusConstants import *
from .Section import Section
class GasketSection(Section):
"""The GasketSection object defines the properties of a gasket section.
The GasketSection object is derived from the Section object.
Notes
-----
This object can be accessed by:
.. code-bl... | 40.396226 | 101 | 0.638954 | 480 | 4,282 | 5.6875 | 0.25625 | 0.057143 | 0.058608 | 0.069597 | 0.727473 | 0.727473 | 0.727473 | 0.705495 | 0.705495 | 0.705495 | 0 | 0.008114 | 0.309201 | 4,282 | 105 | 102 | 40.780952 | 0.914131 | 0.689631 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.133333 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8943603c3622f6ade7ee60bd1a21351a25ed5b31 | 10,249 | py | Python | pfrl/q_functions/state_action_q_functions.py | g-votte/pfrl | 4c30c1d73f0941a2b649b62937eec346bb55a95e | [
"MIT"
] | 3 | 2020-12-18T03:45:45.000Z | 2021-10-15T03:38:05.000Z | pfrl/q_functions/state_action_q_functions.py | g-votte/pfrl | 4c30c1d73f0941a2b649b62937eec346bb55a95e | [
"MIT"
] | 10 | 2020-08-23T17:30:47.000Z | 2020-11-07T16:52:41.000Z | pfrl/q_functions/state_action_q_functions.py | g-votte/pfrl | 4c30c1d73f0941a2b649b62937eec346bb55a95e | [
"MIT"
] | 1 | 2020-11-08T17:42:04.000Z | 2020-11-08T17:42:04.000Z | from pfrl.nn.mlp import MLP
from pfrl.nn.mlp_bn import MLPBN
from pfrl.q_function import StateActionQFunction
import torch
import torch.nn as nn
import torch.nn.functional as F
from pfrl.initializers import init_lecun_normal
class SingleModelStateActionQFunction(nn.Module, StateActionQFunction):
"""Q-function wi... | 35.463668 | 85 | 0.642892 | 1,324 | 10,249 | 4.730363 | 0.112538 | 0.069296 | 0.079036 | 0.050295 | 0.853106 | 0.834265 | 0.826441 | 0.826441 | 0.815584 | 0.804088 | 0 | 0.006125 | 0.28315 | 10,249 | 288 | 86 | 35.586806 | 0.846332 | 0.389111 | 0 | 0.694118 | 0 | 0 | 0.00101 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 1 | 0.070588 | false | 0 | 0.041176 | 0 | 0.182353 | 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 |
89781308092b8deb6241b78c4b6aa97eef23ff25 | 4,521 | py | Python | tests/integration_tests/test_undo_redo.py | drahoja9/BI-OOP-CAD | afec7d44b1c5502a6bf94f78759c46337f750ea3 | [
"MIT"
] | null | null | null | tests/integration_tests/test_undo_redo.py | drahoja9/BI-OOP-CAD | afec7d44b1c5502a6bf94f78759c46337f750ea3 | [
"MIT"
] | null | null | null | tests/integration_tests/test_undo_redo.py | drahoja9/BI-OOP-CAD | afec7d44b1c5502a6bf94f78759c46337f750ea3 | [
"MIT"
] | null | null | null | import io
from typing import Dict
from app.controller import Controller
from app.shapes import Shape
def test_undo_redo(controller: Controller, shape_commands, stream: io.StringIO, shapes: Dict[str, Shape]):
for command in shape_commands:
controller.execute_command(command)
assert controller._command... | 40.366071 | 111 | 0.594116 | 574 | 4,521 | 4.54878 | 0.090592 | 0.152815 | 0.134048 | 0.134814 | 0.878591 | 0.865186 | 0.848717 | 0.776714 | 0.712371 | 0.712371 | 0 | 0.005177 | 0.188233 | 4,521 | 111 | 112 | 40.72973 | 0.706267 | 0 | 0 | 0.657143 | 0 | 0.085714 | 0.400354 | 0.363194 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.009524 | false | 0 | 0.038095 | 0 | 0.047619 | 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 |
897ef9a689d50c202a1c3cf0b195e3d66aa3c455 | 213 | py | Python | classifier/decision_tree/__init__.py | ecohealthalliance/eha_grit | cb95b759222ca7a416dd7d439571e7b610dd5e23 | [
"Apache-2.0"
] | null | null | null | classifier/decision_tree/__init__.py | ecohealthalliance/eha_grit | cb95b759222ca7a416dd7d439571e7b610dd5e23 | [
"Apache-2.0"
] | null | null | null | classifier/decision_tree/__init__.py | ecohealthalliance/eha_grit | cb95b759222ca7a416dd7d439571e7b610dd5e23 | [
"Apache-2.0"
] | null | null | null | from classifier import sklearn_classifier
from sklearn.tree import DecisionTreeClassifier
def classify(train, test):
tree = DecisionTreeClassifier()
return sklearn_classifier.classify(train, test, tree)
| 26.625 | 57 | 0.807512 | 23 | 213 | 7.391304 | 0.478261 | 0.2 | 0.2 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131455 | 213 | 7 | 58 | 30.428571 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89b34e054bb6f75590d6b29e2a97de1ce1095c83 | 3,720 | py | Python | tracking_wo_bnw/src/tracktor/datasets/mot_wrapper.py | OpenSuze/mot_neural_solver | 44a5c8270b238535fc0ca83cb5758d43757e2637 | [
"MIT"
] | null | null | null | tracking_wo_bnw/src/tracktor/datasets/mot_wrapper.py | OpenSuze/mot_neural_solver | 44a5c8270b238535fc0ca83cb5758d43757e2637 | [
"MIT"
] | null | null | null | tracking_wo_bnw/src/tracktor/datasets/mot_wrapper.py | OpenSuze/mot_neural_solver | 44a5c8270b238535fc0ca83cb5758d43757e2637 | [
"MIT"
] | null | null | null | import torch
from torch.utils.data import Dataset
from .mot_sequence import MOT17Sequence, MOT20Sequence, MOTSynthSequence
class MOTSynthWrapper(Dataset):
"""A Wrapper for the MOT_Sequence class to return multiple sequences."""
def __init__(self, split, dets, dataloader):
"""Initliazes all subset of the dataset.... | 31.794872 | 104 | 0.700538 | 484 | 3,720 | 5.190083 | 0.17562 | 0.057325 | 0.078822 | 0.038217 | 0.806131 | 0.806131 | 0.806131 | 0.789013 | 0.730892 | 0.625 | 0 | 0.055805 | 0.161828 | 3,720 | 116 | 105 | 32.068966 | 0.74984 | 0.174462 | 0 | 0.618421 | 0 | 0 | 0.138068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.039474 | 0.078947 | 0.276316 | 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 |
982426e26649c0aaa7a195196291c360553a7340 | 37 | py | Python | nataliestar/__init__.py | Orkestrate/Orkestrate-SC2AI | 2d81ce204ff4b333389dbad52f5f36ca6cb7ac44 | [
"MIT"
] | null | null | null | nataliestar/__init__.py | Orkestrate/Orkestrate-SC2AI | 2d81ce204ff4b333389dbad52f5f36ca6cb7ac44 | [
"MIT"
] | null | null | null | nataliestar/__init__.py | Orkestrate/Orkestrate-SC2AI | 2d81ce204ff4b333389dbad52f5f36ca6cb7ac44 | [
"MIT"
] | null | null | null | from nataliestar import agent_helper
| 18.5 | 36 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
7f8728b913de67f5ae89d59233503d41a5805ca1 | 3,415 | py | Python | MLlib/loss_func.py | Player0109/ML-DL-implementation | 338a89229da541e4285a3ad22508bfef5effc5e5 | [
"BSD-3-Clause"
] | null | null | null | MLlib/loss_func.py | Player0109/ML-DL-implementation | 338a89229da541e4285a3ad22508bfef5effc5e5 | [
"BSD-3-Clause"
] | null | null | null | MLlib/loss_func.py | Player0109/ML-DL-implementation | 338a89229da541e4285a3ad22508bfef5effc5e5 | [
"BSD-3-Clause"
] | 2 | 2020-10-02T07:13:20.000Z | 2021-04-13T14:04:35.000Z | import numpy as np
from MLlib.activations import sigmoid
class MeanSquaredError():
"""
Calculate Mean Squared Error.
"""
@staticmethod
def loss(X, Y, W):
"""
Calculate loss by mean square method.
PARAMETERS
==========
X:ndarray(dtype=float,ndim=1)
... | 20.207101 | 63 | 0.475549 | 373 | 3,415 | 4.351206 | 0.160858 | 0.133087 | 0.18854 | 0.044362 | 0.790511 | 0.786815 | 0.760937 | 0.760937 | 0.760937 | 0.696858 | 0 | 0.009139 | 0.391215 | 3,415 | 168 | 64 | 20.327381 | 0.771525 | 0.428111 | 0 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.051282 | 0 | 0.435897 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
7f8bfbb21b7c36d33d3655bac044e98ab70c8823 | 100 | py | Python | src/dataset/__init__.py | morgen-stern/squeezeDet | e7758bf61f9814a23701746f27728044f250a8a0 | [
"BSD-2-Clause"
] | 109 | 2019-04-29T03:30:42.000Z | 2022-03-31T03:06:26.000Z | src/dataset/__init__.py | morgen-stern/squeezeDet | e7758bf61f9814a23701746f27728044f250a8a0 | [
"BSD-2-Clause"
] | 25 | 2019-03-25T00:27:39.000Z | 2022-03-27T20:29:23.000Z | src/dataset/__init__.py | morgen-stern/squeezeDet | e7758bf61f9814a23701746f27728044f250a8a0 | [
"BSD-2-Clause"
] | 35 | 2019-02-12T20:50:32.000Z | 2022-01-05T11:25:06.000Z | from __future__ import absolute_import
from .kitti import kitti
from .pascal_voc import pascal_voc
| 20 | 38 | 0.85 | 15 | 100 | 5.2 | 0.466667 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 4 | 39 | 25 | 0.896552 | 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 |
f6cef7840d070c274e14d606818da3b3a46a02df | 39 | py | Python | hello_world.py | Michikouwu/primerrepo3c | 22f8fcc5c4927657e7fbfca52e06af3d9680eeaf | [
"MIT"
] | null | null | null | hello_world.py | Michikouwu/primerrepo3c | 22f8fcc5c4927657e7fbfca52e06af3d9680eeaf | [
"MIT"
] | null | null | null | hello_world.py | Michikouwu/primerrepo3c | 22f8fcc5c4927657e7fbfca52e06af3d9680eeaf | [
"MIT"
] | null | null | null | print('Hola mundo, soy del tercero C')
| 19.5 | 38 | 0.717949 | 7 | 39 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 1 | 39 | 39 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f6d8c8a99244db8a20ea3506a33e3aae74b74812 | 81 | py | Python | smart-contracts/wake_up_neo.py | deanpress/neo-local | d7a1217402f06c597862735de103f53c2840cf09 | [
"MIT"
] | 1 | 2018-05-19T18:12:07.000Z | 2018-05-19T18:12:07.000Z | smart-contracts/wake_up_neo.py | deanpress/neo-local | d7a1217402f06c597862735de103f53c2840cf09 | [
"MIT"
] | null | null | null | smart-contracts/wake_up_neo.py | deanpress/neo-local | d7a1217402f06c597862735de103f53c2840cf09 | [
"MIT"
] | null | null | null | from boa.blockchain.vm.Neo.Runtime import Log
def Main():
Log("Wake up, NEO!") | 20.25 | 45 | 0.703704 | 14 | 81 | 4.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 4 | 46 | 20.25 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
63e42cf5d754746a43128ce4d9be23160a9a0cc4 | 4,107 | py | Python | app/migrations/0001_initial.py | vsanasc/Demo-Social-Media-API | 5c39746a5f270864c7d9edb05f435857d87fcb3a | [
"MIT"
] | null | null | null | app/migrations/0001_initial.py | vsanasc/Demo-Social-Media-API | 5c39746a5f270864c7d9edb05f435857d87fcb3a | [
"MIT"
] | null | null | null | app/migrations/0001_initial.py | vsanasc/Demo-Social-Media-API | 5c39746a5f270864c7d9edb05f435857d87fcb3a | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-10-10 20:32
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 48.317647 | 159 | 0.572924 | 402 | 4,107 | 5.701493 | 0.228856 | 0.031414 | 0.048866 | 0.076789 | 0.747382 | 0.737347 | 0.737347 | 0.737347 | 0.737347 | 0.737347 | 0 | 0.011729 | 0.273436 | 4,107 | 84 | 160 | 48.892857 | 0.756367 | 0.010957 | 0 | 0.662338 | 1 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
120f9da585eb6f79a6d1db4f86387d48d2ad34cb | 152 | py | Python | forum/attachments/admin.py | successIA/Forum | 08de91a033da2c3779acbf95dfe0210eb1276a26 | [
"MIT"
] | null | null | null | forum/attachments/admin.py | successIA/Forum | 08de91a033da2c3779acbf95dfe0210eb1276a26 | [
"MIT"
] | 6 | 2020-08-13T18:54:33.000Z | 2021-06-10T20:20:16.000Z | forum/attachments/admin.py | successIA/ClassicForum | 08de91a033da2c3779acbf95dfe0210eb1276a26 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib import admin
from django.db import models
from .models import Attachment
admin.site.register(Attachment)
| 19 | 32 | 0.828947 | 22 | 152 | 5.727273 | 0.5 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 7 | 33 | 21.714286 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
124ddc6702f3ad4ff884472481cbc2927ff3ae55 | 141 | py | Python | aula1406/pessoa.py | fillipesouza/aulasdelogicaprogramacao | 409a9b82433eea9bcef2203c7c48ac0ab698f5db | [
"MIT"
] | 1 | 2021-06-30T11:53:21.000Z | 2021-06-30T11:53:21.000Z | aula1406/pessoa.py | fillipesouza/aulasdelogicaprogramacao | 409a9b82433eea9bcef2203c7c48ac0ab698f5db | [
"MIT"
] | null | null | null | aula1406/pessoa.py | fillipesouza/aulasdelogicaprogramacao | 409a9b82433eea9bcef2203c7c48ac0ab698f5db | [
"MIT"
] | 25 | 2021-04-17T00:36:10.000Z | 2021-06-01T17:28:16.000Z | class Pessoa:
def __init__(self, idade: int):
self._idade = idade
def __str__(self):
return f'idade {self._idade}'
| 20.142857 | 38 | 0.602837 | 18 | 141 | 4.166667 | 0.555556 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283688 | 141 | 6 | 39 | 23.5 | 0.742574 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
d6085927ffc2c75fd4069228b9adc8caee5a3b39 | 263 | py | Python | soda/core/soda/execution/derived_formula.py | duyet/soda-core | 92a52e0d7c1e88624d0637123cfcb2610af6d112 | [
"Apache-2.0"
] | null | null | null | soda/core/soda/execution/derived_formula.py | duyet/soda-core | 92a52e0d7c1e88624d0637123cfcb2610af6d112 | [
"Apache-2.0"
] | null | null | null | soda/core/soda/execution/derived_formula.py | duyet/soda-core | 92a52e0d7c1e88624d0637123cfcb2610af6d112 | [
"Apache-2.0"
] | null | null | null | from typing import Callable, Dict
class DerivedFormula:
def __init__(self, function: Callable, metric_dependencies: Dict[str, "Metric"]):
self.function: Callable = function
self.metric_dependencies: Dict[str, "Metric"] = metric_dependencies
| 32.875 | 85 | 0.73384 | 29 | 263 | 6.413793 | 0.482759 | 0.290323 | 0.215054 | 0.268817 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171103 | 263 | 7 | 86 | 37.571429 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0.045627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d6180545867885bc64b5bfe188290c16301df8b8 | 313 | py | Python | orange3/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | orange3/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | orange3/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import Orange.classification._simple_tree
import Orange.classification._tree_scorers
import Orange.data._contingency
import Orange.data._io
import Orange.data._valuecount
import Orange.data._variable
import Orange.preprocess._discretize
import Orange.preprocess._relieff
import Orange.widgets.utils._grid_density
| 31.3 | 42 | 0.881789 | 40 | 313 | 6.6 | 0.45 | 0.409091 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057508 | 313 | 9 | 43 | 34.777778 | 0.894915 | 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 |
d61f3a564be3dc69c28d17fe1c2f313fcfaffb89 | 45 | py | Python | python/main.py | vwallajabad/VariableX_discord.bot | 280ffeaea305f09af35d60b06e06c2f82dd80bcd | [
"MIT"
] | null | null | null | python/main.py | vwallajabad/VariableX_discord.bot | 280ffeaea305f09af35d60b06e06c2f82dd80bcd | [
"MIT"
] | null | null | null | python/main.py | vwallajabad/VariableX_discord.bot | 280ffeaea305f09af35d60b06e06c2f82dd80bcd | [
"MIT"
] | null | null | null | from bot import discord_code
discord_code()
| 11.25 | 28 | 0.822222 | 7 | 45 | 5 | 0.714286 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 29 | 15 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 0 | 0 | 6 |
d624dee20476ec576ec34a67545ccd5ebb1ddd4e | 35 | py | Python | EvoCluster/__init__.py | soumitri2001/EvoCluster | 2f8e3f21c7045478394e7e02a22835f7c184c0c7 | [
"Apache-2.0"
] | 12 | 2019-12-21T16:29:15.000Z | 2022-01-03T01:24:14.000Z | EvoCluster/__init__.py | soumitri2001/EvoCluster | 2f8e3f21c7045478394e7e02a22835f7c184c0c7 | [
"Apache-2.0"
] | 3 | 2020-06-07T07:52:40.000Z | 2021-10-08T16:13:49.000Z | EvoCluster/__init__.py | RaneemQaddoura/EvoCluster | 001dfb4c1f00db84ad1c2f2228eed6112d7e65b1 | [
"Apache-2.0"
] | 14 | 2019-12-28T19:55:48.000Z | 2021-12-31T14:46:03.000Z | from ._evocluster import EvoCluster | 35 | 35 | 0.885714 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 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 |
c393c3937c55da45a48e1e80ff79cc4b205719cf | 23 | py | Python | accounts/signals/__init__.py | tavoxr/django-crm | d6ce34b8e8e93c3ae9853df34641868d4c891125 | [
"MIT"
] | null | null | null | accounts/signals/__init__.py | tavoxr/django-crm | d6ce34b8e8e93c3ae9853df34641868d4c891125 | [
"MIT"
] | null | null | null | accounts/signals/__init__.py | tavoxr/django-crm | d6ce34b8e8e93c3ae9853df34641868d4c891125 | [
"MIT"
] | null | null | null | from .register import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 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 |
c39c5e4046f28fcc4e91ec74339bc60025fd922f | 151 | py | Python | Bronze/Bronze_V/24860.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/24860.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/24860.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Vk, Jk = map(int, input().split())
Vl, Jl = map(int, input().split())
Vh, Dh, Jh = map(int, input().split())
print((Vk * Jk + Vl * Jl) * Vh * Dh * Jh) | 30.2 | 41 | 0.536424 | 27 | 151 | 3 | 0.444444 | 0.222222 | 0.407407 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192053 | 151 | 5 | 41 | 30.2 | 0.663934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
c3c34d9e8a13a9e577ba42cddde505295537bb04 | 39 | py | Python | overload/__init__.py | Corwind/python-overload | 87d8a13273316a1bd02e0be7ff884ab77dc71dd2 | [
"Beerware"
] | 1 | 2015-12-22T15:40:23.000Z | 2015-12-22T15:40:23.000Z | overload/__init__.py | Corwind/python-overload | 87d8a13273316a1bd02e0be7ff884ab77dc71dd2 | [
"Beerware"
] | null | null | null | overload/__init__.py | Corwind/python-overload | 87d8a13273316a1bd02e0be7ff884ab77dc71dd2 | [
"Beerware"
] | null | null | null | from overload.overload import overload
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
7f0f15d90612f19b4953ba9fc5bc5676e8d6ff0c | 10,610 | py | Python | amiet_tools/functions/flat_plate_response.py | Toktom/amiet_tools | e4104db9a0c3784159378f680ebb89caa5ada053 | [
"BSD-3-Clause"
] | null | null | null | amiet_tools/functions/flat_plate_response.py | Toktom/amiet_tools | e4104db9a0c3784159378f680ebb89caa5ada053 | [
"BSD-3-Clause"
] | null | null | null | amiet_tools/functions/flat_plate_response.py | Toktom/amiet_tools | e4104db9a0c3784159378f680ebb89caa5ada053 | [
"BSD-3-Clause"
] | null | null | null | """Author: Fabio Casagrande Hirono"""
import numpy as np
from .fresnel import fr_int, fr_int_cc
import scipy.special as ss
def delta_p(rho0, b, w0, Kx, ky, xy, Mach):
"""
Calculates the pressure jump response 'delta_p' for a single turbulent gust.
Parameters
----------
rho0 : float
Densit... | 26.792929 | 86 | 0.591235 | 1,581 | 10,610 | 3.87413 | 0.120177 | 0.010776 | 0.052571 | 0.017633 | 0.804408 | 0.77649 | 0.749388 | 0.739102 | 0.733878 | 0.715265 | 0 | 0.026565 | 0.283318 | 10,610 | 395 | 87 | 26.860759 | 0.778932 | 0.534873 | 0 | 0.329897 | 0 | 0 | 0.005007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072165 | false | 0 | 0.030928 | 0 | 0.216495 | 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 |
613c6cff5b0fac686b1c4e8b70b149f5f25a2861 | 199 | py | Python | tomo_encoders/tasks/__init__.py | arshadzahangirchowdhury/TomoEncoders | 9c2b15fd515d864079f198546821faee5d78df17 | [
"BSD-3-Clause"
] | null | null | null | tomo_encoders/tasks/__init__.py | arshadzahangirchowdhury/TomoEncoders | 9c2b15fd515d864079f198546821faee5d78df17 | [
"BSD-3-Clause"
] | null | null | null | tomo_encoders/tasks/__init__.py | arshadzahangirchowdhury/TomoEncoders | 9c2b15fd515d864079f198546821faee5d78df17 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
"""
from tomo_encoders.tasks import *
from tomo_encoders.tasks.void_metrology import VoidMetrology
from tomo_encoders.tasks import void_mapper
| 15.307692 | 60 | 0.743719 | 27 | 199 | 5.296296 | 0.592593 | 0.167832 | 0.335664 | 0.440559 | 0.377622 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0.130653 | 199 | 12 | 61 | 16.583333 | 0.815029 | 0.21608 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
613f826bfdedb2b95034a8f4027632b2d39db56d | 434 | py | Python | hknweb/views/indrel.py | Boomaa23/hknweb | 2c2ce38b5f1c0c6e04ba46282141557357bd5326 | [
"MIT"
] | 20 | 2018-01-07T02:15:43.000Z | 2021-09-15T04:25:50.000Z | hknweb/views/indrel.py | Boomaa23/hknweb | 2c2ce38b5f1c0c6e04ba46282141557357bd5326 | [
"MIT"
] | 292 | 2018-02-01T18:31:18.000Z | 2022-03-30T22:15:08.000Z | hknweb/views/indrel.py | Boomaa23/hknweb | 2c2ce38b5f1c0c6e04ba46282141557357bd5326 | [
"MIT"
] | 85 | 2017-11-13T06:33:13.000Z | 2022-03-30T20:32:55.000Z | from django.shortcuts import render
def index(request):
return render(request, "indrel/index.html")
def resume_book(request):
return render(request, "indrel/resume_book.html")
def infosessions(request):
return render(request, "indrel/infosessions.html")
def career_fair(request):
return render(re... | 19.727273 | 54 | 0.746544 | 56 | 434 | 5.678571 | 0.321429 | 0.204403 | 0.298742 | 0.408805 | 0.503145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135945 | 434 | 21 | 55 | 20.666667 | 0.848 | 0 | 0 | 0 | 0 | 0 | 0.251152 | 0.211982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
61820a8103b4521fcbc8ab56387714b7d7e7c231 | 287 | py | Python | test/test_utils.py | droope/netlib | a3107474f9f336f28dc195f1406a4e035aa51c84 | [
"MIT"
] | null | null | null | test/test_utils.py | droope/netlib | a3107474f9f336f28dc195f1406a4e035aa51c84 | [
"MIT"
] | null | null | null | test/test_utils.py | droope/netlib | a3107474f9f336f28dc195f1406a4e035aa51c84 | [
"MIT"
] | null | null | null | from netlib import utils
def test_hexdump():
assert utils.hexdump("one\0"*10)
def test_cleanBin():
assert utils.cleanBin("one") == "one"
assert utils.cleanBin("\00ne") == ".ne"
assert utils.cleanBin("\nne") == "\nne"
assert utils.cleanBin("\nne", True) == ".ne"
| 20.5 | 48 | 0.623693 | 37 | 287 | 4.783784 | 0.432432 | 0.310734 | 0.429379 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.181185 | 287 | 13 | 49 | 22.076923 | 0.731915 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 0 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f66e7dea2ca1fcc00ca4a17791b761b8b516fc06 | 9,081 | py | Python | FEM/EulerBernoulliBeam.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | 10 | 2021-03-21T18:38:40.000Z | 2022-02-22T01:32:06.000Z | FEM/EulerBernoulliBeam.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | null | null | null | FEM/EulerBernoulliBeam.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | 1 | 2022-02-08T04:40:59.000Z | 2022-02-08T04:40:59.000Z | """Euler Bernoulli Beam implementation [WIP]
"""
from .Solvers import NoLineal
from .Elements.E1D.EulerBernoulliElement import EulerBernoulliElement
from .Core import Core, Geometry
from tqdm import tqdm
import numpy as np
import matplotlib.pyplot as plt
import logging
class EulerBernoulliBeam(Core):
"""Creates... | 37.524793 | 115 | 0.466358 | 1,266 | 9,081 | 3.272512 | 0.14376 | 0.021965 | 0.005793 | 0.027034 | 0.8028 | 0.758146 | 0.746078 | 0.73232 | 0.727009 | 0.719286 | 0 | 0.043966 | 0.381346 | 9,081 | 241 | 116 | 37.680498 | 0.693485 | 0.185332 | 0 | 0.59887 | 0 | 0 | 0.040432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.039548 | 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 |
9ca02f28fab1aafa754bf16cfe23932280756aab | 131 | py | Python | backend/site/MWS_Backend/apiserver/models/__init__.py | singapore19/team-3 | f021dc98f809faa62932be09c0ed00bec2aa5af3 | [
"Net-SNMP",
"Xnet",
"RSA-MD"
] | null | null | null | backend/site/MWS_Backend/apiserver/models/__init__.py | singapore19/team-3 | f021dc98f809faa62932be09c0ed00bec2aa5af3 | [
"Net-SNMP",
"Xnet",
"RSA-MD"
] | null | null | null | backend/site/MWS_Backend/apiserver/models/__init__.py | singapore19/team-3 | f021dc98f809faa62932be09c0ed00bec2aa5af3 | [
"Net-SNMP",
"Xnet",
"RSA-MD"
] | null | null | null | from .job import *
from .leave import *
from .trip import *
from .tripjob import *
# from .driver import *
# from .staff import *
| 16.375 | 23 | 0.687023 | 18 | 131 | 5 | 0.444444 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206107 | 131 | 7 | 24 | 18.714286 | 0.865385 | 0.320611 | 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 |
9cf03cad5066a7818f34cc7c2acaf0bc3c4efc29 | 71 | py | Python | autox/autox_ts/models/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/autox_ts/models/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/autox_ts/models/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | from .ts_lgb_model import ts_lgb_model
from .cnn_model import cnn_model | 35.5 | 38 | 0.873239 | 14 | 71 | 4 | 0.428571 | 0.178571 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 39 | 35.5 | 0.875 | 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 |
9cf1cae3e6c00047801eefca96572219ad14c597 | 151 | py | Python | movement_assistant/bots/telebot/deletecall.py | davidwickerhf/movement-assistant | 570380adf440faa36993ab8f52e386584a90fec8 | [
"MIT"
] | 3 | 2020-06-11T13:06:21.000Z | 2020-06-11T21:35:41.000Z | movement_assistant/bots/telebot/deletecall.py | davidwickerhf/movement-assistant | 570380adf440faa36993ab8f52e386584a90fec8 | [
"MIT"
] | 25 | 2020-04-29T16:44:05.000Z | 2020-06-11T08:18:47.000Z | movement_assistant/bots/telebot/deletecall.py | davidwickerhf/fff-transparency-wg | 570380adf440faa36993ab8f52e386584a90fec8 | [
"MIT"
] | 1 | 2020-12-23T09:33:05.000Z | 2020-12-23T09:33:05.000Z | from movement_assistant.bots.telebot import *
def delete_call(update, context):
botupdate = interface.authenticate(update, context, 0, True)
| 25.166667 | 64 | 0.754967 | 18 | 151 | 6.222222 | 0.888889 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.152318 | 151 | 5 | 65 | 30.2 | 0.867188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
146501d0f9514561351c68fc963a2fdaf36f177b | 8,685 | py | Python | tests/queryset/test_queryset_aggregation.py | shellcodesniper/mongoengine | d76cb345be98045cde0fa078569cc8021c0d0162 | [
"MIT"
] | 3 | 2019-06-18T07:54:38.000Z | 2022-01-22T23:27:41.000Z | tests/queryset/test_queryset_aggregation.py | shellcodesniper/mongoengine | d76cb345be98045cde0fa078569cc8021c0d0162 | [
"MIT"
] | 1 | 2022-01-22T23:27:23.000Z | 2022-01-22T23:27:23.000Z | tests/queryset/test_queryset_aggregation.py | shellcodesniper/mongoengine | d76cb345be98045cde0fa078569cc8021c0d0162 | [
"MIT"
] | null | null | null | import unittest
import warnings
from pymongo.read_preferences import ReadPreference
from mongoengine import *
from tests.utils import MongoDBTestCase
class TestQuerysetAggregate(MongoDBTestCase):
def test_read_preference_aggregation_framework(self):
class Bar(Document):
txt = StringField()
... | 34.192913 | 87 | 0.563846 | 956 | 8,685 | 4.998954 | 0.115063 | 0.056497 | 0.067797 | 0.084746 | 0.815024 | 0.767315 | 0.747437 | 0.717514 | 0.704959 | 0.676083 | 0 | 0.025197 | 0.268854 | 8,685 | 253 | 88 | 34.328063 | 0.727402 | 0.033621 | 0 | 0.627778 | 0 | 0 | 0.15037 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.055556 | false | 0 | 0.027778 | 0 | 0.144444 | 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 |
1adf3c39deafb89f07781fdc98dc7da7d60bebef | 223,391 | py | Python | Tutorials/Tutorial 02 Uncertainty Estimation/toolbox_AEM.py | MaxRamgraber/Simple-AEM-Toolbox | 27751103f5e504dd675ba6225f2aee9f85d7c85d | [
"MIT"
] | 3 | 2021-06-16T12:27:22.000Z | 2022-01-04T11:21:35.000Z | toolbox_AEM.py | MaxRamgraber/Simple-AEM-Toolbox | 27751103f5e504dd675ba6225f2aee9f85d7c85d | [
"MIT"
] | null | null | null | toolbox_AEM.py | MaxRamgraber/Simple-AEM-Toolbox | 27751103f5e504dd675ba6225f2aee9f85d7c85d | [
"MIT"
] | 3 | 2021-06-17T11:20:20.000Z | 2022-01-12T09:56:56.000Z | #import numpy as np
#from mpmath import mpc,mpmathify,ellipfun,acos,ellipf
#import matplotlib.pyplot as plt
#plt.close('all')
class Model:
def __init__(self,head_offset=0,aquifer_type='unconfined',domain_center=0+0j,
domain_radius=1,H = None,variables=[],priors=[],observations=[],... | 43.318014 | 306 | 0.504523 | 25,961 | 223,391 | 4.2669 | 0.04526 | 0.019463 | 0.01068 | 0.012323 | 0.785354 | 0.761503 | 0.742031 | 0.725646 | 0.716249 | 0.701434 | 0 | 0.029975 | 0.395029 | 223,391 | 5,156 | 307 | 43.326416 | 0.789685 | 0.261537 | 0 | 0.765283 | 0 | 0.004528 | 0.052317 | 0.00094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047925 | false | 0 | 0.061132 | 0.002264 | 0.14566 | 0.004528 | 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 |
1aef31c40ca2800068409f3a8847859625ad49b7 | 225 | py | Python | office365/sharepoint/audit/audit.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/audit/audit.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/audit/audit.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class Audit(BaseEntity):
"""
Enables auditing of how site collections, sites, lists, folders, and list items are accessed, changed, and used.
"""
pass
| 25 | 116 | 0.724444 | 28 | 225 | 5.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.195556 | 225 | 8 | 117 | 28.125 | 0.878453 | 0.497778 | 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 |
210679c4352581f818f84b0e6bf6289ce9deb608 | 46 | py | Python | binary_clock/__init__.py | zeycus/binary_clock | 4d7bf6a4d432fdb0f9dccde9d94173ac4935b05f | [
"MIT"
] | null | null | null | binary_clock/__init__.py | zeycus/binary_clock | 4d7bf6a4d432fdb0f9dccde9d94173ac4935b05f | [
"MIT"
] | null | null | null | binary_clock/__init__.py | zeycus/binary_clock | 4d7bf6a4d432fdb0f9dccde9d94173ac4935b05f | [
"MIT"
] | 2 | 2018-02-16T21:16:41.000Z | 2022-03-18T05:15:25.000Z | from .binclockWrapper import binclock_wrapper
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 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 |
2144704faae460c6a062d40147ec2d52a11302fe | 130 | py | Python | server/editors/admin.py | nickdotreid/opioid-mat-decision-aid | bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1 | [
"MIT"
] | null | null | null | server/editors/admin.py | nickdotreid/opioid-mat-decision-aid | bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1 | [
"MIT"
] | 27 | 2018-09-30T07:59:21.000Z | 2020-11-05T19:25:41.000Z | server/editors/admin.py | nickdotreid/opioid-mat-decision-aid | bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Editor
@admin.register(Editor)
class PageAdmin(admin.ModelAdmin):
pass
| 16.25 | 34 | 0.784615 | 17 | 130 | 6 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 7 | 35 | 18.571429 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 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 |
dcff7d128e3c6aff411835ed9b14181710e71bb1 | 107 | py | Python | python_codes/test.py | penginsl/electrophysiology_analysis | a38c4b1e1cb018fd670edb3157ddfba6cc2a3285 | [
"MIT"
] | 2 | 2020-12-27T01:25:46.000Z | 2021-02-21T07:45:08.000Z | python_codes/test.py | li-shen-amy/electrophysiology_analysis | a38c4b1e1cb018fd670edb3157ddfba6cc2a3285 | [
"MIT"
] | null | null | null | python_codes/test.py | li-shen-amy/electrophysiology_analysis | a38c4b1e1cb018fd670edb3157ddfba6cc2a3285 | [
"MIT"
] | null | null | null | from read_lvb import read_single_lvb
read_single_lvb('8_20_2019_pen1_0_1x10s.lvb', rec_len=1, trial_num=10) | 53.5 | 70 | 0.859813 | 23 | 107 | 3.478261 | 0.73913 | 0.25 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 0.056075 | 107 | 2 | 70 | 53.5 | 0.643564 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 0.240741 | 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 |
b4a758c488ad96a9e6cf231d9114525ad34184ce | 177 | py | Python | httpsig_cffi/__init__.py | hawkowl/httpsig | af5c8bcce7c93f5734b1a48722580d02c5d25bc7 | [
"MIT"
] | 1 | 2016-10-03T17:38:07.000Z | 2016-10-03T17:38:07.000Z | httpsig_cffi/__init__.py | hawkowl/httpsig | af5c8bcce7c93f5734b1a48722580d02c5d25bc7 | [
"MIT"
] | 1 | 2016-09-27T11:03:42.000Z | 2016-10-03T17:42:11.000Z | httpsig_cffi/__init__.py | hawkowl/httpsig | af5c8bcce7c93f5734b1a48722580d02c5d25bc7 | [
"MIT"
] | 4 | 2016-07-27T06:05:10.000Z | 2019-06-26T22:04:09.000Z | from .sign import Signer, HeaderSigner
from .verify import Verifier, HeaderVerifier
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 25.285714 | 44 | 0.819209 | 22 | 177 | 6.227273 | 0.545455 | 0.240876 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112994 | 177 | 6 | 45 | 29.5 | 0.872611 | 0 | 0 | 0 | 0 | 0 | 0.039548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ef761cd8d1016273df97d4fa8d6cd67e2a5984b | 80 | py | Python | Inheritance/class_Inheritance/project_players_and_monsters/muse_elf.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | Inheritance/class_Inheritance/project_players_and_monsters/muse_elf.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | Inheritance/class_Inheritance/project_players_and_monsters/muse_elf.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | from Encapsulation.project_wild_cat_zoo import Elf
class MuseElf(Elf):
pass | 20 | 50 | 0.8125 | 12 | 80 | 5.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 4 | 51 | 20 | 0.898551 | 0 | 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 |
2c06123c16b710a8e76d42eceec9f3bb74023ba8 | 48 | py | Python | meta_policy_search/envs/__init__.py | behzadhaghgoo/cml | e659c7ae10a52bbe1cbabf9d359aea43af19eb12 | [
"MIT"
] | 210 | 2018-10-17T01:04:48.000Z | 2022-03-09T16:17:06.000Z | meta_policy_search/envs/__init__.py | behzadhaghgoo/cml | e659c7ae10a52bbe1cbabf9d359aea43af19eb12 | [
"MIT"
] | 13 | 2018-10-25T20:01:09.000Z | 2022-01-24T13:11:24.000Z | meta_policy_search/envs/__init__.py | behzadhaghgoo/cml | e659c7ae10a52bbe1cbabf9d359aea43af19eb12 | [
"MIT"
] | 55 | 2018-10-18T22:00:51.000Z | 2021-11-24T00:06:31.000Z | from meta_policy_search.envs.base import MetaEnv | 48 | 48 | 0.895833 | 8 | 48 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.911111 | 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 |
25a704bb8c7432afced1746b5db5782eeb6b9260 | 108 | py | Python | dop_python_pip_package/main_utils/math.py | RyanAngJY/dop_python_pip_package | 483cddc94e555080f11131667cf4ddad5ee4002a | [
"MIT"
] | null | null | null | dop_python_pip_package/main_utils/math.py | RyanAngJY/dop_python_pip_package | 483cddc94e555080f11131667cf4ddad5ee4002a | [
"MIT"
] | null | null | null | dop_python_pip_package/main_utils/math.py | RyanAngJY/dop_python_pip_package | 483cddc94e555080f11131667cf4ddad5ee4002a | [
"MIT"
] | null | null | null | import numpy as np
def add(num1, num2):
return num1 + num2
def random():
return np.random.rand(2)
| 13.5 | 28 | 0.657407 | 18 | 108 | 3.944444 | 0.666667 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.231481 | 108 | 7 | 29 | 15.428571 | 0.795181 | 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 | 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 |
25b23f92a690b5dc2591fb3a015a2920be3c2714 | 375 | py | Python | pattern4/hamburg_store_v5/src/WhiteFeatherChicken.py | icexmoon/design-pattern-with-python | bb897e886fe52bb620db0edc6ad9d2e5ecb067af | [
"MIT"
] | null | null | null | pattern4/hamburg_store_v5/src/WhiteFeatherChicken.py | icexmoon/design-pattern-with-python | bb897e886fe52bb620db0edc6ad9d2e5ecb067af | [
"MIT"
] | null | null | null | pattern4/hamburg_store_v5/src/WhiteFeatherChicken.py | icexmoon/design-pattern-with-python | bb897e886fe52bb620db0edc6ad9d2e5ecb067af | [
"MIT"
] | null | null | null | #######################################################
#
# WhiteFeatherChicken.py
# Python implementation of the Class WhiteFeatherChicken
# Generated by Enterprise Architect
# Created on: 19-6��-2021 21:34:31
# Original author: 70748
#
#######################################################
from .Chicken impor... | 28.846154 | 56 | 0.533333 | 32 | 375 | 6.3125 | 0.84375 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005333 | 0.054545 | 0.12 | 375 | 13 | 57 | 28.846154 | 0.551515 | 0.458667 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
25b461901a114bfef4e2befb760d938c643080a9 | 1,798 | py | Python | entity/block.py | chenwenhang/StockVisualAnalysis | 8f186224f0001a5c1d7fe86f2540bb9221c81707 | [
"MIT"
] | 1 | 2021-06-23T11:43:26.000Z | 2021-06-23T11:43:26.000Z | entity/block.py | chenwenhang/StockVisualAnalysis | 8f186224f0001a5c1d7fe86f2540bb9221c81707 | [
"MIT"
] | null | null | null | entity/block.py | chenwenhang/StockVisualAnalysis | 8f186224f0001a5c1d7fe86f2540bb9221c81707 | [
"MIT"
] | 1 | 2021-11-17T12:13:45.000Z | 2021-11-17T12:13:45.000Z | from entity.item_entity import ItemEntity
class BlockEntity(ItemEntity):
def __init__(self, block):
ItemEntity.__init__(self)
self.field_set = block
def get_code(self):
return self.field_set["code"]
def get_name(self):
return self.field_set["name"]
def get_indicator(... | 25.323944 | 67 | 0.587875 | 233 | 1,798 | 4.304721 | 0.128755 | 0.224327 | 0.299103 | 0.189432 | 0.219342 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069315 | 0.285873 | 1,798 | 70 | 68 | 25.685714 | 0.711838 | 0 | 0 | 0 | 0 | 0 | 0.070634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0 | 0.020833 | 0.208333 | 0.6875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
25b6fe6e7e963061d5676e07d2b8b093d960a651 | 95 | py | Python | simpleimage/__init__.py | adilu/simpleimage | 5e38340fb619d4350a3de7aa9a3a8b0145a6b568 | [
"MIT"
] | 1 | 2021-05-07T13:53:42.000Z | 2021-05-07T13:53:42.000Z | simpleimage/__init__.py | adilu/simpleimage | 5e38340fb619d4350a3de7aa9a3a8b0145a6b568 | [
"MIT"
] | null | null | null | simpleimage/__init__.py | adilu/simpleimage | 5e38340fb619d4350a3de7aa9a3a8b0145a6b568 | [
"MIT"
] | null | null | null | # Inside of __init__.py
from simpleimage.Image import Image
from simpleimage.Pixel import Pixel | 31.666667 | 35 | 0.842105 | 14 | 95 | 5.428571 | 0.642857 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 3 | 36 | 31.666667 | 0.904762 | 0.221053 | 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 |
d320c91ea6b461e0c7b131bd8b8d8de493e7eeac | 20,058 | py | Python | models/bioproc/proc_models.py | LukeItUp/BioProc | dc7c38dd7d3b0ed01419892d81eb7fbe39a6b584 | [
"CC-BY-4.0"
] | null | null | null | models/bioproc/proc_models.py | LukeItUp/BioProc | dc7c38dd7d3b0ed01419892d81eb7fbe39a6b584 | [
"CC-BY-4.0"
] | null | null | null | models/bioproc/proc_models.py | LukeItUp/BioProc | dc7c38dd7d3b0ed01419892d81eb7fbe39a6b584 | [
"CC-BY-4.0"
] | null | null | null | import numpy as np
from bioproc.hill_functions import *
"""
FLIP-FLOP MODELS
"""
# MASTER-SLAVE D FLIP-FLOP QSSA MODEL
def ff_stochastic_model(Y, T, params, omega):
p = np.zeros(12)
a, not_a, q, not_q, d, clk = Y
alpha1, alpha2, alpha3, alpha4, delta1, delta2, Kd, n = params
p[0] = alpha1*(pow(d/(Kd*om... | 32.990132 | 182 | 0.617609 | 3,768 | 20,058 | 3.053875 | 0.052282 | 0.023725 | 0.028591 | 0.023464 | 0.888329 | 0.847658 | 0.801165 | 0.786565 | 0.758582 | 0.71765 | 0 | 0.07833 | 0.236863 | 20,058 | 607 | 183 | 33.044481 | 0.673417 | 0.085851 | 0 | 0.544413 | 0 | 0 | 0.000505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083095 | false | 0 | 0.005731 | 0.002865 | 0.17192 | 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 |
d38fa5a020b98e37d563129fd98805c3a815a06c | 509 | py | Python | fastiqa/vqa.py | baidut/PatchVQ | 040486b6342dfd36695f1daea0b5c4d77d728a23 | [
"Unlicense"
] | 32 | 2020-12-05T09:11:20.000Z | 2022-03-28T07:49:13.000Z | fastiqa/vqa.py | utlive/PatchVQ | 040486b6342dfd36695f1daea0b5c4d77d728a23 | [
"Unlicense"
] | 5 | 2021-07-12T19:43:51.000Z | 2022-01-28T13:16:16.000Z | fastiqa/vqa.py | utlive/PatchVQ | 040486b6342dfd36695f1daea0b5c4d77d728a23 | [
"Unlicense"
] | 7 | 2020-12-29T21:52:07.000Z | 2022-03-18T15:12:50.000Z | from fastai.vision.all import *
from fastai.distributed import *
from fastiqa.bunches.vqa.vid2mos import *
from fastiqa.bunches.vqa.vid_sp2mos import *
from fastiqa.bunches.vqa.single_vid2mos import *
from fastiqa.bunches.feat2mos import *
from fastiqa.bunches.vqa.test_videos import *
from fastiqa.models._body_head i... | 29.941176 | 48 | 0.81336 | 74 | 509 | 5.459459 | 0.364865 | 0.29703 | 0.462871 | 0.29703 | 0.49505 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011013 | 0.108055 | 509 | 16 | 49 | 31.8125 | 0.878855 | 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 | 0 | 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 |
d3a9d77bcb85a726fe556e05107cb08e33ab6304 | 194 | py | Python | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}_package.py | tjelvar-olsson/cookiecutter-pypackage | 58c90986572b54063edc5809700140bd650f8bf4 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}_package.py | tjelvar-olsson/cookiecutter-pypackage | 58c90986572b54063edc5809700140bd650f8bf4 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}_package.py | tjelvar-olsson/cookiecutter-pypackage | 58c90986572b54063edc5809700140bd650f8bf4 | [
"MIT"
] | 1 | 2019-08-05T00:38:50.000Z | 2019-08-05T00:38:50.000Z | """Test the {{ cookiecutter.repo_name }} package."""
def test_version_is_string():
import {{ cookiecutter.repo_name }}
assert isinstance({{ cookiecutter.repo_name }}.__version__, str)
| 27.714286 | 68 | 0.71134 | 22 | 194 | 5.818182 | 0.636364 | 0.375 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139175 | 194 | 6 | 69 | 32.333333 | 0.766467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6c9e246ae15c63613cd6c2b20609d5f0ab60a6fe | 42 | py | Python | content/downloads/code/hello_world.py | Jerska/jakevdp.github.io-source | ee516b93a8d83457b1f11f21dba9016f685e887d | [
"MIT"
] | 88 | 2017-03-23T02:03:19.000Z | 2022-01-03T04:43:38.000Z | content/downloads/code/hello_world.py | Jerska/jakevdp.github.io-source | ee516b93a8d83457b1f11f21dba9016f685e887d | [
"MIT"
] | 6 | 2017-10-11T15:11:49.000Z | 2018-11-03T16:43:49.000Z | content/downloads/code/hello_world.py | Jerska/jakevdp.github.io-source | ee516b93a8d83457b1f11f21dba9016f685e887d | [
"MIT"
] | 67 | 2017-03-08T18:41:07.000Z | 2022-02-15T02:17:41.000Z | import sys
import os
print("hello_world")
| 10.5 | 20 | 0.785714 | 7 | 42 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 3 | 21 | 14 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
6cab7cd5cbf21f075d48ac70d2479b970da3a25c | 34 | py | Python | sources/viewgui/app_main_window/__init__.py | Groomsha/lan-map | 1c30819470f43f8521e98eb75c70da23939f8f06 | [
"Apache-2.0"
] | null | null | null | sources/viewgui/app_main_window/__init__.py | Groomsha/lan-map | 1c30819470f43f8521e98eb75c70da23939f8f06 | [
"Apache-2.0"
] | null | null | null | sources/viewgui/app_main_window/__init__.py | Groomsha/lan-map | 1c30819470f43f8521e98eb75c70da23939f8f06 | [
"Apache-2.0"
] | null | null | null | from .ui_app_main_window import *
| 17 | 33 | 0.823529 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.833333 | 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 |
6cf5868cddef0acac801849800692c7ecb79b242 | 62 | py | Python | src/packs/__init__.py | Flaiers/flatype | ebb951fb1dee2075779a19fd090166bb1347658f | [
"MIT"
] | 2 | 2021-07-31T20:01:36.000Z | 2021-09-07T13:37:42.000Z | src/packs/__init__.py | Flaiers/flatype | ebb951fb1dee2075779a19fd090166bb1347658f | [
"MIT"
] | null | null | null | src/packs/__init__.py | Flaiers/flatype | ebb951fb1dee2075779a19fd090166bb1347658f | [
"MIT"
] | 2 | 2021-09-07T13:37:43.000Z | 2021-10-31T20:19:29.000Z | from .db import *
from .hashing import *
from .types import *
| 15.5 | 22 | 0.709677 | 9 | 62 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 23 | 20.666667 | 0.88 | 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 |
6cfcc432d9799eeca3082db6ec3f5c398e9ea2d0 | 19,094 | py | Python | pybind/slxos/v16r_1_00b/rmon/event_entry/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/rmon/event_entry/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/rmon/event_entry/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 71.246269 | 595 | 0.719231 | 2,586 | 19,094 | 5.062258 | 0.076953 | 0.04125 | 0.047055 | 0.021389 | 0.806126 | 0.783745 | 0.762585 | 0.75487 | 0.742266 | 0.739821 | 0 | 0.010954 | 0.129831 | 19,094 | 267 | 596 | 71.513109 | 0.776949 | 0.127475 | 0 | 0.406977 | 0 | 0.046512 | 0.364617 | 0.166128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104651 | false | 0 | 0.046512 | 0 | 0.273256 | 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 |
9f22ecadee15b29febc27386c5d75768609cf0a2 | 150 | py | Python | answers/pandas_answer8.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | answers/pandas_answer8.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | answers/pandas_answer8.py | monocilindro/foss4g-geopandas | 12afbc787c1f65cc046234b41166bd62bbb6ac29 | [
"Apache-2.0"
] | null | null | null | sns.catplot(x="Youth_Unemployment_(claimant)_rate_18-24_(Dec-15)", y="Largest_migrant_population_arrived_during_2015/16", kind="box", data=boroughs);
| 75 | 149 | 0.813333 | 23 | 150 | 4.869565 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.026667 | 150 | 1 | 150 | 150 | 0.684932 | 0 | 0 | 0 | 0 | 0 | 0.673333 | 0.653333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f51da4a2c4d547f1a99a64f4fd42f332e3077f5 | 16,308 | py | Python | src/networks/_original/ConvLSTM_and_UNet.py | claudius-kienle/self-supervised-depth-denoising | 4dffb30e8ef5022ef665825d26f45f67bf712cfd | [
"MIT"
] | 2 | 2021-12-02T15:06:28.000Z | 2021-12-03T09:48:32.000Z | src/networks/_original/ConvLSTM_and_UNet.py | claudius-kienle/self-supervised-depth-denoising | 4dffb30e8ef5022ef665825d26f45f67bf712cfd | [
"MIT"
] | 23 | 2022-02-24T09:17:03.000Z | 2022-03-21T16:57:58.000Z | src/networks/_original/ConvLSTM_and_UNet.py | alr-internship/self-supervised-depth-denoising | 4dffb30e8ef5022ef665825d26f45f67bf712cfd | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch
import torch.nn as nn
import torch.nn.functional as F
from common import conv, norm, ListModule, BloorPool, ConvLSTMCell
from unet_parts import unetDown
class UNet(nn.Module):
'''
upsample_mode in ['deconv', 'nearest', 'bilinear']
pad in ['zero', 'replication', '... | 38.28169 | 163 | 0.552183 | 2,112 | 16,308 | 4.037879 | 0.07339 | 0.038462 | 0.049015 | 0.027908 | 0.881918 | 0.854479 | 0.835131 | 0.808161 | 0.804644 | 0.783537 | 0 | 0.044761 | 0.328734 | 16,308 | 425 | 164 | 38.371765 | 0.734265 | 0.051079 | 0 | 0.66881 | 0 | 0 | 0.0085 | 0 | 0 | 0 | 0 | 0 | 0.006431 | 1 | 0.038585 | false | 0 | 0.019293 | 0 | 0.096463 | 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 |
9f799bda407a12c5a02b0d0658b7ebc06757c547 | 5,411 | py | Python | tests/dredd-hooks/relation_hook.py | marianoleonardo/auth | 2e2e50e1cd6f224c9551ca57c25beda6b956cb4e | [
"Apache-2.0"
] | 2 | 2017-10-16T12:03:32.000Z | 2020-10-28T02:51:09.000Z | tests/dredd-hooks/relation_hook.py | marianoleonardo/auth | 2e2e50e1cd6f224c9551ca57c25beda6b956cb4e | [
"Apache-2.0"
] | 33 | 2017-10-05T19:43:17.000Z | 2022-02-25T13:22:05.000Z | tests/dredd-hooks/relation_hook.py | marianoleonardo/auth | 2e2e50e1cd6f224c9551ca57c25beda6b956cb4e | [
"Apache-2.0"
] | 22 | 2017-08-23T13:35:42.000Z | 2021-11-25T16:32:14.000Z | import dredd_hooks as hooks
import controller.CRUDController as crud
import controller.RelationshipController as rship
import crud_api_hook as crud
import auth_hook as auth
from database.flaskAlchemyInit import db, HTTPRequestError
from dojot.module import Log
LOGGER = Log().color_log()
USER_GROUP = []
USER_PERMS = ... | 41.623077 | 90 | 0.686195 | 649 | 5,411 | 5.516179 | 0.11094 | 0.127374 | 0.093855 | 0.13743 | 0.865922 | 0.828492 | 0.741341 | 0.741341 | 0.712291 | 0.672346 | 0 | 0.011264 | 0.196082 | 5,411 | 129 | 91 | 41.945736 | 0.811724 | 0 | 0 | 0.663636 | 0 | 0 | 0.301053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063636 | false | 0.027273 | 0.063636 | 0 | 0.127273 | 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 |
4c93dd269715b78fb5c43bd3c25c60b9d7921a5d | 1,528 | py | Python | paz/backend/image/__init__.py | niqbal996/paz | f27205907367415d5b21f90e1a1d1d1ce598e889 | [
"MIT"
] | 1 | 2021-04-12T22:09:22.000Z | 2021-04-12T22:09:22.000Z | paz/backend/image/__init__.py | albertofernandezvillan/paz | 9fbd50b993f37e1e807297a29c6044c09967c9cc | [
"MIT"
] | null | null | null | paz/backend/image/__init__.py | albertofernandezvillan/paz | 9fbd50b993f37e1e807297a29c6044c09967c9cc | [
"MIT"
] | null | null | null | from .opencv_image import RGB2BGR
from .opencv_image import BGR2RGB
from .opencv_image import RGB2HSV
from .opencv_image import HSV2RGB
from .opencv_image import RGB2GRAY
from .opencv_image import cast_image
from .opencv_image import resize_image
from .opencv_image import convert_color_space
from .opencv_image import ... | 36.380952 | 59 | 0.871073 | 236 | 1,528 | 5.300847 | 0.258475 | 0.223821 | 0.335731 | 0.470024 | 0.449241 | 0.254197 | 0.078337 | 0.078337 | 0.078337 | 0.078337 | 0 | 0.00365 | 0.103403 | 1,528 | 41 | 60 | 37.268293 | 0.909489 | 0 | 0 | 0.051282 | 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 | 0 | 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 |
4ccdd61f532045ca6cdb651d6aab227c9281a5ca | 121 | py | Python | example.py | ZhukovAlexander/lambdify | e291c15bacffc871cd1c10aefe9f132420259dfd | [
"Apache-2.0"
] | 51 | 2016-04-07T12:50:08.000Z | 2020-05-19T14:56:47.000Z | example.py | ZhukovAlexander/easy-lambda | e291c15bacffc871cd1c10aefe9f132420259dfd | [
"Apache-2.0"
] | null | null | null | example.py | ZhukovAlexander/easy-lambda | e291c15bacffc871cd1c10aefe9f132420259dfd | [
"Apache-2.0"
] | 8 | 2016-04-08T10:05:30.000Z | 2020-01-20T14:01:05.000Z | from lambdify import Lambda, UPDATE_EXPLICIT
@Lambda.f(name='echo')
def echo(*args, **kwargs):
return args, kwargs
| 17.285714 | 44 | 0.719008 | 17 | 121 | 5.058824 | 0.764706 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 121 | 6 | 45 | 20.166667 | 0.834951 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9802f22bc89782e9a0842bff485870f55548fb60 | 165 | py | Python | test/unit/test_command_line.py | buddly27/jound | 0f3c1fed055a5f28231daafc762ea7d934639d9e | [
"MIT"
] | null | null | null | test/unit/test_command_line.py | buddly27/jound | 0f3c1fed055a5f28231daafc762ea7d934639d9e | [
"MIT"
] | null | null | null | test/unit/test_command_line.py | buddly27/jound | 0f3c1fed055a5f28231daafc762ea7d934639d9e | [
"MIT"
] | null | null | null | # :coding: utf-8
from jound.command_line import main
def test_with_defaults():
"""Command executes successfully with defaults."""
assert main([]) is None
| 18.333333 | 54 | 0.709091 | 22 | 165 | 5.181818 | 0.818182 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.175758 | 165 | 8 | 55 | 20.625 | 0.830882 | 0.363636 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9819e8801dd5cbb40d09ba326e69390a5964bbf8 | 272 | py | Python | async_rx/subject/__init__.py | geronimo-iia/async-rx | 366a2fc5e4e717a0441f1ee8522ef6d5e857566c | [
"MIT"
] | 4 | 2020-05-02T00:14:29.000Z | 2022-02-12T14:17:21.000Z | async_rx/subject/__init__.py | geronimo-iia/async-rx | 366a2fc5e4e717a0441f1ee8522ef6d5e857566c | [
"MIT"
] | 4 | 2020-05-05T16:21:00.000Z | 2021-08-05T23:31:30.000Z | async_rx/subject/__init__.py | geronimo-iia/async-rx | 366a2fc5e4e717a0441f1ee8522ef6d5e857566c | [
"MIT"
] | null | null | null | from .rx_subject import rx_subject
from .rx_subject_from import rx_subject_from
from .rx_subject_replay import rx_subject_replay
from .rx_subject_behavior import rx_subject_behavior
__all__ = ["rx_subject", "rx_subject_from", "rx_subject_replay", "rx_subject_behavior"]
| 34 | 87 | 0.845588 | 42 | 272 | 4.880952 | 0.166667 | 0.526829 | 0.317073 | 0.185366 | 0.214634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 272 | 7 | 88 | 38.857143 | 0.826613 | 0 | 0 | 0 | 0 | 0 | 0.224265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e25572df44485e98b412a610b63df30dd0ebd83d | 16,315 | py | Python | TestMotorMode.py | sohamranade/RoboticsStudio | ed6794d6264a238646768726254a87c49926a96c | [
"MIT"
] | null | null | null | TestMotorMode.py | sohamranade/RoboticsStudio | ed6794d6264a238646768726254a87c49926a96c | [
"MIT"
] | null | null | null | TestMotorMode.py | sohamranade/RoboticsStudio | ed6794d6264a238646768726254a87c49926a96c | [
"MIT"
] | null | null | null | from lx16a import *
from math import sin, cos, pi
import time
import xlwt
import pandas as pd
import numpy as np
from xlwt import Workbook
class RecordMotorData():
def __init__ (self, servo):
self.servo = servo;
self.id = [];
self.angleOffset = [];
self.physicalPos = [];
self.virtualPos = [];
self.temp = ... | 38.752969 | 170 | 0.735949 | 1,843 | 16,315 | 6.512208 | 0.086815 | 0.025412 | 0.019663 | 0.034411 | 0.842776 | 0.835194 | 0.825196 | 0.812615 | 0.804449 | 0.804449 | 0 | 0.058295 | 0.119951 | 16,315 | 420 | 171 | 38.845238 | 0.777615 | 0.282562 | 0 | 0.685921 | 0 | 0 | 0.030728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050542 | false | 0 | 0.025271 | 0 | 0.079422 | 0.050542 | 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 |
e2844540c03734c3d5aede77a6cb320fc331436e | 40 | py | Python | src/quickmenus/scripts/quickmenus/qmenus/__init__.py | bohdon/maya-quickmenus | 3a49d4dab534fd32c649878efba3a6d6e63ac677 | [
"MIT"
] | 6 | 2017-12-15T08:49:22.000Z | 2020-09-04T10:03:46.000Z | src/quickmenus/scripts/quickmenus/fmenus/__init__.py | bohdon/maya-quickmenus | 3a49d4dab534fd32c649878efba3a6d6e63ac677 | [
"MIT"
] | null | null | null | src/quickmenus/scripts/quickmenus/fmenus/__init__.py | bohdon/maya-quickmenus | 3a49d4dab534fd32c649878efba3a6d6e63ac677 | [
"MIT"
] | 1 | 2018-08-23T03:49:15.000Z | 2018-08-23T03:49:15.000Z |
from core import *
from menus import *
| 10 | 19 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 40 | 3 | 20 | 13.333333 | 0.935484 | 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 |
e299629d4d5eec6869ab2bb35035220746d7fe90 | 1,298 | py | Python | Lib_dati.py | rsd-dev/Soccer_Odds | 47dccbfd2c702e8b5e6cd42814c3f77dbfee7ca9 | [
"MIT"
] | null | null | null | Lib_dati.py | rsd-dev/Soccer_Odds | 47dccbfd2c702e8b5e6cd42814c3f77dbfee7ca9 | [
"MIT"
] | null | null | null | Lib_dati.py | rsd-dev/Soccer_Odds | 47dccbfd2c702e8b5e6cd42814c3f77dbfee7ca9 | [
"MIT"
] | null | null | null | csv_campionati = ["premier", "championship", "conference",
"serieA", "serieB", "ligaA", "ligaB",
"ligueA", "ligueB", "bundesA", "bundesB",
"eredivisie", "portugalA", "turkeyA"]
csv_urls=["https://www.football-data.co.uk/mmz4281/2021/E0.csv",
"https:... | 49.923077 | 66 | 0.560092 | 174 | 1,298 | 4.16092 | 0.258621 | 0.154696 | 0.309392 | 0.38674 | 0.730663 | 0.730663 | 0.730663 | 0.730663 | 0.68232 | 0 | 0 | 0.155172 | 0.24037 | 1,298 | 25 | 67 | 51.92 | 0.579108 | 0 | 0 | 0 | 0 | 0 | 0.643868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c33dce3a5f24783c00fceee5840dd4c015f1b0f | 49 | py | Python | tests/unit/__init__.py | tcc-td-puc-minas-indtexbr/standard-manager-api | 23b7db7e32f4a1409bb0558bd2edabfd50e3596d | [
"MIT"
] | 3 | 2020-03-07T19:21:47.000Z | 2021-10-02T15:27:20.000Z | tests/unit/__init__.py | tcc-td-puc-minas-indtexbr/standard-manager-api | 23b7db7e32f4a1409bb0558bd2edabfd50e3596d | [
"MIT"
] | null | null | null | tests/unit/__init__.py | tcc-td-puc-minas-indtexbr/standard-manager-api | 23b7db7e32f4a1409bb0558bd2edabfd50e3596d | [
"MIT"
] | null | null | null | from tests import register_paths
register_paths() | 24.5 | 32 | 0.877551 | 7 | 49 | 5.857143 | 0.714286 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 2 | 33 | 24.5 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 0 | 0 | 6 |
2c88ce7f940e555c46d8b7ea44d1bd4667b5fcbf | 47 | py | Python | schwa/repository/__init__.py | SBST-DPG/schwa | d09660e4b5bb665114c35ebe291e5620e59f4c4c | [
"MIT"
] | 9 | 2015-05-21T10:13:27.000Z | 2020-11-06T22:21:03.000Z | schwa/repository/__init__.py | XiaoxueRenS/schwa | d09660e4b5bb665114c35ebe291e5620e59f4c4c | [
"MIT"
] | 5 | 2021-01-12T09:57:36.000Z | 2021-07-20T08:29:16.000Z | schwa/repository/__init__.py | XiaoxueRenS/schwa | d09660e4b5bb665114c35ebe291e5620e59f4c4c | [
"MIT"
] | 9 | 2015-05-14T09:31:15.000Z | 2021-02-07T02:53:17.000Z | from .file import *
from .repository import *
| 11.75 | 25 | 0.723404 | 6 | 47 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 3 | 26 | 15.666667 | 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 |
2cb2b7a11fed7f4c536fdcd72955015d016184e1 | 74 | py | Python | pyner/named_entity/__init__.py | chantera/pyner | 6de19713871e923c997495c07e2ec249bded8671 | [
"MIT"
] | 1 | 2019-06-16T00:52:26.000Z | 2019-06-16T00:52:26.000Z | pyner/named_entity/__init__.py | chantera/pyner | 6de19713871e923c997495c07e2ec249bded8671 | [
"MIT"
] | null | null | null | pyner/named_entity/__init__.py | chantera/pyner | 6de19713871e923c997495c07e2ec249bded8671 | [
"MIT"
] | null | null | null | from .dataset import *
from .evaluator import *
from .recognizer 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 |
3920a62485976ef0d1531a38d622ba6a81681584 | 127 | py | Python | devodsconnector/__init__.py | DevoInc/python-ds-connector | 64e5de6bc85536309455713120c551202b99bd39 | [
"MIT"
] | 4 | 2020-04-24T00:18:32.000Z | 2022-03-24T19:19:29.000Z | devodsconnector/__init__.py | DevoInc/python-ds-connector | 64e5de6bc85536309455713120c551202b99bd39 | [
"MIT"
] | 3 | 2020-04-27T22:10:30.000Z | 2021-02-11T18:51:50.000Z | devodsconnector/__init__.py | DevoInc/python-ds-connector | 64e5de6bc85536309455713120c551202b99bd39 | [
"MIT"
] | 3 | 2019-08-01T19:03:25.000Z | 2020-04-27T21:40:07.000Z | from .reader import Reader
from .writer import Writer
from .json_writer import JSONWriter
from .__version__ import __version__
| 25.4 | 36 | 0.84252 | 17 | 127 | 5.764706 | 0.411765 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 4 | 37 | 31.75 | 0.882883 | 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 |
392b0e0e6077a0976f1fdaabeb8be1d924457a97 | 101 | py | Python | zsec_aws_tools_extensions/__init__.py | zuoralabs/zsec-aws-tools-extensions | 63d1aa1a5b3f79ea31cd0c5c44006b41033f96a6 | [
"BSD-2-Clause"
] | null | null | null | zsec_aws_tools_extensions/__init__.py | zuoralabs/zsec-aws-tools-extensions | 63d1aa1a5b3f79ea31cd0c5c44006b41033f96a6 | [
"BSD-2-Clause"
] | 5 | 2020-05-20T04:53:05.000Z | 2020-07-31T00:33:39.000Z | zsec_aws_tools_extensions/__init__.py | zuoralabs/zsec-aws-tools-extensions | 63d1aa1a5b3f79ea31cd0c5c44006b41033f96a6 | [
"BSD-2-Clause"
] | 1 | 2020-10-03T12:20:34.000Z | 2020-10-03T12:20:34.000Z | from .deployment import zip_string, PartialAWSResourceCollection, PartialResource, partial_resources
| 50.5 | 100 | 0.891089 | 9 | 101 | 9.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 1 | 101 | 101 | 0.93617 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3938a7af27a276afcd6271710e95ba5db738e215 | 17,068 | py | Python | tests/endpoints/test_project_endpoints.py | eshults5/imbi | 2ebf32264fe35a886b8f04086c28b9a05be1194a | [
"BSD-3-Clause"
] | null | null | null | tests/endpoints/test_project_endpoints.py | eshults5/imbi | 2ebf32264fe35a886b8f04086c28b9a05be1194a | [
"BSD-3-Clause"
] | null | null | null | tests/endpoints/test_project_endpoints.py | eshults5/imbi | 2ebf32264fe35a886b8f04086c28b9a05be1194a | [
"BSD-3-Clause"
] | null | null | null | import json
import uuid
import jsonpatch
from imbi.endpoints.project import link, project
from tests import base
class AsyncHTTPTestCase(base.TestCaseWithReset):
ADMIN_ACCESS = True
TRUNCATE_TABLES = [
'v1.configuration_systems',
'v1.data_centers',
'v1.deployment_types',
'v1... | 39.236782 | 79 | 0.570073 | 1,743 | 17,068 | 5.40677 | 0.079748 | 0.067699 | 0.077992 | 0.082237 | 0.838497 | 0.820352 | 0.812924 | 0.794249 | 0.764643 | 0.752016 | 0 | 0.013414 | 0.296813 | 17,068 | 434 | 80 | 39.327189 | 0.771788 | 0.011718 | 0 | 0.688347 | 0 | 0 | 0.146698 | 0.024568 | 0 | 0 | 0 | 0 | 0.168022 | 1 | 0.03523 | false | 0 | 0.01355 | 0 | 0.078591 | 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 |
3942bd983903dfa848b8fa3815a701af06331a17 | 1,462 | py | Python | src/skallel_tensor/__init__.py | alimanfoo/skallel-tensor | 0019440b24de24141b046739a02ad587dc621748 | [
"MIT"
] | 2 | 2019-08-22T21:48:58.000Z | 2020-02-17T15:44:23.000Z | src/skallel_tensor/__init__.py | alimanfoo/skallel-tensor | 0019440b24de24141b046739a02ad587dc621748 | [
"MIT"
] | 9 | 2019-07-04T00:42:22.000Z | 2019-10-01T18:41:13.000Z | src/skallel_tensor/__init__.py | alimanfoo/skallel-tensor | 0019440b24de24141b046739a02ad587dc621748 | [
"MIT"
] | 1 | 2019-06-25T07:36:51.000Z | 2019-06-25T07:36:51.000Z | # flake8: noqa
from .version import version as __version__
# Import the public API.
from .api import (
genotypes_locate_hom,
genotypes_locate_het,
genotypes_locate_call,
genotypes_count_alleles,
genotypes_to_called_allele_counts,
genotypes_to_missing_allele_counts,
genotypes_to_allele_count... | 26.107143 | 72 | 0.75855 | 172 | 1,462 | 5.872093 | 0.30814 | 0.190099 | 0.166337 | 0.182178 | 0.766337 | 0.766337 | 0.766337 | 0.766337 | 0.766337 | 0.766337 | 0 | 0.000829 | 0.175103 | 1,462 | 55 | 73 | 26.581818 | 0.83665 | 0.100547 | 0 | 0 | 0 | 0 | 0.329008 | 0.242748 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.104167 | 0 | 0.104167 | 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 |
394c298d9897a1286f5f636ceac311e3c416584c | 38 | py | Python | smsframework_yunpian/__init__.py | vihtinsky/py-smsframework-yunpian | d965f16a5202ea1096d28fb8fa4e1dd1c3599b09 | [
"BSD-2-Clause"
] | null | null | null | smsframework_yunpian/__init__.py | vihtinsky/py-smsframework-yunpian | d965f16a5202ea1096d28fb8fa4e1dd1c3599b09 | [
"BSD-2-Clause"
] | null | null | null | smsframework_yunpian/__init__.py | vihtinsky/py-smsframework-yunpian | d965f16a5202ea1096d28fb8fa4e1dd1c3599b09 | [
"BSD-2-Clause"
] | null | null | null | from .provider import YunpianProvider
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
39530839430cc10d20b763e8c0f82b34e0cc026d | 31 | py | Python | plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/plugin/__init__.py | jkoelker/holland | b53497002b090db24fbbf0545c0683b4b727ab34 | [
"BSD-3-Clause"
] | 1 | 2019-06-06T01:07:34.000Z | 2019-06-06T01:07:34.000Z | plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/plugin/__init__.py | jkoelker/holland | b53497002b090db24fbbf0545c0683b4b727ab34 | [
"BSD-3-Clause"
] | null | null | null | plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/plugin/__init__.py | jkoelker/holland | b53497002b090db24fbbf0545c0683b4b727ab34 | [
"BSD-3-Clause"
] | 2 | 2015-12-04T12:17:59.000Z | 2022-03-23T07:22:02.000Z | from raw import MysqlLVMBackup
| 15.5 | 30 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
1a3fe6405fe577d0765e5e8ddad6772cb99b75fc | 25 | py | Python | wisdem/pymap/__init__.py | ptrbortolotti/WISDEM | 2b7e44716d022e2f62140073dd078c5deeb8bf0a | [
"Apache-2.0"
] | 3 | 2018-10-07T06:05:37.000Z | 2021-04-27T18:21:59.000Z | wisdem/pymap/__init__.py | ptrbortolotti/WISDEM | 2b7e44716d022e2f62140073dd078c5deeb8bf0a | [
"Apache-2.0"
] | 17 | 2019-09-13T22:21:15.000Z | 2019-10-25T20:04:26.000Z | wisdem/pymap/__init__.py | ptrbortolotti/WISDEM | 2b7e44716d022e2f62140073dd078c5deeb8bf0a | [
"Apache-2.0"
] | 7 | 2018-09-08T06:02:04.000Z | 2021-06-04T07:51:23.000Z | from .pymap import pyMAP
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
2018746e3fa7691c247f5e48020d95bb3b54a33f | 154 | py | Python | ltrc/ltrc/classes/manage_choices.py | iscenigmax/ltrc-registry | 86c4e52e0d76e686c39a357957af35846a8fc391 | [
"Unlicense"
] | null | null | null | ltrc/ltrc/classes/manage_choices.py | iscenigmax/ltrc-registry | 86c4e52e0d76e686c39a357957af35846a8fc391 | [
"Unlicense"
] | null | null | null | ltrc/ltrc/classes/manage_choices.py | iscenigmax/ltrc-registry | 86c4e52e0d76e686c39a357957af35846a8fc391 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python
# -*- encoding: utf-8 -*-
import datetime
def year_choices():
return [(r, r) for r in range(2015, datetime.date.today().year+1)]
| 17.111111 | 70 | 0.636364 | 24 | 154 | 4.041667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.162338 | 154 | 8 | 71 | 19.25 | 0.705426 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
649eeacad78faa5ef2ee061aef5acf00d095b8ae | 7,353 | py | Python | Train_Eval/Evaluator.py | lucasliu0928/KGDAL | a7e33515d6383763e10508db498adec36a97c97d | [
"MIT"
] | 5 | 2021-06-15T16:51:06.000Z | 2022-03-15T12:36:54.000Z | Train_Eval/Evaluator.py | lucasliu0928/KGDAL | a7e33515d6383763e10508db498adec36a97c97d | [
"MIT"
] | null | null | null | Train_Eval/Evaluator.py | lucasliu0928/KGDAL | a7e33515d6383763e10508db498adec36a97c97d | [
"MIT"
] | 1 | 2022-03-15T12:36:53.000Z | 2022-03-15T12:36:53.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 10 21:37:06 2021
@author: lucasliu
"""
import tensorflow as tf
import pandas as pd
import sys
import os
CURR_DIR = os.path.dirname(os.path.abspath("./")) #Set system path to KGDAL
sys.path.append(CURR_DIR)
from Model.LSTM_ATTonTime import My... | 63.93913 | 330 | 0.793418 | 1,096 | 7,353 | 4.976277 | 0.145985 | 0.060506 | 0.052255 | 0.052255 | 0.886322 | 0.858636 | 0.838284 | 0.831316 | 0.831316 | 0.823066 | 0 | 0.03388 | 0.096831 | 7,353 | 114 | 331 | 64.5 | 0.787381 | 0.180063 | 0 | 0.641791 | 0 | 0 | 0.063074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.119403 | 0 | 0.223881 | 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 |
64d1f7bde6417d1c3348d8f1e650930fc64a7b6c | 89 | py | Python | src/schedulers.py | pomelyu/DNNProject | 08fa94788a18c28f867c4ea46e9e18b8f65ee334 | [
"MIT"
] | null | null | null | src/schedulers.py | pomelyu/DNNProject | 08fa94788a18c28f867c4ea46e9e18b8f65ee334 | [
"MIT"
] | null | null | null | src/schedulers.py | pomelyu/DNNProject | 08fa94788a18c28f867c4ea46e9e18b8f65ee334 | [
"MIT"
] | null | null | null | from .utils.mlconfig_torch import register_torch_schedulers
register_torch_schedulers()
| 22.25 | 59 | 0.88764 | 11 | 89 | 6.727273 | 0.636364 | 0.351351 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 89 | 3 | 60 | 29.666667 | 0.891566 | 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 |
b3b75bbd90993bda8366c31f96dd021d424cee24 | 159 | py | Python | 29.operacoes_com_lista/11.reverse.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 29.operacoes_com_lista/11.reverse.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 29.operacoes_com_lista/11.reverse.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | # Reverse() -> Inverte a ordem da lista.
lista_4 = [10,9,8,7,5,6,4,2,3,1,2,3]
print(lista_4)
lista_4.reverse()
print(lista_4)
lista_4.reverse()
print(lista_4) | 19.875 | 40 | 0.698113 | 35 | 159 | 3 | 0.485714 | 0.342857 | 0.314286 | 0.304762 | 0.561905 | 0.561905 | 0.561905 | 0.561905 | 0.561905 | 0 | 0 | 0.132867 | 0.100629 | 159 | 8 | 41 | 19.875 | 0.601399 | 0.238994 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b3d7ed335364b1e88ed408644ba93e7ccb559b0e | 32 | py | Python | web/routes/views/__init__.py | coinForRich/coin-for-rich | ed7d3b0101ede3340d919d0d28c52ba6e797943e | [
"MIT"
] | 55 | 2021-09-15T04:34:13.000Z | 2022-03-20T18:11:01.000Z | web/routes/views/__init__.py | coinForRich/coin-for-rich | ed7d3b0101ede3340d919d0d28c52ba6e797943e | [
"MIT"
] | 20 | 2021-08-25T14:52:33.000Z | 2022-03-05T23:46:43.000Z | web/routes/views/__init__.py | coinForRich/coin-for-rich | ed7d3b0101ede3340d919d0d28c52ba6e797943e | [
"MIT"
] | 26 | 2021-09-15T04:51:21.000Z | 2022-02-01T04:45:08.000Z | from .views import views_router
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
3741124b4074960d4caba5f632908d6e3697f3ce | 180 | py | Python | CodeChef/LONG/FEB15/XRMTRX/a.py | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | CodeChef/LONG/FEB15/XRMTRX/a.py | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | CodeChef/LONG/FEB15/XRMTRX/a.py | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | for _ in xrange(input()):
l, r = [int(x) for x in raw_input().split()]
for i in xrange (l,r+1):
print 'row',i,'\t',
for j in xrange(l,r+1):
print i^j,'\t',
print
print
| 20 | 45 | 0.561111 | 38 | 180 | 2.605263 | 0.421053 | 0.242424 | 0.181818 | 0.20202 | 0.323232 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.216667 | 180 | 8 | 46 | 22.5 | 0.687943 | 0 | 0 | 0.25 | 0 | 0 | 0.038889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
377f369bdf1d503bfb993bedf4a04ce8b6d08efa | 238 | py | Python | FreeCodeCamp/Inheritance/Chef.py | NikiReis/Python_OOP | 8071d641f4895b28584317c0896834c354107df2 | [
"MIT"
] | null | null | null | FreeCodeCamp/Inheritance/Chef.py | NikiReis/Python_OOP | 8071d641f4895b28584317c0896834c354107df2 | [
"MIT"
] | null | null | null | FreeCodeCamp/Inheritance/Chef.py | NikiReis/Python_OOP | 8071d641f4895b28584317c0896834c354107df2 | [
"MIT"
] | null | null | null | class Chef:
def make_chicken(self):
print("The chef make a chicken")
def make_salad(self):
print("The chef makes salad")
def make_special_dish(self):
print("The chef makes a special dish") | 26.444444 | 46 | 0.605042 | 33 | 238 | 4.242424 | 0.393939 | 0.15 | 0.257143 | 0.342857 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302521 | 238 | 9 | 46 | 26.444444 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
8065311e12bb2b723b59d14d1896ade469f39d48 | 17,635 | py | Python | services/api/tests/integration/proxy_tests.py | ohsu-computational-biology/dms-aa | 4aabae8b5ada539fa010a79970093c93fbbddb01 | [
"MIT"
] | null | null | null | services/api/tests/integration/proxy_tests.py | ohsu-computational-biology/dms-aa | 4aabae8b5ada539fa010a79970093c93fbbddb01 | [
"MIT"
] | 10 | 2016-12-07T01:37:41.000Z | 2017-01-20T22:20:52.000Z | services/api/tests/integration/proxy_tests.py | ohsu-computational-biology/euler | 4aabae8b5ada539fa010a79970093c93fbbddb01 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Test proxy
"""
import urllib
import json
# assumes OS_USERNAME has access to only one project
MY_PROJECT = 'BRCA-UK'
MY_GENESET = 'GS1'
MY_GENE = 'ENSG00000141510'
def test_should_logout_ok(client, app):
"""
should respond with ok /api/v1/auth/logout
"""
headers = {'Authoriz... | 39.451902 | 123 | 0.643436 | 2,238 | 17,635 | 4.902145 | 0.105004 | 0.053322 | 0.041473 | 0.054234 | 0.819524 | 0.792271 | 0.773129 | 0.756358 | 0.734117 | 0.707775 | 0 | 0.022032 | 0.204707 | 17,635 | 446 | 124 | 39.540359 | 0.760214 | 0.09725 | 0 | 0.557432 | 0 | 0.013514 | 0.216181 | 0.079879 | 0 | 0 | 0 | 0 | 0.243243 | 1 | 0.121622 | false | 0 | 0.006757 | 0 | 0.131757 | 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 |
0382267c2695edb914ba348e76d1cb8e5c2c2550 | 2,394 | py | Python | hintcast/hintcast.py | davocarli/hintcast | 86eaba2d094ac2089f960d82e60a36a698f45f52 | [
"MIT"
] | null | null | null | hintcast/hintcast.py | davocarli/hintcast | 86eaba2d094ac2089f960d82e60a36a698f45f52 | [
"MIT"
] | null | null | null | hintcast/hintcast.py | davocarli/hintcast | 86eaba2d094ac2089f960d82e60a36a698f45f52 | [
"MIT"
] | null | null | null | from inspect import getfullargspec
from types import FunctionType
import logging
def cast_hints(*args, **kwargs):
cast_none = True
strict = False
if 'cast_none' in kwargs:
cast_none = kwargs['cast_none']
if 'strict' in kwargs:
strict = kwargs['strict']
def outer(func):
spec = getfullargspec(func)
de... | 28.5 | 92 | 0.70259 | 358 | 2,394 | 4.527933 | 0.153631 | 0.133868 | 0.133251 | 0.162862 | 0.745219 | 0.745219 | 0.745219 | 0.745219 | 0.692165 | 0.692165 | 0 | 0.001545 | 0.188805 | 2,394 | 84 | 93 | 28.5 | 0.833162 | 0 | 0 | 0.655738 | 0 | 0 | 0.16618 | 0.071816 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0.229508 | 0.04918 | 0 | 0.229508 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
03c497ca8af4bfcccb12c10d117a633216b9595b | 69 | py | Python | scripts_nbs/foobar_script.py | hainesm6-learning/Jupyter_Notebook_learning | 62ae95fe124f98f249fa8749f852b04f5aeedf1b | [
"MIT"
] | null | null | null | scripts_nbs/foobar_script.py | hainesm6-learning/Jupyter_Notebook_learning | 62ae95fe124f98f249fa8749f852b04f5aeedf1b | [
"MIT"
] | null | null | null | scripts_nbs/foobar_script.py | hainesm6-learning/Jupyter_Notebook_learning | 62ae95fe124f98f249fa8749f852b04f5aeedf1b | [
"MIT"
] | null | null | null | import sys
print(f"Hello {sys.argv[1]}. This is a python module ;)") | 23 | 57 | 0.681159 | 13 | 69 | 3.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.144928 | 69 | 3 | 57 | 23 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.671429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2094dc95de99edd89ce6800e205134c52ff969b2 | 38 | py | Python | ancilla/ancilla/foundation/node/plugins/__init__.py | frenzylabs/ancilla | 3469272f17e1a5092d033cdc099f86f3052e744f | [
"Apache-2.0"
] | 7 | 2020-03-31T19:52:59.000Z | 2021-05-21T08:38:47.000Z | ancilla/ancilla/foundation/node/plugins/__init__.py | frenzylabs/ancilla | 3469272f17e1a5092d033cdc099f86f3052e744f | [
"Apache-2.0"
] | 15 | 2020-04-01T13:52:07.000Z | 2020-04-01T13:52:11.000Z | ancilla/ancilla/foundation/node/plugins/__init__.py | frenzylabs/ancilla | 3469272f17e1a5092d033cdc099f86f3052e744f | [
"Apache-2.0"
] | null | null | null | from .layerkeep import LayerkeepPlugin | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
45cef31f6a84e8196c546026701213aa11096bf9 | 28,958 | py | Python | tests/test_api.py | rdas1/TravelKit-Backend | 131921258188defeb6edf970c71e807525de9dd2 | [
"MIT"
] | null | null | null | tests/test_api.py | rdas1/TravelKit-Backend | 131921258188defeb6edf970c71e807525de9dd2 | [
"MIT"
] | null | null | null | tests/test_api.py | rdas1/TravelKit-Backend | 131921258188defeb6edf970c71e807525de9dd2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import json
import unittest
from flask import url_for
from flask_testing import TestCase
from flask_login import login_user
from app import create_app, db
from app.models import User, Todo, TodoList
class TodolistAPITestCase(TestCase):
def create_app(self):
return create_app('t... | 39.345109 | 79 | 0.613302 | 3,316 | 28,958 | 5.085344 | 0.049759 | 0.056929 | 0.078634 | 0.039851 | 0.88282 | 0.858092 | 0.843088 | 0.806855 | 0.772757 | 0.73943 | 0 | 0.013323 | 0.276849 | 28,958 | 735 | 80 | 39.398639 | 0.791939 | 0.015333 | 0 | 0.658291 | 0 | 0 | 0.112062 | 0.032559 | 0 | 0 | 0 | 0.001361 | 0.197655 | 1 | 0.110553 | false | 0.020101 | 0.011725 | 0.00335 | 0.137353 | 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 |
45e6bee10dae333a0858479bb54c712eb59e3832 | 6,189 | py | Python | tests/unit/test_exceptions.py | t20100/pip | 9cf35b25e25a47b41480d5b2dc82b8ebd1eeb6a0 | [
"MIT"
] | 1 | 2021-12-08T19:50:41.000Z | 2021-12-08T19:50:41.000Z | tests/unit/test_exceptions.py | t20100/pip | 9cf35b25e25a47b41480d5b2dc82b8ebd1eeb6a0 | [
"MIT"
] | null | null | null | tests/unit/test_exceptions.py | t20100/pip | 9cf35b25e25a47b41480d5b2dc82b8ebd1eeb6a0 | [
"MIT"
] | null | null | null | """Tests the presentation style of exceptions."""
import textwrap
import pytest
from pip._internal.exceptions import DiagnosticPipError
class TestDiagnosticPipErrorCreation:
def test_fails_without_reference(self) -> None:
class DerivedError(DiagnosticPipError):
pass
with pytest.rai... | 28.920561 | 87 | 0.536597 | 629 | 6,189 | 5.165342 | 0.147854 | 0.019698 | 0.029548 | 0.071407 | 0.868883 | 0.80948 | 0.748846 | 0.748846 | 0.719298 | 0.719298 | 0 | 0.000254 | 0.36274 | 6,189 | 213 | 88 | 29.056338 | 0.823529 | 0.006948 | 0 | 0.552846 | 0 | 0 | 0.21234 | 0.004953 | 0 | 0 | 0 | 0 | 0.113821 | 1 | 0.097561 | false | 0.01626 | 0.02439 | 0 | 0.170732 | 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 |
b30bb2218c19e7f10854fdf02cb93b4dcb245063 | 529 | py | Python | the_platform/views.py | Thames1990/BadBatBets | 8dffb69561668b8991bf4103919e4b254d4ca56a | [
"MIT"
] | null | null | null | the_platform/views.py | Thames1990/BadBatBets | 8dffb69561668b8991bf4103919e4b254d4ca56a | [
"MIT"
] | null | null | null | the_platform/views.py | Thames1990/BadBatBets | 8dffb69561668b8991bf4103919e4b254d4ca56a | [
"MIT"
] | null | null | null | from django.shortcuts import render
from profiles.util import user_authenticated
def error403(request):
return render(request, 'the_platform/403.html', {
'user_authenticated': user_authenticated(request.user)
})
def error404(request):
return render(request, 'the_platform/404.html', {
'u... | 24.045455 | 62 | 0.718336 | 59 | 529 | 6.271186 | 0.355932 | 0.321622 | 0.154054 | 0.210811 | 0.713514 | 0.713514 | 0.413514 | 0.281081 | 0 | 0 | 0 | 0.041002 | 0.170132 | 529 | 21 | 63 | 25.190476 | 0.801822 | 0 | 0 | 0.428571 | 0 | 0 | 0.221172 | 0.119093 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.214286 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b35a597c9bba7640cb0c97538ba3f521dec7cf4c | 39 | py | Python | pyemma/_base/progress/__init__.py | trendelkampschroer/PyEMMA | ee5784d5c1c5bc070fe2e9e6ad4f24b36185dc20 | [
"BSD-2-Clause"
] | 1 | 2020-01-21T16:55:38.000Z | 2020-01-21T16:55:38.000Z | pyemma/_base/progress/__init__.py | trendelkampschroer/PyEMMA | ee5784d5c1c5bc070fe2e9e6ad4f24b36185dc20 | [
"BSD-2-Clause"
] | 1 | 2022-01-10T18:09:25.000Z | 2022-01-10T18:09:25.000Z | pyemma/_base/progress/__init__.py | clonker/PyEMMA | a36534ce2ec6a799428dfbdef0465c979e6c68aa | [
"BSD-2-Clause"
] | null | null | null | from .reporter import ProgressReporter
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
b364b5d3e8ca67d92e0f8b39dc17fdb127aadfa5 | 116 | py | Python | arc085_a.py | hythof/atc | 12cb94ebe693e1f469ce0d982bc2924b586552cd | [
"CC0-1.0"
] | null | null | null | arc085_a.py | hythof/atc | 12cb94ebe693e1f469ce0d982bc2924b586552cd | [
"CC0-1.0"
] | null | null | null | arc085_a.py | hythof/atc | 12cb94ebe693e1f469ce0d982bc2924b586552cd | [
"CC0-1.0"
] | null | null | null | n,m = [int(x) for x in open(0).read().split()]
# (1900M+100(N-M))/(1/2^M)
print(int(((1900*m+100*(n-m))/(1/2**m))))
| 29 | 46 | 0.517241 | 28 | 116 | 2.142857 | 0.571429 | 0.1 | 0.166667 | 0.2 | 0.266667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 0.086207 | 116 | 3 | 47 | 38.666667 | 0.386792 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.