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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
646a688ab3f26497840ffcff5a852020ce4fcd13 | 257,228 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/80.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/80.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/80.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15240
passenger_arriving = (
(0, 2, 3, 6, 2, 2, 1, 1, 1, 0, 0, 0, 0, 3, 3, 7, 0, 3, 2, 1, 1, 3, 1, 2, 1, 0), # 0
(2, 1, 1, 10, 0, 3, 3, 0, 1, 1, 1, 0, 0, 2, 6, 5, 3, 3, 3, 2, 4, 3, 0, 2, 0, 0), # 1
(5, 6, 1, 2, 5, 0, 2, 3, 2, 0, 1, 0, 0, 1, 5, 4, 2, 4, 3, 0, 3, 1, 5, 1, 0, 0),... | 275.11016 | 493 | 0.768594 | 32,987 | 257,228 | 5.993058 | 0.211659 | 0.360559 | 0.345991 | 0.655562 | 0.38011 | 0.372927 | 0.368121 | 0.366417 | 0.366012 | 0.366012 | 0 | 0.849114 | 0.096156 | 257,228 | 934 | 494 | 275.404711 | 0.0012 | 0.015593 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b380ff9143924f09e184451b198473e57b538d82 | 3,075 | py | Python | eland/tests/dataframe/test_aggs_pytest.py | mesejo/eland | d1444f8e094ef11ce4fa6713a521245b68a842d7 | [
"Apache-2.0"
] | null | null | null | eland/tests/dataframe/test_aggs_pytest.py | mesejo/eland | d1444f8e094ef11ce4fa6713a521245b68a842d7 | [
"Apache-2.0"
] | 1 | 2020-05-06T01:34:25.000Z | 2020-05-06T01:34:25.000Z | eland/tests/dataframe/test_aggs_pytest.py | mesejo/eland | d1444f8e094ef11ce4fa6713a521245b68a842d7 | [
"Apache-2.0"
] | 1 | 2020-05-06T01:31:18.000Z | 2020-05-06T01:31:18.000Z | # Licensed to Elasticsearch B.V under one or more agreements.
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information
# File called _pytest for PyCharm compatability
import numpy as np
from pandas.testing import assert_frame_equal
fr... | 36.607143 | 86 | 0.658537 | 432 | 3,075 | 4.361111 | 0.206019 | 0.101911 | 0.076433 | 0.110403 | 0.742569 | 0.742569 | 0.70966 | 0.70966 | 0.70966 | 0.70966 | 0 | 0.00382 | 0.233821 | 3,075 | 83 | 87 | 37.048193 | 0.79584 | 0.178862 | 0 | 0.603774 | 0 | 0 | 0.079952 | 0 | 0 | 0 | 0 | 0.012048 | 0.113208 | 1 | 0.056604 | false | 0 | 0.056604 | 0 | 0.132075 | 0.113208 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3cfbc34ec9abdf44eb4c8732fbf89668296637c | 36 | py | Python | model/dialogue/__init__.py | AK391/SummerTime | 8f0e664408cc347d990c165eaefe865d9b993598 | [
"Apache-2.0"
] | null | null | null | model/dialogue/__init__.py | AK391/SummerTime | 8f0e664408cc347d990c165eaefe865d9b993598 | [
"Apache-2.0"
] | null | null | null | model/dialogue/__init__.py | AK391/SummerTime | 8f0e664408cc347d990c165eaefe865d9b993598 | [
"Apache-2.0"
] | null | null | null | from .hmnet_model import HMNetModel
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3e2dbe8a6b1b39d5eaeb2944496c333f7aed8a7 | 43 | py | Python | zdppy_log/__init__.py | zhangdapeng520/zdppy_log | b48882141256434cb5c5c66785cca75d639bdc05 | [
"MIT"
] | null | null | null | zdppy_log/__init__.py | zhangdapeng520/zdppy_log | b48882141256434cb5c5c66785cca75d639bdc05 | [
"MIT"
] | null | null | null | zdppy_log/__init__.py | zhangdapeng520/zdppy_log | b48882141256434cb5c5c66785cca75d639bdc05 | [
"MIT"
] | null | null | null | from .zdppy_log import logger, config, Log
| 21.5 | 42 | 0.790698 | 7 | 43 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 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 |
b3f9c498bf4cccb0ad0a60f0a5b22330a3a7c853 | 22 | py | Python | src/ops241/__init__.py | sthysel/ops241 | 6bdb1f48a4434e8784788c7fbdc48b67e4251d6b | [
"MIT"
] | 9 | 2019-03-23T08:39:53.000Z | 2022-03-30T21:13:17.000Z | src/ops241/__init__.py | sthysel/ops241 | 6bdb1f48a4434e8784788c7fbdc48b67e4251d6b | [
"MIT"
] | 2 | 2020-07-03T16:43:38.000Z | 2020-07-29T07:46:21.000Z | src/ops241/__init__.py | sthysel/ops241 | 6bdb1f48a4434e8784788c7fbdc48b67e4251d6b | [
"MIT"
] | 1 | 2020-12-31T09:43:29.000Z | 2020-12-31T09:43:29.000Z | """
OPS2412 Radar
"""
| 5.5 | 13 | 0.545455 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.181818 | 22 | 3 | 14 | 7.333333 | 0.444444 | 0.590909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3fd375690736349c792115f7e9551cc8867e320 | 68 | py | Python | testpydist.py | sabarikannan-ai/pydist | 1fc69c3a2cc3ee7375cc2408f94bc867ba0a6505 | [
"MIT"
] | null | null | null | testpydist.py | sabarikannan-ai/pydist | 1fc69c3a2cc3ee7375cc2408f94bc867ba0a6505 | [
"MIT"
] | null | null | null | testpydist.py | sabarikannan-ai/pydist | 1fc69c3a2cc3ee7375cc2408f94bc867ba0a6505 | [
"MIT"
] | null | null | null | import pydist
from pydist.climodule import say_hello
say_hello()
| 9.714286 | 38 | 0.808824 | 10 | 68 | 5.3 | 0.6 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 68 | 6 | 39 | 11.333333 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b60846928c81bfb62c2715c40a8771f7a8d3ae1a | 247 | py | Python | src/Animation.py | janvdb-eu/rpi-rgb-led-matrix-xmas | 7207abd974d7d5665c23a09eb21d0e65914a74e0 | [
"Apache-2.0"
] | 1 | 2021-01-25T18:22:20.000Z | 2021-01-25T18:22:20.000Z | src/Animation.py | janvdb-eu/rpi-rgb-led-matrix-xmas | 7207abd974d7d5665c23a09eb21d0e65914a74e0 | [
"Apache-2.0"
] | null | null | null | src/Animation.py | janvdb-eu/rpi-rgb-led-matrix-xmas | 7207abd974d7d5665c23a09eb21d0e65914a74e0 | [
"Apache-2.0"
] | null | null | null | class Animation:
def getName(self):
raise NotImplementedError
def getBrightness(self):
return 100
def getSetupCommand(self):
return None
def getAnimationCommand(self):
raise NotImplementedError
def getRepeatCount(self):
return 1 | 16.466667 | 31 | 0.773279 | 27 | 247 | 7.074074 | 0.555556 | 0.157068 | 0.293194 | 0.324607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019324 | 0.161943 | 247 | 15 | 32 | 16.466667 | 0.903382 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.272727 | 0.818182 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
374af6d5935152f3654396e87f6bb1d6bfab1162 | 124 | py | Python | poradnia/keys/admin.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 23 | 2015-07-20T01:10:52.000Z | 2021-01-12T10:05:48.000Z | poradnia/keys/admin.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 710 | 2015-07-12T13:19:14.000Z | 2022-03-29T12:38:18.000Z | poradnia/keys/admin.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 20 | 2015-07-21T00:45:34.000Z | 2021-01-31T12:48:18.000Z | from django.contrib import admin
from .models import Key
@admin.register(Key)
class KeyAdmin(admin.ModelAdmin):
pass
| 13.777778 | 33 | 0.766129 | 17 | 124 | 5.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 8 | 34 | 15.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3785d5b70dbb44c2d060696885db39902d4d6e39 | 134 | py | Python | AutotestWebD/apps/demo/views/testViews.py | yangjourney/sosotest | 2e88099a829749910ca325253c9b1a2e368d21a0 | [
"MIT"
] | 422 | 2019-08-18T05:04:20.000Z | 2022-03-31T06:49:19.000Z | AutotestWebD/apps/demo/views/testViews.py | LinSongJian1985/sosotest | 091863dee531b5726650bb63efd6f169267cbeb4 | [
"MIT"
] | 10 | 2019-10-24T09:55:38.000Z | 2021-09-29T17:28:43.000Z | AutotestWebD/apps/demo/views/testViews.py | LinSongJian1985/sosotest | 091863dee531b5726650bb63efd6f169267cbeb4 | [
"MIT"
] | 202 | 2019-08-18T05:04:27.000Z | 2022-03-30T05:57:18.000Z | from django.shortcuts import HttpResponse
# Create your views here.
def testcdc(request):
return HttpResponse("""{"id":1}""")
| 14.888889 | 41 | 0.701493 | 16 | 134 | 5.875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.156716 | 134 | 8 | 42 | 16.75 | 0.823009 | 0.171642 | 0 | 0 | 0 | 0 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3797f5fabc94b3224d5a7da49710ba8235e43062 | 37 | py | Python | src/dcmagick/convert/__init__.py | ar90n/dcmagick | c6816c7cb415da627992da871c8c5b7cfd8b7e93 | [
"MIT"
] | 1 | 2020-09-29T15:11:25.000Z | 2020-09-29T15:11:25.000Z | src/dcmagick/convert/__init__.py | ar90n/dcmagick | c6816c7cb415da627992da871c8c5b7cfd8b7e93 | [
"MIT"
] | 2 | 2020-02-06T20:00:13.000Z | 2020-02-11T17:58:14.000Z | src/dcmagick/convert/__init__.py | ar90n/dcmagick | c6816c7cb415da627992da871c8c5b7cfd8b7e93 | [
"MIT"
] | null | null | null | from .convert import convert # noqa
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.108108 | 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 |
37b4039d3f17d371cd477e03fae3a80313e1892a | 4,489 | py | Python | code/03_ranking/031_prep_for_evaluate.py | LadyMiss88/recommendation-engine-using-social-graph | 4ae9978b6251bffdde6793ba394dfa77a7d4a6f4 | [
"MIT"
] | null | null | null | code/03_ranking/031_prep_for_evaluate.py | LadyMiss88/recommendation-engine-using-social-graph | 4ae9978b6251bffdde6793ba394dfa77a7d4a6f4 | [
"MIT"
] | null | null | null | code/03_ranking/031_prep_for_evaluate.py | LadyMiss88/recommendation-engine-using-social-graph | 4ae9978b6251bffdde6793ba394dfa77a7d4a6f4 | [
"MIT"
] | null | null | null | import sqlite3
import pandas as pd
import pickle
# params
# ---------------------------------------------------------------
db_path = './data/foursquare.db'
conn = sqlite3.connect(db_path)
c = conn.cursor()
# prepare the data for evaluation (ALL)
# ----------------------------------------------------------------
# ge... | 26.720238 | 98 | 0.58053 | 638 | 4,489 | 3.942006 | 0.164577 | 0.035785 | 0.038171 | 0.028628 | 0.806759 | 0.787674 | 0.777336 | 0.762624 | 0.762624 | 0.748708 | 0 | 0.006928 | 0.228336 | 4,489 | 167 | 99 | 26.88024 | 0.719111 | 0.232346 | 0 | 0.680851 | 0 | 0.042553 | 0.236257 | 0.061696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031915 | 0 | 0.031915 | 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 |
37be90364e599c2aa43edbbe447e481b49637411 | 64 | py | Python | gym_wind_turbine/envs/__init__.py | emerrf/gym-wind-turbine | 7cd2382dc4cb28bb3659eadde7885d79a9f16ec1 | [
"Apache-2.0"
] | 11 | 2017-07-28T13:39:36.000Z | 2022-03-21T16:34:13.000Z | gym_wind_turbine/envs/__init__.py | emerrf/gym-wind-turbine | 7cd2382dc4cb28bb3659eadde7885d79a9f16ec1 | [
"Apache-2.0"
] | 3 | 2018-11-19T20:52:07.000Z | 2019-05-07T16:11:18.000Z | gym_wind_turbine/envs/__init__.py | emerrf/gym-wind-turbine | 7cd2382dc4cb28bb3659eadde7885d79a9f16ec1 | [
"Apache-2.0"
] | 3 | 2018-09-05T05:52:20.000Z | 2021-09-24T07:44:54.000Z | from gym_wind_turbine.envs.wind_turbine_env import WindTurbine
| 21.333333 | 62 | 0.890625 | 10 | 64 | 5.3 | 0.8 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 64 | 2 | 63 | 32 | 0.898305 | 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 |
8067afdfc954cb32f975fd3f98d90017e5e121fa | 83,646 | py | Python | core/ecdl.py | Crispy13/crispy | 835f487e099d26243153454fdc81086716114a85 | [
"MIT"
] | null | null | null | core/ecdl.py | Crispy13/crispy | 835f487e099d26243153454fdc81086716114a85 | [
"MIT"
] | null | null | null | core/ecdl.py | Crispy13/crispy | 835f487e099d26243153454fdc81086716114a85 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow import keras
import tensorflow_addons as tfa
from tensorflow.keras import backend as K
### Preactivation Resnet50 block's F (Residual function)
class PreactRes50_BlockF(keras.layers.Layer):
def __init__(self, filters, kernel_size = (3, 3), data_format = 'channels_last', kern... | 45.092183 | 194 | 0.595306 | 11,180 | 83,646 | 4.154204 | 0.035778 | 0.066553 | 0.015244 | 0.030618 | 0.890621 | 0.85869 | 0.832616 | 0.812893 | 0.801761 | 0.768108 | 0 | 0.063003 | 0.282536 | 83,646 | 1,855 | 195 | 45.092183 | 0.710896 | 0.072914 | 0 | 0.691499 | 0 | 0.000876 | 0.11178 | 0.049829 | 0 | 0 | 0 | 0 | 0.004382 | 1 | 0.038563 | false | 0 | 0.003506 | 0 | 0.072743 | 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 |
03c668188627cb6e10b509d91faa8521723d3b5d | 227 | py | Python | baselines/__init__.py | serizba/multi-obj-baselines | b5c97b8009ed32f0eb9a08454cf0d4c6620a2286 | [
"Apache-2.0"
] | 14 | 2021-05-02T10:03:49.000Z | 2022-03-14T00:52:03.000Z | baselines/__init__.py | serizba/multi-obj-baselines | b5c97b8009ed32f0eb9a08454cf0d4c6620a2286 | [
"Apache-2.0"
] | 1 | 2021-05-18T05:42:31.000Z | 2021-05-18T05:42:31.000Z | baselines/__init__.py | serizba/multi-obj-baselines | b5c97b8009ed32f0eb9a08454cf0d4c6620a2286 | [
"Apache-2.0"
] | 1 | 2021-11-16T14:28:38.000Z | 2021-11-16T14:28:38.000Z | from .core.multiobjective_experiment import MultiObjectiveSimpleExperiment
from .core.multiobjective_experiment import save_experiment, load_experiment
from .core.pareto import pareto, nDS, computeHV2D, nDS_index, crowdingDist
| 56.75 | 76 | 0.876652 | 25 | 227 | 7.76 | 0.52 | 0.123711 | 0.226804 | 0.329897 | 0.391753 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.07489 | 227 | 3 | 77 | 75.666667 | 0.919048 | 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 |
03ef173b56304c017e8e95e5f825796046e066a8 | 43 | py | Python | server/app/controllers/__init__.py | Neoteroi/BlackSheep-Azure-API | e4a7dae9fd3002fe6926c56a1b2ff65ba851e5cb | [
"MIT"
] | null | null | null | server/app/controllers/__init__.py | Neoteroi/BlackSheep-Azure-API | e4a7dae9fd3002fe6926c56a1b2ff65ba851e5cb | [
"MIT"
] | null | null | null | server/app/controllers/__init__.py | Neoteroi/BlackSheep-Azure-API | e4a7dae9fd3002fe6926c56a1b2ff65ba851e5cb | [
"MIT"
] | null | null | null | from .countries import CountriesController
| 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 |
ff205c263d364ef1b033db633c8df0ad406de1a9 | 126 | py | Python | Codewars/7kyu/area-of-a-circle/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/area-of-a-circle/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/area-of-a-circle/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.4.3
def circleArea(r):
return (type(r) in [int, float]) and (r > 0) and round(r * r * 3.141592653589793, 2)
| 25.2 | 88 | 0.603175 | 23 | 126 | 3.304348 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.214286 | 126 | 4 | 89 | 31.5 | 0.555556 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
2060a618771ba3afa2c80fcb204c4de0aac297b0 | 8,615 | py | Python | tests/test_generator.py | HarrisChu/sql_simulation | 5277ce6a1529be4e48af782b30b1ba2a5a1b0a18 | [
"Apache-2.0"
] | null | null | null | tests/test_generator.py | HarrisChu/sql_simulation | 5277ce6a1529be4e48af782b30b1ba2a5a1b0a18 | [
"Apache-2.0"
] | null | null | null | tests/test_generator.py | HarrisChu/sql_simulation | 5277ce6a1529be4e48af782b30b1ba2a5a1b0a18 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import time
import sys
from sql_simulation import utils
def test_gen_2():
g = utils.Generator()
start = time.time()
r = g.generate_two_list([1, 2, 3], ['a', 'b'])
expect_result = [['a', 'b', 1, 2, 3],
['a', 1, 'b', 2, 3],
['a', 1, 2, '... | 76.919643 | 107 | 0.2722 | 1,623 | 8,615 | 1.435613 | 0.022181 | 0.08412 | 0.045064 | 0.020601 | 0.903433 | 0.759657 | 0.269957 | 0.219742 | 0.180687 | 0.180687 | 0 | 0.285876 | 0.386071 | 8,615 | 111 | 108 | 77.612613 | 0.154661 | 0.002438 | 0 | 0.098039 | 1 | 0 | 0.051676 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.019608 | false | 0 | 0.029412 | 0 | 0.04902 | 0.029412 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
206f348176dcad7aa717ee1b0105b2b37c8463de | 1,650 | py | Python | icebox/my_configuration.py | rdw20170120/build | 058a2d317b8e1fa0e2558d9f5be20c274dfc26ef | [
"MIT"
] | null | null | null | icebox/my_configuration.py | rdw20170120/build | 058a2d317b8e1fa0e2558d9f5be20c274dfc26ef | [
"MIT"
] | null | null | null | icebox/my_configuration.py | rdw20170120/build | 058a2d317b8e1fa0e2558d9f5be20c274dfc26ef | [
"MIT"
] | null | null | null | import os
def get_cluster_user_pass():
return os.environ['CB_Cluster_PassSuper']
def get_cluster_user_name():
return os.environ['CB_Cluster_UserSuper']
def get_directory_answer():
return os.environ['CB_All_DirAnswer']
def get_directory_data():
return os.environ['CB_Cluster_DirData']
def get_direct... | 21.710526 | 50 | 0.749091 | 238 | 1,650 | 4.806723 | 0.302521 | 0.120629 | 0.211538 | 0.267483 | 0.380245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130909 | 1,650 | 75 | 51 | 22 | 0.797768 | 0 | 0 | 0 | 0 | 0 | 0.228308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.489362 | true | 0.042553 | 0.021277 | 0.489362 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
208eb05857c8d00046f0147698e1a0b42c4564b4 | 17,656 | py | Python | mars/worker/storage/tests/test_shared_io.py | sighingnow/mars | c7897fbd144d230fff5edabc1494fb3ff44aa0d2 | [
"Apache-2.0"
] | null | null | null | mars/worker/storage/tests/test_shared_io.py | sighingnow/mars | c7897fbd144d230fff5edabc1494fb3ff44aa0d2 | [
"Apache-2.0"
] | null | null | null | mars/worker/storage/tests/test_shared_io.py | sighingnow/mars | c7897fbd144d230fff5edabc1494fb3ff44aa0d2 | [
"Apache-2.0"
] | null | null | null | # Copyright 1999-2019 Alibaba Group Holding Ltd.
#
# 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 a... | 46.957447 | 104 | 0.618203 | 1,993 | 17,656 | 5.173106 | 0.118414 | 0.051503 | 0.066828 | 0.04452 | 0.780698 | 0.762755 | 0.748497 | 0.724636 | 0.713579 | 0.706984 | 0 | 0.020524 | 0.290779 | 17,656 | 375 | 105 | 47.082667 | 0.802827 | 0.037664 | 0 | 0.700348 | 0 | 0 | 0.003535 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.055749 | false | 0 | 0.045296 | 0 | 0.12892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20b6ef320623da427261c8dce6d8160fc73cd505 | 44 | py | Python | baselines/src/metrics/__init__.py | tau-nlp/scrolls | 5bfb8dbaf3a0128ac8c65922096fd95a645f6ba2 | [
"MIT"
] | 23 | 2022-01-11T11:16:28.000Z | 2022-03-11T11:57:11.000Z | baselines/src/metrics/__init__.py | tau-nlp/scrolls | 5bfb8dbaf3a0128ac8c65922096fd95a645f6ba2 | [
"MIT"
] | null | null | null | baselines/src/metrics/__init__.py | tau-nlp/scrolls | 5bfb8dbaf3a0128ac8c65922096fd95a645f6ba2 | [
"MIT"
] | 5 | 2022-01-17T07:09:19.000Z | 2022-02-14T13:36:40.000Z | from src.metrics.metrics import load_metric
| 22 | 43 | 0.863636 | 7 | 44 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 |
45531a050415b2a653b06ef8e4f4d4ced3adfaba | 241 | py | Python | drymass/__init__.py | RI-imaging/DryMass | 150cc5ec05b88c32caf4bb1ab181f34da9a9260e | [
"MIT"
] | 1 | 2022-02-23T12:32:24.000Z | 2022-02-23T12:32:24.000Z | drymass/__init__.py | RI-imaging/DryMass | 150cc5ec05b88c32caf4bb1ab181f34da9a9260e | [
"MIT"
] | 30 | 2017-11-16T13:08:18.000Z | 2022-03-28T22:12:40.000Z | drymass/__init__.py | RI-imaging/DryMass | 150cc5ec05b88c32caf4bb1ab181f34da9a9260e | [
"MIT"
] | 1 | 2018-04-05T04:17:42.000Z | 2018-04-05T04:17:42.000Z | from ._version import version as __version__ # noqa: F401
from .anasphere import analyze_sphere # noqa: F401
from .converter import convert # noqa: F401
from .extractroi import extract_roi # noqa: F401
from . import search # noqa: F401
| 40.166667 | 58 | 0.763485 | 33 | 241 | 5.363636 | 0.454545 | 0.225989 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075377 | 0.174274 | 241 | 5 | 59 | 48.2 | 0.81407 | 0.224066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2faa262ce7f3b761c9acc7151046d0590c4e831e | 48 | py | Python | api/graphql/schema/__init__.py | romeira/ghmonitor | d19419166ac32ef4bc0e4d1615d3402ca43fbbb4 | [
"MIT"
] | null | null | null | api/graphql/schema/__init__.py | romeira/ghmonitor | d19419166ac32ef4bc0e4d1615d3402ca43fbbb4 | [
"MIT"
] | 3 | 2021-03-08T19:27:22.000Z | 2022-02-12T02:12:32.000Z | api/graphql/schema/__init__.py | romeira/ghmonitor | d19419166ac32ef4bc0e4d1615d3402ca43fbbb4 | [
"MIT"
] | null | null | null | from .queries import *
from .mutations import *
| 16 | 24 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2fb4e18cc946e825d92e4ddd7308af826dc4451c | 36,265 | py | Python | tests/impact/client/fixtures.py | iakov-test/impact-client-python | c1f0f91fc15c3b8c80408cd0c0c1afc5dc67e827 | [
"BSD-3-Clause"
] | 3 | 2020-09-30T12:08:58.000Z | 2021-09-22T08:42:14.000Z | tests/impact/client/fixtures.py | iakov-test/impact-client-python | c1f0f91fc15c3b8c80408cd0c0c1afc5dc67e827 | [
"BSD-3-Clause"
] | 11 | 2020-09-24T14:25:41.000Z | 2022-02-17T03:48:26.000Z | tests/impact/client/fixtures.py | iakov-test/impact-client-python | c1f0f91fc15c3b8c80408cd0c0c1afc5dc67e827 | [
"BSD-3-Clause"
] | 1 | 2022-01-10T13:50:51.000Z | 2022-01-10T13:50:51.000Z | import collections
import unittest.mock
import pytest
import requests
import requests_mock
import modelon.impact.client
from modelon.impact.client.entities import (
CustomFunction,
Workspace,
Model,
Experiment,
ModelExecutable,
)
MockedServer = collections.namedtuple('MockedServer', [... | 32.121346 | 142 | 0.644809 | 4,263 | 36,265 | 5.143561 | 0.081633 | 0.059744 | 0.083641 | 0.040726 | 0.866968 | 0.835728 | 0.803211 | 0.748438 | 0.711634 | 0.68459 | 0 | 0.031261 | 0.222887 | 36,265 | 1,128 | 143 | 32.149823 | 0.746789 | 0 | 0 | 0.566185 | 0 | 0 | 0.223958 | 0.0845 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.010011 | 0.013348 | 0.20356 | 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 |
2fb73b2467f3138ffe1507698f7b3b009e2a65cb | 25,712 | py | Python | abp/examples/pysc2/tug_of_war/sadq_2p_2l_human_play.py | osu-xai/abp | cd83eaa2810a1c5350c849303d61639576c0bb0d | [
"MIT"
] | null | null | null | abp/examples/pysc2/tug_of_war/sadq_2p_2l_human_play.py | osu-xai/abp | cd83eaa2810a1c5350c849303d61639576c0bb0d | [
"MIT"
] | 9 | 2018-11-14T23:35:05.000Z | 2019-05-22T18:31:30.000Z | abp/examples/pysc2/tug_of_war/sadq_2p_2l_human_play.py | osu-xai/abp | cd83eaa2810a1c5350c849303d61639576c0bb0d | [
"MIT"
] | 1 | 2018-11-14T22:34:09.000Z | 2018-11-14T22:34:09.000Z | # import gym
# import time
# import numpy as np
# from absl import flags
# import sys, os
# import torch
# from abp.adaptives import SADQAdaptive, MBTSAdaptive
# from abp.utils import clear_summary_path
# from abp.explanations import PDX
# from tensorboardX import SummaryWriter
# from gym.envs.registration import regi... | 41.537964 | 128 | 0.49825 | 2,757 | 25,712 | 4.389191 | 0.088865 | 0.005289 | 0.039666 | 0.02975 | 0.991488 | 0.991488 | 0.991488 | 0.991488 | 0.991488 | 0.991488 | 0 | 0.025956 | 0.337702 | 25,712 | 619 | 129 | 41.537964 | 0.684656 | 0.535198 | 0 | 0.39819 | 0 | 0 | 0.126569 | 0.08822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0181 | false | 0 | 0.067873 | 0 | 0.113122 | 0.235294 | 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 |
2fcad4d1b3cf721eecf212b5b8a0fbdfbfb869b2 | 30 | py | Python | ubuntu20/projects/libRadtran-2.0.4/src_py/PaxHeader/general_atmosphere_options.py | AmberCrafter/docker-compose_libRadtran | 0182f991db6a13e0cacb3bf9f43809e6850593e4 | [
"MIT"
] | null | null | null | ubuntu20/projects/libRadtran-2.0.4/src_py/PaxHeader/general_atmosphere_options.py | AmberCrafter/docker-compose_libRadtran | 0182f991db6a13e0cacb3bf9f43809e6850593e4 | [
"MIT"
] | null | null | null | ubuntu20/projects/libRadtran-2.0.4/src_py/PaxHeader/general_atmosphere_options.py | AmberCrafter/docker-compose_libRadtran | 0182f991db6a13e0cacb3bf9f43809e6850593e4 | [
"MIT"
] | null | null | null | 30 mtime=1595519526.818086078
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0.066667 | 30 | 1 | 30 | 30 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
640fb49940acf39ab7bce04e385f0e3c2cd09fa3 | 136 | py | Python | netforce_product/netforce_product/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 27 | 2015-09-30T23:53:30.000Z | 2021-06-07T04:56:25.000Z | netforce_product/netforce_product/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 191 | 2015-10-08T11:46:30.000Z | 2019-11-14T02:24:36.000Z | netforce_product/netforce_product/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 32 | 2015-10-01T03:59:43.000Z | 2022-01-13T07:31:05.000Z | from . import prod_categ
from . import sell_purch_flags
from . import prod_categ2
from . import prod_attr
from . import price_list_item
| 22.666667 | 30 | 0.816176 | 22 | 136 | 4.727273 | 0.545455 | 0.480769 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.147059 | 136 | 5 | 31 | 27.2 | 0.887931 | 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 |
64385b6d6714810680258f9cc9e9115bd191d446 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/none.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/none.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/none.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e9/15/f6/5fe995d47ba12599d57d098398b5612145ac7884f83f9c1fdeb74babd6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff9dd4a2e6406cc30113435562d5361f91458101 | 92 | py | Python | test_repo/b.py | antoniopugliese/module-structure | e38516d82ee78b830a63ba89821f4fd45951208b | [
"MIT"
] | null | null | null | test_repo/b.py | antoniopugliese/module-structure | e38516d82ee78b830a63ba89821f4fd45951208b | [
"MIT"
] | null | null | null | test_repo/b.py | antoniopugliese/module-structure | e38516d82ee78b830a63ba89821f4fd45951208b | [
"MIT"
] | 1 | 2021-09-19T20:02:27.000Z | 2021-09-19T20:02:27.000Z | b = "this is file 'b'"
def b_func():
inside_b_func = 'inside b_func()'
print("b")
| 13.142857 | 37 | 0.565217 | 16 | 92 | 3 | 0.5 | 0.3125 | 0.458333 | 0.5 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 92 | 6 | 38 | 15.333333 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
444e0ca6027a30f1009d6b362161f2a4e02cd4d7 | 115 | py | Python | tests/test_admix.py | lucascottolavina/admix | 659ae573fcb06b78c069534dc30924094b5a88ea | [
"BSD-3-Clause"
] | 2 | 2021-01-23T21:43:48.000Z | 2021-01-23T21:43:57.000Z | tests/test_admix.py | lucascottolavina/admix | 659ae573fcb06b78c069534dc30924094b5a88ea | [
"BSD-3-Clause"
] | 17 | 2019-09-30T12:54:26.000Z | 2021-12-09T21:17:37.000Z | tests/test_admix.py | lucascottolavina/admix | 659ae573fcb06b78c069534dc30924094b5a88ea | [
"BSD-3-Clause"
] | 2 | 2020-03-28T14:06:05.000Z | 2021-03-18T21:50:48.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `admix` package."""
def test_admix():
import admix
| 16.428571 | 32 | 0.6 | 16 | 115 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.173913 | 115 | 6 | 33 | 19.166667 | 0.705263 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9228759d6764d138d48af1746d98c5e59e9fabf5 | 70 | py | Python | tests/test_ci.py | cloudcoder123/TestDir | 618cd3890559c01abcc20b75761014532676c95d | [
"MIT"
] | null | null | null | tests/test_ci.py | cloudcoder123/TestDir | 618cd3890559c01abcc20b75761014532676c95d | [
"MIT"
] | null | null | null | tests/test_ci.py | cloudcoder123/TestDir | 618cd3890559c01abcc20b75761014532676c95d | [
"MIT"
] | null | null | null | from citestdir import ci
def test_add():
assert ci.add(2, 2) == 4 | 17.5 | 28 | 0.657143 | 13 | 70 | 3.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.214286 | 70 | 4 | 28 | 17.5 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9255857bf7350ae79e554ebf6999b6449c7132d2 | 45 | py | Python | core/util.py | wqferr/AniMathors | 1be192f2be380fb5e68ee55d5843b4835d3e4000 | [
"MIT"
] | null | null | null | core/util.py | wqferr/AniMathors | 1be192f2be380fb5e68ee55d5843b4835d3e4000 | [
"MIT"
] | null | null | null | core/util.py | wqferr/AniMathors | 1be192f2be380fb5e68ee55d5843b4835d3e4000 | [
"MIT"
] | null | null | null | def to_r2(f):
return lambda t: (t, f(t))
| 15 | 30 | 0.555556 | 10 | 45 | 2.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.244444 | 45 | 2 | 31 | 22.5 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
92744a8b85e96717121c75df99636e07e60f96f0 | 63 | py | Python | collective/__init__.py | fustinose/ray-scalable-ml-design | 9bc01ab76ec7f6d9615fdc5d88ff9e67254e43fb | [
"Apache-2.0"
] | null | null | null | collective/__init__.py | fustinose/ray-scalable-ml-design | 9bc01ab76ec7f6d9615fdc5d88ff9e67254e43fb | [
"Apache-2.0"
] | null | null | null | collective/__init__.py | fustinose/ray-scalable-ml-design | 9bc01ab76ec7f6d9615fdc5d88ff9e67254e43fb | [
"Apache-2.0"
] | null | null | null | from collective.collective_group.base_collective_group import * | 63 | 63 | 0.904762 | 8 | 63 | 6.75 | 0.625 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.9 | 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 |
929cef591a5945fb3d7087c59debe787a5caa8e2 | 4,526 | py | Python | tests/resource_availability_test.py | AutomatedProcessImprovement/start-time-estimator | ec9884a03169ab8db4bf29799b2cebcf085aff48 | [
"Apache-2.0"
] | null | null | null | tests/resource_availability_test.py | AutomatedProcessImprovement/start-time-estimator | ec9884a03169ab8db4bf29799b2cebcf085aff48 | [
"Apache-2.0"
] | null | null | null | tests/resource_availability_test.py | AutomatedProcessImprovement/start-time-estimator | ec9884a03169ab8db4bf29799b2cebcf085aff48 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from estimate_start_times.config import Configuration
from estimate_start_times.resource_availability import SimpleResourceAvailability
from estimate_start_times.utils import read_csv_log
def test_resource_availability():
config = Configuration()
event_log = read_csv_log('./test... | 70.71875 | 136 | 0.78038 | 632 | 4,526 | 5.335443 | 0.143987 | 0.059312 | 0.060498 | 0.103796 | 0.854093 | 0.854093 | 0.838671 | 0.838671 | 0.811091 | 0.784994 | 0 | 0.03392 | 0.120636 | 4,526 | 63 | 137 | 71.84127 | 0.813317 | 0.209898 | 0 | 0.428571 | 0 | 0 | 0.110643 | 0.070205 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.071429 | false | 0 | 0.095238 | 0 | 0.166667 | 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 |
2bb25ea2184a5de199bb94de3d9d44dd5d6631f9 | 24 | py | Python | tests/test_pulsedive.py | pberba/pulsedive-py | e7b4863bd875843c97f769dac06899652ec9d910 | [
"MIT"
] | 6 | 2018-09-21T22:29:24.000Z | 2020-11-10T02:42:43.000Z | tests/test_pulsedive.py | pberba/pulsedive-py | e7b4863bd875843c97f769dac06899652ec9d910 | [
"MIT"
] | 1 | 2019-05-24T01:27:09.000Z | 2019-05-24T01:27:37.000Z | tests/test_pulsedive.py | pberba/pulsedive-py | e7b4863bd875843c97f769dac06899652ec9d910 | [
"MIT"
] | 3 | 2019-05-21T11:51:46.000Z | 2020-03-11T13:41:01.000Z | # TODO: Pulsedive Tests
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bbde66bb9cc2c03f6a67fcaaba6b4ae1af4499f | 39 | py | Python | trustregion/__init__.py | xinyufei/Quantum-Control-qutip | bd8a119b9ff8ac0929ffb1f706328759d89fcb5e | [
"BSD-3-Clause"
] | 1 | 2021-08-31T02:28:54.000Z | 2021-08-31T02:28:54.000Z | trustregion/__init__.py | xinyufei/Quantum-Control-qutip | bd8a119b9ff8ac0929ffb1f706328759d89fcb5e | [
"BSD-3-Clause"
] | null | null | null | trustregion/__init__.py | xinyufei/Quantum-Control-qutip | bd8a119b9ff8ac0929ffb1f706328759d89fcb5e | [
"BSD-3-Clause"
] | null | null | null | from trustregion.trust_region import *
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
2bcb563065712df26cc8934e22f9f25ab6fa1a5d | 8,054 | py | Python | Link_prediction_model/layer.py | amazon-research/gnn-tail-generalization | 1ff49e62b8a2e2a7273c50dce59167ea9d9161fb | [
"Apache-2.0"
] | 15 | 2021-11-03T22:06:16.000Z | 2022-03-26T06:56:48.000Z | Link_prediction_model/layer.py | amazon-research/gnn-tail-generalization | 1ff49e62b8a2e2a7273c50dce59167ea9d9161fb | [
"Apache-2.0"
] | 1 | 2022-02-22T16:11:27.000Z | 2022-03-01T07:09:35.000Z | Link_prediction_model/layer.py | amazon-research/gnn-tail-generalization | 1ff49e62b8a2e2a7273c50dce59167ea9d9161fb | [
"Apache-2.0"
] | 3 | 2022-01-08T09:58:15.000Z | 2022-03-21T22:43:16.000Z | import torch
import torch.nn.functional as F
from torch_geometric.nn import SAGEConv, GCNConv, GraphConv, TransformerConv
from Link_prediction_baseline.heuristics import eva_heuristics_v2_dec25
class Heuristics(torch.nn.Module):
def __init__(self, name, data):
super().__init__()
self.name = name
... | 39.674877 | 88 | 0.63782 | 1,126 | 8,054 | 4.288632 | 0.078153 | 0.098571 | 0.011182 | 0.01491 | 0.811555 | 0.779665 | 0.738041 | 0.724374 | 0.707186 | 0.687306 | 0 | 0.00983 | 0.25478 | 8,054 | 203 | 89 | 39.674877 | 0.794735 | 0 | 0 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177143 | false | 0 | 0.022857 | 0.017143 | 0.342857 | 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 |
2bef6809ea98ecc401540e7e178f06b049c8d35d | 11 | py | Python | hello.py | akshat7/recipe-app-api | 86e7356cbed42b5db22b0807d5c4a0461f77654f | [
"MIT"
] | null | null | null | hello.py | akshat7/recipe-app-api | 86e7356cbed42b5db22b0807d5c4a0461f77654f | [
"MIT"
] | null | null | null | hello.py | akshat7/recipe-app-api | 86e7356cbed42b5db22b0807d5c4a0461f77654f | [
"MIT"
] | null | null | null | f
f
from f
| 2.75 | 6 | 0.636364 | 4 | 11 | 1.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 11 | 3 | 7 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ecf91b1f74f1ac5f4cff917c756f7332e0787f70 | 37 | py | Python | octii/lib/channels.py | innatical/octii.py | ad793c6ef3aae02d9d7b9b90572787abf1b4651d | [
"MIT"
] | 1 | 2021-07-07T23:41:27.000Z | 2021-07-07T23:41:27.000Z | octii/lib/channels.py | innatical/octii.py | ad793c6ef3aae02d9d7b9b90572787abf1b4651d | [
"MIT"
] | null | null | null | octii/lib/channels.py | innatical/octii.py | ad793c6ef3aae02d9d7b9b90572787abf1b4651d | [
"MIT"
] | null | null | null | from ..connection import connection
| 12.333333 | 35 | 0.810811 | 4 | 37 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a64b008917596540822551b1488c04c1eefb711b | 36 | py | Python | ipyaggrid/flexbox/__init__.py | DGothrek/ipyaggrid | 1a237dd147111ac729a1e3722c446202c87d746d | [
"MIT"
] | 10 | 2019-05-12T14:58:31.000Z | 2022-02-17T18:38:15.000Z | ipyaggrid/flexbox/__init__.py | DGothrek/ipyaggrid | 1a237dd147111ac729a1e3722c446202c87d746d | [
"MIT"
] | 6 | 2020-04-04T13:25:25.000Z | 2021-06-27T09:50:38.000Z | ipyaggrid/flexbox/__init__.py | DGothrek/ipyaggrid | 1a237dd147111ac729a1e3722c446202c87d746d | [
"MIT"
] | null | null | null | from .flexbox_css import FlexboxCSS
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a66748b9e57469297515eb67d89667fc240b2007 | 43 | py | Python | api/meme_generator/cartoonify/app/image_processor/__init__.py | InFact-coop/create-refresh | 0ef01de93fa325c9146e3f407e902ef359cac488 | [
"MIT"
] | null | null | null | api/meme_generator/cartoonify/app/image_processor/__init__.py | InFact-coop/create-refresh | 0ef01de93fa325c9146e3f407e902ef359cac488 | [
"MIT"
] | 84 | 2018-12-14T11:20:57.000Z | 2022-03-11T23:36:31.000Z | api/meme_generator/cartoonify/app/image_processor/__init__.py | InFact-coop/create-refresh | 0ef01de93fa325c9146e3f407e902ef359cac488 | [
"MIT"
] | null | null | null | from .imageprocessor import ImageProcessor
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 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 |
4716b6ab8100786663e999889288d4f77729495e | 161 | py | Python | webapp/core/API/__init__.py | PoCDAB/cfns-webapp | 69637efa2046a04172898d3f41520e060efb77f5 | [
"MIT"
] | null | null | null | webapp/core/API/__init__.py | PoCDAB/cfns-webapp | 69637efa2046a04172898d3f41520e060efb77f5 | [
"MIT"
] | null | null | null | webapp/core/API/__init__.py | PoCDAB/cfns-webapp | 69637efa2046a04172898d3f41520e060efb77f5 | [
"MIT"
] | null | null | null | # API
from .default_api import UserViewSet, GroupViewSet
from .ais_api import AisViewSet
from .dab_api import DabViewSet
from .lorawan_api import lorawanViewSet
| 26.833333 | 50 | 0.84472 | 22 | 161 | 6 | 0.545455 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 161 | 5 | 51 | 32.2 | 0.929577 | 0.018634 | 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 |
47278ddde6bf9885fba738d0e01271f918977519 | 74 | py | Python | plugins/symantec_bcs/komand_symantec_bcs/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/symantec_bcs/komand_symantec_bcs/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/symantec_bcs/komand_symantec_bcs/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .submit.action import Submit
| 24.666667 | 39 | 0.77027 | 12 | 74 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 2 | 40 | 37 | 0.934426 | 0.5 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b6d40a5d343b6e34d1039e1735f1e5c3307825e | 69 | py | Python | venv/Lib/site-packages/IPython/kernel/connect.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/Lib/site-packages/IPython/kernel/connect.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/Lib/site-packages/IPython/kernel/connect.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from ipykernel.connect import *
from jupyter_client.connect import *
| 23 | 36 | 0.826087 | 9 | 69 | 6.222222 | 0.666667 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 37 | 34.5 | 0.918033 | 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 |
5bcf902480ec110c8e465037723b58a97bc12021 | 133 | py | Python | src/broker.py | iswanlun/PatternTradingBot | 0627f1ff5daea9bae6a2e782fa038f4982052053 | [
"MIT"
] | null | null | null | src/broker.py | iswanlun/PatternTradingBot | 0627f1ff5daea9bae6a2e782fa038f4982052053 | [
"MIT"
] | null | null | null | src/broker.py | iswanlun/PatternTradingBot | 0627f1ff5daea9bae6a2e782fa038f4982052053 | [
"MIT"
] | null | null | null | class Broker:
def purchase_shares():
raise NotImplementedError
def sell_shares():
raise NotImplementedError | 19 | 33 | 0.684211 | 12 | 133 | 7.416667 | 0.666667 | 0.247191 | 0.674157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 133 | 7 | 34 | 19 | 0.908163 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bdfb63390db40e1d91fa243f5e1e7f5f9a9bdcc | 8,400 | py | Python | xitorch/_tests/test_optimize.py | AdityaJ7/xitorch | fec02e225df17f47854646bc57e607f5df659e1d | [
"BSD-3-Clause"
] | null | null | null | xitorch/_tests/test_optimize.py | AdityaJ7/xitorch | fec02e225df17f47854646bc57e607f5df659e1d | [
"BSD-3-Clause"
] | null | null | null | xitorch/_tests/test_optimize.py | AdityaJ7/xitorch | fec02e225df17f47854646bc57e607f5df659e1d | [
"BSD-3-Clause"
] | null | null | null | import random
import torch
from torch.autograd import gradcheck, gradgradcheck
import xitorch as xt
from xitorch.grad.jachess import hess
from xitorch.optimize import rootfinder, equilibrium, minimize
from xitorch._tests.utils import device_dtype_float_test
class DummyModule(xt.EditableModule):
def __init__(self, ... | 33.201581 | 89 | 0.586667 | 1,106 | 8,400 | 4.333635 | 0.121157 | 0.053411 | 0.025037 | 0.037555 | 0.800334 | 0.757772 | 0.753808 | 0.729188 | 0.680784 | 0.651992 | 0 | 0.022007 | 0.275119 | 8,400 | 252 | 90 | 33.333333 | 0.76515 | 0.047857 | 0 | 0.728155 | 0 | 0 | 0.014787 | 0 | 0 | 0 | 0 | 0 | 0.024272 | 1 | 0.087379 | false | 0 | 0.033981 | 0.009709 | 0.179612 | 0 | 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 |
750a7e6ab24abb68ee8488f782315b8e9e76651f | 81 | py | Python | src/ctc/toolbox/optimize_utils/optimize_exceptions.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/toolbox/optimize_utils/optimize_exceptions.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/toolbox/optimize_utils/optimize_exceptions.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
class BadSearchDomain(Exception):
pass
| 11.571429 | 34 | 0.790123 | 8 | 81 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 6 | 35 | 13.5 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
755c82471dc3cb8b880953fcc1650cf7ac901c35 | 325 | py | Python | pyresume/__init__.py | JasonYao/resume | 9402ae3a7a6e99d2d411f0446a6ee82d0404e1a1 | [
"MIT"
] | 1 | 2018-03-31T03:46:27.000Z | 2018-03-31T03:46:27.000Z | pyresume/__init__.py | JasonYao/resume | 9402ae3a7a6e99d2d411f0446a6ee82d0404e1a1 | [
"MIT"
] | 26 | 2017-05-23T03:16:11.000Z | 2021-09-27T00:08:13.000Z | pyresume/__init__.py | JasonYao/resume | 9402ae3a7a6e99d2d411f0446a6ee82d0404e1a1 | [
"MIT"
] | 2 | 2017-04-28T21:27:27.000Z | 2021-03-19T22:48:43.000Z | from pyresume.templators.templating import ResumeData
from pyresume.templators.templating import TemplatedData
from pyresume.templators import templators
from pyresume.templators import load_data
def template_data(data: ResumeData) -> list[TemplatedData]:
return [templator.template(data) for templator in templat... | 32.5 | 65 | 0.836923 | 38 | 325 | 7.105263 | 0.421053 | 0.177778 | 0.325926 | 0.237037 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104615 | 325 | 9 | 66 | 36.111111 | 0.927835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f32e544d81622715b9eb1b99b0e47e5bc4d6c710 | 58 | py | Python | luibeal/__init__.py | shirangi/decline_curves_2pointOooh | c603639ef98e3731db73e3a8451fdc1a38eaf2b8 | [
"MIT"
] | 1 | 2021-03-30T21:00:26.000Z | 2021-03-30T21:00:26.000Z | luibeal/__init__.py | shirangi/decline_curves_2pointOooh | c603639ef98e3731db73e3a8451fdc1a38eaf2b8 | [
"MIT"
] | null | null | null | luibeal/__init__.py | shirangi/decline_curves_2pointOooh | c603639ef98e3731db73e3a8451fdc1a38eaf2b8 | [
"MIT"
] | null | null | null | from . import deck
from . import input
from . import util
| 14.5 | 19 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 20 | 19.333333 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f33f8adaa1a62520c6541c887ab95e92bef639ab | 6,832 | py | Python | vaultier/nodes/tests/integration/nodes_api_test.py | dz0ny/Vaultier | e23d86c7576f4785b4e369242d7b5f7125e4d8c6 | [
"BSD-3-Clause"
] | 30 | 2015-07-13T11:11:23.000Z | 2021-01-25T14:21:18.000Z | vaultier/nodes/tests/integration/nodes_api_test.py | corpusops/vaultier | 3baef4346add0b3bdff322257467f74b2a0c856c | [
"BSD-3-Clause"
] | null | null | null | vaultier/nodes/tests/integration/nodes_api_test.py | corpusops/vaultier | 3baef4346add0b3bdff322257467f74b2a0c856c | [
"BSD-3-Clause"
] | 31 | 2015-08-10T12:10:16.000Z | 2020-09-18T09:43:28.000Z | import pytest
from rest_framework.test import APIClient
from rest_framework.reverse import reverse
from rest_framework import status
import os
@pytest.mark.django_db
class TestNodesApi(object):
def test_perm(self):
client = APIClient()
response = client.get(reverse('node-list'))
# user n... | 30.636771 | 79 | 0.556645 | 728 | 6,832 | 5.054945 | 0.134615 | 0.095109 | 0.11413 | 0.136957 | 0.830163 | 0.823641 | 0.763859 | 0.756522 | 0.666848 | 0.644022 | 0 | 0.031726 | 0.317184 | 6,832 | 222 | 80 | 30.774775 | 0.757128 | 0.017857 | 0 | 0.719745 | 0 | 0 | 0.10082 | 0 | 0 | 0 | 0 | 0 | 0.171975 | 1 | 0.070064 | false | 0 | 0.031847 | 0 | 0.10828 | 0 | 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 |
f3bb73e4440253d595cc0d324bb88359fdd7f840 | 34 | py | Python | flask_ueditor/__init__.py | guaidashu/ueditor-flask | 6ebc565997a15b3d524976bed5983ee582fad572 | [
"MIT"
] | 3 | 2019-07-25T04:42:18.000Z | 2020-07-23T11:26:46.000Z | flask_ueditor/__init__.py | guaidashu/ueditor-flask | 6ebc565997a15b3d524976bed5983ee582fad572 | [
"MIT"
] | 1 | 2021-06-02T00:02:54.000Z | 2021-06-02T00:02:54.000Z | flask_ueditor/__init__.py | guaidashu/ueditor-flask | 6ebc565997a15b3d524976bed5983ee582fad572 | [
"MIT"
] | 1 | 2020-11-07T16:06:57.000Z | 2020-11-07T16:06:57.000Z | """
Create by yy on 2019-07-24
""" | 11.333333 | 26 | 0.588235 | 7 | 34 | 2.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.176471 | 34 | 3 | 27 | 11.333333 | 0.428571 | 0.764706 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45e7fc8722e5d6d99ad7364e339aeb25eab899f7 | 47 | py | Python | layer/activation/__init__.py | chutien/zpp-mem | 470dec89dda475f7272b876f191cef9f8266a6dc | [
"MIT"
] | 1 | 2019-10-22T11:33:23.000Z | 2019-10-22T11:33:23.000Z | layer/activation/__init__.py | chutien/zpp-mem | 470dec89dda475f7272b876f191cef9f8266a6dc | [
"MIT"
] | null | null | null | layer/activation/__init__.py | chutien/zpp-mem | 470dec89dda475f7272b876f191cef9f8266a6dc | [
"MIT"
] | null | null | null | from layer.activation.activation_layer import * | 47 | 47 | 0.87234 | 6 | 47 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45eebca5741878796b4106ce35f35fee01e75622 | 27 | py | Python | src/euler_python_package/euler_python/medium/p327.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p327.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p327.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem327():
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 |
3402a24a0425a88241ece457c0a77594e79af05a | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/semver/version_range.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/semver/version_range.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/semver/version_range.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1a/39/4a/8175a3e7440a9972c0f01a1488387118230fe262c0f3ea748d8049bea2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3468d4feaabc29da618fd6d4a96ead785a43b827 | 158 | py | Python | src/main/resources/docs/tests/E1123.py | h314to/codacy-pylint | 9d31567db6188e1b31ce0e1567998f64946502df | [
"Apache-2.0"
] | null | null | null | src/main/resources/docs/tests/E1123.py | h314to/codacy-pylint | 9d31567db6188e1b31ce0e1567998f64946502df | [
"Apache-2.0"
] | null | null | null | src/main/resources/docs/tests/E1123.py | h314to/codacy-pylint | 9d31567db6188e1b31ce0e1567998f64946502df | [
"Apache-2.0"
] | null | null | null | ##Patterns: E1123
def my_method(arg1, arg2):
print arg1 + arg2
def main():
##Err: E1123
my_method(arg1=1, arg3=3)
my_method(arg1=1, arg2=3)
| 15.8 | 29 | 0.626582 | 26 | 158 | 3.692308 | 0.5 | 0.25 | 0.375 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 0.221519 | 158 | 9 | 30 | 17.555556 | 0.617886 | 0.158228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cac30e2fa6f5f851fa27f823f1f2c4bcdb1bae96 | 85 | py | Python | Chapter1/aijack/src/aijack/attack/experiment/__init__.py | PacktPublishing/Designing-Models-for-Responsible-AI | 36b60f1e3e9db8b3d2db3ace873dbdee1b076b74 | [
"MIT"
] | null | null | null | Chapter1/aijack/src/aijack/attack/experiment/__init__.py | PacktPublishing/Designing-Models-for-Responsible-AI | 36b60f1e3e9db8b3d2db3ace873dbdee1b076b74 | [
"MIT"
] | null | null | null | Chapter1/aijack/src/aijack/attack/experiment/__init__.py | PacktPublishing/Designing-Models-for-Responsible-AI | 36b60f1e3e9db8b3d2db3ace873dbdee1b076b74 | [
"MIT"
] | 2 | 2022-01-17T07:28:22.000Z | 2022-01-30T00:12:53.000Z | from .fsha import FSHA
from .fsha_mnist import Decoder, Discriminator, Pilot, Resnet
| 28.333333 | 61 | 0.811765 | 12 | 85 | 5.666667 | 0.666667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 2 | 62 | 42.5 | 0.918919 | 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 |
cadf9d391b36ec815cce1628972acfaf27e08abe | 82 | py | Python | backend/tornadoql/__init__.py | al-indigo/vmemperor | 80eb6d47d839a4736eb6f9d2fcfad35f0a7b3bb1 | [
"Apache-2.0"
] | 1 | 2019-02-02T15:01:32.000Z | 2019-02-02T15:01:32.000Z | tornadoql/__init__.py | pashazz/vmemperor | a0b53f67d75cccbd8e1e6a0419d85babab7041f5 | [
"Apache-2.0"
] | 8 | 2017-10-11T13:26:10.000Z | 2021-12-13T20:27:52.000Z | tornadoql/__init__.py | pashazz/vmemperor | a0b53f67d75cccbd8e1e6a0419d85babab7041f5 | [
"Apache-2.0"
] | 4 | 2017-07-27T12:25:42.000Z | 2018-01-28T02:06:26.000Z | from .tornadoql import GraphQLHandler, GraphQLSubscriptionHandler, GraphiQLHandler | 82 | 82 | 0.902439 | 6 | 82 | 12.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 82 | 1 | 82 | 82 | 0.961039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b4308121549b13cf67b4715ee8bd6c31c093b87 | 18,832 | py | Python | tests/asp/cautious/hamiltonian.test.02.asp.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/cautious/hamiltonian.test.02.asp.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/cautious/hamiltonian.test.02.asp.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
1 2 0 0
1 3 0 0
1 4 0 0
1 5 0 0
1 6 0 0
1 7 0 0
1 8 0 0
1 9 0 0
1 10 0 0
1 11 0 0
1 12 0 0
1 13 0 0
1 14 0 0
1 15 0 0
1 16 0 0
1 17 0 0
1 18 0 0
1 19 0 0
1 20 0 0
1 21 0 0
1 22 0 0
1 23 0 0
1 24 0 0
1 25 0 0
1 26 0 0
1 27 0 0
1 28 0 0
1 29 0 0
1 30 0 0
1 31 0 0
1 32 0 0
1 33 0 0
1 34 0 0
1 35 0 0
1 36 0 0
1... | 15.680266 | 1,087 | 0.629514 | 6,657 | 18,832 | 1.760403 | 0.047319 | 0.124243 | 0.134397 | 0.178855 | 0.480758 | 0.057343 | 0.040618 | 0.040618 | 0.040618 | 0.040618 | 0 | 0.796685 | 0.314412 | 18,832 | 1,200 | 1,088 | 15.693333 | 0.110991 | 0 | 0 | 0.058333 | 0 | 0.000833 | 0.998354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b74cc74004874d5b370f2ff6be6c7c8414ea586 | 25 | py | Python | pesto/backend/elastic/__init__.py | saromanov/pesto | b14e92ac8295400fb56d84d7d05d5450e7dc7d61 | [
"MIT"
] | null | null | null | pesto/backend/elastic/__init__.py | saromanov/pesto | b14e92ac8295400fb56d84d7d05d5450e7dc7d61 | [
"MIT"
] | 15 | 2021-01-09T18:54:03.000Z | 2022-03-12T00:21:09.000Z | pesto/backend/elastic/__init__.py | saromanov/pesto | b14e92ac8295400fb56d84d7d05d5450e7dc7d61 | [
"MIT"
] | null | null | null | from .elastic import init | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
940cf9e0ca173ceed850983a9d81ff0b54aee7ad | 83 | py | Python | smtenv/__init__.py | 0xSMT/smt-env | dd5def06fb398de94850d412b12ac3aa1904fa85 | [
"MIT"
] | null | null | null | smtenv/__init__.py | 0xSMT/smt-env | dd5def06fb398de94850d412b12ac3aa1904fa85 | [
"MIT"
] | null | null | null | smtenv/__init__.py | 0xSMT/smt-env | dd5def06fb398de94850d412b12ac3aa1904fa85 | [
"MIT"
] | null | null | null | from .smtenv import SMTEnv
from smtenv.basegame import BaseGame
import smtenv.envs | 20.75 | 36 | 0.843373 | 12 | 83 | 5.833333 | 0.416667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 4 | 37 | 20.75 | 0.958904 | 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 |
943c8ca17e215f85595910770f2ea820aa5eb3b9 | 10,094 | py | Python | roles/lib_openshift/src/test/unit/test_oc_image.py | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 164 | 2015-07-29T17:35:04.000Z | 2021-12-16T16:38:04.000Z | roles/lib_openshift/src/test/unit/test_oc_image.py | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 3,634 | 2015-06-09T13:49:15.000Z | 2022-03-23T20:55:44.000Z | roles/lib_openshift/src/test/unit/test_oc_image.py | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 250 | 2015-06-08T19:53:11.000Z | 2022-03-01T04:51:23.000Z | '''
Unit tests for oc image
'''
import os
import sys
import unittest
import mock
import six
# Removing invalid variable names for tests so that I can
# keep them brief
# pylint: disable=invalid-name,no-name-in-module
# Disable import-error b/c our libraries aren't loaded in jenkins
# pylint: disable=import-error
# pl... | 35.921708 | 180 | 0.53299 | 1,049 | 10,094 | 4.91897 | 0.168732 | 0.034884 | 0.031008 | 0.043605 | 0.882364 | 0.877132 | 0.872093 | 0.872093 | 0.858915 | 0.839922 | 0 | 0.059025 | 0.333664 | 10,094 | 280 | 181 | 36.05 | 0.708147 | 0.062512 | 0 | 0.692683 | 0 | 0.039024 | 0.530573 | 0.153666 | 0 | 0 | 0 | 0 | 0.058537 | 1 | 0.04878 | false | 0 | 0.039024 | 0 | 0.092683 | 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 |
848855fe606af5f28b13a114f01584a55c674d2a | 29 | py | Python | sympy/logic/utilities/__init__.py | sn6uv/sympy | 5b149c2f72847e4785c65358b09d99b29f101dd5 | [
"BSD-3-Clause"
] | 7 | 2015-01-14T06:55:33.000Z | 2018-08-11T14:43:52.000Z | sympy/logic/utilities/__init__.py | sn6uv/sympy | 5b149c2f72847e4785c65358b09d99b29f101dd5 | [
"BSD-3-Clause"
] | 1 | 2018-02-19T04:56:04.000Z | 2018-02-19T04:56:04.000Z | sympy/logic/utilities/__init__.py | sn6uv/sympy | 5b149c2f72847e4785c65358b09d99b29f101dd5 | [
"BSD-3-Clause"
] | 1 | 2016-04-24T14:39:22.000Z | 2016-04-24T14:39:22.000Z | from dimacs import load_file
| 14.5 | 28 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca1b7f5e54c232cc3002bd25277f239db180bb98 | 38 | py | Python | test/test_build.py | sinkaroid/tomoe | 80b0e919cf2765639664f22388baf6ec8d1caa80 | [
"MIT"
] | 4 | 2022-03-18T09:41:44.000Z | 2022-03-30T00:52:49.000Z | test/test_build.py | sinkaroid/tomoe | 80b0e919cf2765639664f22388baf6ec8d1caa80 | [
"MIT"
] | null | null | null | test/test_build.py | sinkaroid/tomoe | 80b0e919cf2765639664f22388baf6ec8d1caa80 | [
"MIT"
] | null | null | null | import tomoe
print(tomoe.__version__)
| 12.666667 | 24 | 0.842105 | 5 | 38 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 2 | 25 | 19 | 0.8 | 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 |
ca4c4299942222c19f598d814e4e0e22ccbbec64 | 149 | py | Python | src/HABApp/mqtt/events/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 44 | 2018-12-13T08:46:44.000Z | 2022-03-07T03:23:21.000Z | src/HABApp/mqtt/events/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 156 | 2019-03-02T20:53:31.000Z | 2022-03-23T13:13:58.000Z | src/HABApp/mqtt/events/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 18 | 2019-03-08T07:13:21.000Z | 2022-03-22T19:52:31.000Z | from .mqtt_events import MqttValueChangeEvent, MqttValueUpdateEvent
from .mqtt_filters import MqttValueChangeEventFilter, MqttValueUpdateEventFilter
| 49.666667 | 80 | 0.90604 | 12 | 149 | 11.083333 | 0.75 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 149 | 2 | 81 | 74.5 | 0.956835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca93f0b130572b2edb5a75813f21cc46caee3cc9 | 166 | py | Python | tests/test_wallet_aio.py | chainsquad/python-graphenelib | 6df90dbc116d8333f2d3db830818d9f22934e33f | [
"MIT"
] | 83 | 2015-09-04T13:49:55.000Z | 2022-03-30T21:13:54.000Z | tests/test_wallet_aio.py | chainsquad/python-graphenelib | 6df90dbc116d8333f2d3db830818d9f22934e33f | [
"MIT"
] | 146 | 2015-09-23T19:07:16.000Z | 2021-07-01T01:39:15.000Z | tests/test_wallet_aio.py | chainsquad/python-graphenelib | 6df90dbc116d8333f2d3db830818d9f22934e33f | [
"MIT"
] | 70 | 2015-09-23T18:43:37.000Z | 2021-11-12T14:58:29.000Z | # -*- coding: utf-8 -*-
from .fixtures_aio import fixture_data, storage, Wallet, PrivateKey
from .test_wallet import Testcases
class Testcases(Testcases):
pass
| 20.75 | 67 | 0.746988 | 21 | 166 | 5.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.150602 | 166 | 7 | 68 | 23.714286 | 0.851064 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
049df397054aa29c438398c3e10528b1d1110bf5 | 33 | py | Python | src/routes/__init__.py | tomsaudrins/api-service | a1262b63b3c11bed373fe12547f3a41b6478d648 | [
"MIT"
] | 3 | 2021-09-21T17:43:13.000Z | 2021-09-23T08:42:34.000Z | src/routes/__init__.py | tomsaudrins/api-service | a1262b63b3c11bed373fe12547f3a41b6478d648 | [
"MIT"
] | null | null | null | src/routes/__init__.py | tomsaudrins/api-service | a1262b63b3c11bed373fe12547f3a41b6478d648 | [
"MIT"
] | 2 | 2021-09-23T08:42:44.000Z | 2021-11-13T16:21:59.000Z | from src.routes import user, car
| 16.5 | 32 | 0.787879 | 6 | 33 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04af8b91d56ca3e6ba866a1967f66ada80bd97dc | 165 | py | Python | wallet/utils/currencies.py | thoth-ky/currency_exhange_app | b1d9495057532c8a24b228e68af98929bb6abdf1 | [
"MIT"
] | null | null | null | wallet/utils/currencies.py | thoth-ky/currency_exhange_app | b1d9495057532c8a24b228e68af98929bb6abdf1 | [
"MIT"
] | null | null | null | wallet/utils/currencies.py | thoth-ky/currency_exhange_app | b1d9495057532c8a24b228e68af98929bb6abdf1 | [
"MIT"
] | null | null | null | from moneyed import CURRENCIES
def list_currency_choices():
list_currency_keys = [(key, key) for key, val in CURRENCIES.items()]
return list_currency_keys
| 23.571429 | 72 | 0.757576 | 23 | 165 | 5.173913 | 0.652174 | 0.302521 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 165 | 6 | 73 | 27.5 | 0.862319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 0 | 0 | 6 |
04d96a02d3eeb362a0939f8c94a18933a06752ac | 40 | py | Python | gears_babel/__init__.py | mandx/gears-babel | bc2fc23af35a5539a639bc0fec875e65520f74a5 | [
"MIT"
] | null | null | null | gears_babel/__init__.py | mandx/gears-babel | bc2fc23af35a5539a639bc0fec875e65520f74a5 | [
"MIT"
] | null | null | null | gears_babel/__init__.py | mandx/gears-babel | bc2fc23af35a5539a639bc0fec875e65520f74a5 | [
"MIT"
] | null | null | null | from .compiler import Babel6to5Compiler
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.1 | 40 | 1 | 40 | 40 | 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 |
b6ca2c1b4e45caa8cdf86419319365b0b3d01b37 | 5,541 | py | Python | tests/test_completion/test_completion_complete.py | KBoehme/typer | 2a1abdec64c068d7e7c79dc42a9f7930fb578dff | [
"MIT"
] | 1 | 2020-06-26T02:32:01.000Z | 2020-06-26T02:32:01.000Z | tests/test_completion/test_completion_complete.py | KBoehme/typer | 2a1abdec64c068d7e7c79dc42a9f7930fb578dff | [
"MIT"
] | null | null | null | tests/test_completion/test_completion_complete.py | KBoehme/typer | 2a1abdec64c068d7e7c79dc42a9f7930fb578dff | [
"MIT"
] | null | null | null | import os
import subprocess
from commands.help import tutorial001 as mod
def test_completion_complete_subcommand_bash():
result = subprocess.run(
["coverage", "run", mod.__file__, " "],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
encoding="utf-8",
env={
**os... | 30.955307 | 95 | 0.58401 | 547 | 5,541 | 5.570384 | 0.126143 | 0.089596 | 0.055793 | 0.082048 | 0.930752 | 0.915327 | 0.857893 | 0.857893 | 0.823105 | 0.786347 | 0 | 0.019657 | 0.283884 | 5,541 | 178 | 96 | 31.129213 | 0.748236 | 0 | 0 | 0.692308 | 0 | 0 | 0.299003 | 0.124031 | 0 | 0 | 0 | 0 | 0.064103 | 1 | 0.064103 | false | 0 | 0.019231 | 0 | 0.083333 | 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 |
8e044f9055e4507978946cf224cdda4ca64e50eb | 25,120 | py | Python | nas_lib/configs.py | auroua/NPENASv1 | 1a293e50779ccc49456dc905fa989e4778c027a2 | [
"MIT"
] | 4 | 2020-09-30T04:38:45.000Z | 2022-03-18T10:57:54.000Z | nas_lib/configs.py | auroua/NPENASv1 | 1a293e50779ccc49456dc905fa989e4778c027a2 | [
"MIT"
] | null | null | null | nas_lib/configs.py | auroua/NPENASv1 | 1a293e50779ccc49456dc905fa989e4778c027a2 | [
"MIT"
] | 1 | 2021-01-27T09:27:21.000Z | 2021-01-27T09:27:21.000Z | import sys
def meta_neuralnet_params(param_str):
if param_str == 'nasbench_case1':
params = {'search_space': 'nasbench_case1', 'loss': 'mae', 'num_layers': 10, 'layer_width': 20,
'epochs': 150, 'batch_size': 32, 'lr': .01, 'regularization': 0, 'verbose': 0}
elif param_str == 'nasbenc... | 78.993711 | 128 | 0.595183 | 2,863 | 25,120 | 4.909186 | 0.066015 | 0.07428 | 0.096763 | 0.120953 | 0.925934 | 0.913696 | 0.884881 | 0.864674 | 0.861971 | 0.853291 | 0 | 0.056146 | 0.242755 | 25,120 | 318 | 129 | 78.993711 | 0.682736 | 0.154459 | 0 | 0.662791 | 0 | 0.003876 | 0.405605 | 0.046075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015504 | false | 0.003876 | 0.003876 | 0 | 0.034884 | 0.023256 | 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 |
8e2e010aa35aa96cc2522b4c74eacc8093c6ba21 | 262 | py | Python | test/python-example.py | metaist/litparse | 80666cc9d33a80421e385064742a48e4031b0e30 | [
"MIT"
] | 7 | 2017-10-27T18:21:37.000Z | 2021-09-20T15:06:34.000Z | test/python-example.py | metaist/litparse | 80666cc9d33a80421e385064742a48e4031b0e30 | [
"MIT"
] | 2 | 2017-07-21T10:42:58.000Z | 2017-07-26T01:44:56.000Z | test/python-example.py | metaist/litparse | 80666cc9d33a80421e385064742a48e4031b0e30 | [
"MIT"
] | 1 | 2020-04-23T13:02:23.000Z | 2020-04-23T13:02:23.000Z | #!/usr/bin/env python
# To check that the generated code is correct run:
# $ litparse -p test/python-example.py.md | diff test/python-example.py -
print "Hello",
# To check that the output is correct run:
# $ litparse test/python-example.py.md
print "World"
| 21.833333 | 73 | 0.717557 | 43 | 262 | 4.372093 | 0.55814 | 0.159574 | 0.271277 | 0.303191 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 262 | 11 | 74 | 23.818182 | 0.854545 | 0.835878 | 0 | 0 | 1 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8e301ea31e9a8c507c89ed9a947c55a830c81945 | 42,394 | py | Python | Yellow_Pages/France/unit_tests.py | Jay4C/Web-Automation | 27b93c430c64dba79c6d0a21ca38a2208170c6ce | [
"MIT"
] | 2 | 2019-02-09T21:07:45.000Z | 2021-05-06T17:31:56.000Z | Yellow_Pages/France/unit_tests.py | Jay4C/Web-Automation | 27b93c430c64dba79c6d0a21ca38a2208170c6ce | [
"MIT"
] | null | null | null | Yellow_Pages/France/unit_tests.py | Jay4C/Web-Automation | 27b93c430c64dba79c6d0a21ca38a2208170c6ce | [
"MIT"
] | 1 | 2022-03-13T09:07:29.000Z | 2022-03-13T09:07:29.000Z | import unittest
import time
from pywinauto.application import Application
import pywinauto.keyboard
import pywinauto.mouse
import requests
from bs4 import BeautifulSoup
import json
class UnitTestsDesktopAutomationYellowPagesfrance(unittest.TestCase):
def test_click_on_button_email_without_opencv_1(self):
... | 48.175 | 441 | 0.456409 | 3,693 | 42,394 | 5.152992 | 0.089087 | 0.039727 | 0.057383 | 0.068313 | 0.901366 | 0.879611 | 0.826642 | 0.801209 | 0.77835 | 0.753757 | 0 | 0.046252 | 0.435439 | 42,394 | 879 | 442 | 48.229807 | 0.748851 | 0.107114 | 0 | 0.694853 | 0 | 0.066176 | 0.292541 | 0.011137 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007353 | false | 0 | 0.014706 | 0 | 0.023897 | 0.014706 | 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 |
8e36453df17665171ff37c45c5a9a2067fa4373e | 147 | py | Python | intro_to_wc_modeling/__init__.py | KarrLab/python_package_tutorial | dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6 | [
"MIT"
] | 15 | 2018-01-06T11:33:01.000Z | 2022-03-01T15:18:40.000Z | intro_to_wc_modeling/__init__.py | KarrLab/python_package_tutorial | dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6 | [
"MIT"
] | 2 | 2018-01-30T23:21:12.000Z | 2018-03-23T20:22:06.000Z | intro_to_wc_modeling/__init__.py | KarrLab/python_package_tutorial | dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6 | [
"MIT"
] | 8 | 2018-01-08T21:40:19.000Z | 2022-01-04T14:48:02.000Z | from ._version import __version__
# :obj:`str`: version
# API
from . import cell_modeling
from . import concepts_skills
from . import wc_modeling
| 18.375 | 33 | 0.77551 | 20 | 147 | 5.3 | 0.55 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14966 | 147 | 7 | 34 | 21 | 0.848 | 0.156463 | 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 |
f3d626a049a88e425b5bb490b142f637abdd8665 | 22 | py | Python | happy-new-year.py | alihesari/hello-world | 6a181a3afc09005210708c4930e037616e9fe7fe | [
"MIT"
] | 5 | 2018-12-31T05:49:43.000Z | 2021-12-31T22:13:11.000Z | happy-new-year.py | alihesari/hello-world | 6a181a3afc09005210708c4930e037616e9fe7fe | [
"MIT"
] | null | null | null | happy-new-year.py | alihesari/hello-world | 6a181a3afc09005210708c4930e037616e9fe7fe | [
"MIT"
] | 2 | 2021-01-01T01:11:42.000Z | 2022-01-01T12:20:32.000Z | print "Happy New Year" | 22 | 22 | 0.772727 | 4 | 22 | 4.25 | 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.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6d04933fece2f97e3072549f740d88685f8041e5 | 41,161 | py | Python | tests/test_filters.py | mhsiddiqui/dj-rest-filters | 0b3c2b6afff67d7707c7c04175bee1c43478b4f9 | [
"MIT"
] | null | null | null | tests/test_filters.py | mhsiddiqui/dj-rest-filters | 0b3c2b6afff67d7707c7c04175bee1c43478b4f9 | [
"MIT"
] | null | null | null | tests/test_filters.py | mhsiddiqui/dj-rest-filters | 0b3c2b6afff67d7707c7c04175bee1c43478b4f9 | [
"MIT"
] | null | null | null | import datetime
import random
from model_bakery import baker
from rest_framework.pagination import PageNumberPagination
from rest_framework.test import APIRequestFactory
from djfilters import filters
from tests.filters import BooleanFilter
from .base import BaseTestCase
from .models import (BooleanModel, DateFieldMo... | 38.360671 | 303 | 0.613566 | 4,601 | 41,161 | 5.304282 | 0.055423 | 0.063102 | 0.043024 | 0.063102 | 0.885679 | 0.863594 | 0.830731 | 0.807949 | 0.785864 | 0.75923 | 0 | 0.011871 | 0.26321 | 41,161 | 1,072 | 304 | 38.396455 | 0.792858 | 0.001045 | 0 | 0.55419 | 0 | 0.018994 | 0.109211 | 0.021356 | 0 | 0 | 0 | 0 | 0.056983 | 1 | 0.101676 | false | 0 | 0.010056 | 0.005587 | 0.206704 | 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 |
eda49b7914bd6d631334c276a1e6dfec401e88bf | 8,142 | py | Python | oops_fhir/r4/code_system/consent_category_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/consent_category_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/consent_category_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.codesystem import CodeSystem
from oops_fhir.utils import CodeSystemConcept
__all__ = ["ConsentCategoryCodes"]
_resource = CodeSystem.parse_file(Path(__file__).with_suffix(".json"))
class ConsentCategoryCodes:
"""
Consent Category Codes
This value set incl... | 52.87013 | 433 | 0.719971 | 1,040 | 8,142 | 5.625962 | 0.241346 | 0.03008 | 0.01128 | 0.01316 | 0.725175 | 0.719877 | 0.719877 | 0.712015 | 0.712015 | 0.712015 | 0 | 0.042815 | 0.211127 | 8,142 | 153 | 434 | 53.215686 | 0.867819 | 0.122206 | 0 | 0 | 0 | 0.126761 | 0.675443 | 0.035881 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042254 | 0 | 0.197183 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edba88180872c0e60a320b751e42ced56e7201b6 | 50 | py | Python | vizbert/lm/__init__.py | daemon/vizbert | e40b7d1529f8857050313f8d87ff03b1b7226c9e | [
"MIT"
] | null | null | null | vizbert/lm/__init__.py | daemon/vizbert | e40b7d1529f8857050313f8d87ff03b1b7226c9e | [
"MIT"
] | null | null | null | vizbert/lm/__init__.py | daemon/vizbert | e40b7d1529f8857050313f8d87ff03b1b7226c9e | [
"MIT"
] | null | null | null | from .generate import *
from .sequential import *
| 16.666667 | 25 | 0.76 | 6 | 50 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.904762 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
edd835bf8e888cf1421b2c2371b19c9d45115351 | 67,930 | py | Python | python/models.py | khoadoan/GraphOTSim | fd6eda79d683076e1cf2ce051a29c4ca85d4c7f4 | [
"MIT"
] | 6 | 2021-06-07T01:56:56.000Z | 2022-03-07T06:47:13.000Z | python/models.py | khoadoan/GraphOTSim | fd6eda79d683076e1cf2ce051a29c4ca85d4c7f4 | [
"MIT"
] | 3 | 2021-08-20T18:07:57.000Z | 2022-03-13T13:59:55.000Z | python/models.py | khoadoan/GraphOTSim | fd6eda79d683076e1cf2ce051a29c4ca85d4c7f4 | [
"MIT"
] | null | null | null | import random
import numpy as np
import torch
import torch.nn.functional as F
import dgl
from dgl.nn.pytorch.conv import GraphConv
from lap import lapjv
from lap import lapmod
from torch_geometric.nn import GCNConv
from PairNorm.layers import PairNorm
from layers import Conv2dSameLayer, AttentionModule, MaxPool2dLayer... | 46.305385 | 222 | 0.587605 | 8,401 | 67,930 | 4.490418 | 0.055708 | 0.069982 | 0.062029 | 0.036475 | 0.833634 | 0.816324 | 0.793023 | 0.781333 | 0.751431 | 0.743744 | 0 | 0.023227 | 0.311085 | 67,930 | 1,467 | 223 | 46.305385 | 0.782875 | 0.102414 | 0 | 0.679061 | 0 | 0 | 0.021142 | 0 | 0 | 0 | 0 | 0 | 0.001957 | 1 | 0.043053 | false | 0.021526 | 0.01272 | 0.002935 | 0.098826 | 0.008806 | 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 |
edeaf81e1515889d7a3fce5c4e443ff1c4b1129c | 12,395 | py | Python | misc/python/Octopart/octopart_api.py | LagunaCreek-Makers/general_info | fdd26cd3fbbaf2961f35a8bf39ade51bb2ffdeae | [
"Unlicense"
] | null | null | null | misc/python/Octopart/octopart_api.py | LagunaCreek-Makers/general_info | fdd26cd3fbbaf2961f35a8bf39ade51bb2ffdeae | [
"Unlicense"
] | null | null | null | misc/python/Octopart/octopart_api.py | LagunaCreek-Makers/general_info | fdd26cd3fbbaf2961f35a8bf39ade51bb2ffdeae | [
"Unlicense"
] | null | null | null | import os
import sys
import requests
import octopart_schemas as ops
class OctopartService:
"""
Interact with Octopart API
https://octopart.com/api/docs/v3/rest-api
"""
def __init__(self, api_key, include=None, callback=False, pretty_print=False, suppress_status_codes=False):
self.api_key ... | 36.137026 | 113 | 0.565228 | 1,461 | 12,395 | 4.71321 | 0.114305 | 0.048795 | 0.076677 | 0.048795 | 0.80424 | 0.797415 | 0.776939 | 0.750073 | 0.725821 | 0.713041 | 0 | 0.022963 | 0.321904 | 12,395 | 342 | 114 | 36.24269 | 0.796312 | 0.223397 | 0 | 0.646465 | 0 | 0 | 0.066806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070707 | false | 0 | 0.020202 | 0 | 0.287879 | 0.010101 | 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 |
edf0ffecbdf52736c67e1d6debd4ef99c5eb986e | 19,051 | py | Python | tests/test_sphinx_docs.py | ochukai/code | 4865a7e5ee6b42f26fd29c350a2e50d7636a6462 | [
"BSD-3-Clause"
] | null | null | null | tests/test_sphinx_docs.py | ochukai/code | 4865a7e5ee6b42f26fd29c350a2e50d7636a6462 | [
"BSD-3-Clause"
] | null | null | null | tests/test_sphinx_docs.py | ochukai/code | 4865a7e5ee6b42f26fd29c350a2e50d7636a6462 | [
"BSD-3-Clause"
] | null | null | null |
import os
from vilya.libs.permdir import get_tmpdir
from vilya.models.project import CodeDoubanProject
from vilya.models.sphinx_docs import (
SphinxDocs, guess_builder_from_path)
import nose
from tests.base import TestCase
base_yaml_conf = """
docs:
pickle:
dir: ''
builder: pickle
"""
base_... | 32.733677 | 106 | 0.587161 | 2,378 | 19,051 | 4.418839 | 0.093776 | 0.041302 | 0.059003 | 0.059669 | 0.793015 | 0.776075 | 0.770365 | 0.760944 | 0.744385 | 0.727065 | 0 | 0.010778 | 0.293843 | 19,051 | 581 | 107 | 32.790017 | 0.770311 | 0.006299 | 0 | 0.714008 | 0 | 0.003891 | 0.281427 | 0.032127 | 0 | 0 | 0 | 0 | 0.126459 | 1 | 0.075875 | false | 0 | 0.013619 | 0 | 0.118677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b66e1dd836996ab519153c59c22861f89326be58 | 116 | py | Python | restifier/__init__.py | mentat/restifier | 0dd1e7a7760d1840571836e99ab0b72628cef635 | [
"MIT"
] | null | null | null | restifier/__init__.py | mentat/restifier | 0dd1e7a7760d1840571836e99ab0b72628cef635 | [
"MIT"
] | null | null | null | restifier/__init__.py | mentat/restifier | 0dd1e7a7760d1840571836e99ab0b72628cef635 | [
"MIT"
] | null | null | null | from messages import *
from validators import *
from decorators import *
from middleware import DocumentedMiddleware | 29 | 43 | 0.844828 | 13 | 116 | 7.538462 | 0.538462 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 4 | 43 | 29 | 0.970297 | 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 |
b694479852248f130a41e64d4562b147dbf342dc | 227 | py | Python | RecoVertex/BeamSpotProducer/python/BeamSpotEarly10TeVCollision_DevDB_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/BeamSpotProducer/python/BeamSpotEarly10TeVCollision_DevDB_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/BeamSpotProducer/python/BeamSpotEarly10TeVCollision_DevDB_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from RecoVertex.BeamSpotProducer.BeamSpotEarly10TeVCollision_cfi import *
BeamSpotEarlyCollision.connect = 'frontier://FrontierDev/CMS_COND_BEAMSPOT' ##FrontierDev/CMS_COND_BEAMSPOT"
| 32.428571 | 108 | 0.859031 | 23 | 227 | 8.26087 | 0.73913 | 0.147368 | 0.189474 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.066079 | 227 | 6 | 109 | 37.833333 | 0.886792 | 0.132159 | 0 | 0 | 0 | 0 | 0.207254 | 0.207254 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
1ed136af7b1d1bc5b4a3b46f0d1bed1eba5c62e2 | 45 | py | Python | solr/__init__.py | search5/solrpy3 | 66bc4f1b49a2084bd0da6b323d44775f176512e6 | [
"Apache-2.0"
] | 7 | 2018-02-21T22:29:43.000Z | 2018-10-08T07:20:08.000Z | solr/__init__.py | search5/solrpy3 | 66bc4f1b49a2084bd0da6b323d44775f176512e6 | [
"Apache-2.0"
] | 1 | 2018-05-25T07:19:51.000Z | 2018-10-09T11:56:31.000Z | solr/__init__.py | search5/solrpy3 | 66bc4f1b49a2084bd0da6b323d44775f176512e6 | [
"Apache-2.0"
] | null | null | null | from .core import *
from .paginator import *
| 15 | 24 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 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 |
949315fae3b2246c00ca876eb7a189db3bdbceee | 136 | py | Python | rugen.py | kareemsaf/Rugen | d1a919f75ec67ab90a845a05644be3144a8f9a45 | [
"MIT"
] | null | null | null | rugen.py | kareemsaf/Rugen | d1a919f75ec67ab90a845a05644be3144a8f9a45 | [
"MIT"
] | null | null | null | rugen.py | kareemsaf/Rugen | d1a919f75ec67ab90a845a05644be3144a8f9a45 | [
"MIT"
] | null | null | null | rus = {
"ek": "й",
"ek": "ё",
}
def _build_letter(let):
return rus[let]
def create_letter(letter=""):
return _build_letter(let)
| 15.111111 | 29 | 0.617647 | 20 | 136 | 3.95 | 0.5 | 0.278481 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 136 | 8 | 30 | 17 | 0.705357 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
94ae4f7917a48a0b7909b3333c5815f5411e002a | 45 | py | Python | densely_connected_convolutional_networks/models/__init__.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | 4 | 2021-06-03T13:56:51.000Z | 2021-11-05T06:22:25.000Z | densely_connected_convolutional_networks/models/__init__.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | null | null | null | densely_connected_convolutional_networks/models/__init__.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | 1 | 2022-03-28T09:34:03.000Z | 2022-03-28T09:34:03.000Z | from .densenet import *
from .metric import * | 22.5 | 23 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 24 | 22.5 | 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 |
94cde9ecc00f020b8e4b47dd29452ad0742301e4 | 81 | py | Python | pypisample/foo.py | wmarshall484/PyPiSample | 2011ad476e0832bb94a0a9ea2bb3e7a5055859e6 | [
"MIT"
] | null | null | null | pypisample/foo.py | wmarshall484/PyPiSample | 2011ad476e0832bb94a0a9ea2bb3e7a5055859e6 | [
"MIT"
] | null | null | null | pypisample/foo.py | wmarshall484/PyPiSample | 2011ad476e0832bb94a0a9ea2bb3e7a5055859e6 | [
"MIT"
] | null | null | null | def bar():
print("Hi Dan! This was way easier than I thought it would be.")
| 20.25 | 68 | 0.654321 | 15 | 81 | 3.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234568 | 81 | 3 | 69 | 27 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a205267e63700a94e4578d96fb5488b8f24887cd | 105 | py | Python | config/context_processors.py | renelhs/cellfixstore | 7192fc6299610c852b213010647a1f55275a5933 | [
"MIT"
] | 7 | 2019-07-07T17:06:48.000Z | 2020-10-24T19:40:43.000Z | config/context_processors.py | renelhs/cellfixstore | 7192fc6299610c852b213010647a1f55275a5933 | [
"MIT"
] | 5 | 2019-12-14T11:30:41.000Z | 2021-06-10T18:25:15.000Z | config/context_processors.py | renelhs/cellfixstore | 7192fc6299610c852b213010647a1f55275a5933 | [
"MIT"
] | null | null | null | from .models import Configuration
def settings(request):
return {'settings': Configuration.load()}
| 17.5 | 45 | 0.742857 | 11 | 105 | 7.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 5 | 46 | 21 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bf861ee699c3686c6b80977fa0c82ed1c9a7896f | 90 | py | Python | DSA/Python/src/dsa/lib/math/tests/fixture.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | null | null | null | DSA/Python/src/dsa/lib/math/tests/fixture.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | 1 | 2020-10-23T04:06:56.000Z | 2020-10-23T04:06:56.000Z | DSA/Python/src/dsa/lib/math/tests/fixture.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | null | null | null | from dsa.lib.tests.fixture import LibTestCase
class MathTestCase(LibTestCase):
pass
| 15 | 45 | 0.788889 | 11 | 90 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 46 | 18 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
44ad1cba0534ce59c0e25519d953e471aaa49718 | 20 | py | Python | website_multi_company_event_sale/models/__init__.py | RL-OtherApps/website-addons | b0903daefa492c298084542de2c99f1ab13cd4b4 | [
"MIT"
] | 1 | 2020-03-01T03:04:21.000Z | 2020-03-01T03:04:21.000Z | website_multi_company_event_sale/models/__init__.py | RL-OtherApps/website-addons | b0903daefa492c298084542de2c99f1ab13cd4b4 | [
"MIT"
] | null | null | null | website_multi_company_event_sale/models/__init__.py | RL-OtherApps/website-addons | b0903daefa492c298084542de2c99f1ab13cd4b4 | [
"MIT"
] | null | null | null | from . import event
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44b47582fdbe8eb7431c023e914dcfedb2018384 | 39 | py | Python | core/datasets/temca/__init__.py | aangelopoulos/im2im-uq | b95c3620b4741c09e7104a24fc5e87d77249971c | [
"MIT"
] | 6 | 2022-02-11T03:26:29.000Z | 2022-03-28T15:09:42.000Z | core/datasets/temca/__init__.py | aangelopoulos/im2im-uq | b95c3620b4741c09e7104a24fc5e87d77249971c | [
"MIT"
] | null | null | null | core/datasets/temca/__init__.py | aangelopoulos/im2im-uq | b95c3620b4741c09e7104a24fc5e87d77249971c | [
"MIT"
] | null | null | null | from .TEMCADataset import TEMCADataset
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7822c52dbc27ab181afa6d5a99f85539ce035e20 | 189 | py | Python | doc/source/groupN/__init__.py | keszybz/pelita | 081329340b61e73436fb860f66882ffa47d0009e | [
"BSD-2-Clause"
] | null | null | null | doc/source/groupN/__init__.py | keszybz/pelita | 081329340b61e73436fb860f66882ffa47d0009e | [
"BSD-2-Clause"
] | null | null | null | doc/source/groupN/__init__.py | keszybz/pelita | 081329340b61e73436fb860f66882ffa47d0009e | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pelita.player import SimpleTeam
from .my_player import MyPlayer
def factory():
return SimpleTeam("My Team", MyPlayer(), MyPlayer())
| 21 | 56 | 0.698413 | 25 | 189 | 5.24 | 0.72 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.148148 | 189 | 8 | 57 | 23.625 | 0.807453 | 0.222222 | 0 | 0 | 0 | 0 | 0.048276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
784e21c396c5f2712959503052f2d711f34698e6 | 33 | py | Python | services/discovery/__init__.py | enigmata/h8s-proto-py | 4fa8a14bb80f0ac0fedc11d401412c15d2d033d7 | [
"MIT"
] | null | null | null | services/discovery/__init__.py | enigmata/h8s-proto-py | 4fa8a14bb80f0ac0fedc11d401412c15d2d033d7 | [
"MIT"
] | null | null | null | services/discovery/__init__.py | enigmata/h8s-proto-py | 4fa8a14bb80f0ac0fedc11d401412c15d2d033d7 | [
"MIT"
] | null | null | null | from .discovery import Discovery
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
788e50c1d35ae1d3641389224dcfede1165be5e8 | 2,812 | py | Python | models/cyclegan/layers.py | potrepka/artifact | 1424b63fedcb5273a0536503980baf7febb4d226 | [
"MIT"
] | null | null | null | models/cyclegan/layers.py | potrepka/artifact | 1424b63fedcb5273a0536503980baf7febb4d226 | [
"MIT"
] | null | null | null | models/cyclegan/layers.py | potrepka/artifact | 1424b63fedcb5273a0536503980baf7febb4d226 | [
"MIT"
] | null | null | null | import torch.nn as nn
class ConvBlock(nn.Module):
def __init__(self, in_channels, out_channels, kernel_size, stride=1,
padding=0, relu=True):
super(ConvBlock, self).__init__()
self.net = nn.Sequential(
nn.ReflectionPad2d(padding),
nn.Conv2d(in_channels, out... | 38.520548 | 78 | 0.604908 | 317 | 2,812 | 5.160883 | 0.148265 | 0.094132 | 0.121027 | 0.161369 | 0.801345 | 0.768949 | 0.768949 | 0.708435 | 0.690709 | 0.690709 | 0 | 0.016484 | 0.288051 | 2,812 | 72 | 79 | 39.055556 | 0.800699 | 0 | 0 | 0.616667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.016667 | 0.066667 | 0.283333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
789367bf05824ab841fd2faa16b2ad72f39e8f59 | 7,221 | py | Python | monai/networks/nets/vae.py | albarqounilab/MONAI | bb0b307d68021a243011a58fd82a1d275f00a51a | [
"Apache-2.0"
] | null | null | null | monai/networks/nets/vae.py | albarqounilab/MONAI | bb0b307d68021a243011a58fd82a1d275f00a51a | [
"Apache-2.0"
] | null | null | null | monai/networks/nets/vae.py | albarqounilab/MONAI | bb0b307d68021a243011a58fd82a1d275f00a51a | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from typing import Sequence
from monai.networks.blocks import Convolution
from monai.networks.layers.convutils import weights_init
from monai.utils.misc import generate_tensor
from monai.networks.nets.convolutional_autoencoders import *
__all__ = ["VariationalAutoEncoder", "Variation... | 44.850932 | 121 | 0.603656 | 937 | 7,221 | 4.370331 | 0.109925 | 0.04884 | 0.041758 | 0.07326 | 0.823199 | 0.781441 | 0.760928 | 0.743834 | 0.734066 | 0.734066 | 0 | 0.007478 | 0.277801 | 7,221 | 160 | 122 | 45.13125 | 0.777756 | 0.062041 | 0 | 0.55102 | 0 | 0 | 0.043578 | 0.007187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05102 | false | 0 | 0.071429 | 0 | 0.183673 | 0.040816 | 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 |
78bc3106f62ff32aec9ba9f874b063f2918b02ea | 6,185 | py | Python | tests/iiif_store/test_iiif_store_api.py | digirati-co-uk/drf-iiif-store | e7053ea197f6324a7efcb23aff67246634c84841 | [
"MIT"
] | null | null | null | tests/iiif_store/test_iiif_store_api.py | digirati-co-uk/drf-iiif-store | e7053ea197f6324a7efcb23aff67246634c84841 | [
"MIT"
] | null | null | null | tests/iiif_store/test_iiif_store_api.py | digirati-co-uk/drf-iiif-store | e7053ea197f6324a7efcb23aff67246634c84841 | [
"MIT"
] | null | null | null | import copy
import json
import pytest
import requests
app_endpoint = "api/iiif_store"
test_headers = {"Content-Type": "application/json", "Accept": "application/json"}
test_data_store = {}
def test_iiif_store_api_root_get(http_service):
status = 200
response = requests.get(f"{http_service}/{app_endpoint}",... | 39.14557 | 119 | 0.709943 | 806 | 6,185 | 5.129032 | 0.075682 | 0.127721 | 0.101597 | 0.116836 | 0.90179 | 0.870102 | 0.841316 | 0.818336 | 0.813014 | 0.757136 | 0 | 0.013413 | 0.156184 | 6,185 | 157 | 120 | 39.394904 | 0.778693 | 0.01827 | 0 | 0.58209 | 0 | 0 | 0.21598 | 0.084349 | 0 | 0 | 0 | 0 | 0.365672 | 1 | 0.059701 | false | 0 | 0.029851 | 0 | 0.089552 | 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 |
156c9a84d314e5e3dd5e3dab4eae97fe1a71338a | 33 | py | Python | eod/models/utils/__init__.py | Helicopt/EOD | b5db36f4ce267bf64d093b8174bde2c4097b4718 | [
"Apache-2.0"
] | 1 | 2021-11-24T09:32:27.000Z | 2021-11-24T09:32:27.000Z | eod/models/utils/__init__.py | jinfagang/EOD | a45b74430070d82d9248a10fb5e1116bb7ababe1 | [
"Apache-2.0"
] | null | null | null | eod/models/utils/__init__.py | jinfagang/EOD | a45b74430070d82d9248a10fb5e1116bb7ababe1 | [
"Apache-2.0"
] | null | null | null | from .initializer import * # noqa | 33 | 33 | 0.757576 | 4 | 33 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.892857 | 0.121212 | 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 |
ec6a6dc3119f6d8d5c2fd2c93667054ffb15cfb2 | 116 | py | Python | beyond/io/ccsds/__init__.py | priyatharsan/beyond | 1061b870407d316d43e4d1351a7ec026629685ae | [
"MIT"
] | 33 | 2017-08-23T06:21:29.000Z | 2022-03-14T07:39:45.000Z | beyond/io/ccsds/__init__.py | priyatharsan/beyond | 1061b870407d316d43e4d1351a7ec026629685ae | [
"MIT"
] | 22 | 2017-03-12T17:22:40.000Z | 2022-02-04T11:25:46.000Z | beyond/io/ccsds/__init__.py | galactics/space-api | 334a37202a7138050e46d97f719f81a4350987b5 | [
"MIT"
] | 7 | 2018-11-18T16:53:34.000Z | 2021-12-01T08:12:59.000Z | from .ccsds import load, loads, dump, dumps, CcsdsError
__all__ = ["load", "loads", "dump", "dumps", "CcsdsError"]
| 29 | 58 | 0.672414 | 14 | 116 | 5.285714 | 0.642857 | 0.243243 | 0.351351 | 0.486486 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 3 | 59 | 38.666667 | 0.74 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec7352c146e73d31b9ab1f2eb446ff5e61bb60ba | 20 | py | Python | car/__init__.py | RickHutten/Formula-AI | 8f5ea46e70696ca7f5c9cbe7109da9fce6d0294c | [
"MIT"
] | 1 | 2022-03-10T13:18:56.000Z | 2022-03-10T13:18:56.000Z | car/__init__.py | RickHutten/Formula-AI | 8f5ea46e70696ca7f5c9cbe7109da9fce6d0294c | [
"MIT"
] | null | null | null | car/__init__.py | RickHutten/Formula-AI | 8f5ea46e70696ca7f5c9cbe7109da9fce6d0294c | [
"MIT"
] | null | null | null | from .car import Car | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
ec9e5578bbad1f1fa4f98dcf7426d68de5f5ebc2 | 31 | py | Python | text_rank/__init__.py | AkihikoWatanabe/textrank | c22f51cf672f0b697a65ce0f035338a235579cb9 | [
"MIT"
] | 9 | 2017-06-04T22:54:17.000Z | 2021-11-15T11:19:29.000Z | text_rank/__init__.py | AkihikoWatanabe/textrank | c22f51cf672f0b697a65ce0f035338a235579cb9 | [
"MIT"
] | 1 | 2019-07-26T09:28:12.000Z | 2019-07-27T11:07:02.000Z | text_rank/__init__.py | AkihikoWatanabe/textrank | c22f51cf672f0b697a65ce0f035338a235579cb9 | [
"MIT"
] | 1 | 2019-05-31T09:41:24.000Z | 2019-05-31T09:41:24.000Z | from text_rank import TextRank
| 15.5 | 30 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
eca02ba3737aba4f2d778be8f7cb4bab69c84f3a | 61 | py | Python | config.py | AmineSoukara/OneSecMailBot | 45a046890dac7ca8a10f3c48a4969aedf34cd04b | [
"MIT"
] | 2 | 2021-09-04T22:36:28.000Z | 2021-11-12T04:45:19.000Z | config.py | AmineSoukara/OneSecMailBot | 45a046890dac7ca8a10f3c48a4969aedf34cd04b | [
"MIT"
] | null | null | null | config.py | AmineSoukara/OneSecMailBot | 45a046890dac7ca8a10f3c48a4969aedf34cd04b | [
"MIT"
] | 2 | 2021-09-13T05:25:30.000Z | 2022-03-16T14:10:32.000Z | API_TOKEN = '1990285019:AAEMBGioFubCs9KPUDjvlXf3SMuLYfWO-Gk'
| 30.5 | 60 | 0.868852 | 5 | 61 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.04918 | 61 | 1 | 61 | 61 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.754098 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ecef466fcf6372c626537b8b0b701baa544adabb | 37 | py | Python | timeserio/multimodel/__init__.py | ig248/timeserio | afc2a953a83e763418d417059493ef13a17d349c | [
"MIT"
] | 63 | 2019-07-12T17:16:27.000Z | 2022-02-22T11:06:50.000Z | timeserio/multimodel/__init__.py | ig248/timeserio | afc2a953a83e763418d417059493ef13a17d349c | [
"MIT"
] | 34 | 2019-07-30T11:52:09.000Z | 2022-03-28T12:42:02.000Z | timeserio/multimodel/__init__.py | ig248/timeserio | afc2a953a83e763418d417059493ef13a17d349c | [
"MIT"
] | 12 | 2019-08-14T05:51:22.000Z | 2021-03-15T09:34:15.000Z | from .base import MultiModel # noqa
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.