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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
69eb0df38e04510307aabbf9eea284b81de21051 | 146 | py | Python | julie/logic/tests.py | MarcelloBB/julieutils | cffba53a1561d05660c2274ce0a9485bf9e0ddcf | [
"MIT"
] | 2 | 2021-08-23T15:16:43.000Z | 2021-11-01T15:29:02.000Z | julie/logic/tests.py | MarcelloBB/julieutils | cffba53a1561d05660c2274ce0a9485bf9e0ddcf | [
"MIT"
] | null | null | null | julie/logic/tests.py | MarcelloBB/julieutils | cffba53a1561d05660c2274ce0a9485bf9e0ddcf | [
"MIT"
] | null | null | null | import operators
def TEST_():
"""
[FUNC] TEST_:
Silly tests
"""
return operators.OR(True, False), operators.AND(True, False) | 16.222222 | 64 | 0.609589 | 17 | 146 | 5.117647 | 0.705882 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 146 | 9 | 64 | 16.222222 | 0.790909 | 0.171233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
387d39744fa0d596892a938a890a05e357a42997 | 93 | py | Python | app/views.py | sanjeevkumar12/flask-app-apispecs | c3ab260e2dd533f647224337fcbab6e8e22dba5b | [
"MIT"
] | null | null | null | app/views.py | sanjeevkumar12/flask-app-apispecs | c3ab260e2dd533f647224337fcbab6e8e22dba5b | [
"MIT"
] | null | null | null | app/views.py | sanjeevkumar12/flask-app-apispecs | c3ab260e2dd533f647224337fcbab6e8e22dba5b | [
"MIT"
] | null | null | null | from flask import render_template
def home_page():
return render_template("home.html")
| 15.5 | 39 | 0.763441 | 13 | 93 | 5.230769 | 0.769231 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 5 | 40 | 18.6 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
3893de1d57570c7acb2718b553bb0e182b74ea78 | 4,080 | py | Python | a10sdk/core/so/so_counters.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 16 | 2015-05-20T07:26:30.000Z | 2021-01-23T11:56:57.000Z | a10sdk/core/so/so_counters.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 6 | 2015-03-24T22:07:11.000Z | 2017-03-28T21:31:18.000Z | a10sdk/core/so/so_counters.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 SamplingEnable(A10BaseClass):
"""This class does not support CRUD Operations please use parent.
:param counters1: {"enum": ["all", "so_pkts_conn_in", "so_pkts_conn_redirect", "so_pkts_dropped", "so_pkts_errors", "so_pkts_in", "so_pkts_new_conn_in... | 70.344828 | 1,451 | 0.738971 | 588 | 4,080 | 4.765306 | 0.181973 | 0.12848 | 0.071378 | 0.037116 | 0.79015 | 0.79015 | 0.79015 | 0.79015 | 0.766595 | 0.766595 | 0 | 0.009195 | 0.147059 | 4,080 | 57 | 1,452 | 71.578947 | 0.795977 | 0.812255 | 0 | 0.526316 | 0 | 0 | 0.066478 | 0.029703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2a0daee13d87ce298996504e904d61508e61d26f | 33 | py | Python | tree_bark_synthesis/__init__.py | laitoch/tree-bark-synthesis | 0bd43d6699d2e05f62d144f310874f986bbd91d2 | [
"MIT"
] | null | null | null | tree_bark_synthesis/__init__.py | laitoch/tree-bark-synthesis | 0bd43d6699d2e05f62d144f310874f986bbd91d2 | [
"MIT"
] | null | null | null | tree_bark_synthesis/__init__.py | laitoch/tree-bark-synthesis | 0bd43d6699d2e05f62d144f310874f986bbd91d2 | [
"MIT"
] | null | null | null | from generate_tree_bark import *
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2a17bd0ebabee198a58e7c9783bc6e9d39997369 | 14,266 | py | Python | src/abaqus/Job/JobFromInputFile.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Job/JobFromInputFile.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Job/JobFromInputFile.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .Job import Job
from .MessageArray import MessageArray
class JobFromInputFile(Job):
"""The JobFromInputFile object defines a Job object which analyzes a model contained in an
input file.
The JobFromInputFile object is derived from the Job object.
Attributes
--... | 57.293173 | 120 | 0.669704 | 1,701 | 14,266 | 5.601411 | 0.146972 | 0.027918 | 0.056675 | 0.064232 | 0.867233 | 0.859257 | 0.859257 | 0.849916 | 0.849916 | 0.836692 | 0 | 0.002551 | 0.285644 | 14,266 | 248 | 121 | 57.524194 | 0.932391 | 0.770363 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.068966 | 0.103448 | 0 | 0.37931 | 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 |
2a2d1e759d24ed5f8134621f8feb6d1df44bde42 | 492 | py | Python | DailyChallenge/LC_231.py | iphyer/LeetcodeSummary | ad5229bbb8e76083e5c7f0312fa0c8ff78d516a9 | [
"MIT"
] | null | null | null | DailyChallenge/LC_231.py | iphyer/LeetcodeSummary | ad5229bbb8e76083e5c7f0312fa0c8ff78d516a9 | [
"MIT"
] | null | null | null | DailyChallenge/LC_231.py | iphyer/LeetcodeSummary | ad5229bbb8e76083e5c7f0312fa0c8ff78d516a9 | [
"MIT"
] | null | null | null | """
n & (n - 1) == 0
"""
class Solution(object):
def isPowerOfTwo(self, n):
if n == 0:
return False
return n & (n - 1) == 0
"""
n&(-n) == n
"""
class Solution(object):
def isPowerOfTwo(self, n):
if n == 0:
return False
return n & (-n) == n
"""
log N... | 14.057143 | 31 | 0.426829 | 63 | 492 | 3.333333 | 0.238095 | 0.057143 | 0.271429 | 0.314286 | 0.857143 | 0.857143 | 0.857143 | 0.857143 | 0.857143 | 0.857143 | 0 | 0.037931 | 0.410569 | 492 | 34 | 32 | 14.470588 | 0.686207 | 0.03252 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
2a36f4a3abfaeb7421e57bae23c4d4c1c797108a | 1,407 | py | Python | test/input/test_nestedsuppression.py | peternewman/pychecker | 725fcd43ec0fd324641b6a29a81155cf8a8698b7 | [
"BSD-3-Clause"
] | 18 | 2015-07-21T12:29:58.000Z | 2021-06-06T10:06:03.000Z | test/input/test_nestedsuppression.py | peternewman/pychecker | 725fcd43ec0fd324641b6a29a81155cf8a8698b7 | [
"BSD-3-Clause"
] | 1 | 2016-12-06T13:56:04.000Z | 2016-12-06T13:56:04.000Z | test/input/test_nestedsuppression.py | peternewman/pychecker | 725fcd43ec0fd324641b6a29a81155cf8a8698b7 | [
"BSD-3-Clause"
] | 11 | 2015-06-17T08:40:22.000Z | 2022-03-21T01:00:43.000Z | # -*- Mode: Python -*-
# vi:si:et:sw=4:sts=4:ts=4
class O(object):
pass
def containerFirst():
def first():
__pychecker__ = 'no-objattrs'
a = O()
# this one should not trigger a warning since __pychecker__ hides it
print a.nonexistent
def second():
b = O()
#... | 21.318182 | 76 | 0.571429 | 167 | 1,407 | 4.622754 | 0.215569 | 0.051813 | 0.082902 | 0.145078 | 0.86658 | 0.86658 | 0.862694 | 0.862694 | 0.862694 | 0.862694 | 0 | 0.003219 | 0.337598 | 1,407 | 65 | 77 | 21.646154 | 0.825107 | 0.319119 | 0 | 0.857143 | 0 | 0 | 0.046463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.02381 | 0 | null | null | 0.190476 | 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 |
2a3c412f45c83d44be346081a5ecab511fd94cd1 | 93 | py | Python | pants-plugins/grapl_setup_py/register.py | msilvey/grapl | 142dc8068d7955e3e4d24221aa94c236745d5faa | [
"Apache-2.0"
] | 313 | 2018-10-15T05:58:39.000Z | 2020-04-21T20:31:39.000Z | pants-plugins/grapl_setup_py/register.py | msilvey/grapl | 142dc8068d7955e3e4d24221aa94c236745d5faa | [
"Apache-2.0"
] | 848 | 2020-04-26T19:23:37.000Z | 2022-03-31T16:57:39.000Z | pants-plugins/grapl_setup_py/register.py | msilvey/grapl | 142dc8068d7955e3e4d24221aa94c236745d5faa | [
"Apache-2.0"
] | 43 | 2020-04-27T20:59:18.000Z | 2022-03-29T21:56:09.000Z | from grapl_setup_py import grapl_setupargs
def rules():
return grapl_setupargs.rules()
| 15.5 | 42 | 0.784946 | 13 | 93 | 5.307692 | 0.692308 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 5 | 43 | 18.6 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
2a4bde5f8df1a0029e18be4788278bfeb2d4699f | 163 | py | Python | tests/facettools/test_print2elog.py | joelfrederico/mytools | 7bf57c49c7dde0a8b0aa337fbd2fbd527ce7a67f | [
"MIT"
] | 1 | 2021-03-31T23:27:09.000Z | 2021-03-31T23:27:09.000Z | tests/facettools/test_print2elog.py | joelfrederico/mytools | 7bf57c49c7dde0a8b0aa337fbd2fbd527ce7a67f | [
"MIT"
] | null | null | null | tests/facettools/test_print2elog.py | joelfrederico/mytools | 7bf57c49c7dde0a8b0aa337fbd2fbd527ce7a67f | [
"MIT"
] | null | null | null | import mytools.facettools as mtft
import datetime as dt
def test_print2elog():
mtft.print2elog(author='Joel Frederico', title='Test', text='This is a test')
| 23.285714 | 81 | 0.748466 | 24 | 163 | 5.041667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.141104 | 163 | 6 | 82 | 27.166667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.196319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
2a6763bd81acc5145f2c5c1d2dc3a57c980619e8 | 154 | py | Python | lib/init.py | CDAT/changelogger | ac08b1afac63e26bfcf248b8526539644369cc19 | [
"BSD-2-Clause"
] | null | null | null | lib/init.py | CDAT/changelogger | ac08b1afac63e26bfcf248b8526539644369cc19 | [
"BSD-2-Clause"
] | 1 | 2020-07-28T00:05:42.000Z | 2020-07-28T00:05:42.000Z | lib/init.py | CDAT/changelogger | ac08b1afac63e26bfcf248b8526539644369cc19 | [
"BSD-2-Clause"
] | null | null | null | from . import gh
import os
import sys
if sys.version_info < (2,7,9):
import urllib3.contrib.pyopenssl
urllib3.contrib.pyopenssl.inject_into_urllib3()
| 17.111111 | 48 | 0.779221 | 24 | 154 | 4.875 | 0.666667 | 0.239316 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.123377 | 154 | 8 | 49 | 19.25 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
aac14cd858e0d2984444936f0bef4552974b3122 | 2,692 | py | Python | dataactcore/migrations/versions/3f24399ddd1b_add_high_comp_officer_fields_to_.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | dataactcore/migrations/versions/3f24399ddd1b_add_high_comp_officer_fields_to_.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 3 | 2021-08-22T11:47:45.000Z | 2022-03-29T22:06:49.000Z | dataactcore/migrations/versions/3f24399ddd1b_add_high_comp_officer_fields_to_.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2020-07-17T23:50:56.000Z | 2020-07-17T23:50:56.000Z | """Add high comp officer fields to detached_award_procurement table
Revision ID: 3f24399ddd1b
Revises: ad3dd1c0cf20
Create Date: 2019-05-24 09:31:12.678128
"""
# revision identifiers, used by Alembic.
revision = '3f24399ddd1b'
down_revision = 'ad3dd1c0cf20'
branch_labels = None
depends_on = None
from alembic import... | 45.627119 | 114 | 0.773031 | 364 | 2,692 | 5.318681 | 0.186813 | 0.086777 | 0.260331 | 0.309917 | 0.778926 | 0.778926 | 0.766529 | 0.766529 | 0.766529 | 0.600207 | 0 | 0.026446 | 0.10104 | 2,692 | 58 | 115 | 46.413793 | 0.773554 | 0.128529 | 0 | 0 | 0 | 0 | 0.466205 | 0.446274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.1875 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2ac81758f4aea43ca240e483956271d86c2211ae | 11,065 | py | Python | src/pyensae/languages/SimpleWorkflowListener.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 28 | 2015-07-19T21:20:51.000Z | 2022-02-16T11:50:53.000Z | src/pyensae/languages/SimpleWorkflowListener.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 34 | 2015-06-16T15:38:25.000Z | 2021-12-29T11:04:01.000Z | src/pyensae/languages/SimpleWorkflowListener.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 27 | 2015-01-13T08:24:22.000Z | 2022-03-31T14:51:23.000Z | # Generated from \SimpleWorkflow.g4 by ANTLR 4.9
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SimpleWorkflowParser import SimpleWorkflowParser
else:
from SimpleWorkflowParser import SimpleWorkflowParser
# This class defines a complete listener for a parse tree produced by SimpleWorkf... | 40.830258 | 99 | 0.767555 | 1,204 | 11,065 | 6.88289 | 0.106312 | 0.047062 | 0.078436 | 0.141185 | 0.883553 | 0.846869 | 0.842042 | 0.609992 | 0.580669 | 0.160372 | 0 | 0.00044 | 0.178943 | 11,065 | 270 | 100 | 40.981481 | 0.911723 | 0.388251 | 0 | 0.474074 | 1 | 0 | 0.000151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.474074 | false | 0.474074 | 0.022222 | 0 | 0.503704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
630b6da74dd3249e14036913cb96b73984f51600 | 7,538 | py | Python | ss7/game-soloban-2.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | ss7/game-soloban-2.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | ss7/game-soloban-2.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | <<<<<<< HEAD
#pusher
#map
#box
#destination
import time
#set pusher coordinate
#rep: P
pusher ={
"x":1,
"y":0
}
#set box coordinate
#rep: B
boxes = [
{
"x": 3,
"y": 2
},
{
"x": 1,
"y": 3
}]
#set destination coordinate
#rep: D
... | 21.66092 | 92 | 0.480499 | 990 | 7,538 | 3.575758 | 0.109091 | 0.049718 | 0.047458 | 0.064407 | 0.987571 | 0.987571 | 0.987571 | 0.987571 | 0.987571 | 0.987571 | 0 | 0.019374 | 0.37689 | 7,538 | 347 | 93 | 21.723343 | 0.734298 | 0.050677 | 0 | 0.911877 | 0 | 0.007663 | 0.066798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007663 | null | null | 0.091954 | 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 |
632e62984fcd1b96bb77eb1a3df08e72bb961d83 | 182 | py | Python | tests/refresh_token/mutations.py | kozickikarol/strawberry-django-jwt | 9e99a2b61db87a9ec0466cbeefd694a65b641612 | [
"MIT"
] | 17 | 2021-06-20T21:46:18.000Z | 2022-02-16T07:47:40.000Z | tests/refresh_token/mutations.py | kozickikarol/strawberry-django-jwt | 9e99a2b61db87a9ec0466cbeefd694a65b641612 | [
"MIT"
] | 249 | 2021-06-21T17:43:00.000Z | 2022-03-29T05:20:07.000Z | tests/refresh_token/mutations.py | kozickikarol/strawberry-django-jwt | 9e99a2b61db87a9ec0466cbeefd694a65b641612 | [
"MIT"
] | 5 | 2021-06-24T18:30:00.000Z | 2022-03-17T17:23:00.000Z | from strawberry_django_jwt.mixins import JSONWebTokenMixin
from strawberry_django_jwt.mixins import RefreshTokenMixin
class Refresh(RefreshTokenMixin, JSONWebTokenMixin):
pass
| 26 | 58 | 0.868132 | 19 | 182 | 8.105263 | 0.578947 | 0.181818 | 0.25974 | 0.298701 | 0.454545 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 182 | 6 | 59 | 30.333333 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
2d52fd42a8ff39cb6fc126b9181fef49a98c8561 | 38,459 | py | Python | fsmpy/tests/similarities/test_deng_jiang_fu.py | GCidd/fsmpy | 131e81925481b3fe608f2c1945bbb00a8b674e72 | [
"BSD-3-Clause"
] | 1 | 2022-01-31T07:01:59.000Z | 2022-01-31T07:01:59.000Z | fsmpy/tests/similarities/test_deng_jiang_fu.py | GCidd/fsmpy | 131e81925481b3fe608f2c1945bbb00a8b674e72 | [
"BSD-3-Clause"
] | null | null | null | fsmpy/tests/similarities/test_deng_jiang_fu.py | GCidd/fsmpy | 131e81925481b3fe608f2c1945bbb00a8b674e72 | [
"BSD-3-Clause"
] | null | null | null | from numpy.testing import assert_almost_equal
from fsmpy.sets import IntuitionisticFuzzySet
from fsmpy.datasets import load_patients_diagnoses
from fsmpy.similarities import deng_jiang_fu
from fsmpy import DENG_JIANG_FU_MONOTONIC_TYPE_1_1, DENG_JIANG_FU_MONOTONIC_TYPE_1_2, \
DENG_JIANG_FU_MONOTONIC_TYPE_1_3, DENG_... | 67.709507 | 141 | 0.705349 | 6,215 | 38,459 | 3.915527 | 0.038294 | 0.178262 | 0.217875 | 0.198069 | 0.972427 | 0.971933 | 0.969838 | 0.958373 | 0.949497 | 0.948675 | 0 | 0.07576 | 0.193453 | 38,459 | 567 | 142 | 67.828924 | 0.708759 | 0.004602 | 0 | 0.495127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.450292 | 1 | 0.019493 | false | 0 | 0.009747 | 0 | 0.02924 | 0 | 0 | 0 | 0 | null | 0 | 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 | 9 |
93597dbc14ca397692c49227fc452e9e651f3cf3 | 147 | py | Python | diazotheme/bootstrap/browser/interfaces.py | CMcStone/diazotheme.bootstrap | 156b0f802400e99ab0aa7d1912b9cc093a4c4a96 | [
"Apache-2.0"
] | null | null | null | diazotheme/bootstrap/browser/interfaces.py | CMcStone/diazotheme.bootstrap | 156b0f802400e99ab0aa7d1912b9cc093a4c4a96 | [
"Apache-2.0"
] | null | null | null | diazotheme/bootstrap/browser/interfaces.py | CMcStone/diazotheme.bootstrap | 156b0f802400e99ab0aa7d1912b9cc093a4c4a96 | [
"Apache-2.0"
] | null | null | null | class ITopBanner(Interface):
"""marker interface for Front Page"""
class IThemeSpecific(Interface):
"""marker interface for theme layer""" | 29.4 | 42 | 0.727891 | 16 | 147 | 6.6875 | 0.625 | 0.280374 | 0.448598 | 0.504673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14966 | 147 | 5 | 42 | 29.4 | 0.856 | 0.435374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 7 |
faa34a1338bab490be1426b717eef68d8e24bc44 | 163 | py | Python | muDIC/IO/__init__.py | diehlpk/muDIC | b5d90aa62267b4bd0b88ae0a989cf09a51990654 | [
"MIT"
] | 70 | 2019-04-15T08:08:23.000Z | 2022-03-23T08:24:25.000Z | muDIC/IO/__init__.py | diehlpk/muDIC | b5d90aa62267b4bd0b88ae0a989cf09a51990654 | [
"MIT"
] | 34 | 2019-05-03T18:09:43.000Z | 2022-02-10T11:36:29.000Z | muDIC/IO/__init__.py | diehlpk/muDIC | b5d90aa62267b4bd0b88ae0a989cf09a51990654 | [
"MIT"
] | 37 | 2019-04-25T15:39:23.000Z | 2022-03-28T21:40:24.000Z | from __future__ import absolute_import
from .image_stack import image_stack_from_folder, ImageStack, image_stack_from_list
from .readWriteUtils import save, load
| 32.6 | 83 | 0.871166 | 23 | 163 | 5.652174 | 0.521739 | 0.230769 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 163 | 4 | 84 | 40.75 | 0.884354 | 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 |
faadb20149467d67ebd525dbc83feae5cd6ef545 | 104 | py | Python | agnes/algos/__init__.py | rotinov/CITUS | 3d58794cfd5abf0b4f8b8eeb420af161c58de44e | [
"MIT"
] | 24 | 2019-09-26T09:53:56.000Z | 2021-11-04T02:31:41.000Z | agnes/algos/__init__.py | rotinov/CITUS | 3d58794cfd5abf0b4f8b8eeb420af161c58de44e | [
"MIT"
] | 2 | 2019-09-23T07:24:01.000Z | 2019-09-23T18:24:05.000Z | agnes/algos/__init__.py | rotinov/AGNES | 3d58794cfd5abf0b4f8b8eeb420af161c58de44e | [
"MIT"
] | null | null | null | from agnes.algos.a2c import A2C
from agnes.algos.ppo import PPO
from agnes.algos.ppo_rnd import PPORND
| 20.8 | 38 | 0.817308 | 19 | 104 | 4.421053 | 0.421053 | 0.321429 | 0.5 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.125 | 104 | 4 | 39 | 26 | 0.901099 | 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 |
87abcedc34d1433fbf100e35f0170c56263ad892 | 161 | py | Python | rhobot/components/storage/payload/__init__.py | rerobins/rhobot_framework | f97d1cedc929387f69448e41346a0d15fe202eef | [
"BSD-3-Clause"
] | null | null | null | rhobot/components/storage/payload/__init__.py | rerobins/rhobot_framework | f97d1cedc929387f69448e41346a0d15fe202eef | [
"BSD-3-Clause"
] | null | null | null | rhobot/components/storage/payload/__init__.py | rerobins/rhobot_framework | f97d1cedc929387f69448e41346a0d15fe202eef | [
"BSD-3-Clause"
] | null | null | null | from rhobot.components.storage.payload.storage import StoragePayload
from rhobot.components.storage.payload.result import ResultPayload, ResultCollectionPayload
| 53.666667 | 91 | 0.888199 | 17 | 161 | 8.411765 | 0.588235 | 0.13986 | 0.27972 | 0.377622 | 0.475524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055901 | 161 | 2 | 92 | 80.5 | 0.940789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
87f5683797a1fcdc0520cb9c858a21f68ed8a89a | 76 | py | Python | isle/_config.py | dmkskn/isle | 81397e6e8c75543f9fd2efd2c34928077542da2a | [
"MIT"
] | null | null | null | isle/_config.py | dmkskn/isle | 81397e6e8c75543f9fd2efd2c34928077542da2a | [
"MIT"
] | null | null | null | isle/_config.py | dmkskn/isle | 81397e6e8c75543f9fd2efd2c34928077542da2a | [
"MIT"
] | null | null | null | def tmdb_api_key():
from . import TMDB_API_KEY
return TMDB_API_KEY
| 15.2 | 30 | 0.723684 | 13 | 76 | 3.769231 | 0.538462 | 0.428571 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223684 | 76 | 4 | 31 | 19 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
35644935240481a217866ca9f60abae64c26357f | 16,546 | py | Python | src/openprocurement/tender/openua/tests/post_blanks.py | pontostroy/openprocurement.api | 6651ef29413d155c83f893ee64a611cf75f4daaf | [
"Apache-2.0"
] | null | null | null | src/openprocurement/tender/openua/tests/post_blanks.py | pontostroy/openprocurement.api | 6651ef29413d155c83f893ee64a611cf75f4daaf | [
"Apache-2.0"
] | null | null | null | src/openprocurement/tender/openua/tests/post_blanks.py | pontostroy/openprocurement.api | 6651ef29413d155c83f893ee64a611cf75f4daaf | [
"Apache-2.0"
] | null | null | null | from datetime import timedelta
import mock
from openprocurement.api.utils import get_now
from openprocurement.tender.core.tests.base import change_auth
RELEASE_2020_04_19_TEST_ENABLED = get_now() - timedelta(days=1)
RELEASE_2020_04_19_TEST_DISABLED = get_now() + timedelta(days=1)
@mock.patch("openprocurement.tende... | 42.101781 | 108 | 0.659676 | 1,810 | 16,546 | 5.883978 | 0.070718 | 0.119718 | 0.179249 | 0.087136 | 0.935962 | 0.918685 | 0.911643 | 0.911643 | 0.900751 | 0.886761 | 0 | 0.024833 | 0.196845 | 16,546 | 392 | 109 | 42.209184 | 0.776582 | 0.0553 | 0 | 0.815534 | 0 | 0 | 0.306775 | 0.058778 | 0 | 0 | 0 | 0 | 0.297735 | 1 | 0.032362 | false | 0 | 0.012945 | 0 | 0.045307 | 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 |
35c8a8cc37e213870c935fb037ff8af8130fb3c1 | 3,407 | py | Python | python/079_Word_Search.py | JerryCatLeung/leetcode | ac33a66d7754810ca40fc4fd595b633d30d9afc4 | [
"Apache-2.0"
] | null | null | null | python/079_Word_Search.py | JerryCatLeung/leetcode | ac33a66d7754810ca40fc4fd595b633d30d9afc4 | [
"Apache-2.0"
] | null | null | null | python/079_Word_Search.py | JerryCatLeung/leetcode | ac33a66d7754810ca40fc4fd595b633d30d9afc4 | [
"Apache-2.0"
] | null | null | null | class Solution(object):
def exist(self, board, word):
"""
:type board: List[List[str]]
:type word: str
:rtype: bool
"""
check_board = [[True] * len(board[0]) for _ in range(len(board))]
for i in range(len(board)):
for j in range(len(board[... | 87.358974 | 1,914 | 0.744056 | 227 | 3,407 | 11 | 0.180617 | 0.672807 | 0.973168 | 1.249499 | 0.443732 | 0.410092 | 0.381258 | 0.381258 | 0.381258 | 0.348418 | 0 | 0.006399 | 0.174347 | 3,407 | 39 | 1,914 | 87.358974 | 0.881266 | 0 | 0 | 0.206897 | 0 | 0 | 0.552398 | 0.549954 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.034483 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
35cf49f3bbec9b0bbae3bd259f933b4da1062f13 | 11,426 | py | Python | lenets.py | Chunhai-Yu/CarND-Traffic-Sign-Classifier | db297eb5f7d7036d3078901dd9e7218afd80c0d9 | [
"MIT"
] | 1 | 2021-03-24T12:53:49.000Z | 2021-03-24T12:53:49.000Z | lenets.py | Chunhai-Yu/CarND-Traffic-Sign-Classifier | db297eb5f7d7036d3078901dd9e7218afd80c0d9 | [
"MIT"
] | null | null | null | lenets.py | Chunhai-Yu/CarND-Traffic-Sign-Classifier | db297eb5f7d7036d3078901dd9e7218afd80c0d9 | [
"MIT"
] | 1 | 2021-03-12T07:19:17.000Z | 2021-03-12T07:19:17.000Z | import cv2
import numpy as np
import tensorflow as tf
from tensorflow.contrib.layers import flatten
def LeNet(x, keep_prob_conv, keep_prob_fc):
# Arguments used for tf.truncated_normal, randomly defines variables for the weights and biases for each layer
mu = 0
sigma = 0.1
# Change RGB to Gray... | 40.51773 | 114 | 0.653597 | 1,759 | 11,426 | 4.122797 | 0.08755 | 0.033094 | 0.069498 | 0.060811 | 0.858246 | 0.84487 | 0.841147 | 0.81219 | 0.800055 | 0.788748 | 0 | 0.097508 | 0.19937 | 11,426 | 282 | 115 | 40.517731 | 0.695234 | 0.259321 | 0 | 0.748344 | 0 | 0 | 0.00935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02649 | false | 0 | 0.02649 | 0 | 0.07947 | 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 |
35d0023b71963da7cd0849279246d1d2da3a31fb | 28,984 | py | Python | tests/datasource/test_new_datasource_with_runtime_data_connector.py | veatch/great_expectations | 8500468618fc7293d600a3660d830c9fc23ccbf8 | [
"Apache-2.0"
] | null | null | null | tests/datasource/test_new_datasource_with_runtime_data_connector.py | veatch/great_expectations | 8500468618fc7293d600a3660d830c9fc23ccbf8 | [
"Apache-2.0"
] | null | null | null | tests/datasource/test_new_datasource_with_runtime_data_connector.py | veatch/great_expectations | 8500468618fc7293d600a3660d830c9fc23ccbf8 | [
"Apache-2.0"
] | null | null | null | import os
from typing import Dict, List
import pandas as pd
import pytest
try:
sqlalchemy = pytest.importorskip("sqlalchemy")
except ImportError:
sqlalchemy = None
from ruamel.yaml import YAML
import great_expectations.exceptions as ge_exceptions
from great_expectations.core.batch import (
Batch,
Ba... | 37.788787 | 131 | 0.702836 | 3,217 | 28,984 | 5.813802 | 0.066211 | 0.100786 | 0.115489 | 0.104261 | 0.922152 | 0.909105 | 0.890927 | 0.885419 | 0.880394 | 0.865637 | 0 | 0.009939 | 0.218914 | 28,984 | 766 | 132 | 37.83812 | 0.816202 | 0.083736 | 0 | 0.710311 | 0 | 0 | 0.206458 | 0.060105 | 0 | 0 | 0 | 0 | 0.03437 | 1 | 0.045827 | false | 0.003273 | 0.018003 | 0.001637 | 0.06874 | 0.001637 | 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 |
ea0e4fb02570efb7ed1eeccf76b9f0f6ce919673 | 33,459 | py | Python | pytorch-a2c-ppo-acktr/main.py | mjsargent/gym-miniworld | 79614f991f7bfc3428959e6e6b82461bc54bdd2e | [
"Apache-2.0"
] | null | null | null | pytorch-a2c-ppo-acktr/main.py | mjsargent/gym-miniworld | 79614f991f7bfc3428959e6e6b82461bc54bdd2e | [
"Apache-2.0"
] | null | null | null | pytorch-a2c-ppo-acktr/main.py | mjsargent/gym-miniworld | 79614f991f7bfc3428959e6e6b82461bc54bdd2e | [
"Apache-2.0"
] | null | null | null | import copy
import glob
import os
import time
import types
from collections import deque
import gym
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import algo
from arguments import get_args
from envs import make_vec_envs
from model import Policy, SFPo... | 43.909449 | 177 | 0.50937 | 3,623 | 33,459 | 4.477505 | 0.07342 | 0.068179 | 0.028603 | 0.012822 | 0.899642 | 0.889841 | 0.874861 | 0.867341 | 0.861793 | 0.861793 | 0 | 0.008228 | 0.397053 | 33,459 | 761 | 178 | 43.967148 | 0.795876 | 0.036343 | 0 | 0.774131 | 0 | 0.007722 | 0.05407 | 0 | 0 | 0 | 0 | 0.005256 | 0.003861 | 1 | 0.009653 | false | 0.007722 | 0.034749 | 0 | 0.059846 | 0.032819 | 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 |
ea677fe15da31187b7c8b2180789afb81150f266 | 717 | py | Python | src/sage/calculus/predefined.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/calculus/predefined.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/calculus/predefined.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | from sage.symbolic.ring import var as _var
a = _var('a')
b = _var('b')
c = _var('c')
d = _var('d')
f = _var('f')
g = _var('g')
h = _var('h')
j = _var('j')
k = _var('k')
l = _var('l')
m = _var('m')
n = _var('n')
o = _var('o')
p = _var('p')
q = _var('q')
r = _var('r')
s = _var('s')
t = _var('t')
u = _var('u')
v = _var('... | 13.788462 | 42 | 0.450488 | 152 | 717 | 1.802632 | 0.210526 | 0.043796 | 0.036496 | 0.043796 | 0.839416 | 0.839416 | 0.839416 | 0.839416 | 0.839416 | 0.839416 | 0 | 0 | 0.211994 | 717 | 51 | 43 | 14.058824 | 0.484956 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ea7ae2e09c13dc99361ba5bbe01ecf69efd9b4d8 | 9,427 | py | Python | tests/test_tb.py | StanfordAHA/Lake | 34df001db107e1a0824b7fdb05b9f2145bf49a3e | [
"BSD-3-Clause"
] | 11 | 2019-10-14T02:05:38.000Z | 2022-03-10T14:10:22.000Z | tests/test_tb.py | StanfordAHA/Lake | 34df001db107e1a0824b7fdb05b9f2145bf49a3e | [
"BSD-3-Clause"
] | 29 | 2019-09-02T05:49:40.000Z | 2022-02-26T00:57:54.000Z | tests/test_tb.py | StanfordAHA/Lake | 34df001db107e1a0824b7fdb05b9f2145bf49a3e | [
"BSD-3-Clause"
] | 1 | 2021-04-16T20:26:13.000Z | 2021-04-16T20:26:13.000Z | from lake.models.tb_model import TBModel
from lake.modules.transpose_buffer import TransposeBuffer
import magma as m
from magma import *
import fault
import tempfile
import kratos as k
import random as rand
import pytest
@pytest.mark.parametrize("start_addr", [0, 1])
def test_tb(start_addr,
word_width=16,... | 28.224551 | 89 | 0.56667 | 1,155 | 9,427 | 4.333333 | 0.103896 | 0.155844 | 0.055944 | 0.030569 | 0.904496 | 0.895505 | 0.895505 | 0.890909 | 0.881119 | 0.881119 | 0 | 0.026307 | 0.342739 | 9,427 | 333 | 90 | 28.309309 | 0.781472 | 0.040098 | 0 | 0.861789 | 0 | 0 | 0.037299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012195 | false | 0 | 0.036585 | 0 | 0.04878 | 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 |
57a02f1dbe87707a47303254c24ac1d2ddf4a927 | 4,989 | py | Python | wrappers/SONATAClient/sonpackage.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | wrappers/SONATAClient/sonpackage.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | wrappers/SONATAClient/sonpackage.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | from ..CommonInterface import CommonInterfaceSonPackage
# from .helpers import Helpers
import json
import requests
class Package(CommonInterfaceSonPackage):
def __init__(self, host, port=4002):
self._host = host
self._port = port
self._base_path = 'http://{0}:{1}'
self._... | 39.595238 | 103 | 0.563039 | 569 | 4,989 | 4.782074 | 0.149385 | 0.064682 | 0.030871 | 0.035281 | 0.823962 | 0.808159 | 0.808159 | 0.808159 | 0.808159 | 0.808159 | 0 | 0.008298 | 0.299459 | 4,989 | 126 | 104 | 39.595238 | 0.770243 | 0.005612 | 0 | 0.762376 | 0 | 0 | 0.156153 | 0.050465 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059406 | false | 0 | 0.029703 | 0 | 0.19802 | 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 |
57a92b93a24868c2458024584c4ba00bb4e9648b | 9,796 | py | Python | main_flask.py | akahard2dj/CandleMap | 84f559ea3c049a446bc884f9492c44516c4e12fd | [
"MIT"
] | null | null | null | main_flask.py | akahard2dj/CandleMap | 84f559ea3c049a446bc884f9492c44516c4e12fd | [
"MIT"
] | null | null | null | main_flask.py | akahard2dj/CandleMap | 84f559ea3c049a446bc884f9492c44516c4e12fd | [
"MIT"
] | null | null | null | from flask import Flask, abort, request
from profanity import profanity
import json
from SQLiteDB.candle_location_db import CandleLocation
from SQLiteDB.candle_board_db import CandleBoard
from SQLiteDB.candle_count_db import CandleCount
from SQLiteDB.api_key_db import APIKey
from util.verification import VerificationTe... | 34.013889 | 77 | 0.606778 | 1,160 | 9,796 | 4.808621 | 0.100862 | 0.105414 | 0.102546 | 0.064719 | 0.82431 | 0.808175 | 0.808175 | 0.802797 | 0.759591 | 0.73772 | 0 | 0.003888 | 0.264904 | 9,796 | 287 | 78 | 34.132404 | 0.770726 | 0.126889 | 0 | 0.748663 | 0 | 0 | 0.149284 | 0.005285 | 0 | 0 | 0 | 0.003484 | 0 | 1 | 0.032086 | false | 0 | 0.042781 | 0.005348 | 0.15508 | 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 |
57cb4bc7f518209322a0d824c1d2228e22c3f993 | 4,652 | py | Python | py3canvas/tests/feature_flags.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | py3canvas/tests/feature_flags.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | py3canvas/tests/feature_flags.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | """FeatureFlags API Tests for Version 1.0.
This is a testing template for the generated FeatureFlagsAPI Class.
"""
import unittest
import requests
import secrets
from py3canvas.apis.feature_flags import FeatureFlagsAPI
from py3canvas.apis.feature_flags import Feature
from py3canvas.apis.feature_flags import Featurefla... | 40.103448 | 125 | 0.719046 | 586 | 4,652 | 5.421502 | 0.119454 | 0.083097 | 0.067989 | 0.110796 | 0.869374 | 0.86119 | 0.810198 | 0.742839 | 0.705068 | 0.401952 | 0 | 0.001348 | 0.202709 | 4,652 | 115 | 126 | 40.452174 | 0.855217 | 0.408212 | 0 | 0.355932 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288136 | false | 0.050847 | 0.101695 | 0 | 0.40678 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
57d2c8edf9d53e801dde17ae4136457d4b928555 | 10,969 | py | Python | MeshTest/UnitTest/System/Entity/test_concrete.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | null | null | null | MeshTest/UnitTest/System/Entity/test_concrete.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | 2 | 2019-02-25T00:10:15.000Z | 2019-03-22T20:13:32.000Z | MeshTest/UnitTest/System/Entity/test_concrete.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | null | null | null | import numpy as np
from Mesh.System.Entity.Concrete import transform_shape
from MeshTest.AppTestCase import AppTestCase
class TestConcrete(AppTestCase):
def setUp(self):
super().setUp()
self.arr = np.arange(8).reshape((2, 2, 2))
def test_transform_shape_valid(self):
expected = self.a... | 35.157051 | 107 | 0.472058 | 1,341 | 10,969 | 3.779269 | 0.03654 | 0.039463 | 0.031965 | 0.21547 | 0.948106 | 0.941989 | 0.929558 | 0.898777 | 0.887135 | 0.841555 | 0 | 0.077163 | 0.328927 | 10,969 | 311 | 108 | 35.270096 | 0.61133 | 0 | 0 | 0.743295 | 0 | 0 | 0.002235 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.019157 | false | 0 | 0.011494 | 0 | 0.034483 | 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 | 0 | 0 | 0 | 8 |
57dc92a308accf76950d4c8af2a97681578eaaa0 | 15,308 | py | Python | sdk/python/pulumi_aws/ecs/cluster_capacity_providers.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ecs/cluster_capacity_providers.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ecs/cluster_capacity_providers.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"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... | 52.604811 | 257 | 0.707539 | 1,592 | 15,308 | 6.547739 | 0.104271 | 0.072813 | 0.09977 | 0.10447 | 0.808039 | 0.786454 | 0.780794 | 0.773216 | 0.75566 | 0.746642 | 0 | 0.000741 | 0.206493 | 15,308 | 290 | 258 | 52.786207 | 0.857413 | 0.3555 | 0 | 0.639456 | 1 | 0 | 0.187252 | 0.126596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14966 | false | 0.006803 | 0.047619 | 0 | 0.285714 | 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 |
17b1fb950239cf84895b01209096ae3457d28065 | 14,607 | py | Python | example/controller/tests/view/module/pagination/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | example/controller/tests/view/module/pagination/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | example/controller/tests/view/module/pagination/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from dp_tornado.engine.controller import Controller
from bs4 import BeautifulSoup
class PaginationController(Controller):
def get(self):
self.test_simple_1()
self.test_simple_2()
self.test_all()
self.test_first_page()
self.test_last_page()
... | 27.875954 | 84 | 0.525844 | 1,580 | 14,607 | 4.626582 | 0.047468 | 0.056635 | 0.045144 | 0.049248 | 0.947606 | 0.946785 | 0.94186 | 0.934884 | 0.934884 | 0.934884 | 0 | 0.018348 | 0.339563 | 14,607 | 523 | 85 | 27.929254 | 0.739401 | 0.001438 | 0 | 0.847411 | 0 | 0 | 0.160518 | 0.018102 | 0 | 0 | 0 | 0 | 0.207084 | 1 | 0.024523 | false | 0 | 0.00545 | 0 | 0.032698 | 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 |
17b3257d427965ab03a2a19c13479c51f5dbf384 | 5,912 | py | Python | google/dataflow/v1beta3/dataflow-v1beta3-py/google/cloud/dataflow_v1beta3/types/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/dataflow/v1beta3/dataflow-v1beta3-py/google/cloud/dataflow_v1beta3/types/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/dataflow/v1beta3/dataflow-v1beta3-py/google/cloud/dataflow_v1beta3/types/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 24.329218 | 74 | 0.714817 | 325 | 5,912 | 12.990769 | 0.553846 | 0.014211 | 0.006158 | 0.007579 | 0.863098 | 0.863098 | 0.811937 | 0.811937 | 0.74325 | 0.74325 | 0 | 0.001908 | 0.202131 | 5,912 | 242 | 75 | 24.429752 | 0.893152 | 0.096245 | 0 | 0 | 0 | 0 | 0.342031 | 0.14342 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039823 | 0 | 0.039823 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
17e22c53d55ab769f6ed8874f77cea25cc3fb536 | 135 | py | Python | code/chapter-1/exercise1_2.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-1/exercise1_2.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-1/exercise1_2.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | print("Welcome to Python")
print("Welcome to Python")
print("Welcome to Python")
print("Welcome to Python")
print("Welcome to Python")
| 22.5 | 26 | 0.740741 | 20 | 135 | 5 | 0.2 | 0.6 | 0.7 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.111111 | 135 | 5 | 27 | 27 | 0.833333 | 0 | 0 | 1 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 15 |
17e43d8cd899f3aaac008d2930e7f57c31b0c140 | 683 | py | Python | python/se3-legacy/tests/test_ie.py | saucelabs-training/platform-config-tests | 11dfab8f9be2fe118ed0b0fa4adebb75a5f1a64c | [
"MIT"
] | 1 | 2021-11-17T22:29:42.000Z | 2021-11-17T22:29:42.000Z | python/se3-legacy/tests/test_ie.py | saucelabs-training/platform-config-tests | 11dfab8f9be2fe118ed0b0fa4adebb75a5f1a64c | [
"MIT"
] | null | null | null | python/se3-legacy/tests/test_ie.py | saucelabs-training/platform-config-tests | 11dfab8f9be2fe118ed0b0fa4adebb75a5f1a64c | [
"MIT"
] | 1 | 2021-11-17T22:29:35.000Z | 2021-11-17T22:29:35.000Z | def test_win10(helpers):
caps = {}
caps['browserName'] = 'internet explorer'
caps['platform'] = 'Windows 10'
caps['version'] = '11'
driver = helpers.start_driver(caps)
helpers.validate_google(driver)
def test_late_win7(helpers):
caps = {}
caps['browserName'] = 'internet explorer'
c... | 25.296296 | 45 | 0.650073 | 77 | 683 | 5.623377 | 0.285714 | 0.048499 | 0.103926 | 0.180139 | 0.944573 | 0.944573 | 0.944573 | 0.944573 | 0.944573 | 0.676674 | 0 | 0.02381 | 0.200586 | 683 | 26 | 46 | 26.269231 | 0.769231 | 0 | 0 | 0.761905 | 0 | 0 | 0.237189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 8 |
aa397bf2e760183861998320af68ee05b732d3c8 | 2,774 | py | Python | tests/integration/taskqueue/manager_test.py | gunjanswitchco/gcloud-rest | bf6af906880c25500d8e76b5ce3f807968185780 | [
"MIT"
] | null | null | null | tests/integration/taskqueue/manager_test.py | gunjanswitchco/gcloud-rest | bf6af906880c25500d8e76b5ce3f807968185780 | [
"MIT"
] | null | null | null | tests/integration/taskqueue/manager_test.py | gunjanswitchco/gcloud-rest | bf6af906880c25500d8e76b5ce3f807968185780 | [
"MIT"
] | null | null | null | import json
import time
import pytest
from gcloud.rest.taskqueue import encode
from gcloud.rest.taskqueue import TaskManager
@pytest.mark.xfail
def test_lifecycle(caplog, mocker, project, creds, pull_queue_name):
tasks = [
{'test_idx': 1},
{'test_idx': 2},
{'test_idx': 3},
{'test... | 26.932039 | 77 | 0.629056 | 357 | 2,774 | 4.703081 | 0.22409 | 0.033353 | 0.046456 | 0.061942 | 0.900536 | 0.852889 | 0.852889 | 0.852889 | 0.852889 | 0.852889 | 0 | 0.011138 | 0.255588 | 2,774 | 102 | 78 | 27.196078 | 0.801937 | 0.039654 | 0 | 0.736111 | 0 | 0 | 0.071133 | 0.039142 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.069444 | false | 0 | 0.069444 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4cad147a4bfe6a35c10df7da0d14d3b47220d17 | 15,075 | py | Python | python/test/test_BoolFunction.py | zeta1999/tweedledum | f070bf582347668f96943a459e51e1a39572b7f4 | [
"MIT"
] | 1 | 2022-03-04T21:44:26.000Z | 2022-03-04T21:44:26.000Z | python/test/test_BoolFunction.py | CQCL/tweedledum | f070bf582347668f96943a459e51e1a39572b7f4 | [
"MIT"
] | null | null | null | python/test/test_BoolFunction.py | CQCL/tweedledum | f070bf582347668f96943a459e51e1a39572b7f4 | [
"MIT"
] | 1 | 2021-04-12T06:17:06.000Z | 2021-04-12T06:17:06.000Z | #-------------------------------------------------------------------------------
# Part of Tweedledum Project. This file is distributed under the MIT License.
# See accompanying file /LICENSE for details.
#-------------------------------------------------------------------------------
import unittest
from tweedledum.... | 43.950437 | 80 | 0.531144 | 1,699 | 15,075 | 4.58093 | 0.049441 | 0.154182 | 0.132597 | 0.156238 | 0.940126 | 0.895156 | 0.867275 | 0.847874 | 0.816395 | 0.781447 | 0 | 0.036776 | 0.341625 | 15,075 | 342 | 81 | 44.078947 | 0.747406 | 0.020232 | 0 | 0.788396 | 0 | 0 | 0.00508 | 0 | 0 | 0 | 0.004876 | 0 | 0.273038 | 1 | 0.146758 | false | 0 | 0.010239 | 0 | 0.167235 | 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 |
1046957f063d775f5e5ee89ddc8d4f78a0582a3b | 17,037 | py | Python | src/makeMetre.py | ytyaru/Python.Audio.Chord.2017081743 | f9bad6c9c013c216aff586bed56ea646f26d1236 | [
"CC0-1.0"
] | 1 | 2019-11-14T07:30:23.000Z | 2019-11-14T07:30:23.000Z | src/makeMetre.py | ytyaru/Python.Audio.Scale.201708102021 | 6f5e47c7af00ff793cce0893dff29b1e6904cb4e | [
"CC0-1.0"
] | null | null | null | src/makeMetre.py | ytyaru/Python.Audio.Scale.201708102021 | 6f5e47c7af00ff793cce0893dff29b1e6904cb4e | [
"CC0-1.0"
] | null | null | null | #!python3.6
#coding:utf-8
import time
import Wave.Player
import Wave.Sampler
import Wave.BaseWaveMaker
import Wave.WaveFile
import MusicTheory.EqualTemperament
import MusicTheory.Scale
import MusicTheory.tempo
import pathlib
def make_metre():
wm = Wave.BaseWaveMaker.BaseWaveMaker()
sampler = Wave.Sampler.Sampl... | 57.363636 | 110 | 0.634149 | 3,122 | 17,037 | 3.457399 | 0.040038 | 0.102557 | 0.182324 | 0.273485 | 0.894015 | 0.894015 | 0.891884 | 0.88929 | 0.884288 | 0.864276 | 0 | 0.095969 | 0.139461 | 17,037 | 296 | 111 | 57.557432 | 0.64027 | 0.028937 | 0 | 0.692913 | 0 | 0 | 0.050212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003937 | false | 0 | 0.035433 | 0 | 0.03937 | 0.102362 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
52ceed1ffc9ac18c1b29e4ad68689974aa310190 | 6,796 | py | Python | tests/unit/extutils/imgproc.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | tests/unit/extutils/imgproc.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | tests/unit/extutils/imgproc.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | import os
from tempfile import TemporaryDirectory
from zipfile import ZipFile, is_zipfile
from extutils.imgproc.apng2gif import convert, ConvertResult, ConvertOpResult
from tests.base import TestCase
__all__ = ["TestApng2Gif", "TestApng2GifConvertResult", "TestApng2GifConvertOpResult"]
class TestApng2Gif(TestCase):... | 34.851282 | 86 | 0.676133 | 761 | 6,796 | 5.884363 | 0.103811 | 0.026798 | 0.103171 | 0.081286 | 0.857749 | 0.847477 | 0.824252 | 0.806387 | 0.806387 | 0.80594 | 0 | 0.014026 | 0.223661 | 6,796 | 194 | 87 | 35.030928 | 0.834723 | 0 | 0 | 0.758865 | 0 | 0 | 0.027958 | 0.015303 | 0 | 0 | 0 | 0 | 0.588652 | 1 | 0.070922 | false | 0 | 0.035461 | 0 | 0.12766 | 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 |
5e11fc1312f940ad6ecbf7b8b7ab6c04a4a7d52f | 121 | py | Python | app/endpoints/__init__.py | s-andrew/FlaskProductRest | 167e44e7c379f50cf83502a5fc423cb6ef92132a | [
"BSD-2-Clause"
] | null | null | null | app/endpoints/__init__.py | s-andrew/FlaskProductRest | 167e44e7c379f50cf83502a5fc423cb6ef92132a | [
"BSD-2-Clause"
] | null | null | null | app/endpoints/__init__.py | s-andrew/FlaskProductRest | 167e44e7c379f50cf83502a5fc423cb6ef92132a | [
"BSD-2-Clause"
] | null | null | null | from .products import products_blueprint
def register_blueprints(app):
app.register_blueprint(products_blueprint) | 30.25 | 46 | 0.826446 | 14 | 121 | 6.857143 | 0.571429 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 4 | 46 | 30.25 | 0.897196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 1 | 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 | 0 | 1 | 1 | 0 | 7 |
5e27c8628f03af7a382487274299b91d0f9df20e | 17,559 | py | Python | thrift_ps/server/ps_server.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 23 | 2021-05-17T09:24:24.000Z | 2022-01-29T18:40:44.000Z | thrift_ps/server/ps_server.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 2 | 2021-05-17T16:15:12.000Z | 2021-07-20T09:11:22.000Z | thrift_ps/server/ps_server.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 3 | 2021-05-17T09:31:53.000Z | 2021-12-02T16:29:59.000Z | import sys
import threading
import time
import numpy as np
from thrift_ps.ps_service import ParameterServer
from thrift_ps.ps_service.ttypes import Model, Grad, Update, Operation, InvalidOperation
class PSHandler:
def __init__(self):
self.models = {}
self.model_ts = {}
se... | 40.551963 | 124 | 0.565351 | 2,269 | 17,559 | 4.152931 | 0.049802 | 0.104107 | 0.053486 | 0.057307 | 0.952881 | 0.935583 | 0.928367 | 0.904171 | 0.882521 | 0.882521 | 0 | 0.002787 | 0.305314 | 17,559 | 433 | 125 | 40.551963 | 0.769716 | 0.035082 | 0 | 0.889488 | 0 | 0 | 0.098715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123989 | false | 0 | 0.016173 | 0.016173 | 0.19407 | 0.097035 | 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 |
eadddaf17baf95afb378437003a60cb49cff68e8 | 70 | py | Python | web/app/tokengen.py | lackita/online-ratings | 14ceda5ad89c8c388e214e04c054eaadf0055db9 | [
"MIT"
] | 18 | 2015-04-01T21:58:27.000Z | 2020-05-24T06:46:42.000Z | web/app/tokengen.py | lackita/online-ratings | 14ceda5ad89c8c388e214e04c054eaadf0055db9 | [
"MIT"
] | 63 | 2015-10-08T00:40:31.000Z | 2020-09-12T18:35:55.000Z | web/app/tokengen.py | lackita/online-ratings | 14ceda5ad89c8c388e214e04c054eaadf0055db9 | [
"MIT"
] | 12 | 2015-08-16T19:46:17.000Z | 2020-09-11T23:17:06.000Z | from uuid import uuid4
def generate_token():
return str(uuid4())
| 14 | 23 | 0.714286 | 10 | 70 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.185714 | 70 | 4 | 24 | 17.5 | 0.824561 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
dc6a663498842962d9688f5fdb9fb9473a386601 | 1,086 | py | Python | orchestra/models/__init__.py | ksbek/orchestra | 07556717feb57efcf8fb29a1e2e98eebe2313b8c | [
"Apache-2.0"
] | null | null | null | orchestra/models/__init__.py | ksbek/orchestra | 07556717feb57efcf8fb29a1e2e98eebe2313b8c | [
"Apache-2.0"
] | null | null | null | orchestra/models/__init__.py | ksbek/orchestra | 07556717feb57efcf8fb29a1e2e98eebe2313b8c | [
"Apache-2.0"
] | 1 | 2021-12-15T01:10:35.000Z | 2021-12-15T01:10:35.000Z | from orchestra.models.communication.models import CommunicationPreference # noqa
from orchestra.models.communication.models import StaffBotRequest # noqa
from orchestra.models.communication.models import StaffingRequestInquiry # noqa
from orchestra.models.communication.models import StaffingResponse # noqa
from orc... | 60.333333 | 81 | 0.827808 | 136 | 1,086 | 6.610294 | 0.176471 | 0.245829 | 0.359288 | 0.409344 | 0.773081 | 0.773081 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.109576 | 1,086 | 17 | 82 | 63.882353 | 0.929679 | 0.077348 | 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 | 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 |
dc702703bfded935295e6ad726e5f06f2c1b4171 | 1,709 | py | Python | test/regexp/python1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/regexp/python1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/regexp/python1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | a = r'[a-z]'
a = R'[a-z]'
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
r : source.python, storage.type.string.python, string.regexp.quoted.single.python
' : punctuation.definition.st... | 65.730769 | 159 | 0.677589 | 202 | 1,709 | 5.732673 | 0.118812 | 0.207254 | 0.15544 | 0.165803 | 0.990501 | 0.983592 | 0.983592 | 0.978411 | 0.868739 | 0.811744 | 0 | 0 | 0.199532 | 1,709 | 25 | 160 | 68.36 | 0.846491 | 0 | 0 | 0.363636 | 0 | 0.318182 | 0.005851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
dc8ff809cf2bda91eeb360880f94827d6aa10afe | 95 | py | Python | lang/py/cookbook/v2/source/cb2_19_16_exm_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_19_16_exm_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_19_16_exm_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | yield p + (1,)
if p and (len(p) < 2 or p[-2] > p[-1]):
yield p[:-1] + (p[-1] + 1,)
| 23.75 | 43 | 0.357895 | 20 | 95 | 1.7 | 0.4 | 0.235294 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.336842 | 95 | 3 | 44 | 31.666667 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dcb400b56591dc069d5565f5fc4cf3aaca4a94a2 | 4,819 | py | Python | tests/test_desktop_files.py | milouse/chwall | 963045658abd41c94e29850e9f416c8970e06c32 | [
"WTFPL"
] | 4 | 2019-11-02T12:22:48.000Z | 2022-01-07T11:40:40.000Z | tests/test_desktop_files.py | milouse/chwall | 963045658abd41c94e29850e9f416c8970e06c32 | [
"WTFPL"
] | 1 | 2022-03-29T18:44:47.000Z | 2022-03-30T07:04:54.000Z | tests/test_desktop_files.py | milouse/chwall | 963045658abd41c94e29850e9f416c8970e06c32 | [
"WTFPL"
] | null | null | null | import os
from io import StringIO
import unittest
from unittest.mock import patch
from chwall.utils import ServiceFileManager
from chwall.gui.app import generate_desktop_file
from chwall.client import ChwallClient
@patch("sys.stdout", new_callable=StringIO)
class TestDesktopFiles(unittest.TestCase):
def setUp(se... | 41.188034 | 81 | 0.65055 | 593 | 4,819 | 5.048904 | 0.133221 | 0.08016 | 0.056112 | 0.072144 | 0.869405 | 0.862057 | 0.862057 | 0.862057 | 0.855377 | 0.846025 | 0 | 0.006405 | 0.222453 | 4,819 | 116 | 82 | 41.543103 | 0.792634 | 0 | 0 | 0.732673 | 1 | 0 | 0.169745 | 0.066404 | 0 | 0 | 0 | 0 | 0.118812 | 1 | 0.128713 | false | 0.039604 | 0.069307 | 0 | 0.207921 | 0.039604 | 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 |
f4e44a8eab90de2207593381cbb5fbdd29c75770 | 3,465 | py | Python | lib/innvestigate/tests/analyzer/test_wrapper.py | vwesselkamp/deepfake-fingerprint-atacks | 0befc913b081913255399d4264f09bce0d39cbcb | [
"MIT"
] | null | null | null | lib/innvestigate/tests/analyzer/test_wrapper.py | vwesselkamp/deepfake-fingerprint-atacks | 0befc913b081913255399d4264f09bce0d39cbcb | [
"MIT"
] | null | null | null | lib/innvestigate/tests/analyzer/test_wrapper.py | vwesselkamp/deepfake-fingerprint-atacks | 0befc913b081913255399d4264f09bce0d39cbcb | [
"MIT"
] | null | null | null | # Get Python six functionality:
from __future__ import absolute_import, division, print_function, unicode_literals
import pytest
from innvestigate.analyzer import (
AugmentReduceBase,
GaussianSmoother,
Gradient,
PathIntegrator,
WrapperBase,
)
from tests import dryrun
@pytest.mark.fast
@pytest.m... | 25.858209 | 82 | 0.588456 | 309 | 3,465 | 6.381877 | 0.12945 | 0.10142 | 0.115619 | 0.133874 | 0.840771 | 0.840771 | 0.840771 | 0.840771 | 0.840771 | 0.748479 | 0 | 0 | 0.118326 | 3,465 | 133 | 83 | 26.052632 | 0.645499 | 0.008369 | 0 | 0.717949 | 0 | 0 | 0.074917 | 0.064635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.051282 | 0.153846 | 0.512821 | 0.012821 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
f4eb9701828b6a1544c0230f64d59a62aa7c70de | 41 | py | Python | scripts/test_mjp.py | richardrl/rlkit | 088dae169a8d5ba1430094eee66f27b2cb7c4998 | [
"MIT"
] | null | null | null | scripts/test_mjp.py | richardrl/rlkit | 088dae169a8d5ba1430094eee66f27b2cb7c4998 | [
"MIT"
] | null | null | null | scripts/test_mjp.py | richardrl/rlkit | 088dae169a8d5ba1430094eee66f27b2cb7c4998 | [
"MIT"
] | null | null | null | print("test mjp import")
import mujoco_py | 20.5 | 24 | 0.804878 | 7 | 41 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 25 | 20.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
7625ab8defe8c822a563513ac4270c5a4d7f9845 | 2,286 | py | Python | data/operations.py | indiradutta/Weather-Prediction-Analysis | 463180c608ad4a6d91a452c30db481b769281e44 | [
"MIT"
] | 1 | 2021-11-19T18:31:36.000Z | 2021-11-19T18:31:36.000Z | data/operations.py | indiradutta/Weather-Prediction-Analysis | 463180c608ad4a6d91a452c30db481b769281e44 | [
"MIT"
] | null | null | null | data/operations.py | indiradutta/Weather-Prediction-Analysis | 463180c608ad4a6d91a452c30db481b769281e44 | [
"MIT"
] | null | null | null | import pandas as pd
def unique(dataframe, column, new_column):
'''
column should be entered as a string mentioning from which column unique values should be extracted
'''
'''
new_column should be entered as a string mentioning the name of the column contaning the unique values
'''
new_dataframe = pd.Dat... | 36.870968 | 111 | 0.738408 | 344 | 2,286 | 4.813953 | 0.136628 | 0.062802 | 0.101449 | 0.152174 | 0.859903 | 0.859903 | 0.836957 | 0.812802 | 0.734903 | 0.734903 | 0 | 0.000531 | 0.176728 | 2,286 | 62 | 112 | 36.870968 | 0.879384 | 0.225284 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.0625 | 0 | 0.6875 | 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 |
52060cbf4875a0df863a26150de785d1f6242b49 | 2,235 | py | Python | exams/61a-su20-practice-mt/q3/q3.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | 1 | 2022-01-22T11:45:01.000Z | 2022-01-22T11:45:01.000Z | exams/61a-su20-practice-mt/q3/q3.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null | exams/61a-su20-practice-mt/q3/q3.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null |
def close(n, smallest=10, d=10):
""" A sequence is near increasing if each element but the last two is smaller than all elements
following its subsequent element. That is, element i must be smaller than elements i + 2, i + 3, i + 4, etc.
Implement close, which takes a non-negative integer n and returns the... | 33.358209 | 128 | 0.62953 | 303 | 2,235 | 4.445545 | 0.287129 | 0.062361 | 0.013363 | 0.025241 | 0.982925 | 0.982925 | 0.982925 | 0.982925 | 0.982925 | 0.982925 | 0 | 0.107077 | 0.272931 | 2,235 | 66 | 129 | 33.863636 | 0.721846 | 0.836242 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
52179c0a1afe3db3a62bf4145082487ad254bb25 | 94 | py | Python | gailtf/baselines/bench/__init__.py | liytt85/gail-tf-pro | b5d9e25400b91a60ce9f8aacccaaec4c4af4e453 | [
"MIT"
] | 201 | 2017-10-17T16:36:05.000Z | 2022-02-18T11:15:49.000Z | gailtf/baselines/bench/__init__.py | inverse-reinforement-learning/gail-tf | ad92f41c26c34e8fabc536664fb11b44f25956cf | [
"MIT"
] | 20 | 2017-10-18T11:43:26.000Z | 2020-07-09T03:35:14.000Z | gailtf/baselines/bench/__init__.py | inverse-reinforement-learning/gail-tf | ad92f41c26c34e8fabc536664fb11b44f25956cf | [
"MIT"
] | 60 | 2017-10-17T19:04:21.000Z | 2021-05-29T12:39:58.000Z | from gailtf.baselines.bench.benchmarks import *
from gailtf.baselines.bench.monitor import *
| 23.5 | 47 | 0.819149 | 12 | 94 | 6.416667 | 0.583333 | 0.25974 | 0.493506 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 94 | 3 | 48 | 31.333333 | 0.905882 | 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 |
5235806b05b5f8efab89a50b3c3d74a93fb5eda3 | 271 | py | Python | django/contrib/flatpages/tests/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 3 | 2016-07-08T23:49:32.000Z | 2018-04-15T22:55:01.000Z | django/contrib/flatpages/tests/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 27 | 2017-02-05T15:57:04.000Z | 2018-04-15T22:57:26.000Z | django/contrib/flatpages/tests/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | null | null | null | from django.contrib.flatpages.tests.csrf import *
from django.contrib.flatpages.tests.forms import *
from django.contrib.flatpages.tests.middleware import *
from django.contrib.flatpages.tests.templatetags import *
from django.contrib.flatpages.tests.views import *
| 45.166667 | 58 | 0.815498 | 35 | 271 | 6.314286 | 0.314286 | 0.226244 | 0.384615 | 0.588235 | 0.809955 | 0.669683 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092251 | 271 | 5 | 59 | 54.2 | 0.898374 | 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 | 1 | 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 |
523947668dcafd74695795c06788f23aa721b50e | 34,123 | py | Python | tests/ope/test_ipw_estimators_slate.py | han20192019/newRL | 53598edab284b4364d127ec5662137de3f9c1206 | [
"Apache-2.0"
] | null | null | null | tests/ope/test_ipw_estimators_slate.py | han20192019/newRL | 53598edab284b4364d127ec5662137de3f9c1206 | [
"Apache-2.0"
] | null | null | null | tests/ope/test_ipw_estimators_slate.py | han20192019/newRL | 53598edab284b4364d127ec5662137de3f9c1206 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pytest
from obp.dataset import linear_behavior_policy_logit
from obp.dataset import logistic_reward_function
from obp.dataset import SyntheticSlateBanditDataset
from obp.ope import SlateIndependentIPS
from obp.ope import SlateRewardInteractionIPS
from obp.ope import SlateStandardIPS
# setti... | 34.05489 | 140 | 0.645811 | 4,311 | 34,123 | 4.755973 | 0.040826 | 0.078525 | 0.079501 | 0.111301 | 0.944691 | 0.939082 | 0.932985 | 0.927474 | 0.921865 | 0.912891 | 0 | 0.007257 | 0.252879 | 34,123 | 1,001 | 141 | 34.088911 | 0.796972 | 0.024939 | 0 | 0.791398 | 0 | 0 | 0.124386 | 0.027678 | 0 | 0 | 0 | 0 | 0.003226 | 1 | 0.010753 | false | 0 | 0.008602 | 0 | 0.019355 | 0.009677 | 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 |
526aababcea0ce6cf7980a6052f5bc834a6c14a7 | 19,762 | py | Python | tqsdk/test/api/test_td_trade.py | Asnebula/tqsdk-python | 53d5b3d56653021a5896311dfb16a1305a3e2267 | [
"Apache-2.0"
] | 2 | 2020-01-23T15:08:02.000Z | 2020-07-30T04:05:30.000Z | tqsdk/test/api/test_td_trade.py | Asnebula/tqsdk-python | 53d5b3d56653021a5896311dfb16a1305a3e2267 | [
"Apache-2.0"
] | 7 | 2019-11-08T05:02:32.000Z | 2021-01-29T04:01:21.000Z | tqsdk/test/api/test_td_trade.py | Asnebula/tqsdk-python | 53d5b3d56653021a5896311dfb16a1305a3e2267 | [
"Apache-2.0"
] | null | null | null | #!usr/bin/env python3
#-*- coding:utf-8 -*-
"""
@author: yanqiong
@file: test_td_trade.py
@create_on: 2020/6/12
@description:
"""
import os
import random
import unittest
from tqsdk import TqApi, TqAccount, utils
from tqsdk.test.api.helper import MockInsServer, MockServer
class TestTdTrade(unittest.TestCase):
""... | 61.372671 | 458 | 0.63025 | 2,385 | 19,762 | 4.932495 | 0.069602 | 0.16321 | 0.046243 | 0.027542 | 0.911 | 0.886433 | 0.845461 | 0.821404 | 0.807208 | 0.790547 | 0 | 0.075894 | 0.22857 | 19,762 | 321 | 459 | 61.563863 | 0.695769 | 0.009463 | 0 | 0.689286 | 0 | 0.032143 | 0.273174 | 0.054358 | 0 | 0 | 0 | 0 | 0.467857 | 1 | 0.046429 | false | 0 | 0.017857 | 0 | 0.067857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5275a0a18805f0a1c157c55d1a7a90be9247fdb6 | 275 | py | Python | nmigen/vendor/lattice_machxo_2_3l.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/vendor/lattice_machxo_2_3l.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/vendor/lattice_machxo_2_3l.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.vendor.lattice_machxo_2_3l import *
from amaranth.vendor.lattice_machxo_2_3l import __all__
import warnings
warnings.warn("instead of nmigen.vendor.lattice_machxo_2_3l, use amaranth.vendor.lattice_machxo_2_3l",
DeprecationWarning, stacklevel=2)
| 34.375 | 102 | 0.814545 | 39 | 275 | 5.333333 | 0.435897 | 0.25 | 0.365385 | 0.384615 | 0.634615 | 0.528846 | 0.384615 | 0.384615 | 0 | 0 | 0 | 0.03719 | 0.12 | 275 | 7 | 103 | 39.285714 | 0.822314 | 0 | 0 | 0 | 0 | 0 | 0.309091 | 0.250909 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
5286d3be853c16499865fc67466ef1e2d49c741b | 18,115 | py | Python | dexguru_sdk/sdk/dg_sdk.py | sprataa/dg-sdk-python | 4cbc231f067167ecae21d74db6b7011645f68a13 | [
"MIT"
] | 11 | 2021-09-15T14:29:13.000Z | 2022-03-23T01:38:10.000Z | dexguru_sdk/sdk/dg_sdk.py | sprataa/dg-sdk-python | 4cbc231f067167ecae21d74db6b7011645f68a13 | [
"MIT"
] | null | null | null | dexguru_sdk/sdk/dg_sdk.py | sprataa/dg-sdk-python | 4cbc231f067167ecae21d74db6b7011645f68a13 | [
"MIT"
] | 6 | 2021-09-26T02:50:10.000Z | 2022-02-01T14:13:18.000Z | import urllib.parse
from typing import List, Optional, Union
from pydantic import HttpUrl, conint
from dexguru_sdk import models
from dexguru_sdk.client.aiohttp_client import HTTPClient
from dexguru_sdk.models.choices import *
from dexguru_sdk.utils.get_query import get_query_from_params
START_BLOCK_TIMESTAMP = 1588... | 45.174564 | 136 | 0.634778 | 2,098 | 18,115 | 5.220686 | 0.066254 | 0.052954 | 0.100612 | 0.076326 | 0.857025 | 0.845613 | 0.824523 | 0.798868 | 0.792477 | 0.792477 | 0 | 0.012674 | 0.255203 | 18,115 | 400 | 137 | 45.2875 | 0.79914 | 0.017996 | 0 | 0.714689 | 0 | 0 | 0.100879 | 0.097274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002825 | false | 0 | 0.019774 | 0 | 0.107345 | 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 |
8706f77b41da9a93a1d75abe2bf5204d7116717b | 14,531 | py | Python | mystery/tests/match_tests.py | anselmbradford/collab-mystery-meet | cda20bd1888edf8666f290c87817e63d8921f3bd | [
"CC0-1.0"
] | 2 | 2015-07-11T17:52:13.000Z | 2016-08-15T04:04:03.000Z | mystery/tests/match_tests.py | anselmbradford/collab-mystery-meet | cda20bd1888edf8666f290c87817e63d8921f3bd | [
"CC0-1.0"
] | null | null | null | mystery/tests/match_tests.py | anselmbradford/collab-mystery-meet | cda20bd1888edf8666f290c87817e63d8921f3bd | [
"CC0-1.0"
] | 3 | 2017-07-14T03:20:05.000Z | 2021-02-20T10:40:57.000Z | from django.test import TestCase
from mystery.models import Interest
from mystery.tests.utils import mock_req, random_user
from mystery import views
from mock import patch
from django.contrib.auth import get_user_model
from core.models import OrgGroup, OfficeLocation
from django.core.urlresolvers import reverse
class ... | 39.167116 | 102 | 0.652192 | 1,583 | 14,531 | 5.87808 | 0.085281 | 0.036539 | 0.047286 | 0.054379 | 0.809242 | 0.785814 | 0.776357 | 0.770231 | 0.758732 | 0.740785 | 0 | 0.028112 | 0.233776 | 14,531 | 370 | 103 | 39.272973 | 0.807616 | 0.049618 | 0 | 0.758621 | 0 | 0 | 0.079718 | 0.006698 | 0 | 0 | 0 | 0 | 0.141379 | 1 | 0.041379 | false | 0.041379 | 0.027586 | 0 | 0.075862 | 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 |
871d7a2c25f91de4856ad7fe03c139bcb16fbff1 | 12,824 | py | Python | arcos4py/.ipynb_checkpoints/summary-checkpoint.py | marc-rauckhorst/arcos-py | c195a29e47d4041e787eedb59552c4e92364627e | [
"MIT"
] | null | null | null | arcos4py/.ipynb_checkpoints/summary-checkpoint.py | marc-rauckhorst/arcos-py | c195a29e47d4041e787eedb59552c4e92364627e | [
"MIT"
] | null | null | null | arcos4py/.ipynb_checkpoints/summary-checkpoint.py | marc-rauckhorst/arcos-py | c195a29e47d4041e787eedb59552c4e92364627e | [
"MIT"
] | null | null | null | {
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Summary Functions\n",
"\n",
"def get_summ_combined_county_annual(state, county = '',verification = True, key = 'WaPo'):\n",
" '''(str(two letter abbreviation), str, bool, str) ... | 46.632727 | 118 | 0.564333 | 1,579 | 12,824 | 4.383787 | 0.082331 | 0.014736 | 0.023115 | 0.011557 | 0.934845 | 0.932101 | 0.925744 | 0.918376 | 0.918376 | 0.918376 | 0 | 0.002013 | 0.264036 | 12,824 | 274 | 119 | 46.80292 | 0.731405 | 0 | 0 | 0.649635 | 0 | 0.032847 | 0.828837 | 0.167109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.145985 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
873413c87444f3251dd5321fc6be49af7248457a | 6,183 | py | Python | exponent/models.py | AthenaExplorer/xm_s_explorer | b8ccd57e7bd493f46c493a967ec22e42171a6091 | [
"MIT"
] | null | null | null | exponent/models.py | AthenaExplorer/xm_s_explorer | b8ccd57e7bd493f46c493a967ec22e42171a6091 | [
"MIT"
] | null | null | null | exponent/models.py | AthenaExplorer/xm_s_explorer | b8ccd57e7bd493f46c493a967ec22e42171a6091 | [
"MIT"
] | null | null | null | from django.db import models
class MinerBase(models.Model):
"""
矿工算力-基础数据
"""
miner_no = models.CharField("矿工号", max_length=128)
total_power_v = models.DecimalField('总算力', max_digits=40, decimal_places=0, default=0)
avg_reward_v = models.DecimalField('单T奖励', max_digits=8, decimal_places=4, def... | 50.268293 | 104 | 0.724082 | 843 | 6,183 | 5.052195 | 0.139976 | 0.056351 | 0.059169 | 0.088753 | 0.948814 | 0.948814 | 0.948814 | 0.948814 | 0.916412 | 0.811693 | 0 | 0.027369 | 0.143134 | 6,183 | 122 | 105 | 50.680328 | 0.776519 | 0.016982 | 0 | 0.879121 | 0 | 0 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010989 | 0 | 0.956044 | 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 | 1 | 0 | 0 | 8 |
5e43fd72c6419e0d862824ae1f134e2a6bc4ef79 | 48,752 | py | Python | _serverApp/_emailServices.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | null | null | null | _serverApp/_emailServices.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | 1 | 2021-06-02T00:36:03.000Z | 2021-06-02T00:36:03.000Z | _serverApp/_emailServices.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
if not (os.path.dirname(__file__) in sys.path): sys.path.append(os.path.dirname(__file__))
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from mailjet_rest import Client
import _appEnvironment as thisApp
from _utilities ... | 55.526196 | 229 | 0.632036 | 5,368 | 48,752 | 5.245343 | 0.060171 | 0.080477 | 0.109742 | 0.062009 | 0.835671 | 0.826295 | 0.811095 | 0.800618 | 0.786838 | 0.78627 | 0 | 0.002649 | 0.163706 | 48,752 | 877 | 230 | 55.58951 | 0.687964 | 0.169019 | 0 | 0.7456 | 0 | 0 | 0.170393 | 0.012508 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0144 | false | 0.0224 | 0.0208 | 0 | 0.0864 | 0.0112 | 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 |
5e7bea062c2fb5bec261c62665d8cdc42e6a20ce | 20,979 | py | Python | wallet/views.py | reeshabhkumarranjan/SocPay | ba3f3ea0b7b814e1ca40293b14f192b6d40adbbd | [
"MIT"
] | null | null | null | wallet/views.py | reeshabhkumarranjan/SocPay | ba3f3ea0b7b814e1ca40293b14f192b6d40adbbd | [
"MIT"
] | null | null | null | wallet/views.py | reeshabhkumarranjan/SocPay | ba3f3ea0b7b814e1ca40293b14f192b6d40adbbd | [
"MIT"
] | null | null | null | import pyotp
from django.core.exceptions import PermissionDenied
from django.core.mail import send_mail
from django.db.models import Q
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render
# Create your views here.
from django.urls import reverse
from main_app import utils
fro... | 37.130973 | 137 | 0.646313 | 2,564 | 20,979 | 5.133385 | 0.079953 | 0.059337 | 0.046194 | 0.041787 | 0.841589 | 0.805349 | 0.772223 | 0.759687 | 0.746923 | 0.728461 | 0 | 0.014503 | 0.221078 | 20,979 | 564 | 138 | 37.196809 | 0.790955 | 0.206111 | 0 | 0.711111 | 0 | 0 | 0.133104 | 0.041531 | 0 | 0 | 0 | 0.001773 | 0 | 1 | 0.033333 | false | 0 | 0.038889 | 0 | 0.183333 | 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 |
2176aef736cf2571fd527ee2b148141cfc959151 | 640 | py | Python | test/model/pretrained/test_tensorfloworg.py | fferflo/tfcv | b549f733f3f04395e0ed0d4527e30b83fa2d8ad9 | [
"MIT"
] | null | null | null | test/model/pretrained/test_tensorfloworg.py | fferflo/tfcv | b549f733f3f04395e0ed0d4527e30b83fa2d8ad9 | [
"MIT"
] | null | null | null | test/model/pretrained/test_tensorfloworg.py | fferflo/tfcv | b549f733f3f04395e0ed0d4527e30b83fa2d8ad9 | [
"MIT"
] | null | null | null | import tfcv
def test_resnet_v1b_50_imagenet():
tfcv.model.pretrained.tensorfloworg.resnet_v1b_50_imagenet.create(dilate=False)
tfcv.model.pretrained.tensorfloworg.resnet_v1b_50_imagenet.create(dilate=True)
def test_resnet_v1b_101_imagenet():
tfcv.model.pretrained.tensorfloworg.resnet_v1b_101_imagen... | 45.714286 | 85 | 0.826563 | 86 | 640 | 5.802326 | 0.197674 | 0.162325 | 0.228457 | 0.38477 | 0.923848 | 0.923848 | 0.923848 | 0.875752 | 0.795591 | 0.795591 | 0 | 0.056314 | 0.084375 | 640 | 13 | 86 | 49.230769 | 0.795222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
21c92e5cc387ca39b7ad9f5cb507778b1aa009d2 | 36,307 | py | Python | backend/tracim_backend/tests/library/test_user_api.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | backend/tracim_backend/tests/library/test_user_api.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | backend/tracim_backend/tests/library/test_user_api.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import transaction
from tracim_backend.exceptions import AuthenticationFailed
from tracim_backend.exceptions import EmailValidationFailed
from tracim_backend.exceptions import ExternalAuthUserEmailModificationDisallowed
from tracim_backend.exceptions import ExternalAuthUserPasswor... | 44.878863 | 98 | 0.655521 | 4,620 | 36,307 | 4.878139 | 0.053896 | 0.04588 | 0.068687 | 0.091583 | 0.874429 | 0.817456 | 0.785065 | 0.768248 | 0.743355 | 0.723433 | 0 | 0.008783 | 0.234803 | 36,307 | 808 | 99 | 44.934406 | 0.802102 | 0.012835 | 0 | 0.639087 | 0 | 0 | 0.068303 | 0.00592 | 0 | 0 | 0 | 0.001238 | 0.134094 | 1 | 0.087019 | false | 0.097004 | 0.031384 | 0 | 0.131241 | 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 |
21d508b2bee707fa74b5f2ec1aec3e9f1be6021d | 8,490 | py | Python | qa327_test/backend/test_sell_ticket.py | EricFillion/CMPE-327 | 5e9f7c0b083643f7b6b9702775f69f67863b395e | [
"MIT"
] | null | null | null | qa327_test/backend/test_sell_ticket.py | EricFillion/CMPE-327 | 5e9f7c0b083643f7b6b9702775f69f67863b395e | [
"MIT"
] | null | null | null | qa327_test/backend/test_sell_ticket.py | EricFillion/CMPE-327 | 5e9f7c0b083643f7b6b9702775f69f67863b395e | [
"MIT"
] | null | null | null | """
Whitebox tests for the `sell_ticket` backend function.
"""
from datetime import date
from seleniumbase import BaseCase
from qa327.backend import sell_ticket
from qa327.models import db, User
from qa327_test.common import TEST_USER
class BackEndSellTicketTest(BaseCase):
"""
Testing backend function `sell_... | 37.400881 | 192 | 0.614252 | 1,117 | 8,490 | 4.5094 | 0.094897 | 0.086162 | 0.037125 | 0.050625 | 0.848918 | 0.838594 | 0.835815 | 0.804646 | 0.74866 | 0.742505 | 0 | 0.030962 | 0.296231 | 8,490 | 226 | 193 | 37.566372 | 0.81205 | 0.273027 | 0 | 0.794326 | 0 | 0 | 0.063199 | 0 | 0 | 0 | 0 | 0 | 0.070922 | 1 | 0.06383 | false | 0.06383 | 0.035461 | 0 | 0.106383 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
df3492712d1d7f4890746597c35bc752ec1b7cf3 | 132 | py | Python | test/test_common.py | napulen/AugmentedNet | 16aaeeccf15508478ac5987f9cf5d148ea44876e | [
"MIT"
] | 14 | 2021-09-03T05:15:09.000Z | 2022-03-30T07:46:29.000Z | test/test_common.py | napulen/AugmentedNet | 16aaeeccf15508478ac5987f9cf5d148ea44876e | [
"MIT"
] | 27 | 2021-11-10T15:29:47.000Z | 2022-03-23T02:09:17.000Z | test/test_common.py | napulen/AugmentedNet | 16aaeeccf15508478ac5987f9cf5d148ea44876e | [
"MIT"
] | null | null | null | """Tests for AugmentedNet.common."""
import unittest
import AugmentedNet.common
class TestEvaluate(unittest.TestCase):
pass
| 13.2 | 38 | 0.765152 | 14 | 132 | 7.214286 | 0.714286 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 9 | 39 | 14.666667 | 0.885965 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
df4e1e86b5434702d1effc0b25ee616b59a2feac | 7,343 | py | Python | tests/test_success_range_normalize.py | Bernardo-MG/wargame_analysis_jupyter_notebook | db13838ce0f8c6dcbc160259c1ee0ae258b51ba7 | [
"MIT"
] | null | null | null | tests/test_success_range_normalize.py | Bernardo-MG/wargame_analysis_jupyter_notebook | db13838ce0f8c6dcbc160259c1ee0ae258b51ba7 | [
"MIT"
] | null | null | null | tests/test_success_range_normalize.py | Bernardo-MG/wargame_analysis_jupyter_notebook | db13838ce0f8c6dcbc160259c1ee0ae258b51ba7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from decimal import Decimal
from scripts.probability import roll_success_range
"""
Max shots script tests.
"""
__author__ = 'Bernardo Martínez Garrido'
__license__ = 'MIT'
class Test1d6StartZero(unittest.TestCase):
"""
Tests the success range with the range [0,5], w... | 27.605263 | 93 | 0.639384 | 1,068 | 7,343 | 4.23221 | 0.059925 | 0.10354 | 0.134513 | 0.171903 | 0.92854 | 0.92854 | 0.918363 | 0.909956 | 0.909956 | 0.904204 | 0 | 0.03938 | 0.218439 | 7,343 | 265 | 94 | 27.709434 | 0.748214 | 0.063598 | 0 | 0.545455 | 0 | 0 | 0.031615 | 0 | 0 | 0 | 0 | 0 | 0.305785 | 1 | 0.305785 | false | 0 | 0.024793 | 0 | 0.371901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
10c5d813876825486bca15a36f2e36133fc93332 | 3,926 | py | Python | datadelivery/test_commands.py | Duke-GCB/datadelivery-cli | ae34452590ea22d11859bc0d7df2d3245e30a342 | [
"MIT"
] | null | null | null | datadelivery/test_commands.py | Duke-GCB/datadelivery-cli | ae34452590ea22d11859bc0d7df2d3245e30a342 | [
"MIT"
] | 4 | 2018-05-02T18:16:31.000Z | 2018-05-18T13:54:44.000Z | datadelivery/test_commands.py | Duke-GCB/datadelivery-cli | ae34452590ea22d11859bc0d7df2d3245e30a342 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from unittest import TestCase
from mock import MagicMock, patch, call
from datadelivery.commands import Commands
from datadelivery.s3 import NotFoundException
class CommandsTestCase(TestCase):
def setUp(self):
self.config = MagicMock()
@patch('datadelivery.comma... | 50.987013 | 107 | 0.758533 | 547 | 3,926 | 4.983547 | 0.104205 | 0.077036 | 0.114453 | 0.066031 | 0.899486 | 0.888481 | 0.888481 | 0.888481 | 0.888481 | 0.888481 | 0 | 0.017174 | 0.15461 | 3,926 | 76 | 108 | 51.657895 | 0.804158 | 0 | 0 | 0.75 | 0 | 0 | 0.099873 | 0.042803 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.0625 | false | 0 | 0.078125 | 0 | 0.15625 | 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 |
8009f8673bbe7bad372833b19acccfaa7e40080b | 70 | py | Python | pytracking/tracker/trdimp/__init__.py | 594422814/TransformerTrack | e3bdd0be1a9a2cd4b1b6bb1b946a9a57a525b3fc | [
"MIT"
] | 215 | 2021-03-16T12:10:57.000Z | 2022-03-30T03:02:36.000Z | pytracking/tracker/trdimp/__init__.py | YanWanquan/TransformerTrack | 7b73e3830754fd4b32ba9bd99fb0e77ad92d1b63 | [
"MIT"
] | 34 | 2021-03-24T08:18:32.000Z | 2022-03-17T01:59:51.000Z | pytracking/tracker/trdimp/__init__.py | YanWanquan/TransformerTrack | 7b73e3830754fd4b32ba9bd99fb0e77ad92d1b63 | [
"MIT"
] | 37 | 2021-03-17T06:32:55.000Z | 2022-03-28T07:03:14.000Z | from .trdimp import TrDiMP
def get_tracker_class():
return TrDiMP | 17.5 | 26 | 0.771429 | 10 | 70 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 4 | 27 | 17.5 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
8039c54250d2976d67b83e270f74b20687d3646f | 44,339 | py | Python | models/layers.py | lim0606/pytorch-ardae-vae | 52f460a90fa5822692031ab7dcca39fa9168988e | [
"MIT"
] | 11 | 2020-06-11T03:01:46.000Z | 2021-06-17T02:59:39.000Z | models/layers.py | lim0606/pytorch-ardae-vae | 52f460a90fa5822692031ab7dcca39fa9168988e | [
"MIT"
] | 1 | 2020-06-18T00:59:24.000Z | 2020-06-19T22:55:14.000Z | models/layers.py | lim0606/pytorch-ardae-vae | 52f460a90fa5822692031ab7dcca39fa9168988e | [
"MIT"
] | null | null | null | '''
copied and modified from https://github.com/CW-Huang/torchkit/blob/33f61b914bf8e79faebab3d3d64c17ea921ce6d2/torchkit/nn.py
copied and modified from https://github.com/lim0606/pytorch-flows-dev/blob/master/flows.py
'''
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from utils import g... | 40.271571 | 195 | 0.614312 | 5,303 | 44,339 | 4.846313 | 0.036583 | 0.033619 | 0.056031 | 0.026615 | 0.896459 | 0.876226 | 0.840506 | 0.824202 | 0.81751 | 0.808249 | 0 | 0.013245 | 0.28652 | 44,339 | 1,100 | 196 | 40.308182 | 0.799115 | 0.050001 | 0 | 0.79 | 0 | 0.001111 | 0.023124 | 0.000597 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082222 | false | 0 | 0.006667 | 0.012222 | 0.161111 | 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 |
80412fa824cbdb5851b127ac81d8e82b68ae617a | 5,673 | py | Python | testing/sudoku/problems.py | BCCN-Prog/materials | 4317ab52521093cc84c33b41ab027b46d1e5e48a | [
"MIT"
] | null | null | null | testing/sudoku/problems.py | BCCN-Prog/materials | 4317ab52521093cc84c33b41ab027b46d1e5e48a | [
"MIT"
] | null | null | null | testing/sudoku/problems.py | BCCN-Prog/materials | 4317ab52521093cc84c33b41ab027b46d1e5e48a | [
"MIT"
] | null | null | null | """Example Sudoku problems and solutions."""
# keys of problems that are easy to solve by brute force
# used by the tests
TEST_KEYS = ['easy1', 'hard1', 'hard2', 'swordfish1']
# ##### Example Sudoku problems
# Notes:
# 1) 'swordfish1' requires the complicated swordfish manoeuver
# http://www.sudokuoftheday.com/p... | 45.75 | 62 | 0.232505 | 969 | 5,673 | 1.358101 | 0.057792 | 0.370821 | 0.378419 | 0.346505 | 0.329027 | 0.280395 | 0.238602 | 0.193009 | 0.139058 | 0.071429 | 0 | 0.360759 | 0.55438 | 5,673 | 123 | 63 | 46.121951 | 0.15981 | 0.064869 | 0 | 0.037383 | 0 | 0 | 0.018746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
33bbb7d221cf2f972e03f9f783e83566dd551e2a | 156 | py | Python | logical_permissions/exceptions/PermissionTypeNotRegisteredException.py | ordermind/logical-permissions-py | 3a64ad49ad1d4c2e471746456e88deb554683067 | [
"MIT"
] | 1 | 2016-01-04T17:28:35.000Z | 2016-01-04T17:28:35.000Z | logical_permissions/exceptions/PermissionTypeNotRegisteredException.py | ordermind/logical-permissions-py | 3a64ad49ad1d4c2e471746456e88deb554683067 | [
"MIT"
] | null | null | null | logical_permissions/exceptions/PermissionTypeNotRegisteredException.py | ordermind/logical-permissions-py | 3a64ad49ad1d4c2e471746456e88deb554683067 | [
"MIT"
] | null | null | null | from logical_permissions.exceptions import InvalidArgumentValueException
class PermissionTypeNotRegisteredException(InvalidArgumentValueException):
pass
| 31.2 | 74 | 0.910256 | 10 | 156 | 14.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 156 | 4 | 75 | 39 | 0.965753 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
33d4c27702f628ca271596f4794dce5f82a3a55f | 1,751 | py | Python | pkpgcounter-3.50/build/lib.linux-x86_64-2.7/pkpgpdls/version.py | philips558/PPS | 2960336da8e19723879bfb15623563f2bde69f01 | [
"CC0-1.0"
] | null | null | null | pkpgcounter-3.50/build/lib.linux-x86_64-2.7/pkpgpdls/version.py | philips558/PPS | 2960336da8e19723879bfb15623563f2bde69f01 | [
"CC0-1.0"
] | 3 | 2020-02-06T12:47:26.000Z | 2020-02-09T18:47:02.000Z | pkpgcounter-3.50/pkpgpdls/version.py | philips558/PPS | 2960336da8e19723879bfb15623563f2bde69f01 | [
"CC0-1.0"
] | null | null | null | #
# pkpgcounter : a generic Page Description Language parser
#
# (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet <alet@librelogiciel.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either vers... | 38.911111 | 86 | 0.759566 | 272 | 1,751 | 4.801471 | 0.375 | 0.050536 | 0.059724 | 0.087289 | 0.826953 | 0.744257 | 0.744257 | 0.744257 | 0.744257 | 0.744257 | 0 | 0.042582 | 0.168475 | 1,751 | 44 | 87 | 39.795455 | 0.854396 | 0.490006 | 0 | 0 | 0 | 0 | 0.845622 | 0.025346 | 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 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d51374492311f2e5936724698d5451d98e6c77c8 | 11,149 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/static_routing/nxos/tests/test_static_routing.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/conf-pkg/src/genie/libs/conf/static_routing/nxos/tests/test_static_routing.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/conf-pkg/src/genie/libs/conf/static_routing/nxos/tests/test_static_routing.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | #!/usr/bin/env python
#python
import unittest
from unittest.mock import Mock
# Genie package
from genie.tests.conf import TestCase
from genie.conf import Genie
from genie.conf.base import Testbed, Device, Link, Interface
# Genie XBu_shared
from genie.libs.conf.static_routing.static_routing import StaticRouting
cla... | 42.716475 | 120 | 0.682752 | 1,464 | 11,149 | 4.939208 | 0.064208 | 0.303831 | 0.173973 | 0.063615 | 0.9433 | 0.928779 | 0.914258 | 0.896556 | 0.88895 | 0.88895 | 0 | 0.046216 | 0.19652 | 11,149 | 260 | 121 | 42.880769 | 0.760996 | 0.005113 | 0 | 0.792553 | 0 | 0.037234 | 0.089015 | 0 | 0 | 0 | 0 | 0 | 0.132979 | 1 | 0.042553 | false | 0 | 0.031915 | 0 | 0.079787 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
1d54d450b6db6456e39e05a582ac53f8c2906b77 | 120,412 | py | Python | orca_predict.py | jzhoulab/orca | 8ebfda95dec118ee4069b12d25a2a93f9ea7ec8f | [
"Apache-2.0"
] | 22 | 2021-05-10T19:42:00.000Z | 2022-03-14T08:34:07.000Z | orca_predict.py | jzhoulab/orca | 8ebfda95dec118ee4069b12d25a2a93f9ea7ec8f | [
"Apache-2.0"
] | null | null | null | orca_predict.py | jzhoulab/orca | 8ebfda95dec118ee4069b12d25a2a93f9ea7ec8f | [
"Apache-2.0"
] | 4 | 2021-05-28T16:35:35.000Z | 2022-03-19T12:23:08.000Z | """
This module provides functions for using Orca models for various
types of the predictions. This is the main module that you need for
interacting with Orca models.
To use any of the prediction functions, `load_resources` has to be
called first to load the necessary resources.
The coordinates used in Orca are 0-ba... | 37.984858 | 127 | 0.537529 | 12,769 | 120,412 | 4.909703 | 0.048477 | 0.062783 | 0.034454 | 0.025266 | 0.83773 | 0.817042 | 0.793594 | 0.779063 | 0.757146 | 0.746858 | 0 | 0.051659 | 0.37865 | 120,412 | 3,169 | 128 | 37.996844 | 0.786268 | 0.243506 | 0 | 0.708457 | 0 | 0 | 0.05444 | 0.009947 | 0 | 0 | 0 | 0.000316 | 0.00085 | 1 | 0.0068 | false | 0 | 0.005525 | 0 | 0.018275 | 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 |
1d6bd75869d508a91649421475bef40f335b890f | 9,193 | py | Python | app_simulator/tests/test.py | nicetester/newmonkey_tab | e23e310c93163eb98a8573248534eceea0fb1141 | [
"MIT"
] | null | null | null | app_simulator/tests/test.py | nicetester/newmonkey_tab | e23e310c93163eb98a8573248534eceea0fb1141 | [
"MIT"
] | null | null | null | app_simulator/tests/test.py | nicetester/newmonkey_tab | e23e310c93163eb98a8573248534eceea0fb1141 | [
"MIT"
] | 2 | 2018-02-28T05:04:41.000Z | 2020-12-17T12:18:55.000Z | coverd = """PhoneWindow$DecorView0 TopGestureLayout0 LinearLayout0 FrameLayout0 RelativeLayout0 AccountDetailXListView2 LinearLayout1 LinearLayout2 LinearLayout2 LinearLayout0 TextView0
2016-09-19 23:53:07
PhoneWindow$DecorView0 FrameLayout0 FrameLayout0 RelativeLayout0 LinearLayout2 TextView0
2016-09-19 23:53:06
Phone... | 58.55414 | 242 | 0.873056 | 1,121 | 9,193 | 7.159679 | 0.073149 | 0.075505 | 0.100673 | 0.125841 | 0.990531 | 0.990531 | 0.957887 | 0.956392 | 0.919138 | 0.88612 | 0 | 0.218566 | 0.074296 | 9,193 | 157 | 243 | 58.55414 | 0.724559 | 0 | 0 | 0.909091 | 0 | 0 | 0.984555 | 0.182293 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.006494 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1d85e34f290fb0efa91bc6e31229a4dbbe9764bc | 4,503 | py | Python | metabench/tests/test_objective.py | ComeBertrand/metabench | e5eaa32b94239b8fa475eda940b8086eec178cfe | [
"MIT"
] | null | null | null | metabench/tests/test_objective.py | ComeBertrand/metabench | e5eaa32b94239b8fa475eda940b8086eec178cfe | [
"MIT"
] | 15 | 2018-03-07T21:47:56.000Z | 2018-05-12T08:45:20.000Z | metabench/tests/test_objective.py | ComeBertrand/metabench | e5eaa32b94239b8fa475eda940b8086eec178cfe | [
"MIT"
] | null | null | null | import pytest
from .fixtures import *
from ..common.fitness import *
def test_modifs_add_modif(modifs):
m = Modifs()
for index, val_bef, val_aft in modifs:
m.add_modif(index, val_bef, val_aft)
for i in range(len(modifs)):
assert m.get(modifs[i][0], None) == modifs[i][1:]
def test_modif... | 35.456693 | 80 | 0.6831 | 530 | 4,503 | 5.364151 | 0.092453 | 0.256068 | 0.177278 | 0.164615 | 0.886739 | 0.886739 | 0.872318 | 0.872318 | 0.855083 | 0.855083 | 0 | 0.001478 | 0.248723 | 4,503 | 126 | 81 | 35.738095 | 0.8389 | 0 | 0 | 0.804124 | 0 | 0 | 0.000444 | 0 | 0 | 0 | 0 | 0 | 0.268041 | 1 | 0.072165 | false | 0 | 0.030928 | 0 | 0.103093 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 9 |
1d9f8e98ddffd3f1f5c08b4a4dd8899f5b300838 | 10,589 | py | Python | Server_Python/Movefunctions.py | mehrdadzakershahrak/Online-Explanation-Generation | e41ad9b5a390abdaf271562a56105c191e33b74d | [
"MIT"
] | null | null | null | Server_Python/Movefunctions.py | mehrdadzakershahrak/Online-Explanation-Generation | e41ad9b5a390abdaf271562a56105c191e33b74d | [
"MIT"
] | null | null | null | Server_Python/Movefunctions.py | mehrdadzakershahrak/Online-Explanation-Generation | e41ad9b5a390abdaf271562a56105c191e33b74d | [
"MIT"
] | null | null | null | import math
import almath
import almath as m # python's wrapping of almath
import sys
from naoqi import ALProxy
import naoqi
import time
import motion
##################################################################################################################
function moveforward
################################... | 27.361757 | 114 | 0.598168 | 1,108 | 10,589 | 5.655235 | 0.122744 | 0.008937 | 0.040217 | 0.033195 | 0.963773 | 0.963773 | 0.963773 | 0.962177 | 0.962177 | 0.962177 | 0 | 0.030525 | 0.161583 | 10,589 | 387 | 115 | 27.361757 | 0.675265 | 0 | 0 | 0.92 | 0 | 0 | 0.163897 | 0.016897 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0.1 | 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 |
d56c3b3a9e798efc35a9919280b73426f17ac158 | 47 | py | Python | app/db/schemas/user/__init__.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | app/db/schemas/user/__init__.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | app/db/schemas/user/__init__.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | from .user import *
from .user_signup import *
| 15.666667 | 26 | 0.744681 | 7 | 47 | 4.857143 | 0.571429 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.871795 | 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 |
d5746822006e3ee19344646ea20ae1cfb85f9a43 | 19,432 | py | Python | src/librekpi/rest_controller.py | LibreKPI/librekpi | 07bfbf18ff9f99a4b3347060b25699cb09f6f6b6 | [
"MIT"
] | null | null | null | src/librekpi/rest_controller.py | LibreKPI/librekpi | 07bfbf18ff9f99a4b3347060b25699cb09f6f6b6 | [
"MIT"
] | 10 | 2015-01-12T20:49:21.000Z | 2015-03-12T17:20:18.000Z | src/librekpi/rest_controller.py | LibreKPI/librekpi | 07bfbf18ff9f99a4b3347060b25699cb09f6f6b6 | [
"MIT"
] | 1 | 2015-01-11T23:54:09.000Z | 2015-01-11T23:54:09.000Z | """REST Controller
Here you'll find handlers for RESTful API, which is meant to be stateless
"""
import tornado
from tornado.escape import json_decode
from librekpi.utils import routes
from librekpi.view import BaseRESTController
from librekpi.api import *
import requests
@routes('/api/kpi_schedule/', name="kpi_... | 47.279805 | 171 | 0.342734 | 1,179 | 19,432 | 5.522477 | 0.111111 | 0.034096 | 0.088466 | 0.122869 | 0.826908 | 0.805099 | 0.778529 | 0.751805 | 0.74474 | 0.715712 | 0 | 0.049866 | 0.53767 | 19,432 | 410 | 172 | 47.395122 | 0.674866 | 0.104055 | 0 | 0.691667 | 0 | 0 | 0.232259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0.002778 | 0.016667 | 0 | 0.075 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d5a10b2e941541130e9ca314d706ec19bb4bf20b | 2,561 | py | Python | tests/path/vshadow_path_spec.py | dfjxs/dfvfs | a4154b07bb08c3c86afa2847f3224189dd80c138 | [
"Apache-2.0"
] | 176 | 2015-01-02T13:55:39.000Z | 2022-03-12T11:44:37.000Z | tests/path/vshadow_path_spec.py | dfjxs/dfvfs | a4154b07bb08c3c86afa2847f3224189dd80c138 | [
"Apache-2.0"
] | 495 | 2015-01-13T06:47:06.000Z | 2022-03-12T11:07:03.000Z | tests/path/vshadow_path_spec.py | dfjxs/dfvfs | a4154b07bb08c3c86afa2847f3224189dd80c138 | [
"Apache-2.0"
] | 62 | 2015-02-23T08:19:38.000Z | 2022-03-18T06:01:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the VSS path specification implementation."""
import unittest
from dfvfs.path import vshadow_path_spec
from tests.path import test_lib
class VShadowPathSpecTest(test_lib.PathSpecTestCase):
"""Tests for the VSS path specification implementation."""
def... | 26.957895 | 73 | 0.701289 | 289 | 2,561 | 5.930796 | 0.183391 | 0.186698 | 0.096266 | 0.175029 | 0.855309 | 0.82147 | 0.82147 | 0.768961 | 0.76196 | 0.684947 | 0 | 0.006235 | 0.185865 | 2,561 | 94 | 74 | 27.244681 | 0.815827 | 0.094885 | 0 | 0.727273 | 0 | 0 | 0.086672 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 1 | 0.036364 | false | 0 | 0.054545 | 0 | 0.109091 | 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 | 0 | 0 | 0 | 8 |
8927547eb72aaeb750e9f602231d8a40bc695613 | 206 | py | Python | art/estimators/certification/neural_cleanse/__init__.py | meghana-sesetti/adversarial-robustness-toolbox | 6a5ce9e4142734ad9004e5c093ef8fa754ea6b39 | [
"MIT"
] | 1 | 2020-12-26T10:02:05.000Z | 2020-12-26T10:02:05.000Z | art/estimators/certification/neural_cleanse/__init__.py | Tikquuss/adversarial-robustness-toolbox | 62ffe7c951d8a60d49a9ea6ac7b04aa4432a3fb7 | [
"MIT"
] | 33 | 2021-01-18T08:30:34.000Z | 2022-03-11T07:05:13.000Z | art/estimators/certification/neural_cleanse/__init__.py | Tikquuss/adversarial-robustness-toolbox | 62ffe7c951d8a60d49a9ea6ac7b04aa4432a3fb7 | [
"MIT"
] | 1 | 2020-09-28T12:58:01.000Z | 2020-09-28T12:58:01.000Z | """
Neural cleanse estimators.
"""
from art.estimators.certification.neural_cleanse.neural_cleanse import NeuralCleanseMixin
from art.estimators.certification.neural_cleanse.keras import KerasNeuralCleanse
| 34.333333 | 89 | 0.864078 | 22 | 206 | 7.954545 | 0.454545 | 0.297143 | 0.194286 | 0.342857 | 0.491429 | 0.491429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063107 | 206 | 5 | 90 | 41.2 | 0.906736 | 0.126214 | 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 |
893bbc5c5c999b175cf4af93798bf788812f9507 | 23,722 | py | Python | tests/dhcpv4/kea_only/test_cve2019v4.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 22 | 2015-02-27T11:51:05.000Z | 2022-02-28T12:39:29.000Z | tests/dhcpv4/kea_only/test_cve2019v4.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 16 | 2018-10-30T15:00:12.000Z | 2019-01-11T17:55:13.000Z | tests/dhcpv4/kea_only/test_cve2019v4.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 11 | 2015-02-27T11:51:36.000Z | 2021-03-30T08:33:54.000Z | """CVE-2019-6472 and -6473"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_msg
import srv_control
import misc
from forge_cfg import world
def _get_offer():
misc.test_procedure()
srv_msg.client_does_include_with_value('client_id', '00010203040111')
srv_msg.client_send_msg('DISC... | 100.092827 | 2,672 | 0.739229 | 5,254 | 23,722 | 3.271983 | 0.047012 | 1.038683 | 1.46693 | 1.872142 | 0.928858 | 0.924146 | 0.918271 | 0.910942 | 0.906055 | 0.899599 | 0 | 0.365985 | 0.053663 | 23,722 | 236 | 2,673 | 100.516949 | 0.399795 | 0.066816 | 0 | 0.756944 | 0 | 0.097222 | 0.771229 | 0.751856 | 0 | 1 | 0 | 0 | 0 | 1 | 0.076389 | false | 0.006944 | 0.034722 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 17 |
899e4c36d75d5d0e710e102efea98f1bca95a944 | 206 | py | Python | src/__init__.py | lukaskln/GRU-Protein-Analysis | 06233285b3267716248129a64cbde641f80c5b54 | [
"MIT"
] | null | null | null | src/__init__.py | lukaskln/GRU-Protein-Analysis | 06233285b3267716248129a64cbde641f80c5b54 | [
"MIT"
] | null | null | null | src/__init__.py | lukaskln/GRU-Protein-Analysis | 06233285b3267716248129a64cbde641f80c5b54 | [
"MIT"
] | null | null | null | from utils.argparser import *
from data.dataimport import *
from models.model_GRU_CNN import *
from models.model_GRU_autoregressive import *
from models.model_LSTM_CNN import *
from utils.tokenizer import * | 34.333333 | 45 | 0.830097 | 30 | 206 | 5.5 | 0.433333 | 0.30303 | 0.290909 | 0.381818 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11165 | 206 | 6 | 46 | 34.333333 | 0.901639 | 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 |
89af9182006da451f2c059994b31a8e846d54782 | 5,893 | py | Python | Trees_and_Graphs/Graph.py | RoKu1/cracking-the-coding-interview | ce2fabba75f1edf69b81a80022eb9ebac8a09af2 | [
"Apache-2.0"
] | null | null | null | Trees_and_Graphs/Graph.py | RoKu1/cracking-the-coding-interview | ce2fabba75f1edf69b81a80022eb9ebac8a09af2 | [
"Apache-2.0"
] | null | null | null | Trees_and_Graphs/Graph.py | RoKu1/cracking-the-coding-interview | ce2fabba75f1edf69b81a80022eb9ebac8a09af2 | [
"Apache-2.0"
] | null | null | null | from Stacks_and_Queues import Stack_and_Queue as SQ
class Node:
def __init__(self, data):
self.name = data
self.neighbours = []
class Graph:
def __init__(self, arr):
self.visited = []
self.maper = dict()
if not arr:
return
self.start = Node(arr[0][... | 35.932927 | 114 | 0.486679 | 674 | 5,893 | 4.216617 | 0.099407 | 0.126671 | 0.059113 | 0.078818 | 0.859958 | 0.822308 | 0.814215 | 0.813863 | 0.77727 | 0.77727 | 0 | 0.033475 | 0.401833 | 5,893 | 163 | 115 | 36.153374 | 0.772766 | 0.04395 | 0 | 0.9 | 0 | 0 | 0.0031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069231 | false | 0 | 0.007692 | 0 | 0.146154 | 0.015385 | 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 |
7f288ac6419f413dc554bf0acc619bad182fbcf4 | 119 | py | Python | climate/__init__.py | FidelElie/cliMate | 3d1c9cb33ef180ef07c3f9f6b27f9a6b40f62f12 | [
"MIT"
] | null | null | null | climate/__init__.py | FidelElie/cliMate | 3d1c9cb33ef180ef07c3f9f6b27f9a6b40f62f12 | [
"MIT"
] | null | null | null | climate/__init__.py | FidelElie/cliMate | 3d1c9cb33ef180ef07c3f9f6b27f9a6b40f62f12 | [
"MIT"
] | null | null | null | from climate.lib.inquirers import prompt
from .climate import CliMate
from .lib import utilities
from .lib import data
| 23.8 | 40 | 0.823529 | 18 | 119 | 5.444444 | 0.444444 | 0.22449 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 4 | 41 | 29.75 | 0.951456 | 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 |
7f9a80c58415f8e58251d64d2e8dee3f1de7ad95 | 96 | py | Python | python/src/test/resources/pyfunc/numpy_array_test.py | maropu/lljvm-translator | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 70 | 2017-12-12T10:54:00.000Z | 2022-03-22T07:45:19.000Z | python/src/test/resources/pyfunc/numpy_array_test.py | maropu/lljvm-as | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 14 | 2018-02-28T01:29:46.000Z | 2019-12-10T01:42:22.000Z | python/src/test/resources/pyfunc/numpy_array_test.py | maropu/lljvm-as | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 4 | 2019-07-21T07:58:25.000Z | 2021-02-01T09:46:59.000Z | import numpy as np
def numpy_array_test():
return np.array([[1, 2, 3], [4, 5, 6]], np.int32)
| 19.2 | 51 | 0.625 | 19 | 96 | 3.052632 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 0.177083 | 96 | 4 | 52 | 24 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f68f8eaf7f7437e37c858982cde9d89e2623cf17 | 1,074 | py | Python | FlaskAPI/data_input.py | Jawwad-Fida/Salary-Estimator | f04612fd43a9549f3275cbd2013fa7dab5b18171 | [
"MIT"
] | 1 | 2021-11-07T18:04:43.000Z | 2021-11-07T18:04:43.000Z | FlaskAPI/data_input.py | Jawwad-Fida/Data-Science-Salary-Estimator | f04612fd43a9549f3275cbd2013fa7dab5b18171 | [
"MIT"
] | null | null | null | FlaskAPI/data_input.py | Jawwad-Fida/Data-Science-Salary-Estimator | f04612fd43a9549f3275cbd2013fa7dab5b18171 | [
"MIT"
] | null | null | null | data_in = [3.0,
1.0,
0.0,
0.0,
1.0,
6.0,
1.0,
0.0,
1.0,
0.0,
3280.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
... | 6.067797 | 15 | 0.33892 | 356 | 1,074 | 1.019663 | 0.019663 | 1.785124 | 2.586777 | 3.327824 | 0.966942 | 0.961433 | 0.961433 | 0.917355 | 0.917355 | 0.911846 | 0 | 0.495833 | 0.329609 | 1,074 | 177 | 16 | 6.067797 | 0.008333 | 0 | 0 | 0.977401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
f6a6498e81fd7aeb698c9e97d5cf8205a7c0cfe2 | 1,670 | py | Python | tools/migrations/0005_auto_20200306_1448.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 4 | 2019-03-28T06:42:17.000Z | 2021-06-06T13:10:51.000Z | tools/migrations/0005_auto_20200306_1448.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 177 | 2018-09-28T14:21:56.000Z | 2022-03-30T21:45:26.000Z | tools/migrations/0005_auto_20200306_1448.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 8 | 2018-10-25T20:43:10.000Z | 2022-03-17T14:19:27.000Z | # Generated by Django 2.2.9 on 2020-03-06 14:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tools', '0004_toolsubpage'),
]
operations = [
migrations.AddField(
model_name='toolsubpage',
name='listing_descripti... | 42.820513 | 170 | 0.654491 | 199 | 1,670 | 5.366834 | 0.266332 | 0.08427 | 0.107678 | 0.126404 | 0.858614 | 0.858614 | 0.858614 | 0.858614 | 0.746255 | 0.746255 | 0 | 0.027157 | 0.250299 | 1,670 | 38 | 171 | 43.947368 | 0.825879 | 0.026946 | 0 | 0.59375 | 1 | 0 | 0.365373 | 0.054221 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6dcdcdcae32180dd43739b5dbfb4a35c58419d0 | 434 | py | Python | graph/graph.py | RafaelKuebler/GraphAlgos | b6cbb45a1f6f40056a441aac5e24ee840973c01d | [
"MIT"
] | 1 | 2021-02-14T08:47:17.000Z | 2021-02-14T08:47:17.000Z | graph/graph.py | RafaelKuebler/GraphAlgos | b6cbb45a1f6f40056a441aac5e24ee840973c01d | [
"MIT"
] | null | null | null | graph/graph.py | RafaelKuebler/GraphAlgos | b6cbb45a1f6f40056a441aac5e24ee840973c01d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Graph(ABC):
@abstractmethod
def add_edge_to_neighbors(self, node):
pass
@abstractmethod
def remove_edge(self, node1, node2):
pass
@abstractmethod
def mark_as_obstacle(self, node):
pass
@abstractmethod
def is_obstacle(... | 18.083333 | 42 | 0.647465 | 49 | 434 | 5.55102 | 0.530612 | 0.3125 | 0.231618 | 0.191176 | 0.213235 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00639 | 0.278802 | 434 | 23 | 43 | 18.869565 | 0.86262 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.176471 | 0.058824 | 0.117647 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
101a878d25ad6dc46ef79630ce3f72370ef527e8 | 11,912 | py | Python | app/models/product.py | leahokamura/RetailTherapy | 18e1070369beecdf69c1c4b4707286acc3f9b163 | [
"MIT"
] | null | null | null | app/models/product.py | leahokamura/RetailTherapy | 18e1070369beecdf69c1c4b4707286acc3f9b163 | [
"MIT"
] | null | null | null | app/models/product.py | leahokamura/RetailTherapy | 18e1070369beecdf69c1c4b4707286acc3f9b163 | [
"MIT"
] | null | null | null | from __future__ import print_function # In python 2.7
from flask import current_app as app
from sqlalchemy import text
import sys
import sqlalchemy
# product class
class Product:
def __init__(self, pid, name, price, available, image, description, category):
self.pid = pid
self.name = name
... | 37.696203 | 126 | 0.612743 | 1,358 | 11,912 | 5.273196 | 0.103829 | 0.09831 | 0.095517 | 0.075408 | 0.874599 | 0.846251 | 0.819997 | 0.792068 | 0.771401 | 0.754224 | 0 | 0.024676 | 0.268553 | 11,912 | 316 | 127 | 37.696203 | 0.7972 | 0.10863 | 0 | 0.798387 | 0 | 0.016129 | 0.358078 | 0.007452 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044355 | false | 0 | 0.020161 | 0 | 0.108871 | 0.004032 | 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 |
63fcdca6ab3c9055d281a3ba8db117c1d71e9653 | 5,536 | py | Python | pymatflow/cmd/qe_parser.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/cmd/qe_parser.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/cmd/qe_parser.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z |
def read_pwscf_in(filepath):
"""
Note: read parameters from pwscf input template
"""
with open(filepath, 'r') as fin:
lines = fin.readlines()
control = {}
system = {}
electrons = {}
ions = {}
cell = {}
for i in range(len(lines)):
if li... | 46.133333 | 134 | 0.395592 | 688 | 5,536 | 3.174419 | 0.071221 | 0.211538 | 0.157051 | 0.269231 | 0.940476 | 0.913004 | 0.898352 | 0.898352 | 0.898352 | 0.898352 | 0 | 0.037666 | 0.362175 | 5,536 | 120 | 135 | 46.133333 | 0.580855 | 0.078577 | 0 | 0.630435 | 0 | 0 | 0.031643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032609 | false | 0.076087 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
126ac4efe83550ea3847e28918c6a06ffc47aadd | 116 | py | Python | pwnlib/encoders/i386/__init__.py | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 7 | 2017-07-11T01:12:02.000Z | 2017-09-21T23:39:54.000Z | pwnlib/encoders/i386/__init__.py | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | null | null | null | pwnlib/encoders/i386/__init__.py | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 3 | 2018-03-21T11:48:05.000Z | 2021-10-16T15:38:01.000Z | from __future__ import absolute_import
from pwnlib.encoders.i386 import delta
from pwnlib.encoders.i386 import xor
| 23.2 | 38 | 0.853448 | 17 | 116 | 5.529412 | 0.529412 | 0.212766 | 0.382979 | 0.468085 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.112069 | 116 | 4 | 39 | 29 | 0.854369 | 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 |
89e0cd4c6889956ba68aedfd8643968cac46da8a | 149 | py | Python | address/main.py | libterty/service-evaluate | f609e40cd0692191d460b0e1307bd2c6983f7f8c | [
"MIT"
] | 1 | 2021-06-03T14:46:35.000Z | 2021-06-03T14:46:35.000Z | address/main.py | libterty/service-evaluate | f609e40cd0692191d460b0e1307bd2c6983f7f8c | [
"MIT"
] | null | null | null | address/main.py | libterty/service-evaluate | f609e40cd0692191d460b0e1307bd2c6983f7f8c | [
"MIT"
] | null | null | null | import sys
import twaddress
def main():
print(twaddress.get(sys.argv[1]))
return twaddress.get(sys.argv[1])
if __name__ =='__main__' :
main() | 16.555556 | 35 | 0.697987 | 22 | 149 | 4.363636 | 0.545455 | 0.25 | 0.3125 | 0.395833 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.14094 | 149 | 9 | 36 | 16.555556 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.571429 | 0.142857 | 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 | 0 | 0 | 1 | 0 | 0 | 7 |
89f447150eb30d25e77ee09afd76de7cb6a81c5a | 12,272 | py | Python | nanome_rmsd/rmsd_selection.py | nanome-ai/plugin-rmsd | f95b04c6861aa4b24368d35cda5066671c2dd3e6 | [
"MIT"
] | null | null | null | nanome_rmsd/rmsd_selection.py | nanome-ai/plugin-rmsd | f95b04c6861aa4b24368d35cda5066671c2dd3e6 | [
"MIT"
] | null | null | null | nanome_rmsd/rmsd_selection.py | nanome-ai/plugin-rmsd | f95b04c6861aa4b24368d35cda5066671c2dd3e6 | [
"MIT"
] | null | null | null | import numpy as np
from nanome.util import Logs
# needleman wunsch algorithm
# the param only_score was used for clustalW
def global_align(complex1, complex2, gap_penalty=-1, mismatch_penalty=0, match_reward=3, only_score=False):
match_count = 0
clustal_w_score = 0
selected_res1 = selected_res(complex1)
... | 35.163324 | 122 | 0.547995 | 1,710 | 12,272 | 3.777193 | 0.104678 | 0.015792 | 0.035764 | 0.039015 | 0.859576 | 0.843319 | 0.843319 | 0.843319 | 0.83434 | 0.83434 | 0 | 0.041049 | 0.35088 | 12,272 | 348 | 123 | 35.264368 | 0.769772 | 0.170958 | 0 | 0.808 | 0 | 0 | 0.014815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016 | false | 0 | 0.008 | 0 | 0.04 | 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 |
89fbd775aa4f219a7e2a4e74c22f27caa9bdc144 | 226 | py | Python | tests/test_version.py | hile/treesync | 7b507cd3e01891ae5f24a2edf6aed125b14a1128 | [
"PSF-2.0"
] | null | null | null | tests/test_version.py | hile/treesync | 7b507cd3e01891ae5f24a2edf6aed125b14a1128 | [
"PSF-2.0"
] | null | null | null | tests/test_version.py | hile/treesync | 7b507cd3e01891ae5f24a2edf6aed125b14a1128 | [
"PSF-2.0"
] | null | null | null |
from sys_toolkit.tests.packaging import validate_version_string
from treesync import __version__
def test_version_string():
"""
Test format of module version string
"""
validate_version_string(__version__)
| 18.833333 | 63 | 0.769912 | 27 | 226 | 5.888889 | 0.555556 | 0.327044 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172566 | 226 | 11 | 64 | 20.545455 | 0.850267 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d60798731a5561f1138ab70bd10f546a9ab85538 | 5,536 | py | Python | apps/markets/migrations/0012_auto_20160728_1552.py | uktrade/enav-alpha | 8d38f05763367ca6b6747203241f267612fd6e44 | [
"MIT"
] | null | null | null | apps/markets/migrations/0012_auto_20160728_1552.py | uktrade/enav-alpha | 8d38f05763367ca6b6747203241f267612fd6e44 | [
"MIT"
] | 67 | 2016-07-11T12:57:58.000Z | 2016-08-08T12:59:19.000Z | apps/markets/migrations/0012_auto_20160728_1552.py | UKTradeInvestment/enav-alpha | 8d38f05763367ca6b6747203241f267612fd6e44 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-07-28 15:52
from __future__ import unicode_literals
import ckeditor.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('markets', '0011_auto_20160726_0958'),
]
operations = [
migrat... | 32.564706 | 71 | 0.544436 | 488 | 5,536 | 6.10041 | 0.155738 | 0.141082 | 0.224051 | 0.263016 | 0.837756 | 0.837756 | 0.825328 | 0.825328 | 0.808868 | 0.808868 | 0 | 0.021892 | 0.331647 | 5,536 | 169 | 72 | 32.757396 | 0.782703 | 0.012103 | 0 | 0.753086 | 1 | 0 | 0.074643 | 0.004208 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 10 |
c394b2322dcaeeaaecdb5e8389cc5d57f6ab95fd | 153 | py | Python | nidm/experiment/tools/click_main.py | adswa/PyNIDM | d8e8ce743bf537d98c94ae7f4ba294f97f17e7be | [
"Apache-2.0"
] | null | null | null | nidm/experiment/tools/click_main.py | adswa/PyNIDM | d8e8ce743bf537d98c94ae7f4ba294f97f17e7be | [
"Apache-2.0"
] | null | null | null | nidm/experiment/tools/click_main.py | adswa/PyNIDM | d8e8ce743bf537d98c94ae7f4ba294f97f17e7be | [
"Apache-2.0"
] | null | null | null | import click
from nidm.experiment.tools.click_base import cli
from nidm.experiment.tools import nidm_query
#from nidm.experiment.tools import nidm_utils
| 30.6 | 48 | 0.856209 | 24 | 153 | 5.333333 | 0.416667 | 0.1875 | 0.421875 | 0.539063 | 0.515625 | 0.515625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091503 | 153 | 4 | 49 | 38.25 | 0.920863 | 0.287582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c39f19a702ce41487b51a3b01ac224f1ed54a870 | 2,295 | py | Python | backend/AXIOME3_app/report/taxonomy/views.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T16:59:12.000Z | 2021-02-25T20:06:15.000Z | backend/AXIOME3_app/report/taxonomy/views.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | 7 | 2020-11-18T08:05:52.000Z | 2022-02-17T20:45:10.000Z | backend/AXIOME3_app/report/taxonomy/views.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | null | null | null | from flask import Blueprint, request, send_file
import sys
import os
from AXIOME3_app.utils import get_taxonomic_classification_dir
blueprint = Blueprint("taxonomy", __name__, url_prefix="/taxonomy")
@blueprint.route("/collapse/tsv", methods=['GET', 'POST'])
def taxa_collapse_tsv():
uid = request.form["uid"]
taxa ... | 35.307692 | 101 | 0.745534 | 295 | 2,295 | 5.542373 | 0.183051 | 0.182875 | 0.206728 | 0.068502 | 0.875841 | 0.868502 | 0.784098 | 0.784098 | 0.737615 | 0.737615 | 0 | 0.000489 | 0.108061 | 2,295 | 65 | 102 | 35.307692 | 0.798241 | 0.023965 | 0 | 0.595745 | 0 | 0 | 0.185599 | 0.087657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.085106 | 0 | 0.255319 | 0.12766 | 0 | 0 | 0 | null | 0 | 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 | 7 |
c3a72121f07be5459f6989277fb75ebe2d7514cd | 9,506 | py | Python | pyvaspflow/vasp/schedule.py | ChangChunHe/VASP-calculation-process | 99268479f826f2f31a59d92daff443aeec688fb2 | [
"MIT"
] | 13 | 2019-06-03T11:41:35.000Z | 2022-03-04T07:45:42.000Z | pyvaspflow/vasp/schedule.py | ChangChunHe/VASP-calculation-process | 99268479f826f2f31a59d92daff443aeec688fb2 | [
"MIT"
] | 2 | 2019-03-12T10:51:15.000Z | 2019-03-14T02:18:18.000Z | pyvaspflow/vasp/schedule.py | ChangChunHe/VASP-calculation-process | 99268479f826f2f31a59d92daff443aeec688fb2 | [
"MIT"
] | 8 | 2019-06-03T03:20:20.000Z | 2021-01-06T11:48:37.000Z | import os,subprocess,shutil,logging
from time import sleep
from pyvaspflow.utils import read_config
config = read_config()
class Schedule():
def __init__(self):
if config["Task_Schedule"]["default_schedule"] == "SLURM":
self.schedule_type = Slurm()
elif config["Task_Schedule"]["def... | 37.87251 | 136 | 0.576478 | 1,323 | 9,506 | 3.94709 | 0.10582 | 0.042895 | 0.061279 | 0.03447 | 0.909996 | 0.897357 | 0.897357 | 0.897357 | 0.897357 | 0.897357 | 0 | 0.006239 | 0.291816 | 9,506 | 250 | 137 | 38.024 | 0.769459 | 0 | 0 | 0.900452 | 0 | 0 | 0.112876 | 0.002209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095023 | false | 0.00905 | 0.013575 | 0 | 0.221719 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.