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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d793f7eed23a8e32819461276be9643de946e28 | 54 | py | Python | acmicpc/3053/3053.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 3 | 2019-03-09T05:19:23.000Z | 2019-04-06T09:26:36.000Z | acmicpc/3053/3053.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2020-02-23T10:38:04.000Z | 2020-02-23T10:38:04.000Z | acmicpc/3053/3053.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2019-05-22T13:47:53.000Z | 2019-05-22T13:47:53.000Z | n=int(input())**2
print(n*3.14159265359)
print(n*2.0)
| 13.5 | 22 | 0.666667 | 12 | 54 | 3 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.055556 | 54 | 3 | 23 | 18 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
6d8309d0525efb522da2ea48d66f0b90afb3437e | 83 | py | Python | exe.curso em video/Aula 11.py | Lorenzo-Lopes/Python-Estudo | 7ee623ce29b6a0e9fac48189fbd9c641be84d418 | [
"MIT"
] | null | null | null | exe.curso em video/Aula 11.py | Lorenzo-Lopes/Python-Estudo | 7ee623ce29b6a0e9fac48189fbd9c641be84d418 | [
"MIT"
] | null | null | null | exe.curso em video/Aula 11.py | Lorenzo-Lopes/Python-Estudo | 7ee623ce29b6a0e9fac48189fbd9c641be84d418 | [
"MIT"
] | null | null | null | print('oi')
n = int(input('\033[4;34;43mteste\033[1;31;47m /033[0;0;0m'))
print(n)
| 20.75 | 61 | 0.626506 | 19 | 83 | 2.736842 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.072289 | 83 | 3 | 62 | 27.666667 | 0.38961 | 0 | 0 | 0 | 0 | 0.333333 | 0.542169 | 0.373494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6d848008106f98d262699428afcc5f1eeb492c0f | 100 | py | Python | src/main.py | StephenGemin/discord-bot | b85254b0f1fdf5e1415d2ee026601e7557c73856 | [
"MIT"
] | null | null | null | src/main.py | StephenGemin/discord-bot | b85254b0f1fdf5e1415d2ee026601e7557c73856 | [
"MIT"
] | null | null | null | src/main.py | StephenGemin/discord-bot | b85254b0f1fdf5e1415d2ee026601e7557c73856 | [
"MIT"
] | null | null | null | from discord_bot.view import start_discord_bot
if __name__ == "__main__":
start_discord_bot()
| 16.666667 | 46 | 0.77 | 14 | 100 | 4.571429 | 0.642857 | 0.46875 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 47 | 20 | 0.752941 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
099b402200da1c4ee1d94cd464ea8b0137f56001 | 62 | py | Python | scrapers/lords/__init__.py | spudmind/spud | 86e44bca4efd3cd6358467e1511048698a45edbc | [
"MIT"
] | 2 | 2015-04-11T12:22:41.000Z | 2016-08-18T11:12:06.000Z | scrapers/lords/__init__.py | spudmind/spud | 86e44bca4efd3cd6358467e1511048698a45edbc | [
"MIT"
] | 84 | 2015-01-22T14:33:49.000Z | 2015-04-01T23:15:29.000Z | scrapers/lords/__init__.py | spudmind/spud | 86e44bca4efd3cd6358467e1511048698a45edbc | [
"MIT"
] | 1 | 2015-04-16T03:10:39.000Z | 2015-04-16T03:10:39.000Z | from fetch_lords import fetch
from scrape_lords import scrape
| 20.666667 | 31 | 0.870968 | 10 | 62 | 5.2 | 0.5 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 32 | 31 | 0.962963 | 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 |
61eda79cd22fed4633d1aff056fe430f646f69a4 | 14,712 | py | Python | difi/tests/test_metrics.py | moeyensj/difi | 4108ee93f35030174eb456b9e5a8a2e9cbbd04a0 | [
"BSD-3-Clause"
] | 1 | 2019-02-14T20:10:44.000Z | 2019-02-14T20:10:44.000Z | difi/tests/test_metrics.py | moeyensj/difi | 4108ee93f35030174eb456b9e5a8a2e9cbbd04a0 | [
"BSD-3-Clause"
] | 22 | 2019-02-06T22:22:20.000Z | 2021-05-12T17:13:21.000Z | difi/tests/test_metrics.py | moeyensj/difi | 4108ee93f35030174eb456b9e5a8a2e9cbbd04a0 | [
"BSD-3-Clause"
] | 1 | 2020-10-05T05:02:26.000Z | 2020-10-05T05:02:26.000Z | import pytest
import numpy as np
import pandas as pd
from pandas.testing import assert_frame_equal
from ..metrics import calcFindableMinObs
from ..metrics import calcFindableNightlyLinkages
from .create_test_data import createTestDataSet
MIN_OBS = range(5, 10)
def test_calcFindableMinObs():
### Test calcFindabl... | 49.04 | 185 | 0.688146 | 1,921 | 14,712 | 5.078605 | 0.100469 | 0.134481 | 0.046125 | 0.077798 | 0.818573 | 0.797765 | 0.758303 | 0.758303 | 0.74836 | 0.73811 | 0 | 0.06111 | 0.214723 | 14,712 | 300 | 186 | 49.04 | 0.783346 | 0.321438 | 0 | 0.679245 | 0 | 0 | 0.077406 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 1 | 0.012579 | false | 0 | 0.044025 | 0 | 0.069182 | 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 |
11027a164698ede72d76475d8fdffe56acba203c | 182 | py | Python | quran/usecase/image/find_image.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | quran/usecase/image/find_image.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | quran/usecase/image/find_image.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | class FindImage:
def __init__(self, image_repo):
self.image_repo = image_repo
def by_ayah_id(self, ayah_id):
return self.image_repo.find_by_ayah_id(ayah_id) | 26 | 55 | 0.708791 | 29 | 182 | 3.931034 | 0.413793 | 0.315789 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 182 | 7 | 55 | 26 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
1141e514f4e00f71b3246547bc4756e21bd24313 | 28 | py | Python | _lib/godot/bindings/tools.py | WilliamTambellini/godopy | 7b4142ddf7acafa66e1b2b201afa5fa37a4c7f4e | [
"MIT"
] | 30 | 2020-02-09T22:30:06.000Z | 2022-01-26T04:23:09.000Z | _lib/godot/bindings/tools.py | WilliamTambellini/godopy | 7b4142ddf7acafa66e1b2b201afa5fa37a4c7f4e | [
"MIT"
] | 1 | 2020-10-12T04:12:52.000Z | 2020-12-19T07:07:51.000Z | _lib/godot/bindings/tools.py | WilliamTambellini/godopy | 7b4142ddf7acafa66e1b2b201afa5fa37a4c7f4e | [
"MIT"
] | 5 | 2020-02-10T02:49:13.000Z | 2021-01-25T18:18:16.000Z | from .python.tools import *
| 14 | 27 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
114d5755227d7f7b11bfb088254c63c839d57ab7 | 123 | py | Python | Section10_Facade/Practice/Generator.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | 1 | 2020-10-20T07:41:51.000Z | 2020-10-20T07:41:51.000Z | Section10_Facade/Practice/Generator.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | Section10_Facade/Practice/Generator.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | from random import randint
class Generator:
def generate(self, count):
return [randint(1,9) for x in range(count)]
| 17.571429 | 47 | 0.715447 | 19 | 123 | 4.631579 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.186992 | 123 | 6 | 48 | 20.5 | 0.86 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3a2c4c2999dcc761298d4f451a078adf13eba7a0 | 149 | py | Python | pygem/tests/test_basics.py | lilianschuster/PyGEM | c805d09960f937fe6e35cdd1587f9089d4bec6b8 | [
"MIT"
] | 25 | 2019-06-12T21:08:24.000Z | 2022-03-01T08:05:14.000Z | pygem/tests/test_basics.py | lilianschuster/PyGEM | c805d09960f937fe6e35cdd1587f9089d4bec6b8 | [
"MIT"
] | 2 | 2020-04-23T14:08:00.000Z | 2020-06-04T13:52:44.000Z | pygem/tests/test_basics.py | lilianschuster/PyGEM | c805d09960f937fe6e35cdd1587f9089d4bec6b8 | [
"MIT"
] | 24 | 2019-06-12T19:48:40.000Z | 2022-02-16T03:42:53.000Z | import pygem
def test_version_string():
# simple test to check that the verion number is available
assert type(pygem.__version__ ) == str
| 18.625 | 62 | 0.731544 | 21 | 149 | 4.904762 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208054 | 149 | 7 | 63 | 21.285714 | 0.872881 | 0.375839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e90fdc92d0651cb3d0b6aeb5b5752a662b2453ba | 13,225 | py | Python | model_dropout.py | soufiomario/keras-cnn | 6ba72bf89dfc746d8a30634219160843b16c5fb8 | [
"CC0-1.0"
] | 5 | 2020-03-18T09:33:17.000Z | 2022-03-20T15:19:18.000Z | model_dropout.py | soufiomario/keras-cnn | 6ba72bf89dfc746d8a30634219160843b16c5fb8 | [
"CC0-1.0"
] | 1 | 2021-09-07T14:47:07.000Z | 2021-09-07T14:47:44.000Z | model_dropout.py | soufiomario/keras-cnn | 6ba72bf89dfc746d8a30634219160843b16c5fb8 | [
"CC0-1.0"
] | 11 | 2020-02-14T04:15:51.000Z | 2021-12-11T12:31:38.000Z | import keras
from keras.datasets import cifar10
from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten
from keras.layers import Conv2D, MaxPooling2D
from keras import backend as K
from keras.constraints import max_norm
# Model configuration
img_width, img_height = 32, 32
batch_siz... | 49.163569 | 164 | 0.733837 | 1,891 | 13,225 | 4.927552 | 0.088842 | 0.115905 | 0.089719 | 0.122773 | 0.807684 | 0.795235 | 0.79223 | 0.783859 | 0.775059 | 0.757244 | 0 | 0.078243 | 0.092552 | 13,225 | 269 | 165 | 49.163569 | 0.698192 | 0.785633 | 0 | 0.08 | 0 | 0 | 0.050758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.14 | 0 | 0.14 | 0.02 | 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 |
e927b0dfc553dadb3b4e6922e4c7c716d582e644 | 1,417 | py | Python | tests/test_a0095uniquebinarysearchtreesii.py | nirofang/pyleet | 600d58ad97028c9a14148af4ef468683a011a515 | [
"MIT"
] | 3 | 2019-11-06T13:10:38.000Z | 2021-11-17T07:29:54.000Z | tests/test_a0095uniquebinarysearchtreesii.py | nirofang/pyleet | 600d58ad97028c9a14148af4ef468683a011a515 | [
"MIT"
] | 1 | 2020-12-17T22:18:05.000Z | 2020-12-17T22:18:05.000Z | tests/test_a0095uniquebinarysearchtreesii.py | nirofang/pyleet | 600d58ad97028c9a14148af4ef468683a011a515 | [
"MIT"
] | 1 | 2019-11-06T13:10:45.000Z | 2019-11-06T13:10:45.000Z | from solutions.a0095uniquebinarysearchtreesii import Solution
from utils.tree.TreeNode import TreeNode
import json
solution = Solution()
# def test_generateTrees1():
# n = 3
# expect = sorted([TreeNode.integerListToString(nums) for nums in [
# [1, None, 3, 2],
# [3, 2, None, 1],
# [3, 1, None, None,... | 29.520833 | 116 | 0.685251 | 180 | 1,417 | 5.372222 | 0.183333 | 0.086867 | 0.204757 | 0.229576 | 0.750776 | 0.724922 | 0.724922 | 0.724922 | 0.671148 | 0.507756 | 0 | 0.027444 | 0.177135 | 1,417 | 47 | 117 | 30.148936 | 0.801887 | 0.304869 | 0 | 0.458333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e94363fca85ee7931d530cd96b67366486d585e0 | 216 | py | Python | src/common/new_user_creation.py | gruyaume/my-blockchain | 283f5ef0c8c09eff0478dfead3950c720cda2882 | [
"Apache-2.0"
] | 4 | 2021-11-14T17:16:03.000Z | 2022-03-17T21:01:42.000Z | src/common/new_user_creation.py | gruyaume/my-blockchain | 283f5ef0c8c09eff0478dfead3950c720cda2882 | [
"Apache-2.0"
] | null | null | null | src/common/new_user_creation.py | gruyaume/my-blockchain | 283f5ef0c8c09eff0478dfead3950c720cda2882 | [
"Apache-2.0"
] | 5 | 2021-07-30T14:27:37.000Z | 2021-12-15T12:08:46.000Z | from common.owner import Owner
owner = Owner()
print(f"private key: {owner.private_key.export_key(format='DER')}")
print(f"public key hash: {owner.public_key_hash}")
print(f"public key hex: {owner.public_key_hex}")
| 30.857143 | 67 | 0.75463 | 36 | 216 | 4.361111 | 0.388889 | 0.229299 | 0.152866 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087963 | 216 | 6 | 68 | 36 | 0.796954 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.412037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3a6858d2ab63ec58a60118a8aa3ec8637f6fb6b9 | 102 | py | Python | core/crawler/crawl.py | abdallah-elsharif/WRock | 7cfd4bf29e932bf0048ee357c16cf6c021e7fb81 | [
"MIT"
] | 14 | 2022-03-13T19:51:24.000Z | 2022-03-18T07:36:39.000Z | core/crawler/crawl.py | abdallah-elsharif/WRock | 7cfd4bf29e932bf0048ee357c16cf6c021e7fb81 | [
"MIT"
] | null | null | null | core/crawler/crawl.py | abdallah-elsharif/WRock | 7cfd4bf29e932bf0048ee357c16cf6c021e7fb81 | [
"MIT"
] | 3 | 2022-03-14T05:58:06.000Z | 2022-03-14T11:46:47.000Z |
from core.crawler.crawler import WebCrawler
def crawl(config):
return WebCrawler(config).Start() | 20.4 | 43 | 0.77451 | 13 | 102 | 6.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 5 | 44 | 20.4 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3a92f8edda04a6262981d6d6424b66f06b3a8120 | 157 | py | Python | src/frontend/controllers/kitchen.py | arnulfojr/simple-pos | 119c4c52bf62f52004f4b2b031098ed71890d250 | [
"MIT"
] | 1 | 2018-09-11T19:32:25.000Z | 2018-09-11T19:32:25.000Z | src/frontend/controllers/kitchen.py | arnulfojr/simple-pos | 119c4c52bf62f52004f4b2b031098ed71890d250 | [
"MIT"
] | null | null | null | src/frontend/controllers/kitchen.py | arnulfojr/simple-pos | 119c4c52bf62f52004f4b2b031098ed71890d250 | [
"MIT"
] | null | null | null |
from flask import render_template
from .. import app
@app.route('/kitchen/', methods=['GET'])
def render_kitchen_view():
return render_template('')
| 14.272727 | 40 | 0.707006 | 20 | 157 | 5.35 | 0.65 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 157 | 10 | 41 | 15.7 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0.077419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
3ac71ae0feb98dfe47ceb8f67c4588c0520d9ece | 230 | py | Python | wazimap_ng/points/admin/__init__.py | arghyaiitb/wazimap-ng | 2a77860526d865b8fd0c22a2204f121fdb3b28a0 | [
"Apache-2.0"
] | 11 | 2019-12-31T20:27:22.000Z | 2022-03-10T03:55:38.000Z | wazimap_ng/points/admin/__init__.py | arghyaiitb/wazimap-ng | 2a77860526d865b8fd0c22a2204f121fdb3b28a0 | [
"Apache-2.0"
] | 164 | 2020-02-06T15:02:22.000Z | 2022-03-30T22:42:00.000Z | wazimap_ng/points/admin/__init__.py | arghyaiitb/wazimap-ng | 2a77860526d865b8fd0c22a2204f121fdb3b28a0 | [
"Apache-2.0"
] | 16 | 2020-01-03T20:30:24.000Z | 2022-01-11T11:05:15.000Z | from .theme_admin import ThemeAdmin
from .location_admin import LocationAdmin
from .profilecategory_admin import ProfileCategoryAdmin
from .category_admin import CategoryAdmin
from .coordinate_file_admin import CoordinateFileAdmin | 46 | 55 | 0.895652 | 26 | 230 | 7.692308 | 0.538462 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082609 | 230 | 5 | 56 | 46 | 0.947867 | 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 |
3af33daab91cbdd24da8da2beb3ea99484b254b8 | 23 | py | Python | PyColored/__init__.py | MrHedryX/PyColours | b1363f7354ad938343cf8953ebffe0479aa7a4f6 | [
"MIT"
] | null | null | null | PyColored/__init__.py | MrHedryX/PyColours | b1363f7354ad938343cf8953ebffe0479aa7a4f6 | [
"MIT"
] | null | null | null | PyColored/__init__.py | MrHedryX/PyColours | b1363f7354ad938343cf8953ebffe0479aa7a4f6 | [
"MIT"
] | null | null | null | from .colours import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaf1c6fe8814afe42f0c78715a2b16a28f4063c4 | 169 | py | Python | ggpy/cruft/autocode/Event.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | 1 | 2015-01-26T19:07:45.000Z | 2015-01-26T19:07:45.000Z | ggpy/cruft/autocode/Event.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | null | null | null | ggpy/cruft/autocode/Event.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
""" generated source for module Event """
# package: org.ggp.base.util.observer
class Event(object):
""" generated source for class Event """
| 24.142857 | 44 | 0.692308 | 23 | 169 | 5.086957 | 0.73913 | 0.25641 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 169 | 6 | 45 | 28.166667 | 0.818182 | 0.739645 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c92db475a620b89f1b7440b904315aef1e24579d | 93 | py | Python | data/__init__.py | ssydasheng/Neural-Kernel-Network | 2b1540f20445e05705769cfd5808d2810eac8a4f | [
"MIT"
] | 67 | 2018-07-03T14:01:08.000Z | 2021-11-08T10:40:55.000Z | data/__init__.py | ssydasheng/Neural-Kernel-Network | 2b1540f20445e05705769cfd5808d2810eac8a4f | [
"MIT"
] | 1 | 2019-10-13T12:33:42.000Z | 2019-10-15T07:14:51.000Z | data/__init__.py | ssydasheng/Neural-Kernel-Network | 2b1540f20445e05705769cfd5808d2810eac8a4f | [
"MIT"
] | 8 | 2018-07-04T18:57:40.000Z | 2020-07-31T11:14:11.000Z | from .register import *
from .hparams import *
from .data import *
from .timeSeries import *
| 18.6 | 25 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 26 | 23.25 | 0.896104 | 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 |
a3415feadfd677e09cc64c4cb3f96e2fa0a9a1ea | 160 | py | Python | fuzzyfloat/types.py | keystonetowersystems/fuzzyfloat | 551f324180d1b107149e3d3d3b8076f6397cdfb3 | [
"MIT"
] | null | null | null | fuzzyfloat/types.py | keystonetowersystems/fuzzyfloat | 551f324180d1b107149e3d3d3b8076f6397cdfb3 | [
"MIT"
] | null | null | null | fuzzyfloat/types.py | keystonetowersystems/fuzzyfloat | 551f324180d1b107149e3d3d3b8076f6397cdfb3 | [
"MIT"
] | null | null | null | from .meta import FuzzyFloatMeta
class rel_fp(metaclass=FuzzyFloatMeta):
pass
class abs_fp(metaclass=FuzzyFloatMeta, rel_tol=0.0, atol=1e-07):
pass
| 16 | 64 | 0.75625 | 23 | 160 | 5.130435 | 0.652174 | 0.186441 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.15 | 160 | 9 | 65 | 17.777778 | 0.830882 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6e6f48fa31ca0cb89aadc6b7b4522a4dc7f65a98 | 251 | py | Python | sdk/lusid_configuration/api/__init__.py | finbourne/lusid-configuration-sdk-python-preview | f9ed2bc71042ce1b6f85baf62c9f6603150000dc | [
"MIT"
] | null | null | null | sdk/lusid_configuration/api/__init__.py | finbourne/lusid-configuration-sdk-python-preview | f9ed2bc71042ce1b6f85baf62c9f6603150000dc | [
"MIT"
] | null | null | null | sdk/lusid_configuration/api/__init__.py | finbourne/lusid-configuration-sdk-python-preview | f9ed2bc71042ce1b6f85baf62c9f6603150000dc | [
"MIT"
] | 1 | 2021-12-09T18:53:23.000Z | 2021-12-09T18:53:23.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from lusid_configuration.api.application_metadata_api import ApplicationMetadataApi
from lusid_configuration.api.configuration_sets_api import ConfigurationSetsApi
| 31.375 | 83 | 0.880478 | 30 | 251 | 7 | 0.566667 | 0.085714 | 0.209524 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.091633 | 251 | 7 | 84 | 35.857143 | 0.916667 | 0.163347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6eb6377c66738d2e3e66614c58f3bc58e7ec6530 | 1,353 | py | Python | app/core/forms.py | mihalw28/book_manager | 553397a4c25e5f90a02bd794722f77b423c346e5 | [
"MIT"
] | 1 | 2020-04-22T18:05:14.000Z | 2020-04-22T18:05:14.000Z | app/core/forms.py | mihalw28/book_manager | 553397a4c25e5f90a02bd794722f77b423c346e5 | [
"MIT"
] | null | null | null | app/core/forms.py | mihalw28/book_manager | 553397a4c25e5f90a02bd794722f77b423c346e5 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import IntegerField, StringField, SubmitField, TextAreaField
from wtforms.validators import DataRequired, InputRequired, ValidationError
class AddBookForm(FlaskForm):
title = StringField("Title", validators=[DataRequired()])
author = StringField("Author", va... | 45.1 | 77 | 0.700665 | 144 | 1,353 | 6.506944 | 0.333333 | 0.059765 | 0.055496 | 0.064034 | 0.770544 | 0.770544 | 0.770544 | 0.770544 | 0.770544 | 0.770544 | 0 | 0.00365 | 0.189948 | 1,353 | 29 | 78 | 46.655172 | 0.851277 | 0.080562 | 0 | 0.666667 | 0 | 0 | 0.142027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.142857 | 0 | 0.809524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
42fe7e20aa1719e1564e1e8a7b24964f711a720d | 48,427 | py | Python | heat_cfntools/tests/test_cfn_helper.py | citrix-openstack-build/heat-cfntools | 8ef88a6e864fa49cdc6dda9b1c701a29e0557253 | [
"Apache-2.0"
] | null | null | null | heat_cfntools/tests/test_cfn_helper.py | citrix-openstack-build/heat-cfntools | 8ef88a6e864fa49cdc6dda9b1c701a29e0557253 | [
"Apache-2.0"
] | null | null | null | heat_cfntools/tests/test_cfn_helper.py | citrix-openstack-build/heat-cfntools | 8ef88a6e864fa49cdc6dda9b1c701a29e0557253 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2013 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | 37.080398 | 77 | 0.574803 | 5,261 | 48,427 | 5.110815 | 0.089717 | 0.01562 | 0.018224 | 0.028117 | 0.819213 | 0.786968 | 0.74762 | 0.72683 | 0.708346 | 0.695701 | 0 | 0.011802 | 0.282611 | 48,427 | 1,305 | 78 | 37.108812 | 0.762154 | 0.036385 | 0 | 0.671815 | 0 | 0.007722 | 0.190949 | 0.0427 | 0 | 0 | 0 | 0 | 0.092664 | 1 | 0.062741 | false | 0.003861 | 0.009653 | 0.002896 | 0.084942 | 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 |
6e12bf3c6a96788f08fd718e490c142c0c3be633 | 1,259 | py | Python | ffprobe/FFVideoFrame.py | ifij775/ffprobe-python | 73868263717825b08345446f2dc90bc8011a7624 | [
"MIT"
] | null | null | null | ffprobe/FFVideoFrame.py | ifij775/ffprobe-python | 73868263717825b08345446f2dc90bc8011a7624 | [
"MIT"
] | null | null | null | ffprobe/FFVideoFrame.py | ifij775/ffprobe-python | 73868263717825b08345446f2dc90bc8011a7624 | [
"MIT"
] | null | null | null | from ffprobe.FFFrame import FFFrame
class FFVideoFrame(FFFrame):
def width(self):
return int(self._data['width'])
def height(self):
return int(self._data['height'])
def frame_size(self):
return (self.width(), self.height())
def pixel_format(self):
return self._data['pix_... | 34.972222 | 56 | 0.661636 | 162 | 1,259 | 4.839506 | 0.253086 | 0.204082 | 0.214286 | 0.252551 | 0.257653 | 0.086735 | 0.086735 | 0 | 0 | 0 | 0 | 0.003015 | 0.20969 | 1,259 | 35 | 57 | 35.971429 | 0.784925 | 0 | 0 | 0 | 0 | 0 | 0.158062 | 0.017474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0 | 0.029412 | 0.470588 | 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 |
282e93476958c14847d0387442847c1084f198d0 | 10,691 | py | Python | astm/tests/test_client.py | Iskander1b/python-astm | 606a77407e59c2f2dd12d65a7b2d2e3c141ad8d9 | [
"BSD-3-Clause"
] | 38 | 2015-06-11T06:43:02.000Z | 2022-03-01T18:21:07.000Z | astm/tests/test_client.py | Iskander1b/python-astm | 606a77407e59c2f2dd12d65a7b2d2e3c141ad8d9 | [
"BSD-3-Clause"
] | 7 | 2016-08-12T10:16:34.000Z | 2021-02-11T15:43:34.000Z | astm/tests/test_client.py | Iskander1b/python-astm | 606a77407e59c2f2dd12d65a7b2d2e3c141ad8d9 | [
"BSD-3-Clause"
] | 39 | 2015-08-10T16:49:33.000Z | 2021-12-26T10:27:07.000Z | # -*- coding: utf-8 -*-
#
# Copyright (C) 2012 Alexander Shorin
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
import unittest
from astm import codec
from astm import constants
from astm.exceptions import NotAccept... | 30.286119 | 69 | 0.55542 | 1,251 | 10,691 | 4.603517 | 0.138289 | 0.077791 | 0.085952 | 0.173468 | 0.76489 | 0.730682 | 0.717659 | 0.712971 | 0.693697 | 0.653238 | 0 | 0.026376 | 0.308484 | 10,691 | 352 | 70 | 30.372159 | 0.752604 | 0.018614 | 0 | 0.745033 | 0 | 0 | 0.041973 | 0.008013 | 0 | 0 | 0 | 0 | 0.241722 | 1 | 0.149007 | false | 0.006623 | 0.019868 | 0.003311 | 0.192053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 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 |
9544ea04693dd462ba5326ad18ba1eb6b2058f6a | 35,662 | py | Python | tests/test_query.py | Yiling-J/pharos | a6dd80bd7c0475d78e6490735e3e5fd6eebc28c5 | [
"BSD-3-Clause"
] | 1 | 2021-12-03T16:28:41.000Z | 2021-12-03T16:28:41.000Z | tests/test_query.py | Yiling-J/pharos | a6dd80bd7c0475d78e6490735e3e5fd6eebc28c5 | [
"BSD-3-Clause"
] | 14 | 2021-04-08T14:16:27.000Z | 2021-05-24T15:15:11.000Z | tests/test_query.py | Yiling-J/pharos | a6dd80bd7c0475d78e6490735e3e5fd6eebc28c5 | [
"BSD-3-Clause"
] | null | null | null | import yaml
from unittest import TestCase, mock
from jinja2 import PackageLoader, Environment, FileSystemLoader
from kubernetes.dynamic import exceptions as api_exceptions
from pharos import models, fields, exceptions, lookups, backend, jinja
from pharos.jinja import to_yaml
from pharos.backend import TemplateBackend
... | 35.877264 | 103 | 0.51517 | 3,235 | 35,662 | 5.527975 | 0.070788 | 0.044903 | 0.037578 | 0.049432 | 0.812783 | 0.776939 | 0.745736 | 0.731701 | 0.710563 | 0.686126 | 0 | 0.010455 | 0.34827 | 35,662 | 993 | 104 | 35.913394 | 0.758971 | 0.003898 | 0 | 0.57461 | 0 | 0 | 0.144402 | 0.02379 | 0 | 0 | 0 | 0 | 0.053452 | 1 | 0.044543 | false | 0 | 0.007795 | 0.004454 | 0.091314 | 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 |
959f6e1cc40b940116e8a1e57c955d1368605067 | 58 | py | Python | __init__.py | hoefkensj/reroot | 890e6086272577d599ced9fe52ddac1bfce60d85 | [
"Unlicense"
] | null | null | null | __init__.py | hoefkensj/reroot | 890e6086272577d599ced9fe52ddac1bfce60d85 | [
"Unlicense"
] | null | null | null | __init__.py | hoefkensj/reroot | 890e6086272577d599ced9fe52ddac1bfce60d85 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
from . import main
from . import cfg | 19.333333 | 21 | 0.724138 | 10 | 58 | 4.2 | 0.8 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 3 | 22 | 19.333333 | 0.857143 | 0.344828 | 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 |
252201a349373fe37cf0e804e0412ea1052bd627 | 236 | py | Python | pages/urls.py | Louis86/ecommerce | d47f13bfe4772b33a9cb6b8ec08183525fc4655d | [
"MIT"
] | null | null | null | pages/urls.py | Louis86/ecommerce | d47f13bfe4772b33a9cb6b8ec08183525fc4655d | [
"MIT"
] | null | null | null | pages/urls.py | Louis86/ecommerce | d47f13bfe4772b33a9cb6b8ec08183525fc4655d | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
#add parmelink
urlpatterns = [
path('', views.index, name='index'),
#path('', views.index, {'pagename':''}, name='home'),
#path('<str:pagename>', views.index, name='index')
]
| 26.222222 | 57 | 0.631356 | 29 | 236 | 5.137931 | 0.482759 | 0.201342 | 0.187919 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 236 | 8 | 58 | 29.5 | 0.745 | 0.483051 | 0 | 0 | 0 | 0 | 0.042017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
25457beb1e16b4da6d66c068294d2ffd7aad3767 | 16,530 | py | Python | AuxillaryFunctions/GWASPlots.py | daverblair/CrypticPhenotypeAnalysisScripts | 0d722f079549ac68b7863ac885f7295d236806b0 | [
"MIT"
] | null | null | null | AuxillaryFunctions/GWASPlots.py | daverblair/CrypticPhenotypeAnalysisScripts | 0d722f079549ac68b7863ac885f7295d236806b0 | [
"MIT"
] | null | null | null | AuxillaryFunctions/GWASPlots.py | daverblair/CrypticPhenotypeAnalysisScripts | 0d722f079549ac68b7863ac885f7295d236806b0 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from scipy.stats.mstats import mquantiles
from scipy.stats import spearmanr,chi2,beta
import matplotlib.pyplot as plt
from matplotlib import cm
import seaborn as sns
sns.set(context='talk',color_codes=True,style='ticks',font='Arial',font_scale=2,rc={'axes.linewidth':5,"font.weigh... | 54.554455 | 308 | 0.691773 | 2,768 | 16,530 | 3.873194 | 0.092486 | 0.040295 | 0.018468 | 0.013432 | 0.842925 | 0.819886 | 0.81373 | 0.808507 | 0.798246 | 0.794609 | 0 | 0.045375 | 0.133394 | 16,530 | 302 | 309 | 54.735099 | 0.703037 | 0.009316 | 0 | 0.69163 | 0 | 0 | 0.061317 | 0.001832 | 0 | 0 | 0 | 0 | 0.004405 | 1 | 0.017621 | false | 0 | 0.030837 | 0 | 0.070485 | 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 |
c2812c4acc0e3d78a5fbc26ae842cc83cc6fc435 | 40 | py | Python | double_debias/__init__.py | joe5saia/double_debias | d01ad21c1c5ca9b3790cfb62f68657a7604768f4 | [
"MIT"
] | 3 | 2021-06-08T06:46:58.000Z | 2022-02-26T13:34:47.000Z | double_debias/__init__.py | joe5saia/double_debias | d01ad21c1c5ca9b3790cfb62f68657a7604768f4 | [
"MIT"
] | 1 | 2020-12-01T13:09:39.000Z | 2020-12-01T13:09:39.000Z | double_debias/__init__.py | joe5saia/double_debias | d01ad21c1c5ca9b3790cfb62f68657a7604768f4 | [
"MIT"
] | 1 | 2022-02-26T13:34:48.000Z | 2022-02-26T13:34:48.000Z | from .double_debias import DoubleDebias
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
c28deef028683bbb5f7d3760f80e67e0907a5c97 | 23,477 | py | Python | ipychart/plots.py | nicohlr/ipychart | fab49fb798363e775c0ad2456f9d22ac0048d6fb | [
"MIT"
] | 45 | 2020-08-05T19:32:13.000Z | 2022-03-25T09:17:41.000Z | ipychart/plots.py | nicohlr/ipychart | fab49fb798363e775c0ad2456f9d22ac0048d6fb | [
"MIT"
] | 3 | 2021-05-07T12:45:37.000Z | 2022-01-21T20:58:37.000Z | ipychart/plots.py | nicohlr/ipychart | fab49fb798363e775c0ad2456f9d22ac0048d6fb | [
"MIT"
] | 7 | 2020-08-29T02:56:03.000Z | 2021-10-04T21:20:21.000Z | import pandas as pd
import numpy as np
from typing import Union
from pandas.api.types import is_numeric_dtype
from sklearn.neighbors import KernelDensity
from sklearn.model_selection import GridSearchCV
from .chart import Chart
from .utils.plots_utils import (_create_chart_options,
_cr... | 29.309613 | 79 | 0.579802 | 2,822 | 23,477 | 4.750532 | 0.105599 | 0.06788 | 0.033418 | 0.028346 | 0.777711 | 0.758839 | 0.740489 | 0.726018 | 0.712517 | 0.707743 | 0 | 0.003019 | 0.336798 | 23,477 | 800 | 80 | 29.34625 | 0.857996 | 0.477957 | 0 | 0.736318 | 0 | 0.002488 | 0.053458 | 0.001853 | 0 | 0 | 0 | 0 | 0.004975 | 1 | 0.024876 | false | 0 | 0.019901 | 0 | 0.069652 | 0 | 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 |
c2f8a70ab8519221d14ff44835b8084e47d21ee7 | 283 | py | Python | tests/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | 5 | 2017-12-24T08:11:16.000Z | 2019-02-07T22:13:26.000Z | tests/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | 1 | 2021-06-01T23:17:31.000Z | 2021-06-01T23:17:31.000Z | tests/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | null | null | null |
import tests.test_clusterStructures
import tests.test_basePackage
import tests.test_nodeEndpoints
print('(TEST DIR __INIT__.py) loaded the test functions into'
'the current namespace')
print('+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+'
'+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+')
| 28.3 | 62 | 0.568905 | 26 | 283 | 5.923077 | 0.615385 | 0.214286 | 0.292208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14841 | 283 | 9 | 63 | 31.444444 | 0.639004 | 0 | 0 | 0 | 0 | 0 | 0.498169 | 0.227106 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0.285714 | 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 |
6c0fb0f7a3bb2112370a7551deae91b5e52d23b9 | 8,152 | py | Python | test/api/test_resize.py | mrz1988/lilies | 9525770fabab7e142ebedc40ab5d0c8027aa90ba | [
"MIT"
] | null | null | null | test/api/test_resize.py | mrz1988/lilies | 9525770fabab7e142ebedc40ab5d0c8027aa90ba | [
"MIT"
] | 51 | 2019-06-18T16:35:56.000Z | 2021-02-23T00:32:23.000Z | test/api/test_resize.py | mrz1988/lilies | 9525770fabab7e142ebedc40ab5d0c8027aa90ba | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import unittest
from lilies import wilt, resize
from lilies.objects.lilyblock import LilyBlock
class TestResize(unittest.TestCase):
def setUp(self):
self.strings = [
"hello",
"dfDfEEFdfaC",
"Mister John",
... | 37.223744 | 79 | 0.529318 | 797 | 8,152 | 5.202008 | 0.138018 | 0.065123 | 0.097685 | 0.075977 | 0.853835 | 0.843946 | 0.84274 | 0.810178 | 0.785094 | 0.734443 | 0 | 0.014652 | 0.363714 | 8,152 | 218 | 80 | 37.394495 | 0.784654 | 0.02159 | 0 | 0.619048 | 0 | 0 | 0.189037 | 0.019318 | 0 | 0 | 0 | 0 | 0.121693 | 1 | 0.126984 | false | 0 | 0.021164 | 0 | 0.153439 | 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 |
dd25412f0d4b82222c1d80577095b8b5b8fa3a83 | 3,659 | py | Python | tests/test_bootstrap_field_parameters.py | akx/django-bootstrap5 | 2fbe688c30061122e08981f65bf87ec35fcf28ad | [
"BSD-3-Clause"
] | 118 | 2021-03-15T14:01:49.000Z | 2022-03-29T06:40:46.000Z | tests/test_bootstrap_field_parameters.py | akx/django-bootstrap5 | 2fbe688c30061122e08981f65bf87ec35fcf28ad | [
"BSD-3-Clause"
] | 97 | 2021-03-19T05:44:28.000Z | 2022-03-31T09:05:29.000Z | tests/test_bootstrap_field_parameters.py | akx/django-bootstrap5 | 2fbe688c30061122e08981f65bf87ec35fcf28ad | [
"BSD-3-Clause"
] | 33 | 2021-03-22T14:45:08.000Z | 2022-02-23T18:12:23.000Z | from django import forms
from tests.base import BootstrapTestCase
class CharFieldTestForm(forms.Form):
test = forms.CharField()
class BootstrapFieldParameterTestCase(BootstrapTestCase):
"""Test `bootstrap_field` parameters`."""
def test_wrapper_class(self):
"""Test field with default CharField... | 38.925532 | 119 | 0.537032 | 365 | 3,659 | 5.271233 | 0.131507 | 0.043659 | 0.08368 | 0.105509 | 0.890333 | 0.887214 | 0.887214 | 0.887214 | 0.865385 | 0.862266 | 0 | 0.005913 | 0.306641 | 3,659 | 93 | 120 | 39.344086 | 0.752464 | 0.032523 | 0 | 0.567568 | 0 | 0.094595 | 0.5 | 0.143019 | 0 | 0 | 0 | 0 | 0.094595 | 1 | 0.027027 | false | 0 | 0.027027 | 0 | 0.094595 | 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 |
dd44ea40086f4538136724946734eeeeabbb5c69 | 27 | py | Python | api/tasks/__init__.py | C-Canchola/texel | 9ebb12cf38b78608394f44767f55236845f0f9bc | [
"MIT"
] | null | null | null | api/tasks/__init__.py | C-Canchola/texel | 9ebb12cf38b78608394f44767f55236845f0f9bc | [
"MIT"
] | null | null | null | api/tasks/__init__.py | C-Canchola/texel | 9ebb12cf38b78608394f44767f55236845f0f9bc | [
"MIT"
] | null | null | null | from . import task_manager
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
06d5871238bbd12943d1289a2c8967575b92cdbb | 43 | py | Python | run.py | williamjacksn/inventory | 1422307b12db671c73b8bf43193151b3c19df9ee | [
"MIT"
] | 3 | 2017-11-26T17:04:46.000Z | 2020-08-05T23:57:07.000Z | run.py | williamjacksn/inventory | 1422307b12db671c73b8bf43193151b3c19df9ee | [
"MIT"
] | 17 | 2019-12-22T14:38:18.000Z | 2022-03-25T23:01:49.000Z | run.py | williamjacksn/inventory | 1422307b12db671c73b8bf43193151b3c19df9ee | [
"MIT"
] | 1 | 2019-09-09T09:48:39.000Z | 2019-09-09T09:48:39.000Z | import inventory.app
inventory.app.main()
| 10.75 | 20 | 0.790698 | 6 | 43 | 5.666667 | 0.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 3 | 21 | 14.333333 | 0.871795 | 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 |
06fa3683acad0246167de299a7577258d9b3f919 | 119 | py | Python | rascil/processing_components/util/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 7 | 2019-12-14T13:42:33.000Z | 2022-01-28T03:31:45.000Z | rascil/processing_components/util/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 6 | 2020-01-08T09:40:08.000Z | 2020-06-11T14:56:13.000Z | rascil/processing_components/util/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 3 | 2020-01-14T11:14:16.000Z | 2020-09-15T05:21:06.000Z |
from .array_functions import *
from .compass_bearing import *
from .coordinate_support import *
from .sizeof import *
| 19.833333 | 33 | 0.789916 | 15 | 119 | 6.066667 | 0.6 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 5 | 34 | 23.8 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
660eab63eb3ca2052064ee9c7ef03b71f457fa7e | 2,361 | py | Python | PyBank/main.py | erictonian/python-challenge | 04318a90e619f5944792672d2587d2f211367dda | [
"MIT"
] | null | null | null | PyBank/main.py | erictonian/python-challenge | 04318a90e619f5944792672d2587d2f211367dda | [
"MIT"
] | null | null | null | PyBank/main.py | erictonian/python-challenge | 04318a90e619f5944792672d2587d2f211367dda | [
"MIT"
] | null | null | null | import csv
pybank = "budget_data.csv"
with open(pybank, 'r') as csvfile:
csvreader = csv.reader(csvfile, delimiter=',')
for row in csvreader:
count = sum(1 for row in csvreader)
with open(pybank, 'r') as csvfile:
csvreader = csv.reader(csvfile, delimiter=',')
for row in csvreader:
... | 34.217391 | 80 | 0.643795 | 362 | 2,361 | 4.118785 | 0.157459 | 0.056338 | 0.075117 | 0.159624 | 0.834339 | 0.816231 | 0.792757 | 0.702884 | 0.702884 | 0.702884 | 0 | 0.017143 | 0.184668 | 2,361 | 69 | 81 | 34.217391 | 0.757403 | 0 | 0 | 0.54386 | 0 | 0 | 0.232007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 0.087719 | 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 |
661bc7e21529e78baaf002daea130f0c9404d9d0 | 139 | py | Python | data_construction_allInOne/error.py | DiracSea/multi_linear_regression | ab047c2c0769e0389c5e01719f1afbc1db70beb0 | [
"MIT"
] | null | null | null | data_construction_allInOne/error.py | DiracSea/multi_linear_regression | ab047c2c0769e0389c5e01719f1afbc1db70beb0 | [
"MIT"
] | null | null | null | data_construction_allInOne/error.py | DiracSea/multi_linear_regression | ab047c2c0769e0389c5e01719f1afbc1db70beb0 | [
"MIT"
] | null | null | null | class EmptyRainfallError(ValueError):
pass
class EmptyWaterlevelError(ValueError):
pass
class NoMethodError(ValueError):
pass | 17.375 | 39 | 0.776978 | 12 | 139 | 9 | 0.5 | 0.388889 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 139 | 8 | 40 | 17.375 | 0.923077 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b0758f8598d3ea2a1e90c9b938da03feb778cbd6 | 122 | py | Python | data/hospital_level/raw/DH_hospital/download.py | 666Chao666/covid19-severity-prediction | f7ef4ea5f3109fdb4246d2bf90d07fbf048d3706 | [
"MIT"
] | 2 | 2020-05-15T14:42:02.000Z | 2020-05-22T08:51:47.000Z | data_new/hospital_level/raw/DH_hospital/download.py | rahul263-stack/covid19-severity-prediction | f581adb2fccb12d5ab3f3c59ee120f484703edf5 | [
"MIT"
] | null | null | null | data_new/hospital_level/raw/DH_hospital/download.py | rahul263-stack/covid19-severity-prediction | f581adb2fccb12d5ab3f3c59ee120f484703edf5 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import os
os.system('wget https://data.medicare.gov/api/views/xubh-q36u/rows.csv -O DH_hospital.csv')
| 24.4 | 91 | 0.745902 | 22 | 122 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.065574 | 122 | 4 | 92 | 30.5 | 0.763158 | 0.139344 | 0 | 0 | 0 | 0.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b090c6ef25b52c5b25c8e27f639cfd5284798c8e | 37,258 | py | Python | keras_contrib/applications/fully_convolutional_networks.py | ahundt/keras-contrib | 65ade7af19c86f4b9888acfd2ed31245f4f5c770 | [
"MIT"
] | 7 | 2017-07-22T09:05:44.000Z | 2019-04-30T02:08:04.000Z | keras_contrib/applications/fully_convolutional_networks.py | ahundt/keras-contrib | 65ade7af19c86f4b9888acfd2ed31245f4f5c770 | [
"MIT"
] | 1 | 2017-12-26T02:59:59.000Z | 2017-12-26T02:59:59.000Z | keras_contrib/applications/fully_convolutional_networks.py | ahundt/keras-contrib | 65ade7af19c86f4b9888acfd2ed31245f4f5c770 | [
"MIT"
] | 11 | 2017-07-06T14:11:51.000Z | 2021-08-21T23:18:20.000Z | """ Fully Convolutional Networks
Based on the paper:
- [Fully Convolutional Networks for Semantic Segmentation](https://arxiv.org/abs/1605.06211)
Implementation adapted from [Keras-FCN](https://github.com/aurora95/Keras-FCN).
"""
import numpy as np
import matplotlib.pyplot as plt
import os
import sys
from keras ... | 46.983607 | 178 | 0.614982 | 5,005 | 37,258 | 4.354246 | 0.06993 | 0.00982 | 0.047079 | 0.059652 | 0.852934 | 0.83793 | 0.819208 | 0.812279 | 0.803653 | 0.798559 | 0 | 0.04587 | 0.25981 | 37,258 | 792 | 179 | 47.042929 | 0.744361 | 0.108916 | 0 | 0.650086 | 0 | 0.003431 | 0.06884 | 0.014193 | 0 | 0 | 0 | 0.002525 | 0.001715 | 1 | 0.058319 | false | 0 | 0.02916 | 0 | 0.152659 | 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 |
b0b3b1f8b04c735b0ed907a626e9ffae49327bbb | 25 | py | Python | robit/__init__.py | ToxicFrazzles/robit | 5f727b9f191e06fe51e78a8eb75a65b94a571202 | [
"MIT"
] | null | null | null | robit/__init__.py | ToxicFrazzles/robit | 5f727b9f191e06fe51e78a8eb75a65b94a571202 | [
"MIT"
] | null | null | null | robit/__init__.py | ToxicFrazzles/robit | 5f727b9f191e06fe51e78a8eb75a65b94a571202 | [
"MIT"
] | null | null | null | from .robit import Robit
| 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 |
b0e307cff66013a1b05ffa1a1b6b91ea97568b4f | 89 | py | Python | src/API/__init__.py | Public-Health-Bioinformatics/sequdas-upload | a22f090f9cd3b5ecfe0bae487016622b9b80651d | [
"MIT"
] | 9 | 2015-11-24T21:51:42.000Z | 2020-10-21T20:16:24.000Z | src/API/__init__.py | Public-Health-Bioinformatics/sequdas-upload | a22f090f9cd3b5ecfe0bae487016622b9b80651d | [
"MIT"
] | 6 | 2016-09-13T20:38:57.000Z | 2019-02-21T18:31:22.000Z | src/API/__init__.py | Public-Health-Bioinformatics/sequdas-upload | a22f090f9cd3b5ecfe0bae487016622b9b80651d | [
"MIT"
] | 1 | 2018-10-07T00:55:43.000Z | 2018-10-07T00:55:43.000Z | from apiCalls import ApiCalls
from config import read_config_option, write_config_option
| 29.666667 | 58 | 0.88764 | 13 | 89 | 5.769231 | 0.538462 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 89 | 2 | 59 | 44.5 | 0.9375 | 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 |
b0fd004ad59e87a6ebd6c31a0a7a047d92874206 | 8,478 | py | Python | tests/test_buildmaps.py | LSSTDESC/healsparse | f6b15f570ab6335328e34006f69c3919d9fcf1c8 | [
"BSD-3-Clause"
] | 8 | 2019-05-06T11:42:41.000Z | 2021-10-08T14:57:12.000Z | tests/test_buildmaps.py | LSSTDESC/healsparse | f6b15f570ab6335328e34006f69c3919d9fcf1c8 | [
"BSD-3-Clause"
] | 75 | 2019-03-01T23:25:26.000Z | 2022-01-29T21:40:27.000Z | tests/test_buildmaps.py | LSSTDESC/healsparse | f6b15f570ab6335328e34006f69c3919d9fcf1c8 | [
"BSD-3-Clause"
] | 3 | 2020-01-30T19:10:19.000Z | 2022-03-08T14:57:38.000Z | from __future__ import division, absolute_import, print_function
import unittest
import numpy.testing as testing
import numpy as np
import healpy as hp
from numpy import random
import healsparse
class BuildMapsTestCase(unittest.TestCase):
def test_build_maps_single(self):
"""
Test building a map... | 45.827027 | 106 | 0.67858 | 1,092 | 8,478 | 4.994505 | 0.132784 | 0.09736 | 0.10396 | 0.087092 | 0.845251 | 0.839384 | 0.828933 | 0.79703 | 0.706637 | 0.695086 | 0 | 0.035741 | 0.224463 | 8,478 | 184 | 107 | 46.076087 | 0.793764 | 0.075607 | 0 | 0.627907 | 0 | 0 | 0.014405 | 0 | 0 | 0 | 0 | 0 | 0.356589 | 1 | 0.015504 | false | 0 | 0.054264 | 0 | 0.077519 | 0.007752 | 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 |
b0233970b3c27cfa9c2c7592b2e023a2a52b57ce | 135 | py | Python | src/modules/__init__.py | Nobregaigor/Optical-Mark-Registration-PDF-Reader | 0c6d8d652fa4e52d04098787c022b7235cd2b8ac | [
"MIT"
] | null | null | null | src/modules/__init__.py | Nobregaigor/Optical-Mark-Registration-PDF-Reader | 0c6d8d652fa4e52d04098787c022b7235cd2b8ac | [
"MIT"
] | null | null | null | src/modules/__init__.py | Nobregaigor/Optical-Mark-Registration-PDF-Reader | 0c6d8d652fa4e52d04098787c022b7235cd2b8ac | [
"MIT"
] | null | null | null | from .check_unumber import *
from .check_email import *
from .rename_pdfs import *
from .test_email import *
from .send_emails import * | 27 | 28 | 0.785185 | 20 | 135 | 5.05 | 0.5 | 0.39604 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 5 | 29 | 27 | 0.87069 | 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 | 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 |
c65d1896c0352cbebf8019534651e9a56036fa8e | 504 | py | Python | espnet2/gan_tts/hifigan/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 5,053 | 2017-12-13T06:21:41.000Z | 2022-03-31T13:38:29.000Z | espnet2/gan_tts/hifigan/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 3,666 | 2017-12-14T05:58:50.000Z | 2022-03-31T22:11:49.000Z | espnet2/gan_tts/hifigan/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 1,709 | 2017-12-13T01:02:42.000Z | 2022-03-31T11:57:45.000Z | from espnet2.gan_tts.hifigan.hifigan import HiFiGANGenerator # NOQA
from espnet2.gan_tts.hifigan.hifigan import HiFiGANMultiPeriodDiscriminator # NOQA
from espnet2.gan_tts.hifigan.hifigan import HiFiGANMultiScaleDiscriminator # NOQA
from espnet2.gan_tts.hifigan.hifigan import ( # NOQA
HiFiGANMultiScaleMultiPeri... | 56 | 83 | 0.843254 | 55 | 504 | 7.618182 | 0.236364 | 0.157518 | 0.200477 | 0.243437 | 0.577566 | 0.577566 | 0.577566 | 0.48926 | 0 | 0 | 0 | 0.013245 | 0.10119 | 504 | 8 | 84 | 63 | 0.9117 | 0.06746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6a23b3dd64ffdfe9143394f3d5d5ef32284969e | 1,022 | py | Python | tests/test_permission.py | dmelo/Flask-ACL | 7339b89f96ad8686d1526e25c138244ad912e12d | [
"BSD-3-Clause"
] | 25 | 2015-02-06T20:00:16.000Z | 2022-03-17T15:59:47.000Z | tests/test_permission.py | dmelo/Flask-ACL | 7339b89f96ad8686d1526e25c138244ad912e12d | [
"BSD-3-Clause"
] | 2 | 2015-03-30T06:03:27.000Z | 2018-01-05T17:03:12.000Z | tests/test_permission.py | dmelo/Flask-ACL | 7339b89f96ad8686d1526e25c138244ad912e12d | [
"BSD-3-Clause"
] | 17 | 2015-03-20T19:48:58.000Z | 2020-03-29T15:47:42.000Z | from . import *
from flask_acl.permission import is_permission_in_set
class TestPermissions(TestCase):
def test_strings(self):
self.assertTrue(is_permission_in_set('xxx', 'xxx'))
self.assertFalse(is_permission_in_set('xxx', 'axxx'))
self.assertFalse(is_permission_in_set('xxx', 'xxxb'))
... | 40.88 | 76 | 0.655577 | 143 | 1,022 | 4.384615 | 0.195804 | 0.248804 | 0.290271 | 0.352472 | 0.76236 | 0.76236 | 0.76236 | 0.614035 | 0.54067 | 0.452951 | 0 | 0 | 0.169276 | 1,022 | 24 | 77 | 42.583333 | 0.738516 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6a51c5697d169beff79ebf57f4064354d0ce4ea | 28 | py | Python | example/boot.py | jdtsmith/autoftp | 5d06749ba6132f64cbb2231334553ea17c814f41 | [
"MIT"
] | 1 | 2021-03-14T03:12:12.000Z | 2021-03-14T03:12:12.000Z | example/boot.py | jdtsmith/autoftp | 5d06749ba6132f64cbb2231334553ea17c814f41 | [
"MIT"
] | null | null | null | example/boot.py | jdtsmith/autoftp | 5d06749ba6132f64cbb2231334553ea17c814f41 | [
"MIT"
] | null | null | null | print("MyModule Starting!")
| 14 | 27 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
c6b05e8ef9e2ab103120c4a9405847a2dc073555 | 39 | py | Python | tests/environment_tests/dataset_handler/__init__.py | doslindos/ml_crapwrap | f9daa2904234492921c6c344bfcd24992e2ff421 | [
"MIT"
] | null | null | null | tests/environment_tests/dataset_handler/__init__.py | doslindos/ml_crapwrap | f9daa2904234492921c6c344bfcd24992e2ff421 | [
"MIT"
] | null | null | null | tests/environment_tests/dataset_handler/__init__.py | doslindos/ml_crapwrap | f9daa2904234492921c6c344bfcd24992e2ff421 | [
"MIT"
] | null | null | null | from .util import DatasetHandlerTester
| 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 |
05b50cf561283569860addc2e70867e8bb843ad7 | 122 | py | Python | src/dlqmc/tools.py | noegroup/dlqmc-project | ed7561ec0156df6d6309e49c1276646173ec8641 | [
"MIT"
] | 3 | 2020-12-22T16:26:36.000Z | 2021-08-11T16:54:46.000Z | src/dlqmc/tools.py | noegroup/dlqmc-project | ed7561ec0156df6d6309e49c1276646173ec8641 | [
"MIT"
] | 5 | 2020-07-26T23:13:16.000Z | 2020-07-26T23:13:45.000Z | src/dlqmc/tools.py | noegroup/dlqmc-project | ed7561ec0156df6d6309e49c1276646173ec8641 | [
"MIT"
] | 1 | 2021-06-18T05:00:39.000Z | 2021-06-18T05:00:39.000Z | import uncertainties
def short_fmt(x):
return f'{x:S}' if isinstance(x, uncertainties.core.AffineScalarFunc) else x
| 20.333333 | 80 | 0.754098 | 18 | 122 | 5.055556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 5 | 81 | 24.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
05cae0dbf5c34f27a96d0017a1f5a55c10de89ff | 74 | py | Python | besspin/cyberPhys/cyberphyslib/cyberphyslib/canlib/__init__.py | mikkowus/BESSPIN-Tool-Suite | e87e9abb1156a8627aacc3272f1925b034129146 | [
"Apache-2.0"
] | null | null | null | besspin/cyberPhys/cyberphyslib/cyberphyslib/canlib/__init__.py | mikkowus/BESSPIN-Tool-Suite | e87e9abb1156a8627aacc3272f1925b034129146 | [
"Apache-2.0"
] | null | null | null | besspin/cyberPhys/cyberphyslib/cyberphyslib/canlib/__init__.py | mikkowus/BESSPIN-Tool-Suite | e87e9abb1156a8627aacc3272f1925b034129146 | [
"Apache-2.0"
] | null | null | null | from .canlib import *
from .canspecs import *
from .componentids import *
| 18.5 | 27 | 0.756757 | 9 | 74 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 28 | 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 |
05f416b3b4673cf189674c943bdc0c5032d17a65 | 25,179 | py | Python | tests/test_time.py | colinahill/terrapyn | 77a2bba2b6365d289d894f0aa722880ae36c52bd | [
"BSD-3-Clause"
] | null | null | null | tests/test_time.py | colinahill/terrapyn | 77a2bba2b6365d289d894f0aa722880ae36c52bd | [
"BSD-3-Clause"
] | null | null | null | tests/test_time.py | colinahill/terrapyn | 77a2bba2b6365d289d894f0aa722880ae36c52bd | [
"BSD-3-Clause"
] | null | null | null | import datetime as dt
import unittest
import zoneinfo
from pathlib import Path
import numpy as np
import pandas as pd
import pytest
import xarray as xr
from freezegun import freeze_time
import terrapyn as tp
PACKAGE_ROOT_DIR = Path(__file__).resolve().parent.parent
TEST_DATA_PATH = PACKAGE_ROOT_DIR / "tests" / "data... | 43.262887 | 120 | 0.663092 | 3,646 | 25,179 | 4.370817 | 0.085573 | 0.042169 | 0.044428 | 0.058233 | 0.803715 | 0.770833 | 0.746925 | 0.702372 | 0.664157 | 0.612575 | 0 | 0.075769 | 0.184916 | 25,179 | 581 | 121 | 43.337349 | 0.700726 | 0 | 0 | 0.364045 | 0 | 0.002247 | 0.070535 | 0.005004 | 0 | 0 | 0 | 0 | 0.226966 | 1 | 0.220225 | false | 0 | 0.022472 | 0 | 0.314607 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05f9dbcdf439cc82456bb49424264d138e6ec2cf | 20,660 | py | Python | scoreprobability/crawl.py | htpauleta/ScoreProbability | eae1d76e3607bb4cb19eff6a7ad72d5b2c20f4f7 | [
"Apache-2.0"
] | 7 | 2018-12-29T06:39:28.000Z | 2021-10-12T01:42:37.000Z | scoreprobability/crawl.py | htpauleta/ScoreProbability | eae1d76e3607bb4cb19eff6a7ad72d5b2c20f4f7 | [
"Apache-2.0"
] | 2 | 2021-03-31T18:56:32.000Z | 2021-06-01T23:30:22.000Z | scoreprobability/crawl.py | htpauleta/ScoreProbability | eae1d76e3607bb4cb19eff6a7ad72d5b2c20f4f7 | [
"Apache-2.0"
] | null | null | null | """
@Project : ScoreProbability
@Module : crawl.py
@Author : HjwGivenLyy [1752929469@qq.com]
@Created : 12/17/18 4:54 PM
@Desc : crawl data from qtw net
"""
import datetime
import re
import loguru
import requests
import yaml
from bs4 import BeautifulSoup
from pymongo import MongoClient
from base impor... | 37.225225 | 79 | 0.512391 | 2,302 | 20,660 | 4.31364 | 0.124674 | 0.062437 | 0.038268 | 0.016918 | 0.808258 | 0.802719 | 0.774824 | 0.757402 | 0.703021 | 0.667271 | 0 | 0.034554 | 0.366844 | 20,660 | 554 | 80 | 37.292419 | 0.724562 | 0.046515 | 0 | 0.63109 | 0 | 0.00464 | 0.182214 | 0.022207 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032483 | false | 0 | 0.018561 | 0 | 0.081207 | 0.00464 | 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 |
af2b91feb5701de094d9cc85ec6cd74a6e2eb062 | 56 | py | Python | mcunet/tinynas/elastic_nn/modules/__init__.py | 1999michael/tinyml | e8a5c9baef3d8a4890bb7ddbed4f5655cb4fa535 | [
"MIT"
] | 306 | 2021-01-15T07:49:40.000Z | 2022-03-31T03:13:20.000Z | tinynas/elastic_nn/modules/__init__.py | liuyy3364/mcunet | f53f9e20e8e912bdb111b4c32da75e71e9a59597 | [
"Apache-2.0"
] | 9 | 2021-02-04T00:58:33.000Z | 2022-03-29T06:19:55.000Z | tinynas/elastic_nn/modules/__init__.py | liuyy3364/mcunet | f53f9e20e8e912bdb111b4c32da75e71e9a59597 | [
"Apache-2.0"
] | 65 | 2021-01-18T06:06:09.000Z | 2022-03-25T01:42:15.000Z | from .dynamic_layers import *
from .dynamic_op import *
| 18.666667 | 29 | 0.785714 | 8 | 56 | 5.25 | 0.625 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 30 | 28 | 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 | 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 |
af4f1f9be162bc1f3cd196c4f0cf856e79bcf19d | 7,662 | py | Python | SZR/apps/groups/tests/test_tasks.py | Alek96/SZR | 6c736cded0c6de88b6e4fc5a207273ec1024365b | [
"MIT"
] | 1 | 2019-04-04T17:02:24.000Z | 2019-04-04T17:02:24.000Z | SZR/apps/groups/tests/test_tasks.py | Alek96/SZR | 6c736cded0c6de88b6e4fc5a207273ec1024365b | [
"MIT"
] | 1 | 2019-03-30T13:32:14.000Z | 2019-03-30T13:32:14.000Z | SZR/apps/groups/tests/test_tasks.py | Alek96/SZR | 6c736cded0c6de88b6e4fc5a207273ec1024365b | [
"MIT"
] | null | null | null | import json
from GitLabApi import mock_all_gitlab_url
from GitLabApi.MockUrls import mock_all_urls_and_raise_error
from GitLabApi.exceptions import GitlabGetError
from core.models import GitlabUser
from core.tests.test_view import LoginMethods
from groups import tasks
from groups.tests.models import AddMemberCreateMet... | 37.194175 | 121 | 0.663534 | 888 | 7,662 | 5.367117 | 0.113739 | 0.063785 | 0.103651 | 0.036928 | 0.844524 | 0.841167 | 0.81347 | 0.811162 | 0.80256 | 0.789971 | 0 | 0.002958 | 0.249804 | 7,662 | 205 | 122 | 37.37561 | 0.8262 | 0 | 0 | 0.68323 | 0 | 0 | 0.014096 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 1 | 0.099379 | false | 0 | 0.080745 | 0.018634 | 0.236025 | 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 |
af52cb7f5173a99cc3a216bec32ed523f43d8f2e | 219 | py | Python | angr/engines/soot/exceptions.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/engines/soot/exceptions.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/engines/soot/exceptions.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z |
class BlockTerminationNotice(Exception):
pass
class IncorrectLocationException(Exception):
pass
class SootMethodNotLoadedException(Exception):
pass
class SootFieldNotLoadedException(Exception):
pass
| 16.846154 | 46 | 0.799087 | 16 | 219 | 10.9375 | 0.4375 | 0.297143 | 0.308571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146119 | 219 | 12 | 47 | 18.25 | 0.935829 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
af6d63ddb4db62f035b31c6a5fd6f0572098d530 | 357 | py | Python | synthesis/__init__.py | kunheek/style-aware-discriminator | d6ddd7c735d6c162f2a3c942d5cba1e0457f8c39 | [
"MIT"
] | 21 | 2022-03-30T06:58:50.000Z | 2022-03-31T16:38:48.000Z | synthesis/__init__.py | kunheek/style-aware-discriminator | d6ddd7c735d6c162f2a3c942d5cba1e0457f8c39 | [
"MIT"
] | null | null | null | synthesis/__init__.py | kunheek/style-aware-discriminator | d6ddd7c735d6c162f2a3c942d5cba1e0457f8c39 | [
"MIT"
] | null | null | null | from .base_synthesizer import BaseSynthesizer
from .interpolation_synthesizer import InterpolationSynthesizer
from .local_translation_synthesizer import LocalTranslationSynthesizer
from .prototype_synthesizer import PrototypeSynthesizer
from .swap_synthesizer import SwapSynthesizer
from .transplantation_synthesize... | 51 | 71 | 0.89916 | 31 | 357 | 10.129032 | 0.516129 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 357 | 6 | 72 | 59.5 | 0.960245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afd216efcec70b183f2a5f6a0f3fa85787c79bbb | 57 | py | Python | main.py | theexplorerdude/Password-manager | 0743c9e9e29d1034e554fd69267ae95cd5ba2317 | [
"MIT"
] | null | null | null | main.py | theexplorerdude/Password-manager | 0743c9e9e29d1034e554fd69267ae95cd5ba2317 | [
"MIT"
] | null | null | null | main.py | theexplorerdude/Password-manager | 0743c9e9e29d1034e554fd69267ae95cd5ba2317 | [
"MIT"
] | null | null | null | print("its the first commit of simple password manager")
| 28.5 | 56 | 0.789474 | 9 | 57 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 1 | 57 | 57 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
bb816d1f987a0a364530c5c9df802d502b830786 | 37 | py | Python | vulnapp/crawler/models/__init__.py | Fufuhu/VulnAppSample | d6a9ab667b2b5628a649d57cd97b1979bdd986f8 | [
"Apache-2.0"
] | 1 | 2021-09-06T07:07:47.000Z | 2021-09-06T07:07:47.000Z | vulnapp/crawler/models/__init__.py | Fufuhu/VulnAppSample | d6a9ab667b2b5628a649d57cd97b1979bdd986f8 | [
"Apache-2.0"
] | null | null | null | vulnapp/crawler/models/__init__.py | Fufuhu/VulnAppSample | d6a9ab667b2b5628a649d57cd97b1979bdd986f8 | [
"Apache-2.0"
] | null | null | null | from .crawled_page import CrawledPage | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 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 |
a59c64d642d602351d197587631217f0b410910b | 207 | py | Python | juon/errors/missing_dependency_error.py | joocer/seren | 1563f84015b3460d766c71fbe108f17bc2b72181 | [
"Apache-2.0"
] | null | null | null | juon/errors/missing_dependency_error.py | joocer/seren | 1563f84015b3460d766c71fbe108f17bc2b72181 | [
"Apache-2.0"
] | 287 | 2021-05-14T21:25:26.000Z | 2022-03-30T12:02:51.000Z | juon/errors/missing_dependency_error.py | joocer/juon | 1563f84015b3460d766c71fbe108f17bc2b72181 | [
"Apache-2.0"
] | 1 | 2021-04-29T18:18:20.000Z | 2021-04-29T18:18:20.000Z | # nodoc - don't add to the documentation wiki
"""
This exception should be used when a lazy import fails
"""
from .base_exception import BaseException
class MissingDependencyError(BaseException):
pass
| 20.7 | 54 | 0.772947 | 27 | 207 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164251 | 207 | 9 | 55 | 23 | 0.919075 | 0.478261 | 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 |
a5a488f8bbeb1fe0b5ec321de21c13f59115e9d6 | 40 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_indicator.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_indicator.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_indicator.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Indicator
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
36fd90f74793e87abdc3f8fbbf7152a9ff72d737 | 257 | py | Python | catnip/forms.py | ObjectifLibre/catnip | 5d89c92de0396b1e912bb498af88687dd046718d | [
"Apache-2.0"
] | 2 | 2020-03-13T12:45:10.000Z | 2020-04-01T12:04:49.000Z | catnip/forms.py | ObjectifLibre/catnip | 5d89c92de0396b1e912bb498af88687dd046718d | [
"Apache-2.0"
] | 1 | 2020-07-24T21:54:08.000Z | 2020-07-24T21:54:08.000Z | catnip/forms.py | ObjectifLibre/catnip | 5d89c92de0396b1e912bb498af88687dd046718d | [
"Apache-2.0"
] | 1 | 2020-05-11T19:19:12.000Z | 2020-05-11T19:19:12.000Z | from django import forms
class AuthForm(forms.Form):
domain = forms.CharField(label='Your domain', max_length=250)
username = forms.CharField(label='Your name', max_length=250)
password = forms.CharField(label='Your password', max_length=250)
| 32.125 | 69 | 0.743191 | 35 | 257 | 5.371429 | 0.485714 | 0.223404 | 0.303191 | 0.367021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.136187 | 257 | 7 | 70 | 36.714286 | 0.806306 | 0 | 0 | 0 | 0 | 0 | 0.128405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b1c430b5f856c375fc892fb7876debb5dee14d60 | 149 | py | Python | office365/teams/schedulingGroup.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/teams/schedulingGroup.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/teams/schedulingGroup.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | from office365.entity import Entity
class SchedulingGroup(Entity):
"""A logical grouping of users in a schedule (usually by role)."""
pass
| 21.285714 | 70 | 0.724832 | 20 | 149 | 5.4 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.187919 | 149 | 6 | 71 | 24.833333 | 0.867769 | 0.402685 | 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 |
b1cc2ef42369ef8954e94c6f25717ef123a02305 | 29 | py | Python | coincap/__init__.py | nlnsaoadc/py-coincap | d70718744593d97655c09db897fbdedf315dc432 | [
"MIT"
] | null | null | null | coincap/__init__.py | nlnsaoadc/py-coincap | d70718744593d97655c09db897fbdedf315dc432 | [
"MIT"
] | null | null | null | coincap/__init__.py | nlnsaoadc/py-coincap | d70718744593d97655c09db897fbdedf315dc432 | [
"MIT"
] | null | null | null | from .coincap import CoinCap
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
593ee71ed69d6ba6dbd4ae036c4b4272d4bf81d5 | 153,066 | py | Python | pointCollection/CS2_wfm/data.py | tsutterley/pointCollection | 04e4359e463ff8a556e0d078373578bd96390151 | [
"MIT"
] | null | null | null | pointCollection/CS2_wfm/data.py | tsutterley/pointCollection | 04e4359e463ff8a556e0d078373578bd96390151 | [
"MIT"
] | null | null | null | pointCollection/CS2_wfm/data.py | tsutterley/pointCollection | 04e4359e463ff8a556e0d078373578bd96390151 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Feb 12 2020
Class to read and manipulate CryoSat-2 waveform data
Reads CryoSat Level-1b data products from baselines A, B and C
Reads CryoSat Level-1b netCDF4 data products from baseline D
Supported CryoSat Modes: LRM, SAR, SARin, FDM, SID, GDR
INPUTS:
full_filename: ful... | 65.721769 | 134 | 0.627559 | 22,464 | 153,066 | 4.018118 | 0.037838 | 0.055671 | 0.080919 | 0.062218 | 0.890974 | 0.858635 | 0.827881 | 0.795786 | 0.771789 | 0.749842 | 0 | 0.041883 | 0.220539 | 153,066 | 2,328 | 135 | 65.75 | 0.714665 | 0.221663 | 0 | 0.479181 | 0 | 0.001411 | 0.194162 | 0.031171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008469 | false | 0 | 0.00494 | 0 | 0.022583 | 0.007057 | 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 |
594bc5f77ca906ae0433fe140d3a32eb4d88a297 | 40 | py | Python | Hello_World.py | Fang465/MB215Lab1 | 9a45c7e6fc804d541c213d1741084ba32d95b0f5 | [
"MIT"
] | null | null | null | Hello_World.py | Fang465/MB215Lab1 | 9a45c7e6fc804d541c213d1741084ba32d95b0f5 | [
"MIT"
] | null | null | null | Hello_World.py | Fang465/MB215Lab1 | 9a45c7e6fc804d541c213d1741084ba32d95b0f5 | [
"MIT"
] | null | null | null | print("Hello, my name is Ryan Kitamura") | 40 | 40 | 0.75 | 7 | 40 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 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 |
3ca01de01e0660058ccb8475194422ab6c649039 | 104 | py | Python | torchOnVideo/datasets/Vimeo90KTriplet/frame_interpolation/__init__.py | torchOnVideo/torchOnVideo | aa07d5661f772eca027ecc6b79e14bd68a515aa1 | [
"MIT"
] | 2 | 2021-03-19T08:05:06.000Z | 2021-05-22T21:54:10.000Z | torchOnVideo/datasets/Vimeo90KTriplet/frame_interpolation/__init__.py | torchOnVideo/torchOnVideo | aa07d5661f772eca027ecc6b79e14bd68a515aa1 | [
"MIT"
] | null | null | null | torchOnVideo/datasets/Vimeo90KTriplet/frame_interpolation/__init__.py | torchOnVideo/torchOnVideo | aa07d5661f772eca027ecc6b79e14bd68a515aa1 | [
"MIT"
] | null | null | null | from .train_adacof import TrainAdaCoF
from .train_cain import TrainCAIN
from .test_CAIN import TestCAIN
| 26 | 37 | 0.855769 | 15 | 104 | 5.733333 | 0.6 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 38 | 34.666667 | 0.934783 | 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 |
3ca43b7cd44810b0c1007f18b976c480556f7152 | 84 | py | Python | pycardano/backend/__init__.py | Blockery-io/pycardano | 81749b46324346a0e3cb4808290fd565f4ed7450 | [
"MIT"
] | 72 | 2022-01-09T03:54:06.000Z | 2022-03-30T22:05:44.000Z | pycardano/backend/__init__.py | Blockery-io/pycardano | 81749b46324346a0e3cb4808290fd565f4ed7450 | [
"MIT"
] | 13 | 2022-02-19T13:08:11.000Z | 2022-03-30T16:57:33.000Z | pycardano/backend/__init__.py | henryyuanheng-wang/pycardano | d58c53791ffef542762e6d0220d4ccd1c0950e5e | [
"MIT"
] | 15 | 2022-02-07T23:54:51.000Z | 2022-03-30T17:06:12.000Z | # flake8: noqa
from .base import *
from .blockfrost import *
from .ogmios import *
| 14 | 25 | 0.714286 | 11 | 84 | 5.454545 | 0.636364 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.190476 | 84 | 5 | 26 | 16.8 | 0.867647 | 0.142857 | 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 |
3ca803824d090f0628d75891cf8f7c180165f2a8 | 2,030 | py | Python | Operations.py | alfredots/image-processing | 6a66e75c3248bfb997ed951dace24e3d5a431f5f | [
"Apache-2.0"
] | null | null | null | Operations.py | alfredots/image-processing | 6a66e75c3248bfb997ed951dace24e3d5a431f5f | [
"Apache-2.0"
] | null | null | null | Operations.py | alfredots/image-processing | 6a66e75c3248bfb997ed951dace24e3d5a431f5f | [
"Apache-2.0"
] | null | null | null | import numpy as np
import cv2
class Operations:
@staticmethod
def binarizar(img):
rows, cols = img.shape
for i in range(rows):
for j in range(cols):
if(img[i,j] < 128):
img[i,j] = 0
else:
img[i,j] = 255
... | 25.696203 | 66 | 0.4867 | 228 | 2,030 | 4.315789 | 0.144737 | 0.036585 | 0.04065 | 0.055894 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0 | 0.026846 | 0.412808 | 2,030 | 79 | 67 | 25.696203 | 0.798658 | 0 | 0 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0 | 0.032787 | 0 | 0.213115 | 0 | 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 |
3cc3162aad3d3f093242c4bf948625131137442e | 43 | py | Python | packagename/core.py | ptrstn/python-starter | 372e1563a84dfa8a0d5af0be52cceaf607666237 | [
"Unlicense"
] | null | null | null | packagename/core.py | ptrstn/python-starter | 372e1563a84dfa8a0d5af0be52cceaf607666237 | [
"Unlicense"
] | 4 | 2021-08-23T23:32:53.000Z | 2022-01-24T10:41:02.000Z | packagename/core.py | ptrstn/python-starter | 372e1563a84dfa8a0d5af0be52cceaf607666237 | [
"Unlicense"
] | null | null | null | def do_something():
return "something"
| 14.333333 | 22 | 0.697674 | 5 | 43 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
3ce8085886e9bf5721e34cde26a31e4f71d5e1dd | 3,632 | py | Python | experiments/verification_experiments/leaf_experiment_metadata_providers.py | M4rukku/impact_of_non_iid_data_in_federated_learning | c818db03699c82e42217d56f8ddd4cc2081c8bb1 | [
"MIT"
] | null | null | null | experiments/verification_experiments/leaf_experiment_metadata_providers.py | M4rukku/impact_of_non_iid_data_in_federated_learning | c818db03699c82e42217d56f8ddd4cc2081c8bb1 | [
"MIT"
] | null | null | null | experiments/verification_experiments/leaf_experiment_metadata_providers.py | M4rukku/impact_of_non_iid_data_in_federated_learning | c818db03699c82e42217d56f8ddd4cc2081c8bb1 | [
"MIT"
] | null | null | null | from enum import IntEnum, auto
from typing import Dict
from sources.experiments.experiment_metadata_provider_utils import FixedExperimentMetadata, ExperimentMetadataProvider
class ExperimentScale(IntEnum):
SMALL = auto()
MEDIUM = auto()
LARGE = auto()
CELEBA_SCALE_EXPERIMENT_METADATA_MAP: Dict[Experime... | 28.375 | 118 | 0.688877 | 358 | 3,632 | 6.569832 | 0.134078 | 0.168367 | 0.117347 | 0.132653 | 0.875 | 0.844388 | 0.82398 | 0.799745 | 0.799745 | 0.755952 | 0 | 0.021816 | 0.217511 | 3,632 | 128 | 119 | 28.375 | 0.805771 | 0 | 0 | 0.526786 | 0 | 0 | 0.170933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026786 | 0 | 0.0625 | 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 |
3cec6e4163724eb27c47f2cce4fabae2b578c3ca | 30 | py | Python | dags/odoodw/utils/__init__.py | kakkurij/odoodw-test | 9f50b73b2d4107c2bfde9f4aebf51e7e70f251ab | [
"MIT"
] | null | null | null | dags/odoodw/utils/__init__.py | kakkurij/odoodw-test | 9f50b73b2d4107c2bfde9f4aebf51e7e70f251ab | [
"MIT"
] | null | null | null | dags/odoodw/utils/__init__.py | kakkurij/odoodw-test | 9f50b73b2d4107c2bfde9f4aebf51e7e70f251ab | [
"MIT"
] | null | null | null | from .dw_setup import DWSetup
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a72447b1785d7014243f0659a7bd0476f7a368c8 | 38 | py | Python | jsdb/__init__.py | talwrii/jsdb | a1134856326bee8625c4a893d595113506597b44 | [
"BSD-2-Clause"
] | 2 | 2020-08-28T19:15:11.000Z | 2020-09-05T01:49:25.000Z | jsdb/__init__.py | talwrii/jsdb | a1134856326bee8625c4a893d595113506597b44 | [
"BSD-2-Clause"
] | null | null | null | jsdb/__init__.py | talwrii/jsdb | a1134856326bee8625c4a893d595113506597b44 | [
"BSD-2-Clause"
] | null | null | null | from .jsdb import Jsdb, DbClosedError
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 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 |
59c135a3a043b7cd21b68b6f96aa58903615e78d | 37 | py | Python | packtets/utils/__init__.py | maxhutch/packtets | eba7d3d354da9bef50bfdbc48e6934c4e17f165c | [
"MIT"
] | 1 | 2017-12-13T18:24:14.000Z | 2017-12-13T18:24:14.000Z | packtets/utils/__init__.py | maxhutch/packtets | eba7d3d354da9bef50bfdbc48e6934c4e17f165c | [
"MIT"
] | 4 | 2016-05-19T14:48:57.000Z | 2016-05-19T19:30:54.000Z | packtets/utils/__init__.py | maxhutch/packtets | eba7d3d354da9bef50bfdbc48e6934c4e17f165c | [
"MIT"
] | null | null | null | from .io import *
from .vis import *
| 12.333333 | 18 | 0.675676 | 6 | 37 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 2 | 19 | 18.5 | 0.862069 | 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 |
59c76084bdc5f9ff51731e4d8519ac275b4767f0 | 2,263 | py | Python | src_main/devtools/bin/separate_vcprojs.py | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 25 | 2018-02-28T15:04:42.000Z | 2021-08-16T03:49:00.000Z | tf2_src/devtools/bin/separate_vcprojs.py | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 1 | 2019-09-20T11:06:03.000Z | 2019-09-20T11:06:03.000Z | tf2_src/devtools/bin/separate_vcprojs.py | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 9 | 2019-07-31T11:58:20.000Z | 2021-08-31T11:18:15.000Z |
from vsdotnetxmlparser import *
#print f.GetAttribute( 'VisualStudioProject\\Configurations\\Configuration\\<2>Tool\\CommandLine' )
WriteSeparateVCProj( LoadVCProj( 'cl_dll\\client.vcproj' ), ["Debug DoD|Win32", "Release DoD|Win32"], 'cl_dll\\client_dod.vcproj' )
WriteSeparateVCProj( LoadVCProj( 'cl_dll\\client.v... | 80.821429 | 154 | 0.735749 | 274 | 2,263 | 5.952555 | 0.120438 | 0.284488 | 0.107909 | 0.166769 | 0.827713 | 0.805641 | 0.805641 | 0.299203 | 0.061312 | 0 | 0 | 0.044669 | 0.079982 | 2,263 | 27 | 155 | 83.814815 | 0.738713 | 0.043305 | 0 | 0 | 0 | 0 | 0.582138 | 0.207311 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
59cc84ff386eccd17323c87cdb81cdc0fdefe19a | 22,479 | py | Python | scripts/ida_is_subvtable.py | RUB-SysSec/Marx | 4e9dbf1e5cfaab12a6544521032ef44bd8c9dbb1 | [
"MIT"
] | 118 | 2016-12-24T00:00:07.000Z | 2022-03-19T06:19:49.000Z | scripts/ida_is_subvtable.py | RUB-SysSec/Marx | 4e9dbf1e5cfaab12a6544521032ef44bd8c9dbb1 | [
"MIT"
] | 1 | 2021-09-17T22:01:19.000Z | 2021-09-18T16:56:38.000Z | scripts/ida_is_subvtable.py | RUB-SysSec/Marx | 4e9dbf1e5cfaab12a6544521032ef44bd8c9dbb1 | [
"MIT"
] | 14 | 2016-12-24T04:34:43.000Z | 2021-12-19T16:04:45.000Z | #!/usr/bin/python2
from idc import *
from idaapi import *
from idautils import *
'''
Checks if the vtable is a possible sub-vtable.
'''
vtables = [ 0x1c74170, 0x1c74150, 0x1c74d90, 0x1c74d50, 0x15bae30, 0x15bae50, 0x15bae70, 0x15bae90, 0x15baeb0, 0x15e3650, 0x15e3690, 0x15e35d0, 0x15e3610, 0x15e48d0, 0x15e3770, 0x15... | 548.268293 | 21,759 | 0.813114 | 2,070 | 22,479 | 8.827053 | 0.971981 | 0.001532 | 0.001751 | 0.002627 | 0.007224 | 0.007224 | 0.00405 | 0.00405 | 0 | 0 | 0 | 0.54524 | 0.095823 | 22,479 | 41 | 21,760 | 548.268293 | 0.353752 | 0.000756 | 0 | 0.269231 | 0 | 0 | 0.003749 | 0 | 0 | 0 | 0.794047 | 0 | 0 | 0 | null | null | 0 | 0.115385 | null | null | 0.346154 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab6710a479b6b16a6e9dc5c8e6504b99d346e290 | 119 | py | Python | test-simple/calc.py | Tobils/recipe-app-api | 3b0948dfd7dbefc57ae85ba8b51fcf77c5c04344 | [
"MIT"
] | 1 | 2021-02-09T04:14:18.000Z | 2021-02-09T04:14:18.000Z | test-simple/calc.py | Tobils/recipe-app-api | 3b0948dfd7dbefc57ae85ba8b51fcf77c5c04344 | [
"MIT"
] | null | null | null | test-simple/calc.py | Tobils/recipe-app-api | 3b0948dfd7dbefc57ae85ba8b51fcf77c5c04344 | [
"MIT"
] | null | null | null |
""" add 2 number """
def add(x, y):
return x + y
""" substract y from x """
def substract(x, y):
return y - x | 14.875 | 26 | 0.529412 | 21 | 119 | 3 | 0.428571 | 0.095238 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.285714 | 119 | 8 | 27 | 14.875 | 0.729412 | 0.10084 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
abb765fee4958674e53441fedc856ec2d8b1f629 | 82 | py | Python | project_name/serializers.py | dthorell/django-microservice | db66efbe240a465682989c729ea38b890ee614f3 | [
"MIT"
] | null | null | null | project_name/serializers.py | dthorell/django-microservice | db66efbe240a465682989c729ea38b890ee614f3 | [
"MIT"
] | 2 | 2021-06-09T17:46:04.000Z | 2021-06-10T18:45:20.000Z | project_name/serializers.py | dthorell/django-microservice | db66efbe240a465682989c729ea38b890ee614f3 | [
"MIT"
] | null | null | null | from rest_framework import serializers
# TODO: write here your model serializers
| 20.5 | 41 | 0.829268 | 11 | 82 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 42 | 27.333333 | 0.957143 | 0.47561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abedcabcfe29e864831d0deaddc996f78c3ca286 | 88 | py | Python | antipetros_discordbot/auxiliary_classes/aux_server_classes/__init__.py | official-antistasi-community/Antipetros_Discord_Bot | 1b5c8b61c09e61cdff671e259f0478d343a50c8d | [
"MIT"
] | null | null | null | antipetros_discordbot/auxiliary_classes/aux_server_classes/__init__.py | official-antistasi-community/Antipetros_Discord_Bot | 1b5c8b61c09e61cdff671e259f0478d343a50c8d | [
"MIT"
] | null | null | null | antipetros_discordbot/auxiliary_classes/aux_server_classes/__init__.py | official-antistasi-community/Antipetros_Discord_Bot | 1b5c8b61c09e61cdff671e259f0478d343a50c8d | [
"MIT"
] | 1 | 2021-02-12T01:10:51.000Z | 2021-02-12T01:10:51.000Z | from .server_item import *
from .helper import *
from .is_online_message_items import *
| 22 | 38 | 0.795455 | 13 | 88 | 5.076923 | 0.692308 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 3 | 39 | 29.333333 | 0.868421 | 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 |
f9ef1c766a0a46ece41bbb3a7a8db7b96419694c | 210 | py | Python | python/8kyu/generate_range_of_integers.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/generate_range_of_integers.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/generate_range_of_integers.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/55eca815d0d20962e1000106."""
from typing import List
def generate_range(_min: int, _max: int, step: int) -> List[int]:
return list(range(_min, _max + 1, step))
| 26.25 | 71 | 0.7 | 30 | 210 | 4.733333 | 0.666667 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104972 | 0.138095 | 210 | 7 | 72 | 30 | 0.679558 | 0.309524 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e60b5e32067fb2bda2b28e090317819a571c8cb5 | 184 | py | Python | codewars/8kyu/doha22/kata8/alam/test.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | null | null | null | codewars/8kyu/doha22/kata8/alam/test.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/doha22/kata8/alam/test.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | import unittest
from alarm import set_alarm
def test_set_alarm(benchmark):
assert benchmark(set_alarm,(True, True)) == False
assert benchmark(set_alarm,(False, True)) == True | 26.285714 | 53 | 0.75 | 26 | 184 | 5.115385 | 0.423077 | 0.240602 | 0.270677 | 0.345865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146739 | 184 | 7 | 54 | 26.285714 | 0.847134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
e6214603206384ef5fda0936c275e027c90d4a2d | 3,622 | py | Python | tests/dltranz_tests/test_distribution_target_loss.py | KirillVladimirov/pytorch-lifestream | 83005b950d41de8afc11711fc955ffafb5ff7a9e | [
"Apache-2.0"
] | null | null | null | tests/dltranz_tests/test_distribution_target_loss.py | KirillVladimirov/pytorch-lifestream | 83005b950d41de8afc11711fc955ffafb5ff7a9e | [
"Apache-2.0"
] | null | null | null | tests/dltranz_tests/test_distribution_target_loss.py | KirillVladimirov/pytorch-lifestream | 83005b950d41de8afc11711fc955ffafb5ff7a9e | [
"Apache-2.0"
] | 1 | 2022-02-05T15:06:48.000Z | 2022-02-05T15:06:48.000Z | import torch
import numpy as np
from dltranz.loss import DistributionTargetsLoss
def test_best_loss():
eps = 1e-7
prediction = {'neg_sum': torch.tensor([[np.log(10 + 1)]]),
'neg_distribution': torch.tensor([[100., 0., 0., 0., 0., 0.]]),
'pos_sum': torch.tensor([[0]]),
... | 35.165049 | 85 | 0.503589 | 501 | 3,622 | 3.536926 | 0.097804 | 0.057562 | 0.060948 | 0.051919 | 0.895598 | 0.892212 | 0.892212 | 0.861738 | 0.823928 | 0.762415 | 0 | 0.101438 | 0.270569 | 3,622 | 102 | 86 | 35.509804 | 0.569266 | 0 | 0 | 0.630137 | 0 | 0 | 0.127002 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 1 | 0.068493 | false | 0 | 0.041096 | 0 | 0.109589 | 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 |
e6320f7bc2522f76b9d05fac4dac9bf5482ba3a5 | 330 | py | Python | core/classifier/mfe_svm_classifier.py | yt7589/mgs | 2faae1b69e6d4cde63afb9b2432b1bf49ebdd770 | [
"Apache-2.0"
] | null | null | null | core/classifier/mfe_svm_classifier.py | yt7589/mgs | 2faae1b69e6d4cde63afb9b2432b1bf49ebdd770 | [
"Apache-2.0"
] | null | null | null | core/classifier/mfe_svm_classifier.py | yt7589/mgs | 2faae1b69e6d4cde63afb9b2432b1bf49ebdd770 | [
"Apache-2.0"
] | null | null | null | from pyAudioAnalysis import ShortTermFeatures as aSF
from pyAudioAnalysis import MidTermFeatures as aMF
from pyAudioAnalysis import audioBasicIO as aIO
import numpy as np
import plotly.graph_objs as go
import plotly
import sklearn.svm as sks # import SVC
class MfeSvmClassifier:
@staticmethod
def train():
... | 27.5 | 52 | 0.793939 | 43 | 330 | 6.069767 | 0.604651 | 0.218391 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 330 | 12 | 53 | 27.5 | 0.966667 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0.090909 | 0.636364 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e64742d7aa296f88e8ba11eeaca6dd175108b550 | 92 | py | Python | webresume/api/tests.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-ZhimaoLin | f09753f7615c5b7c2cb6d51d51424b4f616a2241 | [
"MIT"
] | null | null | null | webresume/api/tests.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-ZhimaoLin | f09753f7615c5b7c2cb6d51d51424b4f616a2241 | [
"MIT"
] | 4 | 2018-10-01T23:13:33.000Z | 2020-06-05T19:10:58.000Z | webresume/api/tests.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-ZhimaoLin | f09753f7615c5b7c2cb6d51d51424b4f616a2241 | [
"MIT"
] | 2 | 2018-10-01T19:46:09.000Z | 2018-10-09T00:40:18.000Z | from django.test import TestCase
# Create your tests here.
def test_test():
assert True | 18.4 | 32 | 0.75 | 14 | 92 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 92 | 5 | 33 | 18.4 | 0.906667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
053165b9d07b0b228d5dfaab6bcfcf22c4983f87 | 47 | py | Python | image-stitching/src/practice.py | blackmahub/de.hs-fulda.informatik.cv.image-stitching | 5ec8448322b3591b11a746d7ad99dc8e0adbcac5 | [
"MIT"
] | null | null | null | image-stitching/src/practice.py | blackmahub/de.hs-fulda.informatik.cv.image-stitching | 5ec8448322b3591b11a746d7ad99dc8e0adbcac5 | [
"MIT"
] | null | null | null | image-stitching/src/practice.py | blackmahub/de.hs-fulda.informatik.cv.image-stitching | 5ec8448322b3591b11a746d7ad99dc8e0adbcac5 | [
"MIT"
] | null | null | null | print(["java", {"python": ("ML", "AI", "CV")}]) | 47 | 47 | 0.446809 | 6 | 47 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0560bd42c719432ea281befd7da7e85337efdb08 | 27 | py | Python | esinet/minimum_norm/__init__.py | LukeTheHecker/ANNDip | 008fbea39d80b2bd97ca4c5510b0aefb5a766443 | [
"MIT"
] | 10 | 2021-01-27T14:13:18.000Z | 2021-08-12T12:48:00.000Z | esinet/minimum_norm/__init__.py | LukeTheHecker/ANNDip | 008fbea39d80b2bd97ca4c5510b0aefb5a766443 | [
"MIT"
] | 1 | 2021-12-06T12:14:17.000Z | 2021-12-06T12:19:14.000Z | esinet/minimum_norm/__init__.py | LukeTheHecker/ANNDip | 008fbea39d80b2bd97ca4c5510b0aefb5a766443 | [
"MIT"
] | 2 | 2021-05-18T23:54:03.000Z | 2021-06-04T20:57:16.000Z | from .minimum_norm import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
558f30966e1b0c96bd097eba4c0316db1c2d2a1e | 53 | py | Python | navtools/__init__.py | slott56/navtools | 9860e4e79e3bd5d6e479755180a4d85a77502102 | [
"BSD-3-Clause"
] | 5 | 2015-11-26T01:26:43.000Z | 2022-01-07T19:50:24.000Z | navtools/__init__.py | slott56/navtools | 9860e4e79e3bd5d6e479755180a4d85a77502102 | [
"BSD-3-Clause"
] | 1 | 2022-01-07T05:53:09.000Z | 2022-01-07T17:05:24.000Z | navtools/__init__.py | slott56/navtools | 9860e4e79e3bd5d6e479755180a4d85a77502102 | [
"BSD-3-Clause"
] | null | null | null | """Navtools 2021.08.29"""
__version__ = "2021.08.29"
| 17.666667 | 26 | 0.660377 | 8 | 53 | 3.875 | 0.625 | 0.387097 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.09434 | 53 | 2 | 27 | 26.5 | 0.3125 | 0.358491 | 0 | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 6 |
55a47daf6dbe85fd7e6f37790b91ddf125836834 | 47 | py | Python | libs/models/__init__.py | 0h-n0/first_deep | 8b4b1c3e2198774baaddac7b1045fecc95c59f0b | [
"MIT"
] | null | null | null | libs/models/__init__.py | 0h-n0/first_deep | 8b4b1c3e2198774baaddac7b1045fecc95c59f0b | [
"MIT"
] | null | null | null | libs/models/__init__.py | 0h-n0/first_deep | 8b4b1c3e2198774baaddac7b1045fecc95c59f0b | [
"MIT"
] | null | null | null | from .cnn import CNN
from .rnn import RNNModel
| 15.666667 | 25 | 0.787234 | 8 | 47 | 4.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.948718 | 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 |
e9471d26e68758672e6b24a57743d37bfcb749e0 | 473 | py | Python | easycodef/errors/_errors.py | fiveio/easy-codef-py | 97bd6831909e4d31af0ec7ed479b63fc977cd302 | [
"MIT"
] | 1 | 2019-09-17T00:47:08.000Z | 2019-09-17T00:47:08.000Z | easycodef/errors/_errors.py | fiveio/easy-codef-py | 97bd6831909e4d31af0ec7ed479b63fc977cd302 | [
"MIT"
] | null | null | null | easycodef/errors/_errors.py | fiveio/easy-codef-py | 97bd6831909e4d31af0ec7ed479b63fc977cd302 | [
"MIT"
] | null | null | null | class Error(Exception):
"""Base class"""
pass
class TokenGenerateError(Error):
"""
토큰 생성 에러
:param: message: 에러 메세지
"""
def __init__(self, message):
self.message = message
class ConnectedIdGenerateError(Error):
"""
커넥티드 아이디 생성 에러
:param: message: 에러 메세지
"""
... | 15.766667 | 38 | 0.604651 | 51 | 473 | 5.372549 | 0.372549 | 0.240876 | 0.120438 | 0.19708 | 0.583942 | 0.583942 | 0.583942 | 0.452555 | 0.452555 | 0.452555 | 0 | 0 | 0.281184 | 473 | 29 | 39 | 16.310345 | 0.805882 | 0.17759 | 0 | 0.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e955c5f7216626e1203ea5c95f60e47c503e989c | 4,793 | py | Python | tests/integrations/test_location_eligibility.py | uk-gov-mirror/alphagov.govuk-shielded-vulnerable-people-service | 5b191980dec554155e9d431a514a945072032e7c | [
"MIT"
] | 3 | 2020-08-16T19:36:26.000Z | 2020-10-29T14:35:01.000Z | tests/integrations/test_location_eligibility.py | uk-gov-mirror/alphagov.govuk-shielded-vulnerable-people-service | 5b191980dec554155e9d431a514a945072032e7c | [
"MIT"
] | 101 | 2020-09-03T11:10:00.000Z | 2021-10-01T03:03:46.000Z | tests/integrations/test_location_eligibility.py | alphagov-mirror/govuk-shielded-vulnerable-people-service | f9cb4ae9046fc402f0878503733a23d42546cc53 | [
"MIT"
] | 6 | 2020-07-28T09:03:20.000Z | 2021-04-10T18:04:56.000Z | from unittest.mock import patch
import pytest
from flask import Flask
from vulnerable_people_form.integrations.location_eligibility import (is_postcode_in_england,
get_postcode_tier, get_uprn_tier,
... | 50.989362 | 103 | 0.709159 | 536 | 4,793 | 5.886194 | 0.147388 | 0.073217 | 0.060856 | 0.079873 | 0.846276 | 0.794612 | 0.767036 | 0.752773 | 0.729636 | 0.711886 | 0 | 0.008318 | 0.197371 | 4,793 | 93 | 104 | 51.537634 | 0.811801 | 0 | 0 | 0.507042 | 0 | 0 | 0.264135 | 0.14855 | 0 | 0 | 0 | 0 | 0.126761 | 1 | 0.126761 | false | 0 | 0.070423 | 0 | 0.197183 | 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 |
e961df5621ca66a4e84e3da9468fa49c1caee7eb | 28 | py | Python | examples/NIPS/UrbanSounds8K/__init__.py | dais-ita/DeepProbCEP | 22790c1672c1cce49a59d18921c710f61cdde2f2 | [
"MIT"
] | 6 | 2020-09-10T03:40:53.000Z | 2021-05-26T07:30:20.000Z | examples/NIPS/UrbanSounds8K/__init__.py | dais-ita/DeepProbCEP | 22790c1672c1cce49a59d18921c710f61cdde2f2 | [
"MIT"
] | null | null | null | examples/NIPS/UrbanSounds8K/__init__.py | dais-ita/DeepProbCEP | 22790c1672c1cce49a59d18921c710f61cdde2f2 | [
"MIT"
] | 1 | 2020-11-23T15:55:57.000Z | 2020-11-23T15:55:57.000Z | from .sounds_utils import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9c6131de9d484c93efccdc4e9a06f8812efa730 | 38,322 | py | Python | CouncilTag/ingest/data.py | vinvasir/engage-backend | 0050d0c70c1cc0127e5bdef506ccea5b47e2db39 | [
"Apache-2.0"
] | null | null | null | CouncilTag/ingest/data.py | vinvasir/engage-backend | 0050d0c70c1cc0127e5bdef506ccea5b47e2db39 | [
"Apache-2.0"
] | null | null | null | CouncilTag/ingest/data.py | vinvasir/engage-backend | 0050d0c70c1cc0127e5bdef506ccea5b47e2db39 | [
"Apache-2.0"
] | null | null | null | import requests
from bs4 import BeautifulSoup
import unicodedata
import datetime
import pytz
from calendar import timegm
local_tz = pytz.timezone("America/Los_Angeles")
city_council_agendas_url = "https://www.smgov.net/departments/clerk/agendas.aspx"
list_of_sections = [u'SPECIAL AGENDA ITEMS', u'CONSENT CALENDAR', u... | 207.145946 | 30,314 | 0.925056 | 1,005 | 38,322 | 35.089552 | 0.344279 | 0.007089 | 0.002297 | 0.002552 | 0.009613 | 0.005331 | 0.001531 | 0 | 0 | 0 | 0 | 0.115782 | 0.048458 | 38,322 | 184 | 30,315 | 208.271739 | 0.851309 | 0.00655 | 0 | 0.024242 | 0 | 0.012121 | 0.84504 | 0.823931 | 0 | 1 | 0 | 0 | 0 | 1 | 0.048485 | false | 0 | 0.036364 | 0 | 0.145455 | 0.006061 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
758a62af93144a89fab6a08f01d91eb274a35585 | 181 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/accounts/models/users.py | Casanova-Development/cookiecutter-backend-django | ba669853b37826c699aba50f0ea3b478c21164a3 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/accounts/models/users.py | Casanova-Development/cookiecutter-backend-django | ba669853b37826c699aba50f0ea3b478c21164a3 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/accounts/models/users.py | Casanova-Development/cookiecutter-backend-django | ba669853b37826c699aba50f0ea3b478c21164a3 | [
"BSD-3-Clause"
] | null | null | null | """Users models for application Accounts."""
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
"""Define a custom default user model."""
pass
| 20.111111 | 51 | 0.729282 | 22 | 181 | 6 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 181 | 8 | 52 | 22.625 | 0.868421 | 0.40884 | 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 |
759359d122edb92374eac02a353263c7e3152563 | 31 | py | Python | halotools/empirical_models/composite_models/sfr_models/__init__.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/empirical_models/composite_models/sfr_models/__init__.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/empirical_models/composite_models/sfr_models/__init__.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | from .smhm_binary_sfr import *
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 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 |
75dbef1aba6b4cc33bb33e4df08bc12d7838195c | 189 | py | Python | play-1.2.4/python/Lib/site-packages/readline.py | AppSecAI-TEST/restcommander | a2523f31356938f5c7fc6d379b7678da0b1e077a | [
"Apache-2.0"
] | 550 | 2015-01-05T16:59:00.000Z | 2022-03-20T16:55:25.000Z | framework/python/Lib/site-packages/readline.py | lafayette/JBTT | 94bde9d90abbb274d29ecd82e632d43a4320876e | [
"MIT"
] | 15 | 2015-02-05T06:00:47.000Z | 2018-07-07T14:34:04.000Z | framework/python/Lib/site-packages/readline.py | lafayette/JBTT | 94bde9d90abbb274d29ecd82e632d43a4320876e | [
"MIT"
] | 119 | 2015-01-08T00:48:24.000Z | 2022-01-27T14:13:15.000Z | # -*- coding: UTF-8 -*-
#this file is needed in site-packages to emulate readline
#necessary for rlcompleter since it relies on the existance
#of a readline module
from pyreadline import *
| 31.5 | 59 | 0.761905 | 29 | 189 | 4.965517 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.164021 | 189 | 5 | 60 | 37.8 | 0.905063 | 0.820106 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f041e9d8dee51da93474cdd949930d98bd58053 | 27,816 | py | Python | v1/backend/src/rankings/urls.py | avgupta456/statbotics | 8847cec161104ec54f4c501653cd4ec558d30379 | [
"MIT"
] | 14 | 2020-05-28T21:54:45.000Z | 2022-03-17T19:39:23.000Z | v1/backend/src/rankings/urls.py | avgupta456/statbotics | 8847cec161104ec54f4c501653cd4ec558d30379 | [
"MIT"
] | 59 | 2020-05-28T21:39:45.000Z | 2022-03-25T23:51:39.000Z | backend/src/rankings/urls.py | statbotics/statbotics | 37bb0e3730d5b3aff7b6a5ba6e78ef2eada950bc | [
"MIT"
] | 1 | 2020-07-04T07:30:40.000Z | 2020-07-04T07:30:40.000Z | # type: ignore
from django.conf.urls import url
from django.urls import include, path
from drf_yasg import openapi
from drf_yasg.views import SwaggerUIRenderer, get_schema_view
from rest_framework import permissions, routers
from src.rankings.views import (
event_pred_views,
event_views,
match_views,
... | 38.473029 | 109 | 0.579702 | 3,094 | 27,816 | 4.969619 | 0.04331 | 0.092482 | 0.087799 | 0.095734 | 0.872724 | 0.831491 | 0.801249 | 0.782193 | 0.72405 | 0.700963 | 0 | 0.011523 | 0.25435 | 27,816 | 722 | 110 | 38.526316 | 0.729811 | 0.002984 | 0 | 0.572453 | 0 | 0.021521 | 0.399421 | 0.385081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008608 | 0 | 0.008608 | 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 |
f93c37f8dbb1e504769add17add9cf3550c2f7bc | 8,632 | py | Python | modules/obsolete_modules/modules_skip_connection.py | ravi-0841/spect-pitch-gan | ea4b9ea8396df753e25e0b2cb210288f683d3903 | [
"MIT"
] | null | null | null | modules/obsolete_modules/modules_skip_connection.py | ravi-0841/spect-pitch-gan | ea4b9ea8396df753e25e0b2cb210288f683d3903 | [
"MIT"
] | null | null | null | modules/obsolete_modules/modules_skip_connection.py | ravi-0841/spect-pitch-gan | ea4b9ea8396df753e25e0b2cb210288f683d3903 | [
"MIT"
] | null | null | null | import tensorflow as tf
from modules.base_modules_default_init import *
def sampler(input_pitch, input_mfc, final_filters=1, reuse=False, \
scope_name='sampler_generator'):
# Inputs have shape [batch_size, num_features, time]
input_mfc_transposed = tf.transpose(input_mfc, perm=[0, 2, ... | 40.909953 | 82 | 0.605422 | 1,054 | 8,632 | 4.643264 | 0.105313 | 0.0613 | 0.048631 | 0.062934 | 0.910298 | 0.899877 | 0.870045 | 0.85615 | 0.842256 | 0.829587 | 0 | 0.05928 | 0.298424 | 8,632 | 210 | 83 | 41.104762 | 0.748844 | 0.051089 | 0 | 0.585526 | 0 | 0 | 0.106937 | 0.021534 | 0 | 0 | 0 | 0 | 0.019737 | 1 | 0.019737 | false | 0 | 0.013158 | 0 | 0.052632 | 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 |
f95982d3734838b526a7c2aba805915b20f51c98 | 11,782 | py | Python | delay_gp_funcs.py | ciiram/PyPol_II | 50cf1d9f7a33d26f9d09a0fb90bb9bf9d2eee60a | [
"BSD-3-Clause"
] | 2 | 2017-09-29T07:27:20.000Z | 2019-12-11T14:56:31.000Z | delay_gp_funcs.py | ciiram/PyPol_II | 50cf1d9f7a33d26f9d09a0fb90bb9bf9d2eee60a | [
"BSD-3-Clause"
] | null | null | null | delay_gp_funcs.py | ciiram/PyPol_II | 50cf1d9f7a33d26f9d09a0fb90bb9bf9d2eee60a | [
"BSD-3-Clause"
] | null | null | null | # This file contains a number of useful function definitions for implementing the
# delay estimation using a Gaussian process framework without convolution
#
# Ciira wa Maina, 2014
# Dedan Kimathi University of Technology.
# Nyeri-Kenya
import pylab as pb
import numpy as np
import scipy as sp
from scipy import inte... | 24.143443 | 173 | 0.688932 | 2,540 | 11,782 | 3.04252 | 0.062598 | 0.061335 | 0.032609 | 0.052795 | 0.860637 | 0.853649 | 0.818841 | 0.799301 | 0.78455 | 0.769798 | 0 | 0.027688 | 0.111017 | 11,782 | 487 | 174 | 24.193018 | 0.710139 | 0.188932 | 0 | 0.668085 | 0 | 0 | 0.001591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059574 | false | 0 | 0.034043 | 0.012766 | 0.165957 | 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 |
f974c2c97dbaab9c6f183a3f769077a320f90f41 | 88 | py | Python | AMAO/apps/Avaliacao/Questao/forms/__init__.py | arruda/amao | 83648aa2c408b1450d721b3072dc9db4b53edbb8 | [
"MIT"
] | 2 | 2017-04-26T14:08:02.000Z | 2017-09-01T13:10:17.000Z | AMAO/apps/Avaliacao/Questao/forms/__init__.py | arruda/amao | 83648aa2c408b1450d721b3072dc9db4b53edbb8 | [
"MIT"
] | null | null | null | AMAO/apps/Avaliacao/Questao/forms/__init__.py | arruda/amao | 83648aa2c408b1450d721b3072dc9db4b53edbb8 | [
"MIT"
] | null | null | null | from consulta import *
from resolucao import *
from criar import *
from listar import *
| 17.6 | 23 | 0.772727 | 12 | 88 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 24 | 22 | 0.944444 | 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 |
f98de20da39e2f50f479deb3debab8ecdc3680af | 128 | py | Python | app/auth/__init__.py | SuYehTarn/CS651-Group8-Feedback_Forum | d1163442aea81214c4dfa8de1d353ec719bfa7ab | [
"MIT"
] | null | null | null | app/auth/__init__.py | SuYehTarn/CS651-Group8-Feedback_Forum | d1163442aea81214c4dfa8de1d353ec719bfa7ab | [
"MIT"
] | null | null | null | app/auth/__init__.py | SuYehTarn/CS651-Group8-Feedback_Forum | d1163442aea81214c4dfa8de1d353ec719bfa7ab | [
"MIT"
] | null | null | null | """Module of the Auth blueprint
"""
from flask import Blueprint
auth = Blueprint('auth', __name__)
from app.auth import views
| 16 | 34 | 0.742188 | 18 | 128 | 5.055556 | 0.611111 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 7 | 35 | 18.285714 | 0.842593 | 0.21875 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f995954a81516b76fa3d1b4ff206431fb6038688 | 37 | py | Python | src/pyV3D/__init__.py | OpenMDAO/pyV3D | 2baf32c489e2c91531b89e51a879ba8074ae2803 | [
"Apache-2.0"
] | 3 | 2015-05-13T23:43:56.000Z | 2021-01-20T10:15:17.000Z | src/pyV3D/__init__.py | OpenMDAO/pyV3D | 2baf32c489e2c91531b89e51a879ba8074ae2803 | [
"Apache-2.0"
] | 3 | 2016-10-07T08:28:20.000Z | 2016-10-07T10:25:34.000Z | src/pyV3D/__init__.py | OpenMDAO/pyV3D | 2baf32c489e2c91531b89e51a879ba8074ae2803 | [
"Apache-2.0"
] | 2 | 2017-07-16T03:57:36.000Z | 2019-10-01T23:57:45.000Z | from _pyV3D import *
import handler
| 9.25 | 20 | 0.783784 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.189189 | 37 | 3 | 21 | 12.333333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.