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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dba990b3df5ea3b5ba53e372fdb146c4841a3ec2 | 76 | py | Python | test.py | BenjaminBush/rdtscp | 96be4d1d0b5e86d1129df5dece828b220193d7a5 | [
"MIT"
] | null | null | null | test.py | BenjaminBush/rdtscp | 96be4d1d0b5e86d1129df5dece828b220193d7a5 | [
"MIT"
] | null | null | null | test.py | BenjaminBush/rdtscp | 96be4d1d0b5e86d1129df5dece828b220193d7a5 | [
"MIT"
] | null | null | null | import rdtscp_module
print("RDTSCP_READ {}".format(rdtscp_module.rdtscp())) | 25.333333 | 54 | 0.789474 | 10 | 76 | 5.7 | 0.6 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 76 | 3 | 54 | 25.333333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
dbb28148e5853bdee5e2c21c91e71e54e2d96653 | 2,189 | py | Python | gym_socks/utils/tests/test_grid.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | gym_socks/utils/tests/test_grid.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | 1 | 2021-11-09T21:15:26.000Z | 2021-11-09T21:15:26.000Z | gym_socks/utils/tests/test_grid.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | import unittest
import gym
import gym_socks.utils
import numpy as np
from gym_socks.utils.grid import make_grid_from_ranges
from gym_socks.utils.grid import make_grid_from_space
from gym_socks.utils.grid import grid_size_from_ranges
from gym_socks.utils.grid import grid_size_from_space
class TestGrid(unittest.Tes... | 28.802632 | 83 | 0.572864 | 317 | 2,189 | 3.760252 | 0.141956 | 0.040268 | 0.055369 | 0.04698 | 0.877517 | 0.848993 | 0.826342 | 0.796141 | 0.750839 | 0.618289 | 0 | 0.065815 | 0.285062 | 2,189 | 75 | 84 | 29.186667 | 0.695847 | 0.078118 | 0 | 0.596154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.076923 | false | 0 | 0.153846 | 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 |
dbc91f3cb58ee3d0a6e32ec981aa72b5a2d060a8 | 100 | py | Python | app/moderator/__init__.py | Amukozoberit/Quotes2 | 80795a5208f9442bf954170a0e4b22d71c53eb81 | [
"MIT"
] | null | null | null | app/moderator/__init__.py | Amukozoberit/Quotes2 | 80795a5208f9442bf954170a0e4b22d71c53eb81 | [
"MIT"
] | null | null | null | app/moderator/__init__.py | Amukozoberit/Quotes2 | 80795a5208f9442bf954170a0e4b22d71c53eb81 | [
"MIT"
] | null | null | null | from flask import Blueprint
moderator=Blueprint('moderator',__name__)
from . import views,errors | 14.285714 | 41 | 0.8 | 12 | 100 | 6.333333 | 0.666667 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 7 | 42 | 14.285714 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
dbcf5a4dab04b3f2c86d6982f0a8ce486cceed11 | 98 | py | Python | backend/settings.py | triplejay2013/realtime-transcription-playground | fab8c610cce81b63ac120cc81bfe237455e9a84b | [
"MIT"
] | 98 | 2021-07-02T13:41:17.000Z | 2022-03-03T00:27:01.000Z | backend/settings.py | triplejay2013/realtime-transcription-playground | fab8c610cce81b63ac120cc81bfe237455e9a84b | [
"MIT"
] | 4 | 2021-07-02T13:31:51.000Z | 2021-10-04T14:36:23.000Z | backend/settings.py | triplejay2013/realtime-transcription-playground | fab8c610cce81b63ac120cc81bfe237455e9a84b | [
"MIT"
] | 8 | 2021-07-07T17:02:42.000Z | 2022-03-31T15:09:32.000Z | import os
GOOGLE_SERVICE_JSON_FILE = os.environ['GOOGLE_SERVICE_JSON_FILE']
BACKEND_PORT = 10000
| 19.6 | 65 | 0.836735 | 15 | 98 | 5 | 0.666667 | 0.346667 | 0.453333 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0.091837 | 98 | 4 | 66 | 24.5 | 0.786517 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
9162c9d2d18d68744640d3bf80dd65b2aa210f5f | 135 | py | Python | check_value_substring.py | jjtoledo/Treinamento-Data-Science | 5117975109695b1de06ae43b416972e66a4b7773 | [
"MIT"
] | null | null | null | check_value_substring.py | jjtoledo/Treinamento-Data-Science | 5117975109695b1de06ae43b416972e66a4b7773 | [
"MIT"
] | null | null | null | check_value_substring.py | jjtoledo/Treinamento-Data-Science | 5117975109695b1de06ae43b416972e66a4b7773 | [
"MIT"
] | null | null | null | # Which are ALWAYS equivalent to s:
s = '<any string>'
print s[:]
print s + s[0:-1 + 1]
print s[0:]
print s[:-1]
print s[:3] + s[3:]
| 13.5 | 35 | 0.562963 | 28 | 135 | 2.714286 | 0.428571 | 0.394737 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 0.214815 | 135 | 9 | 36 | 15 | 0.650943 | 0.244444 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.833333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
37d41ffdbb3155f1888879cdada685fbcbced342 | 37 | py | Python | PositioningSolver/src/io_manager/import_timeseries/__init__.py | rodrigo-moliveira/PositioningSolver | d3ea60751ee1d7bf1f845e76c31fac95f7c02c43 | [
"MIT"
] | null | null | null | PositioningSolver/src/io_manager/import_timeseries/__init__.py | rodrigo-moliveira/PositioningSolver | d3ea60751ee1d7bf1f845e76c31fac95f7c02c43 | [
"MIT"
] | null | null | null | PositioningSolver/src/io_manager/import_timeseries/__init__.py | rodrigo-moliveira/PositioningSolver | d3ea60751ee1d7bf1f845e76c31fac95f7c02c43 | [
"MIT"
] | null | null | null | from .read_tm import read_timeseries
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37f5907446469051953203be85752e970d2e5eb1 | 34 | py | Python | RLtoolkit/graph3d.py | AmiiThinks/rltoolkit | cec83cc3d2029861a5a63a6d0aaca5d9a2dbd36d | [
"MIT"
] | 6 | 2017-10-27T22:51:54.000Z | 2021-11-10T02:09:19.000Z | RLtoolkit/graph3d.py | AmiiThinks/rltoolkit | cec83cc3d2029861a5a63a6d0aaca5d9a2dbd36d | [
"MIT"
] | 1 | 2019-08-28T17:27:23.000Z | 2019-08-28T17:27:23.000Z | RLtoolkit/graph3d.py | AmiiThinks/rltoolkit | cec83cc3d2029861a5a63a6d0aaca5d9a2dbd36d | [
"MIT"
] | 3 | 2018-03-26T18:13:29.000Z | 2019-03-05T20:52:06.000Z | from .Quickgraph.graph3d import *
| 17 | 33 | 0.794118 | 4 | 34 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 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 |
37f5e1bb5dea85c3c478caf06c9d9fa6cf3b8353 | 141 | py | Python | src/www/api/query.py | herondriftwood/human_ppi | b441bc0b02b1f1c566a50ef9597874ff957364da | [
"Apache-2.0"
] | 1 | 2021-05-09T04:51:28.000Z | 2021-05-09T04:51:28.000Z | src/www/api/query.py | greg-k-taylor/human_ppi | b441bc0b02b1f1c566a50ef9597874ff957364da | [
"Apache-2.0"
] | null | null | null | src/www/api/query.py | greg-k-taylor/human_ppi | b441bc0b02b1f1c566a50ef9597874ff957364da | [
"Apache-2.0"
] | 1 | 2018-11-17T08:53:06.000Z | 2018-11-17T08:53:06.000Z | # -*- coding: utf-8 -*-
from biothings.web.api.es.query import ESQuery
class ESQuery(ESQuery):
# Add app specific queries here
pass
| 20.142857 | 46 | 0.687943 | 20 | 141 | 4.85 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.191489 | 141 | 6 | 47 | 23.5 | 0.842105 | 0.361702 | 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 |
37fc5050b4a367331e2737c4234c901549b17fc0 | 118 | py | Python | slam_recognition/constant_convolutions/center_surround/__init__.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 5 | 2018-11-18T17:35:59.000Z | 2019-02-13T20:25:58.000Z | slam_recognition/constant_convolutions/center_surround/__init__.py | SimLeek/slam_recognition | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 12 | 2018-10-31T01:57:55.000Z | 2019-02-07T05:49:36.000Z | slam_recognition/constant_convolutions/center_surround/__init__.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | null | null | null | from .center_surround_tensor import center_surround_tensor
from .rgby import rgby, rgby_3
from .rgc import midget_rgc
| 29.5 | 58 | 0.855932 | 19 | 118 | 5 | 0.473684 | 0.294737 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.110169 | 118 | 3 | 59 | 39.333333 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
532654aacb1d26432ba7e388473caae4b3303757 | 450 | py | Python | src/researchhub_document/serializers/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | src/researchhub_document/serializers/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | src/researchhub_document/serializers/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | # flake8: noqa
from researchhub_document.serializers.researchhub_post_serializer import ResearchhubPostSerializer
from researchhub_document.serializers.researchhub_post_serializer import DynamicPostSerializer
from researchhub_document.serializers.researchhub_unified_document_serializer import ResearchhubUnifiedDocumen... | 75 | 121 | 0.933333 | 40 | 450 | 10.15 | 0.35 | 0.147783 | 0.226601 | 0.334975 | 0.694581 | 0.694581 | 0.694581 | 0.694581 | 0.374384 | 0 | 0 | 0.002326 | 0.044444 | 450 | 5 | 122 | 90 | 0.94186 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 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 |
532b60db10193cfca3220c8a7c0c204b7667e544 | 101,319 | py | Python | flaskwebapp/tests/unit/test_driver.py | NareshKumarHimachalapathi/DevOps-For-AI-Apps-master | acff6649b22ea8f1fcbb009872ac79dee2015988 | [
"MIT"
] | null | null | null | flaskwebapp/tests/unit/test_driver.py | NareshKumarHimachalapathi/DevOps-For-AI-Apps-master | acff6649b22ea8f1fcbb009872ac79dee2015988 | [
"MIT"
] | null | null | null | flaskwebapp/tests/unit/test_driver.py | NareshKumarHimachalapathi/DevOps-For-AI-Apps-master | acff6649b22ea8f1fcbb009872ac79dee2015988 | [
"MIT"
] | 2 | 2018-10-25T16:06:38.000Z | 2018-11-16T10:39:02.000Z | from context import init, run, driver
import numpy as np
input_string='["iVBORw0KGgoAAAANSUhEUgAAAOAAAADgCAIAAACVT/22AAEAAElEQVR4nMz9edRkyXUfBt4l4i2Z+a311b70vgBodINYCRAgAZIgQIALuEAQKZKiaB9JPuPjmTHHGh/P2NJI1sjy+JyxzZHtkXQkj1ZrGW2kSIokRJAUCRIAwUY3Gmj03tW1fnuu772IuPfOHy/zW6oyu6sAkKM4dbrzexkZL168G3f93Rv44b/4qwAAAGYGB80QAO... | 3,070.272727 | 100,371 | 0.958409 | 3,580 | 101,319 | 27.118715 | 0.915922 | 0.000103 | 0.000124 | 0.000124 | 0.000062 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157623 | 0.001954 | 101,319 | 33 | 100,372 | 3,070.272727 | 0.802464 | 0.000632 | 0 | 0 | 0 | 0.047619 | 0.992424 | 0.991288 | 0 | 1 | 0 | 0 | 0.238095 | 1 | 0.190476 | false | 0.047619 | 0.095238 | 0 | 0.380952 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53393761b84782ca4a2fe11645483a607f085a18 | 30 | py | Python | siamese/layers/__init__.py | Benjamin-Etheredge/siamese | 9665d52bb1e8bf329821788332eb38476595a60f | [
"MIT"
] | 1 | 2021-08-07T14:56:57.000Z | 2021-08-07T14:56:57.000Z | siamese/layers/__init__.py | Benjamin-Etheredge/siamese | 9665d52bb1e8bf329821788332eb38476595a60f | [
"MIT"
] | null | null | null | siamese/layers/__init__.py | Benjamin-Etheredge/siamese | 9665d52bb1e8bf329821788332eb38476595a60f | [
"MIT"
] | null | null | null | from .distance_layers import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
f402cc3fb8dda3acda5250654acb72c57734d512 | 141 | py | Python | src/drstorage/models/f1.py | chelling87/drstorage | 5d69cdd01306c8d890ace1b4277b64f50efa5114 | [
"BSD-3-Clause"
] | null | null | null | src/drstorage/models/f1.py | chelling87/drstorage | 5d69cdd01306c8d890ace1b4277b64f50efa5114 | [
"BSD-3-Clause"
] | 26 | 2020-11-13T03:49:20.000Z | 2022-03-14T19:55:00.000Z | src/drstorage/models/f1.py | chelling87/drstorage | 5d69cdd01306c8d890ace1b4277b64f50efa5114 | [
"BSD-3-Clause"
] | 1 | 2021-11-18T00:00:51.000Z | 2021-11-18T00:00:51.000Z | from .base import DrStorageFactory
F1_600 = DrStorageFactory(model_number=b"\x02\x58")
F1_1200 = DrStorageFactory(model_number=b"\x00\xad")
| 28.2 | 52 | 0.801418 | 20 | 141 | 5.45 | 0.7 | 0.385321 | 0.495413 | 0.513761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.078014 | 141 | 4 | 53 | 35.25 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
f403844b421133becd6de09fcd5862fd420f838d | 61 | py | Python | coder/blueprints/export/__init__.py | mikkokotila/coder-1 | c0462fb63bd23d4367a31f86f9c7f29b1ece93bd | [
"MIT"
] | 1 | 2019-03-11T12:44:33.000Z | 2019-03-11T12:44:33.000Z | coder/blueprints/export/__init__.py | mikkokotila/coder-1 | c0462fb63bd23d4367a31f86f9c7f29b1ece93bd | [
"MIT"
] | 1 | 2019-01-02T09:52:17.000Z | 2019-01-02T09:52:17.000Z | coder/blueprints/export/__init__.py | mikkokotila/coder-1 | c0462fb63bd23d4367a31f86f9c7f29b1ece93bd | [
"MIT"
] | 1 | 2019-01-04T12:44:50.000Z | 2019-01-04T12:44:50.000Z | from coder.blueprints.datahandling.views import datahandling
| 30.5 | 60 | 0.885246 | 7 | 61 | 7.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 1 | 61 | 61 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f41157fefbc6d65f19d33b6d827711658eaf0f82 | 35 | py | Python | controller/__init__.py | filipefcl/fs-webservice-auth | 1fb5cfe446aaf06c650495b9e8c6862e493304a6 | [
"MIT"
] | 13 | 2021-11-10T13:17:10.000Z | 2022-03-30T22:56:52.000Z | controller/__init__.py | filipefcl/fs-webservice-auth | 1fb5cfe446aaf06c650495b9e8c6862e493304a6 | [
"MIT"
] | 33 | 2022-01-14T14:15:57.000Z | 2022-03-28T22:34:47.000Z | controller/__init__.py | filipefcl/fs-webservice-auth | 1fb5cfe446aaf06c650495b9e8c6862e493304a6 | [
"MIT"
] | 2 | 2022-02-14T22:40:29.000Z | 2022-02-27T04:27:48.000Z | from .controller import Controller
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
f43595a0783fdc2eaea98f38188f620fb68cd94d | 118 | py | Python | transmutator/api.py | mozilla-services/transmutator | 68894a08d2b97be1010cd8de3c98c06ded17bb92 | [
"BSD-3-Clause"
] | 1 | 2019-05-16T02:16:53.000Z | 2019-05-16T02:16:53.000Z | transmutator/api.py | mozilla-services/transmutator | 68894a08d2b97be1010cd8de3c98c06ded17bb92 | [
"BSD-3-Clause"
] | null | null | null | transmutator/api.py | mozilla-services/transmutator | 68894a08d2b97be1010cd8de3c98c06ded17bb92 | [
"BSD-3-Clause"
] | 2 | 2019-05-16T02:16:39.000Z | 2019-11-03T23:41:06.000Z | from transmutator.mutations import AtomicMutation # NoQA
from transmutator.orchestration import Orchestrator # NoQA
| 39.333333 | 59 | 0.847458 | 12 | 118 | 8.333333 | 0.666667 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 2 | 60 | 59 | 0.961538 | 0.076271 | 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 |
f4420e207eabe9238be41adb512f22ae0669edfa | 16,878 | py | Python | DensityClust/densityCluster_3d.py | LiuChvn/LDC-MGM | 0976b3bae1f63e1a096c0adfe8907fc45dce1272 | [
"MIT"
] | null | null | null | DensityClust/densityCluster_3d.py | LiuChvn/LDC-MGM | 0976b3bae1f63e1a096c0adfe8907fc45dce1272 | [
"MIT"
] | null | null | null | DensityClust/densityCluster_3d.py | LiuChvn/LDC-MGM | 0976b3bae1f63e1a096c0adfe8907fc45dce1272 | [
"MIT"
] | null | null | null | from skimage import filters
import numpy as np
from skimage import measure, morphology
from scipy import ndimage
import time
import matplotlib.pyplot as plt
from DensityClust.clustring_subfunc import \
kc_coord_3d, kc_coord_2d, get_xyz
def densityCluster_3d(data, para):
"""
根据决策图得到聚类中心和聚类中心个... | 39.251163 | 118 | 0.563278 | 2,248 | 16,878 | 4.013345 | 0.115214 | 0.024828 | 0.010641 | 0.007094 | 0.806916 | 0.775216 | 0.748171 | 0.723565 | 0.70184 | 0.696298 | 0 | 0.025455 | 0.322669 | 16,878 | 429 | 119 | 39.342657 | 0.763733 | 0.149011 | 0 | 0.617089 | 0 | 0 | 0.014761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006329 | false | 0.012658 | 0.022152 | 0 | 0.03481 | 0.009494 | 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 |
f44e1abfe2049b273cf288d2e6ba2ea659162f6d | 212 | py | Python | gpim/__init__.py | jupyter-papers/GPim | c9af47696ba613f9ce10c938a4e07b7f96e728ea | [
"MIT"
] | 29 | 2020-02-18T21:41:03.000Z | 2022-03-03T12:23:48.000Z | gpim/__init__.py | jupyter-papers/GPim | c9af47696ba613f9ce10c938a4e07b7f96e728ea | [
"MIT"
] | 2 | 2021-04-30T02:55:18.000Z | 2021-10-04T06:13:46.000Z | gpim/__init__.py | jupyter-papers/GPim | c9af47696ba613f9ce10c938a4e07b7f96e728ea | [
"MIT"
] | 7 | 2020-03-10T02:14:50.000Z | 2021-04-29T00:03:43.000Z | from gpim import gprutils as utils
from gpim.gpreg.gpr import reconstructor
from gpim.gpreg.skgpr import skreconstructor
from gpim.gpreg.vgpr import vreconstructor
from gpim.gpbayes.boptim import boptimizer
| 35.333333 | 45 | 0.834906 | 30 | 212 | 5.9 | 0.533333 | 0.225989 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127358 | 212 | 5 | 46 | 42.4 | 0.956757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f46de4637fb3c38cfd51413578d63c5af3e3e769 | 2,203 | py | Python | tests/core/actions/add_user/test_add_user_request.py | Himon-SYNCRAFT/taskplus | 9e6293840941d0cb4fd7bac0f8ff66f8e72cc62b | [
"BSD-3-Clause"
] | null | null | null | tests/core/actions/add_user/test_add_user_request.py | Himon-SYNCRAFT/taskplus | 9e6293840941d0cb4fd7bac0f8ff66f8e72cc62b | [
"BSD-3-Clause"
] | null | null | null | tests/core/actions/add_user/test_add_user_request.py | Himon-SYNCRAFT/taskplus | 9e6293840941d0cb4fd7bac0f8ff66f8e72cc62b | [
"BSD-3-Clause"
] | null | null | null | from taskplus.core.actions import AddUserRequest
def test_add_user_request():
role_id = 1
name = 'name'
password = 'password'
request = AddUserRequest(name=name, password=password, roles=[role_id])
assert request.is_valid() is True
assert request.name == name
assert request.roles == [role... | 35.532258 | 78 | 0.64049 | 289 | 2,203 | 4.782007 | 0.17301 | 0.058611 | 0.091172 | 0.110709 | 0.79233 | 0.757598 | 0.736614 | 0.736614 | 0.736614 | 0.712735 | 0 | 0.008459 | 0.248752 | 2,203 | 61 | 79 | 36.114754 | 0.826586 | 0 | 0 | 0.612245 | 0 | 0 | 0.127553 | 0 | 0 | 0 | 0 | 0 | 0.367347 | 1 | 0.081633 | false | 0.204082 | 0.020408 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be4623e9600255e403d6473819d56bf97fd8a23e | 31,990 | py | Python | algorithm/algorithms.py | divergent63/SCII_Bots | d118abfdaf73b4cf891ba47405c38d07ae7c760e | [
"Apache-2.0"
] | null | null | null | algorithm/algorithms.py | divergent63/SCII_Bots | d118abfdaf73b4cf891ba47405c38d07ae7c760e | [
"Apache-2.0"
] | null | null | null | algorithm/algorithms.py | divergent63/SCII_Bots | d118abfdaf73b4cf891ba47405c38d07ae7c760e | [
"Apache-2.0"
] | null | null | null | import random
import numpy as np
import pickle
import pandas as pd
import os, sys
from absl import app, logging
from pysc2.agents import base_agent
from pysc2.lib import actions, features, units
from pysc2.env import sc2_env, run_loop
from pathlib import Path
from matplotlib import pyplot as plt
import torch
from tor... | 51.680129 | 190 | 0.612691 | 4,229 | 31,990 | 4.398912 | 0.064791 | 0.025157 | 0.046982 | 0.022577 | 0.812772 | 0.788582 | 0.75762 | 0.740257 | 0.722679 | 0.709455 | 0 | 0.01942 | 0.261175 | 31,990 | 618 | 191 | 51.763754 | 0.767675 | 0.192904 | 0 | 0.59952 | 0 | 0 | 0.003547 | 0 | 0 | 0 | 0 | 0.003236 | 0 | 1 | 0.059952 | false | 0 | 0.038369 | 0.002398 | 0.148681 | 0.014388 | 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 |
be66c6795f15d7778f05b739c1979167150bc613 | 83,277 | py | Python | Cookie Synchronization/final_cs_analysis.py | vibhor98/Web-Tracking-in-Indian-Partisan-News-Websites | f68c4ae011a499c0519bed0b0cb953a12f438902 | [
"MIT"
] | 1 | 2021-01-31T18:03:51.000Z | 2021-01-31T18:03:51.000Z | Cookie Synchronization/final_cs_analysis.py | vibhor98/Web-Tracking-in-Indian-Partisan-News-Websites | f68c4ae011a499c0519bed0b0cb953a12f438902 | [
"MIT"
] | null | null | null | Cookie Synchronization/final_cs_analysis.py | vibhor98/Web-Tracking-in-Indian-Partisan-News-Websites | f68c4ae011a499c0519bed0b0cb953a12f438902 | [
"MIT"
] | 2 | 2021-01-31T16:48:13.000Z | 2021-05-28T15:33:48.000Z | '''
Finding TP to TP and TP to FP CS Tracking for each website pair by political leaning
'''
import sys
sys.path.append("../Cookie Synchronization Analysis")
import matplotlib.pyplot as plt
import pandas as pd
import requests
import census_util
import classify_domains
import find_site_leaning
import sqlite3 as lit... | 266.060703 | 8,519 | 0.735377 | 8,266 | 83,277 | 7.350472 | 0.398742 | 0.001646 | 0.001679 | 0.001991 | 0.521108 | 0.425451 | 0.372406 | 0.328824 | 0.299709 | 0.295857 | 0 | 0.39438 | 0.105131 | 83,277 | 312 | 8,520 | 266.913462 | 0.420936 | 0.020054 | 0 | 0.185022 | 0 | 0 | 0.733252 | 0.465693 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004405 | false | 0 | 0.048458 | 0 | 0.061674 | 0.030837 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be876ad2ccf9925b7b68e46510e4ea8c28439e11 | 64 | py | Python | src/erpbrasil/febraban/api/__init__.py | erpbrasil/erpbrasil.febraban | a4f6b254d41e18c8883be6243dd27c143ea4e74d | [
"BSD-3-Clause"
] | 1 | 2020-08-27T18:43:01.000Z | 2020-08-27T18:43:01.000Z | src/erpbrasil/febraban/api/__init__.py | erpbrasil/erpbrasil.febraban | a4f6b254d41e18c8883be6243dd27c143ea4e74d | [
"BSD-3-Clause"
] | 1 | 2020-01-13T22:41:53.000Z | 2020-01-13T22:41:53.000Z | src/erpbrasil/febraban/api/__init__.py | erpbrasil/erpbrasil.febraban | a4f6b254d41e18c8883be6243dd27c143ea4e74d | [
"BSD-3-Clause"
] | 4 | 2019-09-06T12:25:25.000Z | 2021-05-17T11:41:45.000Z | # -*- coding: utf-8 -*-
from . import itau
from . import inter
| 12.8 | 23 | 0.609375 | 9 | 64 | 4.333333 | 0.777778 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.21875 | 64 | 4 | 24 | 16 | 0.76 | 0.328125 | 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 |
be88ba1564ee5df9356eff6fd48ca5684a53b994 | 25 | py | Python | trainable/tests/session.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | 1 | 2018-12-17T19:38:00.000Z | 2018-12-17T19:38:00.000Z | trainable/tests/session.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | null | null | null | trainable/tests/session.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | null | null | null | # TODO make session tests | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0.92 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beac188ef0e79ca19485dd7cb30e1eb8c3e524f0 | 7,289 | py | Python | test/test_losses.py | dav009/PyTorch-BigGraph | e933ac681470c18f05541877084fdbf5b41bfcde | [
"BSD-3-Clause"
] | null | null | null | test/test_losses.py | dav009/PyTorch-BigGraph | e933ac681470c18f05541877084fdbf5b41bfcde | [
"BSD-3-Clause"
] | null | null | null | test/test_losses.py | dav009/PyTorch-BigGraph | e933ac681470c18f05541877084fdbf5b41bfcde | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE.txt file in the root directory of this source tree.
# In order to keep values visually aligned in matrix form we use double spaces
# and ... | 37.766839 | 87 | 0.622033 | 936 | 7,289 | 4.67094 | 0.174145 | 0.067932 | 0.10979 | 0.061757 | 0.78065 | 0.78065 | 0.773788 | 0.773788 | 0.773788 | 0.765554 | 0 | 0.070201 | 0.249554 | 7,289 | 192 | 88 | 37.963542 | 0.729068 | 0.063246 | 0 | 0.74359 | 0 | 0 | 0.013347 | 0.00308 | 0 | 0 | 0 | 0 | 0.141026 | 1 | 0.102564 | false | 0 | 0.019231 | 0 | 0.147436 | 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 |
fe34e50aea093d8529e4a5ab5d67f06e5d70a403 | 35 | py | Python | src/Exif/__init__.py | aji-ptn/MoilApp | 9742a28074add23fda1afa534f25a1b8bea68c93 | [
"MIT"
] | null | null | null | src/Exif/__init__.py | aji-ptn/MoilApp | 9742a28074add23fda1afa534f25a1b8bea68c93 | [
"MIT"
] | null | null | null | src/Exif/__init__.py | aji-ptn/MoilApp | 9742a28074add23fda1afa534f25a1b8bea68c93 | [
"MIT"
] | null | null | null | from Exif.exif_lib import MetaImage | 35 | 35 | 0.885714 | 6 | 35 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe7d9341adc25f7f3cd16612287ec8c6ce2ada38 | 50 | py | Python | app/events/__init__.py | iMokhles/Blog-by-Masonite- | b981c1aa46513bb76d7422e9be9ec95918a8bc42 | [
"MIT"
] | 1 | 2021-03-26T19:47:52.000Z | 2021-03-26T19:47:52.000Z | app/events/__init__.py | iMokhles/Blog-by-Masonite- | b981c1aa46513bb76d7422e9be9ec95918a8bc42 | [
"MIT"
] | null | null | null | app/events/__init__.py | iMokhles/Blog-by-Masonite- | b981c1aa46513bb76d7422e9be9ec95918a8bc42 | [
"MIT"
] | null | null | null | from .SetIsAdminForUsers import SetIsAdminForUsers | 50 | 50 | 0.92 | 4 | 50 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.978723 | 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 |
fe983c93c7979bce422cc6056b0a02dedc918f01 | 5,659 | py | Python | calculator.py | atultyagi612/Simple-Calculator-Gui | 6c40f45bff6d8bfdf6e57921493f02a0ddd22dce | [
"Unlicense"
] | 1 | 2021-01-09T05:05:41.000Z | 2021-01-09T05:05:41.000Z | calculator.py | atultyagi612/Simple-Calculator-Gui | 6c40f45bff6d8bfdf6e57921493f02a0ddd22dce | [
"Unlicense"
] | null | null | null | calculator.py | atultyagi612/Simple-Calculator-Gui | 6c40f45bff6d8bfdf6e57921493f02a0ddd22dce | [
"Unlicense"
] | null | null | null | from tkinter import *
def addition():
a=atul.get()
atul.set(a+"+")
def equal():
atul.set("equal")
def change():
try:
sum=eval(atul.get())
atul.set(sum)
except Exception as e:
atul.set("ERROR")
def number():
print("hlo")
frame1= Tk()
frame1.geomet... | 41.007246 | 153 | 0.649408 | 856 | 5,659 | 4.293224 | 0.107477 | 0.058776 | 0.078367 | 0.11102 | 0.839728 | 0.830748 | 0.82449 | 0.816054 | 0.816054 | 0.804898 | 0 | 0.054871 | 0.11115 | 5,659 | 137 | 154 | 41.306569 | 0.675746 | 0.026683 | 0 | 0.453608 | 0 | 0 | 0.08891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0 | 0.010309 | 0 | 0.051546 | 0.010309 | 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 |
fea4da1bd72e82e3a5f67a7525aefde293fa8ec0 | 72 | py | Python | layers/__init__.py | ml9951/ssd.pytorch | 5f40c26500a5fad683868b7fc3d38b5e2b5a0f02 | [
"MIT"
] | null | null | null | layers/__init__.py | ml9951/ssd.pytorch | 5f40c26500a5fad683868b7fc3d38b5e2b5a0f02 | [
"MIT"
] | null | null | null | layers/__init__.py | ml9951/ssd.pytorch | 5f40c26500a5fad683868b7fc3d38b5e2b5a0f02 | [
"MIT"
] | null | null | null | from .functions import *
from .modules import *
from .box_utils import * | 24 | 24 | 0.763889 | 10 | 72 | 5.4 | 0.6 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 25 | 24 | 0.885246 | 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 |
22a09f699e2432ae8a42090cfbdd660e8ce92a39 | 47 | py | Python | src/strategies/__init__.py | MohammedAljahdali/shrinkbench | f08a0e27d7e1118a46605e5ec9026ecaa931365e | [
"MIT"
] | 345 | 2020-02-29T11:49:23.000Z | 2022-03-31T09:03:33.000Z | src/strategies/__init__.py | MohammedAljahdali/shrinkbench | f08a0e27d7e1118a46605e5ec9026ecaa931365e | [
"MIT"
] | 24 | 2020-03-13T16:54:13.000Z | 2021-12-14T15:35:08.000Z | src/strategies/__init__.py | MohammedAljahdali/shrinkbench | f08a0e27d7e1118a46605e5ec9026ecaa931365e | [
"MIT"
] | 60 | 2020-03-02T20:54:42.000Z | 2022-03-26T11:38:13.000Z | from .magnitude import *
from .random import *
| 15.666667 | 24 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 25 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22e5abaa33696d295073c062162bb233994ab2c5 | 610 | py | Python | Day 26/solution.py | EufranioDiogo/30-of-code | 4d0cadbf1e89c2792394f0b2aeadc95545d75e23 | [
"Apache-2.0"
] | 2 | 2020-10-09T21:13:59.000Z | 2020-11-14T23:04:15.000Z | Day 26/solution.py | EufranioDiogo/30-Dias-de-Code | 4d0cadbf1e89c2792394f0b2aeadc95545d75e23 | [
"Apache-2.0"
] | null | null | null | Day 26/solution.py | EufranioDiogo/30-Dias-de-Code | 4d0cadbf1e89c2792394f0b2aeadc95545d75e23 | [
"Apache-2.0"
] | null | null | null | return_date = list(map(int, input().split()))
expected_date = list(map(int, input().split()))
if expected_date[2] > return_date[2]:
print('0')
elif return_date[0] <= expected_date[0] and return_date[1] <= expected_date[1] and return_date[2] == expected_date[2]:
print('0')
elif return_date[0] > expected_date[0... | 40.666667 | 118 | 0.688525 | 100 | 610 | 3.96 | 0.19 | 0.30303 | 0.164141 | 0.191919 | 0.853535 | 0.853535 | 0.611111 | 0.611111 | 0.611111 | 0.611111 | 0 | 0.064151 | 0.131148 | 610 | 14 | 119 | 43.571429 | 0.683019 | 0 | 0 | 0.166667 | 0 | 0 | 0.011475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fe13787374699c0bd290c3d89961fd6584aeb4c0 | 11,817 | py | Python | test/test_nn_emd.py | eggry/nn-emd | 5488e3b0de904415e27c9e9e9af3e1e3c8923025 | [
"MIT"
] | null | null | null | test/test_nn_emd.py | eggry/nn-emd | 5488e3b0de904415e27c9e9e9af3e1e3c8923025 | [
"MIT"
] | null | null | null | test/test_nn_emd.py | eggry/nn-emd | 5488e3b0de904415e27c9e9e9af3e1e3c8923025 | [
"MIT"
] | null | null | null | import datetime
import logging
import numpy as np
import matplotlib.pyplot as plt
from nn.shallow.nn_shallow_cs import CryptoNNClient
from nn.shallow.nn_shallow_cs import CryptoNNServer
from nn.utils import load_mnist
from nn.utils import load_mnist_size
from nn.utils import timer
from nn.smc import Secure2PCClient
f... | 45.625483 | 143 | 0.6907 | 1,712 | 11,817 | 4.436916 | 0.109229 | 0.021722 | 0.027383 | 0.015798 | 0.828726 | 0.791338 | 0.76119 | 0.744207 | 0.728805 | 0.707346 | 0 | 0.033136 | 0.200643 | 11,817 | 259 | 144 | 45.625483 | 0.771014 | 0.042735 | 0 | 0.538462 | 0 | 0 | 0.122057 | 0.005842 | 0.004808 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.086538 | 0 | 0.105769 | 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 |
fe14df0d27b1225b06bdd216b9e46c2709864838 | 3,021 | py | Python | tests/portmirror/test_set_rx_and_tx_mode.py | ararobotique/botblox-manager-software | 64c5c893601ea62a7ac414023455e8c2da04816d | [
"MIT"
] | 6 | 2021-04-18T21:30:17.000Z | 2022-01-13T06:37:43.000Z | tests/portmirror/test_set_rx_and_tx_mode.py | ararobotique/botblox-manager-software | 64c5c893601ea62a7ac414023455e8c2da04816d | [
"MIT"
] | 36 | 2020-12-16T12:29:24.000Z | 2021-09-18T14:52:25.000Z | tests/portmirror/test_set_rx_and_tx_mode.py | ararobotique/botblox-manager-software | 64c5c893601ea62a7ac414023455e8c2da04816d | [
"MIT"
] | 2 | 2021-04-08T20:27:48.000Z | 2021-08-30T17:32:28.000Z | from typing import AnyStr, List
from botblox_config.cli import create_parser
from pytest import CaptureFixture
from ..conftest import assert_ip175g_command_is_correct_type, get_data_from_cli_args, run_command_to_error
class TestSetRxAndTxMode:
package: List[str] = ['botblox']
base_args: List[str] = [
... | 26.269565 | 109 | 0.562066 | 343 | 3,021 | 4.655977 | 0.209913 | 0.050094 | 0.052599 | 0.050094 | 0.832185 | 0.820914 | 0.800877 | 0.758297 | 0.758297 | 0.758297 | 0 | 0.024486 | 0.324065 | 3,021 | 114 | 110 | 26.5 | 0.757591 | 0 | 0 | 0.674157 | 0 | 0.011236 | 0.094671 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 1 | 0.05618 | false | 0 | 0.044944 | 0 | 0.134831 | 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 |
a3a8dbcff433b9f526e0ff231ea26a2bc1d663da | 221 | py | Python | presto/Preprocessors/Multiscale/__init__.py | padmec-reservoir/PRESTO | d9ab92f2df020a36d13040ce6157162402b93c8e | [
"MIT"
] | 42 | 2017-05-04T05:29:19.000Z | 2021-09-15T14:03:33.000Z | presto/Preprocessors/Multiscale/__init__.py | jpra2/Presto2 | 71525a8dece2bcc4f16ff4a2120d7627e9ecd776 | [
"CNRI-Python"
] | null | null | null | presto/Preprocessors/Multiscale/__init__.py | jpra2/Presto2 | 71525a8dece2bcc4f16ff4a2120d7627e9ecd776 | [
"CNRI-Python"
] | 15 | 2017-06-19T20:09:06.000Z | 2021-06-02T12:40:42.000Z | """
Multiscale preprocessors for reservoir simulation using PRESTO.
"""
__all__ = ['Structured', 'Structured2D']
from .Structured import Preprocessor as Structured
from .Structured2D import Preprocessor as Structured2D
| 24.555556 | 63 | 0.800905 | 22 | 221 | 7.863636 | 0.636364 | 0.208092 | 0.231214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.122172 | 221 | 8 | 64 | 27.625 | 0.876289 | 0.285068 | 0 | 0 | 0 | 0 | 0.146667 | 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 |
a3a9a7537046021bc9c17a8cb4ba9bb3f92d292d | 41 | py | Python | explorer/resources/search/__init__.py | shalevy1/gexplorer | 5216a506aace8259bc84495018c4a67dda220403 | [
"Apache-2.0"
] | null | null | null | explorer/resources/search/__init__.py | shalevy1/gexplorer | 5216a506aace8259bc84495018c4a67dda220403 | [
"Apache-2.0"
] | 1 | 2022-03-21T22:21:30.000Z | 2022-03-21T22:21:30.000Z | explorer/resources/search/__init__.py | shalevy1/gexplorer | 5216a506aace8259bc84495018c4a67dda220403 | [
"Apache-2.0"
] | null | null | null | from explorer.resources.search import v0
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 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 |
a3a9f1ee23303d5f40863f99a446b2caa7375f0f | 6,261 | py | Python | persistence/repositories/exam_solution_repository_postgres.py | Ubademy-G3/exams.service | c589256181d5490ea0712f1dfbfebb360e21a10a | [
"MIT"
] | null | null | null | persistence/repositories/exam_solution_repository_postgres.py | Ubademy-G3/exams.service | c589256181d5490ea0712f1dfbfebb360e21a10a | [
"MIT"
] | null | null | null | persistence/repositories/exam_solution_repository_postgres.py | Ubademy-G3/exams.service | c589256181d5490ea0712f1dfbfebb360e21a10a | [
"MIT"
] | null | null | null | from infrastructure.db.exam_solution_schema import ExamSolution
import logging
logger = logging.getLogger(__name__)
class ExamSolutionRepositoryPostgres:
def add_exam_solution(self, db, exam_solution):
db.add(exam_solution)
db.commit()
logger.info("New exam solution added")
logge... | 52.613445 | 125 | 0.68184 | 822 | 6,261 | 4.961071 | 0.064477 | 0.102011 | 0.058852 | 0.102992 | 0.892104 | 0.838646 | 0.776116 | 0.751594 | 0.721923 | 0.709416 | 0 | 0 | 0.237023 | 6,261 | 118 | 126 | 53.059322 | 0.853674 | 0 | 0 | 0.528846 | 0 | 0 | 0.180802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105769 | false | 0 | 0.019231 | 0 | 0.211538 | 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 |
a3b96dd45bd5a2c41c3a98f25b2bb582cb2ccf0d | 519 | py | Python | Latest/venv/Lib/site-packages/apptools/naming/trait_defs/__init__.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-01-09T20:04:31.000Z | 2022-01-09T20:04:31.000Z | Latest/venv/Lib/site-packages/apptools/naming/trait_defs/__init__.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-02-15T12:01:57.000Z | 2022-03-24T19:48:47.000Z | Latest/venv/Lib/site-packages/apptools/naming/trait_defs/__init__.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | null | null | null | #------------------------------------------------------------------------------
#
# Define traits useful with Naming.
#
# Written by: David C. Morrill
#
# Date: 08/16/2005
#
# (c) Copyright 2005 by Enthought, Inc.
#
#------------------------------------------------------------------------------
#------------------... | 28.833333 | 79 | 0.258189 | 28 | 519 | 4.75 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025263 | 0.084778 | 519 | 17 | 80 | 30.529412 | 0.254737 | 0.855491 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
431f24dbacc0630b0662c4b214a828473e485702 | 322 | py | Python | strings/tests/test_string_to_integer.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_string_to_integer.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_string_to_integer.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from strings.string_to_integer import string_to_integer
def test_string_to_integer():
assert string_to_integer("34") == 34
assert string_to_integer(" 100abc") == 100
assert string_to_integer(" -12vdsr") == -12
assert string_to_integer("vdsr12") == 0
assert string_to_integer(" -12 vdsr") == -1... | 32.2 | 55 | 0.704969 | 45 | 322 | 4.666667 | 0.377778 | 0.304762 | 0.571429 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079245 | 0.177019 | 322 | 9 | 56 | 35.777778 | 0.713208 | 0 | 0 | 0.285714 | 0 | 0 | 0.114907 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a2f19ebbdefc82748175c4dd6d8b3924a2bdf99 | 63 | py | Python | autogram/commons/models/__init__.py | ohduran/autogram | e24c7ff40c44cd0eabf8018e61ad5fe0b422a6a1 | [
"MIT"
] | null | null | null | autogram/commons/models/__init__.py | ohduran/autogram | e24c7ff40c44cd0eabf8018e61ad5fe0b422a6a1 | [
"MIT"
] | null | null | null | autogram/commons/models/__init__.py | ohduran/autogram | e24c7ff40c44cd0eabf8018e61ad5fe0b422a6a1 | [
"MIT"
] | null | null | null | from .models import * # noqa
from .querysets import * # noqa
| 21 | 32 | 0.68254 | 8 | 63 | 5.375 | 0.625 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 63 | 2 | 33 | 31.5 | 0.877551 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a5d466ad698e35ace6f223f5268bf0a61f61d44 | 94 | py | Python | tests/test_version_return.py | moritzkoerber/binary4fun | 0184989c0484754e2597d9944a2a00dc8076bc07 | [
"MIT"
] | null | null | null | tests/test_version_return.py | moritzkoerber/binary4fun | 0184989c0484754e2597d9944a2a00dc8076bc07 | [
"MIT"
] | null | null | null | tests/test_version_return.py | moritzkoerber/binary4fun | 0184989c0484754e2597d9944a2a00dc8076bc07 | [
"MIT"
] | null | null | null | import sh
def test_should_return_version():
assert sh.python(["setup.py", "--version"])
| 15.666667 | 47 | 0.691489 | 13 | 94 | 4.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 5 | 48 | 18.8 | 0.765432 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a69a24557392778c39b917ad20be7fdf4f652f9 | 32 | py | Python | Adafruit_CharLCD/__init__.py | maroianenasrellah/Adafruit_Python_CharLCD | bc75cad284766240424f29dc8e7b84d0caceb72e | [
"MIT"
] | 224 | 2015-01-15T20:47:10.000Z | 2022-02-05T18:41:55.000Z | Adafruit_CharLCD/__init__.py | maroianenasrellah/Adafruit_Python_CharLCD | bc75cad284766240424f29dc8e7b84d0caceb72e | [
"MIT"
] | 30 | 2015-01-01T14:59:52.000Z | 2018-11-21T21:08:59.000Z | Adafruit_CharLCD/__init__.py | maroianenasrellah/Adafruit_Python_CharLCD | bc75cad284766240424f29dc8e7b84d0caceb72e | [
"MIT"
] | 156 | 2015-01-01T16:36:43.000Z | 2022-01-06T12:05:50.000Z | from .Adafruit_CharLCD import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
4a77169f90fce8b735a3a35357f3ba61c5f1f6c1 | 13,057 | py | Python | tests/test_elements/test_ui_horizontal_slider.py | ylenard/pygame_gui | 03683215cc6a838ca1c245af9cfa157b29da700b | [
"MIT"
] | null | null | null | tests/test_elements/test_ui_horizontal_slider.py | ylenard/pygame_gui | 03683215cc6a838ca1c245af9cfa157b29da700b | [
"MIT"
] | null | null | null | tests/test_elements/test_ui_horizontal_slider.py | ylenard/pygame_gui | 03683215cc6a838ca1c245af9cfa157b29da700b | [
"MIT"
] | null | null | null | import os
import pytest
import pygame
from tests.shared_fixtures import _init_pygame, default_ui_manager, default_display_surface, _display_surface_return_none
from pygame_gui.ui_manager import UIManager
from pygame_gui.elements.ui_horizontal_slider import UIHorizontalSlider
from pygame_gui.core.ui_container import U... | 53.954545 | 121 | 0.544918 | 1,338 | 13,057 | 4.992526 | 0.118834 | 0.063323 | 0.095808 | 0.057485 | 0.842964 | 0.807036 | 0.77515 | 0.77021 | 0.77006 | 0.711377 | 0 | 0.047868 | 0.385617 | 13,057 | 241 | 122 | 54.178423 | 0.784842 | 0.046259 | 0 | 0.543478 | 0 | 0 | 0.020741 | 0.008682 | 0 | 0 | 0 | 0 | 0.179348 | 1 | 0.081522 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
4a86c3cbddf8de38953b094836d48941f905d73b | 48 | py | Python | hotair/__init__.py | serviper/hota | b132d94af7217ce90636bf1af4f207dc01d00116 | [
"MIT"
] | null | null | null | hotair/__init__.py | serviper/hota | b132d94af7217ce90636bf1af4f207dc01d00116 | [
"MIT"
] | null | null | null | hotair/__init__.py | serviper/hota | b132d94af7217ce90636bf1af4f207dc01d00116 | [
"MIT"
] | null | null | null | from .template import *
from .websocket import * | 24 | 24 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 24 | 24 | 0.902439 | 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 |
4ac5e60d8faf58b5e993e22852ca5d786b686eac | 166 | py | Python | xbee/thread/__init__.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 65 | 2015-12-06T02:38:28.000Z | 2017-09-05T16:46:07.000Z | xbee/thread/__init__.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 44 | 2015-10-23T15:33:54.000Z | 2017-09-01T06:39:50.000Z | xbee/thread/__init__.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 43 | 2015-12-15T02:52:21.000Z | 2017-06-24T17:14:53.000Z | """
XBee package initalization file
info@n.io
"""
from xbee.thread.ieee import XBee
from xbee.thread.zigbee import ZigBee
from xbee.thread.digimesh import DigiMesh
| 16.6 | 41 | 0.789157 | 25 | 166 | 5.24 | 0.52 | 0.183206 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 9 | 42 | 18.444444 | 0.903448 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ac65b0aeab78c93d4f39402df78f739a62735eb | 42 | py | Python | pyexphys/equations/cardiovascular/models/__init__.py | dpfens/PyExPhys | 08483993b81e8c6c8ab76219b245508c5fe82df0 | [
"MIT"
] | 2 | 2020-04-15T21:57:10.000Z | 2020-06-22T23:18:28.000Z | pyexphys/equations/cardiovascular/models/__init__.py | dpfens/PyFit | 08483993b81e8c6c8ab76219b245508c5fe82df0 | [
"MIT"
] | null | null | null | pyexphys/equations/cardiovascular/models/__init__.py | dpfens/PyFit | 08483993b81e8c6c8ab76219b245508c5fe82df0 | [
"MIT"
] | 1 | 2020-04-15T22:00:13.000Z | 2020-04-15T22:00:13.000Z | import cameron
import purdy
import riegel
| 10.5 | 14 | 0.857143 | 6 | 42 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 15 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4383d5521c4874dcffe956e8ed4cb1e741d13e00 | 25,640 | py | Python | tests/test_api_changeset.py | Pauliceia/ws | 8966cfd80299f22468afe9a2a1156740bf237270 | [
"MIT"
] | null | null | null | tests/test_api_changeset.py | Pauliceia/ws | 8966cfd80299f22468afe9a2a1156740bf237270 | [
"MIT"
] | 2 | 2021-02-08T20:26:34.000Z | 2021-04-30T20:43:28.000Z | tests/test_api_changeset.py | Pauliceia/ws | 8966cfd80299f22468afe9a2a1156740bf237270 | [
"MIT"
] | 1 | 2021-09-08T18:10:58.000Z | 2021-09-08T18:10:58.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from util.tester import RequestTester
class TestAPIChangeset(RequestTester):
def setUp(self):
self.set_urn('/api/changeset')
# changeset - get
def test__get_api_changeset__return_all_changesets(self):
expected = {
'features': [
... | 41.155698 | 123 | 0.422621 | 2,094 | 25,640 | 4.885864 | 0.075454 | 0.037533 | 0.02815 | 0.062946 | 0.914182 | 0.894243 | 0.868048 | 0.840192 | 0.821816 | 0.78223 | 0 | 0.077535 | 0.332995 | 25,640 | 622 | 124 | 41.221865 | 0.520699 | 0.036037 | 0 | 0.60049 | 0 | 0.004902 | 0.288153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068627 | false | 0 | 0.002451 | 0 | 0.078431 | 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 |
43b1a279f1966965073017646f5df03f994e920a | 18 | py | Python | web/__init__.py | carrasquel/SmartHomeApp | e5fb8eda0ddd103ba5366ed892bdce58ab768352 | [
"MIT"
] | null | null | null | web/__init__.py | carrasquel/SmartHomeApp | e5fb8eda0ddd103ba5366ed892bdce58ab768352 | [
"MIT"
] | null | null | null | web/__init__.py | carrasquel/SmartHomeApp | e5fb8eda0ddd103ba5366ed892bdce58ab768352 | [
"MIT"
] | null | null | null | from .hmi import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
78e5f20394062bf16c502fbaf692a02d49672f39 | 189 | py | Python | __init__.py | stefangolas/olaf | 71eedac8f22cbf3563be795d2a3b65ea55c41bd8 | [
"MIT"
] | null | null | null | __init__.py | stefangolas/olaf | 71eedac8f22cbf3563be795d2a3b65ea55c41bd8 | [
"MIT"
] | null | null | null | __init__.py | stefangolas/olaf | 71eedac8f22cbf3563be795d2a3b65ea55c41bd8 | [
"MIT"
] | null | null | null | from .AgrowPumps.AgPumps import *
from .Celigo.Celigo import *
from .ClarioStar.platereader.platereader.clariostar import *
from .Cytomat.Cytomat import *
from .PyShaker.shaker import * | 37.8 | 61 | 0.78836 | 22 | 189 | 6.772727 | 0.454545 | 0.268456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121693 | 189 | 5 | 62 | 37.8 | 0.89759 | 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 |
601ebb34cf1e89ec658a0d6769b2a66d628ffb5f | 36 | py | Python | malaya_speech/train/model/rnn/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 111 | 2020-08-31T04:58:54.000Z | 2022-03-29T15:44:18.000Z | malaya_speech/train/model/rnn/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 14 | 2020-12-16T07:27:22.000Z | 2022-03-15T17:39:01.000Z | malaya_speech/train/model/rnn/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 29 | 2021-02-09T08:57:15.000Z | 2022-03-12T14:09:19.000Z | from .model import ResLayerNormLSTM
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6039394497287124e0dc14b20b5125e2b42f71ee | 5,584 | py | Python | metaopt/tests/integration/core/call/call.py | cigroup-ol/metaopt | 6dfd5105d3c6eaf00f96670175cae16021069514 | [
"BSD-3-Clause"
] | 8 | 2015-02-02T21:42:23.000Z | 2019-06-30T18:12:43.000Z | metaopt/tests/integration/core/call/call.py | cigroup-ol/metaopt | 6dfd5105d3c6eaf00f96670175cae16021069514 | [
"BSD-3-Clause"
] | 4 | 2015-09-24T14:12:38.000Z | 2021-12-08T22:42:52.000Z | metaopt/tests/integration/core/call/call.py | cigroup-ol/metaopt | 6dfd5105d3c6eaf00f96670175cae16021069514 | [
"BSD-3-Clause"
] | 6 | 2015-02-27T12:35:33.000Z | 2020-10-15T21:04:02.000Z | # -*- coding: utf-8 -*-
"""
Tests for the call module.
"""
# Future
from __future__ import absolute_import, division, print_function, \
unicode_literals, with_statement
# Third Party
import nose
from mock import Mock
from nose.tools import raises
# First Party
from metaopt.core.arg.arg import Arg
from metaopt.co... | 26.975845 | 90 | 0.609957 | 823 | 5,584 | 3.855407 | 0.114216 | 0.15884 | 0.060511 | 0.061456 | 0.805232 | 0.794201 | 0.765837 | 0.722975 | 0.698393 | 0.682004 | 0 | 0.013196 | 0.267192 | 5,584 | 206 | 91 | 27.106796 | 0.762219 | 0.063575 | 0 | 0.719697 | 0 | 0 | 0.00844 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.166667 | false | 0.015152 | 0.075758 | 0.030303 | 0.280303 | 0.007576 | 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 |
603aba997434bee299919e6eb2db4e695a5fad54 | 88 | py | Python | tests/data/__init__.py | nikitacs16/COMET | 27d6dd38b674a75cb9b84686b35fd75203b0a66d | [
"Apache-2.0"
] | 138 | 2020-09-22T14:59:52.000Z | 2022-03-30T18:43:41.000Z | tests/data/__init__.py | Unbabel/COMET-Telescope | 3aad7dd76a228a8bd17daa317b86715f0b058f5b | [
"Apache-2.0"
] | 58 | 2020-11-19T11:41:21.000Z | 2022-03-31T17:54:46.000Z | tests/data/__init__.py | Unbabel/COMET-Telescope | 3aad7dd76a228a8bd17daa317b86715f0b058f5b | [
"Apache-2.0"
] | 24 | 2020-09-28T02:35:55.000Z | 2022-03-14T12:51:40.000Z | import os
DATA_PATH = os.path.abspath(__file__)
DATA_PATH = os.path.dirname(DATA_PATH)
| 17.6 | 38 | 0.784091 | 15 | 88 | 4.133333 | 0.466667 | 0.387097 | 0.322581 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 4 | 39 | 22 | 0.78481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
606ac6f13e1c8a1f61b6c784269901ce6404ec48 | 575 | gyp | Python | binding.gyp | Azq2/node-html5-dom | e2df36fb7ea7bdfdbbf8060749e784b1e5a7c8ea | [
"MIT"
] | null | null | null | binding.gyp | Azq2/node-html5-dom | e2df36fb7ea7bdfdbbf8060749e784b1e5a7c8ea | [
"MIT"
] | null | null | null | binding.gyp | Azq2/node-html5-dom | e2df36fb7ea7bdfdbbf8060749e784b1e5a7c8ea | [
"MIT"
] | null | null | null | {
"targets": [{
"target_name": "html5-dom",
"sources": [
"src/addon.cpp",
"src/Parser.cpp",
"src/Tree.cpp",
"src/Utils.cpp",
"src/modest/modest_myurl.c",
"src/modest/modest_mycss.c",
"src/modest/modest_config.h",
"src/modest/modest_myencoding.c",
"src/modest/modest_mycore.... | 21.296296 | 37 | 0.586087 | 73 | 575 | 4.452055 | 0.424658 | 0.369231 | 0.415385 | 0.344615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002169 | 0.198261 | 575 | 26 | 38 | 22.115385 | 0.70282 | 0 | 0 | 0 | 0 | 0 | 0.655652 | 0.455652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6076242164d32e28fc759a2b8a40407f20a2c594 | 82,214 | py | Python | pynetdicom/dimse_primitives.py | hkethi002/pynetdicom | d945d13ac22f754a4fc017ecb437bca6d3276589 | [
"MIT"
] | null | null | null | pynetdicom/dimse_primitives.py | hkethi002/pynetdicom | d945d13ac22f754a4fc017ecb437bca6d3276589 | [
"MIT"
] | null | null | null | pynetdicom/dimse_primitives.py | hkethi002/pynetdicom | d945d13ac22f754a4fc017ecb437bca6d3276589 | [
"MIT"
] | null | null | null | """
Define the DIMSE-C and DIMSE-N service parameter primitives.
Notes:
* The class member names must match their corresponding DICOM element keyword
in order for the DIMSE messages/primitives to be created correctly.
"""
from collections.abc import MutableSequence
from io import BytesIO
import logging
from pat... | 38.525773 | 88 | 0.538704 | 7,755 | 82,214 | 5.63804 | 0.04668 | 0.019212 | 0.013494 | 0.012785 | 0.8512 | 0.818425 | 0.788738 | 0.764472 | 0.734122 | 0.723555 | 0 | 0.004093 | 0.292736 | 82,214 | 2,133 | 89 | 38.543835 | 0.747846 | 0.551159 | 0 | 0.624831 | 0 | 0 | 0.094949 | 0.017777 | 0 | 0 | 0.000127 | 0 | 0 | 1 | 0.182186 | false | 0 | 0.014845 | 0 | 0.369771 | 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 |
60e4e2bd260477e121e863216486bf758a15d283 | 136 | py | Python | torvend/meta/__init__.py | stephen-bunn/torvend | 18e8242ff80523b498a5e7c996ef1bcb074da423 | [
"MIT"
] | 1 | 2018-12-17T23:17:49.000Z | 2018-12-17T23:17:49.000Z | torvend/meta/__init__.py | stephen-bunn/torvend | 18e8242ff80523b498a5e7c996ef1bcb074da423 | [
"MIT"
] | null | null | null | torvend/meta/__init__.py | stephen-bunn/torvend | 18e8242ff80523b498a5e7c996ef1bcb074da423 | [
"MIT"
] | null | null | null | # Copyright (c) 2017 Stephen Bunn (stephen@bunn.io)
# MIT License <https://opensource.org/licenses/MIT>
from .loggable import Loggable
| 27.2 | 51 | 0.757353 | 19 | 136 | 5.421053 | 0.789474 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 136 | 4 | 52 | 34 | 0.825 | 0.727941 | 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 |
7156472f4729e3b7bb891f46102d01d2e28ba342 | 7,405 | py | Python | tests/sql/grants.py | labsyspharm/minerva-db | 49c205fc5d9bcc513b4eb21b6493c928ea711fce | [
"MIT"
] | null | null | null | tests/sql/grants.py | labsyspharm/minerva-db | 49c205fc5d9bcc513b4eb21b6493c928ea711fce | [
"MIT"
] | 2 | 2018-06-06T13:29:23.000Z | 2018-07-25T00:36:38.000Z | tests/sql/grants.py | sorgerlab/minerva-db | 49c205fc5d9bcc513b4eb21b6493c928ea711fce | [
"MIT"
] | 1 | 2020-03-06T23:53:42.000Z | 2020-03-06T23:53:42.000Z | import pytest
from src.minerva_db.sql.api.utils import to_jsonapi
from . import sa_obj_to_dict, statement_log
@pytest.mark.parametrize('fixture_name', ['user_granted_read_hierarchy',
'group_granted_read_hierarchy'])
class TestGrants():
def test_repository(self, client, f... | 43.052326 | 94 | 0.611614 | 758 | 7,405 | 5.647757 | 0.091029 | 0.091567 | 0.049054 | 0.08199 | 0.923149 | 0.886008 | 0.850269 | 0.824574 | 0.751694 | 0.735809 | 0 | 0.000194 | 0.302633 | 7,405 | 171 | 95 | 43.304094 | 0.828815 | 0 | 0 | 0.662162 | 0 | 0 | 0.081567 | 0.014855 | 0 | 0 | 0 | 0 | 0.114865 | 1 | 0.114865 | false | 0 | 0.081081 | 0 | 0.209459 | 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 |
71dfda7f6c8751d5ceaeeee492bddd484943e0ac | 137 | py | Python | src/ram/capture.py | bootforce-dev/ram-framework | b39c43cbe3b6e76db73dfd65c38da4fa578b032f | [
"MIT"
] | 1 | 2019-03-01T10:19:34.000Z | 2019-03-01T10:19:34.000Z | src/ram/capture.py | ram-framework/ram-framework | b39c43cbe3b6e76db73dfd65c38da4fa578b032f | [
"MIT"
] | null | null | null | src/ram/capture.py | ram-framework/ram-framework | b39c43cbe3b6e76db73dfd65c38da4fa578b032f | [
"MIT"
] | null | null | null | import ram.console
class __api__(object):
def __call__(self, *args, **kwargs):
return ram.console.capture(*args, **kwargs)
| 19.571429 | 51 | 0.671533 | 17 | 137 | 4.941176 | 0.764706 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182482 | 137 | 6 | 52 | 22.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 |
e085f16f7b96052530bcfc60d34754e3fe44b58a | 176 | py | Python | testplan/testing/multitest/entries/stdout/__init__.py | raoyitao/testplan | aae3e9cee597ca3d01b6d64eed2642c421c56cbb | [
"Apache-2.0"
] | 96 | 2018-03-14T13:14:50.000Z | 2021-01-14T08:26:08.000Z | testplan/testing/multitest/entries/stdout/__init__.py | raoyitao/testplan | aae3e9cee597ca3d01b6d64eed2642c421c56cbb | [
"Apache-2.0"
] | 135 | 2018-06-28T02:41:05.000Z | 2021-01-19T02:16:58.000Z | testplan/testing/multitest/entries/stdout/__init__.py | raoyitao/testplan | aae3e9cee597ca3d01b6d64eed2642c421c56cbb | [
"Apache-2.0"
] | 53 | 2018-03-17T14:39:15.000Z | 2021-01-21T10:54:13.000Z | """
This module contains logic for printing out
assertion details as tests run.
"""
from .base import BaseRenderer, registry
from .assertions import AssertionRenderer
| 22 | 47 | 0.761364 | 21 | 176 | 6.380952 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 176 | 7 | 48 | 25.142857 | 0.930556 | 0.426136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0d0ebce6a894a7613206e76f7529aa53f64f274 | 81 | py | Python | plugins/devo/icon_devo/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/devo/icon_devo/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/devo/icon_devo/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .query_logs.action import QueryLogs
| 27 | 40 | 0.790123 | 13 | 81 | 4.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 2 | 41 | 40.5 | 0.926471 | 0.45679 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0d9640cb1d25e7fa174eb0693f72eb4d76dc3f6 | 275 | py | Python | programs/install.py | calixo888/AutoBot | 1ceeaf6aa5989fbe9e378b2d67f8838acaf8251e | [
"Apache-2.0"
] | null | null | null | programs/install.py | calixo888/AutoBot | 1ceeaf6aa5989fbe9e378b2d67f8838acaf8251e | [
"Apache-2.0"
] | null | null | null | programs/install.py | calixo888/AutoBot | 1ceeaf6aa5989fbe9e378b2d67f8838acaf8251e | [
"Apache-2.0"
] | null | null | null | import subprocess
try:
subprocess.call("curl https://bootstrap.pypa.io/get-pip.py | python",shell=True)
except:
pass
subprocess.call("pip install pyautogui",shell=True)
subprocess.call("pip install pynput",shell=True)
subprocess.call("pip install future",shell=True) | 30.555556 | 84 | 0.763636 | 39 | 275 | 5.384615 | 0.538462 | 0.266667 | 0.242857 | 0.342857 | 0.314286 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094545 | 275 | 9 | 85 | 30.555556 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.387681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e0ee54224391eef9384c92c221cedbc4d41d94fd | 51,727 | py | Python | tests/components/template/test_light.py | JeffersonBledsoe/core | 3825f80a2dd087ae70654079cd9f3071289b8423 | [
"Apache-2.0"
] | 7 | 2019-08-15T13:36:58.000Z | 2020-03-18T10:46:29.000Z | tests/components/template/test_light.py | JeffersonBledsoe/core | 3825f80a2dd087ae70654079cd9f3071289b8423 | [
"Apache-2.0"
] | 87 | 2020-07-06T22:22:54.000Z | 2022-03-31T06:01:46.000Z | tests/components/template/test_light.py | JeffersonBledsoe/core | 3825f80a2dd087ae70654079cd9f3071289b8423 | [
"Apache-2.0"
] | 7 | 2018-10-04T10:12:45.000Z | 2021-12-29T20:55:40.000Z | """The tests for the Template light platform."""
import logging
import pytest
import homeassistant.components.light as light
from homeassistant.components.light import (
ATTR_BRIGHTNESS,
ATTR_COLOR_TEMP,
ATTR_EFFECT,
ATTR_HS_COLOR,
ATTR_TRANSITION,
ATTR_WHITE_VALUE,
SUPPORT_TRANSITION,
)
... | 35.069153 | 106 | 0.445396 | 4,325 | 51,727 | 5.073988 | 0.046243 | 0.062338 | 0.063796 | 0.075142 | 0.827569 | 0.805696 | 0.793757 | 0.762679 | 0.740852 | 0.720574 | 0 | 0.012145 | 0.406287 | 51,727 | 1,474 | 107 | 35.092944 | 0.702419 | 0.004311 | 0 | 0.562343 | 0 | 0 | 0.251281 | 0.050302 | 0 | 0 | 0 | 0 | 0.072803 | 1 | 0 | false | 0 | 0.004184 | 0 | 0.004184 | 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 |
1cca4720272551c22619089867d378cf6f46c54e | 172 | py | Python | src/realm/utils/__init__.py | orlevii/realm | e561ba09df4fbdc3bf60c8678462da4f55033894 | [
"MIT"
] | 3 | 2021-06-17T06:27:16.000Z | 2022-03-14T09:34:42.000Z | src/realm/utils/__init__.py | orlevii/realm | e561ba09df4fbdc3bf60c8678462da4f55033894 | [
"MIT"
] | null | null | null | src/realm/utils/__init__.py | orlevii/realm | e561ba09df4fbdc3bf60c8678462da4f55033894 | [
"MIT"
] | null | null | null | from concurrent.futures import Future
from typing import Iterable
def await_all(futures: Iterable[Future], timeout=None):
return [f.result(timeout) for f in futures]
| 24.571429 | 55 | 0.77907 | 25 | 172 | 5.32 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 172 | 6 | 56 | 28.666667 | 0.898649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1ce893b14560fb036ffd45e0c1ab2b54f09b6e81 | 1,881 | py | Python | jobsdb/test.py | yc930401/jobsdb_crawler_with_scrapy | 76a1c5a2ea5db0cf6077eba271dc0b454fc0a956 | [
"MIT"
] | null | null | null | jobsdb/test.py | yc930401/jobsdb_crawler_with_scrapy | 76a1c5a2ea5db0cf6077eba271dc0b454fc0a956 | [
"MIT"
] | 1 | 2017-11-14T07:46:19.000Z | 2017-11-14T07:46:19.000Z | jobsdb/test.py | yc930401/jobsdb_crawler_with_scrapy | 76a1c5a2ea5db0cf6077eba271dc0b454fc0a956 | [
"MIT"
] | null | null | null | import requests
headers = {
'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Encoding':'gzip, deflate, sdch, br',
'Accept-Language':'en-US,en;q=0.8,fr;q=0.6',
'Cache-Control':'max-age=0',
'Connection':'keep-alive',
'Cookie':'NSC_wjq_kpctec.dpn_ttm2=... | 117.5625 | 1,270 | 0.785221 | 265 | 1,881 | 5.483019 | 0.690566 | 0.005506 | 0.004129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263897 | 0.053163 | 1,881 | 16 | 1,271 | 117.5625 | 0.551937 | 0 | 0 | 0 | 0 | 0.285714 | 0.900106 | 0.652497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cf727efd31c88cffc120ef9a7c9dd522fb4cab8 | 34 | py | Python | cornac/models/baseline_only/__init__.py | carmanzhang/cornac | 215efd0ffa7b8ee1afe1ac6b5cc650ee6303ace3 | [
"Apache-2.0"
] | 597 | 2018-07-17T10:59:56.000Z | 2022-03-31T07:59:36.000Z | cornac/models/baseline_only/__init__.py | carmanzhang/cornac | 215efd0ffa7b8ee1afe1ac6b5cc650ee6303ace3 | [
"Apache-2.0"
] | 137 | 2018-10-12T10:52:11.000Z | 2022-03-04T15:26:49.000Z | cornac/models/baseline_only/__init__.py | carmanzhang/cornac | 215efd0ffa7b8ee1afe1ac6b5cc650ee6303ace3 | [
"Apache-2.0"
] | 112 | 2018-07-26T04:36:34.000Z | 2022-03-31T02:29:34.000Z | from .recom_bo import BaselineOnly | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e810460fde7ac47d24af4230a96bb9099b8aed4f | 176 | py | Python | tasks/xdtjc/main.py | xmpx/keras-tcn | bc8cd6af9826efdc12b359d70d1e7678bf680269 | [
"MIT"
] | null | null | null | tasks/xdtjc/main.py | xmpx/keras-tcn | bc8cd6af9826efdc12b359d70d1e7678bf680269 | [
"MIT"
] | null | null | null | tasks/xdtjc/main.py | xmpx/keras-tcn | bc8cd6af9826efdc12b359d70d1e7678bf680269 | [
"MIT"
] | null | null | null | import numpy as np
x_train = np.load('/media/clwang/C60EA0300EA01C05/Users/clwang/Downloads/validation_x2.npy')
print(x_train.shape)
print(x_train.shape)
print(x_train.shape) | 25.142857 | 92 | 0.806818 | 29 | 176 | 4.724138 | 0.586207 | 0.175182 | 0.240876 | 0.350365 | 0.350365 | 0.350365 | 0.350365 | 0.350365 | 0 | 0 | 0 | 0.066667 | 0.0625 | 176 | 7 | 93 | 25.142857 | 0.763636 | 0 | 0 | 0.6 | 0 | 0 | 0.40113 | 0.40113 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e81d26dd4e0027c64adb3dec639d0c82ec2a6fbd | 26,939 | py | Python | tests/test_server_20d_client_authn.py | IdentityPython/idpy-oidc | 44f78f5f70d0c5ddc0108fa9a241c460179b53a8 | [
"Apache-2.0"
] | 1 | 2022-03-24T23:39:22.000Z | 2022-03-24T23:39:22.000Z | tests/test_server_20d_client_authn.py | IdentityPython/idpy-oidc | 44f78f5f70d0c5ddc0108fa9a241c460179b53a8 | [
"Apache-2.0"
] | null | null | null | tests/test_server_20d_client_authn.py | IdentityPython/idpy-oidc | 44f78f5f70d0c5ddc0108fa9a241c460179b53a8 | [
"Apache-2.0"
] | null | null | null | import base64
from unittest.mock import MagicMock
import pytest
from cryptojwt.jws.exception import NoSuitableSigningKeys
from cryptojwt.jwt import JWT
from cryptojwt.key_jar import KeyJar
from cryptojwt.key_jar import build_keyjar
from cryptojwt.utils import as_bytes
from cryptojwt.utils import as_unicode
from idpyo... | 38.539342 | 100 | 0.654219 | 3,111 | 26,939 | 5.372228 | 0.067502 | 0.06127 | 0.046072 | 0.027763 | 0.824388 | 0.772453 | 0.742655 | 0.710824 | 0.703345 | 0.683181 | 0 | 0.009658 | 0.22744 | 26,939 | 698 | 101 | 38.594556 | 0.793388 | 0.041872 | 0 | 0.598131 | 0 | 0 | 0.143561 | 0.015555 | 0 | 0 | 0 | 0 | 0.149533 | 1 | 0.08972 | false | 0 | 0.076636 | 0 | 0.192523 | 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 |
1c2a47d1801c0ef25460c345b1ab2ba43aef81e3 | 180 | py | Python | tests/test_utils.py | msonderegger/PolyglotDB | 583fd8ec14c2e34807b45b9f15fa19cffa130bfa | [
"MIT"
] | 25 | 2016-01-28T20:47:07.000Z | 2021-11-29T16:13:07.000Z | tests/test_utils.py | msonderegger/PolyglotDB | 583fd8ec14c2e34807b45b9f15fa19cffa130bfa | [
"MIT"
] | 120 | 2016-04-07T17:55:09.000Z | 2022-03-24T18:30:10.000Z | tests/test_utils.py | PhonologicalCorpusTools/PolyglotDB | 7640212c7062cf44ae911081241ce83a26ced2eb | [
"MIT"
] | 10 | 2015-12-03T20:06:58.000Z | 2021-02-11T03:02:48.000Z | from polyglotdb.utils import get_corpora_list
def test_corpora_list(acoustic_config):
corpora_list = get_corpora_list(acoustic_config)
assert 'acoustic' in corpora_list
| 22.5 | 52 | 0.816667 | 25 | 180 | 5.48 | 0.52 | 0.40146 | 0.20438 | 0.364964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 180 | 7 | 53 | 25.714286 | 0.878205 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c3c732fd1bf32628655f32cb83e5438752c6640 | 346 | py | Python | specification_data_files/www.amwa.tv_c0f7b64/block/989/artefacts/audio_track_layout.py | AMWA-TV/AS-11_UK_DPP_HD | 12e100a3de2f60592413a0d21f81f343505e0123 | [
"Apache-2.0"
] | 2 | 2020-02-11T12:55:47.000Z | 2021-07-03T07:04:09.000Z | specification_data_files/www.amwa.tv_c0f7b64/block/989/artefacts/audio_track_layout.py | AMWA-TV/AS-11_UK_DPP_HD | 12e100a3de2f60592413a0d21f81f343505e0123 | [
"Apache-2.0"
] | null | null | null | specification_data_files/www.amwa.tv_c0f7b64/block/989/artefacts/audio_track_layout.py | AMWA-TV/AS-11_UK_DPP_HD | 12e100a3de2f60592413a0d21f81f343505e0123 | [
"Apache-2.0"
] | 1 | 2019-07-14T18:26:16.000Z | 2019-07-14T18:26:16.000Z | CHECK( AS_11_Audio_Track_Layout in [Layout_EBU_R_48_2a,
Layout_EBU_R_123_4b,
Layout_EBU_R_123_4c,
Layout_EBU_R_123_16c,
Layout_EBU_R_123_16d,
... | 49.428571 | 59 | 0.424855 | 37 | 346 | 3.216216 | 0.459459 | 0.453782 | 0.504202 | 0.546218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0.549133 | 346 | 6 | 60 | 57.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c6e5954ebc7844713b091ece04e0ba850fc09c0 | 32 | py | Python | base_astro_bot/utils/__init__.py | Mirdalan/base_astro_bot | 656ebd55c0f57fc18bf95227af9e20a4c1392489 | [
"MIT"
] | 2 | 2018-11-16T11:31:53.000Z | 2019-05-19T03:07:15.000Z | base_astro_bot/utils/__init__.py | Mirdalan/base_astro_bot | 656ebd55c0f57fc18bf95227af9e20a4c1392489 | [
"MIT"
] | null | null | null | base_astro_bot/utils/__init__.py | Mirdalan/base_astro_bot | 656ebd55c0f57fc18bf95227af9e20a4c1392489 | [
"MIT"
] | null | null | null | from .my_logger import MyLogger
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98d7be3748ff7c9deca5f7ced478e02df458c63e | 35,853 | py | Python | sdk/storage/azure-storage-file-share/tests/test_directory_async.py | kazrael2119/azure-sdk-for-python | 485dd7b1b5ac41c1a5b9991e402b4035b55f437a | [
"MIT"
] | 1 | 2022-02-18T01:17:27.000Z | 2022-02-18T01:17:27.000Z | sdk/storage/azure-storage-file-share/tests/test_directory_async.py | kazrael2119/azure-sdk-for-python | 485dd7b1b5ac41c1a5b9991e402b4035b55f437a | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-file-share/tests/test_directory_async.py | kazrael2119/azure-sdk-for-python | 485dd7b1b5ac41c1a5b9991e402b4035b55f437a | [
"MIT"
] | 1 | 2022-03-04T06:21:56.000Z | 2022-03-04T06:21:56.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 42.937725 | 127 | 0.701392 | 3,982 | 35,853 | 5.954545 | 0.072325 | 0.0927 | 0.054405 | 0.081186 | 0.828814 | 0.793977 | 0.762557 | 0.714352 | 0.703597 | 0.6796 | 0 | 0.014451 | 0.202856 | 35,853 | 834 | 128 | 42.989209 | 0.815185 | 0.040471 | 0 | 0.625219 | 0 | 0.003503 | 0.038568 | 0.005514 | 0 | 0 | 0.000233 | 0 | 0.196147 | 1 | 0.001751 | false | 0.005254 | 0.019264 | 0 | 0.02627 | 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 |
98e7466c7a926a61127a8340f7498fb7da797859 | 25 | py | Python | package/subpackage1/__init__.py | jonathanyeh0723/python-tricks | 434665466babe09e7ad1c181b3a7b8e159a035f1 | [
"Apache-2.0"
] | null | null | null | package/subpackage1/__init__.py | jonathanyeh0723/python-tricks | 434665466babe09e7ad1c181b3a7b8e159a035f1 | [
"Apache-2.0"
] | null | null | null | package/subpackage1/__init__.py | jonathanyeh0723/python-tricks | 434665466babe09e7ad1c181b3a7b8e159a035f1 | [
"Apache-2.0"
] | null | null | null | from .moduleX import Cat
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98ebd37f8be305e2568571bd777552005e914b09 | 28,636 | py | Python | sdk/communication/azure-communication-chat/tests/test_chat_thread_client.py | GoWang/azure-sdk-for-python | f241e3734a50953c2a37c10d2d84eb4c013b3ba0 | [
"MIT"
] | null | null | null | sdk/communication/azure-communication-chat/tests/test_chat_thread_client.py | GoWang/azure-sdk-for-python | f241e3734a50953c2a37c10d2d84eb4c013b3ba0 | [
"MIT"
] | null | null | null | sdk/communication/azure-communication-chat/tests/test_chat_thread_client.py | GoWang/azure-sdk-for-python | f241e3734a50953c2a37c10d2d84eb4c013b3ba0 | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
import uni... | 43.519757 | 141 | 0.552486 | 2,504 | 28,636 | 6.057508 | 0.102636 | 0.030063 | 0.040084 | 0.017537 | 0.800237 | 0.791469 | 0.786392 | 0.785338 | 0.766878 | 0.743803 | 0 | 0.093382 | 0.347814 | 28,636 | 657 | 142 | 43.585997 | 0.718783 | 0.012956 | 0 | 0.685817 | 0 | 0.030521 | 0.231526 | 0.111127 | 0 | 0 | 0 | 0 | 0.070018 | 1 | 0.071813 | false | 0 | 0.021544 | 0.034111 | 0.131059 | 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 |
c710ac9f06f33dc09ecafe89d21e3690a1b59b4a | 47 | py | Python | trainer/__init__.py | rioyokotalab/ecl-isvr | ae274b1b81b1d1c10db008140c477f5893a0c1c3 | [
"BSD-4-Clause-UC"
] | null | null | null | trainer/__init__.py | rioyokotalab/ecl-isvr | ae274b1b81b1d1c10db008140c477f5893a0c1c3 | [
"BSD-4-Clause-UC"
] | null | null | null | trainer/__init__.py | rioyokotalab/ecl-isvr | ae274b1b81b1d1c10db008140c477f5893a0c1c3 | [
"BSD-4-Clause-UC"
] | 2 | 2021-09-30T02:13:40.000Z | 2021-12-14T07:33:28.000Z | #! -*- coding: utf-8
from .trainers import *
| 15.666667 | 24 | 0.595745 | 6 | 47 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.212766 | 47 | 2 | 25 | 23.5 | 0.72973 | 0.404255 | 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 |
c715fb2ee19fc8f93f02932b2b55dcc88292bebe | 41,229 | py | Python | tests/unit/test_instance.py | asthamohta/python-spanner | 321bc7faf364ad423da08ae4e2c0d6f76834dc09 | [
"Apache-2.0"
] | 49 | 2020-02-06T17:36:32.000Z | 2022-03-31T05:32:29.000Z | tests/unit/test_instance.py | asthamohta/python-spanner | 321bc7faf364ad423da08ae4e2c0d6f76834dc09 | [
"Apache-2.0"
] | 417 | 2020-01-31T23:12:28.000Z | 2022-03-30T22:42:11.000Z | tests/unit/test_instance.py | asthamohta/python-spanner | 321bc7faf364ad423da08ae4e2c0d6f76834dc09 | [
"Apache-2.0"
] | 46 | 2020-01-31T22:54:25.000Z | 2022-03-29T12:04:55.000Z | # Copyright 2016 Google LLC All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 37.894301 | 109 | 0.671493 | 4,419 | 41,229 | 5.97556 | 0.068115 | 0.052829 | 0.032947 | 0.044157 | 0.807392 | 0.792017 | 0.769106 | 0.754488 | 0.729115 | 0.718435 | 0 | 0.004523 | 0.243833 | 41,229 | 1,087 | 110 | 37.929163 | 0.842475 | 0.015911 | 0 | 0.616801 | 0 | 0 | 0.040412 | 0.021229 | 0 | 0 | 0 | 0 | 0.179517 | 1 | 0.064442 | false | 0.001151 | 0.100115 | 0.002301 | 0.204833 | 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 |
c722ddd05c48d3b85f8301af1cf50d11d6e73988 | 6,407 | py | Python | loldib/getratings/models/NA/na_galio/na_galio_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_galio/na_galio_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_galio/na_galio_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Galio_Top_Aatrox(Ratings):
pass
class NA_Galio_Top_Ahri(Ratings):
pass
class NA_Galio_Top_Akali(Ratings):
pass
class NA_Galio_Top_Alistar(Ratings):
pass
class NA_Galio_Top_Amumu(Ratings):
pass
class NA_Galio_Top_Anivia(Ratings):
pass
... | 15.364508 | 46 | 0.761667 | 972 | 6,407 | 4.59465 | 0.151235 | 0.216301 | 0.370802 | 0.463502 | 0.797582 | 0.797582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173404 | 6,407 | 416 | 47 | 15.401442 | 0.843278 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c73ec913ab1b999717311ec54928a13fa9d6a1ed | 128 | py | Python | core/config/__init__.py | YutouTaro/TrianFlow | 295d318a561f9001ed334bce2bcf6a591b6ff9f9 | [
"MIT"
] | 226 | 2020-04-04T00:16:25.000Z | 2022-03-29T18:15:32.000Z | core/config/__init__.py | YutouTaro/TrianFlow | 295d318a561f9001ed334bce2bcf6a591b6ff9f9 | [
"MIT"
] | 29 | 2020-05-22T03:17:06.000Z | 2021-12-23T03:44:49.000Z | core/config/__init__.py | YutouTaro/TrianFlow | 295d318a561f9001ed334bce2bcf6a591b6ff9f9 | [
"MIT"
] | 40 | 2020-04-09T03:46:40.000Z | 2022-01-13T14:46:23.000Z | import os, sys
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from config_utils import generate_loss_weights_dict
| 25.6 | 59 | 0.828125 | 21 | 128 | 4.666667 | 0.714286 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 128 | 4 | 60 | 32 | 0.823529 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c742aa5e6286cff2557fbc8ae07cf1feacda856f | 209 | py | Python | test/test_orders_api.py | leonardodalinky/pywmapi | b9e2650761895eb9a88170497c4d209b5dd6870c | [
"MIT"
] | 4 | 2022-01-27T14:31:38.000Z | 2022-03-25T08:52:01.000Z | test/test_orders_api.py | leonardodalinky/pywmapi | b9e2650761895eb9a88170497c4d209b5dd6870c | [
"MIT"
] | null | null | null | test/test_orders_api.py | leonardodalinky/pywmapi | b9e2650761895eb9a88170497c4d209b5dd6870c | [
"MIT"
] | null | null | null | from pywmapi.common import *
from pywmapi.orders import *
def test_get_orders():
get_orders("mirage_prime_systems", include=IncludeOption.item)
get_orders("heavy_trauma", include=IncludeOption.item)
| 26.125 | 66 | 0.784689 | 27 | 209 | 5.814815 | 0.592593 | 0.171975 | 0.305732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114833 | 209 | 7 | 67 | 29.857143 | 0.848649 | 0 | 0 | 0 | 0 | 0 | 0.15311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 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 |
c755eeacd2e86afbf03e7c9206b01787fbec67a9 | 5,671 | py | Python | tests/test_endpoints.py | NHSDigital/shared-flow-testing | d253444a8c857444f9b6ec9cecdbed97fdc38992 | [
"MIT"
] | null | null | null | tests/test_endpoints.py | NHSDigital/shared-flow-testing | d253444a8c857444f9b6ec9cecdbed97fdc38992 | [
"MIT"
] | 41 | 2021-04-23T10:52:20.000Z | 2022-02-26T02:11:16.000Z | tests/test_endpoints.py | NHSDigital/shared-flow-testing | d253444a8c857444f9b6ec9cecdbed97fdc38992 | [
"MIT"
] | null | null | null | import pytest
import requests
from api_test_utils.oauth_helper import OauthHelper
from assertpy import assert_that
from .configuration import config
class TestEndpoints:
@pytest.mark.asyncio
async def test_happy_path(self, get_token):
# Given
token = get_token["access_token"]
... | 41.698529 | 112 | 0.64098 | 658 | 5,671 | 5.214286 | 0.177812 | 0.052463 | 0.039347 | 0.059458 | 0.805888 | 0.805888 | 0.769455 | 0.758671 | 0.758671 | 0.750219 | 0 | 0.012218 | 0.249515 | 5,671 | 135 | 113 | 42.007407 | 0.793938 | 0.016752 | 0 | 0.60396 | 0 | 0.059406 | 0.225945 | 0.020101 | 0 | 0 | 0 | 0 | 0.158416 | 1 | 0 | false | 0 | 0.049505 | 0 | 0.059406 | 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 |
c77de8d368fd0b2b4aaf3f4c2e11cd396daf28b7 | 5,492 | py | Python | tests/test_app.py | HelmUpgradeBot/UpdateDockerTags | ea286b145485d6601f2211ffbf8373d68fa51760 | [
"MIT"
] | null | null | null | tests/test_app.py | HelmUpgradeBot/UpdateDockerTags | ea286b145485d6601f2211ffbf8373d68fa51760 | [
"MIT"
] | null | null | null | tests/test_app.py | HelmUpgradeBot/UpdateDockerTags | ea286b145485d6601f2211ffbf8373d68fa51760 | [
"MIT"
] | null | null | null | # TODO: Write tests for the following functions:
# - update_image_tags()
# - run()
import base64
from unittest.mock import patch
import yaml
from tag_bot.app import compare_image_tags, edit_config
test_url = "http://jsonplaceholder.typicode.com"
test_header = {"Authorization": "token ThIs_Is_A_ToKeN"}
... | 27.46 | 83 | 0.539876 | 536 | 5,492 | 5.11194 | 0.152985 | 0.122628 | 0.087591 | 0.055474 | 0.836496 | 0.802555 | 0.779197 | 0.766788 | 0.720803 | 0.677737 | 0 | 0.010958 | 0.351967 | 5,492 | 199 | 84 | 27.59799 | 0.758921 | 0.016023 | 0 | 0.545455 | 0 | 0 | 0.322593 | 0.099074 | 0 | 0 | 0 | 0.005025 | 0.066667 | 1 | 0.030303 | false | 0 | 0.024242 | 0 | 0.054545 | 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 |
4012d82f7ea10baea60666a3d282f98e0835d33f | 44,312 | py | Python | tensorflow_data_validation/statistics/generators/top_k_uniques_stats_generator_test.py | maxsei/data-validation | 0f581fa022c23133b7a7c62d22090d0ed6b8d6ac | [
"Apache-2.0"
] | 1 | 2020-08-17T21:49:02.000Z | 2020-08-17T21:49:02.000Z | tensorflow_data_validation/statistics/generators/top_k_uniques_stats_generator_test.py | mitakora/tensorflow-data-validation | 8e43d424a6064e9626a00b2ef9db826baa2ab25d | [
"Apache-2.0"
] | null | null | null | tensorflow_data_validation/statistics/generators/top_k_uniques_stats_generator_test.py | mitakora/tensorflow-data-validation | 8e43d424a6064e9626a00b2ef9db826baa2ab25d | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 26.251185 | 90 | 0.424197 | 3,858 | 44,312 | 4.605495 | 0.058839 | 0.046094 | 0.060671 | 0.035457 | 0.899651 | 0.893235 | 0.860198 | 0.845846 | 0.818213 | 0.793955 | 0 | 0.030182 | 0.479599 | 44,312 | 1,687 | 91 | 26.266746 | 0.74033 | 0.032203 | 0 | 0.697936 | 0 | 0 | 0.157341 | 0.002134 | 0 | 0 | 0 | 0 | 0.033771 | 1 | 0.033771 | false | 0 | 0.022514 | 0 | 0.060038 | 0.001876 | 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 |
40298547c06db51ba28a9db42fcecce5d7ed71b8 | 131 | py | Python | basic.py | PacktPublishing/Network-Hacking-Continued---Intermediate-to-Advanced | cd91f5a6d4076ce9603cbff768a740784977f9cc | [
"MIT"
] | 6 | 2020-06-24T11:17:58.000Z | 2021-11-08T13:10:19.000Z | basic.py | PacktPublishing/Network-Hacking-Continued---Intermediate-to-Advanced | cd91f5a6d4076ce9603cbff768a740784977f9cc | [
"MIT"
] | null | null | null | basic.py | PacktPublishing/Network-Hacking-Continued---Intermediate-to-Advanced | cd91f5a6d4076ce9603cbff768a740784977f9cc | [
"MIT"
] | 7 | 2020-01-14T11:53:24.000Z | 2022-03-19T15:13:14.000Z | from mitmproxy import http
def request(flow):
#Code to handle request flows
def response(flow):
#Code to handle response flows | 16.375 | 31 | 0.770992 | 20 | 131 | 5.05 | 0.6 | 0.158416 | 0.19802 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 8 | 31 | 16.375 | 0.926606 | 0.435115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
40d831a890abc3078176745ef3a58793ef2ba020 | 106 | py | Python | bot/commands/__init__.py | infin1tyy/cj | f70819a2c6d9c10a5c8fd65c08a151607da18e1f | [
"MIT"
] | 3 | 2019-02-28T21:47:02.000Z | 2019-03-20T08:31:52.000Z | bot/commands/__init__.py | devlexanderxyz/cj | f70819a2c6d9c10a5c8fd65c08a151607da18e1f | [
"MIT"
] | 1 | 2020-07-05T10:27:53.000Z | 2020-07-05T10:27:53.000Z | bot/commands/__init__.py | devlexanderxyz/cj | f70819a2c6d9c10a5c8fd65c08a151607da18e1f | [
"MIT"
] | null | null | null | from .cmd_konesyntees import cmd_konesyntees
from .cmd_wiki import cmd_wiki
from .cmd_help import cmd_help | 35.333333 | 44 | 0.867925 | 18 | 106 | 4.777778 | 0.333333 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 106 | 3 | 45 | 35.333333 | 0.905263 | 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 |
40eb4f99f2f79bdde7449fb0bc40fd5d304ebb81 | 126 | py | Python | JABA/model/__init__.py | futotta-risu/JATS | 4f034b56d98731fa6185add1b9d1d353d28a6310 | [
"Apache-2.0"
] | null | null | null | JABA/model/__init__.py | futotta-risu/JATS | 4f034b56d98731fa6185add1b9d1d353d28a6310 | [
"Apache-2.0"
] | 43 | 2021-06-14T20:58:53.000Z | 2021-07-16T06:40:15.000Z | JABA/model/__init__.py | futotta-risu/JATS | 4f034b56d98731fa6185add1b9d1d353d28a6310 | [
"Apache-2.0"
] | null | null | null | from model.social.Tweet import Tweet
from model.bitcoin.Bitcoin import Bitcoin
from model.sentiment.Sentiment import Sentiment | 42 | 47 | 0.865079 | 18 | 126 | 6.055556 | 0.388889 | 0.247706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 126 | 3 | 47 | 42 | 0.947826 | 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 |
dc0e35687961aab2b2e6a0eb57dd6c29134f2792 | 20,099 | py | Python | idaes/core/util/tests/test_misc.py | eslickj/idaes-pse | 328ed07ffb0b4d98c03e972675ea32c41dd2531a | [
"RSA-MD"
] | 1 | 2019-02-21T22:03:48.000Z | 2019-02-21T22:03:48.000Z | idaes/core/util/tests/test_misc.py | eslickj/idaes-pse | 328ed07ffb0b4d98c03e972675ea32c41dd2531a | [
"RSA-MD"
] | 1 | 2021-03-01T22:05:06.000Z | 2021-03-01T22:05:06.000Z | idaes/core/util/tests/test_misc.py | eslickj/idaes-pse | 328ed07ffb0b4d98c03e972675ea32c41dd2531a | [
"RSA-MD"
] | 1 | 2021-11-04T14:57:20.000Z | 2021-11-04T14:57:20.000Z | #################################################################################
# The Institute for the Design of Advanced Energy Systems Integrated Platform
# Framework (IDAES IP) was produced under the DOE Institute for the
# Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021
# by the softwar... | 33.893761 | 81 | 0.562565 | 2,626 | 20,099 | 4.18393 | 0.089109 | 0.021116 | 0.027851 | 0.05106 | 0.821061 | 0.78784 | 0.762173 | 0.746701 | 0.721216 | 0.700373 | 0 | 0.019887 | 0.30698 | 20,099 | 592 | 82 | 33.951014 | 0.768899 | 0.047913 | 0 | 0.648148 | 0 | 0 | 0.18021 | 0.006653 | 0 | 0 | 0 | 0 | 0.097222 | 1 | 0.06713 | false | 0 | 0.016204 | 0 | 0.085648 | 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 |
9079c19208dad321785018128f7c476f13da7e02 | 32 | py | Python | app/di/__init__.py | mbroz/feel-the-streets | 6e21a496f1530b0500ca66e11712f3f31cd857ae | [
"MIT"
] | 9 | 2020-05-14T15:12:59.000Z | 2021-08-28T13:52:22.000Z | flask_version/meta/__init__.py | mbkmbsit/flask_version | a92827b29adce86f8dbec2784df085458201cc03 | [
"MIT"
] | 8 | 2017-10-11T13:26:10.000Z | 2021-12-13T20:27:52.000Z | flask_version/meta/__init__.py | mbkmbsit/flask_version | a92827b29adce86f8dbec2784df085458201cc03 | [
"MIT"
] | 4 | 2017-07-27T12:25:42.000Z | 2018-01-28T02:06:26.000Z | from .singleton import Singleton | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 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 |
909d241d3446cb5f57c72db878a8d2b69bfe369d | 34,530 | py | Python | conans/test/functional/graph_lock/graph_lock_ci_test.py | sigmunjr/conan | ce173d25640d5c9cdd62b1c67598291be003633d | [
"MIT"
] | 1 | 2020-11-07T21:25:57.000Z | 2020-11-07T21:25:57.000Z | conans/test/functional/graph_lock/graph_lock_ci_test.py | ttencate/conan | 3dc4fb35cc3be9865f0ae480c89e6a58813d5076 | [
"MIT"
] | null | null | null | conans/test/functional/graph_lock/graph_lock_ci_test.py | ttencate/conan | 3dc4fb35cc3be9865f0ae480c89e6a58813d5076 | [
"MIT"
] | null | null | null | import json
import os
import textwrap
import unittest
from parameterized import parameterized
from conans.model.graph_lock import LOCKFILE
from conans.test.utils.genconanfile import GenConanfile
from conans.test.utils.tools import TestClient, TestServer
from conans.util.env_reader import get_env
from conans.util.file... | 52.397572 | 100 | 0.611932 | 4,279 | 34,530 | 4.865857 | 0.055854 | 0.102493 | 0.046684 | 0.101148 | 0.852649 | 0.825417 | 0.794775 | 0.757216 | 0.704193 | 0.662456 | 0 | 0.037445 | 0.238199 | 34,530 | 658 | 101 | 52.477204 | 0.754077 | 0.031103 | 0 | 0.61326 | 0 | 0.018416 | 0.436174 | 0.220421 | 0 | 0 | 0 | 0 | 0.206262 | 1 | 0.016575 | false | 0.005525 | 0.033149 | 0 | 0.058932 | 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 |
90a5d398fd8612441f3545e778252431a91659c1 | 60 | py | Python | docs/Tutorials/Build/src/call-c-from-python/tests/test_A.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | 119 | 2019-05-14T18:44:34.000Z | 2022-03-17T01:01:02.000Z | docs/Tutorials/Build/src/call-c-from-python/tests/test_A.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | 717 | 2019-04-03T15:36:35.000Z | 2022-03-31T21:56:47.000Z | docs/Tutorials/Build/src/call-c-from-python/tests/test_A.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | 34 | 2019-04-01T21:21:27.000Z | 2022-03-21T09:46:57.000Z | import myModule
def test_A():
assert myModule.fib(3) == 2
| 15 | 29 | 0.7 | 10 | 60 | 4.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 60 | 3 | 30 | 20 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90f76751712a1fe31dc5dca34902a92af92839e2 | 28 | py | Python | lyalike/__init__.py | Pablo-Lemos/LyaLike | b57cde6cee12355a4c574be27cc090021b224d88 | [
"MIT"
] | null | null | null | lyalike/__init__.py | Pablo-Lemos/LyaLike | b57cde6cee12355a4c574be27cc090021b224d88 | [
"MIT"
] | null | null | null | lyalike/__init__.py | Pablo-Lemos/LyaLike | b57cde6cee12355a4c574be27cc090021b224d88 | [
"MIT"
] | null | null | null | from .lya import Lya, Tester | 28 | 28 | 0.785714 | 5 | 28 | 4.4 | 0.8 | 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 |
293b3d20f50259bb8c9328866508f6b9a503ef94 | 107 | py | Python | example_bot/states/__init__.py | vladpi/ptb-state-handler | ce54747db4521f4eda4401392f1bd5f33bd78838 | [
"Apache-2.0"
] | null | null | null | example_bot/states/__init__.py | vladpi/ptb-state-handler | ce54747db4521f4eda4401392f1bd5f33bd78838 | [
"Apache-2.0"
] | 5 | 2020-10-15T21:10:53.000Z | 2020-10-18T18:49:14.000Z | example_bot/states/__init__.py | vladpi/ptb-state-handler | ce54747db4521f4eda4401392f1bd5f33bd78838 | [
"Apache-2.0"
] | null | null | null | from .about import about_state
from .contacts import contacts_state
from .main_menu import main_menu_state
| 26.75 | 38 | 0.859813 | 17 | 107 | 5.117647 | 0.411765 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 39 | 35.666667 | 0.915789 | 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 |
2966e852303135015284c9846e7039aa18ccc390 | 194 | py | Python | aidbox_python_fsm/__init__.py | beda-software/aidbox-python-fsm | 916f2a4ac14ff7f8f2c12690836b29fd034acdd3 | [
"MIT"
] | null | null | null | aidbox_python_fsm/__init__.py | beda-software/aidbox-python-fsm | 916f2a4ac14ff7f8f2c12690836b29fd034acdd3 | [
"MIT"
] | 1 | 2022-03-29T15:02:14.000Z | 2022-03-29T15:02:14.000Z | aidbox_python_fsm/__init__.py | beda-software/aidbox-python-fsm | 916f2a4ac14ff7f8f2c12690836b29fd034acdd3 | [
"MIT"
] | null | null | null | from .aidbox_fsm import init_aidbox_fsm, add_aidbox_fsm_operations, aidbox_fsm_middleware, aidbox_fsm_permission
from .fsm import FSM, FSMError, FSMImpossibleTransitionError, FSMPermissionError
| 64.666667 | 112 | 0.886598 | 24 | 194 | 6.75 | 0.5 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 194 | 2 | 113 | 97 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2986dd37c9f4659b6ae058089ac3f6705858bdb5 | 30 | py | Python | av/audio/__init__.py | philipnbbc/PyAV | 6f9a1561f43e0cedc10c0ee33cd30bded7d34dc0 | [
"BSD-3-Clause"
] | 538 | 2020-05-01T00:55:03.000Z | 2022-03-31T03:06:17.000Z | av/audio/__init__.py | philipnbbc/PyAV | 6f9a1561f43e0cedc10c0ee33cd30bded7d34dc0 | [
"BSD-3-Clause"
] | 301 | 2020-04-30T20:24:37.000Z | 2022-03-31T21:26:59.000Z | av/audio/__init__.py | philipnbbc/PyAV | 6f9a1561f43e0cedc10c0ee33cd30bded7d34dc0 | [
"BSD-3-Clause"
] | 96 | 2020-05-01T23:56:50.000Z | 2022-03-28T22:14:38.000Z | from .frame import AudioFrame
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
46210e477f8945c4df76e7ed25697d51d18b81c4 | 36 | py | Python | loss/__init__.py | gurucharanmk/Fruits-360_Image_Classification | 9d26bba972ed3eca762ff225b33bd70e82edc7f0 | [
"MIT"
] | null | null | null | loss/__init__.py | gurucharanmk/Fruits-360_Image_Classification | 9d26bba972ed3eca762ff225b33bd70e82edc7f0 | [
"MIT"
] | null | null | null | loss/__init__.py | gurucharanmk/Fruits-360_Image_Classification | 9d26bba972ed3eca762ff225b33bd70e82edc7f0 | [
"MIT"
] | null | null | null | from .focalloss import FocalLossFlat | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4625d52389abd756239d6b1b38a34f188779f5b3 | 27 | py | Python | step2.py | SirLonsevrot/Lesson_20.11.28_Part2 | 6228a601cdaae9889cc85324510bd4eeea5514ee | [
"Apache-2.0"
] | null | null | null | step2.py | SirLonsevrot/Lesson_20.11.28_Part2 | 6228a601cdaae9889cc85324510bd4eeea5514ee | [
"Apache-2.0"
] | null | null | null | step2.py | SirLonsevrot/Lesson_20.11.28_Part2 | 6228a601cdaae9889cc85324510bd4eeea5514ee | [
"Apache-2.0"
] | null | null | null | print('some kind of text')
| 13.5 | 26 | 0.703704 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
465020b850b02a150036f3c36416305550694b91 | 5,366 | py | Python | tests/test_fabflee.py | jataware/flee | 67c00c4572e71dd2bbfb390d7d7ede13ffb9594e | [
"BSD-3-Clause"
] | 3 | 2021-05-24T14:07:48.000Z | 2022-01-10T03:20:36.000Z | tests/test_fabflee.py | jataware/flee | 67c00c4572e71dd2bbfb390d7d7ede13ffb9594e | [
"BSD-3-Clause"
] | 15 | 2020-06-05T11:42:23.000Z | 2022-03-09T20:17:29.000Z | tests/test_fabflee.py | jataware/flee | 67c00c4572e71dd2bbfb390d7d7ede13ffb9594e | [
"BSD-3-Clause"
] | 3 | 2020-05-29T15:10:28.000Z | 2022-03-09T19:51:41.000Z | import csv
import logging
import os
import subprocess
import sys
import pytest
base = os.path.join(os.path.dirname(os.path.dirname(__file__)), "FabFlee/config_files")
logger = logging.getLogger(__name__)
# GitHub action = 2 cores
def test_mali(run_py):
ret = run_py("mali", "50")
assert ret == "OK"
def t... | 29.483516 | 96 | 0.553112 | 619 | 5,366 | 4.646204 | 0.198708 | 0.035466 | 0.038248 | 0.044506 | 0.848748 | 0.8258 | 0.8258 | 0.771905 | 0.748957 | 0.748957 | 0 | 0.010187 | 0.323146 | 5,366 | 181 | 97 | 29.646409 | 0.781663 | 0.034849 | 0 | 0.681481 | 0 | 0 | 0.137691 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 1 | 0.088889 | false | 0 | 0.044444 | 0 | 0.162963 | 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 |
465c171ae2ce2f82d3e6cdcc8a6cd32485f9ee7a | 33 | py | Python | a_package/a_sub_package2/__init__.py | codernayeem/python-cheat-sheet | ec6fe9f33e9175251df65899cef89f65219b9cb4 | [
"MIT"
] | null | null | null | a_package/a_sub_package2/__init__.py | codernayeem/python-cheat-sheet | ec6fe9f33e9175251df65899cef89f65219b9cb4 | [
"MIT"
] | null | null | null | a_package/a_sub_package2/__init__.py | codernayeem/python-cheat-sheet | ec6fe9f33e9175251df65899cef89f65219b9cb4 | [
"MIT"
] | null | null | null | print("a_sub_package Initiated")
| 16.5 | 32 | 0.818182 | 5 | 33 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 33 | 1 | 33 | 33 | 0.806452 | 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 |
4670d3113d08541209c9f175558b31102318bf1d | 8,346 | py | Python | src/subjectClass.py | TestowanieAutomatyczneUG/projekt-i-Darkstaron123 | fe8c1e74eb73267ebb985bd030714250bb7adf67 | [
"MIT"
] | null | null | null | src/subjectClass.py | TestowanieAutomatyczneUG/projekt-i-Darkstaron123 | fe8c1e74eb73267ebb985bd030714250bb7adf67 | [
"MIT"
] | null | null | null | src/subjectClass.py | TestowanieAutomatyczneUG/projekt-i-Darkstaron123 | fe8c1e74eb73267ebb985bd030714250bb7adf67 | [
"MIT"
] | null | null | null | class SubjectClass:
def addSubject(self,language, discipleId):
import json
from discipleClass import DiscipleClass
if (language == "EN"):
print("You entered process of adding subject to disciple.")
print("Type in new subject\'s name.")
name = str(input())
... | 50.581818 | 118 | 0.508387 | 817 | 8,346 | 5.178703 | 0.172583 | 0.061451 | 0.075632 | 0.122902 | 0.768376 | 0.746396 | 0.746396 | 0.746396 | 0.737887 | 0.695344 | 0 | 0.004799 | 0.350827 | 8,346 | 165 | 119 | 50.581818 | 0.776117 | 0.007069 | 0 | 0.714286 | 0 | 0 | 0.221847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018634 | false | 0 | 0.043478 | 0 | 0.142857 | 0.26087 | 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 |
d3d8cb41857b64506b8fdc23250a92165b89836c | 149 | py | Python | scrapli_community/paloalto/panos/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 37 | 2020-11-13T20:50:30.000Z | 2022-03-25T16:15:28.000Z | scrapli_community/paloalto/panos/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 84 | 2020-08-02T16:20:15.000Z | 2022-03-02T14:38:26.000Z | scrapli_community/paloalto/panos/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 25 | 2020-08-01T23:51:37.000Z | 2022-02-21T10:06:33.000Z | """scrapli_community.paloalto.panos"""
from scrapli_community.paloalto.panos.paloalto_panos import SCRAPLI_PLATFORM
__all__ = ("SCRAPLI_PLATFORM",)
| 29.8 | 76 | 0.825503 | 17 | 149 | 6.705882 | 0.470588 | 0.342105 | 0.421053 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 149 | 4 | 77 | 37.25 | 0.814286 | 0.214765 | 0 | 0 | 0 | 0 | 0.144144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
310ff5cb8a829e89c0fd2dcfe1b2d3d7a7e7fcae | 258,306 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/99.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-int1/99.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-int1/99.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 18998
passenger_arriving = (
(3, 7, 3, 7, 4, 2, 2, 1, 2, 0, 1, 2, 0, 4, 7, 1, 9, 6, 1, 3, 1, 3, 0, 1, 1, 0), # 0
(7, 9, 6, 3, 6, 1, 1, 0, 1, 0, 1, 0, 0, 4, 8, 8, 1, 3, 6, 4, 3, 2, 1, 2, 1, 0), # 1
(6, 5, 7, 3, 7, 2, 3, 0, 3, 1, 0, 0, 0, 9, 5, 4, 2, 3, 5, 3, 0, 1, 0, 0, 0, 0), ... | 276.263102 | 494 | 0.76956 | 32,987 | 258,306 | 6.025737 | 0.217389 | 0.358604 | 0.344115 | 0.652007 | 0.376609 | 0.368057 | 0.364278 | 0.364138 | 0.364057 | 0.364057 | 0 | 0.849811 | 0.095755 | 258,306 | 934 | 495 | 276.558887 | 0.001194 | 0.015528 | 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 |
3127ca68fbed48bb8071f535f286d3771588dddd | 1,282 | py | Python | 7term/TT/compiler/lab2/NodeType.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 7term/TT/compiler/lab2/NodeType.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 7term/TT/compiler/lab2/NodeType.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | class NodeType(object):
PROGRAM, STATEMENT, CONST_DEF, EXPRESSION, CONST_ASSIGNMENT, VAR_DECL, IDENTIFIER_LIST, COLON, HEADING, \
SEQUENCE, ASSIGNMENT, RELATION_EQUAl, RELATION_NON_EQUAL, RELATION_LESS, RELATION_LESS_EQUAL, RELATION_GREATER, \
RELATION_GREATER_EQUAL, OPERATOR_UNARY_PLUS, OPERATOR_UNARY_MINU... | 61.047619 | 120 | 0.681747 | 137 | 1,282 | 5.934307 | 0.335766 | 0.095941 | 0.051661 | 0.059041 | 0.870849 | 0.870849 | 0.870849 | 0.870849 | 0.870849 | 0.870849 | 0 | 0.001965 | 0.205928 | 1,282 | 20 | 121 | 64.1 | 0.79666 | 0 | 0 | 0 | 0 | 0 | 0.296412 | 0.017161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0.055556 | 0.222222 | 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 |
3149cb85efb586f38f0493664f767114cbae7e50 | 2,193 | py | Python | mag2exp/tests/test_magnetisation.py | ubermag/exsim | 35e7a88716a9ed2c9a34f4c93c628560a597b57f | [
"BSD-3-Clause"
] | null | null | null | mag2exp/tests/test_magnetisation.py | ubermag/exsim | 35e7a88716a9ed2c9a34f4c93c628560a597b57f | [
"BSD-3-Clause"
] | 6 | 2021-06-10T13:42:08.000Z | 2021-07-21T08:57:50.000Z | mag2exp/tests/test_magnetisation.py | ubermag/exsim | 35e7a88716a9ed2c9a34f4c93c628560a597b57f | [
"BSD-3-Clause"
] | null | null | null | # import pytest
import discretisedfield as df
import numpy as np
import micromagneticmodel as mm
import mag2exp
def test_magnetisation_analytical():
mesh = df.Mesh(p1=(0, 0, 0), p2=(6e-9, 4e-9, 1e-9),
cell=(2e-9, 1e-9, 0.5e-9))
field = df.Field(mesh, dim=3, value=(1, 1, 1))
mag = mag2ex... | 35.370968 | 65 | 0.606931 | 364 | 2,193 | 3.604396 | 0.145604 | 0.021341 | 0.030488 | 0.128049 | 0.849085 | 0.811738 | 0.807165 | 0.807165 | 0.790396 | 0.788872 | 0 | 0.088966 | 0.21067 | 2,193 | 61 | 66 | 35.95082 | 0.668977 | 0.005928 | 0 | 0.64 | 0 | 0 | 0.007346 | 0 | 0 | 0 | 0 | 0 | 0.18 | 1 | 0.1 | false | 0 | 0.08 | 0 | 0.18 | 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 |
314f5772d7061112e5cf78083ec087f87db1427d | 4,688 | py | Python | tests/test_curves.py | PlasmaControl/DESC | 9f1427cbfc6df9e6dfb2407258996dadc6882d1b | [
"MIT"
] | 9 | 2021-07-27T13:12:46.000Z | 2022-03-30T12:28:07.000Z | tests/test_curves.py | PlasmaControl/DESC | 9f1427cbfc6df9e6dfb2407258996dadc6882d1b | [
"MIT"
] | 97 | 2021-06-20T02:42:12.000Z | 2022-03-29T20:54:14.000Z | tests/test_curves.py | ddudt/DESC | 73327a87d60a38c9a74555428da3b8ccace2e92b | [
"MIT"
] | 3 | 2020-11-14T23:25:39.000Z | 2021-05-13T20:05:36.000Z | import numpy as np
import unittest
import pytest
from desc.geometry import FourierRZCurve, FourierXYZCurve, FourierPlanarCurve
from desc.grid import LinearGrid
class TestRZCurve(unittest.TestCase):
def test_length(self):
c = FourierRZCurve()
np.testing.assert_allclose(c.compute_length(grid=20), 1... | 31.046358 | 87 | 0.578285 | 689 | 4,688 | 3.805515 | 0.101597 | 0.10984 | 0.183066 | 0.280702 | 0.85164 | 0.80778 | 0.786423 | 0.713577 | 0.694889 | 0.574752 | 0 | 0.046512 | 0.275384 | 4,688 | 150 | 88 | 31.253333 | 0.725346 | 0 | 0 | 0.619835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31405 | 1 | 0.123967 | false | 0 | 0.041322 | 0 | 0.190083 | 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 |
31771f021b9ad8a3609418ab6f7d13cea73df02a | 1,030 | py | Python | tests/test_stationary.py | drvinceknight/HierarchicalPromotion | 8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3 | [
"MIT"
] | null | null | null | tests/test_stationary.py | drvinceknight/HierarchicalPromotion | 8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3 | [
"MIT"
] | 7 | 2019-10-01T06:47:05.000Z | 2020-11-18T13:10:20.000Z | tests/test_stationary.py | drvinceknight/HierarchicalPromotion | 8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3 | [
"MIT"
] | null | null | null | import numpy as np
import hierarchy as hrcy
def test_stationary():
capacities = [2, 1]
r = 1.1
lmbda = [2, 3]
mu = [[0.2, 0.1], [1.2, 1.1]]
matrix = hrcy.transitions.get_transition_matrix(
capacities=capacities, r=r, lmbda=lmbda, mu=mu
)
pi = hrcy.get_stationary_distribution(
... | 24.52381 | 54 | 0.600971 | 160 | 1,030 | 3.79375 | 0.225 | 0.023064 | 0.138386 | 0.144975 | 0.820428 | 0.820428 | 0.820428 | 0.744646 | 0.744646 | 0.744646 | 0 | 0.05527 | 0.24466 | 1,030 | 41 | 55 | 25.121951 | 0.724936 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 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.