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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43aef9d17ae83dacf3713d6a9ff78d981b0c9174 | 3,247 | py | Python | holoviews/tests/plotting/plotly/test_violinplot.py | TheoMathurin/holoviews | 0defcef994d6dd6d2054f75a0e332d02d121f8b0 | [
"BSD-3-Clause"
] | 864 | 2019-11-13T08:18:27.000Z | 2022-03-31T13:36:13.000Z | holoviews/tests/plotting/plotly/test_violinplot.py | chrinide/holoviews | e1234a60ae0809ac561c204b1998dff0452b2bf0 | [
"BSD-3-Clause"
] | 1,117 | 2019-11-12T16:15:59.000Z | 2022-03-30T22:57:59.000Z | holoviews/tests/plotting/plotly/test_violinplot.py | chrinide/holoviews | e1234a60ae0809ac561c204b1998dff0452b2bf0 | [
"BSD-3-Clause"
] | 180 | 2019-11-19T16:44:44.000Z | 2022-03-28T22:49:18.000Z | import numpy as np
from holoviews.element import Violin
from .test_plot import TestPlotlyPlot
class TestViolinPlot(TestPlotlyPlot):
def test_violin_single(self):
violin = Violin([1, 1, 2, 3, 3, 4, 5, 5])
state = self._get_plot_state(violin)
self.assertEqual(len(state['data']), 1)
... | 49.953846 | 89 | 0.564213 | 451 | 3,247 | 3.993348 | 0.10643 | 0.291505 | 0.344253 | 0.253193 | 0.891172 | 0.854525 | 0.854525 | 0.844531 | 0.828984 | 0.828984 | 0 | 0.047492 | 0.189406 | 3,247 | 64 | 90 | 50.734375 | 0.636778 | 0 | 0 | 0.581818 | 0 | 0 | 0.127194 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.090909 | false | 0 | 0.054545 | 0 | 0.163636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
43bbfbf6d5e30f2885b14a0eb580f9656070d496 | 497 | py | Python | exercises_gustguan/ex108_prog.py | Ewerton12F/Python-Notebook | 85c4d38c35c6063fb475c25ebf4645688ec9dbcb | [
"MIT"
] | null | null | null | exercises_gustguan/ex108_prog.py | Ewerton12F/Python-Notebook | 85c4d38c35c6063fb475c25ebf4645688ec9dbcb | [
"MIT"
] | null | null | null | exercises_gustguan/ex108_prog.py | Ewerton12F/Python-Notebook | 85c4d38c35c6063fb475c25ebf4645688ec9dbcb | [
"MIT"
] | null | null | null | import ex108_func
p = float(input('Digite um valor: R$'))
t = float(input('Digite a taxa: %'))
print(f'O valor R${ex108_func.moeda(p)} aumentado em {t}% é R${ex108_func.moeda(ex108_func.aumentar(p, t))}')
print(f'O valor R${ex108_func.moeda(p)} diminuído em {t}% é R${ex108_func.moeda(ex108_func.diminuir(p, t))}')
pri... | 49.7 | 109 | 0.702213 | 98 | 497 | 3.428571 | 0.265306 | 0.348214 | 0.238095 | 0.357143 | 0.622024 | 0.589286 | 0.589286 | 0.589286 | 0.589286 | 0.255952 | 0 | 0.086475 | 0.092555 | 497 | 9 | 110 | 55.222222 | 0.658537 | 0 | 0 | 0 | 0 | 0.571429 | 0.78672 | 0.521127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
6004373d87598909d3b8d1b88cb604b9ad3c8498 | 18,990 | py | Python | dposfunctions.py | ThamarD/dpos-dashboard | 92a14d73ba34532dd07781dbc0917e0ee88f695e | [
"MIT"
] | null | null | null | dposfunctions.py | ThamarD/dpos-dashboard | 92a14d73ba34532dd07781dbc0917e0ee88f695e | [
"MIT"
] | null | null | null | dposfunctions.py | ThamarD/dpos-dashboard | 92a14d73ba34532dd07781dbc0917e0ee88f695e | [
"MIT"
] | null | null | null | import requests
from dposconfig import *
__author__ = 'dutch_pool'
# #############################################################################
# get_dpos_api_info
# specific for Dpos nodes and their API - Blockchain specific
#
# blockchain: which blochain is this
# node_url: is the base of the API without ... | 42.293987 | 136 | 0.566719 | 2,122 | 18,990 | 4.884543 | 0.102262 | 0.089146 | 0.052002 | 0.054124 | 0.853256 | 0.82711 | 0.799325 | 0.738543 | 0.70246 | 0.674578 | 0 | 0.022654 | 0.297999 | 18,990 | 449 | 137 | 42.293987 | 0.754857 | 0.189047 | 0 | 0.726708 | 0 | 0 | 0.162667 | 0.05241 | 0 | 0 | 0 | 0.002227 | 0 | 1 | 0.02795 | false | 0 | 0.006211 | 0 | 0.276398 | 0.024845 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
60a3d3495c9cf44f7fb1938ed4f043af0237352b | 2,848 | py | Python | src/genie/libs/parser/iosxe/tests/ShowSnmpGroup/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowSnmpGroup/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowSnmpGroup/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
1: {
"groupname": "2c",
"sec_model": "v1",
"contextname": "none",
"storage_type": "volatile",
"readview": "none",
"writeview": "none",
"notifyview": "*tv.FFFF58bf.eaFF58bf.eaFFFFFF.F",
"row_status": {"status": "active"},
},
... | 28.767677 | 74 | 0.477528 | 236 | 2,848 | 5.627119 | 0.216102 | 0.060241 | 0.112952 | 0.158133 | 0.931476 | 0.871235 | 0.810241 | 0.810241 | 0.795934 | 0.631777 | 0 | 0.025562 | 0.313202 | 2,848 | 98 | 75 | 29.061224 | 0.653374 | 0 | 0 | 0.704082 | 0 | 0 | 0.479284 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
60c77d3e771ca5afd6b1d67307b85d84515e25f8 | 9,691 | py | Python | sql/tests/private_reader/test_pre_aggregated.py | AprilXiaoyanLiu/whitenoise-system | 0e94d2cc8114b97a61d5d2e45278428f91f1e687 | [
"MIT"
] | 63 | 2020-03-26T15:26:10.000Z | 2020-10-22T06:26:38.000Z | sql/tests/private_reader/test_pre_aggregated.py | AprilXiaoyanLiu/whitenoise-system | 0e94d2cc8114b97a61d5d2e45278428f91f1e687 | [
"MIT"
] | 87 | 2021-02-20T20:43:49.000Z | 2022-03-31T16:24:46.000Z | sql/tests/private_reader/test_pre_aggregated.py | AprilXiaoyanLiu/whitenoise-system | 0e94d2cc8114b97a61d5d2e45278428f91f1e687 | [
"MIT"
] | 17 | 2021-02-18T18:47:09.000Z | 2022-03-01T06:44:17.000Z | from snsql import *
import pandas as pd
import numpy as np
privacy = Privacy(epsilon=3.0, delta=0.1)
class TestPreAggregatedSuccess:
# Test input checks for pre_aggregated
def test_list_success(self, test_databases):
# pass in properly formatted list
pre_aggregated = [
('keycount'... | 38.153543 | 105 | 0.568775 | 1,113 | 9,691 | 4.774483 | 0.082659 | 0.185924 | 0.042153 | 0.068498 | 0.949003 | 0.945051 | 0.945051 | 0.945051 | 0.934513 | 0.910049 | 0 | 0.038933 | 0.326798 | 9,691 | 253 | 106 | 38.304348 | 0.775598 | 0.06181 | 0 | 0.779279 | 0 | 0.054054 | 0.173798 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.054054 | false | 0 | 0.013514 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
60d3c8cf681af84481aa1d7d9e45c71542758830 | 165 | py | Python | src/simple_pydb/types.py | CZUBIX/simple-pydb | 443f6521343815cf4359acde54f33fddede1962e | [
"MIT"
] | 1 | 2021-03-16T19:14:10.000Z | 2021-03-16T19:14:10.000Z | src/simple_pydb/types.py | CZUBIX/simple-pydb | 443f6521343815cf4359acde54f33fddede1962e | [
"MIT"
] | null | null | null | src/simple_pydb/types.py | CZUBIX/simple-pydb | 443f6521343815cf4359acde54f33fddede1962e | [
"MIT"
] | null | null | null | class Empty:
def __init__(self, *args, **kwargs):
pass
def __repr__(self):
return "Empty"
def __str__(self):
return "Empty" | 23.571429 | 41 | 0.545455 | 18 | 165 | 4.333333 | 0.611111 | 0.205128 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.339394 | 165 | 7 | 42 | 23.571429 | 0.715596 | 0 | 0 | 0.285714 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
60eec198114a3176c001c3a3c42f03f036d72de7 | 468 | py | Python | scrapy_test/db.py | codetin/bcy_img | 3c1bb2aef138a45e8c8c2f00e6d22d82c5712cd8 | [
"Apache-2.0"
] | null | null | null | scrapy_test/db.py | codetin/bcy_img | 3c1bb2aef138a45e8c8c2f00e6d22d82c5712cd8 | [
"Apache-2.0"
] | null | null | null | scrapy_test/db.py | codetin/bcy_img | 3c1bb2aef138a45e8c8c2f00e6d22d82c5712cd8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import pymysql
#每日数据抓取的连接配置,不用修改
def db_conn():
conn = pymysql.connect(
host = "databro.cn",
user = "root",
passwd = "capcom",
charset = "utf8",
use_unicode = False
)
return conn
#微站的数据库连接配置
def web_conn():
conn = pymysql.connect(
... | 19.5 | 28 | 0.523504 | 48 | 468 | 5.020833 | 0.541667 | 0.06639 | 0.124481 | 0.182573 | 0.755187 | 0.755187 | 0.755187 | 0.755187 | 0.755187 | 0.755187 | 0 | 0.009772 | 0.344017 | 468 | 24 | 29 | 19.5 | 0.775244 | 0.100427 | 0 | 0.736842 | 0 | 0 | 0.114833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.105263 | 0.052632 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
715dab6a76775a5e8458c3eff1a9ba02edbb003c | 27 | py | Python | Chapter 04/ch41q.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch41q.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch41q.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print(50^2>>8+20<<3)
# 50 | 13.5 | 22 | 0.518519 | 7 | 27 | 2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.391304 | 0.148148 | 27 | 2 | 23 | 13.5 | 0.217391 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
71a7dcc06fea55a3821522e238c5b769c754e188 | 146 | py | Python | rfml/nbutils/__init__.py | AlexeyReshetnyak/rfml | 99ae3af822a037eb2757d6efadd25eb35a50c2b2 | [
"BSD-3-Clause"
] | 61 | 2019-11-19T03:53:54.000Z | 2022-03-26T15:57:47.000Z | rfml/nbutils/__init__.py | AlexeyReshetnyak/rfml | 99ae3af822a037eb2757d6efadd25eb35a50c2b2 | [
"BSD-3-Clause"
] | 2 | 2020-12-08T10:07:21.000Z | 2021-02-24T00:29:15.000Z | rfml/nbutils/__init__.py | AlexeyReshetnyak/rfml | 99ae3af822a037eb2757d6efadd25eb35a50c2b2 | [
"BSD-3-Clause"
] | 30 | 2019-12-03T13:43:22.000Z | 2022-03-26T15:57:59.000Z | from .data import generate_dataset
from .plot import plot_acc_vs_snr, plot_acc_vs_spr, plot_confusion, plot_convergence
from .plot import plot_IQ
| 36.5 | 84 | 0.856164 | 25 | 146 | 4.6 | 0.52 | 0.13913 | 0.243478 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 146 | 3 | 85 | 48.666667 | 0.877863 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
e082b633539a3caec1aae581426674eb599cf100 | 113 | py | Python | castanea/image.py | YusukeSuzuki/castanea | ff9a689dda4037fdebce20829dca453a04c26c64 | [
"MIT"
] | null | null | null | castanea/image.py | YusukeSuzuki/castanea | ff9a689dda4037fdebce20829dca453a04c26c64 | [
"MIT"
] | null | null | null | castanea/image.py | YusukeSuzuki/castanea | ff9a689dda4037fdebce20829dca453a04c26c64 | [
"MIT"
] | null | null | null | import tensorflow as tf
def rgb_to_yuv(image, name=None):
pass
def yuv_to_rgb(image, name=None):
pass
| 12.555556 | 33 | 0.707965 | 20 | 113 | 3.8 | 0.6 | 0.236842 | 0.342105 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20354 | 113 | 8 | 34 | 14.125 | 0.844444 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
e0b9fc09c637237f3bbe4065d87dd106a716c5e4 | 3,110 | py | Python | course_flow/migrations/0063_auto_20210728_2238.py | SALTISES4/CourseFlow | a55b5966acd6babf688224ec2f57b2ff59545272 | [
"Apache-2.0"
] | null | null | null | course_flow/migrations/0063_auto_20210728_2238.py | SALTISES4/CourseFlow | a55b5966acd6babf688224ec2f57b2ff59545272 | [
"Apache-2.0"
] | 2 | 2021-04-20T17:38:27.000Z | 2021-12-12T21:38:27.000Z | course_flow/migrations/0063_auto_20210728_2238.py | SALTISES4/CourseFlow | a55b5966acd6babf688224ec2f57b2ff59545272 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.20 on 2021-07-28 22:38
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("course_flow", "0062_auto_20210721_1733"),
]
operations = [
migrations.RemoveField(model_name="nodelink", name=... | 34.175824 | 79 | 0.589711 | 282 | 3,110 | 6.375887 | 0.191489 | 0.097887 | 0.169077 | 0.241935 | 0.767519 | 0.767519 | 0.767519 | 0.767519 | 0.767519 | 0.767519 | 0 | 0.014619 | 0.296141 | 3,110 | 90 | 80 | 34.555556 | 0.806761 | 0.014791 | 0 | 0.714286 | 1 | 0 | 0.112671 | 0.01437 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.059524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e0c10d0e335ac4f9d4206cf5f679170ea6695abf | 1,903 | py | Python | phonopy-spectro/preparation.py | ZeliangSu/VaspRoutine | dacc31e8f48a841e98f6b6ef0ceafa0fe96a2b31 | [
"BSD-3-Clause"
] | null | null | null | phonopy-spectro/preparation.py | ZeliangSu/VaspRoutine | dacc31e8f48a841e98f6b6ef0ceafa0fe96a2b31 | [
"BSD-3-Clause"
] | null | null | null | phonopy-spectro/preparation.py | ZeliangSu/VaspRoutine | dacc31e8f48a841e98f6b6ef0ceafa0fe96a2b31 | [
"BSD-3-Clause"
] | null | null | null | import os
import subprocess
import shutil
#subprocess.run('phonopy -d --dim="1 2 1"', shell=True, check=True)
#subprocess.run('phonopy --dim="1 2 1" --readfc --hdf5 --fc-symmetry --mesh="1 1 1" --eigenvectors"', shell=True, check=True)
#subprocess.run('phonopy --dim="1 2 1" --readfc --hdf5 --fc-symmetry --irreps="0 0 ... | 50.078947 | 125 | 0.649501 | 304 | 1,903 | 3.934211 | 0.184211 | 0.130435 | 0.200669 | 0.170569 | 0.797659 | 0.797659 | 0.797659 | 0.797659 | 0.797659 | 0.797659 | 0 | 0.018939 | 0.16763 | 1,903 | 37 | 126 | 51.432432 | 0.736111 | 0.396217 | 0 | 0.434783 | 0 | 0 | 0.11775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0fc35f30ddb1c7a9c708981977b45a127b5caf8 | 10,923 | py | Python | DQM/EcalMonitorTasks/python/SelectiveReadoutTask_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/EcalMonitorTasks/python/SelectiveReadoutTask_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/EcalMonitorTasks/python/SelectiveReadoutTask_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
dccSizeBinEdges = []
for i in range(11) :
dccSizeBinEdges.append(0.608 / 10. * i)
for i in range(11, 79) :
dccSizeBinEdges.append(0.608 * (i - 10.))
ecalSelectiveReadoutTask = cms.untracked.PSet(
params = cms.untracked.PSet(
DCCZS1stSample = cms.untracked.i... | 54.074257 | 150 | 0.588849 | 1,166 | 10,923 | 5.516295 | 0.120926 | 0.300373 | 0.282649 | 0.05597 | 0.856343 | 0.843284 | 0.833333 | 0.824782 | 0.818874 | 0.818874 | 0 | 0.021854 | 0.275291 | 10,923 | 201 | 151 | 54.343284 | 0.790677 | 0 | 0 | 0.638191 | 0 | 0.060302 | 0.2611 | 0.096402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005025 | 0 | 0.005025 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
e0ff1bb8080398105522d0d7b0858642b897556a | 17 | py | Python | hello.py | pipixia-womenzou/Go | 9f3b40c74eb09ebabe2245145f70b56d7bff2ae2 | [
"Apache-2.0"
] | null | null | null | hello.py | pipixia-womenzou/Go | 9f3b40c74eb09ebabe2245145f70b56d7bff2ae2 | [
"Apache-2.0"
] | null | null | null | hello.py | pipixia-womenzou/Go | 9f3b40c74eb09ebabe2245145f70b56d7bff2ae2 | [
"Apache-2.0"
] | null | null | null |
print(1,2,3)
| 2.833333 | 12 | 0.470588 | 4 | 17 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.294118 | 17 | 5 | 13 | 3.4 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
1cbe956403be262c5db3d21b9834647ee81d558b | 5,727 | py | Python | accelbyte_py_sdk/api/group/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/group/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/group/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
"""Auto-generated package that contains models used b... | 52.541284 | 84 | 0.903265 | 882 | 5,727 | 5.21542 | 0.105442 | 0.133043 | 0.102826 | 0.118261 | 0.926522 | 0.925435 | 0.924348 | 0.871304 | 0.642826 | 0.368913 | 0 | 0.018093 | 0.073511 | 5,727 | 108 | 85 | 53.027778 | 0.84885 | 0.063209 | 0 | 0 | 1 | 0 | 0.005978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.967033 | 0 | 0.967033 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1cbfd3b2a9ea44bc85aee6add02610645efce7d0 | 41 | py | Python | my_package/FilterInterpolation/__init__.py | JamesPerlman/Dain-App | f589abdca8309cfdb6dd106da7c7c4613d152c72 | [
"MIT"
] | 7,517 | 2019-03-25T01:04:47.000Z | 2022-03-31T06:40:51.000Z | my_package/FilterInterpolation/__init__.py | JamesPerlman/Dain-App | f589abdca8309cfdb6dd106da7c7c4613d152c72 | [
"MIT"
] | 138 | 2019-04-04T07:06:32.000Z | 2022-03-31T18:32:07.000Z | my_package/FilterInterpolation/__init__.py | JamesPerlman/Dain-App | f589abdca8309cfdb6dd106da7c7c4613d152c72 | [
"MIT"
] | 848 | 2019-03-25T01:05:05.000Z | 2022-03-31T10:01:48.000Z | from .FilterInterpolationModule import *
| 20.5 | 40 | 0.853659 | 3 | 41 | 11.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 7 |
1ce67852b2a936dafb16e5c0b640091581956dac | 1,863 | py | Python | src/quocspyside2interface/logic/utilities/readjson.py | Quantum-OCS/QuOCS-pyside2interface | 69436666a67da6884aed1ddd087b7062dcd2ad90 | [
"Apache-2.0"
] | 1 | 2021-03-27T17:41:16.000Z | 2021-03-27T17:41:16.000Z | src/quocspyside2interface/logic/utilities/readjson.py | Quantum-OCS/QuOCS-pyside2interface | 69436666a67da6884aed1ddd087b7062dcd2ad90 | [
"Apache-2.0"
] | null | null | null | src/quocspyside2interface/logic/utilities/readjson.py | Quantum-OCS/QuOCS-pyside2interface | 69436666a67da6884aed1ddd087b7062dcd2ad90 | [
"Apache-2.0"
] | null | null | null | # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2021- QuOCS Team
#
# 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://ww... | 38.8125 | 90 | 0.612453 | 238 | 1,863 | 4.768908 | 0.382353 | 0.105727 | 0.045815 | 0.056388 | 0.73304 | 0.73304 | 0.73304 | 0.73304 | 0.73304 | 0.73304 | 0 | 0.009315 | 0.193237 | 1,863 | 47 | 91 | 39.638298 | 0.745842 | 0.809984 | 0 | 0 | 0 | 0 | 0.003311 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1cea4c9c2fe4f9e90ef8cd4cfb930bfadf15010c | 19,318 | py | Python | src/binned/deposit.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 6 | 2018-10-02T18:51:26.000Z | 2021-03-13T02:23:24.000Z | src/binned/deposit.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 6 | 2017-08-01T22:27:28.000Z | 2019-12-20T08:34:48.000Z | src/binned/deposit.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 8 | 2017-07-01T22:19:09.000Z | 2022-02-01T21:02:31.000Z | import sys, os
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "gen"))
from utils import *
from dataTypes import *
from vectorizations import *
from generate import *
from scripts import terminal
import config
import itertools
#SUM_WIDTH = number of binned sums used at once
#PIPE_WIDTH = ... | 56.156977 | 289 | 0.688425 | 3,046 | 19,318 | 4.060735 | 0.055811 | 0.117875 | 0.029833 | 0.052227 | 0.813647 | 0.78527 | 0.764007 | 0.739025 | 0.720754 | 0.706282 | 0 | 0.010954 | 0.158816 | 19,318 | 343 | 290 | 56.3207 | 0.750215 | 0.023294 | 0 | 0.534426 | 1 | 0.003279 | 0.067985 | 0.028 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059016 | false | 0 | 0.02623 | 0.003279 | 0.101639 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
08fcafbea55bee4245c007420c97077dc0100a9b | 381,793 | py | Python | gc3_query/var/scratchpad/beta_01/r_result_json.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | gc3_query/var/scratchpad/beta_01/r_result_json.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | gc3_query/var/scratchpad/beta_01/r_result_json.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | r_result_json = {
'result': [{
'dst_is_ip':
'false',
'src_is_ip':
'true',
'dst_list':
'seclist:/Compute-587626604/mayurnath.gokare@oracle.com/paas/SOA/gc3ntagrogr605/lb/ora_otd_infraadmin',
'name':
'/Compute-587626604/mayurnath.gokare@o... | 41.070676 | 189 | 0.591022 | 41,269 | 381,793 | 5.328746 | 0.053212 | 0.113936 | 0.043508 | 0.079686 | 0.938189 | 0.937502 | 0.935915 | 0.932082 | 0.929535 | 0.925866 | 0 | 0.114181 | 0.267388 | 381,793 | 9,295 | 190 | 41.075094 | 0.672045 | 0 | 0 | 0.840559 | 0 | 0.148144 | 0.662681 | 0.369098 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c04e80d98b145b358494655e7ea1048ebb84140 | 124 | py | Python | npweb/context_processors.py | ninepints/npweb | ff196586fa106757d7932b817cb830893a308d85 | [
"MIT"
] | null | null | null | npweb/context_processors.py | ninepints/npweb | ff196586fa106757d7932b817cb830893a308d85 | [
"MIT"
] | 1 | 2017-10-23T19:01:54.000Z | 2017-10-24T10:21:41.000Z | npweb/context_processors.py | ninepints/npweb | ff196586fa106757d7932b817cb830893a308d85 | [
"MIT"
] | 1 | 2017-10-23T11:28:33.000Z | 2017-10-23T11:28:33.000Z | from django.conf import settings
def analytics(request):
return {'google_analytics_id': settings.GOOGLE_ANALYTICS_ID}
| 20.666667 | 64 | 0.798387 | 16 | 124 | 5.9375 | 0.6875 | 0.315789 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 65 | 24.8 | 0.87156 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
1c5e3954842c5836fc3b2549502ec7078e560d81 | 13,963 | py | Python | Deployment/graduation.py | ArtificialIfElse/AIC-COMPFEST13 | 4688019c28714ec539d08f732ea7ab0e7175a0cc | [
"MIT"
] | 3 | 2021-09-01T09:56:04.000Z | 2021-09-16T22:04:49.000Z | Deployment/graduation.py | ArtificialIfElse/AIC-COMPFEST13 | 4688019c28714ec539d08f732ea7ab0e7175a0cc | [
"MIT"
] | null | null | null | Deployment/graduation.py | ArtificialIfElse/AIC-COMPFEST13 | 4688019c28714ec539d08f732ea7ab0e7175a0cc | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template, jsonify, request
import pickle
graduation = Blueprint('graduation',__name__)
# bachelor
model_graduation_bachelor_fifth = pickle.load(open("model/graduation/bachelor/Semester5.pkl", "rb"))
model_graduation_bachelor_sixth = pickle.load(open("model/graduation/bachelor/S... | 32.321759 | 126 | 0.605672 | 1,408 | 13,963 | 5.840909 | 0.082386 | 0.048152 | 0.069309 | 0.035019 | 0.899684 | 0.868799 | 0.834266 | 0.793166 | 0.710725 | 0.67838 | 0 | 0.016888 | 0.270572 | 13,963 | 432 | 127 | 32.321759 | 0.790574 | 0.004297 | 0 | 0.715068 | 0 | 0 | 0.26101 | 0.068797 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041096 | false | 0 | 0.005479 | 0 | 0.120548 | 0.008219 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1c680abd421f138c82797aa28b83d21bc3952f25 | 9,803 | py | Python | mahjong/hand_calculating/tests/tests_scores_calculation.py | Enerccio/mahjong | 903505a7886c31845dfa6b3f54c936a4feb29e6e | [
"MIT"
] | null | null | null | mahjong/hand_calculating/tests/tests_scores_calculation.py | Enerccio/mahjong | 903505a7886c31845dfa6b3f54c936a4feb29e6e | [
"MIT"
] | null | null | null | mahjong/hand_calculating/tests/tests_scores_calculation.py | Enerccio/mahjong | 903505a7886c31845dfa6b3f54c936a4feb29e6e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from mahjong.constants import EAST
from mahjong.hand_calculating.hand_config import HandConfig, OptionalRules
from mahjong.hand_calculating.scores import ScoresCalculator
class ScoresCalculationTestCase(unittest.TestCase):
def test_calculate_scores_and_ron(self):
... | 40.341564 | 122 | 0.665409 | 1,194 | 9,803 | 5.376884 | 0.078727 | 0.205607 | 0.28785 | 0.237539 | 0.947975 | 0.940966 | 0.91215 | 0.883956 | 0.883956 | 0.877726 | 0 | 0.073087 | 0.196062 | 9,803 | 242 | 123 | 40.508264 | 0.74153 | 0.002142 | 0 | 0.747059 | 0 | 0 | 0.052556 | 0 | 0 | 0 | 0 | 0 | 0.517647 | 1 | 0.029412 | false | 0 | 0.023529 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
98c4fa67e8e4a992acc64fd2c5b2a870a6859417 | 7,999 | py | Python | tests/unit/test_purge_snapshots.py | amplifylitco/asiaq | a1a292f6e9cbf32a30242405e4947b17910e5369 | [
"BSD-2-Clause"
] | 27 | 2016-03-08T16:50:22.000Z | 2018-11-26T06:33:25.000Z | tests/unit/test_purge_snapshots.py | amplifylitco/asiaq | a1a292f6e9cbf32a30242405e4947b17910e5369 | [
"BSD-2-Clause"
] | 202 | 2016-03-08T17:13:08.000Z | 2019-02-01T00:49:06.000Z | tests/unit/test_purge_snapshots.py | amplify-education/asiaq | fb6004bc4da0acef40e7bc18b148db4f72fa2f32 | [
"BSD-2-Clause"
] | 2 | 2016-03-17T18:52:37.000Z | 2016-10-06T20:36:37.000Z | """Tests disco_purge_snapshots"""
from unittest import TestCase
import datetime
import random
import sys
import pytz
from mock import patch, MagicMock
from bin.disco_purge_snapshots import run
# the current date to use for tests
NOW_MOCK = datetime.datetime(2016, 1, 14, 0, 0, 0, tzinfo=pytz.UTC)
class DiscoPurgeSn... | 51.275641 | 104 | 0.650331 | 1,064 | 7,999 | 4.696429 | 0.119361 | 0.145687 | 0.162097 | 0.18251 | 0.772463 | 0.772463 | 0.760456 | 0.760456 | 0.760056 | 0.760056 | 0 | 0.052221 | 0.214777 | 7,999 | 155 | 105 | 51.606452 | 0.743353 | 0.045881 | 0 | 0.585938 | 0 | 0 | 0.12146 | 0.072586 | 0 | 0 | 0 | 0 | 0.421875 | 1 | 0.078125 | false | 0 | 0.054688 | 0 | 0.164063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c76af7f25398a56e4a465ca177942c30fd940809 | 3,778 | py | Python | AtC_Beg_Con_111-120/ABC114/C.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Beg_Con_111-120/ABC114/C.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Beg_Con_111-120/ABC114/C.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | n = int(input())
d = len(str(n)) - 1
k = str(n)
j = int(k[0])
count = 1
co = 0
for i9 in range(3, 8, 2):
for i8 in range(3, 8, 2):
for i7 in range(3, 8, 2):
for i6 in range(3, 8, 2):
for i5 in range(3, 8, 2):
for i4 in range(3, 8, 2):
f... | 36.679612 | 136 | 0.336157 | 601 | 3,778 | 2.113145 | 0.064892 | 0.24252 | 0.270866 | 0.297638 | 0.86378 | 0.86378 | 0.855906 | 0.847244 | 0.837008 | 0.825197 | 0 | 0.163276 | 0.505559 | 3,778 | 102 | 137 | 37.039216 | 0.516595 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.012987 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 11 |
c7ca3fe882c6096d4e27e916e2ac75cd8839bce9 | 15,035 | py | Python | ctc_model.py | Amadeus-Winarto/tf-deep-omr | 690fcfc2d603377db1ee3df9408d61823a70a5ff | [
"MIT"
] | 1 | 2021-05-13T13:41:40.000Z | 2021-05-13T13:41:40.000Z | ctc_model.py | Amadeus-Winarto/tf-deep-omr | 690fcfc2d603377db1ee3df9408d61823a70a5ff | [
"MIT"
] | null | null | null | ctc_model.py | Amadeus-Winarto/tf-deep-omr | 690fcfc2d603377db1ee3df9408d61823a70a5ff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Jun 16 00:27:59 2019
@author: amade
"""
import tensorflow as tf
from tensorflow.python.framework import ops
from tensorflow.python.ops import math_ops
def leaky_relu(features, alpha=0.2, name=None):
with ops.name_scope(name, "LeakyRelu", [features, alpha]):
... | 43.961988 | 157 | 0.630861 | 1,960 | 15,035 | 4.668367 | 0.096939 | 0.071913 | 0.13071 | 0.119344 | 0.862514 | 0.850601 | 0.841202 | 0.83082 | 0.83082 | 0.83082 | 0 | 0.028643 | 0.229066 | 15,035 | 342 | 158 | 43.961988 | 0.760763 | 0.09438 | 0 | 0.720648 | 0 | 0 | 0.07226 | 0 | 0 | 0 | 0 | 0.002924 | 0 | 1 | 0.020243 | false | 0 | 0.012146 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1bdd6cba915315cfba5b8a274ff1a63b313b9eea | 181 | py | Python | pgcom/__init__.py | viktorsapozhok/pgcom | 8cc1ce0b590826ec915d6b887408a13f8e8f6d06 | [
"MIT"
] | null | null | null | pgcom/__init__.py | viktorsapozhok/pgcom | 8cc1ce0b590826ec915d6b887408a13f8e8f6d06 | [
"MIT"
] | 13 | 2020-01-17T23:37:39.000Z | 2021-03-11T15:30:06.000Z | pgcom/__init__.py | viktorsapozhok/pgcom | 8cc1ce0b590826ec915d6b887408a13f8e8f6d06 | [
"MIT"
] | null | null | null | from .connector import * # noqa: F401, F403
from .commuter import * # noqa: F401, F403
from .listener import * # noqa: F401, F403
from .version import __version__ # noqa: F401
| 30.166667 | 46 | 0.701657 | 24 | 181 | 5.125 | 0.375 | 0.260163 | 0.341463 | 0.439024 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 0.198895 | 181 | 5 | 47 | 36.2 | 0.703448 | 0.337017 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
1bde6785d66cdcf142e6f7726ae53771c863c866 | 299 | py | Python | stocker/stock_exceptions.py | aljazmedic/stock-prediction | 5eb2c63c93ef44e51500dbfc2255d7d035e6b6dd | [
"MIT"
] | 1 | 2021-08-02T11:55:33.000Z | 2021-08-02T11:55:33.000Z | stocker/stock_exceptions.py | aljazmedic/stock-prediction | 5eb2c63c93ef44e51500dbfc2255d7d035e6b6dd | [
"MIT"
] | null | null | null | stocker/stock_exceptions.py | aljazmedic/stock-prediction | 5eb2c63c93ef44e51500dbfc2255d7d035e6b6dd | [
"MIT"
] | null | null | null |
class FundNameException(BaseException): pass
class FundOutFileNameException(BaseException): pass
class FundNotFoundException(BaseException): pass
class StockInformationMissingException(BaseException): pass
class StockCandleInformatinMissingException(StockInformationMissingException): pass | 19.933333 | 83 | 0.869565 | 20 | 299 | 13 | 0.4 | 0.261538 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080268 | 299 | 15 | 83 | 19.933333 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
401bc5b2ba4468d3f5f39cca9e97bc51d157bc8e | 6,009 | py | Python | gcn/models_gcn.py | ds4dm/GraphRL | b5b1519f6dd92b401625d51add9ae5829004a30b | [
"MIT"
] | 2 | 2021-02-26T18:51:01.000Z | 2021-07-12T05:20:18.000Z | gcn/models_gcn.py | pandat8/GraphRL | b5b1519f6dd92b401625d51add9ae5829004a30b | [
"MIT"
] | 3 | 2019-05-09T20:59:10.000Z | 2020-05-13T14:03:50.000Z | gcn/models_gcn.py | pandat8/GraphRL | b5b1519f6dd92b401625d51add9ae5829004a30b | [
"MIT"
] | 3 | 2018-08-13T20:43:29.000Z | 2020-05-13T14:00:57.000Z | import torch.nn as nn
import torch.nn.functional as F
from gcn.layers_gcn import GraphConvolutionLayer, GraphConvolutionLayer_Sparse, GraphAttentionConvLayer
class GCN_Policy_SelectNode(nn.Module):
"""
GCN model for node selection policy
"""
def __init__(self, nin, nhidden, nout, dropout):
su... | 35.347059 | 103 | 0.654685 | 689 | 6,009 | 5.56894 | 0.088534 | 0.071931 | 0.093041 | 0.104248 | 0.954652 | 0.94944 | 0.946052 | 0.937712 | 0.937712 | 0.894709 | 0 | 0.006664 | 0.25079 | 6,009 | 169 | 104 | 35.556213 | 0.845624 | 0.258945 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141176 | false | 0 | 0.035294 | 0 | 0.317647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40219dec0c4127e273b6bf3c8f1d32187cd0ab1f | 9,927 | py | Python | tests/test_inventory.py | thetestgame/wecs | 16ac277ec96d7689e7b5c9c245c0f81d57c955bb | [
"BSD-3-Clause"
] | 13 | 2019-06-18T22:05:53.000Z | 2021-11-29T21:43:23.000Z | tests/test_inventory.py | thetestgame/wecs | 16ac277ec96d7689e7b5c9c245c0f81d57c955bb | [
"BSD-3-Clause"
] | 21 | 2019-12-31T10:11:05.000Z | 2020-11-01T23:00:24.000Z | tests/test_inventory.py | thetestgame/wecs | 16ac277ec96d7689e7b5c9c245c0f81d57c955bb | [
"BSD-3-Clause"
] | 6 | 2019-09-30T20:49:40.000Z | 2020-11-10T01:31:55.000Z | import pytest
from fixtures import world
from wecs.core import UID
from wecs.core import NoSuchUID
from wecs.rooms import Room
from wecs.rooms import RoomPresence
from wecs.rooms import PerceiveRoom
from wecs.inventory import Inventory
from wecs.inventory import Takeable
from wecs.inventory import TakeAction
from wec... | 28.444126 | 90 | 0.697592 | 1,208 | 9,927 | 5.479305 | 0.056291 | 0.058015 | 0.101526 | 0.117843 | 0.891827 | 0.844538 | 0.839855 | 0.801783 | 0.784409 | 0.758574 | 0 | 0.005981 | 0.191599 | 9,927 | 348 | 91 | 28.525862 | 0.818816 | 0 | 0 | 0.716312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 1 | 0.078014 | false | 0 | 0.074468 | 0.007092 | 0.159574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
403af486715649b958ff9894136482c47e5c59e2 | 16,474 | py | Python | cms/tests/menu_page_viewperm_staff.py | lenciel/django-cms | 4652aa45344a2a54a36df65b954585df11ff6967 | [
"BSD-3-Clause"
] | 1 | 2019-09-21T01:55:52.000Z | 2019-09-21T01:55:52.000Z | cms/tests/menu_page_viewperm_staff.py | adaptivelogic/django-cms | b7a58b9700755c35b40c145ea81c5bad81271c61 | [
"BSD-3-Clause"
] | null | null | null | cms/tests/menu_page_viewperm_staff.py | adaptivelogic/django-cms | b7a58b9700755c35b40c145ea81c5bad81271c61 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import with_statement
from cms.tests.menu_page_viewperm import ViewPermissionTests
from django.contrib.auth.models import User
class ViewPermissionComplexMenuStaffNodeTests(ViewPermissionTests):
"""
Test CMS_PUBLIC_FOR=staff group access and menu nodes rendering
... | 43.582011 | 93 | 0.608899 | 2,152 | 16,474 | 4.261152 | 0.042751 | 0.103599 | 0.110142 | 0.070774 | 0.943184 | 0.942639 | 0.933806 | 0.896183 | 0.864886 | 0.84711 | 0 | 0.003317 | 0.267937 | 16,474 | 377 | 94 | 43.697613 | 0.757048 | 0.077395 | 0 | 0.791096 | 0 | 0 | 0.20095 | 0.04403 | 0 | 0 | 0 | 0 | 0.407534 | 1 | 0.041096 | false | 0 | 0.010274 | 0 | 0.058219 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
403e616580fbf6a6b2609531121b7799059c436e | 105 | py | Python | func_tests/config.py | 5nizza/sdf | 615bc3aaf6179ecab6c9bee6f2759d762e775ae9 | [
"MIT"
] | 2 | 2016-08-04T07:23:09.000Z | 2019-11-04T13:03:31.000Z | func_tests/config.py | 5nizza/SDF | 615bc3aaf6179ecab6c9bee6f2759d762e775ae9 | [
"MIT"
] | null | null | null | func_tests/config.py | 5nizza/SDF | 615bc3aaf6179ecab6c9bee6f2759d762e775ae9 | [
"MIT"
] | null | null | null | TOOL_EXEC="/home/ayrat/projects/sdf/my-build/src/sdf-opt"
IIMC_EXEC="/home/ayrat/projects/iimc-2.0/iimc"
| 35 | 57 | 0.771429 | 20 | 105 | 3.95 | 0.65 | 0.202532 | 0.329114 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.019048 | 105 | 2 | 58 | 52.5 | 0.747573 | 0 | 0 | 0 | 0 | 0 | 0.752381 | 0.752381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
40ac44f82c1c4e657fc288812bb63255fa21f974 | 29,941 | py | Python | pyVHDLParser/Blocks/Expression.py | Xiretza/pyVHDLParser | 23ddd633b45f68967fbfa860e1d04fd6d0aa4659 | [
"Apache-2.0"
] | 55 | 2016-09-21T15:11:21.000Z | 2022-03-08T11:14:38.000Z | pyVHDLParser/Blocks/Expression.py | Xiretza/pyVHDLParser | 23ddd633b45f68967fbfa860e1d04fd6d0aa4659 | [
"Apache-2.0"
] | 27 | 2017-04-01T13:47:16.000Z | 2022-01-17T14:37:16.000Z | pyVHDLParser/Blocks/Expression.py | Xiretza/pyVHDLParser | 23ddd633b45f68967fbfa860e1d04fd6d0aa4659 | [
"Apache-2.0"
] | 15 | 2016-10-18T22:25:24.000Z | 2021-12-01T18:04:33.000Z | # ==============================================================================
# Authors: Patrick Lehmann
#
# Python functions: A streaming VHDL parser
#
# Description:
# ------------------------------------
# TODO:
#
# License:
# =========================================================================... | 44.030882 | 165 | 0.724224 | 2,632 | 29,941 | 8.191489 | 0.083207 | 0.103989 | 0.047588 | 0.060297 | 0.884601 | 0.8718 | 0.870918 | 0.861827 | 0.860297 | 0.858071 | 0 | 0.003241 | 0.175679 | 29,941 | 679 | 166 | 44.095729 | 0.870305 | 0.037207 | 0 | 0.883987 | 0 | 0 | 0.031464 | 0 | 0 | 0 | 0 | 0.001473 | 0 | 1 | 0.014706 | false | 0 | 0.026144 | 0 | 0.223856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40e325fa378c292adcb9265a6a2de14f245e1fc8 | 10,111 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/modify/interface/iosxe/modify.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/modify/interface/iosxe/modify.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/modify/interface/iosxe/modify.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''Implementation for interface modify triggers'''
# Genie Libs
from genie.libs.sdk.libs.utils.mapping import Mapping
from genie.libs.sdk.triggers.modify.modify import TriggerModify
# import python
from functools import partial
# Which key to exclude for Interface Ops comparison
interface_exclude = ['maker', 'last_c... | 59.128655 | 133 | 0.477005 | 928 | 10,111 | 5.12069 | 0.220905 | 0.031566 | 0.037879 | 0.022727 | 0.815446 | 0.805345 | 0.775884 | 0.758207 | 0.758207 | 0.738426 | 0 | 0.01248 | 0.437345 | 10,111 | 170 | 134 | 59.476471 | 0.822816 | 0.045 | 0 | 0.70073 | 0 | 0 | 0.731576 | 0.030828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021898 | 0 | 0.065693 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
40e8a45efe031b68bf1c1c62927e61df38ef012c | 33,687 | py | Python | pymatflow/qe/post/pdos.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/qe/post/pdos.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/qe/post/pdos.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | #!/usr/bin/env python
# _*_ coding: utf-8 _*_
import os
import sys
import numpy as np
import matplotlib.pyplot as plt
class PdosOut:
"""
"""
def __init__(self):
self.data = {} # contain the pdos data but not the tdos
self.tdos = None
self.energies = None
... | 47.048883 | 240 | 0.533411 | 4,325 | 33,687 | 4.058728 | 0.065896 | 0.040561 | 0.017432 | 0.029224 | 0.932437 | 0.907656 | 0.879002 | 0.849151 | 0.843796 | 0.837359 | 0 | 0.017397 | 0.314068 | 33,687 | 715 | 241 | 47.114685 | 0.742286 | 0.155728 | 0 | 0.80622 | 0 | 0 | 0.210032 | 0.108758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.004785 | 0.009569 | 0 | 0.08134 | 0.064593 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40f9dca8fb7a85c3e3b5f648df725e34d5a09e4d | 54,855 | py | Python | spoonacular/com/spoonacular/products_api.py | Lowe-Man/spoonacular-python-api | c5522abdc2ef48258434e22b4f2038d64bcebd86 | [
"MIT"
] | 21 | 2019-08-09T18:53:26.000Z | 2022-03-14T22:10:10.000Z | spoonacular/com/spoonacular/products_api.py | Lowe-Man/spoonacular-python-api | c5522abdc2ef48258434e22b4f2038d64bcebd86 | [
"MIT"
] | null | null | null | spoonacular/com/spoonacular/products_api.py | Lowe-Man/spoonacular-python-api | c5522abdc2ef48258434e22b4f2038d64bcebd86 | [
"MIT"
] | 55 | 2019-08-13T17:52:47.000Z | 2022-03-27T04:29:34.000Z | # coding: utf-8
"""
spoonacular API
The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural lang... | 45.598504 | 1,050 | 0.642293 | 6,680 | 54,855 | 5.01018 | 0.054641 | 0.050197 | 0.078642 | 0.023903 | 0.929067 | 0.921567 | 0.915591 | 0.912006 | 0.897155 | 0.887385 | 0 | 0.02019 | 0.274068 | 54,855 | 1,202 | 1,051 | 45.636439 | 0.820271 | 0.361006 | 0 | 0.757764 | 0 | 0.009317 | 0.20304 | 0.064282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.007764 | 0 | 0.096273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
40fca1fcea45f2b24ea5ea1817cc4397d49078e9 | 584 | py | Python | temboo/core/Library/OneLogin/Accounts/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/OneLogin/Accounts/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/OneLogin/Accounts/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.OneLogin.Accounts.CreateAccount import CreateAccount, CreateAccountInputSet, CreateAccountResultSet, CreateAccountChoreographyExecution
from temboo.Library.OneLogin.Accounts.ListAll import ListAll, ListAllInputSet, ListAllResultSet, ListAllChoreographyExecution
from temboo.Library.OneLogin.Accounts.... | 116.8 | 155 | 0.90411 | 44 | 584 | 12 | 0.5 | 0.075758 | 0.128788 | 0.189394 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047945 | 584 | 4 | 156 | 146 | 0.94964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dc059f1ac4fcdf9f1226677feff8392ab4bf865a | 10,418 | py | Python | groco/layers/test_conv_2d.py | APJansen/GroupConv | 6b613a09f6b93a4d15cc53a9ffe203478c9dc6a5 | [
"MIT"
] | 3 | 2021-09-11T01:57:35.000Z | 2021-09-30T21:24:04.000Z | groco/layers/test_conv_2d.py | APJansen/GroupConv | 6b613a09f6b93a4d15cc53a9ffe203478c9dc6a5 | [
"MIT"
] | null | null | null | groco/layers/test_conv_2d.py | APJansen/GroupConv | 6b613a09f6b93a4d15cc53a9ffe203478c9dc6a5 | [
"MIT"
] | null | null | null | from tensorflow.test import TestCase
from groco.groups import wallpaper_group_dict
from groco.layers import GroupConv2D, GroupConv2DTranspose
from groco.utils import test_equivariance
import tensorflow as tf
class TestGroupConv2D(TestCase):
def __init__(self, tests):
super().__init__(tests)
self.s... | 55.121693 | 124 | 0.647437 | 1,368 | 10,418 | 4.66886 | 0.05848 | 0.056364 | 0.05292 | 0.056521 | 0.943009 | 0.932206 | 0.93158 | 0.92062 | 0.908877 | 0.904337 | 0 | 0.016035 | 0.245729 | 10,418 | 188 | 125 | 55.414894 | 0.796768 | 0.009311 | 0 | 0.790123 | 0 | 0 | 0.017058 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 1 | 0.111111 | false | 0 | 0.030864 | 0 | 0.154321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9050c77d206cf325828f0258bb41ad6ec4b7e332 | 112 | py | Python | pypi_mobans_pkg/__init__.py | moremoban/pypi-mobans-pkg | 51cd63dc933f4c0dbc8da7fb20fa27e371765dd0 | [
"BSD-3-Clause"
] | 2 | 2019-01-14T02:58:24.000Z | 2019-01-14T02:58:27.000Z | pypi_mobans_pkg/__init__.py | moremoban/pypi-mobans-pkg | 51cd63dc933f4c0dbc8da7fb20fa27e371765dd0 | [
"BSD-3-Clause"
] | 2 | 2019-01-15T14:37:01.000Z | 2019-03-11T07:13:53.000Z | pypi_mobans_pkg/__init__.py | moremoban/pypi-mobans-pkg | 51cd63dc933f4c0dbc8da7fb20fa27e371765dd0 | [
"BSD-3-Clause"
] | 1 | 2019-01-14T02:58:47.000Z | 2019-01-14T02:58:47.000Z | # flake8: noqa
from pypi_mobans_pkg._version import __version__
from pypi_mobans_pkg._version import __author__
| 28 | 48 | 0.866071 | 16 | 112 | 5.1875 | 0.5625 | 0.192771 | 0.337349 | 0.409639 | 0.722892 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.098214 | 112 | 3 | 49 | 37.333333 | 0.811881 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 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 | 8 |
90565a815b7a623ba8a1f8c87c02a8f63bdfd9a1 | 11,079 | py | Python | python/phonenumbers/data/region_JP.py | KomarovAlea/python-phonenumbers | 168a1f1e80502544089bc0739670a324730c09bb | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_JP.py | KomarovAlea/python-phonenumbers | 168a1f1e80502544089bc0739670a324730c09bb | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_JP.py | KomarovAlea/python-phonenumbers | 168a1f1e80502544089bc0739670a324730c09bb | [
"Apache-2.0"
] | null | null | null | """Auto-generated file, do not edit by hand. JP metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_JP = PhoneMetadata(id='JP', country_code=81, international_prefix='010',
general_desc=PhoneNumberDesc(national_number_pattern='00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-... | 257.651163 | 1,780 | 0.535698 | 2,472 | 11,079 | 2.345874 | 0.086165 | 0.013451 | 0.086222 | 0.037248 | 0.815313 | 0.804621 | 0.79531 | 0.789446 | 0.784273 | 0.7791 | 0 | 0.314865 | 0.038812 | 11,079 | 42 | 1,781 | 263.785714 | 0.229693 | 0.004784 | 0 | 0 | 1 | 0.8 | 0.670508 | 0.620599 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
9082003b7a434675d0d33fb0e50ab9d1cff9e96c | 21,464 | py | Python | tests/e2e/basic/performance_tests/wifi_capacity_test/wpa3_personal/test_vlan_mode.py | DYeag/wlan-testing | 81e879d04ea3c6a55d14a330d461d8914507e3b2 | [
"BSD-3-Clause"
] | 7 | 2020-08-19T16:45:46.000Z | 2022-02-10T09:55:22.000Z | tests/e2e/basic/performance_tests/wifi_capacity_test/wpa3_personal/test_vlan_mode.py | DYeag/wlan-testing | 81e879d04ea3c6a55d14a330d461d8914507e3b2 | [
"BSD-3-Clause"
] | 47 | 2020-12-20T16:06:03.000Z | 2022-03-23T03:01:22.000Z | tests/e2e/basic/performance_tests/wifi_capacity_test/wpa3_personal/test_vlan_mode.py | DYeag/wlan-testing | 81e879d04ea3c6a55d14a330d461d8914507e3b2 | [
"BSD-3-Clause"
] | 9 | 2021-02-04T22:32:06.000Z | 2021-12-14T17:45:51.000Z | """
Performance Test: Wifi Capacity Test : VLAN Mode
pytest -m "wifi_capacity_test and VLAN"
"""
import os
import pytest
import allure
pytestmark = [pytest.mark.wifi_capacity_test, pytest.mark.VLAN]
# """pytest.mark.usefixtures("setup_test_run")"""]
setup_params_general_dual_band = {
"mode": "VLAN",
... | 49.342529 | 110 | 0.632408 | 2,687 | 21,464 | 4.732415 | 0.048753 | 0.044668 | 0.031142 | 0.028311 | 0.957927 | 0.951007 | 0.947075 | 0.947075 | 0.947075 | 0.947075 | 0 | 0.023477 | 0.25382 | 21,464 | 435 | 111 | 49.342529 | 0.77048 | 0.070863 | 0 | 0.864307 | 0 | 0 | 0.196407 | 0.017148 | 0 | 0 | 0 | 0 | 0.035398 | 1 | 0.035398 | false | 0 | 0.00885 | 0 | 0.053097 | 0.035398 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
29684f64d35379a71efff5b9ca0f270114884034 | 61 | py | Python | nlprep/utils/__init__.py | voidful/NLPre | df6f76b72aa93a16f0dc483f5515eb1b5248d4da | [
"Apache-2.0"
] | 29 | 2020-02-18T17:34:18.000Z | 2022-01-05T03:29:39.000Z | nlprep/utils/__init__.py | voidful/NLPre | df6f76b72aa93a16f0dc483f5515eb1b5248d4da | [
"Apache-2.0"
] | null | null | null | nlprep/utils/__init__.py | voidful/NLPre | df6f76b72aa93a16f0dc483f5515eb1b5248d4da | [
"Apache-2.0"
] | 2 | 2020-03-13T02:20:54.000Z | 2020-07-21T10:22:26.000Z | import nlprep.utils.sentlevel
import nlprep.utils.pairslevel
| 20.333333 | 30 | 0.868852 | 8 | 61 | 6.625 | 0.625 | 0.45283 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 2 | 31 | 30.5 | 0.929825 | 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 | 1 | 0 | 0 | 7 |
465546ff590f5e6a08f1f2c04efe9b2fbb440f52 | 3,614 | py | Python | tests/multi_ledger_rebalance_test.py | mixbytes/lido-dot-ksm | d9cfa4bd113a14d18cf2e4c8cf2c9a08dde8e5ff | [
"MIT"
] | null | null | null | tests/multi_ledger_rebalance_test.py | mixbytes/lido-dot-ksm | d9cfa4bd113a14d18cf2e4c8cf2c9a08dde8e5ff | [
"MIT"
] | 5 | 2022-03-21T15:23:26.000Z | 2022-03-28T07:59:27.000Z | tests/multi_ledger_rebalance_test.py | mixbytes/lido-dot-ksm | d9cfa4bd113a14d18cf2e4c8cf2c9a08dde8e5ff | [
"MIT"
] | null | null | null | from brownie import chain
from helpers import RelayChain, distribute_initial_tokens
import pytest
def test_add_multi_ledgers(lido, oracle_master, vKSM, Ledger, accounts):
for stash in (0x10, 0x20, 0x30):
lido.addLedger(hex(stash), hex(stash + 1), 0, {'from': accounts[0]})
ledger = Ledger.at(lido.f... | 32.267857 | 76 | 0.636691 | 440 | 3,614 | 5.088636 | 0.156818 | 0.075034 | 0.046449 | 0.03439 | 0.830728 | 0.804377 | 0.804377 | 0.746315 | 0.746315 | 0.746315 | 0 | 0.034495 | 0.237963 | 3,614 | 111 | 77 | 32.558559 | 0.778504 | 0.016879 | 0 | 0.771084 | 0 | 0 | 0.018331 | 0 | 0 | 0 | 0.010152 | 0 | 0.084337 | 1 | 0.084337 | false | 0 | 0.036145 | 0 | 0.120482 | 0.012048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4676a65b974eecf62141cba9656a9364eda361c6 | 624 | py | Python | tests/array_typecodes.py | cclauss/vermin | 4cf6048245a3e2354213588b4c0dca3360f9a7ce | [
"MIT"
] | null | null | null | tests/array_typecodes.py | cclauss/vermin | 4cf6048245a3e2354213588b4c0dca3360f9a7ce | [
"MIT"
] | 7 | 2019-08-29T23:46:41.000Z | 2019-11-21T23:51:15.000Z | tests/array_typecodes.py | cclauss/vermin | 4cf6048245a3e2354213588b4c0dca3360f9a7ce | [
"MIT"
] | null | null | null | from .testutils import VerminTest, detect
class VerminArrayTypecodeTests(VerminTest):
def test_typecode_q(self):
self.assertOnlyIn(3.3, detect("from array import array\narray('q')"))
self.assertOnlyIn(3.3, detect("from array import array\narray('q', [1, 2])"))
self.assertOnlyIn(3.3, detect("from array im... | 48 | 82 | 0.689103 | 96 | 624 | 4.4375 | 0.21875 | 0.225352 | 0.239437 | 0.253521 | 0.826291 | 0.826291 | 0.826291 | 0.826291 | 0.826291 | 0.826291 | 0 | 0.036969 | 0.133013 | 624 | 12 | 83 | 52 | 0.750462 | 0 | 0 | 0 | 0 | 0 | 0.391026 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | false | 0 | 0.7 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
46ad068bff7c9acd3c8058cde50413db8e2dd059 | 17,051 | py | Python | tests/test_compare_rdm.py | PeerHerholz/pyrsa | 994007086c59de93d86b982f1fff73fe6a8ea929 | [
"MIT"
] | null | null | null | tests/test_compare_rdm.py | PeerHerholz/pyrsa | 994007086c59de93d86b982f1fff73fe6a8ea929 | [
"MIT"
] | null | null | null | tests/test_compare_rdm.py | PeerHerholz/pyrsa | 994007086c59de93d86b982f1fff73fe6a8ea929 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" Tests for comparing RDMs
@author: heiko
"""
import unittest
import numpy as np
from numpy.testing import assert_array_almost_equal
import pyrsa as rsa
class TestCompareRDM(unittest.TestCase):
def setUp(self):
dissimilarities1 = np.random.rand(1, 15)
... | 43.386768 | 79 | 0.605009 | 2,036 | 17,051 | 4.78389 | 0.065324 | 0.119097 | 0.107187 | 0.105133 | 0.955031 | 0.955031 | 0.949281 | 0.947639 | 0.932854 | 0.920431 | 0 | 0.032285 | 0.309718 | 17,051 | 392 | 80 | 43.497449 | 0.795242 | 0.02991 | 0 | 0.878882 | 0 | 0 | 0.017789 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 1 | 0.102484 | false | 0 | 0.124224 | 0 | 0.242236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d3c982dab983e7fd83b124e3767cbb773a3d5bd0 | 167 | py | Python | staking_bot/contracts/__init__.py | abigger87/aloe-staking | d0819ae57371786898733e112b37843d4bd3bc19 | [
"MIT"
] | 1 | 2022-02-02T01:21:34.000Z | 2022-02-02T01:21:34.000Z | staking_bot/contracts/__init__.py | abigger87/aloe-staking | d0819ae57371786898733e112b37843d4bd3bc19 | [
"MIT"
] | null | null | null | staking_bot/contracts/__init__.py | abigger87/aloe-staking | d0819ae57371786898733e112b37843d4bd3bc19 | [
"MIT"
] | null | null | null | from staking_bot.contracts.aloe_predictions import AloePredictions
from staking_bot.contracts.bounds import Bounds
from staking_bot.contracts.proposal import Proposal
| 41.75 | 66 | 0.892216 | 22 | 167 | 6.590909 | 0.454545 | 0.227586 | 0.289655 | 0.475862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071856 | 167 | 3 | 67 | 55.666667 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d3dc5c78123c2f25529a4c75abbd5f96f5859304 | 23,338 | py | Python | betaTest.py | ameliecordier/IIK | 57b40d6b851a1c2369604049d1820e5b572c6227 | [
"MIT"
] | null | null | null | betaTest.py | ameliecordier/IIK | 57b40d6b851a1c2369604049d1820e5b572c6227 | [
"MIT"
] | null | null | null | betaTest.py | ameliecordier/IIK | 57b40d6b851a1c2369604049d1820e5b572c6227 | [
"MIT"
] | null | null | null | from datahandler import expertPatterns
from datahandler import miningPatterns
from datahandler import analyser as analyser
from matplotlib import pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
def tryExpertPatterns(filename):
"""
Expérimentations avec la classe expertPatterns
"""
... | 31.36828 | 88 | 0.654726 | 2,636 | 23,338 | 5.74393 | 0.077011 | 0.049138 | 0.067367 | 0.04359 | 0.845783 | 0.82194 | 0.817185 | 0.798692 | 0.792748 | 0.785945 | 0 | 0.010024 | 0.19209 | 23,338 | 743 | 89 | 31.410498 | 0.792999 | 0.042977 | 0 | 0.845714 | 0 | 0 | 0.190776 | 0.071654 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024762 | false | 0 | 0.009524 | 0 | 0.034286 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d3df1d0396714975c186cd072e267c9c60921f2a | 214 | py | Python | zeus/api/schemas/fields/__init__.py | conrad-kronos/zeus | ddb6bc313e51fb22222b30822b82d76f37dbbd35 | [
"Apache-2.0"
] | 221 | 2017-07-03T17:29:21.000Z | 2021-12-07T19:56:59.000Z | zeus/api/schemas/fields/__init__.py | conrad-kronos/zeus | ddb6bc313e51fb22222b30822b82d76f37dbbd35 | [
"Apache-2.0"
] | 298 | 2017-07-04T18:08:14.000Z | 2022-03-03T22:24:51.000Z | zeus/api/schemas/fields/__init__.py | conrad-kronos/zeus | ddb6bc313e51fb22222b30822b82d76f37dbbd35 | [
"Apache-2.0"
] | 24 | 2017-07-15T13:46:45.000Z | 2020-08-16T16:14:45.000Z | from .enum import * # NOQA
from .file import * # NOQA
from .permission import * # NOQA
from .result import * # NOQA
from .revision import * # NOQA
from .severity import * # NOQA
from .status import * # NOQA
| 26.75 | 33 | 0.672897 | 28 | 214 | 5.142857 | 0.357143 | 0.486111 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228972 | 214 | 7 | 34 | 30.571429 | 0.872727 | 0.158879 | 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 | 1 | 0 | 0 | 7 |
d3f385e76a3f1ce40ad8553ac291d6a1a999f841 | 106,315 | py | Python | skyportal/tests/models/test_permissions.py | LSSTDESC/skyportal | 1a433aae67b26ffd3516e65e0fdbf866b4751486 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/models/test_permissions.py | LSSTDESC/skyportal | 1a433aae67b26ffd3516e65e0fdbf866b4751486 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/models/test_permissions.py | LSSTDESC/skyportal | 1a433aae67b26ffd3516e65e0fdbf866b4751486 | [
"BSD-3-Clause"
] | null | null | null | def test_user_create_public_group( # noqa
user, public_group,
):
accessible = public_group.is_accessible_by(user, mode="create")
assert accessible
def test_user_create_public_groupuser(
user, public_groupuser,
):
accessible = public_groupuser.is_accessible_by(user, mode="create")
assert not a... | 32.334246 | 106 | 0.804891 | 13,727 | 106,315 | 5.752677 | 0.008523 | 0.084795 | 0.08829 | 0.090291 | 0.99396 | 0.992921 | 0.988578 | 0.983234 | 0.973976 | 0.964492 | 0 | 0.004622 | 0.135108 | 106,315 | 3,287 | 107 | 32.344083 | 0.854172 | 0.045958 | 0 | 0.580214 | 0 | 0 | 0.02698 | 0 | 0 | 0 | 0 | 0 | 0.206774 | 1 | 0.206774 | false | 0 | 0 | 0 | 0.206774 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
311cac79a73451821b239eccaf153b09ab241235 | 3,438 | py | Python | src/encoded/tests/test_audit_series.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 102 | 2015-05-20T01:17:43.000Z | 2022-03-07T06:03:55.000Z | src/encoded/tests/test_audit_series.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 901 | 2015-01-07T23:11:57.000Z | 2022-03-18T13:56:12.000Z | src/encoded/tests/test_audit_series.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 65 | 2015-02-06T23:00:26.000Z | 2022-01-22T07:58:44.000Z | import pytest
def test_treatment_time_series_mixed_units(
testapp,
treatment_time_series,
experiment_chip_H3K4me3,
experiment_chip_H3K27me3,
replicate_1_chip,
replicate_2_chip,
library_1_chip,
library_2_chip,
biosample_human_1,
biosample_human_2,
treatment_5,
treatment_... | 43.518987 | 150 | 0.732403 | 427 | 3,438 | 5.468384 | 0.133489 | 0.089936 | 0.095931 | 0.053961 | 0.887794 | 0.847109 | 0.836403 | 0.816702 | 0.816702 | 0.769593 | 0 | 0.030201 | 0.133217 | 3,438 | 79 | 151 | 43.518987 | 0.753356 | 0 | 0 | 0.739726 | 0 | 0 | 0.158186 | 0.032568 | 0 | 0 | 0 | 0 | 0.041096 | 1 | 0.041096 | false | 0 | 0.013699 | 0 | 0.054795 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31c806771cbedb5c66ff7385469b54c39b2c37aa | 86,868 | py | Python | angr/procedures/definitions/win32_p2p.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_p2p.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_p2p.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | # pylint:disable=line-too-long
import logging
from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool
from ...calling... | 364.991597 | 13,455 | 0.739329 | 9,367 | 86,868 | 6.774421 | 0.045586 | 0.053833 | 0.090519 | 0.113906 | 0.914082 | 0.908314 | 0.896637 | 0.889435 | 0.883179 | 0.869689 | 0 | 0.020391 | 0.069059 | 86,868 | 237 | 13,456 | 366.531646 | 0.764285 | 0.000322 | 0 | 0 | 0 | 0 | 0.255663 | 0.040567 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.081967 | 0.065574 | 0 | 0.065574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
9ed5561c3b47dcaf789ea79b1f78661046dc3b3a | 98 | py | Python | quartic_sdk/__init__.py | divyquartic/QuarticSDK | e3ce6387ed5f27845e0909878c831ae39badd8eb | [
"MIT"
] | 1 | 2021-03-26T12:39:44.000Z | 2021-03-26T12:39:44.000Z | quartic_sdk/__init__.py | divyquartic/QuarticSDK | e3ce6387ed5f27845e0909878c831ae39badd8eb | [
"MIT"
] | 95 | 2021-02-18T03:15:38.000Z | 2022-03-25T05:39:12.000Z | quartic_sdk/__init__.py | divyquartic/QuarticSDK | e3ce6387ed5f27845e0909878c831ae39badd8eb | [
"MIT"
] | 1 | 2021-09-03T12:46:18.000Z | 2021-09-03T12:46:18.000Z | from quartic_sdk.api_client import APIClient
from quartic_sdk.graphql_client import GraphqlClient
| 32.666667 | 52 | 0.897959 | 14 | 98 | 6 | 0.642857 | 0.261905 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 53 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
9eff54af3e86bb85ad8dacdefc8ccdeaacc7021c | 157 | py | Python | microservices/policyApi/v1/auth/auth.py | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 9 | 2018-09-14T18:03:45.000Z | 2021-06-16T16:04:25.000Z | microservices/policyApi/v1/auth/auth.py | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 173 | 2019-01-18T19:25:05.000Z | 2022-01-10T21:15:46.000Z | microservices/policyApi/v1/auth/auth.py | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 3 | 2018-09-24T15:44:39.000Z | 2018-11-24T01:04:37.000Z | from auth.auth import jwt_config
from auth.auth import api_key
from auth.auth import jwt_or_api_key
from auth.auth import jwt
from auth.auth import admin_jwt | 31.4 | 36 | 0.847134 | 31 | 157 | 4.096774 | 0.290323 | 0.314961 | 0.472441 | 0.708661 | 0.590551 | 0.425197 | 0.425197 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 5 | 37 | 31.4 | 0.92029 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
731c8021d6fb493261fff2a0aac44c5d56a149b5 | 3,097 | py | Python | tensorcv/nd/_distance.py | Hourout/tensorcv | 620559ee90921e036c8a84877d806a5c21010511 | [
"Apache-2.0"
] | 8 | 2018-12-06T05:02:29.000Z | 2021-08-25T07:09:29.000Z | tensorcv/nd/_distance.py | Hourout/keras-cv | 620559ee90921e036c8a84877d806a5c21010511 | [
"Apache-2.0"
] | null | null | null | tensorcv/nd/_distance.py | Hourout/keras-cv | 620559ee90921e036c8a84877d806a5c21010511 | [
"Apache-2.0"
] | 4 | 2018-12-06T05:02:32.000Z | 2019-06-04T11:15:39.000Z | import tensorflow as tf
from tensorflow.python.ops.image_ops_impl import _ImageDimensions
__all __ = ['euclidean', 'euclidean_standardized', 'manhattan', 'chebyshev', 'minkowski']
def euclidean(x, y, name=None):
"""
Args:
x: A Tensor with type float32 or float64.
y: A Tensor with the same type... | 36.869048 | 126 | 0.635131 | 495 | 3,097 | 3.894949 | 0.129293 | 0.062241 | 0.102697 | 0.087137 | 0.840249 | 0.840249 | 0.838693 | 0.838693 | 0.7889 | 0.7889 | 0 | 0.010589 | 0.237649 | 3,097 | 83 | 127 | 37.313253 | 0.806014 | 0 | 0 | 0.428571 | 0 | 0 | 0.131445 | 0.012465 | 0 | 0 | 0 | 0 | 0.214286 | 0 | null | null | 0 | 0.071429 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7329ddd64989eb1bc5ec35cdeedbdc788e593b3e | 4,410 | py | Python | cupyx/scipy/ndimage/__init__.py | Onkar627/cupy | 8eef1ad5393c0a92c5065bc05137bf997f37044a | [
"MIT"
] | null | null | null | cupyx/scipy/ndimage/__init__.py | Onkar627/cupy | 8eef1ad5393c0a92c5065bc05137bf997f37044a | [
"MIT"
] | null | null | null | cupyx/scipy/ndimage/__init__.py | Onkar627/cupy | 8eef1ad5393c0a92c5065bc05137bf997f37044a | [
"MIT"
] | 1 | 2022-03-21T20:19:12.000Z | 2022-03-21T20:19:12.000Z | from cupyx.scipy.ndimage._filters import correlate # NOQA
from cupyx.scipy.ndimage._filters import convolve # NOQA
from cupyx.scipy.ndimage._filters import correlate1d # NOQA
from cupyx.scipy.ndimage._filters import convolve1d # NOQA
from cupyx.scipy.ndimage._filters import uniform_filter1d # NOQA
from cupyx.scipy... | 61.25 | 77 | 0.831973 | 591 | 4,410 | 6.001692 | 0.123519 | 0.170003 | 0.264449 | 0.396673 | 0.91232 | 0.91232 | 0.89174 | 0.655202 | 0.059769 | 0 | 0 | 0.002032 | 0.107256 | 4,410 | 71 | 78 | 62.112676 | 0.898908 | 0.075737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
732ac8b8082206f4f9e6ab2c3662d9534b4e42a2 | 142 | py | Python | torch_ac/__init__.py | kebaek/minigrid | 3808c1401ea7846febf88d0a2fb2aa39e4a4913f | [
"MIT"
] | 5 | 2021-09-29T18:53:37.000Z | 2022-03-01T08:03:42.000Z | torch_ac/__init__.py | kebaek/minigrid | 3808c1401ea7846febf88d0a2fb2aa39e4a4913f | [
"MIT"
] | null | null | null | torch_ac/__init__.py | kebaek/minigrid | 3808c1401ea7846febf88d0a2fb2aa39e4a4913f | [
"MIT"
] | null | null | null | from torch_ac.algos import A2CAlgo, PPOAlgo, DQNAlgo
from torch_ac.model import ACModel, RecurrentACModel
from torch_ac.utils import DictList
| 35.5 | 52 | 0.852113 | 21 | 142 | 5.619048 | 0.619048 | 0.228814 | 0.279661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.105634 | 142 | 3 | 53 | 47.333333 | 0.92126 | 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 | 1 | 0 | 0 | 7 |
7df537dc5d78d8d2891872ab2a5bbc8416f8f7c5 | 108 | py | Python | server/views.py | TakesxiSximada/anastasia | 5e5fafbebd50fcce1d0ab390500a258f90a5e77d | [
"Apache-2.0"
] | null | null | null | server/views.py | TakesxiSximada/anastasia | 5e5fafbebd50fcce1d0ab390500a258f90a5e77d | [
"Apache-2.0"
] | null | null | null | server/views.py | TakesxiSximada/anastasia | 5e5fafbebd50fcce1d0ab390500a258f90a5e77d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import django.http
def ping(request):
return django.http.HttpResponse('pong')
| 15.428571 | 43 | 0.666667 | 14 | 108 | 5.142857 | 0.857143 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.157407 | 108 | 6 | 44 | 18 | 0.78022 | 0.194444 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
b40760640fc876a063db1767181d6b84fae1fa53 | 33,059 | py | Python | a10sdk/core/router/router_bgp_neighbor.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 16 | 2015-05-20T07:26:30.000Z | 2021-01-23T11:56:57.000Z | a10sdk/core/router/router_bgp_neighbor.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 6 | 2015-03-24T22:07:11.000Z | 2017-03-28T21:31:18.000Z | a10sdk/core/router/router_bgp_neighbor.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 23 | 2015-03-29T15:43:01.000Z | 2021-06-02T17:12:01.000Z | from a10sdk.common.A10BaseClass import A10BaseClass
class Neighbor(A10BaseClass):
"""Class Description::
Specify a neighbor router.
Class neighbor supports CRUD Operations and inherits from `common/A10BaseClass`.
This class is the `"PARENT"` class for this module.`
:param peer_group_neighbo... | 826.475 | 11,165 | 0.658792 | 3,833 | 33,059 | 5.675711 | 0.065745 | 0.084394 | 0.060814 | 0.048724 | 0.95932 | 0.956286 | 0.944243 | 0.935279 | 0.932843 | 0.928017 | 0 | 0.017423 | 0.105902 | 33,059 | 39 | 11,166 | 847.666667 | 0.718587 | 0.982698 | 0 | 0 | 0 | 0 | 0.096647 | 0.080868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b41efd8d6196fcc3b7de691c658cb89d7994f128 | 12,788 | py | Python | Pytorch Model/util/dataset.py | saliAlavi/montecarloneuralnetowrk | 66f78df9b47fd3b16f08c78d46860ad4c9dcf405 | [
"MIT"
] | null | null | null | Pytorch Model/util/dataset.py | saliAlavi/montecarloneuralnetowrk | 66f78df9b47fd3b16f08c78d46860ad4c9dcf405 | [
"MIT"
] | null | null | null | Pytorch Model/util/dataset.py | saliAlavi/montecarloneuralnetowrk | 66f78df9b47fd3b16f08c78d46860ad4c9dcf405 | [
"MIT"
] | 1 | 2020-11-10T07:36:25.000Z | 2020-11-10T07:36:25.000Z | from PIL import Image
from torch.utils.data import DataLoader, Dataset
import os
from scipy.io import loadmat
import numpy as np
import torch
import torchvision.transforms as transforms
import imgaug.augmenters as iaa
from imgaug.augmentables import Keypoint, KeypointsOnImage
from skimage import io
import itertools
imp... | 40.087774 | 122 | 0.586096 | 1,641 | 12,788 | 4.411335 | 0.102986 | 0.022379 | 0.013814 | 0.022103 | 0.848598 | 0.830778 | 0.830778 | 0.809642 | 0.782705 | 0.757839 | 0 | 0.017247 | 0.270019 | 12,788 | 318 | 123 | 40.213836 | 0.758222 | 0.769237 | 0 | 0.190476 | 0 | 0 | 0.049168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.301587 | 0.015873 | 0.460317 | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
b47e85a271c87386720deaff24bf71d76518bb82 | 2,943 | py | Python | test/pyaz/ad/sp/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/ad/sp/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/ad/sp/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def create(id):
params = get_params(locals())
command = "az ad sp create " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.dec... | 33.443182 | 148 | 0.651036 | 374 | 2,943 | 5.074866 | 0.163102 | 0.088514 | 0.063224 | 0.066386 | 0.839305 | 0.839305 | 0.839305 | 0.839305 | 0.839305 | 0.716017 | 0 | 0.005275 | 0.226979 | 2,943 | 87 | 149 | 33.827586 | 0.829011 | 0 | 0 | 0.825 | 0 | 0 | 0.054706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.025 | 0 | 0.175 | 0.225 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b4891369e2cef28764c3f7ae1767824567c0db91 | 165 | py | Python | ygo/parser.py | yncat/yugioh-game | 90406c45d02325552df8a5a5ea3e25e055a14cb1 | [
"MIT"
] | 23 | 2017-09-23T13:29:17.000Z | 2022-03-02T19:03:11.000Z | ygo/parser.py | yncat/yugioh-game | 90406c45d02325552df8a5a5ea3e25e055a14cb1 | [
"MIT"
] | 160 | 2017-09-15T13:24:30.000Z | 2022-02-11T15:10:34.000Z | ygo/parser.py | yncat/yugioh-game | 90406c45d02325552df8a5a5ea3e25e055a14cb1 | [
"MIT"
] | 21 | 2017-09-15T13:17:29.000Z | 2022-01-31T09:28:06.000Z | import gsb
from .utils import forward_error
class Parser(gsb.Parser):
def on_error(self, caller):
forward_error()
gsb.Parser.on_error(self, caller)
| 16.5 | 36 | 0.715152 | 24 | 165 | 4.75 | 0.5 | 0.210526 | 0.192982 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187879 | 165 | 9 | 37 | 18.333333 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 7 |
c35cbf914e19ea427af1fd7d0916d8669314f72c | 2,131 | py | Python | tests/runtimes/test_run.py | rpatil524/mlrun | bb2259a959f871d7a479834ddc55ad1470e6c2c0 | [
"Apache-2.0"
] | null | null | null | tests/runtimes/test_run.py | rpatil524/mlrun | bb2259a959f871d7a479834ddc55ad1470e6c2c0 | [
"Apache-2.0"
] | 1 | 2020-12-31T14:36:29.000Z | 2020-12-31T14:36:29.000Z | tests/runtimes/test_run.py | rpatil524/mlrun | bb2259a959f871d7a479834ddc55ad1470e6c2c0 | [
"Apache-2.0"
] | 1 | 2019-12-10T01:54:27.000Z | 2019-12-10T01:54:27.000Z | from deepdiff import DeepDiff
import mlrun
def test_new_function_from_runtime():
runtime = {
"kind": "job",
"metadata": {
"name": "spark-submit",
"project": "default",
"categories": [],
"tag": "",
"hash": "7b3064c6b334535a5d949ebe9cfc61a... | 30.014085 | 74 | 0.469263 | 175 | 2,131 | 5.582857 | 0.394286 | 0.079836 | 0.020471 | 0.036847 | 0.88434 | 0.88434 | 0.88434 | 0.88434 | 0.88434 | 0.88434 | 0 | 0.111519 | 0.360394 | 2,131 | 70 | 75 | 30.442857 | 0.605282 | 0 | 0 | 0.8125 | 0 | 0 | 0.342562 | 0.181136 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0.03125 | 0.03125 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6f187ceb85dcc1433a3d5b53e4b3a15c1f375d6b | 69,783 | py | Python | apps/warehouse/models/inventory_model.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | apps/warehouse/models/inventory_model.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | apps/warehouse/models/inventory_model.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from .basicinfor_model import *
class EquipmentStockDetailModel(models.Model) :
"""
设备库存明细
"""
STATUS = (
("使用中", "使用中"),
("完成", "完成"),
)
id = models.AutoField(primary_key=True, unique=True)
state = models.CharField(max_length=16, choices=STATUS,... | 70.773834 | 173 | 0.695212 | 8,387 | 69,783 | 5.548229 | 0.039347 | 0.12056 | 0.133841 | 0.178454 | 0.941934 | 0.941934 | 0.918273 | 0.907915 | 0.907915 | 0.907915 | 0 | 0.019077 | 0.164696 | 69,783 | 986 | 174 | 70.773834 | 0.779225 | 0.002364 | 0 | 0.835473 | 0 | 0 | 0.186038 | 0.025223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024504 | false | 0 | 0.002334 | 0.024504 | 0.667445 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 9 |
6f3de52387223f4c3b6e20b159532ffe161adbde | 9,881 | py | Python | test/integration/readcache_prefetch_test/readcache_prefetch_test.py | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-06-04T08:08:11.000Z | 2018-06-04T08:08:11.000Z | test/integration/readcache_prefetch_test/readcache_prefetch_test.py | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2019-03-26T11:15:13.000Z | 2019-03-26T11:15:13.000Z | test/integration/readcache_prefetch_test/readcache_prefetch_test.py | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-02-05T09:19:45.000Z | 2018-02-05T09:19:45.000Z | """This module tests read cache prefetch overhead."""
__author__ = "Bartek Kryza"
__copyright__ = """(C) 2018 ACK CYFRONET AGH,
This software is released under the MIT license cited in 'LICENSE.txt'."""
import os
import sys
import subprocess
import datetime
from os.path import expanduser
from random import sample
fro... | 28.64058 | 104 | 0.690011 | 1,309 | 9,881 | 5.053476 | 0.122231 | 0.078609 | 0.047166 | 0.035979 | 0.792593 | 0.770522 | 0.769615 | 0.761905 | 0.748904 | 0.730915 | 0 | 0.086246 | 0.200891 | 9,881 | 344 | 105 | 28.723837 | 0.75152 | 0.026111 | 0 | 0.74359 | 0 | 0 | 0.015236 | 0 | 0 | 0 | 0 | 0 | 0.209402 | 0 | null | null | 0.008547 | 0.051282 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6f3e045a9a5edaf9a8c4592769b04a7726d6ebc8 | 6,865 | py | Python | matrix-server/tests/functional/test_functions.py | ryanpepe2000/mscs710-backend | 4550d0d0b81ffc87b18e998d5c360ead797f3ecc | [
"MIT"
] | null | null | null | matrix-server/tests/functional/test_functions.py | ryanpepe2000/mscs710-backend | 4550d0d0b81ffc87b18e998d5c360ead797f3ecc | [
"MIT"
] | 4 | 2022-03-28T04:01:57.000Z | 2022-03-28T04:04:12.000Z | matrix-server/tests/functional/test_functions.py | ryanpepe2000/mscs710-backend | 4550d0d0b81ffc87b18e998d5c360ead797f3ecc | [
"MIT"
] | null | null | null | """
Encapsulates all test cases for expected functional
capabilities of Matrix Systems.
@date 4.15.22
@author Christian Saltarelli
"""
import json
def test_get_home_view(test_client):
"""
GIVEN the Matrix System configured for Testing
WHEN the '/' route is requested (GET)
THEN check that the response... | 31.204545 | 73 | 0.630444 | 816 | 6,865 | 5.148284 | 0.125 | 0.076172 | 0.077124 | 0.066651 | 0.879314 | 0.861462 | 0.829326 | 0.810759 | 0.757201 | 0.736491 | 0 | 0.017846 | 0.273562 | 6,865 | 219 | 74 | 31.347032 | 0.824544 | 0.33008 | 0 | 0.568627 | 0 | 0 | 0.170886 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.137255 | false | 0.088235 | 0.009804 | 0 | 0.147059 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
6f414c654ced905f1558e8a320c77fa93b308152 | 85,359 | py | Python | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/trunk_da9c758dcc43a1e155e9aecc9fc92dcd.py | OpenIxia/ixnetwork_restpy | f628db450573a104f327cf3c737ca25586e067ae | [
"MIT"
] | 20 | 2019-05-07T01:59:14.000Z | 2022-02-11T05:24:47.000Z | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/trunk_da9c758dcc43a1e155e9aecc9fc92dcd.py | OpenIxia/ixnetwork_restpy | f628db450573a104f327cf3c737ca25586e067ae | [
"MIT"
] | 60 | 2019-04-03T18:59:35.000Z | 2022-02-22T12:05:05.000Z | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/trunk_da9c758dcc43a1e155e9aecc9fc92dcd.py | OpenIxia/ixnetwork_restpy | f628db450573a104f327cf3c737ca25586e067ae | [
"MIT"
] | 13 | 2019-05-20T10:48:31.000Z | 2021-10-06T07:45:44.000Z | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | 46.265041 | 1,956 | 0.646013 | 9,594 | 85,359 | 5.644465 | 0.053679 | 0.021273 | 0.03191 | 0.045852 | 0.791831 | 0.783059 | 0.735564 | 0.72683 | 0.715454 | 0.702897 | 0 | 0.016563 | 0.245996 | 85,359 | 1,844 | 1,957 | 46.29013 | 0.824832 | 0.475826 | 0 | 0.135521 | 0 | 0 | 0.15014 | 0.032555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.278174 | false | 0 | 0.005706 | 0 | 0.433666 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6f46a74d3b7e02c5df19efc45fe052e52ea0c17d | 65,080 | py | Python | sdk/python/pulumi_azure/eventhub/event_subscription.py | aangelisc/pulumi-azure | 71dd9c75403146e16f7480e5a60b08bc0329660e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/eventhub/event_subscription.py | aangelisc/pulumi-azure | 71dd9c75403146e16f7480e5a60b08bc0329660e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/eventhub/event_subscription.py | aangelisc/pulumi-azure | 71dd9c75403146e16f7480e5a60b08bc0329660e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 56.838428 | 290 | 0.710787 | 7,139 | 65,080 | 6.208853 | 0.040482 | 0.071968 | 0.075871 | 0.038714 | 0.950615 | 0.944817 | 0.938545 | 0.9341 | 0.93295 | 0.92476 | 0 | 0.003116 | 0.196205 | 65,080 | 1,144 | 291 | 56.888112 | 0.84422 | 0.297219 | 0 | 0.889552 | 1 | 0.008955 | 0.239175 | 0.154128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159701 | false | 0.001493 | 0.010448 | 0 | 0.265672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6f4b957bb92f56469a69dfbb75ad78bb9fb80ee4 | 13,913 | py | Python | tests/algorithms/polygon/test_spatial_interpolation.py | dials-src/dials | 25055c1f6164dc33e672e7c5c6a9c5a35e870660 | [
"BSD-3-Clause"
] | 1 | 2021-12-10T17:28:16.000Z | 2021-12-10T17:28:16.000Z | tests/algorithms/polygon/test_spatial_interpolation.py | dials-src/dials | 25055c1f6164dc33e672e7c5c6a9c5a35e870660 | [
"BSD-3-Clause"
] | null | null | null | tests/algorithms/polygon/test_spatial_interpolation.py | dials-src/dials | 25055c1f6164dc33e672e7c5c6a9c5a35e870660 | [
"BSD-3-Clause"
] | 1 | 2021-12-07T12:39:04.000Z | 2021-12-07T12:39:04.000Z | from __future__ import annotations
import random
from dials.algorithms.polygon.spatial_interpolation import (
regrid_grid_to_irregular_grid,
regrid_irregular_grid_to_grid,
)
class TestRegridIrregularToRegular:
@staticmethod
def test_identical():
from scitbx.array_family import flex
... | 32.659624 | 85 | 0.55847 | 1,951 | 13,913 | 3.881599 | 0.053306 | 0.056385 | 0.029315 | 0.053744 | 0.95167 | 0.941107 | 0.937409 | 0.932259 | 0.931995 | 0.922752 | 0 | 0.038214 | 0.339826 | 13,913 | 425 | 86 | 32.736471 | 0.786282 | 0.131604 | 0 | 0.875887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.042553 | false | 0 | 0.08156 | 0 | 0.131206 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4893633b10b6886c45a9489339026685d24b43dc | 83 | py | Python | tests/test_hpo_mapping.py | LucaCappelletti94/hpo_downloader | 14497478626c234539659b9f55b16496e6b6b86b | [
"MIT"
] | null | null | null | tests/test_hpo_mapping.py | LucaCappelletti94/hpo_downloader | 14497478626c234539659b9f55b16496e6b6b86b | [
"MIT"
] | null | null | null | tests/test_hpo_mapping.py | LucaCappelletti94/hpo_downloader | 14497478626c234539659b9f55b16496e6b6b86b | [
"MIT"
] | null | null | null | from hpo_downloader import hpo_mapping
def test_hpo_mapping():
hpo_mapping()
| 13.833333 | 38 | 0.783133 | 12 | 83 | 5 | 0.583333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 39 | 16.6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
48f6d7104a5c99c7affe9474b68e8b61d6bc6ec4 | 349 | py | Python | tests/internal/instance_type/test_instance_type_m3_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_m3_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_m3_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module instance_type.m3
import pytest
import ec2_compare.internal.instance_type.m3
def test_get_internal_data_instance_type_m3_get_instances_list():
assert len(ec2_compare.internal.instance_type.m3.get_instances_list()) > 0
def test_get_internal_data_instance_type_m3_get():
assert len(ec2_compare.intern... | 34.9 | 76 | 0.848138 | 56 | 349 | 4.839286 | 0.339286 | 0.265683 | 0.309963 | 0.250923 | 0.826568 | 0.826568 | 0.612546 | 0.612546 | 0.612546 | 0 | 0 | 0.034056 | 0.074499 | 349 | 9 | 77 | 38.777778 | 0.804954 | 0.088825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 10 |
48fa7d88c4dd24ed3375f2a395bbdb2332afcf9d | 184 | py | Python | myblog/ajaxWtforms/__init__.py | x007007007/myblog | d6a2cfc10a1b39597793696723d3668dc9a612bb | [
"MIT"
] | null | null | null | myblog/ajaxWtforms/__init__.py | x007007007/myblog | d6a2cfc10a1b39597793696723d3668dc9a612bb | [
"MIT"
] | null | null | null | myblog/ajaxWtforms/__init__.py | x007007007/myblog | d6a2cfc10a1b39597793696723d3668dc9a612bb | [
"MIT"
] | null | null | null | from .views import ajax_wtforms_bp
from .forms import AjaxForm
def InitAjaxWtforms(app, url_prefix="/ajax_wtforms"):
app.register_blueprint(ajax_wtforms_bp, url_prefix=url_prefix) | 36.8 | 66 | 0.826087 | 27 | 184 | 5.296296 | 0.555556 | 0.230769 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092391 | 184 | 5 | 66 | 36.8 | 0.856287 | 0 | 0 | 0 | 0 | 0 | 0.07027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d2b1f01048beaf504e71f8fdbc28b93edf5a4f56 | 402 | py | Python | test/test_day_11.py | Sh4der/adventofcode | 1823d7bac33778ef850e384d914843a0c0ded869 | [
"MIT"
] | null | null | null | test/test_day_11.py | Sh4der/adventofcode | 1823d7bac33778ef850e384d914843a0c0ded869 | [
"MIT"
] | null | null | null | test/test_day_11.py | Sh4der/adventofcode | 1823d7bac33778ef850e384d914843a0c0ded869 | [
"MIT"
] | 1 | 2020-12-12T01:11:08.000Z | 2020-12-12T01:11:08.000Z | from test.helper import use_example, skip
class part_1:
@use_example(1)
def test_example_1(self, problem):
assert problem.solve_1() == 37
def test_solution(self, problem):
assert problem.solve_1() == 2448
class part_2:
@use_example(1)
def test_example_1(self, problem):
assert problem.solve_2(... | 20.1 | 41 | 0.70398 | 61 | 402 | 4.393443 | 0.344262 | 0.119403 | 0.253731 | 0.358209 | 0.753731 | 0.753731 | 0.738806 | 0.738806 | 0.410448 | 0.410448 | 0 | 0.066869 | 0.181592 | 402 | 19 | 42 | 21.157895 | 0.74772 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
d2ea38dc6090a4e4be60b5a7c857b8946bec3fdb | 10,180 | py | Python | infoblox_netmri/api/broker/v3_8_0/path_analysis_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/broker/v3_8_0/path_analysis_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/broker/v3_8_0/path_analysis_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..broker import Broker
class PathAnalysisBroker(Broker):
controller = "path_analysis"
def create(self, **kwargs):
"""Initiates a path calculation.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` True
... | 30.942249 | 115 | 0.522495 | 1,020 | 10,180 | 5.082353 | 0.091176 | 0.108025 | 0.070216 | 0.091821 | 0.841628 | 0.832562 | 0.81983 | 0.810378 | 0.810378 | 0.782793 | 0 | 0 | 0.369745 | 10,180 | 328 | 116 | 31.036585 | 0.80798 | 0.634283 | 0 | 0 | 0 | 0 | 0.104625 | 0.039424 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.047619 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
d2ec451b74c11cd6ea668ca26f0574039da0862f | 2,819 | py | Python | tests/test_workflow.py | DigitalSlideArchive/DSA-WSI-DeID | aef0067690a7708092ee7d1d3fb1246c9c37cd5b | [
"Apache-2.0"
] | 3 | 2020-10-19T16:37:47.000Z | 2021-09-23T15:21:40.000Z | tests/test_workflow.py | DigitalSlideArchive/DSA-WSI-DeID | aef0067690a7708092ee7d1d3fb1246c9c37cd5b | [
"Apache-2.0"
] | 71 | 2020-09-17T14:48:06.000Z | 2022-02-10T21:08:12.000Z | tests/test_workflow.py | DigitalSlideArchive/NCI-SEER-Pediatric-WSI-Pilot | c4413e6022f2db45166a8633d9aa03b41331fca9 | [
"Apache-2.0"
] | 3 | 2021-07-01T21:45:54.000Z | 2021-09-03T14:48:58.000Z | import os
import girder.utility.config
import pytest
from girder.models.folder import Folder
from girder.models.item import Item
from girder.models.setting import Setting
from .utilities import provisionServer # noqa
@pytest.mark.plugin('wsi_deid')
@pytest.mark.plugin('large_image')
def test_workflow(server, provi... | 40.855072 | 74 | 0.718695 | 338 | 2,819 | 5.884615 | 0.201183 | 0.045249 | 0.052288 | 0.07642 | 0.809452 | 0.809452 | 0.809452 | 0.809452 | 0.809452 | 0.809452 | 0 | 0.004216 | 0.158567 | 2,819 | 68 | 75 | 41.455882 | 0.834317 | 0.004966 | 0 | 0.745763 | 0 | 0 | 0.031417 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 1 | 0.033898 | false | 0 | 0.440678 | 0 | 0.474576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 8 |
96049d9ddac2d8fcfe357d1fcd9467a8ed1ee524 | 43 | py | Python | tests/rmsd/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 11 | 2022-01-30T14:36:13.000Z | 2022-03-22T09:40:57.000Z | tests/rmsd/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 2 | 2022-03-23T07:56:49.000Z | 2022-03-24T12:01:42.000Z | tests/rmsd/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 8 | 2022-01-28T10:32:31.000Z | 2022-03-22T09:40:59.000Z | from tests.rmsd.test_rmsd import Test_RMSD
| 21.5 | 42 | 0.860465 | 8 | 43 | 4.375 | 0.625 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 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 | 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 | 7 |
82e0ab1b6d909166e5e543cbcb2805e17882f79c | 7,833 | py | Python | appengine/chromium_try_flakes/handlers/test/migrate_test.py | asdfghjjklllllaaa/infra | 8f63af54e46194cd29291813f2790ff6e986804d | [
"BSD-3-Clause"
] | 1 | 2020-11-11T06:25:13.000Z | 2020-11-11T06:25:13.000Z | appengine/chromium_try_flakes/handlers/test/migrate_test.py | asdfghjjklllllaaa/infra | 8f63af54e46194cd29291813f2790ff6e986804d | [
"BSD-3-Clause"
] | 21 | 2020-09-06T02:41:05.000Z | 2022-03-02T04:40:01.000Z | appengine/chromium_try_flakes/handlers/test/migrate_test.py | asdfghjjklllllaaa/infra | 8f63af54e46194cd29291813f2790ff6e986804d | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import datetime
from google.appengine.ext import ndb
from handlers.migrate import Migrate
import main
from model.flake import Flake, FlakeOccurrence, Flake... | 35.931193 | 79 | 0.711349 | 1,061 | 7,833 | 4.919887 | 0.099906 | 0.096552 | 0.103448 | 0.124138 | 0.849042 | 0.828544 | 0.809962 | 0.791762 | 0.791762 | 0.774138 | 0 | 0.014437 | 0.177582 | 7,833 | 217 | 80 | 36.096774 | 0.795871 | 0.019788 | 0 | 0.739394 | 0 | 0 | 0.073625 | 0 | 0 | 0 | 0 | 0 | 0.357576 | 1 | 0.036364 | false | 0 | 0.042424 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7d5548c87d22dcf46a3528806418c1990806d4a7 | 51 | py | Python | numbergame/__init__.py | 3bonbon/numbergame | 9a7f3bc0c57ad62944e3e81ea3ad959ec9fbeead | [
"MIT"
] | null | null | null | numbergame/__init__.py | 3bonbon/numbergame | 9a7f3bc0c57ad62944e3e81ea3ad959ec9fbeead | [
"MIT"
] | null | null | null | numbergame/__init__.py | 3bonbon/numbergame | 9a7f3bc0c57ad62944e3e81ea3ad959ec9fbeead | [
"MIT"
] | null | null | null | from .model import Score
from .model import Player
| 17 | 25 | 0.803922 | 8 | 51 | 5.125 | 0.625 | 0.439024 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
7dd963db6508135f7d5889f2f30b992ae9874a31 | 144 | py | Python | backend/nuwill/admin.py | pvgupta24/CryptoWill | d7fe3aaa220e4540d81607ba1b55dea4e37e4baa | [
"MIT"
] | 1 | 2020-02-03T11:55:38.000Z | 2020-02-03T11:55:38.000Z | backend/nuwill/admin.py | pvgupta24/CryptoWill | d7fe3aaa220e4540d81607ba1b55dea4e37e4baa | [
"MIT"
] | 10 | 2019-08-04T06:10:31.000Z | 2022-02-12T18:17:12.000Z | backend/nuwill/admin.py | pvgupta24/CryptoWill | d7fe3aaa220e4540d81607ba1b55dea4e37e4baa | [
"MIT"
] | 2 | 2019-08-07T19:47:28.000Z | 2020-09-24T00:09:21.000Z | from django.contrib import admin
from .models import UserNextKin, UserSecret
admin.site.register(UserSecret)
admin.site.register(UserNextKin)
| 20.571429 | 43 | 0.833333 | 18 | 144 | 6.666667 | 0.555556 | 0.25 | 0.316667 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 144 | 6 | 44 | 24 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
7de0d1fb8d2d2cc1cc153bf47c9f2852551c5227 | 4,054 | py | Python | specutils/io/tests/test_write_fits_spec.py | fred3m/specutils | ef9b1c072d71e597405d159e17acc9e0525c9cbf | [
"BSD-3-Clause"
] | 1 | 2021-05-27T00:18:54.000Z | 2021-05-27T00:18:54.000Z | specutils/io/tests/test_write_fits_spec.py | fred3m/specutils | ef9b1c072d71e597405d159e17acc9e0525c9cbf | [
"BSD-3-Clause"
] | null | null | null | specutils/io/tests/test_write_fits_spec.py | fred3m/specutils | ef9b1c072d71e597405d159e17acc9e0525c9cbf | [
"BSD-3-Clause"
] | 5 | 2020-01-29T01:39:00.000Z | 2020-01-29T02:18:29.000Z | import os
from specutils.io import read_fits, write_fits
import numpy as np
import pytest
def data_path(filename):
data_dir = os.path.join(os.path.dirname(__file__), 'files')
return os.path.join(data_dir, filename)
def test_linear_write1():
spec = read_fits.read_fits_spectrum1d(data_path('UVES.fits'))
... | 50.675 | 81 | 0.739763 | 561 | 4,054 | 5.098039 | 0.110517 | 0.205594 | 0.176224 | 0.078322 | 0.876224 | 0.876224 | 0.876224 | 0.876224 | 0.777972 | 0.777972 | 0 | 0.004902 | 0.144549 | 4,054 | 80 | 82 | 50.675 | 0.819781 | 0.015787 | 0 | 0.671429 | 0 | 0 | 0.069692 | 0.006267 | 0 | 0 | 0 | 0.0125 | 0.3 | 1 | 0.114286 | false | 0 | 0.071429 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
814c10e0b999c4961cbcd687d315bdead870fcc8 | 2,721 | py | Python | python/testData/inspections/PyAssignmentToLoopOrWithParameterInspection/bad.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyAssignmentToLoopOrWithParameterInspection/bad.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyAssignmentToLoopOrWithParameterInspection/bad.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | i = []
for i[0] in xrange(5):
for <weak_warning descr="Variable 'i[0]' is already declared in 'for' loop or 'with' statement above">i[0]</weak_warning> in xrange(20, 25):
print("Inner", i)
for <weak_warning descr="Variable 'i' is already declared in 'for' loop or 'with' statement above">i</weak_warn... | 35.802632 | 155 | 0.614112 | 439 | 2,721 | 3.733485 | 0.118451 | 0.161074 | 0.117145 | 0.175717 | 0.897498 | 0.871873 | 0.846248 | 0.845638 | 0.828554 | 0.787065 | 0 | 0.027417 | 0.235943 | 2,721 | 76 | 156 | 35.802632 | 0.760943 | 0 | 0 | 0.746032 | 0 | 0 | 0.347426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.126984 | 0 | null | null | 0.174603 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
814eb85bbcc2649e1417149b1244e5084793dae1 | 7,575 | py | Python | tests/test_parser.py | WilliamMayor/nics | 2d539c732c907558c5d4c4c79aac7785ba0e03d6 | [
"MIT"
] | null | null | null | tests/test_parser.py | WilliamMayor/nics | 2d539c732c907558c5d4c4c79aac7785ba0e03d6 | [
"MIT"
] | null | null | null | tests/test_parser.py | WilliamMayor/nics | 2d539c732c907558c5d4c4c79aac7785ba0e03d6 | [
"MIT"
] | null | null | null | from datetime import date
from datetime import datetime
from datetime import timedelta
from datetime import time
import pytz
from nics import parse
def test_can_parse_simple_lines():
assert ['first', 'second'] == list(parse.text_into_lines('first\r\nsecond'))
def test_can_parse_folded_lines_with_space():
... | 48.557692 | 205 | 0.656238 | 1,050 | 7,575 | 4.51619 | 0.097143 | 0.148039 | 0.126951 | 0.163222 | 0.827921 | 0.783846 | 0.759173 | 0.708984 | 0.652256 | 0.551033 | 0 | 0.040475 | 0.099802 | 7,575 | 155 | 206 | 48.870968 | 0.654935 | 0 | 0 | 0 | 0 | 0 | 0.260198 | 0.127657 | 0 | 0 | 0 | 0 | 0.561798 | 1 | 0.359551 | true | 0 | 0.067416 | 0 | 0.426966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
81542d8077206b4ee8ce20f5b4ac3a05f89cad6d | 3,359 | py | Python | nitro-python/nssrc/com/citrix/netscaler/nitro/resource/config/vpn/__init__.py | culbertm/NSttyPython | ff9f6aedae3fb8495342cd0fc4247c819cf47397 | [
"Apache-2.0"
] | null | null | null | nitro-python/nssrc/com/citrix/netscaler/nitro/resource/config/vpn/__init__.py | culbertm/NSttyPython | ff9f6aedae3fb8495342cd0fc4247c819cf47397 | [
"Apache-2.0"
] | null | null | null | nitro-python/nssrc/com/citrix/netscaler/nitro/resource/config/vpn/__init__.py | culbertm/NSttyPython | ff9f6aedae3fb8495342cd0fc4247c819cf47397 | [
"Apache-2.0"
] | null | null | null | __all__ = ['vpnalwaysonprofile', 'vpnclientlessaccesspolicy', 'vpnclientlessaccesspolicy_binding', 'vpnclientlessaccesspolicy_vpnglobal_binding', 'vpnclientlessaccesspolicy_vpnvserver_binding', 'vpnclientlessaccessprofile', 'vpnepaprofile', 'vpneula', 'vpnformssoaction', 'vpnglobal_appcontroller_binding', 'vpnglobal_au... | 3,359 | 3,359 | 0.884787 | 242 | 3,359 | 11.665289 | 0.223141 | 0.216791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000613 | 0.028878 | 3,359 | 1 | 3,359 | 3,359 | 0.864807 | 0 | 0 | 0 | 0 | 0 | 0.88244 | 0.797024 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
817fc31d102cb9b1d4eaa692dde8bf1fb7597f0e | 540,398 | py | Python | tests/mock/responses/library.py | steinitzu/spoffy | 40cce0f00accbe006084a610d0d50396c21ec96c | [
"Apache-2.0"
] | 1 | 2019-04-24T19:50:03.000Z | 2019-04-24T19:50:03.000Z | tests/mock/responses/library.py | steinitzu/spoffy | 40cce0f00accbe006084a610d0d50396c21ec96c | [
"Apache-2.0"
] | 3 | 2019-10-11T20:31:57.000Z | 2020-04-13T16:06:43.000Z | tests/mock/responses/library.py | steinitzu/spoffy | 40cce0f00accbe006084a610d0d50396c21ec96c | [
"Apache-2.0"
] | null | null | null | import json
_jalbums = """
{
"href": "https://api.spotify.com/v1/me/albums?offset=0&limit=10",
"items": [
{
"added_at": "2019-03-26T19:18:17Z",
"album": {
"album_type": "album",
"artists": [
{
"external_urls": {
"spotify": "https://open.spotify.co... | 27.116162 | 139 | 0.279555 | 31,029 | 540,398 | 4.817912 | 0.036418 | 0.051908 | 0.039734 | 0.047681 | 0.8256 | 0.816756 | 0.815097 | 0.782548 | 0.746487 | 0.733443 | 0 | 0.083844 | 0.580635 | 540,398 | 19,928 | 140 | 27.117523 | 0.575817 | 0 | 0 | 0.870803 | 0 | 0.008884 | 0.999574 | 0.04736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00005 | 0 | 0.00005 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c49afb33b066b6dfc6449dbdd4357023320a8a41 | 39,782 | py | Python | sdk/agrifood/azure-agrifood-farming/azure/agrifood/farming/operations/_planting_data_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/agrifood/azure-agrifood-farming/azure/agrifood/farming/operations/_planting_data_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/agrifood/azure-agrifood-farming/azure/agrifood/farming/operations/_planting_data_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.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.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 59.023739 | 182 | 0.666382 | 4,671 | 39,782 | 5.407407 | 0.065939 | 0.041809 | 0.024586 | 0.029931 | 0.922836 | 0.914126 | 0.908623 | 0.903634 | 0.903634 | 0.898963 | 0 | 0.007326 | 0.238248 | 39,782 | 673 | 183 | 59.111441 | 0.826162 | 0.322281 | 0 | 0.844059 | 0 | 0 | 0.135385 | 0.061385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029703 | false | 0 | 0.022277 | 0 | 0.089109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c4d83ce410c56c734cfae6837edcb1e996185948 | 6,712 | py | Python | references/classification/transforms.py | shrutipulstya/vision | 85982ac695e78af80bf59cd9c855e1729b7376f5 | [
"BSD-3-Clause"
] | 21 | 2021-10-08T02:47:56.000Z | 2022-03-29T14:17:04.000Z | references/classification/transforms.py | shrutipulstya/vision | 85982ac695e78af80bf59cd9c855e1729b7376f5 | [
"BSD-3-Clause"
] | 9 | 2021-11-15T06:43:54.000Z | 2022-03-16T04:47:52.000Z | references/classification/transforms.py | shrutipulstya/vision | 85982ac695e78af80bf59cd9c855e1729b7376f5 | [
"BSD-3-Clause"
] | 9 | 2021-11-11T11:17:16.000Z | 2022-03-08T04:26:10.000Z | import math
import torch
from typing import Tuple
from torch import Tensor
from torchvision.transforms import functional as F
class RandomMixup(torch.nn.Module):
"""Randomly apply Mixup to the provided batch and targets.
The class implements the data augmentations as described in the paper
`"mixup: Beyon... | 38.136364 | 108 | 0.602205 | 905 | 6,712 | 4.322652 | 0.19116 | 0.051125 | 0.021472 | 0.01227 | 0.846115 | 0.832822 | 0.827198 | 0.827198 | 0.805726 | 0.805726 | 0 | 0.021378 | 0.282181 | 6,712 | 175 | 109 | 38.354286 | 0.790577 | 0.260727 | 0 | 0.792079 | 0 | 0 | 0.12605 | 0.010504 | 0 | 0 | 0 | 0 | 0.039604 | 1 | 0.059406 | false | 0 | 0.049505 | 0 | 0.188119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4809870cee907f34b8933a08037378a641877548 | 580 | py | Python | generated_code_examples/python/classification/linear.py | Symmetry-International/m2cgen | 3157e0cbd5bd1ee7e044a992223c60224e2b7709 | [
"MIT"
] | 2,161 | 2019-01-13T02:37:56.000Z | 2022-03-30T13:24:09.000Z | generated_code_examples/python/classification/linear.py | Symmetry-International/m2cgen | 3157e0cbd5bd1ee7e044a992223c60224e2b7709 | [
"MIT"
] | 380 | 2019-01-17T15:59:29.000Z | 2022-03-31T20:59:20.000Z | generated_code_examples/python/classification/linear.py | Symmetry-International/m2cgen | 3157e0cbd5bd1ee7e044a992223c60224e2b7709 | [
"MIT"
] | 201 | 2019-02-13T19:06:44.000Z | 2022-03-12T09:45:46.000Z | def score(input):
return [((((9.699944289095386) + ((input[0]) * (-0.4130233139914477))) + ((input[1]) * (0.9683469583830324))) + ((input[2]) * (-2.4984059588369045))) + ((input[3]) * (-1.0715202355664082)), ((((2.1566741402654785) + ((input[0]) * (0.5401926550713264))) + ((input[1]) * (-0.32448882769641735))) + ((... | 193.333333 | 561 | 0.598276 | 58 | 580 | 5.982759 | 0.431034 | 0.051873 | 0.060519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.51341 | 0.1 | 580 | 2 | 562 | 290 | 0.151341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4849ddcf5f62564068d01560c5d3842a67c80842 | 26,798 | py | Python | tensorboard/plugins/graph/keras_util_test.py | Digitaltransform/tensorboard | 75a3c4a8edaa64860951b5fec830accf53993510 | [
"Apache-2.0"
] | 6,139 | 2017-06-13T02:43:20.000Z | 2022-03-30T23:56:28.000Z | tensorboard/plugins/graph/keras_util_test.py | Digitaltransform/tensorboard | 75a3c4a8edaa64860951b5fec830accf53993510 | [
"Apache-2.0"
] | 3,239 | 2017-06-14T15:49:50.000Z | 2022-03-31T23:43:15.000Z | tensorboard/plugins/graph/keras_util_test.py | admariner/tensorboard | 931fdb84ed125efe5ef6cb0bad869c52da73e18f | [
"Apache-2.0"
] | 1,882 | 2017-06-15T01:33:54.000Z | 2022-03-30T15:27:25.000Z | # Copyright 2019 The TensorFlow Authors. 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 applica... | 27.289206 | 80 | 0.36137 | 1,977 | 26,798 | 4.704097 | 0.078907 | 0.073763 | 0.063226 | 0.08957 | 0.840538 | 0.823548 | 0.784624 | 0.741828 | 0.720753 | 0.68828 | 0 | 0.016436 | 0.552728 | 26,798 | 981 | 81 | 27.317023 | 0.759469 | 0.025599 | 0 | 0.575269 | 0 | 0 | 0.766297 | 0.051815 | 0 | 0 | 0 | 0 | 0.011828 | 1 | 0.010753 | false | 0 | 0.003226 | 0 | 0.015054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
485e78d4af12f85e0c8e41c78276294909847907 | 130 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/calculators/calc_ircal.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/calculators/calc_ircal.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/calculators/calc_ircal.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.ocelot.calculators.calc_ircal import CALC_IrCal_Ocelot
class Calc_IrCal_Sol(CALC_IrCal_Ocelot):
pass | 32.5 | 79 | 0.861538 | 19 | 130 | 5.526316 | 0.578947 | 0.342857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084615 | 130 | 4 | 80 | 32.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
488433ca5b4b4801455baa15a5c75dd7a7c5a5c3 | 26,528 | py | Python | testing/correctness/tests/log_rotation/log_rotation.py | DataDog/wallaroo | 0f591cbff3beac7856dbc227750bbc36eeb304de | [
"Apache-2.0"
] | null | null | null | testing/correctness/tests/log_rotation/log_rotation.py | DataDog/wallaroo | 0f591cbff3beac7856dbc227750bbc36eeb304de | [
"Apache-2.0"
] | 1 | 2021-02-24T14:23:22.000Z | 2021-02-24T14:23:22.000Z | testing/correctness/tests/log_rotation/log_rotation.py | isabella232/wallaroo | 0f591cbff3beac7856dbc227750bbc36eeb304de | [
"Apache-2.0"
] | 1 | 2021-02-24T11:15:24.000Z | 2021-02-24T11:15:24.000Z | # Copyright 2017 The Wallaroo Authors.
#
# 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 ... | 37.575071 | 78 | 0.548364 | 2,913 | 26,528 | 4.801579 | 0.090972 | 0.029885 | 0.021448 | 0.013012 | 0.90963 | 0.906199 | 0.906199 | 0.90148 | 0.899621 | 0.89812 | 0 | 0.015831 | 0.352307 | 26,528 | 705 | 79 | 37.628369 | 0.798219 | 0.107509 | 0 | 0.885057 | 0 | 0 | 0.1192 | 0.007966 | 0 | 0 | 0 | 0 | 0.068966 | 0 | null | null | 0 | 0.011494 | null | null | 0.072797 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6fc2d2a1096824d8623d1e4da50902f32393fcc1 | 3,485 | py | Python | src/likes.py | Maaadd/mbf | c4ebf2a2719d6c35e1aa26be83f42230e43670bc | [
"BSD-3-Clause"
] | null | null | null | src/likes.py | Maaadd/mbf | c4ebf2a2719d6c35e1aa26be83f42230e43670bc | [
"BSD-3-Clause"
] | null | null | null | src/likes.py | Maaadd/mbf | c4ebf2a2719d6c35e1aa26be83f42230e43670bc | [
"BSD-3-Clause"
] | null | null | null | import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJxFV8cOLLtxnXv1ZMn2T3ihxQN60TkBluAOM51z7l1P5zSd41Y/rZ09F5BtonhQxSJIsIhK6eOf47fv/K/vXJQvZF/68egej/j/+B+P+Mf/8j8f8c9H/ng0f3jkPx7Nb4/856P54yP7+fj7j3/Sd9tv3hec3//wPa/+7+/Ql3/8++ORy+fLX1KDVCebDHfaZPBCs5ZdXBn19COGXaJhhCNDDfrPRzQDeAabAr9Hji5vtlDK... | 1,742.5 | 3,458 | 0.960689 | 123 | 3,485 | 27.219512 | 0.96748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1559 | 0.000574 | 3,485 | 2 | 3,458 | 1,742.5 | 0.80534 | 0 | 0 | 0 | 0 | 0.5 | 0.97533 | 0.97533 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
6ffcc9d16bcc804bbe78a8f5a317ba063b58bd10 | 93 | py | Python | tests/test_sample.py | joshua-s/django-channels-handlers | 9b9364aa86d7c975b90136228db36c89de115a2b | [
"MIT"
] | 11 | 2019-08-10T02:40:56.000Z | 2021-08-06T16:43:38.000Z | tests/test_sample.py | joshua-s/django-channels-handlers | 9b9364aa86d7c975b90136228db36c89de115a2b | [
"MIT"
] | 5 | 2019-08-10T08:16:38.000Z | 2020-04-07T00:39:05.000Z | tests/test_sample.py | joshua-s/django-channels-handlers | 9b9364aa86d7c975b90136228db36c89de115a2b | [
"MIT"
] | 1 | 2020-04-08T01:21:40.000Z | 2020-04-08T01:21:40.000Z | # Sample Test passing with nose and pytest
def test_pass():
assert True, "Sample test"
| 15.5 | 42 | 0.709677 | 14 | 93 | 4.642857 | 0.785714 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 5 | 43 | 18.6 | 0.890411 | 0.430108 | 0 | 0 | 0 | 0 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d22091287cabdc5f57a7df32088ba6b6dfe4e540 | 5,490 | py | Python | web3/_utils/module_testing/receive_contract.py | geofferyj/web3.py | b406663f59d5b228487951f019eaf45b3eb9413b | [
"MIT"
] | 3,041 | 2017-11-22T16:23:46.000Z | 2022-03-31T15:19:39.000Z | web3/_utils/module_testing/receive_contract.py | geofferyj/web3.py | b406663f59d5b228487951f019eaf45b3eb9413b | [
"MIT"
] | 1,506 | 2017-11-22T15:44:34.000Z | 2022-03-31T18:40:05.000Z | web3/_utils/module_testing/receive_contract.py | geofferyj/web3.py | b406663f59d5b228487951f019eaf45b3eb9413b | [
"MIT"
] | 1,095 | 2017-11-22T18:20:22.000Z | 2022-03-31T13:05:31.000Z | CONTRACT_RECEIVE_FUNCTION_SOURCE = '''
pragma solidity ^0.6.0;
contract Receive {
string text;
fallback() external payable {
text = 'fallback';
}
receive() external payable {
text = 'receive';
}
function getText() public view returns (string memory) {
return text;
... | 71.298701 | 2,085 | 0.851913 | 105 | 5,490 | 44.4 | 0.333333 | 0.016088 | 0.019734 | 0.010725 | 0.035607 | 0.023166 | 0.023166 | 0 | 0 | 0 | 0 | 0.766414 | 0.109472 | 5,490 | 76 | 2,086 | 72.236842 | 0.187155 | 0.003825 | 0 | 0.296875 | 0 | 0 | 0.96963 | 0.73326 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d273e232ca7bb132019ca82db981de51d6c8aad3 | 111 | py | Python | settingsmanager/__init__.py | rgossington/settings-manager | aaab48598f658feed240e8c0048a39208be05ce9 | [
"Apache-2.0"
] | null | null | null | settingsmanager/__init__.py | rgossington/settings-manager | aaab48598f658feed240e8c0048a39208be05ce9 | [
"Apache-2.0"
] | null | null | null | settingsmanager/__init__.py | rgossington/settings-manager | aaab48598f658feed240e8c0048a39208be05ce9 | [
"Apache-2.0"
] | null | null | null | from settingsmanager.settingsmanager import SettingsManager
from settingsmanager.settingsmanager import Section | 55.5 | 59 | 0.918919 | 10 | 111 | 10.2 | 0.4 | 0.372549 | 0.666667 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 111 | 2 | 60 | 55.5 | 0.980769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
9628a32ee2f3873823d2817f171720df4c320e08 | 17,726 | py | Python | detectron/lib/python3.6/site-packages/caffe2/quantization/server/conv_dnnlowp_op_test.py | JustinBear99/Mask_RCNN | d43eaf7c6ebf29d4d6da796a0f7ff5561e21acff | [
"Apache-2.0"
] | null | null | null | detectron/lib/python3.6/site-packages/caffe2/quantization/server/conv_dnnlowp_op_test.py | JustinBear99/Mask_RCNN | d43eaf7c6ebf29d4d6da796a0f7ff5561e21acff | [
"Apache-2.0"
] | null | null | null | detectron/lib/python3.6/site-packages/caffe2/quantization/server/conv_dnnlowp_op_test.py | JustinBear99/Mask_RCNN | d43eaf7c6ebf29d4d6da796a0f7ff5561e21acff | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function, unicode_literals
import collections
import caffe2.python.hypothesis_test_util as hu
import hypothesis.strategies as st
from caffe2.python import core, dyndep, workspace
from caffe2.quantization.server import utils as dnnlowp_utils
from dnnlowp_test_uti... | 33.319549 | 96 | 0.510155 | 1,860 | 17,726 | 4.589247 | 0.105914 | 0.036082 | 0.052484 | 0.031865 | 0.87008 | 0.859419 | 0.837277 | 0.832357 | 0.823805 | 0.815605 | 0 | 0.015386 | 0.395013 | 17,726 | 531 | 97 | 33.382298 | 0.780586 | 0.052522 | 0 | 0.765591 | 0 | 0 | 0.039645 | 0.004412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010753 | false | 0 | 0.017204 | 0 | 0.030108 | 0.002151 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
96355e009bb8f5c306efb9d5798b8e31486ad4d5 | 157 | py | Python | Forward_Warp/__init__.py | hperrot/Forward-Warp | 4cf3705f232fc2fcbbbfff233cc71c3ad2fd13b5 | [
"MIT"
] | 2 | 2020-04-14T02:45:51.000Z | 2020-09-15T14:04:06.000Z | Forward_Warp/__init__.py | wbhu/Forward-Warp | 90e7e32f2c0e666ffc029b7b274b30b3a45cd3ce | [
"MIT"
] | null | null | null | Forward_Warp/__init__.py | wbhu/Forward-Warp | 90e7e32f2c0e666ffc029b7b274b30b3a45cd3ce | [
"MIT"
] | 2 | 2020-04-13T08:36:57.000Z | 2020-09-15T14:04:08.000Z | from .forward_warp import forward_warp
from .forward_warp_rescaled import forward_warp_rescaled
from .forward_warp_max_motion import forward_warp_max_motion
| 39.25 | 60 | 0.904459 | 24 | 157 | 5.416667 | 0.291667 | 0.507692 | 0.346154 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 157 | 3 | 61 | 52.333333 | 0.896552 | 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 | 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 | 7 |
96baf9bf2a6aca94bf931e8889fa60ca8c19224f | 40,563 | py | Python | car-segment/net/segmentation/my_unet.py | chicm/carvana | 493a19fbb2fdab1cc1b4b95d97742684e4144229 | [
"Apache-2.0"
] | null | null | null | car-segment/net/segmentation/my_unet.py | chicm/carvana | 493a19fbb2fdab1cc1b4b95d97742684e4144229 | [
"Apache-2.0"
] | null | null | null | car-segment/net/segmentation/my_unet.py | chicm/carvana | 493a19fbb2fdab1cc1b4b95d97742684e4144229 | [
"Apache-2.0"
] | null | null | null | # unet from scratch
from common import *
import torch
import torch.nn as nn
import torch.nn.functional as F
# https://github.com/bermanmaxim/jaccardSegment/blob/master/losses.py
# https://discuss.pytorch.org/t/solved-what-is-the-correct-way-to-implement-custom-loss-function/3568/4
class CrossEntropyLoss2d(nn.Modul... | 32.295382 | 123 | 0.562187 | 5,707 | 40,563 | 3.777466 | 0.03522 | 0.122924 | 0.140273 | 0.135727 | 0.916643 | 0.91168 | 0.903145 | 0.900037 | 0.889229 | 0.877029 | 0 | 0.105833 | 0.295811 | 40,563 | 1,255 | 124 | 32.321116 | 0.648894 | 0.054163 | 0 | 0.72619 | 0 | 0 | 0.001156 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.005291 | 0.002646 | 0.07672 | 0.006614 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
96c1fec74e2d9d1082b897594d4745e8ebbd5190 | 6,034 | py | Python | src/save_tfrecord.py | Tom556/OrthogonalTransformerProbing | 78461237cfce9f677bb3c7d3bbdf5af7b4f395cd | [
"MIT"
] | null | null | null | src/save_tfrecord.py | Tom556/OrthogonalTransformerProbing | 78461237cfce9f677bb3c7d3bbdf5af7b4f395cd | [
"MIT"
] | 2 | 2021-03-26T19:30:55.000Z | 2021-11-10T19:57:45.000Z | src/save_tfrecord.py | tomlimi/OrthogonalTransformerProbing | 78461237cfce9f677bb3c7d3bbdf5af7b4f395cd | [
"MIT"
] | 1 | 2021-12-12T04:32:25.000Z | 2021-12-12T04:32:25.000Z | import argparse
import constants
from data_support.tfrecord_wrapper import TFRecordWriter
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("data_dir", type=str, default='../resources/tf_data',
help="Directory where tfrecord files are stored")
parser.add_argumen... | 79.394737 | 120 | 0.769473 | 953 | 6,034 | 4.560336 | 0.098636 | 0.068339 | 0.086977 | 0.11804 | 0.824896 | 0.795904 | 0.795904 | 0.795904 | 0.795904 | 0.795904 | 0 | 0.009559 | 0.063805 | 6,034 | 75 | 121 | 80.453333 | 0.75978 | 0.473649 | 0 | 0 | 0 | 0.3 | 0.729412 | 0.651828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075 | 0 | 0.075 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
73afd0de0c257efd37e369ad72ef3dba5511ba86 | 1,754 | py | Python | tests/objects/init_default_ghots_getstate.py | SmartAudioTools/serializejson | 226a299968df424df3e73712f59692e8e18d948a | [
"BlueOak-1.0.0",
"Apache-2.0"
] | null | null | null | tests/objects/init_default_ghots_getstate.py | SmartAudioTools/serializejson | 226a299968df424df3e73712f59692e8e18d948a | [
"BlueOak-1.0.0",
"Apache-2.0"
] | null | null | null | tests/objects/init_default_ghots_getstate.py | SmartAudioTools/serializejson | 226a299968df424df3e73712f59692e8e18d948a | [
"BlueOak-1.0.0",
"Apache-2.0"
] | null | null | null | from .log import log
# with default INIT -------
class C_SaveNothing_DefaultInit:
def __init__(self, par1="defaut1", par2="defaut2"):
log(" __init__(" + par1 + "," + par2 + ")")
self.par2 = par2
self._par1 = par1
def __reduce__(self):
reduce = self.__class__, (), {}
... | 31.321429 | 72 | 0.580958 | 180 | 1,754 | 4.888889 | 0.177778 | 0.063636 | 0.109091 | 0.122727 | 0.817045 | 0.817045 | 0.817045 | 0.817045 | 0.817045 | 0.817045 | 0 | 0.025101 | 0.295895 | 1,754 | 55 | 73 | 31.890909 | 0.68664 | 0.014253 | 0 | 0.75 | 0 | 0 | 0.307068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fbc86dd4903b1419860d175a09cc376b853dc080 | 96,343 | py | Python | util/data/gen/msvcrt.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/msvcrt.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/msvcrt.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': '??0__non_rtti_object@@QEAA@AEBV0@@Z', 'address': '0x7ffb3c4ca4f0'}, {'type': 'function', 'name': '??0__non_rtti_object@@QEAA@PEBD@Z', 'address': '0x7ffb3c4ca520'}, {'type': 'function', 'name': '??0bad_cast@@AAE@PBQBD@Z', 'address': '0x7ffb3c4ca550'}, {'type': 'funct... | 48,171.5 | 96,330 | 0.641738 | 8,685 | 96,343 | 6.916638 | 0.245941 | 0.263089 | 0.350785 | 0.010987 | 0.152886 | 0.036806 | 0.018844 | 0.017413 | 0.012186 | 0.004661 | 0 | 0.111345 | 0.082061 | 96,343 | 2 | 96,330 | 48,171.5 | 0.567907 | 0 | 0 | 0 | 0 | 0 | 0.644337 | 0.016275 | 0 | 0 | 0.191377 | 0 | 0.5 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
fbd574eae91f04de47418f88fbbe64ad1eb6f750 | 155 | py | Python | Lib/Scripts/glyphs/transform/gridfit.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 11 | 2015-01-06T15:43:56.000Z | 2019-07-27T00:35:20.000Z | hTools2.roboFontExt/lib/Scripts/selected glyphs/transform/gridfit.py | gferreira/hTools2_extension | 9e5150082a0a39847c1078aac3dc38d914a44f83 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T21:02:17.000Z | 2019-12-18T15:55:48.000Z | Lib/Scripts/glyphs/transform/gridfit.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 4 | 2015-01-10T13:58:50.000Z | 2019-12-18T15:40:14.000Z | # [h] fit to grid dialog
import hTools2.dialogs.glyphs.gridfit
reload(hTools2.dialogs.glyphs.gridfit)
hTools2.dialogs.glyphs.gridfit.roundToGridDialog()
| 22.142857 | 50 | 0.812903 | 20 | 155 | 6.3 | 0.6 | 0.333333 | 0.47619 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.077419 | 155 | 6 | 51 | 25.833333 | 0.86014 | 0.141935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
83a6cc5f9dc29cdd6080149b967dd97c5f1a8710 | 73 | py | Python | utils.py | threadez248/python | 410c0ca8ba746edb1abd08a641e1f7eae72288d8 | [
"Apache-2.0"
] | null | null | null | utils.py | threadez248/python | 410c0ca8ba746edb1abd08a641e1f7eae72288d8 | [
"Apache-2.0"
] | null | null | null | utils.py | threadez248/python | 410c0ca8ba746edb1abd08a641e1f7eae72288d8 | [
"Apache-2.0"
] | null | null | null | def sum(num):
return num + num
def squre(num):
return num * num | 14.6 | 21 | 0.60274 | 12 | 73 | 3.666667 | 0.416667 | 0.409091 | 0.545455 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287671 | 73 | 5 | 22 | 14.6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.