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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb701944de555c6b5aa828f6a520dc632ff89f50 | 12,106 | py | Python | robot-tests/IFS_acceptance_tests/libs/IFS_Selenium_Extension.py | adambirse/innovation-funding-service | db1c2bc5a25d3143df02bef9019aefd5261caf6f | [
"MIT"
] | 40 | 2017-03-29T13:58:42.000Z | 2021-07-04T22:13:12.000Z | robot-tests/IFS_acceptance_tests/libs/IFS_Selenium_Extension.py | adambirse/innovation-funding-service | db1c2bc5a25d3143df02bef9019aefd5261caf6f | [
"MIT"
] | 19 | 2017-09-30T11:57:32.000Z | 2022-02-13T18:38:48.000Z | robot-tests/IFS_acceptance_tests/libs/IFS_Selenium_Extension.py | adambirse/innovation-funding-service | db1c2bc5a25d3143df02bef9019aefd5261caf6f | [
"MIT"
] | 20 | 2017-04-05T11:34:30.000Z | 2022-03-22T14:42:08.000Z | import time
import robot
import os
from robot.libraries.BuiltIn import BuiltIn
s2l = BuiltIn().get_library_instance('Selenium2Library')
class IFS_Selenium_Extension:
def benchmarking_is_set_up(self, timeout=None):
"""Sets up the benchmarking test by deleting the old report, if it exists, and raising
... | 44.507353 | 135 | 0.648934 | 1,542 | 12,106 | 4.958495 | 0.107004 | 0.052969 | 0.034005 | 0.049438 | 0.810751 | 0.787732 | 0.756212 | 0.722077 | 0.705859 | 0.694612 | 0 | 0.001825 | 0.275896 | 12,106 | 271 | 136 | 44.671587 | 0.870408 | 0.411201 | 0 | 0.362832 | 0 | 0 | 0.104933 | 0.007204 | 0 | 0 | 0 | 0 | 0.00885 | 1 | 0.19469 | false | 0 | 0.035398 | 0.00885 | 0.415929 | 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 |
eb83f253c4e01e54081442e9b082abdf616e4a36 | 37,714 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/72.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/72.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/72.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2740
passenger_arriving = (
(2, 5, 2, 2, 1, 0, 12, 12, 4, 3, 0, 0), # 0
(6, 3, 3, 2, 2, 0, 3, 8, 3, 5, 1, 0), # 1
(4, 6, 8, 1, 1, 0, 3, 8, 3, 4, 1, 0), # 2
(6, 5, 3, 4, 4, 0, 6, 2, 5, 1, 0, 0), # 3
(2, 2, 5, 5, 1, 0, 6, 6, 4, 5, 1, 0), # 4
(5, 8, 4, 5, 2, 0, 7, 9, 8, 3, ... | 112.579104 | 213 | 0.727846 | 5,147 | 37,714 | 5.331067 | 0.222654 | 0.31488 | 0.24928 | 0.47232 | 0.331754 | 0.330479 | 0.329968 | 0.329968 | 0.329968 | 0.329968 | 0 | 0.818072 | 0.11969 | 37,714 | 334 | 214 | 112.916168 | 0.008404 | 0.03211 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ebc606ff7297cfef3499a2380ce0dda18371bca8 | 1,067 | py | Python | venv/lib/python2.7/linecache.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/linecache.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/linecache.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | XSym
0037
c7bb761f7ba04bd87b68c3fafd0b7a33
/anaconda2/lib/python2.7/linecache.py
... | 213.4 | 986 | 0.066542 | 9 | 1,067 | 7.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298701 | 0.927835 | 1,067 | 5 | 986 | 213.4 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 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 |
69367c8c1b264903506be5b24f3c7f67598e741f | 9,844 | py | Python | cogs/logs.py | BearBotOrg/Bear | e2f71eface71b9cceeb130e842b4847e1f15044d | [
"MIT"
] | null | null | null | cogs/logs.py | BearBotOrg/Bear | e2f71eface71b9cceeb130e842b4847e1f15044d | [
"MIT"
] | null | null | null | cogs/logs.py | BearBotOrg/Bear | e2f71eface71b9cceeb130e842b4847e1f15044d | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import asyncio
from bearlib.corelib import Libsettings
class Logs(commands.Cog):
def __init__(self, client):
self.client = client
self.settings = Libsettings(self.client)
@commands.command()
@commands.has_permissions(manage_guild=True)
as... | 47.555556 | 137 | 0.623527 | 1,219 | 9,844 | 4.961444 | 0.125513 | 0.046296 | 0.047784 | 0.058201 | 0.821759 | 0.781581 | 0.771825 | 0.745701 | 0.709325 | 0.709325 | 0 | 0.001098 | 0.259854 | 9,844 | 206 | 138 | 47.786408 | 0.828987 | 0.032507 | 0 | 0.629834 | 0 | 0.01105 | 0.180681 | 0.021127 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01105 | false | 0.01105 | 0.022099 | 0 | 0.121547 | 0.038674 | 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 |
6940c7104c9681e7642d204982f1dec1aa02cf49 | 153 | py | Python | profile_pyengine3D.py | ubuntunux/PyEngine3D | e5542b5b185e8b9b56fc4669a6f22eb06c386c4f | [
"BSD-2-Clause"
] | 121 | 2017-06-07T19:42:30.000Z | 2022-03-31T04:42:29.000Z | profile_pyengine3D.py | TheMasterLuaa/Axiom | ab448b57dea2e46dcf352e9abbf845fe903cd478 | [
"Apache-2.0"
] | 16 | 2015-12-21T16:57:55.000Z | 2017-03-06T15:22:37.000Z | profile_pyengine3D.py | TheMasterLuaa/Axiom | ab448b57dea2e46dcf352e9abbf845fe903cd478 | [
"Apache-2.0"
] | 16 | 2018-01-15T03:12:13.000Z | 2022-03-31T04:42:41.000Z | from pycallgraph import PyCallGraph
from pycallgraph.output import GraphvizOutput
import main
with PyCallGraph(output=GraphvizOutput()):
main.run()
| 21.857143 | 45 | 0.816993 | 17 | 153 | 7.352941 | 0.470588 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 6 | 46 | 25.5 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
694594b3fbcbbd1887a2cccff78886741ea44460 | 37 | py | Python | pykSpider/kSpider2/__init__.py | mr-eyes/kSpider2 | 6049c23a5e781534331ba1abcdbf067151e274a2 | [
"MIT"
] | 7 | 2021-12-08T21:53:32.000Z | 2022-01-29T16:31:55.000Z | pykSpider/kSpider2/__init__.py | mr-eyes/kSpider2 | 6049c23a5e781534331ba1abcdbf067151e274a2 | [
"MIT"
] | 6 | 2021-12-25T19:34:16.000Z | 2022-01-30T17:08:52.000Z | pykSpider/kSpider2/__init__.py | mr-eyes/kSpider | 739d3dfc53315478a53b4c39a7e53e932ff508c0 | [
"MIT"
] | 1 | 2022-01-14T20:14:59.000Z | 2022-01-14T20:14:59.000Z | from kSpider2.kSpider_main import cli | 37 | 37 | 0.891892 | 6 | 37 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.081081 | 37 | 1 | 37 | 37 | 0.911765 | 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 |
69579e4aaf502b724ae786dc1e28d20b362b63c1 | 82 | py | Python | mvdnet/modeling/roi_heads/__init__.py | qiank10/MVDNet | d83663df068183d1e606100adb0fc78c35f1141c | [
"Apache-2.0"
] | 51 | 2021-03-05T08:20:27.000Z | 2022-03-30T03:16:19.000Z | mvdnet/modeling/roi_heads/__init__.py | qiank10/MVDNet | d83663df068183d1e606100adb0fc78c35f1141c | [
"Apache-2.0"
] | 10 | 2021-04-04T09:07:44.000Z | 2021-12-14T09:16:11.000Z | mvdnet/modeling/roi_heads/__init__.py | qiank10/MVDNet | d83663df068183d1e606100adb0fc78c35f1141c | [
"Apache-2.0"
] | 4 | 2021-03-08T01:49:33.000Z | 2021-12-03T12:46:01.000Z | from .mvdnet_box_head import MVDNetBoxHead
from .mvdnet_rcnn import MVDNetROIHeads | 41 | 42 | 0.890244 | 11 | 82 | 6.363636 | 0.727273 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 2 | 43 | 41 | 0.933333 | 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 |
15fc11e14b9bb04c101f6e2e6fcd28ed589a6924 | 31 | py | Python | trains/utilities/locks/__init__.py | danmalowany-allegro/trains | 10f11ba0383bc0d54c54a4f079f2385403bd8ad6 | [
"Apache-2.0"
] | 1 | 2021-05-06T13:33:36.000Z | 2021-05-06T13:33:36.000Z | trains/utilities/locks/__init__.py | iridiumblue/trains | 101e5393d1ba73462a6a85df55a2dfb4b629cb0d | [
"Apache-2.0"
] | 4 | 2020-09-26T00:55:57.000Z | 2022-02-10T01:18:20.000Z | trains/utilities/locks/__init__.py | iridiumblue/trains | 101e5393d1ba73462a6a85df55a2dfb4b629cb0d | [
"Apache-2.0"
] | null | null | null | from .utils import RLock, Lock
| 15.5 | 30 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15ff442a79614b87a566c27176ef0c1e967bf13e | 366 | py | Python | flow/multiagent_envs/multiagent_env.py | SHITIANYU-hue/flow | 6fb5697868517fea7098a81b78c1be8e925f09f7 | [
"MIT"
] | 805 | 2018-08-16T22:30:51.000Z | 2022-03-31T09:25:50.000Z | flow/multiagent_envs/multiagent_env.py | SHITIANYU-hue/flow | 6fb5697868517fea7098a81b78c1be8e925f09f7 | [
"MIT"
] | 879 | 2018-08-22T17:37:06.000Z | 2022-03-29T01:06:11.000Z | flow/multiagent_envs/multiagent_env.py | SHITIANYU-hue/flow | 6fb5697868517fea7098a81b78c1be8e925f09f7 | [
"MIT"
] | 325 | 2018-08-22T06:48:00.000Z | 2022-03-21T15:09:04.000Z | """Pending deprecation file.
To view the actual content, go to: flow/envs/multiagent/base.py
"""
from flow.utils.flow_warnings import deprecated
from flow.envs.multiagent.base import MultiEnv as MAEnv
@deprecated('flow.multiagent_envs.multiagent_env',
'flow.envs.multiagent.base.MultiEnv')
class MultiEnv(... | 24.4 | 63 | 0.737705 | 49 | 366 | 5.44898 | 0.55102 | 0.209738 | 0.202247 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 366 | 14 | 64 | 26.142857 | 0.855769 | 0.295082 | 0 | 0 | 0 | 0 | 0.280488 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
c60772c978c3227d3f185a4d237b25fe4fc2481a | 1,516 | py | Python | AdventOfCode2015/Day9/Day9.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2015/Day9/Day9.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2015/Day9/Day9.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | from itertools import permutations
def part1():
values = [[int(j) if j.isnumeric() else j.split(" to ") for j in i.split(" = ")] for i in
open("input.txt", "r").read().split("\n")]
routes = {}
for i in values:
if i[0][0] not in routes:
routes[i[0][0]] = {i[0][1]: i[1]}
... | 30.32 | 93 | 0.462401 | 250 | 1,516 | 2.804 | 0.168 | 0.057061 | 0.042796 | 0.045649 | 0.798859 | 0.798859 | 0.798859 | 0.798859 | 0.798859 | 0.798859 | 0 | 0.060194 | 0.32058 | 1,516 | 49 | 94 | 30.938776 | 0.620388 | 0 | 0 | 0.790698 | 0 | 0 | 0.063325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.116279 | 0.046512 | 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 |
c61a76f145a4b2c92b4fb6fc16943cc8dee9c22b | 49,561 | py | Python | predstorm/plot.py | bairaelyn/PREDSTORM | 9153af7e0c837ae4eca709b2a14b21d10c8b6f8d | [
"MIT"
] | null | null | null | predstorm/plot.py | bairaelyn/PREDSTORM | 9153af7e0c837ae4eca709b2a14b21d10c8b6f8d | [
"MIT"
] | null | null | null | predstorm/plot.py | bairaelyn/PREDSTORM | 9153af7e0c837ae4eca709b2a14b21d10c8b6f8d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
This is the module for producing predstorm plots.
Author: C. Moestl, R. Bailey, IWF Graz, Austria
started May 2019, last update May 2019
Python 3.7
Issues:
- ...
To-dos:
- ...
Future steps:
- ...
"""
import os
import sys
import copy
import logging
import logging.config
import numpy as ... | 38.901884 | 258 | 0.625431 | 6,938 | 49,561 | 4.319977 | 0.08403 | 0.022521 | 0.019451 | 0.008675 | 0.818631 | 0.799012 | 0.772154 | 0.752202 | 0.729481 | 0.693814 | 0 | 0.017258 | 0.195638 | 49,561 | 1,273 | 259 | 38.932443 | 0.734579 | 0.256512 | 0 | 0.624804 | 0 | 0.00157 | 0.119754 | 0.017199 | 0 | 0 | 0 | 0.003142 | 0 | 1 | 0.012559 | false | 0 | 0.034537 | 0 | 0.054945 | 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 |
c61df58249bc594a95f60364fbf1a4aae3ce1b90 | 170 | py | Python | rstbx/bandpass/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-03-18T12:31:57.000Z | 2022-03-14T06:27:06.000Z | rstbx/bandpass/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | rstbx/bandpass/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-03-26T12:52:30.000Z | 2021-03-26T12:52:30.000Z | from __future__ import absolute_import, division, print_function
import boost.python
ext = boost.python.import_ext("rstbx_bandpass_ext")
from rstbx_bandpass_ext import *
| 34 | 64 | 0.847059 | 24 | 170 | 5.541667 | 0.5 | 0.165414 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 170 | 4 | 65 | 42.5 | 0.858065 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c635bb51b2a9b47c2c50a1f3461e2a9c2ac99c20 | 69 | py | Python | python/testData/testRunner/env/pytest/failTest/test_b.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/testRunner/env/pytest/failTest/test_b.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/testRunner/env/pytest/failTest/test_b.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z |
import pytest
import nonexistent
def test_b():
assert False
| 6.9 | 18 | 0.710145 | 9 | 69 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 69 | 9 | 19 | 7.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c64df4b6b286f6d961bfc94789f5d3fdf15d669a | 590 | py | Python | lca2012-silly.py | DarkStarSword/junk | f0de649a3ef92715fbc6aeff7599ad843763c32b | [
"MIT"
] | 19 | 2015-02-02T16:49:32.000Z | 2021-12-04T02:33:10.000Z | lca2012-silly.py | DarkStarSword/junk | f0de649a3ef92715fbc6aeff7599ad843763c32b | [
"MIT"
] | 1 | 2015-07-11T13:57:34.000Z | 2015-11-16T02:36:23.000Z | lca2012-silly.py | DarkStarSword/junk | f0de649a3ef92715fbc6aeff7599ad843763c32b | [
"MIT"
] | 4 | 2017-02-06T21:11:17.000Z | 2019-04-04T15:11:50.000Z | #!/usr/bin/env python
map(lambda x:globals().__setitem__(x,__import__(x)),'sys os types hashlib math re encodings.rot_13 encodings.latin_1 urllib2'.split());(__builtins__.__import__,os.uname)=(lambda n,g=0,l=0,f=0,**k:map(lambda m:sys.modules.setdefault(m,types.ClassType(m,(),{'__getattr__':lambda*_:[]})()),['.'.join(n... | 196.666667 | 567 | 0.69322 | 100 | 590 | 3.84 | 0.62 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042032 | 0.032203 | 590 | 2 | 568 | 295 | 0.630473 | 0.033898 | 0 | 0 | 0 | 1 | 0.297012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d67d619ec49204ff5b7d4224cda3adbf9fe04d5e | 1,247 | bzl | Python | third_party/mkl_dnn/build_defs.bzl | aalbersk/DeepRec | f673a950780959b44dcda99398880a1d883ab338 | [
"Apache-2.0"
] | 292 | 2021-12-24T03:24:33.000Z | 2022-03-31T15:41:05.000Z | third_party/mkl_dnn/build_defs.bzl | aalbersk/DeepRec | f673a950780959b44dcda99398880a1d883ab338 | [
"Apache-2.0"
] | 54 | 2021-12-24T06:40:09.000Z | 2022-03-30T07:57:24.000Z | third_party/mkl_dnn/build_defs.bzl | aalbersk/DeepRec | f673a950780959b44dcda99398880a1d883ab338 | [
"Apache-2.0"
] | 75 | 2021-12-24T04:48:21.000Z | 2022-03-29T10:13:39.000Z | def if_mkl_open_source_only(if_true, if_false = []):
"""Returns `if_true` if OneDNN v0.x is used.
Shorthand for select()'ing on whether we're building with
OneDNN v0.x open source library only, without depending on OneDNN binary form.
Returns a select statement which evaluates to if_true if we're buil... | 38.96875 | 113 | 0.721732 | 184 | 1,247 | 4.717391 | 0.277174 | 0.0553 | 0.0553 | 0.073733 | 0.912442 | 0.912442 | 0.843318 | 0.843318 | 0.843318 | 0.764977 | 0 | 0.006012 | 0.199679 | 1,247 | 31 | 114 | 40.225806 | 0.863727 | 0.611868 | 0 | 0.6 | 0 | 0 | 0.396675 | 0.301663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
d69494b23400001ed3e20bf602e12b1c4fc4ee3c | 33 | py | Python | FirstApp.py | CODEVELOPER1/PYTHON-FOLDER | 721870ad96b020fb02177a01fdd04ac730105995 | [
"MIT"
] | null | null | null | FirstApp.py | CODEVELOPER1/PYTHON-FOLDER | 721870ad96b020fb02177a01fdd04ac730105995 | [
"MIT"
] | null | null | null | FirstApp.py | CODEVELOPER1/PYTHON-FOLDER | 721870ad96b020fb02177a01fdd04ac730105995 | [
"MIT"
] | null | null | null | print("This is a Helpful book.")
| 16.5 | 32 | 0.69697 | 6 | 33 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d6e315d40c1dffecc751cd8611a20a8afdb70af8 | 3,364 | py | Python | PhysicalQuantities/more_units.py | vishalbelsare/PhysicalQuantities | 7cbd4fdd31890fd17403ca19defede66116e2e8a | [
"BSD-3-Clause-Clear"
] | 16 | 2015-09-22T15:16:11.000Z | 2021-09-13T00:09:54.000Z | PhysicalQuantities/more_units.py | vishalbelsare/PhysicalQuantities | 7cbd4fdd31890fd17403ca19defede66116e2e8a | [
"BSD-3-Clause-Clear"
] | 43 | 2015-01-11T22:12:14.000Z | 2021-04-05T08:35:15.000Z | PhysicalQuantities/more_units.py | vishalbelsare/PhysicalQuantities | 7cbd4fdd31890fd17403ca19defede66116e2e8a | [
"BSD-3-Clause-Clear"
] | 8 | 2015-11-12T16:43:27.000Z | 2021-09-08T12:36:48.000Z | # Define additional units
from .prefixes import addprefixed
from .unit import *
#add_composite_unit('Bq', '1/s', 'Becquerel')
#add_composite_unit('Gy', 'J/kg', 'Gray')
#add_composite_unit('Sv', 'J/kg', 'Sievert')
#add_composite_unit('kat', 'mol/s', 'Katal')
#add_composite_unit('abA', '10*A', 'Abampere')
# Time units... | 39.576471 | 105 | 0.695303 | 505 | 3,364 | 4.437624 | 0.40396 | 0.262383 | 0.349844 | 0.11245 | 0.120482 | 0.064257 | 0.025881 | 0.025881 | 0 | 0 | 0 | 0.073305 | 0.083532 | 3,364 | 84 | 106 | 40.047619 | 0.653584 | 0.94025 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba420103218a25586465f8a804e7b1e140fe88a3 | 18,641 | py | Python | microsoft/testsuites/hpc/infinibandsuit.py | anirudhrb/lisa | fe009802577c81e45ca2ff5a34d353878caa725d | [
"MIT"
] | 48 | 2018-05-19T17:46:34.000Z | 2020-09-28T21:09:06.000Z | microsoft/testsuites/hpc/infinibandsuit.py | anirudhrb/lisa | fe009802577c81e45ca2ff5a34d353878caa725d | [
"MIT"
] | 1,261 | 2018-05-17T04:32:22.000Z | 2020-11-23T17:29:13.000Z | microsoft/testsuites/hpc/infinibandsuit.py | anirudhrb/lisa | fe009802577c81e45ca2ff5a34d353878caa725d | [
"MIT"
] | 133 | 2018-05-15T23:12:14.000Z | 2020-11-13T10:37:49.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from assertpy import assert_that
from lisa import (
Environment,
Logger,
Node,
TestCaseMetadata,
TestSuite,
TestSuiteMetadata,
simple_requirement,
)
from lisa.features import Infiniband, Sriov
from lisa.sut_orchestrat... | 38.277207 | 88 | 0.616491 | 2,294 | 18,641 | 4.741064 | 0.125981 | 0.034939 | 0.044502 | 0.025745 | 0.829901 | 0.80103 | 0.785307 | 0.773538 | 0.761125 | 0.751747 | 0 | 0.013834 | 0.298106 | 18,641 | 486 | 89 | 38.355967 | 0.817411 | 0.057025 | 0 | 0.632754 | 0 | 0.004963 | 0.281685 | 0.057556 | 0 | 0 | 0 | 0 | 0.034739 | 1 | 0.01737 | false | 0 | 0.01737 | 0 | 0.037221 | 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 |
ba6b5eb03c8e1a9034d4cae6e22fd27a8fed4918 | 39 | py | Python | TaiwanMapMarkerDockerServer_JE/taiwan_map_marker/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | TaiwanMapMarkerDockerServer_JE/taiwan_map_marker/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | TaiwanMapMarkerDockerServer_JE/taiwan_map_marker/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | from taiwan_map_marker import resource
| 19.5 | 38 | 0.897436 | 6 | 39 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba8c6f31aea6d817984d23e1bdeac1b4db69b1ac | 182 | py | Python | DataSTRUCTURE/example_20.py | abdullahfareed454/PythonCourses | dd1c4666f180998ccf0e671fc999cfa3d43001bd | [
"MIT"
] | null | null | null | DataSTRUCTURE/example_20.py | abdullahfareed454/PythonCourses | dd1c4666f180998ccf0e671fc999cfa3d43001bd | [
"MIT"
] | null | null | null | DataSTRUCTURE/example_20.py | abdullahfareed454/PythonCourses | dd1c4666f180998ccf0e671fc999cfa3d43001bd | [
"MIT"
] | 1 | 2021-01-18T21:25:06.000Z | 2021-01-18T21:25:06.000Z | # -*- coding: utf-8 -*-
thistuple = ("apple",)
print(type(thistuple))
#NOT a tuple
thistuple = ("apple")
print(type(thistuple))
tuple1 = ("abc", 34, True, 40, "male")
print(tuple1)
| 18.2 | 38 | 0.631868 | 24 | 182 | 4.791667 | 0.666667 | 0.243478 | 0.330435 | 0.4 | 0.556522 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044586 | 0.137363 | 182 | 9 | 39 | 20.222222 | 0.687898 | 0.175824 | 0 | 0.333333 | 0 | 0 | 0.116438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bab699daab7e5442f8f0fc0d2c10fe76e31bbee6 | 4,397 | py | Python | api/words_vector/tests.py | leandrocamposcardoso/VetorDePalavras | 76d442d0343e85a0edc55ca91b76480c30b3127a | [
"MIT"
] | null | null | null | api/words_vector/tests.py | leandrocamposcardoso/VetorDePalavras | 76d442d0343e85a0edc55ca91b76480c30b3127a | [
"MIT"
] | null | null | null | api/words_vector/tests.py | leandrocamposcardoso/VetorDePalavras | 76d442d0343e85a0edc55ca91b76480c30b3127a | [
"MIT"
] | null | null | null | from django.test import TestCase
from words_vector.nlp import NLPPIpeline
class PipelineTestCase(TestCase):
def setUp(self):
self.files = None
self.files_dicts = [
{
'file_name': 'teste.txt',
'file_ontent': ['Falar é fácil. Mostre-me o código.'],
... | 36.338843 | 115 | 0.585172 | 496 | 4,397 | 4.929435 | 0.133065 | 0.088753 | 0.190184 | 0.011452 | 0.794683 | 0.773824 | 0.772188 | 0.741104 | 0.701431 | 0.678119 | 0 | 0.025675 | 0.309074 | 4,397 | 120 | 116 | 36.641667 | 0.779131 | 0 | 0 | 0.348214 | 0 | 0.008929 | 0.122356 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.0625 | false | 0 | 0.017857 | 0 | 0.089286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bad36d413540c3c9bbee8219f9260600ee93aca4 | 2,684 | py | Python | core/permissions/mixins.py | MubongwoNdasi/sai | 3322cf2de40a0bcf44fa857b8dab7c6d51c82f45 | [
"MIT"
] | null | null | null | core/permissions/mixins.py | MubongwoNdasi/sai | 3322cf2de40a0bcf44fa857b8dab7c6d51c82f45 | [
"MIT"
] | 10 | 2021-03-18T22:56:08.000Z | 2022-03-11T23:51:32.000Z | core/permissions/mixins.py | MubongwoNdasi/sai | 3322cf2de40a0bcf44fa857b8dab7c6d51c82f45 | [
"MIT"
] | null | null | null | from django.http import HttpResponseRedirect
from django.urls import reverse
from django.contrib import messages
from django.utils.decorators import method_decorator
from django.contrib.auth.decorators import login_required
from django.shortcuts import redirect
class AdminPermissionRequiredMixin:
# This mixin wi... | 33.135802 | 88 | 0.697839 | 314 | 2,684 | 5.875796 | 0.187898 | 0.071545 | 0.110569 | 0.061789 | 0.711111 | 0.711111 | 0.711111 | 0.711111 | 0.711111 | 0.694851 | 0 | 0 | 0.219076 | 2,684 | 80 | 89 | 33.55 | 0.880248 | 0.104322 | 0 | 0.647059 | 0 | 0 | 0.100042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.117647 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
243075b19bc2abdfb6cdfe6b29188140eb67ba25 | 180 | py | Python | servo/forms/__init__.py | ipwnosx/Servo | 3418ece690ca90d676a7d8ae654da7770ae312fb | [
"BSD-2-Clause"
] | null | null | null | servo/forms/__init__.py | ipwnosx/Servo | 3418ece690ca90d676a7d8ae654da7770ae312fb | [
"BSD-2-Clause"
] | null | null | null | servo/forms/__init__.py | ipwnosx/Servo | 3418ece690ca90d676a7d8ae654da7770ae312fb | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .base import *
from .orders import *
from .notes import *
from .devices import *
from .product import *
from .repairs import *
from .checkin import *
| 18 | 23 | 0.683333 | 24 | 180 | 5.125 | 0.5 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.188889 | 180 | 9 | 24 | 20 | 0.835616 | 0.116667 | 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 |
2432db2e9e91c260130337f32e08a0668b45d47e | 1,231 | py | Python | src/1. Extraction of AEs and Causal Relations/metrics.py | nju-websoft/GeoCEQA | f2d6f27b750289bda646f1cd9b47cb78d70dc454 | [
"Apache-2.0"
] | null | null | null | src/1. Extraction of AEs and Causal Relations/metrics.py | nju-websoft/GeoCEQA | f2d6f27b750289bda646f1cd9b47cb78d70dc454 | [
"Apache-2.0"
] | null | null | null | src/1. Extraction of AEs and Causal Relations/metrics.py | nju-websoft/GeoCEQA | f2d6f27b750289bda646f1cd9b47cb78d70dc454 | [
"Apache-2.0"
] | null | null | null | def precision(y_true, y_pred, average='micro'):
true_entities = set([item for sublist in y_true for item in sublist])
pred_entities = set([item for sublist in y_pred for item in sublist])
nb_correct = len(true_entities & pred_entities)
nb_pred = len(pred_entities)
score = nb_correct / nb_pr... | 32.394737 | 74 | 0.669374 | 205 | 1,231 | 3.790244 | 0.126829 | 0.123552 | 0.11583 | 0.138996 | 0.953668 | 0.918919 | 0.882883 | 0.831403 | 0.831403 | 0.831403 | 0 | 0.013001 | 0.250203 | 1,231 | 37 | 75 | 33.27027 | 0.828819 | 0 | 0 | 0.666667 | 0 | 0 | 0.012563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 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 |
24446cb5ca68f9dab59526e00ed0b1d9a2890c16 | 142 | py | Python | src/wai/annotations/adams/od/specifier/__init__.py | waikato-ufdl/wai-annotations-adams | 1cb1ecf9520eea43c392a07d7766da51551a3a20 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/adams/od/specifier/__init__.py | waikato-ufdl/wai-annotations-adams | 1cb1ecf9520eea43c392a07d7766da51551a3a20 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/adams/od/specifier/__init__.py | waikato-ufdl/wai-annotations-adams | 1cb1ecf9520eea43c392a07d7766da51551a3a20 | [
"Apache-2.0"
] | null | null | null | from ._ADAMSODInputFormatSpecifier import ADAMSODInputFormatSpecifier
from ._ADAMSODOutputFormatSpecifier import ADAMSODOutputFormatSpecifier
| 47.333333 | 71 | 0.929577 | 8 | 142 | 16.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 142 | 2 | 72 | 71 | 0.970149 | 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 |
79ea8d62ac429aa3c2e3d58a023db324265c98d0 | 44 | py | Python | src/utils/check_arguments.py | yasuo-00/youtube_trending_scraper | cf9be3c850eef09fe05d8b4e9df724465481fca6 | [
"BSD-3-Clause"
] | null | null | null | src/utils/check_arguments.py | yasuo-00/youtube_trending_scraper | cf9be3c850eef09fe05d8b4e9df724465481fca6 | [
"BSD-3-Clause"
] | null | null | null | src/utils/check_arguments.py | yasuo-00/youtube_trending_scraper | cf9be3c850eef09fe05d8b4e9df724465481fca6 | [
"BSD-3-Clause"
] | null | null | null |
def check_arguments(args):
return True | 11 | 26 | 0.727273 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 4 | 27 | 11 | 0.885714 | 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 |
79f0ec693c84c0f4c54afe52914301f2311a5ef2 | 195 | py | Python | models/__init__.py | BruntonUWBio/cross-modal-ssl-htnet | b80be293871168adb4ef694a7cbedb1add988ccc | [
"MIT"
] | 1 | 2021-10-06T23:33:27.000Z | 2021-10-06T23:33:27.000Z | models/__init__.py | BruntonUWBio/cross-modal-ssl-htnet | b80be293871168adb4ef694a7cbedb1add988ccc | [
"MIT"
] | null | null | null | models/__init__.py | BruntonUWBio/cross-modal-ssl-htnet | b80be293871168adb4ef694a7cbedb1add988ccc | [
"MIT"
] | null | null | null | # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the MIT license
# from https://github.com/yukimasano/self-label.
from .htnet import *
| 21.666667 | 52 | 0.733333 | 28 | 195 | 5.107143 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.153846 | 195 | 8 | 53 | 24.375 | 0.842424 | 0.825641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79ff1c0b1357c8444cec7e25ea59b7ad6f136679 | 290 | py | Python | recipe/run_test.py | regro-cf-autotick-bot/django-redis-feedstock | 154130eb76cccd1c4377deaf91248bafc16785e1 | [
"BSD-3-Clause"
] | null | null | null | recipe/run_test.py | regro-cf-autotick-bot/django-redis-feedstock | 154130eb76cccd1c4377deaf91248bafc16785e1 | [
"BSD-3-Clause"
] | 8 | 2018-03-01T21:43:50.000Z | 2021-12-22T16:48:53.000Z | recipe/run_test.py | regro-cf-autotick-bot/django-redis-feedstock | 154130eb76cccd1c4377deaf91248bafc16785e1 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T02:10:52.000Z | 2018-03-01T21:40:21.000Z | import django
from django.conf import settings
settings.configure(INSTALLED_APPS=['django_redis', 'django.contrib.contenttypes', 'django.contrib.auth'])
django.setup()
import django_redis
import django_redis.client
import django_redis.serializers
import django_redis.compressors
| 29 | 106 | 0.813793 | 36 | 290 | 6.388889 | 0.444444 | 0.26087 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 290 | 9 | 107 | 32.222222 | 0.881226 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.093103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
cee0bfd145494aabcdffa2efd4be70b86c392394 | 4,191 | py | Python | data/fourier.py | veritas9872/fastMRI-kspace | 4c484b3183e9f06838b5ee108af283611c2e1e77 | [
"MIT"
] | 18 | 2019-10-21T23:54:28.000Z | 2021-12-23T08:16:04.000Z | data/fourier.py | veritas9872/fastMRI-kspace | 4c484b3183e9f06838b5ee108af283611c2e1e77 | [
"MIT"
] | 1 | 2020-07-11T08:05:33.000Z | 2020-07-11T08:05:33.000Z | data/fourier.py | veritas9872/fastMRI-kspace | 4c484b3183e9f06838b5ee108af283611c2e1e77 | [
"MIT"
] | 5 | 2019-11-23T14:11:54.000Z | 2022-02-19T13:39:15.000Z | import torch
from data.data_transforms import ifftshift, fftshift, fft2, ifft2, tensor_to_complex_np
import numpy as np
def fft1(data, direction):
"""
Apply centered, normalized 1 dimensional Fast Fourier Transform along the height axis.
Super-inefficient implementation where the Inverse Fourier Transfor... | 38.1 | 115 | 0.685278 | 588 | 4,191 | 4.809524 | 0.217687 | 0.028289 | 0.021216 | 0.029703 | 0.879066 | 0.879066 | 0.879066 | 0.81471 | 0.785007 | 0.768388 | 0 | 0.018371 | 0.220711 | 4,191 | 109 | 116 | 38.449541 | 0.84752 | 0.46743 | 0 | 0.653061 | 0 | 0 | 0.065714 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.102041 | false | 0 | 0.061224 | 0 | 0.22449 | 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 |
cee2f2b9391bbbc027054c356d567207d860b232 | 111 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/webm/drm/speke/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/webm/drm/speke/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/webm/drm/speke/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.webm.drm.speke.customdata.customdata_api import CustomdataApi
| 55.5 | 110 | 0.891892 | 15 | 111 | 6.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 111 | 1 | 111 | 111 | 0.897196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3023d814c3c813351b9a6369da5f1901b0da94ac | 18 | py | Python | python/taichi/ui/__init__.py | Axe-hyx/taichi | 6a907c99fbc349430363080af91726d6ba92e5b9 | [
"MIT"
] | 19 | 2016-02-26T18:43:31.000Z | 2021-04-10T18:29:29.000Z | python/taichi/ui/__init__.py | Axe-hyx/taichi | 6a907c99fbc349430363080af91726d6ba92e5b9 | [
"MIT"
] | 1 | 2020-02-08T02:11:58.000Z | 2020-02-08T02:11:58.000Z | python/taichi/ui/__init__.py | Axe-hyx/taichi | 6a907c99fbc349430363080af91726d6ba92e5b9 | [
"MIT"
] | 8 | 2015-12-14T15:10:09.000Z | 2021-06-12T04:20:36.000Z | from .ui import *
| 9 | 17 | 0.666667 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.857143 | 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 |
302adfd190b61078eab49cec30e9332d95a6e034 | 12,552 | py | Python | spark_fhir_schemas/stu3/complex_types/composition_section.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/composition_section.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/composition_section.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class Composition_SectionSchema:
"""
A set of healthcare-related information tha... | 49.809524 | 99 | 0.572817 | 1,303 | 12,552 | 5.356101 | 0.185725 | 0.056742 | 0.036538 | 0.048144 | 0.790085 | 0.782777 | 0.782777 | 0.752543 | 0.752543 | 0.752543 | 0 | 0.002717 | 0.384242 | 12,552 | 251 | 100 | 50.007968 | 0.900246 | 0.37022 | 0 | 0.566038 | 1 | 0 | 0.035071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006289 | false | 0 | 0.037736 | 0 | 0.062893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
304b361f20c817d471e277def186bbe35dcef4e8 | 324 | py | Python | python/misc/learning_python/a_simple_comprehension.py | TGITS/programming-workouts | 799e805ccf3fd0936ec8ac2417f7193b8e9bcb55 | [
"MIT"
] | null | null | null | python/misc/learning_python/a_simple_comprehension.py | TGITS/programming-workouts | 799e805ccf3fd0936ec8ac2417f7193b8e9bcb55 | [
"MIT"
] | 16 | 2020-05-30T12:38:13.000Z | 2022-02-19T09:23:31.000Z | python/misc/learning_python/a_simple_comprehension.py | TGITS/programming-workouts | 799e805ccf3fd0936ec8ac2417f7193b8e9bcb55 | [
"MIT"
] | null | null | null | [x**2 for x in range(1, 10)]
[x**2 for x in range(1, 10) if x % 2 == 0]
powers_of_2 = []
for x in range(1, 10):
powers_of_2.append(x**2)
powers_of_2 = []
for x in range(1, 10):
if x % 2 == 0:
powers_of_2.append(x**2)
[x*y for x in range(1, 10) if x % 2 == 1 for y in range(10) if y % 2 == 1]
... | 12 | 74 | 0.521605 | 75 | 324 | 2.146667 | 0.173333 | 0.086957 | 0.186335 | 0.341615 | 0.869565 | 0.869565 | 0.714286 | 0.714286 | 0.608696 | 0.360248 | 0 | 0.144737 | 0.296296 | 324 | 26 | 75 | 12.461538 | 0.561404 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
06229b8ef94984efae6dfcfa698374f78da767bb | 79 | py | Python | src/fastapi/src/intarface/repo/kvs/aioredis/set.py | ojos/python-devenv | 23df63ae585386e378da6c45ba6bc26686b931a1 | [
"MIT"
] | null | null | null | src/fastapi/src/intarface/repo/kvs/aioredis/set.py | ojos/python-devenv | 23df63ae585386e378da6c45ba6bc26686b931a1 | [
"MIT"
] | null | null | null | src/fastapi/src/intarface/repo/kvs/aioredis/set.py | ojos/python-devenv | 23df63ae585386e378da6c45ba6bc26686b931a1 | [
"MIT"
] | null | null | null | from .core import AioRedisRepo
class AioRedisSetRepo(AioRedisRepo):
pass
| 13.166667 | 36 | 0.78481 | 8 | 79 | 7.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 5 | 37 | 15.8 | 0.939394 | 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 |
062a64d82ab8ca8c7ef73b6a6aabb362511d4bac | 878 | py | Python | portfolio/utils/date_handler.py | timeerr/portfolio | 256032eb638048f3cd3c824f2bb4976a8ec320b1 | [
"MIT"
] | null | null | null | portfolio/utils/date_handler.py | timeerr/portfolio | 256032eb638048f3cd3c824f2bb4976a8ec320b1 | [
"MIT"
] | null | null | null | portfolio/utils/date_handler.py | timeerr/portfolio | 256032eb638048f3cd3c824f2bb4976a8ec320b1 | [
"MIT"
] | null | null | null | import calendar
def next_month_date(d):
""" Returns the next month number given a datetime """
_year = d.year+(d.month//12)
_month = 1 if (d.month//12) else d.month + 1
next_month_len = calendar.monthrange(_year, _month)[1]
next_month = d
if d.day > next_month_len:
next_month = next_mo... | 33.769231 | 62 | 0.68451 | 141 | 878 | 3.978723 | 0.177305 | 0.320856 | 0.128342 | 0.106952 | 0.864528 | 0.793226 | 0.752228 | 0.752228 | 0.631016 | 0.631016 | 0 | 0.020115 | 0.207289 | 878 | 25 | 63 | 35.12 | 0.78592 | 0.111617 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0687eca8b9f50376fb6681adf4c739e3d7d0edd3 | 868 | py | Python | test/test_rail_fence.py | AoWangPhilly/cryptsenal | d2717a0e8ba0ec01a0401f8164b55df04de567cd | [
"MIT"
] | null | null | null | test/test_rail_fence.py | AoWangPhilly/cryptsenal | d2717a0e8ba0ec01a0401f8164b55df04de567cd | [
"MIT"
] | 4 | 2019-12-28T19:33:07.000Z | 2019-12-28T19:34:29.000Z | test/test_rail_fence.py | AoWangPhilly/cryptsenal | d2717a0e8ba0ec01a0401f8164b55df04de567cd | [
"MIT"
] | null | null | null | from cryptsenal.rail_fence import RailFence
import pytest
def test_encrypt():
plainText = "BEWARETHEBLACKSHEEP"
cipherTexts = ["breceeaehbakhewtlsp",
"beeehbhewtlspaeakrc",
"bwrtelcsepeaehbakhe",
"bceakwlsabhreeehetp",
"beehewspakrcea... | 34.72 | 72 | 0.60023 | 66 | 868 | 7.848485 | 0.469697 | 0.027027 | 0.150579 | 0.223938 | 0.718147 | 0.718147 | 0.718147 | 0.718147 | 0.718147 | 0.718147 | 0 | 0.01634 | 0.294931 | 868 | 24 | 73 | 36.166667 | 0.830065 | 0 | 0 | 0.7 | 0 | 0 | 0.262673 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06920b57f386a36e117972a914be6e92d7a78c35 | 32 | py | Python | tests/schema/test_schema.py | zacpez/appear | 766b7989da82dcf5bcbad718e8cf43b74e21e249 | [
"Apache-2.0"
] | null | null | null | tests/schema/test_schema.py | zacpez/appear | 766b7989da82dcf5bcbad718e8cf43b74e21e249 | [
"Apache-2.0"
] | 5 | 2021-07-21T00:24:15.000Z | 2022-02-28T00:41:21.000Z | tests/schema/test_schema.py | zacpez/appear | 766b7989da82dcf5bcbad718e8cf43b74e21e249 | [
"Apache-2.0"
] | null | null | null | def test_schema():
assert 1
| 10.666667 | 18 | 0.65625 | 5 | 32 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.25 | 32 | 2 | 19 | 16 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2309fe53f0fdfe325d32d824f02cd410bf2aa020 | 186 | py | Python | scripts/args/base.py | nicolay-r/frame-based-attitude-extraction-workflow | f20e6d17a9eb6613028545b889c74626a8260ccd | [
"MIT"
] | null | null | null | scripts/args/base.py | nicolay-r/frame-based-attitude-extraction-workflow | f20e6d17a9eb6613028545b889c74626a8260ccd | [
"MIT"
] | 6 | 2020-10-03T13:45:38.000Z | 2021-07-13T18:31:57.000Z | scripts/args/base.py | nicolay-r/frame-based-attitude-extraction-workflow | f20e6d17a9eb6613028545b889c74626a8260ccd | [
"MIT"
] | null | null | null | class BaseArg:
@staticmethod
def read_argument(parser):
raise NotImplementedError()
@staticmethod
def add_argument(parser):
raise NotImplementedError()
| 18.6 | 35 | 0.682796 | 16 | 186 | 7.8125 | 0.625 | 0.24 | 0.304 | 0.608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247312 | 186 | 9 | 36 | 20.666667 | 0.892857 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
230e49e53621b81eecefc978966e3e4a8c716b64 | 78 | py | Python | abtesting/__init__.py | floscha/ab-testing-widget | 4aa6cb02afbf5561b3e01625cb6254bffcd18cce | [
"MIT"
] | null | null | null | abtesting/__init__.py | floscha/ab-testing-widget | 4aa6cb02afbf5561b3e01625cb6254bffcd18cce | [
"MIT"
] | 14 | 2019-01-02T17:50:43.000Z | 2019-01-23T21:35:28.000Z | abtesting/__init__.py | floscha/ab-testing-widget | 4aa6cb02afbf5561b3e01625cb6254bffcd18cce | [
"MIT"
] | null | null | null | from .core import display_ab_test_results
all = ['display_ab_test_results']
| 15.6 | 41 | 0.807692 | 12 | 78 | 4.75 | 0.666667 | 0.315789 | 0.45614 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 4 | 42 | 19.5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.294872 | 0.294872 | 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 |
234b2c35da9809d182b6ecc7b40db02003408d52 | 166 | py | Python | yt/frontends/moab/fields.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 360 | 2017-04-24T05:06:04.000Z | 2022-03-31T10:47:07.000Z | yt/frontends/moab/fields.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 2,077 | 2017-04-20T20:36:07.000Z | 2022-03-31T16:39:43.000Z | yt/frontends/moab/fields.py | stonnes/yt | aad3cfa3b4ebab7838352ab467275a27c26ff363 | [
"BSD-3-Clause-Clear"
] | 257 | 2017-04-19T20:52:28.000Z | 2022-03-29T12:23:52.000Z | from yt.fields.field_info_container import FieldInfoContainer
class MoabFieldInfo(FieldInfoContainer):
pass
class PyneFieldInfo(FieldInfoContainer):
pass
| 16.6 | 61 | 0.819277 | 16 | 166 | 8.375 | 0.75 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 166 | 9 | 62 | 18.444444 | 0.930556 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
88c129c33d9d12d06ad0b09f3b690ff336984834 | 33 | py | Python | src/model/__init__.py | sturggleQ/AdvDoor | be7e140bdd7f586aaec2e30dfaa3489ed68f4fd7 | [
"Apache-2.0"
] | null | null | null | src/model/__init__.py | sturggleQ/AdvDoor | be7e140bdd7f586aaec2e30dfaa3489ed68f4fd7 | [
"Apache-2.0"
] | null | null | null | src/model/__init__.py | sturggleQ/AdvDoor | be7e140bdd7f586aaec2e30dfaa3489ed68f4fd7 | [
"Apache-2.0"
] | null | null | null | from model.model import CNNModel
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.8 | 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 |
001a1e1b543c9a0edfefbeb549834f3a63ec7917 | 23 | py | Python | lecode/configs/__init__.py | nesen2019/lecode | d9fc7fd63867c1ee07e727e151b1381f302edba5 | [
"Apache-2.0"
] | 18 | 2019-09-05T14:52:04.000Z | 2022-03-26T21:25:21.000Z | lecode/configs/__init__.py | nesen2019/lecode | d9fc7fd63867c1ee07e727e151b1381f302edba5 | [
"Apache-2.0"
] | 2 | 2019-10-28T11:27:27.000Z | 2020-05-09T16:32:00.000Z | lecode/configs/__init__.py | nesen2019/lecode | d9fc7fd63867c1ee07e727e151b1381f302edba5 | [
"Apache-2.0"
] | 6 | 2019-04-30T10:29:35.000Z | 2022-01-11T02:50:53.000Z | from .config import cfg | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0033bc881373b76c8e584fd2f5b37918ce847790 | 272 | py | Python | torchlib/deep_rl/algorithm/model_based/__init__.py | vermouth1992/torchlib | 63b2bedb40f670b2d9fbfc0daeab4a8d44623095 | [
"MIT"
] | 3 | 2019-07-23T21:32:36.000Z | 2022-02-04T23:13:30.000Z | torchlib/deep_rl/algorithm/model_based/__init__.py | Sayani21/mbrl-hvac | eb0e2213cc2734b1a8f83e485180cc622ffced5d | [
"MIT"
] | 1 | 2022-03-12T00:52:44.000Z | 2022-03-12T00:52:44.000Z | torchlib/deep_rl/algorithm/model_based/__init__.py | Sayani21/mbrl-hvac | eb0e2213cc2734b1a8f83e485180cc622ffced5d | [
"MIT"
] | 1 | 2019-07-23T21:32:23.000Z | 2019-07-23T21:32:23.000Z | from .agent import ModelBasedPlanAgent, ModelBasedDAggerAgent
from .planner import BestRandomActionPlanner, UCTPlanner
from .policy import DiscreteImitationPolicy, ContinuousImitationPolicy
from .world_model import DeterministicWorldModel, StochasticVariationalWorldModel
| 54.4 | 81 | 0.897059 | 21 | 272 | 11.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 272 | 4 | 82 | 68 | 0.964286 | 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 |
4e08306503769609c072788db50e384aefdb000c | 173 | py | Python | makeCourse/plastex/amscd/__init__.py | dualspiral/makecourse | 96c0d3137b00a400df082f160eabf8a925953067 | [
"Apache-2.0"
] | null | null | null | makeCourse/plastex/amscd/__init__.py | dualspiral/makecourse | 96c0d3137b00a400df082f160eabf8a925953067 | [
"Apache-2.0"
] | null | null | null | makeCourse/plastex/amscd/__init__.py | dualspiral/makecourse | 96c0d3137b00a400df082f160eabf8a925953067 | [
"Apache-2.0"
] | null | null | null | """
Implement the amscd package using the imager
"""
from makeCourse.plastex import VerbatimEnvironment
from plasTeX import Command
class CD(VerbatimEnvironment):
pass
| 19.222222 | 50 | 0.797688 | 20 | 173 | 6.9 | 0.75 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144509 | 173 | 8 | 51 | 21.625 | 0.932432 | 0.254335 | 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 |
4e32a23c53cb49ccf0893021e8853e93531abdc5 | 44 | py | Python | streammorphology/ensemble/__init__.py | adrn/StreamMorphology | 99a2da560b58e6e47259d1cd2f0cc9ba1641424d | [
"MIT"
] | null | null | null | streammorphology/ensemble/__init__.py | adrn/StreamMorphology | 99a2da560b58e6e47259d1cd2f0cc9ba1641424d | [
"MIT"
] | 1 | 2015-01-28T18:37:06.000Z | 2015-01-28T18:37:06.000Z | streammorphology/ensemble/__init__.py | adrn/StreamMorphology | 99a2da560b58e6e47259d1cd2f0cc9ba1641424d | [
"MIT"
] | null | null | null | from .core import *
from .ensemble import *
| 14.666667 | 23 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.888889 | 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 |
9daed76dd938c251dcb1feae50d580c86eac8735 | 62 | py | Python | File_classes/base/__init__.py | chrisjdavie/ws_cross_project | 10ffd6d0df1aeea0e5d2d6c5dfddab907a2cd439 | [
"MIT"
] | null | null | null | File_classes/base/__init__.py | chrisjdavie/ws_cross_project | 10ffd6d0df1aeea0e5d2d6c5dfddab907a2cd439 | [
"MIT"
] | null | null | null | File_classes/base/__init__.py | chrisjdavie/ws_cross_project | 10ffd6d0df1aeea0e5d2d6c5dfddab907a2cd439 | [
"MIT"
] | null | null | null | from plot_file import plot_file
from dir_class import base_dir | 31 | 31 | 0.887097 | 12 | 62 | 4.25 | 0.583333 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 32 | 31 | 0.927273 | 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 |
9ddd93aa107aadf96c64127acad325efe61344f7 | 3,173 | py | Python | dev/Report/plot_alpha_var.py | aakash30jan/Couette-Poiseuille_FlowCode | 3110d5d818cb8fdfb4959e58d9dcbc48db325122 | [
"CC-BY-4.0"
] | 9 | 2019-01-05T09:05:05.000Z | 2021-11-22T19:04:14.000Z | dev/Report/plot_alpha_var.py | aakash30jan/Couette-Poiseuille_FlowCode | 3110d5d818cb8fdfb4959e58d9dcbc48db325122 | [
"CC-BY-4.0"
] | null | null | null | dev/Report/plot_alpha_var.py | aakash30jan/Couette-Poiseuille_FlowCode | 3110d5d818cb8fdfb4959e58d9dcbc48db325122 | [
"CC-BY-4.0"
] | 3 | 2020-02-28T03:44:34.000Z | 2020-09-10T05:32:54.000Z | #import libraries
import numpy as np
import matplotlib.pyplot as plt
#ALPHA=np.arange(1,16)
plt.rcParams.update({'font.size': 11}) #Font 11
simDataDir='../Simulated_Data/DA/'
def plot(ALPHA):
simDataFile=simDataDir+'Case_01_A'+str(ALPHA)+'_sim.dat'
case_sim=np.loadtxt(simDataFile)
plt.plot(case_sim[:,0],case_s... | 24.789063 | 74 | 0.681059 | 459 | 3,173 | 4.575163 | 0.196078 | 0.06 | 0.047143 | 0.037143 | 0.80381 | 0.80381 | 0.779524 | 0.76381 | 0.698095 | 0.698095 | 0 | 0.032944 | 0.110306 | 3,173 | 127 | 75 | 24.984252 | 0.710946 | 0.037819 | 0 | 0.705882 | 0 | 0 | 0.229118 | 0.077491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0 | 0.070588 | 0 | 0.105882 | 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 |
d1d198726930865d93237324d6e578eb2b588ef6 | 182 | py | Python | src/clearskies_aws/input_outputs/__init__.py | cmancone/clearskies-aws | 6dc8714127c67553c7c161ec82756680b848113b | [
"MIT"
] | null | null | null | src/clearskies_aws/input_outputs/__init__.py | cmancone/clearskies-aws | 6dc8714127c67553c7c161ec82756680b848113b | [
"MIT"
] | null | null | null | src/clearskies_aws/input_outputs/__init__.py | cmancone/clearskies-aws | 6dc8714127c67553c7c161ec82756680b848113b | [
"MIT"
] | null | null | null | from .lambda_api_gateway import LambdaAPIGateway
from .lambda_elb import LambdaELB
from .lambda_http_gateway import LambdaHTTPGateway
from .lambda_invocation import LambdaInvocation
| 36.4 | 50 | 0.89011 | 22 | 182 | 7.090909 | 0.545455 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 182 | 4 | 51 | 45.5 | 0.939759 | 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 |
ae181d9b26263c29e882e3ab4d6c9f261c47bc73 | 19,114 | py | Python | tests/hdx/data/test_resource_view.py | mcarans/hdx-python-api | 49579db7a2a1e3f93740e58c7a167b63c60b4eab | [
"MIT"
] | 52 | 2016-07-18T21:23:50.000Z | 2021-12-14T12:42:00.000Z | tests/hdx/data/test_resource_view.py | mcarans/hdx-python-api | 49579db7a2a1e3f93740e58c7a167b63c60b4eab | [
"MIT"
] | 33 | 2016-12-12T17:23:31.000Z | 2022-03-24T00:31:24.000Z | tests/hdx/data/test_resource_view.py | mcarans/hdx-python-api | 49579db7a2a1e3f93740e58c7a167b63c60b4eab | [
"MIT"
] | 13 | 2016-07-20T13:00:19.000Z | 2021-11-18T17:12:03.000Z | """Resource view Tests"""
import copy
import json
from os.path import join
import pytest
from hdx.utilities.dictandlist import merge_two_dictionaries
from hdx.api.configuration import Configuration
from hdx.data.hdxobject import HDXError
from hdx.data.resource_view import ResourceView
from . import MockResponse
hxl... | 45.293839 | 1,110 | 0.606571 | 2,077 | 19,114 | 5.383727 | 0.089071 | 0.148095 | 0.056341 | 0.03291 | 0.830889 | 0.787247 | 0.721874 | 0.702826 | 0.668038 | 0.636469 | 0 | 0.055774 | 0.253322 | 19,114 | 421 | 1,111 | 45.401425 | 0.727719 | 0.000994 | 0 | 0.613941 | 0 | 0.064343 | 0.379748 | 0.111583 | 0 | 0 | 0 | 0 | 0.107239 | 1 | 0.061662 | false | 0 | 0.024129 | 0.005362 | 0.193029 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae1b26f38fe533242ff2754e2fd1b387b708ce48 | 146 | py | Python | movies/admin.py | birnesh/movies_api | 7cdb996a4fefd939aa2f7bff4e1523b45777ba65 | [
"MIT"
] | null | null | null | movies/admin.py | birnesh/movies_api | 7cdb996a4fefd939aa2f7bff4e1523b45777ba65 | [
"MIT"
] | null | null | null | movies/admin.py | birnesh/movies_api | 7cdb996a4fefd939aa2f7bff4e1523b45777ba65 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import MovieInformation, Person
admin.site.register(Person)
admin.site.register(MovieInformation)
| 20.857143 | 44 | 0.835616 | 18 | 146 | 6.777778 | 0.555556 | 0.180328 | 0.245902 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089041 | 146 | 6 | 45 | 24.333333 | 0.917293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
ae2e8882fdbab4e93d6573f22b2c74ccb83d1ef1 | 464 | py | Python | tests/unit/test_cluster_api_url.py | abacus-x/solana-py | e5f22d243c1baf49c90fbb368fe34ae666fa55b6 | [
"MIT"
] | null | null | null | tests/unit/test_cluster_api_url.py | abacus-x/solana-py | e5f22d243c1baf49c90fbb368fe34ae666fa55b6 | [
"MIT"
] | null | null | null | tests/unit/test_cluster_api_url.py | abacus-x/solana-py | e5f22d243c1baf49c90fbb368fe34ae666fa55b6 | [
"MIT"
] | null | null | null | """Test cluster_api_url."""
from solana.utils.cluster import cluster_api_url
def test_input_output():
"""Test that cluster_api_url generates the expected output."""
assert cluster_api_url() == "https://api.devnet.solana.com"
assert cluster_api_url("devnet") == "https://api.devnet.solana.com"
assert c... | 38.666667 | 77 | 0.717672 | 66 | 464 | 4.80303 | 0.333333 | 0.22082 | 0.287066 | 0.239748 | 0.454259 | 0.454259 | 0.454259 | 0.454259 | 0.454259 | 0.454259 | 0 | 0 | 0.12069 | 464 | 11 | 78 | 42.181818 | 0.776961 | 0.168103 | 0 | 0 | 1 | 0 | 0.354667 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae484f25e1731f97b7729d1a40f5e9cc8d5a049d | 128 | py | Python | packages/python/chart-studio/chart_studio/grid_objs/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | packages/python/chart-studio/chart_studio/grid_objs/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | packages/python/chart-studio/chart_studio/grid_objs/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | """"
grid_objs
=========
"""
from __future__ import absolute_import
from chart_studio.grid_objs.grid_objs import Grid, Column
| 14.222222 | 57 | 0.734375 | 17 | 128 | 5 | 0.529412 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 8 | 58 | 16 | 0.752212 | 0.164063 | 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 |
88437091668e0f9e5460ac9aaf926d730aa8684f | 260,985 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/77.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-int16e/77.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-int16e/77.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30593
passenger_arriving = (
(5, 7, 6, 7, 7, 0, 5, 3, 5, 0, 1, 0, 0, 7, 8, 4, 6, 4, 6, 4, 2, 2, 3, 2, 2, 0), # 0
(5, 16, 13, 11, 2, 2, 1, 5, 6, 3, 2, 0, 0, 10, 9, 10, 2, 4, 5, 4, 1, 3, 3, 1, 1, 0), # 1
(8, 14, 7, 7, 2, 3, 2, 2, 6, 4, 0, 2, 0, 14, 10, 4, 4, 6, 2, 4, 4, 0, 0, 0,... | 279.128342 | 491 | 0.771926 | 32,987 | 260,985 | 6.106951 | 0.230849 | 0.353835 | 0.339538 | 0.643336 | 0.364845 | 0.36007 | 0.359245 | 0.359245 | 0.359245 | 0.359245 | 0 | 0.851514 | 0.094772 | 260,985 | 934 | 492 | 279.427195 | 0.001181 | 0.015369 | 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 |
31f7990979c21db69412662330ce08165cf65ac6 | 88 | py | Python | app/user/api/__init__.py | EgehanGundogdu/drf-test-driven-development-exercies | 6cf1570f573cbc270ea2856b101727664c6843e4 | [
"MIT"
] | null | null | null | app/user/api/__init__.py | EgehanGundogdu/drf-test-driven-development-exercies | 6cf1570f573cbc270ea2856b101727664c6843e4 | [
"MIT"
] | null | null | null | app/user/api/__init__.py | EgehanGundogdu/drf-test-driven-development-exercies | 6cf1570f573cbc270ea2856b101727664c6843e4 | [
"MIT"
] | null | null | null | from .create_user import CreateUser # noqa
from .manage_user import ManageUser # noqa
| 29.333333 | 43 | 0.795455 | 12 | 88 | 5.666667 | 0.666667 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 2 | 44 | 44 | 0.918919 | 0.102273 | 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 |
c99cf105a0cbc98dd0ca7d594fa9c334abeab61f | 6,479 | py | Python | cleaning_utils/from_dict_to_iso.py | rezashabrang/cleaner-utils | d0181ee1a131e877e66d943323018617aa488433 | [
"MIT"
] | 4 | 2021-12-28T16:37:00.000Z | 2022-02-17T12:02:02.000Z | cleaning_utils/from_dict_to_iso.py | rezashabrang/cleaner-utils | d0181ee1a131e877e66d943323018617aa488433 | [
"MIT"
] | null | null | null | cleaning_utils/from_dict_to_iso.py | rezashabrang/cleaner-utils | d0181ee1a131e877e66d943323018617aa488433 | [
"MIT"
] | null | null | null | """Makes a ISO 8601 datetime string from dictionaries."""
# ------------------------ Import libraries and functions ---------------------
from typing import Any, Dict, Mapping, Optional
import datetime
import khayyam
import pytz
# ---------------------------- function definition ----------------------------
def va... | 32.233831 | 87 | 0.529403 | 706 | 6,479 | 4.759207 | 0.154391 | 0.092857 | 0.021429 | 0.030952 | 0.843155 | 0.83006 | 0.811905 | 0.744643 | 0.710119 | 0.666071 | 0 | 0.032328 | 0.288625 | 6,479 | 200 | 88 | 32.395 | 0.69668 | 0.463189 | 0 | 0.672897 | 0 | 0 | 0.061961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065421 | false | 0 | 0.037383 | 0 | 0.196262 | 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 |
c9a2a167db9f0196f931688b80a70b3cf1ac36d2 | 27 | py | Python | kord/__init__.py | luizanao/kord | a9f1188504de1533a59b51a7bf15ecb23ecbcbb7 | [
"MIT"
] | 376 | 2020-11-03T11:16:17.000Z | 2021-12-01T12:47:47.000Z | kord/__init__.py | luizanao/kord | a9f1188504de1533a59b51a7bf15ecb23ecbcbb7 | [
"MIT"
] | 5 | 2020-11-03T15:27:47.000Z | 2020-11-08T11:07:21.000Z | kord/__init__.py | luizanao/kord | a9f1188504de1533a59b51a7bf15ecb23ecbcbb7 | [
"MIT"
] | 14 | 2020-11-03T13:07:26.000Z | 2020-11-17T18:42:23.000Z | from .instruments import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9ab0d8d1fb38001609117d780368f52c7df22df | 201 | py | Python | src/spaceone/core/scheduler/__init__.py | choonho/python-core | 1b174e9fe56b75b2706a9d78e947010514e90f6d | [
"Apache-2.0"
] | 14 | 2020-06-01T08:17:43.000Z | 2022-01-13T22:37:50.000Z | src/spaceone/core/scheduler/__init__.py | choonho/python-core | 1b174e9fe56b75b2706a9d78e947010514e90f6d | [
"Apache-2.0"
] | 7 | 2020-08-11T23:05:59.000Z | 2022-01-12T05:08:49.000Z | src/spaceone/core/scheduler/__init__.py | choonho/python-core | 1b174e9fe56b75b2706a9d78e947010514e90f6d | [
"Apache-2.0"
] | 11 | 2020-06-01T08:17:49.000Z | 2021-11-25T08:26:37.000Z | # -*- coding: utf-8 -*-
from spaceone.core.scheduler.server import serve
from spaceone.core.scheduler.scheduler import *
__all__ = ['serve', 'IntervalScheduler', 'CronScheduler', 'HourlyScheduler']
| 25.125 | 76 | 0.741294 | 21 | 201 | 6.904762 | 0.666667 | 0.165517 | 0.22069 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.109453 | 201 | 7 | 77 | 28.714286 | 0.804469 | 0.104478 | 0 | 0 | 0 | 0 | 0.280899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9ac8e7305af0fb2bd633d1b60051d04e51a8d66 | 5,553 | py | Python | PMoE/model/blocks/unet.py | iasbs-isg/PMoE | 37a273ff393e4f43c38c7fff9271218efe1d3bd1 | [
"MIT"
] | null | null | null | PMoE/model/blocks/unet.py | iasbs-isg/PMoE | 37a273ff393e4f43c38c7fff9271218efe1d3bd1 | [
"MIT"
] | 1 | 2021-09-29T18:46:45.000Z | 2021-09-29T18:46:45.000Z | PMoE/model/blocks/unet.py | iasbs-isg/PMoE | 37a273ff393e4f43c38c7fff9271218efe1d3bd1 | [
"MIT"
] | 1 | 2021-09-29T18:50:12.000Z | 2021-09-29T18:50:12.000Z | """Basic implementation of U-Net with cross channel co-efficients"""
import torch
import torch.nn as nn
from .basics import conv3, EfficientBlock
class UNet(nn.Module):
"""Basic U-Net"""
def __init__(
self,
in_features: int = 3,
out_features: int = 23,
gamma: int = 2,
... | 29.854839 | 73 | 0.556816 | 906 | 5,553 | 3.172185 | 0.087196 | 0.066806 | 0.055672 | 0.059151 | 0.888309 | 0.835073 | 0.819068 | 0.819068 | 0.819068 | 0.819068 | 0 | 0.105676 | 0.311543 | 5,553 | 185 | 74 | 30.016216 | 0.646089 | 0.0877 | 0 | 0.641221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030534 | false | 0 | 0.022901 | 0 | 0.099237 | 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 |
4e482753941f8fe104dba906dc495e9bde64c5bb | 104 | py | Python | SeriesAnalysis/Stationarity/__init__.py | AcudoDev/FinanceToolbox | 90676e798f2e8eac164ccfcd6708cc717e1911f2 | [
"MIT"
] | null | null | null | SeriesAnalysis/Stationarity/__init__.py | AcudoDev/FinanceToolbox | 90676e798f2e8eac164ccfcd6708cc717e1911f2 | [
"MIT"
] | null | null | null | SeriesAnalysis/Stationarity/__init__.py | AcudoDev/FinanceToolbox | 90676e798f2e8eac164ccfcd6708cc717e1911f2 | [
"MIT"
] | null | null | null | from .AugmentedDickeyFuller import *
from .GlobalStationarityInterpretation import *
from .KPSS import * | 34.666667 | 47 | 0.836538 | 9 | 104 | 9.666667 | 0.555556 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 3 | 48 | 34.666667 | 0.935484 | 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 |
4e98a74c3593299234960f55a2c827b06c79715a | 48 | py | Python | aiogear/utils.py | agronick/aiogear | 9e4f2d18f05d91daea9e48de18b2d38f4811589f | [
"MIT"
] | null | null | null | aiogear/utils.py | agronick/aiogear | 9e4f2d18f05d91daea9e48de18b2d38f4811589f | [
"MIT"
] | null | null | null | aiogear/utils.py | agronick/aiogear | 9e4f2d18f05d91daea9e48de18b2d38f4811589f | [
"MIT"
] | null | null | null | def to_bool(x):
return x in [b'1', b'true']
| 16 | 31 | 0.5625 | 11 | 48 | 2.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.229167 | 48 | 2 | 32 | 24 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 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 |
14eb69ec3d4b5995565b00e76f58e3156b71513d | 128 | py | Python | example/integration/test_service.py | c4deszes/cmake-pytest-module | 4989cf403868672a963b294bb4919a9398630af0 | [
"BSD-3-Clause"
] | null | null | null | example/integration/test_service.py | c4deszes/cmake-pytest-module | 4989cf403868672a963b294bb4919a9398630af0 | [
"BSD-3-Clause"
] | null | null | null | example/integration/test_service.py | c4deszes/cmake-pytest-module | 4989cf403868672a963b294bb4919a9398630af0 | [
"BSD-3-Clause"
] | null | null | null | import pytest
class TestService:
def test_service_init(self):
pass
def test_service_stop(self):
pass
| 12.8 | 32 | 0.65625 | 16 | 128 | 5 | 0.6875 | 0.175 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289063 | 128 | 9 | 33 | 14.222222 | 0.879121 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
091313e841ad7c915a360aa93dc21763c9422875 | 95 | py | Python | cottonformation/tests/helpers.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/tests/helpers.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/tests/helpers.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
import json
def jprint(data):
print(json.dumps(data, indent=4))
| 11.875 | 37 | 0.610526 | 14 | 95 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.189474 | 95 | 7 | 38 | 13.571429 | 0.727273 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 6 |
0915b7e32d894f44f04984ab9c61de1a76b3a5de | 87 | py | Python | acrosure_sdk/utils/__init__.py | jetarin-min/acrosure-py-sdk | 3575b5d7ce22af302c1029b8be3283f6a0bd3e50 | [
"MIT"
] | null | null | null | acrosure_sdk/utils/__init__.py | jetarin-min/acrosure-py-sdk | 3575b5d7ce22af302c1029b8be3283f6a0bd3e50 | [
"MIT"
] | 1 | 2020-08-10T09:33:28.000Z | 2020-08-29T10:14:15.000Z | acrosure_sdk/utils/__init__.py | jetarin-min/acrosure-py-sdk | 3575b5d7ce22af302c1029b8be3283f6a0bd3e50 | [
"MIT"
] | null | null | null | from .api import api
from .decorate import decorate
from .is_python3 import is_python3
| 21.75 | 34 | 0.827586 | 14 | 87 | 5 | 0.428571 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.137931 | 87 | 3 | 35 | 29 | 0.906667 | 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 |
094f38026451b07e260ffe4344ccdf7200ba1d05 | 40 | py | Python | examples/ehdemov3/entrance_lock/user_boot.py | ulno/iot-devkit | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | [
"MIT"
] | null | null | null | examples/ehdemov3/entrance_lock/user_boot.py | ulno/iot-devkit | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | [
"MIT"
] | null | null | null | examples/ehdemov3/entrance_lock/user_boot.py | ulno/iot-devkit | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | [
"MIT"
] | 1 | 2020-07-23T03:03:38.000Z | 2020-07-23T03:03:38.000Z | import lock_handler
lock_handler.run()
| 10 | 19 | 0.825 | 6 | 40 | 5.166667 | 0.666667 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 3 | 20 | 13.333333 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0953fcd0fde32cd5862a877b9a8ad927fa40bdb5 | 66 | py | Python | etl/textrank/storage/__init__.py | The-Animals/data-pipeline | 57c46dfe42807743d07d9f33bb29a2247afe8aff | [
"MIT"
] | null | null | null | etl/textrank/storage/__init__.py | The-Animals/data-pipeline | 57c46dfe42807743d07d9f33bb29a2247afe8aff | [
"MIT"
] | null | null | null | etl/textrank/storage/__init__.py | The-Animals/data-pipeline | 57c46dfe42807743d07d9f33bb29a2247afe8aff | [
"MIT"
] | null | null | null | from .mla import *
from .session import *
from .sentence import *
| 16.5 | 23 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 24 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09596bb84a62535d50a6b06cbed0bf3ca10db8f6 | 91 | py | Python | __init__.py | pascalau/visual_dataframe_selector | 5869a4dd802d8fc2df9e4d33f1d6f2aa7ff5cf3c | [
"Apache-2.0"
] | 4 | 2021-05-13T11:35:32.000Z | 2022-01-15T22:43:45.000Z | __init__.py | pascalau/visual_dataframe_selector | 5869a4dd802d8fc2df9e4d33f1d6f2aa7ff5cf3c | [
"Apache-2.0"
] | 2 | 2021-05-28T22:56:39.000Z | 2021-06-24T16:40:41.000Z | __init__.py | pascalau/visual_dataframe_selector | 5869a4dd802d8fc2df9e4d33f1d6f2aa7ff5cf3c | [
"Apache-2.0"
] | 2 | 2021-05-11T15:33:02.000Z | 2021-12-21T16:16:02.000Z | from . import src
from . import data_selector
from . import test_visual_dataframe_selector
| 22.75 | 44 | 0.835165 | 13 | 91 | 5.538462 | 0.615385 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 45 | 30.333333 | 0.911392 | 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 |
11950a95913741c34b2918dd0e4a0aea41ee294a | 1,112 | py | Python | config.py | IvanMamontov/nest-mobile-presence | c7da1f7872631324993ecb8268674fbd372a9fb2 | [
"MIT"
] | null | null | null | config.py | IvanMamontov/nest-mobile-presence | c7da1f7872631324993ecb8268674fbd372a9fb2 | [
"MIT"
] | null | null | null | config.py | IvanMamontov/nest-mobile-presence | c7da1f7872631324993ecb8268674fbd372a9fb2 | [
"MIT"
] | null | null | null | api_url = "https://developer-api.nest.com"
cam_url = "https://www.dropcam.com/api/wwn.get_snapshot/CjZKT2ljN2JJTGxIYzd3emF2S01DRFFtbm5Na2VGZzYwOEJaaUNVcG9oX3RYaHFSdDktY1JDTlESFk01T2dKTVg3cW1CQ0NGX202eEJYYVEaNkc4SElfUUpZbmtFUFlyZmR1M3lJUXV5OFZyUjdVU0QwdWljbWlLUU1rNXRBVW93RzNHWXVfZw?auth=019N06kj4pw8zmue62OkCF8p2yhICbCoq... | 101.090909 | 451 | 0.890288 | 54 | 1,112 | 18.148148 | 0.796296 | 0.016327 | 0.318367 | 0.42449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138158 | 0.043165 | 1,112 | 11 | 452 | 101.090909 | 0.782895 | 0 | 0 | 0 | 0 | 0 | 0.884996 | 0.386343 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11da5b6d46cfd64cb9a6982703d1d43bcedaa4f9 | 159 | py | Python | EPro-PnP-Det/epropnp_det/models/__init__.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | 19 | 2022-03-21T10:22:24.000Z | 2022-03-30T15:43:46.000Z | EPro-PnP-Det/epropnp_det/models/__init__.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | null | null | null | EPro-PnP-Det/epropnp_det/models/__init__.py | Lakonik/EPro-PnP | 931df847190ce10eddd1dc3e3168ce1a2f295ffa | [
"Apache-2.0"
] | 3 | 2022-03-26T08:08:24.000Z | 2022-03-30T11:17:11.000Z | """
Copyright (C) 2010-2022 Alibaba Group Holding Limited.
"""
from .dense_heads import *
from .detectors import *
from .losses import *
from .utils import *
| 17.666667 | 54 | 0.72327 | 21 | 159 | 5.428571 | 0.714286 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0.163522 | 159 | 8 | 55 | 19.875 | 0.796992 | 0.339623 | 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 |
11e8be4550b92081d1897b8ec8eff718bb999b79 | 157 | py | Python | Lab_5/Test Task_2.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | 1 | 2022-01-12T21:48:23.000Z | 2022-01-12T21:48:23.000Z | Lab_5/Test Task_2.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | Lab_5/Test Task_2.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | from Task_2 import *
def testCalcAverage():
assert calcAvererage([1,3]) == 2
assert calcAvererage([1,0,2]) == 1
testCalcAverage()
print("Pass") | 19.625 | 38 | 0.656051 | 20 | 157 | 5.1 | 0.65 | 0.372549 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.184713 | 157 | 8 | 39 | 19.625 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0.166667 | 0.166667 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ee96b78ce1eec49f92bbc42fa0fb3b86e16a7032 | 11,898 | py | Python | tp1_version_final_laffaye.py | felpa16/Falta_Envido | ff0b7663011341051e7af09ab97fb39bbdf62f11 | [
"MIT"
] | null | null | null | tp1_version_final_laffaye.py | felpa16/Falta_Envido | ff0b7663011341051e7af09ab97fb39bbdf62f11 | [
"MIT"
] | null | null | null | tp1_version_final_laffaye.py | felpa16/Falta_Envido | ff0b7663011341051e7af09ab97fb39bbdf62f11 | [
"MIT"
] | null | null | null | print("\nBienvenido al simulador de \033[3mgames de Tenis!")
print("\nPara empezar, defina a sus jugadores.")
jugador1 = input("Jugador 1: ")
jugador2 = input("Jugador 2: ")
puntos_jugador1 = 0
puntos_jugador2 = 0
print("\nAhora elija el modo de simulación.")
modo = input("""
1. Modo Manual
2. Modo Automático
> "... | 33.897436 | 97 | 0.458396 | 1,055 | 11,898 | 4.969668 | 0.113744 | 0.189586 | 0.097845 | 0.083921 | 0.766355 | 0.75453 | 0.743849 | 0.740797 | 0.733168 | 0.69464 | 0 | 0.058555 | 0.466045 | 11,898 | 350 | 98 | 33.994286 | 0.765937 | 0.034796 | 0 | 0.805195 | 0 | 0 | 0.070321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017316 | false | 0 | 0.004329 | 0 | 0.025974 | 0.082251 | 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 |
eea4d734231650891f2b381778fb759e51bf3dfe | 71 | py | Python | src/archs/__init__.py | hendraet/IIC | a5bab915eda133b0ecfd42eaacd60c7b26807cb6 | [
"MIT"
] | 767 | 2019-03-28T00:22:53.000Z | 2022-03-31T09:27:01.000Z | src/archs/__init__.py | hendraet/IIC | a5bab915eda133b0ecfd42eaacd60c7b26807cb6 | [
"MIT"
] | 113 | 2019-03-30T20:44:58.000Z | 2022-03-22T04:46:55.000Z | src/archs/__init__.py | hendraet/IIC | a5bab915eda133b0ecfd42eaacd60c7b26807cb6 | [
"MIT"
] | 209 | 2019-03-28T16:06:04.000Z | 2022-03-29T15:08:47.000Z | from cluster import *
from segmentation import *
from semisup import *
| 17.75 | 26 | 0.788732 | 9 | 71 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 27 | 23.666667 | 0.949153 | 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 |
eebe0b239b9c87c020bcefbe3a1f8de1c0f49620 | 28 | py | Python | multiframe/data/optical_flow/__init__.py | fkokkinos/acfm_video_3d_reconstruction | 21dc1c6f4f3306c8df32c7b4f155ecbf49b36f13 | [
"Apache-2.0"
] | 13 | 2021-07-14T01:15:17.000Z | 2022-03-30T02:50:10.000Z | multiframe/data/optical_flow/__init__.py | fkokkinos/acfm_video_3d_reconstruction | 21dc1c6f4f3306c8df32c7b4f155ecbf49b36f13 | [
"Apache-2.0"
] | null | null | null | multiframe/data/optical_flow/__init__.py | fkokkinos/acfm_video_3d_reconstruction | 21dc1c6f4f3306c8df32c7b4f155ecbf49b36f13 | [
"Apache-2.0"
] | null | null | null | from . import config_folder
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
eec914b634081fb9a692a66f7d91b3bb817124b9 | 213 | py | Python | Desafios/Ex-046.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | 1 | 2021-04-06T16:14:43.000Z | 2021-04-06T16:14:43.000Z | Desafios/Ex-046.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | null | null | null | Desafios/Ex-046.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | null | null | null | from time import sleep
print(f'\033[33m{"—"*30:^30}\033[m')
print(f'\033[36m{"EXERCÍCIO Nº 46":^30}\033[m')
print(f'\033[33m{"—"*30:^30}\033[m')
for x in range(10, 0, -1):
sleep(1)
print(x)
print('XABLAU') | 26.625 | 47 | 0.600939 | 45 | 213 | 2.888889 | 0.511111 | 0.138462 | 0.207692 | 0.184615 | 0.438462 | 0.438462 | 0.323077 | 0.323077 | 0.323077 | 0 | 0 | 0.218085 | 0.117371 | 213 | 8 | 48 | 26.625 | 0.462766 | 0 | 0 | 0.25 | 0 | 0 | 0.443925 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e10f2b74d27cadbb941ad8d6886ae23ccf767a83 | 40 | py | Python | MMDBalancing/__init__.py | MGIMM/Mean_Maximum_Discrepancy_Balancing | dce2ca71ae47ba4efdbaa28f356a443bd7bdbba1 | [
"MIT"
] | null | null | null | MMDBalancing/__init__.py | MGIMM/Mean_Maximum_Discrepancy_Balancing | dce2ca71ae47ba4efdbaa28f356a443bd7bdbba1 | [
"MIT"
] | null | null | null | MMDBalancing/__init__.py | MGIMM/Mean_Maximum_Discrepancy_Balancing | dce2ca71ae47ba4efdbaa28f356a443bd7bdbba1 | [
"MIT"
] | null | null | null | from .MMDBalancing import MMDBalancing
| 13.333333 | 38 | 0.85 | 4 | 40 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 2 | 39 | 20 | 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 |
011a457fc589fdc36350c071d6385b30d2d2f28f | 38,003 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/10.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/10.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/10.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4076
passenger_arriving = (
(5, 13, 10, 1, 1, 0, 9, 11, 11, 3, 1, 0), # 0
(3, 15, 9, 4, 1, 0, 9, 15, 6, 4, 2, 0), # 1
(5, 6, 9, 3, 4, 0, 13, 12, 9, 6, 2, 0), # 2
(5, 7, 12, 5, 1, 0, 7, 11, 7, 5, 2, 0), # 3
(3, 7, 5, 5, 4, 0, 8, 7, 7, 3, 1, 0), # 4
(4, 15, 9, 3, 1, 0, 7, ... | 113.441791 | 213 | 0.729916 | 5,147 | 38,003 | 5.387216 | 0.237031 | 0.311598 | 0.246682 | 0.467398 | 0.328405 | 0.326746 | 0.326746 | 0.326746 | 0.326746 | 0.326746 | 0 | 0.819642 | 0.11878 | 38,003 | 334 | 214 | 113.781437 | 0.008331 | 0.031866 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0165c4f21faececaee7081ef0adc9460db7d7f2c | 3,985 | py | Python | src/transform_ckpt_custom2det.py | CVMI-Lab/KDEP | 5fe3914dac9e522476086bad47bc35b4661c6171 | [
"Apache-2.0"
] | 32 | 2022-03-06T09:29:35.000Z | 2022-03-28T07:12:35.000Z | src/transform_ckpt_custom2det.py | CVMI-Lab/KDEP | 5fe3914dac9e522476086bad47bc35b4661c6171 | [
"Apache-2.0"
] | null | null | null | src/transform_ckpt_custom2det.py | CVMI-Lab/KDEP | 5fe3914dac9e522476086bad47bc35b4661c6171 | [
"Apache-2.0"
] | 1 | 2022-03-14T03:08:01.000Z | 2022-03-14T03:08:01.000Z | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
from collections import OrderedDict
import sys
def custom2det_R18(exp_name):
# model.model ->
# orig_path = '../pre... | 33.208333 | 86 | 0.569887 | 556 | 3,985 | 3.908273 | 0.196043 | 0.066268 | 0.073631 | 0.04694 | 0.818224 | 0.818224 | 0.798896 | 0.798896 | 0.798896 | 0.798896 | 0 | 0.017721 | 0.277792 | 3,985 | 119 | 87 | 33.487395 | 0.737318 | 0.170389 | 0 | 0.621951 | 0 | 0 | 0.200183 | 0.046313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0.02439 | 0.134146 | 0 | 0.158537 | 0.121951 | 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 |
016c29863a1cbd1abec5aaa6ca61e88f217004f5 | 101 | py | Python | NetworkGraph/view.py | woyuanbingbuyuan/LinkedDataQuery | 44e81fe7a9a003ad3aa90708766310a783b61a7e | [
"MIT"
] | null | null | null | NetworkGraph/view.py | woyuanbingbuyuan/LinkedDataQuery | 44e81fe7a9a003ad3aa90708766310a783b61a7e | [
"MIT"
] | null | null | null | NetworkGraph/view.py | woyuanbingbuyuan/LinkedDataQuery | 44e81fe7a9a003ad3aa90708766310a783b61a7e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#from django.http import HttpResponse
from django.shortcuts import render
| 16.833333 | 37 | 0.722772 | 13 | 101 | 5.615385 | 0.769231 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.158416 | 101 | 5 | 38 | 20.2 | 0.847059 | 0.564356 | 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 |
a306d597409af87a380e99e99d9703f8878865b6 | 46 | py | Python | helpers/__init__.py | lxchtan/TEGTOK | 13f8722de4dcd44ce75d9a85acfe914bcb1588b0 | [
"Apache-2.0"
] | 1 | 2022-03-17T11:30:16.000Z | 2022-03-17T11:30:16.000Z | helpers/__init__.py | lxchtan/TEGTOK | 13f8722de4dcd44ce75d9a85acfe914bcb1588b0 | [
"Apache-2.0"
] | null | null | null | helpers/__init__.py | lxchtan/TEGTOK | 13f8722de4dcd44ce75d9a85acfe914bcb1588b0 | [
"Apache-2.0"
] | null | null | null | from .aux_train import optimizer, lr_scheduler | 46 | 46 | 0.869565 | 7 | 46 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09849d0886af67648538d495dcee8ffb79a3dff5 | 1,017 | py | Python | tests/image_gen/color_eq.py | cmu-cs-academy/desktop-cmu-graphics | 141941029e733bf64a974fc339ede0555505fc20 | [
"BSD-3-Clause"
] | 3 | 2021-07-09T17:12:01.000Z | 2022-03-01T22:08:52.000Z | tests/image_gen/color_eq.py | cmu-cs-academy/desktop-cmu-graphics | 141941029e733bf64a974fc339ede0555505fc20 | [
"BSD-3-Clause"
] | 7 | 2021-06-18T00:10:09.000Z | 2022-03-28T21:10:20.000Z | tests/image_gen/color_eq.py | cmu-cs-academy/cpython-cmu-graphics | 04622a80642156ad646a00203899a8f3726f5b73 | [
"BSD-3-Clause"
] | 1 | 2020-06-11T21:03:50.000Z | 2020-06-11T21:03:50.000Z | assert gradient('red', 'blue') == gradient('red', 'blue')
assert gradient('red', 'blue', start='center') == gradient('red', 'blue')
assert gradient('red', 'blue', start='left') == gradient('red', 'blue', start='left')
assert gradient('red', 'blue') != gradient('red', 'blue', start='left')
assert gradient('red', 'blue'... | 42.375 | 85 | 0.59587 | 158 | 1,017 | 3.835443 | 0.107595 | 0.39934 | 0.321782 | 0.207921 | 0.806931 | 0.79868 | 0.694719 | 0.60066 | 0.422442 | 0.184818 | 0 | 0.058957 | 0.132743 | 1,017 | 23 | 86 | 44.217391 | 0.628118 | 0 | 0 | 0 | 0 | 0 | 0.176008 | 0 | 0 | 0 | 0 | 0 | 0.941176 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1150daf85e2560929ff9fb2491726352f266e01a | 26 | bzl | Python | lint/repositories.bzl | shs96c/apple_rules_lint | 260cc306d0aac22ec180ebb528ec387799eef17a | [
"Apache-2.0"
] | 95 | 2020-10-12T16:18:00.000Z | 2022-03-31T22:42:10.000Z | lint/repositories.bzl | shs96c/apple_rules_lint | 260cc306d0aac22ec180ebb528ec387799eef17a | [
"Apache-2.0"
] | 1 | 2021-09-15T15:44:16.000Z | 2021-09-16T11:23:00.000Z | lint/repositories.bzl | shs96c/apple_rules_lint | 260cc306d0aac22ec180ebb528ec387799eef17a | [
"Apache-2.0"
] | 9 | 2020-10-12T20:42:32.000Z | 2022-03-26T11:39:57.000Z | def lint_deps():
pass
| 8.666667 | 16 | 0.615385 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.789474 | 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 |
3a087ff5d559704c445f2d90bb24da2d5c9a18ca | 97 | py | Python | actions.py | bxtx999/clock_in | c1ae75250f4f1507e6d6f1984d801ccbb60fe0f3 | [
"MIT"
] | null | null | null | actions.py | bxtx999/clock_in | c1ae75250f4f1507e6d6f1984d801ccbb60fe0f3 | [
"MIT"
] | null | null | null | actions.py | bxtx999/clock_in | c1ae75250f4f1507e6d6f1984d801ccbb60fe0f3 | [
"MIT"
] | null | null | null | from sign import main, get_config
if __name__ == '__main__':
exit(main(**get_config())) | 19.4 | 34 | 0.659794 | 13 | 97 | 4.153846 | 0.692308 | 0.259259 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 97 | 5 | 35 | 19.4 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3a2c1b3901c70bb62ca8ea93b690c88c11451a22 | 127 | py | Python | workers/support/nosiniff-error-worker.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 8 | 2019-04-09T21:13:05.000Z | 2021-11-23T17:25:18.000Z | workers/support/nosiniff-error-worker.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 21 | 2021-03-31T19:48:22.000Z | 2022-03-12T00:24:53.000Z | workers/support/nosiniff-error-worker.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 11 | 2019-04-12T01:20:16.000Z | 2021-11-23T17:25:02.000Z | def main(request, response):
return [('Content-Type', 'text/html'),
('X-Content-Type-Options', 'nosniff')], ""
| 31.75 | 54 | 0.574803 | 14 | 127 | 5.214286 | 0.857143 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 127 | 3 | 55 | 42.333333 | 0.715686 | 0 | 0 | 0 | 0 | 0 | 0.393701 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3a5482d926b4ee0d3c87457ac59d129827601fe6 | 106 | py | Python | main.py | gress2/pseudo-feedback-mcts | d8957d505feb4a146e1b76cd6484846dac2d399e | [
"MIT"
] | null | null | null | main.py | gress2/pseudo-feedback-mcts | d8957d505feb4a146e1b76cd6484846dac2d399e | [
"MIT"
] | null | null | null | main.py | gress2/pseudo-feedback-mcts | d8957d505feb4a146e1b76cd6484846dac2d399e | [
"MIT"
] | null | null | null | import mcts
import same_game_env
env = same_game_env.Env()
mcts = mcts.MCTS(env)
print(mcts.search(100))
| 15.142857 | 25 | 0.764151 | 19 | 106 | 4.052632 | 0.421053 | 0.207792 | 0.285714 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.113208 | 106 | 6 | 26 | 17.666667 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
28ec6c2a3bb5e82349e02f7fea92d3ed23329384 | 2,257 | py | Python | tests/test_time_analysis.py | adrien-berchet/GpsDataAnalyzer | 88a0dab83b186430c05d3e0976c5beac796ebc0d | [
"MIT"
] | null | null | null | tests/test_time_analysis.py | adrien-berchet/GpsDataAnalyzer | 88a0dab83b186430c05d3e0976c5beac796ebc0d | [
"MIT"
] | 4 | 2020-05-14T23:11:20.000Z | 2020-07-23T15:06:11.000Z | tests/test_time_analysis.py | adrien-berchet/GpsDataAnalyzer | 88a0dab83b186430c05d3e0976c5beac796ebc0d | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import gps_data_analyzer as gda
def test_simple_rest_time():
x = [i for i in range(20)]
y = [0] * 20
z = [0] * 20
t = ["2019/06/16-09:55:{:0}".format(i) for i in range(20)]
df = pd.DataFrame({"x": x, "y": y, "z": z, "t": t})
data = gda.GpsPoints(df, x_co... | 32.710145 | 76 | 0.544528 | 440 | 2,257 | 2.686364 | 0.134091 | 0.037225 | 0.055838 | 0.102369 | 0.830795 | 0.795262 | 0.740271 | 0.720812 | 0.720812 | 0.720812 | 0 | 0.102376 | 0.216659 | 2,257 | 68 | 77 | 33.191176 | 0.566176 | 0 | 0 | 0.54 | 0 | 0 | 0.058485 | 0.037218 | 0 | 0 | 0 | 0 | 0.28 | 1 | 0.08 | false | 0 | 0.06 | 0 | 0.14 | 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 |
28f110bbdedbaee2272345fc72f174b0651b0793 | 247 | py | Python | stone/blueprints/dashboard.py | Coderhypo/booklib | cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec | [
"MIT"
] | null | null | null | stone/blueprints/dashboard.py | Coderhypo/booklib | cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec | [
"MIT"
] | 1 | 2021-06-01T22:04:57.000Z | 2021-06-01T22:04:57.000Z | stone/blueprints/dashboard.py | Coderhypo/booklib | cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec | [
"MIT"
] | null | null | null | from sanic.blueprints import Blueprint
dashboard_blueprint = Blueprint("dashboard", url_prefix="/dashboard")
@dashboard_blueprint.route("/")
def dashboard():
pass
@dashboard_blueprint.route("/book/history")
def book_history():
pass
| 15.4375 | 69 | 0.744939 | 27 | 247 | 6.62963 | 0.481481 | 0.301676 | 0.256983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125506 | 247 | 15 | 70 | 16.466667 | 0.828704 | 0 | 0 | 0.25 | 0 | 0 | 0.134694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.375 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
28fa8d39fe2d5de4ee6e814a6eb5cdab1670e063 | 3,116 | py | Python | RGB_Segmentation/trainers/deprecated/LossMetrics.py | JonnyD1117/RGB-D-Plant-Segmentation | b98eb0f32c27205abc9801eca4b2ad3f61ad80d8 | [
"MIT"
] | 1 | 2021-09-13T02:44:04.000Z | 2021-09-13T02:44:04.000Z | RGB_Segmentation/trainers/deprecated/LossMetrics.py | JonnyD1117/RGB-D-Plant-Segmentation | b98eb0f32c27205abc9801eca4b2ad3f61ad80d8 | [
"MIT"
] | 1 | 2021-05-27T10:49:29.000Z | 2021-05-27T10:49:29.000Z | RGB_Segmentation/trainers/deprecated/LossMetrics.py | JonnyD1117/RGB-D-Plant-Segmentation | b98eb0f32c27205abc9801eca4b2ad3f61ad80d8 | [
"MIT"
] | 1 | 2020-08-14T02:15:23.000Z | 2020-08-14T02:15:23.000Z | import os
import cv2
import numpy as np
from PIL import Image
import torch
import torch.nn as nn
import torch.nn.functional as F
class CustomLossMetrics(nn.Module):
def __init__(self):
super().__init__()
class Dice:
def __init__(self):
super().__init__()
def DiceCoef(sel... | 29.67619 | 74 | 0.539795 | 350 | 3,116 | 4.588571 | 0.162857 | 0.080946 | 0.061021 | 0.059776 | 0.783935 | 0.735367 | 0.735367 | 0.735367 | 0.735367 | 0.735367 | 0 | 0.010832 | 0.348203 | 3,116 | 104 | 75 | 29.961538 | 0.779911 | 0.035623 | 0 | 0.705128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179487 | false | 0 | 0.089744 | 0 | 0.448718 | 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 |
e9088a687619841faee186563ab0ade7467a48c9 | 25 | py | Python | fabfile.py | kingyoungfan/v-mall-api | 86ff05608162f6127d8af59c556ef5586bad8f68 | [
"MIT"
] | null | null | null | fabfile.py | kingyoungfan/v-mall-api | 86ff05608162f6127d8af59c556ef5586bad8f68 | [
"MIT"
] | null | null | null | fabfile.py | kingyoungfan/v-mall-api | 86ff05608162f6127d8af59c556ef5586bad8f68 | [
"MIT"
] | null | null | null | from fabric.api import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e93ee894ead4eb81c57ecfa2c529d0770c6d41fb | 6,669 | py | Python | draw_intro_fig_icml.py | jsikyoon/ASNP-RMR | ddd3e586b01ba3a7f8b3721582aca7403649400e | [
"MIT"
] | 8 | 2020-07-21T02:49:54.000Z | 2021-09-28T02:22:37.000Z | draw_intro_fig_icml.py | jsikyoon/ASNP-RMR | ddd3e586b01ba3a7f8b3721582aca7403649400e | [
"MIT"
] | null | null | null | draw_intro_fig_icml.py | jsikyoon/ASNP-RMR | ddd3e586b01ba3a7f8b3721582aca7403649400e | [
"MIT"
] | 1 | 2020-09-02T06:39:49.000Z | 2020-09-02T06:39:49.000Z | import os, argparse, math
import pickle as pkl
import numpy as np
import matplotlib.pyplot as plt
from scipy import misc
import tensorflow as tf
from utils import reordering
img_name = '2d_introfig_'
plt.figure(figsize=(4.8*6, 4.8*2))
##############################################
# mnist
sample_idx=900000
b_idx=1
t... | 28.74569 | 87 | 0.54371 | 1,113 | 6,669 | 3.082659 | 0.141959 | 0.064121 | 0.040804 | 0.044885 | 0.824541 | 0.820169 | 0.801807 | 0.785777 | 0.757797 | 0.739143 | 0 | 0.077001 | 0.260009 | 6,669 | 231 | 88 | 28.87013 | 0.618237 | 0.080822 | 0 | 0.672316 | 0 | 0 | 0.053841 | 0.028178 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039548 | 0 | 0.039548 | 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 |
3a830d1b7823a2bcb9ce4dd61d8961ed89bce220 | 32 | py | Python | src/Grammar/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | null | null | null | src/Grammar/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | null | null | null | src/Grammar/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | 1 | 2022-02-24T17:16:42.000Z | 2022-02-24T17:16:42.000Z | from .grammar import CoolGrammar | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
3ad71611afda675f22b1250480c974694f6071ff | 90 | py | Python | logutils/__init__.py | JinWuZhao/symbolicatedcrash | 50568bab425c5cb15827971290e5076ab2c1cefe | [
"MIT"
] | 18 | 2015-12-18T04:25:04.000Z | 2021-03-11T07:21:18.000Z | logutils/__init__.py | JinWuZhao/symbolicatedcrash | 50568bab425c5cb15827971290e5076ab2c1cefe | [
"MIT"
] | 2 | 2016-03-22T12:54:09.000Z | 2017-12-29T07:04:48.000Z | logutils/__init__.py | JinWuZhao/symbolicatedcrash | 50568bab425c5cb15827971290e5076ab2c1cefe | [
"MIT"
] | 3 | 2017-03-08T07:00:44.000Z | 2020-04-15T02:21:57.000Z | from .log import logi
from .log import logd
from .log import loge
__author__ = 'jinzhao'
| 15 | 22 | 0.755556 | 14 | 90 | 4.571429 | 0.571429 | 0.328125 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 5 | 23 | 18 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c94b0380f6ffd1d90f75934e676d0e5e802713da | 108 | py | Python | piescope/lm/__init__.py | DeMarcoLab/piescope | ea7acf5b198b91e4923097711d55ca038763eba2 | [
"MIT"
] | 4 | 2019-06-07T07:28:48.000Z | 2022-02-23T23:02:08.000Z | piescope/lm/__init__.py | DeMarcoLab/PIEScope | ea7acf5b198b91e4923097711d55ca038763eba2 | [
"MIT"
] | 44 | 2019-06-09T14:32:16.000Z | 2022-03-25T06:04:20.000Z | piescope/lm/__init__.py | DeMarcoLab/piescope | ea7acf5b198b91e4923097711d55ca038763eba2 | [
"MIT"
] | 3 | 2019-06-07T07:31:09.000Z | 2021-03-01T10:47:24.000Z | import piescope.lm.detector
import piescope.lm.laser
import piescope.lm.objective
import piescope.lm.volume
| 21.6 | 28 | 0.851852 | 16 | 108 | 5.75 | 0.4375 | 0.608696 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 4 | 29 | 27 | 0.92 | 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 |
c951d8a4489dfc2457cfce56c3d33d362fc25ab5 | 102 | py | Python | pylablib/aux_libs/gui/__init__.py | AlexShkarin/pyLabLib-v0 | 1c3c59d4bcbea4a16eee916033972ee13a7d1af6 | [
"MIT"
] | 8 | 2021-03-06T08:31:39.000Z | 2022-03-16T15:02:06.000Z | pylablib/aux_libs/gui/__init__.py | AlexShkarin/pyLabLib-v0 | 1c3c59d4bcbea4a16eee916033972ee13a7d1af6 | [
"MIT"
] | 7 | 2020-09-10T17:25:10.000Z | 2021-12-07T20:49:22.000Z | pylablib/aux_libs/gui/__init__.py | AlexShkarin/pyLabLib-v0 | 1c3c59d4bcbea4a16eee916033972ee13a7d1af6 | [
"MIT"
] | 7 | 2020-08-16T09:02:55.000Z | 2022-03-21T10:58:53.000Z | from .device_thread import DeviceThread
from .script_thread import ScriptThread
from .widgets import * | 34 | 39 | 0.852941 | 13 | 102 | 6.538462 | 0.615385 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 40 | 34 | 0.934066 | 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 |
a30e619ad2478f2967dbb8bbe0a027308b6a2433 | 3,327 | py | Python | tests/test_worker.py | truethari/thumb-gen | 8d754832ba348ecc5b77bdf83a8df30c0f6464d2 | [
"MIT"
] | 13 | 2021-03-22T17:58:37.000Z | 2022-02-21T05:54:42.000Z | tests/test_worker.py | truethari/thumb-gen | 8d754832ba348ecc5b77bdf83a8df30c0f6464d2 | [
"MIT"
] | 1 | 2021-11-30T12:00:41.000Z | 2021-12-05T01:33:58.000Z | tests/test_worker.py | truethari/thumb-gen | 8d754832ba348ecc5b77bdf83a8df30c0f6464d2 | [
"MIT"
] | 2 | 2021-03-26T04:35:20.000Z | 2021-10-05T17:57:10.000Z | import pytest
from thumb_gen import Generator
#video_path, output_path='', custom_text=True, font_dir='', font_size=0, bg_colour='', font_colour=''
video_path = "/home/sample-mp4-file.mp4"
output_path = "/home/runner/work/thumb-gen/thumb-gen/"
def test_worker_1():
# Checking whether it gives an error when the... | 37.806818 | 148 | 0.706643 | 487 | 3,327 | 4.605749 | 0.166324 | 0.107 | 0.143558 | 0.128399 | 0.877396 | 0.845742 | 0.845742 | 0.845742 | 0.795363 | 0.795363 | 0 | 0.024756 | 0.198677 | 3,327 | 87 | 149 | 38.241379 | 0.816579 | 0.211001 | 0 | 0.578125 | 0 | 0 | 0.069572 | 0.024083 | 0 | 0 | 0 | 0 | 0.296875 | 1 | 0.171875 | false | 0 | 0.03125 | 0 | 0.203125 | 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 |
a349baac2485daeeb42b23b49cc3afbf32ace166 | 42 | py | Python | hyperts/utils/tscvsplit/__init__.py | DataCanvasIO/HyperTS | b2560daf8f08748691e7bd9efd14cc5f881186a3 | [
"Apache-2.0"
] | 13 | 2021-11-15T08:07:54.000Z | 2022-03-27T18:21:20.000Z | hyperts/utils/tscvsplit/__init__.py | DataCanvasIO/HyperTS | b2560daf8f08748691e7bd9efd14cc5f881186a3 | [
"Apache-2.0"
] | 34 | 2021-11-26T01:34:49.000Z | 2022-03-31T06:28:39.000Z | hyperts/utils/tscvsplit/__init__.py | DataCanvasIO/HyperTS | b2560daf8f08748691e7bd9efd14cc5f881186a3 | [
"Apache-2.0"
] | 3 | 2021-11-15T08:07:57.000Z | 2022-03-18T07:35:49.000Z | from ._prequential import PrequentialSplit | 42 | 42 | 0.904762 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e72a398e0d6398ca6160e2b285374c7a6b4c803 | 181 | py | Python | consumer/admin.py | nmaekawa/catch | e5f28cac2f8de43e96a47b535fb99be19b321c52 | [
"Apache-2.0"
] | null | null | null | consumer/admin.py | nmaekawa/catch | e5f28cac2f8de43e96a47b535fb99be19b321c52 | [
"Apache-2.0"
] | null | null | null | consumer/admin.py | nmaekawa/catch | e5f28cac2f8de43e96a47b535fb99be19b321c52 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Consumer
from .models import Profile
# Register your models here.
admin.site.register(Consumer)
admin.site.register(Profile)
| 18.1 | 32 | 0.80663 | 25 | 181 | 5.84 | 0.48 | 0.136986 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121547 | 181 | 9 | 33 | 20.111111 | 0.918239 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e763acdb97fbfd4b642bfc33a8f5e09f66e628c | 100 | py | Python | tests/test_vis.py | briancohan/geosar | 7a0825e3f974186f36d420cd0152749ea2888a81 | [
"MIT"
] | null | null | null | tests/test_vis.py | briancohan/geosar | 7a0825e3f974186f36d420cd0152749ea2888a81 | [
"MIT"
] | null | null | null | tests/test_vis.py | briancohan/geosar | 7a0825e3f974186f36d420cd0152749ea2888a81 | [
"MIT"
] | null | null | null | import geosar.settings
def test_mapbox_token_set():
assert geosar.settings.MAPBOX is not None
| 16.666667 | 45 | 0.79 | 15 | 100 | 5.066667 | 0.8 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 46 | 20 | 0.894118 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6e8158544464b63dea2aff67d2962d83a0887dfa | 136 | py | Python | auth_service/adapters/tokens/__init__.py | rahungria/clean_arquitecture_auth | 1d0276c2fd5b83705805dfe33f6781dde3bc064a | [
"MIT"
] | 1 | 2022-03-11T21:33:36.000Z | 2022-03-11T21:33:36.000Z | auth_service/adapters/tokens/__init__.py | rahungria/clean_arquitecture_auth | 1d0276c2fd5b83705805dfe33f6781dde3bc064a | [
"MIT"
] | null | null | null | auth_service/adapters/tokens/__init__.py | rahungria/clean_arquitecture_auth | 1d0276c2fd5b83705805dfe33f6781dde3bc064a | [
"MIT"
] | null | null | null | from . import token_adapter
from auth_service.main.tokens import jwt_token_impl
token = token_adapter.JWTTokenAdapter(jwt_token_impl)
| 22.666667 | 53 | 0.852941 | 20 | 136 | 5.45 | 0.55 | 0.220183 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 136 | 5 | 54 | 27.2 | 0.886179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ed37768bd9dcb30da0c567d44f7f8b4245cfaff | 23 | py | Python | cwl_client/__init__.py | kitkatoffwork/cwl_client | f6a681d54b5463c1a02865cddbbef2fb319c89c4 | [
"MIT"
] | null | null | null | cwl_client/__init__.py | kitkatoffwork/cwl_client | f6a681d54b5463c1a02865cddbbef2fb319c89c4 | [
"MIT"
] | 2 | 2020-02-24T09:27:40.000Z | 2020-05-04T12:42:38.000Z | cwl_client/__init__.py | kitkatoffwork/cwl_client | f6a681d54b5463c1a02865cddbbef2fb319c89c4 | [
"MIT"
] | 2 | 2020-02-08T04:24:44.000Z | 2020-02-08T04:26:08.000Z | from . import interface | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e2a353c408cc6d4c701b1d49fdf8339773f9784 | 210 | py | Python | Python3_Mundo1_Aula6/Python_teste/aula006b.py | AgladeJesus/python | 16e4e5cc43aa987858a4719748708d6d5327d75d | [
"MIT"
] | null | null | null | Python3_Mundo1_Aula6/Python_teste/aula006b.py | AgladeJesus/python | 16e4e5cc43aa987858a4719748708d6d5327d75d | [
"MIT"
] | null | null | null | Python3_Mundo1_Aula6/Python_teste/aula006b.py | AgladeJesus/python | 16e4e5cc43aa987858a4719748708d6d5327d75d | [
"MIT"
] | null | null | null | a = int(input('Digete um valor: '))
print(type(a))
b = bool(input('Digete um valor: '))
print(type(b))
c = float(input('Digete um valor: '))
print(type(c))
d = str(input('Digete um valor: '))
print(type(d))
| 17.5 | 37 | 0.62381 | 36 | 210 | 3.638889 | 0.388889 | 0.335878 | 0.396947 | 0.549618 | 0.824427 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147619 | 210 | 11 | 38 | 19.090909 | 0.731844 | 0 | 0 | 0 | 0 | 0 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6e44581913e963318eb0c7d97dbcdac107612ce9 | 8,312 | py | Python | evaluation.py | frUTCS16/locally-Lipschitz-GAIL | 14c9de93fdf5686320a0fff34d69f47558361a2f | [
"MIT"
] | null | null | null | evaluation.py | frUTCS16/locally-Lipschitz-GAIL | 14c9de93fdf5686320a0fff34d69f47558361a2f | [
"MIT"
] | null | null | null | evaluation.py | frUTCS16/locally-Lipschitz-GAIL | 14c9de93fdf5686320a0fff34d69f47558361a2f | [
"MIT"
] | null | null | null | import numpy as np
import torch
from a2c_ppo_acktr import utils
from a2c_ppo_acktr.envs import make_vec_envs
from torch.distributions.kl import kl_divergence
# def add_noise_to_obs(obs, radius, norm):
# obs_size = obs.size()
# if norm == "L_inf":
# # delta has a norm ifinity smaller than radius... | 41.768844 | 162 | 0.634384 | 1,138 | 8,312 | 4.292619 | 0.148506 | 0.033163 | 0.058956 | 0.034391 | 0.892119 | 0.889048 | 0.889048 | 0.889048 | 0.875128 | 0.875128 | 0 | 0.012968 | 0.267084 | 8,312 | 198 | 163 | 41.979798 | 0.788903 | 0.503248 | 0 | 0.15 | 0 | 0.0125 | 0.052931 | 0.024981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.0625 | 0 | 0.1125 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.