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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
497f15c429fd532c380ac01a11e7c5c3eef3e73d | 17,326 | py | Python | rocketbox/geometrylib.py | qmichalski/1d-rocket-flow | 7c9b38e42a1cd4b0343fdd36f89c52b9f2337b5b | [
"BSD-3-Clause"
] | null | null | null | rocketbox/geometrylib.py | qmichalski/1d-rocket-flow | 7c9b38e42a1cd4b0343fdd36f89c52b9f2337b5b | [
"BSD-3-Clause"
] | null | null | null | rocketbox/geometrylib.py | qmichalski/1d-rocket-flow | 7c9b38e42a1cd4b0343fdd36f89c52b9f2337b5b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Dec 26 14:09:49 2021
@author: quent
"""
class OneDGeometry():
def __init__(
self, grid = None, A = None, Ph = None, Dh = None, Pexch = None,
roughness = None):
if not(grid==None):
self.grid = grid
if not(A==None):
s... | 43.206983 | 158 | 0.491227 | 1,897 | 17,326 | 4.439642 | 0.105957 | 0.041677 | 0.008074 | 0.027309 | 0.79328 | 0.780575 | 0.762645 | 0.751128 | 0.728093 | 0.705296 | 0 | 0.041028 | 0.37539 | 17,326 | 400 | 159 | 43.315 | 0.737202 | 0.120628 | 0 | 0.707641 | 0 | 0 | 0.037757 | 0.001384 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016611 | false | 0 | 0.043189 | 0 | 0.063123 | 0.019934 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8e9823ccb995e3c4bcbd54978cf42af774af9ab | 170 | py | Python | 01/00/2.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 01/00/2.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 01/00/2.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | import decimal
decimal.getcontext().prec = 36
print(decimal.Decimal(1) / decimal.Decimal(7))
decimal.getcontext().prec = 4
print(decimal.Decimal(1) / decimal.Decimal(7))
| 28.333333 | 46 | 0.752941 | 24 | 170 | 5.333333 | 0.375 | 0.546875 | 0.328125 | 0.3125 | 0.546875 | 0.546875 | 0.546875 | 0 | 0 | 0 | 0 | 0.044872 | 0.082353 | 170 | 5 | 47 | 34 | 0.775641 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 0 | 6 |
770c348a246465b127999a62c89543546eef45f1 | 112 | py | Python | alteryx_open_src_update_checker/tests/test_version.py | FeatureLabs/alteryx-open-src-update-checker | 928cce4f80b0d9c5d08291a40d758599a5e524c4 | [
"BSD-3-Clause"
] | 2 | 2019-05-20T21:57:33.000Z | 2019-07-15T13:44:07.000Z | alteryx_open_src_update_checker/tests/test_version.py | alteryx/alteryx-open-src-update-checker | 928cce4f80b0d9c5d08291a40d758599a5e524c4 | [
"BSD-3-Clause"
] | 6 | 2021-06-01T19:47:05.000Z | 2021-09-10T19:32:16.000Z | alteryx_open_src_update_checker/tests/test_version.py | FeatureLabs/alteryx-open-src-update-checker | 928cce4f80b0d9c5d08291a40d758599a5e524c4 | [
"BSD-3-Clause"
] | 2 | 2019-11-23T07:49:42.000Z | 2020-01-14T18:30:12.000Z | from alteryx_open_src_update_checker import __version__
def test_version():
assert __version__ == "2.1.0"
| 18.666667 | 55 | 0.776786 | 16 | 112 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.142857 | 112 | 5 | 56 | 22.4 | 0.739583 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91fd39d62130074ff9d63c3c0110bd11e524f919 | 9,694 | py | Python | check_kernel_stats_by_ssh.py | balrawat/check-linux-by-ssh | 7743c2451dc4c1c59470315a85595b5633c13f90 | [
"MIT"
] | 37 | 2015-01-14T00:59:12.000Z | 2022-01-26T12:11:38.000Z | check_kernel_stats_by_ssh.py | balrawat/check-linux-by-ssh | 7743c2451dc4c1c59470315a85595b5633c13f90 | [
"MIT"
] | 38 | 2015-01-30T10:25:23.000Z | 2019-05-15T07:15:20.000Z | check_kernel_stats_by_ssh.py | balrawat/check-linux-by-ssh | 7743c2451dc4c1c59470315a85595b5633c13f90 | [
"MIT"
] | 45 | 2015-01-09T05:18:07.000Z | 2021-08-24T12:11:00.000Z | #!/usr/bin/env python2
# Copyright (C) 2013:
# Gabes Jean, naparuba@gmail.com
# Pasche Sebastien, sebastien.pasche@leshop.ch
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without... | 51.56383 | 1,474 | 0.595936 | 2,399 | 9,694 | 2.379325 | 0.15965 | 0.485634 | 0.721093 | 0.95445 | 0.396286 | 0.370883 | 0.365802 | 0.365802 | 0.353539 | 0.340575 | 0 | 0.294401 | 0.336703 | 9,694 | 187 | 1,475 | 51.839572 | 0.593313 | 0.611203 | 0 | 0.141176 | 0 | 0.011765 | 0.272702 | 0.010028 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.047059 | 0.058824 | null | null | 0.094118 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6232b733b96e9f0ac351939c8721bbd066d2500f | 36 | py | Python | pyball/models/league/__init__.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | 74 | 2018-03-04T22:58:46.000Z | 2021-07-06T12:28:50.000Z | pyball/models/league/__init__.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | 18 | 2018-03-10T19:17:54.000Z | 2020-01-04T15:42:47.000Z | pyball/models/league/__init__.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | 13 | 2018-03-06T02:39:38.000Z | 2020-01-17T04:38:53.000Z | from .season_date import SeasonDate
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
624260b93c1ea4383b96531f9cba7dcc1b6e1bd6 | 562 | py | Python | code/src/whats_your_name/config.py | pimlock/whats-your-name | e991f092750746b90a966d318a3dbe63a6c53527 | [
"MIT"
] | 16 | 2018-03-04T13:49:05.000Z | 2021-07-04T15:22:11.000Z | code/src/whats_your_name/config.py | pimlock/whats-your-name | e991f092750746b90a966d318a3dbe63a6c53527 | [
"MIT"
] | null | null | null | code/src/whats_your_name/config.py | pimlock/whats-your-name | e991f092750746b90a966d318a3dbe63a6c53527 | [
"MIT"
] | 3 | 2018-03-13T01:58:50.000Z | 2020-06-17T07:14:58.000Z | import os
class Config(object):
def __init__(self, face_collection_id, faces_bucket_name):
self._face_collection_id = face_collection_id
self._faces_bucket_name = faces_bucket_name
@property
def face_collection_id(self):
return self._face_collection_id
@property
def face_... | 24.434783 | 62 | 0.683274 | 69 | 562 | 5.072464 | 0.333333 | 0.205714 | 0.228571 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243772 | 562 | 22 | 63 | 25.545455 | 0.823529 | 0 | 0 | 0.117647 | 0 | 0 | 0.074733 | 0.044484 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0.176471 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
625292e524f5fe4dda030d79137286421f86de29 | 126 | py | Python | python/coordConv/__init__.py | r-owen/coordConv | b61692b52fa41bb1a6b242d37d7bcc6d500206ad | [
"BSD-3-Clause"
] | 2 | 2018-07-11T17:19:54.000Z | 2019-04-18T17:29:03.000Z | python/coordConv/__init__.py | r-owen/coordConv | b61692b52fa41bb1a6b242d37d7bcc6d500206ad | [
"BSD-3-Clause"
] | null | null | null | python/coordConv/__init__.py | r-owen/coordConv | b61692b52fa41bb1a6b242d37d7bcc6d500206ad | [
"BSD-3-Clause"
] | 1 | 2019-04-18T17:29:06.000Z | 2019-04-18T17:29:06.000Z | from __future__ import absolute_import, division
from .version import *
from .coordConvLib import *
from .testUtils import *
| 21 | 48 | 0.801587 | 15 | 126 | 6.4 | 0.533333 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 126 | 5 | 49 | 25.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
654ef3829ecb01ae873234d7479edbedc4f435f5 | 78 | py | Python | spikeextractors/extractors/klustaextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 145 | 2018-12-06T23:12:54.000Z | 2022-02-10T22:57:35.000Z | spikeextractors/extractors/klustaextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 396 | 2018-11-26T11:46:30.000Z | 2022-01-04T07:27:47.000Z | spikeextractors/extractors/klustaextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 67 | 2018-11-19T12:38:01.000Z | 2021-09-25T03:18:22.000Z | from .klustaextractors import KlustaSortingExtractor, KlustaRecordingExtractor | 78 | 78 | 0.923077 | 5 | 78 | 14.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 78 | 1 | 78 | 78 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65604e67bb45d57e1bf54da042a77023838fbac0 | 220 | py | Python | flytekit/types/pickle/__init__.py | ggydush-fn/flytekit | 6530601c2538a5d804127a97f63291730b1ba1d8 | [
"Apache-2.0"
] | 1 | 2021-11-11T10:10:10.000Z | 2021-11-11T10:10:10.000Z | flytekit/types/pickle/__init__.py | ggydush-fn/flytekit | 6530601c2538a5d804127a97f63291730b1ba1d8 | [
"Apache-2.0"
] | null | null | null | flytekit/types/pickle/__init__.py | ggydush-fn/flytekit | 6530601c2538a5d804127a97f63291730b1ba1d8 | [
"Apache-2.0"
] | null | null | null | """
Flytekit Pickle Type
==========================================================
.. currentmodule:: flytekit.types.pickle
.. autosummary::
:toctree: generated/
FlytePickle
"""
from .pickle import FlytePickle
| 16.923077 | 58 | 0.522727 | 15 | 220 | 7.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122727 | 220 | 12 | 59 | 18.333333 | 0.595855 | 0.809091 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
658a1ac4fdb050ba322eee1da453d4e8abe86834 | 248 | py | Python | inferno/io/core/data_utils.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 204 | 2017-10-10T20:58:52.000Z | 2021-12-07T03:01:19.000Z | inferno/io/core/data_utils.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 86 | 2017-10-11T11:32:36.000Z | 2021-11-15T17:47:25.000Z | inferno/io/core/data_utils.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 30 | 2017-11-16T23:21:30.000Z | 2021-11-15T15:11:00.000Z |
def implements_sync_primitives(dataset):
return hasattr(dataset, 'sync_with') and callable(getattr(dataset, 'sync_with'))
def defines_base_sequence(dataset):
return hasattr(dataset, 'base_sequence') and dataset.base_sequence is not None
| 31 | 84 | 0.78629 | 33 | 248 | 5.666667 | 0.515152 | 0.192513 | 0.213904 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116935 | 248 | 7 | 85 | 35.428571 | 0.853881 | 0 | 0 | 0 | 0 | 0 | 0.125506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
65afcd80145dfd9e837166148305d849a5808935 | 195 | py | Python | pybaseball/analysis/projections/__init__.py | reddigari/pybaseball | 2d878cf3505ce0a5e657694ae967d6275dc3c211 | [
"MIT"
] | 650 | 2017-06-29T20:05:19.000Z | 2022-03-31T03:27:25.000Z | pybaseball/analysis/projections/__init__.py | reddigari/pybaseball | 2d878cf3505ce0a5e657694ae967d6275dc3c211 | [
"MIT"
] | 216 | 2017-10-21T05:05:08.000Z | 2022-03-31T04:04:53.000Z | pybaseball/analysis/projections/__init__.py | reddigari/pybaseball | 2d878cf3505ce0a5e657694ae967d6275dc3c211 | [
"MIT"
] | 214 | 2017-07-18T21:40:01.000Z | 2022-03-29T03:19:55.000Z | from .marcels.marcels_batting import MarcelProjectionsBatting
from .marcels.marcels_pitching import MarcelProjectionsPitching
__all__ = ["MarcelProjectionsBatting", "MarcelProjectionsPitching"]
| 39 | 67 | 0.871795 | 15 | 195 | 10.933333 | 0.533333 | 0.134146 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 195 | 4 | 68 | 48.75 | 0.901099 | 0 | 0 | 0 | 0 | 0 | 0.251282 | 0.251282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65b1755ec4a71b11c4db9692c50f366bfde6879f | 40,401 | py | Python | tripleo_common/tests/utils/test_config.py | d0ugal/tripleo-common | dcf76e1e905613170d2011d0430bed5d35fe1006 | [
"Apache-2.0"
] | 2 | 2016-05-25T14:55:27.000Z | 2020-04-13T09:53:09.000Z | tripleo_common/tests/utils/test_config.py | d0ugal/tripleo-common | dcf76e1e905613170d2011d0430bed5d35fe1006 | [
"Apache-2.0"
] | null | null | null | tripleo_common/tests/utils/test_config.py | d0ugal/tripleo-common | dcf76e1e905613170d2011d0430bed5d35fe1006 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | 45.754247 | 79 | 0.533328 | 3,853 | 40,401 | 5.330132 | 0.091357 | 0.035059 | 0.025564 | 0.027268 | 0.779082 | 0.756537 | 0.744705 | 0.720261 | 0.701855 | 0.695038 | 0 | 0.020473 | 0.366476 | 40,401 | 882 | 80 | 45.806122 | 0.781911 | 0.027673 | 0 | 0.711538 | 0 | 0 | 0.203582 | 0.10607 | 0 | 0 | 0 | 0 | 0.062821 | 1 | 0.032051 | false | 0 | 0.017949 | 0.001282 | 0.05641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
028d86105c1f7e57b4e2ea7171bb996c52c99796 | 46 | py | Python | remina-resizer.py | trondhindenes/remmina-resizer | 2dcdea26b0d265d8e7fa294df84dff1a9707d3b4 | [
"MIT"
] | 5 | 2017-09-20T15:38:43.000Z | 2019-07-26T22:14:54.000Z | remina-resizer.py | trondhindenes/remmina-resizer | 2dcdea26b0d265d8e7fa294df84dff1a9707d3b4 | [
"MIT"
] | null | null | null | remina-resizer.py | trondhindenes/remmina-resizer | 2dcdea26b0d265d8e7fa294df84dff1a9707d3b4 | [
"MIT"
] | null | null | null | import remmina_resizer
remmina_resizer.main()
| 15.333333 | 22 | 0.869565 | 6 | 46 | 6.333333 | 0.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 2 | 23 | 23 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
02a6b30f17a3a5e99ff7ab90f80f75a0de741a7d | 49,271 | py | Python | metashare/accounts/admin.py | MiltosD/CEFELRC | c9919102c753c030a888ab53a612ebd80d14e3d5 | [
"BSD-3-Clause"
] | null | null | null | metashare/accounts/admin.py | MiltosD/CEFELRC | c9919102c753c030a888ab53a612ebd80d14e3d5 | [
"BSD-3-Clause"
] | null | null | null | metashare/accounts/admin.py | MiltosD/CEFELRC | c9919102c753c030a888ab53a612ebd80d14e3d5 | [
"BSD-3-Clause"
] | null | null | null | from django import forms
from django.contrib import admin, messages
from django.contrib.admin.options import csrf_protect_m
from django.contrib.auth.models import Permission, Group, User
from django.db import transaction
from django.shortcuts import render_to_response
from django.template.context import RequestContext
... | 47.467245 | 142 | 0.617503 | 4,961 | 49,271 | 5.901834 | 0.073977 | 0.024045 | 0.013388 | 0.017214 | 0.832884 | 0.810308 | 0.773831 | 0.746371 | 0.735578 | 0.708562 | 0 | 0.000784 | 0.30111 | 49,271 | 1,037 | 143 | 47.513018 | 0.849485 | 0.107731 | 0 | 0.65651 | 0 | 0 | 0.153312 | 0.041563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055402 | false | 0 | 0.038781 | 0 | 0.240997 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02d70b9d127c6f83b5e0de3bcdf739b30360b450 | 14,034 | py | Python | tests/integration/subsys/object_store/test_object_store.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 1 | 2020-06-22T07:27:41.000Z | 2020-06-22T07:27:41.000Z | tests/integration/subsys/object_store/test_object_store.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 4 | 2020-11-07T00:16:02.000Z | 2020-11-08T20:52:06.000Z | tests/integration/subsys/object_store/test_object_store.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | null | null | null | """
Tests for the archive subsys. With each configured driver.
"""
import os
import pytest
from anchore_engine.subsys import object_store
from anchore_engine.subsys.object_store.config import DEFAULT_OBJECT_STORE_MANAGER_ID, ALT_OBJECT_STORE_CONFIG_KEY
from anchore_engine.subsys.object_store import get_manager
from an... | 38.661157 | 216 | 0.601254 | 1,528 | 14,034 | 5.158377 | 0.123691 | 0.080944 | 0.061659 | 0.085638 | 0.825044 | 0.799036 | 0.774423 | 0.774423 | 0.767699 | 0.744227 | 0 | 0.014465 | 0.290651 | 14,034 | 362 | 217 | 38.767956 | 0.777298 | 0.019809 | 0 | 0.561688 | 0 | 0.003247 | 0.182547 | 0.028992 | 0 | 0 | 0 | 0 | 0.016234 | 1 | 0.045455 | false | 0.003247 | 0.029221 | 0 | 0.074675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f327633867b52fdbac8a61ace67b874a9a4507cc | 14,992 | py | Python | src/test/py/test_upgrade.py | iamfork/pipelinedb | 5cc6ef58ab5b1c84bb7b4e932f99bf5c347f46d8 | [
"Apache-2.0"
] | 2,625 | 2015-07-07T18:02:37.000Z | 2022-03-16T10:11:34.000Z | src/test/py/test_upgrade.py | iamfork/pipelinedb | 5cc6ef58ab5b1c84bb7b4e932f99bf5c347f46d8 | [
"Apache-2.0"
] | 943 | 2015-07-07T22:59:12.000Z | 2021-12-16T15:08:44.000Z | src/test/py/test_upgrade.py | iamfork/pipelinedb | 5cc6ef58ab5b1c84bb7b4e932f99bf5c347f46d8 | [
"Apache-2.0"
] | 276 | 2015-07-07T20:30:52.000Z | 2022-02-25T04:30:56.000Z | from base import pipeline, clean_db, PipelineDB
import pytest
import os
import shutil
import subprocess
import time
def test_binary_upgrade(pipeline, clean_db):
"""
Verify that binary upgrades properly transfer all objects and data
into the new installation
"""
if pipeline.version_num == 110000:
pytest.... | 34.306636 | 150 | 0.648279 | 2,421 | 14,992 | 3.875258 | 0.101611 | 0.012151 | 0.021744 | 0.039864 | 0.811874 | 0.756342 | 0.728736 | 0.705287 | 0.675016 | 0.648049 | 0 | 0.028821 | 0.206177 | 14,992 | 436 | 151 | 34.385321 | 0.759516 | 0.109125 | 0 | 0.724026 | 0 | 0.042208 | 0.359651 | 0.054215 | 0 | 0 | 0 | 0 | 0.24026 | 1 | 0.003247 | false | 0 | 0.019481 | 0 | 0.022727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b82ef15a0f3f83ccdca11f828f19a2ba3111acf5 | 190 | py | Python | src/cool_compiler/codegen/__init__.py | matcom-school/cool-compiler-2021 | 0a982f1708ed948a45610035a597d6ff12bab22b | [
"MIT"
] | null | null | null | src/cool_compiler/codegen/__init__.py | matcom-school/cool-compiler-2021 | 0a982f1708ed948a45610035a597d6ff12bab22b | [
"MIT"
] | null | null | null | src/cool_compiler/codegen/__init__.py | matcom-school/cool-compiler-2021 | 0a982f1708ed948a45610035a597d6ff12bab22b | [
"MIT"
] | null | null | null | # from .v0_type_data_code.type_data_code_visitor import CILGenerate
from .v0_cool_to_cil.cool_to_cil_visitor import CoolToCIL
from .v1_mips_generate.mips_generate_visitor import MipsGenerate | 63.333333 | 67 | 0.9 | 31 | 190 | 5 | 0.516129 | 0.251613 | 0.154839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016854 | 0.063158 | 190 | 3 | 68 | 63.333333 | 0.853933 | 0.342105 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b8475b6596d77c1638a9835ca2f78bc596836ce8 | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/0e/68/84/646f8aaef4bf58771309b9f378f43b53d4a89fd87b00f6ec84748b91fb | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b86731e13ff45ccaf333c293999b87cc2d1a018d | 114 | py | Python | src/moz_image/__init__.py | mozkzki/moz-image | d56d36293c3c7b1ae59cb75d1a829122880463c4 | [
"MIT"
] | null | null | null | src/moz_image/__init__.py | mozkzki/moz-image | d56d36293c3c7b1ae59cb75d1a829122880463c4 | [
"MIT"
] | 30 | 2021-09-21T09:12:33.000Z | 2022-03-29T14:14:03.000Z | src/moz_image/__init__.py | yukkun007/mmimage | 819f2f07b43ea79216c803ac9d2450b56035a02e | [
"MIT"
] | null | null | null | from moz_image.main import resize, download, upload_to_gyazo
__all__ = ["resize", "download", "upload_to_gyazo"]
| 28.5 | 60 | 0.77193 | 16 | 114 | 4.9375 | 0.6875 | 0.35443 | 0.506329 | 0.556962 | 0.683544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 114 | 3 | 61 | 38 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0.254386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b89bea4cb94d9408c515ca99fde4f3b395eb7336 | 27 | py | Python | src/euler_python_package/euler_python/medium/p189.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p189.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p189.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem189():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b228a18b1e8ab0d474fe0b6663e070d7dee58282 | 9,474 | py | Python | request_signer/tests/test_rest_client.py | imtapps/django-request-signer | b059d021b6e068245030ab682c2cff4318c83ca6 | [
"BSD-2-Clause"
] | 1 | 2017-01-23T19:21:23.000Z | 2017-01-23T19:21:23.000Z | request_signer/tests/test_rest_client.py | imtapps/django-request-signer | b059d021b6e068245030ab682c2cff4318c83ca6 | [
"BSD-2-Clause"
] | 14 | 2016-01-21T17:18:21.000Z | 2022-02-09T19:21:59.000Z | request_signer/tests/test_rest_client.py | imtapps/django-request-signer | b059d021b6e068245030ab682c2cff4318c83ca6 | [
"BSD-2-Clause"
] | 3 | 2016-01-25T19:32:21.000Z | 2016-08-23T15:37:38.000Z | import six
if six.PY3:
from django.test import mock
else:
import mock
from django import test
from request_signer.client.generic import Response, WebException
from django.test.utils import override_settings
from request_signer.client.generic.rest import BaseDjangoRestClient
class BaseDjangoRestClientTests(... | 43.658986 | 107 | 0.699704 | 1,234 | 9,474 | 5.02107 | 0.094814 | 0.04858 | 0.04519 | 0.058263 | 0.809232 | 0.781795 | 0.776953 | 0.737895 | 0.712879 | 0.66785 | 0 | 0.020986 | 0.195271 | 9,474 | 216 | 108 | 43.861111 | 0.79171 | 0 | 0 | 0.574074 | 0 | 0 | 0.099958 | 0.002322 | 0 | 0 | 0 | 0 | 0.197531 | 1 | 0.154321 | false | 0.006173 | 0.04321 | 0.006173 | 0.234568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b23b2549addeacb69d3a26905d7b415a79c66cf8 | 153 | py | Python | grand/grand/doctype/order_tracking_item/test_order_tracking_item.py | exvas/grand | 0f090de3dc3b3a11921f06e597fb357bb75e2631 | [
"MIT"
] | null | null | null | grand/grand/doctype/order_tracking_item/test_order_tracking_item.py | exvas/grand | 0f090de3dc3b3a11921f06e597fb357bb75e2631 | [
"MIT"
] | null | null | null | grand/grand/doctype/order_tracking_item/test_order_tracking_item.py | exvas/grand | 0f090de3dc3b3a11921f06e597fb357bb75e2631 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, sammish and Contributors
# See license.txt
# import frappe
import unittest
class TestOrderTrackingItem(unittest.TestCase):
pass
| 17 | 47 | 0.79085 | 18 | 153 | 6.722222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.137255 | 153 | 8 | 48 | 19.125 | 0.886364 | 0.48366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b25a2d58ca8f67e9097fc2a143e56cfd43015ff0 | 9,697 | py | Python | polls/tests/test_polls_index.py | parsampsh/besanj-django | 0ebc3e4294c9c004ffc882353f4fbba724f07b1a | [
"MIT"
] | 2 | 2022-03-26T07:48:57.000Z | 2022-03-28T12:46:15.000Z | polls/tests/test_polls_index.py | parsampsh/besanj-django | 0ebc3e4294c9c004ffc882353f4fbba724f07b1a | [
"MIT"
] | null | null | null | polls/tests/test_polls_index.py | parsampsh/besanj-django | 0ebc3e4294c9c004ffc882353f4fbba724f07b1a | [
"MIT"
] | null | null | null | from django.test import TestCase, Client
from polls.models import *
from account.models import Profile
class TestPollsIndex(TestCase):
def setUp(self):
self.client = Client()
self.user1 = User(username="a", password='123')
self.user1.save()
self.user1.profile = Profile(api_token='... | 42.90708 | 111 | 0.630814 | 1,315 | 9,697 | 4.458555 | 0.091255 | 0.121781 | 0.196486 | 0.19137 | 0.794474 | 0.761044 | 0.711922 | 0.654102 | 0.62323 | 0.606686 | 0 | 0.033399 | 0.209549 | 9,697 | 225 | 112 | 43.097778 | 0.731507 | 0 | 0 | 0.518717 | 0 | 0 | 0.144581 | 0.027741 | 0 | 0 | 0 | 0 | 0.513369 | 1 | 0.037433 | false | 0.010695 | 0.016043 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 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 | 6 |
b262f39f26e462802383dd812734c5912e4df320 | 20 | py | Python | elliot/evaluation/metrics/accuracy/mrr/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/evaluation/metrics/accuracy/mrr/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/evaluation/metrics/accuracy/mrr/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .mrr import MRR | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b293438f965c4269873f50ee367ce00a1a8b28f3 | 65 | py | Python | kloppy/domain/services/matchers/pattern/regexp/__init__.py | cedrickrause/kloppy | 29a997e144c8abb5c18816e2d3e04288b818931d | [
"BSD-3-Clause"
] | 176 | 2020-04-24T09:12:05.000Z | 2022-03-27T07:03:44.000Z | kloppy/domain/services/matchers/pattern/regexp/__init__.py | cedrickrause/kloppy | 29a997e144c8abb5c18816e2d3e04288b818931d | [
"BSD-3-Clause"
] | 95 | 2020-04-24T18:37:36.000Z | 2022-03-23T21:59:10.000Z | kloppy/domain/services/matchers/pattern/regexp/__init__.py | cedrickrause/kloppy | 29a997e144c8abb5c18816e2d3e04288b818931d | [
"BSD-3-Clause"
] | 39 | 2020-05-08T21:45:26.000Z | 2022-03-19T09:29:41.000Z | from .ast import *
from .matchers import *
from .regexp import *
| 16.25 | 23 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 24 | 21.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b293d7c5344f388ce307a4b99b5d3ec468a033c4 | 154 | py | Python | src/predictive_model/regression/apps.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 12 | 2018-06-27T08:09:18.000Z | 2021-10-10T22:19:04.000Z | src/predictive_model/regression/apps.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 17 | 2018-06-12T17:36:11.000Z | 2020-11-16T21:23:22.000Z | src/predictive_model/regression/apps.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 16 | 2018-08-02T14:40:17.000Z | 2021-11-12T12:28:46.000Z | from src.predictive_model.apps import PredictiveModelConfig
class RegressionConfig(PredictiveModelConfig):
name = 'src.predictive_model.regression'
| 25.666667 | 59 | 0.837662 | 15 | 154 | 8.466667 | 0.733333 | 0.204724 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097403 | 154 | 5 | 60 | 30.8 | 0.913669 | 0 | 0 | 0 | 0 | 0 | 0.201299 | 0.201299 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2a0d69d1431334bad1a1403cdb4cdfe38bd5a59 | 5,169 | py | Python | phase-4/movements.py | joshdabosh/autopack | e8617e1ddce77bea212fe46443187824d438efb9 | [
"MIT"
] | null | null | null | phase-4/movements.py | joshdabosh/autopack | e8617e1ddce77bea212fe46443187824d438efb9 | [
"MIT"
] | 1 | 2019-02-19T01:17:40.000Z | 2019-07-18T14:19:25.000Z | phase-4/movements.py | joshdabosh/autopack | e8617e1ddce77bea212fe46443187824d438efb9 | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
class robot():
def __init__(self):
self.TRIG = 24
self.ECHO = 26
GPIO.setmode(GPIO.BOARD)
GPIO.setup(7, GPIO.OUT)
GPIO.setup(11, GPIO.OUT)
... | 28.092391 | 59 | 0.414007 | 512 | 5,169 | 4.160156 | 0.119141 | 0.42723 | 0.422535 | 0.067606 | 0.72723 | 0.724413 | 0.705634 | 0.661033 | 0.653521 | 0.653521 | 0 | 0.074848 | 0.490811 | 5,169 | 183 | 60 | 28.245902 | 0.734422 | 0.007932 | 0 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0.015625 | 0.015625 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2af987d52e1faf6a1a24b37561c658aae773827 | 104 | py | Python | pandas-stubs/core/indexes/datetimes.py | commonstock/data-science-types | 58bbe6df01dea593a5564602508e71e03b9fa5b4 | [
"Apache-2.0"
] | null | null | null | pandas-stubs/core/indexes/datetimes.py | commonstock/data-science-types | 58bbe6df01dea593a5564602508e71e03b9fa5b4 | [
"Apache-2.0"
] | null | null | null | pandas-stubs/core/indexes/datetimes.py | commonstock/data-science-types | 58bbe6df01dea593a5564602508e71e03b9fa5b4 | [
"Apache-2.0"
] | null | null | null | from .datetimelike import DatetimeTimedeltaMixin
class DatetimeIndex(DatetimeTimedeltaMixin):
...
| 17.333333 | 48 | 0.807692 | 7 | 104 | 12 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 5 | 49 | 20.8 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a248ddc41ced6cd3f611cd0d1ecd500963001565 | 179 | py | Python | pynars/NARS/InferenceEngine/GeneralEngine/Rules/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/GeneralEngine/Rules/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/GeneralEngine/Rules/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | from .NAL1 import *
from .NAL2 import *
from .NAL3 import *
from .NAL4 import *
from .NAL5 import *
from .NAL6 import *
from .NAL7 import *
from .NAL8 import *
from .NAL9 import * | 19.888889 | 19 | 0.703911 | 27 | 179 | 4.666667 | 0.407407 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.195531 | 179 | 9 | 20 | 19.888889 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2751a7edda0d0dd56f33457cba111857d539a10 | 102 | py | Python | obpy/util.py | OpenBikes/obpy | 2d55d2e991a71950976cac067b4b73224f2458ba | [
"MIT"
] | null | null | null | obpy/util.py | OpenBikes/obpy | 2d55d2e991a71950976cac067b4b73224f2458ba | [
"MIT"
] | null | null | null | obpy/util.py | OpenBikes/obpy | 2d55d2e991a71950976cac067b4b73224f2458ba | [
"MIT"
] | null | null | null | def remove_none_values_from_dict(dict_obj):
return dict((k, v) for k, v in dict_obj.items() if v)
| 34 | 57 | 0.72549 | 21 | 102 | 3.238095 | 0.666667 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 2 | 58 | 51 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a2d228647f16fe658bec55e82795298ce783ba20 | 26,608 | py | Python | microraiden/test/test_channel_manager.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 417 | 2017-09-19T19:06:23.000Z | 2021-11-28T05:39:23.000Z | microraiden/test/test_channel_manager.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 259 | 2017-09-19T20:42:57.000Z | 2020-11-18T01:31:41.000Z | microraiden/test/test_channel_manager.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 126 | 2017-09-19T17:11:39.000Z | 2020-12-17T17:05:27.000Z | import logging
from itertools import count
from typing import List
from eth_utils import is_same_address, encode_hex
from web3 import Web3
from web3.contract import Contract
from microraiden import Client
from microraiden.client import Channel
from microraiden.utils import get_logs, sign_balance_proof, privkey_to_add... | 37.795455 | 94 | 0.734892 | 3,225 | 26,608 | 5.729612 | 0.068217 | 0.098496 | 0.070354 | 0.037883 | 0.826063 | 0.785962 | 0.751921 | 0.728759 | 0.698452 | 0.660569 | 0 | 0.012211 | 0.193626 | 26,608 | 703 | 95 | 37.849218 | 0.848993 | 0.04307 | 0 | 0.74276 | 0 | 0 | 0.012547 | 0 | 0 | 0 | 0 | 0 | 0.166951 | 1 | 0.027257 | false | 0 | 0.025554 | 0 | 0.054514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2fae789aa47f0205fe2b607a33a9aaf2304d9bd | 109 | py | Python | server/src/routes/__init__.py | mounirchaabani/centrale | c3dbe51a7292316e4918869d95bf69f0302933f5 | [
"MIT"
] | null | null | null | server/src/routes/__init__.py | mounirchaabani/centrale | c3dbe51a7292316e4918869d95bf69f0302933f5 | [
"MIT"
] | null | null | null | server/src/routes/__init__.py | mounirchaabani/centrale | c3dbe51a7292316e4918869d95bf69f0302933f5 | [
"MIT"
] | null | null | null | from .user import USER_BLUEPRINT
from .movie import MOVIE_BLUEPRINT
from .notation import NOTATION_BLUEPRINT
| 27.25 | 40 | 0.862385 | 15 | 109 | 6.066667 | 0.4 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 41 | 36.333333 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c3f67ba482810c1ddc87a6d2f0c7ba1a5f62a7e | 3,450 | py | Python | tests/test_import_entry_points.py | inmanta/inmanta-core | ae2153d57f124d00ad1b58e6d4bc6818364be4a8 | [
"Apache-2.0"
] | 6 | 2021-03-09T10:24:02.000Z | 2022-01-16T03:52:11.000Z | tests/test_import_entry_points.py | inmanta/inmanta-core | ae2153d57f124d00ad1b58e6d4bc6818364be4a8 | [
"Apache-2.0"
] | 1,319 | 2020-12-18T08:52:29.000Z | 2022-03-31T18:17:32.000Z | tests/test_import_entry_points.py | inmanta/inmanta-core | ae2153d57f124d00ad1b58e6d4bc6818364be4a8 | [
"Apache-2.0"
] | 4 | 2021-03-03T15:36:50.000Z | 2022-03-11T11:41:51.000Z | """
Copyright 2020 Inmanta
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 31.651376 | 123 | 0.738841 | 480 | 3,450 | 5.0875 | 0.30625 | 0.151515 | 0.235872 | 0.18018 | 0.440622 | 0.4095 | 0.328419 | 0.327191 | 0.327191 | 0.166667 | 0 | 0.012418 | 0.15971 | 3,450 | 108 | 124 | 31.944444 | 0.829941 | 0.194203 | 0 | 0 | 0 | 0 | 0.145577 | 0.057517 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.354167 | false | 0 | 0.895833 | 0 | 1.270833 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a76b6fc4e8e67156030050ff62bfb65cf3733429 | 80,646 | py | Python | cottonformation/res/networkfirewall.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/networkfirewall.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/networkfirewall.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropRuleGroupTCPFlagField(Property):
"""
AWS Object Type = "AWS::Netw... | 66.375309 | 259 | 0.784999 | 8,004 | 80,646 | 7.815217 | 0.024488 | 0.109731 | 0.039918 | 0.061692 | 0.890349 | 0.884898 | 0.864915 | 0.799834 | 0.799834 | 0.799834 | 0 | 0.000014 | 0.095454 | 80,646 | 1,214 | 260 | 66.429984 | 0.857488 | 0.347742 | 0 | 0.389241 | 0 | 0 | 0.114557 | 0.083659 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011076 | false | 0 | 0.006329 | 0 | 0.287975 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a76fc4b2faa234528bcd6289046829da4f8e5a2d | 14,085 | py | Python | sdk/python/pulumi_gcp/accesscontextmanager/service_perimeter_resource.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/accesscontextmanager/service_perimeter_resource.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/accesscontextmanager/service_perimeter_resource.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # 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... | 45.879479 | 167 | 0.67405 | 1,530 | 14,085 | 6.020915 | 0.161438 | 0.053626 | 0.042553 | 0.031915 | 0.787234 | 0.766609 | 0.760096 | 0.733391 | 0.722102 | 0.717434 | 0 | 0.004416 | 0.244444 | 14,085 | 306 | 168 | 46.029412 | 0.86121 | 0.525737 | 0 | 0.495727 | 1 | 0 | 0.11173 | 0.026944 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145299 | false | 0.008547 | 0.042735 | 0 | 0.273504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a779598b96c2f342381b836a5ff9334be6f8c21a | 35 | py | Python | setup.py | miketheinkman/facebook_admin | 14dbab65b70ac4f3bb4fa9e78918c8f383115787 | [
"MIT"
] | null | null | null | setup.py | miketheinkman/facebook_admin | 14dbab65b70ac4f3bb4fa9e78918c8f383115787 | [
"MIT"
] | null | null | null | setup.py | miketheinkman/facebook_admin | 14dbab65b70ac4f3bb4fa9e78918c8f383115787 | [
"MIT"
] | null | null | null | from . import settings
import os
| 7 | 22 | 0.742857 | 5 | 35 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 4 | 23 | 8.75 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac29f00222d01c1e47ed73b02e080433888bbbf3 | 153 | py | Python | genre_classifier/classifier.py | palicand/genre_classifier | c9eb8b5086579c7be7b870720cfa7a53052b22b6 | [
"MIT"
] | null | null | null | genre_classifier/classifier.py | palicand/genre_classifier | c9eb8b5086579c7be7b870720cfa7a53052b22b6 | [
"MIT"
] | null | null | null | genre_classifier/classifier.py | palicand/genre_classifier | c9eb8b5086579c7be7b870720cfa7a53052b22b6 | [
"MIT"
] | null | null | null | from sklearn.externals import joblib
__author__ = 'Andrej Palicka <andrej.palicka@merck.com>'
def load_classifier(path):
return joblib.load(path)
| 19.125 | 56 | 0.771242 | 20 | 153 | 5.65 | 0.75 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130719 | 153 | 7 | 57 | 21.857143 | 0.849624 | 0 | 0 | 0 | 0 | 0 | 0.267974 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
022f407c155e9ba9b1add831b227ccec053d98fe | 34 | py | Python | gerritssh/internal/__init__.py | kdopen/gerritssh | 363e97fc981ef83d72d73c622af12a8449c8d424 | [
"Apache-2.0"
] | 2 | 2016-02-24T08:32:30.000Z | 2017-09-25T08:08:58.000Z | gerritssh/internal/__init__.py | kdopen/gerritssh | 363e97fc981ef83d72d73c622af12a8449c8d424 | [
"Apache-2.0"
] | null | null | null | gerritssh/internal/__init__.py | kdopen/gerritssh | 363e97fc981ef83d72d73c622af12a8449c8d424 | [
"Apache-2.0"
] | 4 | 2015-04-07T21:58:37.000Z | 2018-11-20T20:18:21.000Z | from .cmdoptions import * # noqa
| 17 | 33 | 0.705882 | 4 | 34 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.888889 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a1827c1e5da23a76d9a40f81f142b6f7f80fada | 29 | py | Python | pygame/symbian/lib/event.py | CiubucAlexandra/Theremine-Projet-Micriprocesseurs | 7670d9cb468b060135dc5f057b734db970da0f0c | [
"BSD-3-Clause"
] | 3 | 2016-04-11T00:41:52.000Z | 2016-06-11T03:58:12.000Z | pygame/symbian/lib/event.py | CiubucAlexandra/Theremine-Projet-Micriprocesseurs | 7670d9cb468b060135dc5f057b734db970da0f0c | [
"BSD-3-Clause"
] | 5 | 2016-02-11T01:16:51.000Z | 2016-04-08T06:10:28.000Z | pygame/symbian/lib/event.py | CiubucAlexandra/Theremine-Projet-Micriprocesseurs | 7670d9cb468b060135dc5f057b734db970da0f0c | [
"BSD-3-Clause"
] | null | null | null | from pygame_event import *
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 1 | 29 | 29 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a7d38e46acd4468a371b8769551125f9a170118 | 30 | py | Python | tosh/commands/__init__.py | javitonino/tosh | e096ee435264849ab644c6b27d643352446d2b2a | [
"BSD-3-Clause"
] | 1 | 2017-09-23T09:30:49.000Z | 2017-09-23T09:30:49.000Z | tosh/commands/__init__.py | javitonino/tosh | e096ee435264849ab644c6b27d643352446d2b2a | [
"BSD-3-Clause"
] | null | null | null | tosh/commands/__init__.py | javitonino/tosh | e096ee435264849ab644c6b27d643352446d2b2a | [
"BSD-3-Clause"
] | null | null | null | from .exit import ExitCommand
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a7f7de5e1167506f79bd9e8143f93852f7c31d5 | 33 | py | Python | app/gws/qgis/__init__.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 3 | 2020-07-24T10:10:18.000Z | 2022-03-16T10:22:04.000Z | app/gws/qgis/__init__.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 28 | 2020-03-03T17:35:58.000Z | 2021-07-12T12:05:47.000Z | app/gws/qgis/__init__.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 1 | 2021-02-22T14:32:10.000Z | 2021-02-22T14:32:10.000Z | from .types import PrintTemplate
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce458546dc9414899dcead27db2e65e2dccae59d | 43 | py | Python | eval/__init__.py | y-vas/jict | 8ad9590452455c2fc27adbb89a563fe6a3a0a0f1 | [
"MIT"
] | null | null | null | eval/__init__.py | y-vas/jict | 8ad9590452455c2fc27adbb89a563fe6a3a0a0f1 | [
"MIT"
] | null | null | null | eval/__init__.py | y-vas/jict | 8ad9590452455c2fc27adbb89a563fe6a3a0a0f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .base import *
| 10.75 | 21 | 0.674419 | 7 | 43 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 22 | 14.333333 | 0.805556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce707cc3d90868e4f9f95bc7a4712bc3acf714b7 | 441 | py | Python | modules/functional/__init__.py | Masterchef365/pvcnn | db13331a46f672e74e7b5bde60e7bf30d445cd2d | [
"MIT"
] | 477 | 2019-12-10T01:03:43.000Z | 2022-03-28T14:10:08.000Z | modules/functional/__init__.py | Masterchef365/pvcnn | db13331a46f672e74e7b5bde60e7bf30d445cd2d | [
"MIT"
] | 57 | 2019-12-10T10:14:26.000Z | 2022-03-26T04:59:43.000Z | modules/functional/__init__.py | Masterchef365/pvcnn | db13331a46f672e74e7b5bde60e7bf30d445cd2d | [
"MIT"
] | 126 | 2019-12-10T07:59:50.000Z | 2022-03-12T07:21:19.000Z | from modules.functional.ball_query import ball_query
from modules.functional.devoxelization import trilinear_devoxelize
from modules.functional.grouping import grouping
from modules.functional.interpolatation import nearest_neighbor_interpolate
from modules.functional.loss import kl_loss, huber_loss
from modules.functi... | 55.125 | 82 | 0.891156 | 56 | 441 | 6.821429 | 0.482143 | 0.201571 | 0.384817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070295 | 441 | 7 | 83 | 63 | 0.931707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce93b2dc87a7d46b6cd8ff5f74890960beed6797 | 12,542 | py | Python | ISP_parallel/util/simulation.py | NREL/GANISP | 3ce6979e26f837d05b8f7cfbe2b949f900b6026b | [
"BSD-3-Clause"
] | null | null | null | ISP_parallel/util/simulation.py | NREL/GANISP | 3ce6979e26f837d05b8f7cfbe2b949f900b6026b | [
"BSD-3-Clause"
] | null | null | null | ISP_parallel/util/simulation.py | NREL/GANISP | 3ce6979e26f837d05b8f7cfbe2b949f900b6026b | [
"BSD-3-Clause"
] | 1 | 2022-02-23T13:48:06.000Z | 2022-02-23T13:48:06.000Z | import numpy as np
import time
import sys
sys.path.append('util')
import importanceSplitting as isplt
from myProgressBar import printProgressBar
def run(Sim):
# Timing
t_start = time.time()
t_init_start = time.time()
Result = {}
# Sim details
Ndof = Sim['Ndof']
NSim = Sim['NSim']
... | 27.030172 | 143 | 0.54465 | 1,620 | 12,542 | 4.107407 | 0.096914 | 0.048091 | 0.029306 | 0.016832 | 0.793207 | 0.788999 | 0.771416 | 0.751728 | 0.749023 | 0.749023 | 0 | 0.020115 | 0.290464 | 12,542 | 463 | 144 | 27.088553 | 0.72761 | 0.032929 | 0 | 0.801749 | 0 | 0 | 0.115143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026239 | false | 0 | 0.014577 | 0 | 0.075802 | 0.03207 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b493129087424a92ae0f5559228e07764258966 | 21 | py | Python | lights/__init__.py | carderne/lifx-transitions | 2c9c3b119c170e4ca78b59e52885a750c0c0fc9a | [
"MIT"
] | 9 | 2018-11-12T11:08:40.000Z | 2022-01-13T17:56:29.000Z | poker_ai/cli/__init__.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | 27 | 2020-09-20T21:18:48.000Z | 2021-07-31T13:02:10.000Z | bunnies/reproduce/__init__.py | big-c-note/bunnies | af66025ba47d4e0458c9cf0fbe52dae71f8f6e92 | [
"MIT"
] | 3 | 2019-07-31T07:49:17.000Z | 2021-04-12T15:45:52.000Z | from . import runner
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b78ebe0669fac81305e92a45c2523a56889ef67 | 148 | py | Python | Dmail/esp/__init__.py | hmiladhia/Dmail | 386350331cc5973f79cd4ce42a9a23cfb3a8b87a | [
"MIT"
] | 6 | 2020-11-28T18:00:04.000Z | 2021-07-07T02:19:48.000Z | Dmail/esp/__init__.py | hmiladhia/Dmail | 386350331cc5973f79cd4ce42a9a23cfb3a8b87a | [
"MIT"
] | 1 | 2021-06-23T10:58:45.000Z | 2021-07-24T22:11:44.000Z | Dmail/esp/__init__.py | hmiladhia/Dmail | 386350331cc5973f79cd4ce42a9a23cfb3a8b87a | [
"MIT"
] | 1 | 2021-07-07T02:20:24.000Z | 2021-07-07T02:20:24.000Z | from Dmail.esp.gmail import Gmail
from Dmail.esp.hotmail import Hotmail
from Dmail.esp.office365 import Office365
from Dmail.esp.yahoo import Yahoo
| 29.6 | 41 | 0.837838 | 24 | 148 | 5.166667 | 0.333333 | 0.290323 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.108108 | 148 | 4 | 42 | 37 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b8ed37929c9e5c454591569c0a569e142bec784 | 104 | py | Python | vnpy/app/data_recorder/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | 1 | 2020-06-18T16:38:29.000Z | 2020-06-18T16:38:29.000Z | vnpy/app/data_recorder/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | 2 | 2020-06-22T12:12:43.000Z | 2020-06-23T01:26:10.000Z | vnpy/app/data_recorder/__init__.py | Billy-Meng/vnpy | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import sys
import vnpy_datarecorder
sys.modules[__name__] = vnpy_datarecorder
| 13 | 41 | 0.740385 | 13 | 104 | 5.461538 | 0.692308 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.134615 | 104 | 7 | 42 | 14.857143 | 0.777778 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b9b8d11fce6216656c109393359d76daf440443 | 32 | py | Python | ENTRY_MODULE/FirstStepsInCoding/EXERCISE/01_USD_to_BGN.py | sleepychild/ProgramingBasicsPython | d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16 | [
"MIT"
] | null | null | null | ENTRY_MODULE/FirstStepsInCoding/EXERCISE/01_USD_to_BGN.py | sleepychild/ProgramingBasicsPython | d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16 | [
"MIT"
] | 1 | 2022-01-15T10:33:56.000Z | 2022-01-15T10:33:56.000Z | ENTRY_MODULE/FirstStepsInCoding/EXERCISE/01_USD_to_BGN.py | sleepychild/ProgramingBasicsPython | d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16 | [
"MIT"
] | null | null | null | print(1.79549 * float(input()))
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.09375 | 32 | 1 | 32 | 32 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0ba25d16646589e5f582634ec9c2d134a8bf6fcf | 1,165 | py | Python | controller/telemetry.py | TUPilotsClub/TUTello | 965b236866c34d2444afd4813418131438978e13 | [
"MIT"
] | null | null | null | controller/telemetry.py | TUPilotsClub/TUTello | 965b236866c34d2444afd4813418131438978e13 | [
"MIT"
] | null | null | null | controller/telemetry.py | TUPilotsClub/TUTello | 965b236866c34d2444afd4813418131438978e13 | [
"MIT"
] | null | null | null | from drone import Tello
class Telemetry:
def __init__(self, tello: Tello):
self.tello = tello
def getBattery(self):
return self.tello.battery
def getBarometer(self):
return self.tello.barometer
def getFlightTime(self):
return self.tello.flight_time
def getRoll(se... | 21.574074 | 45 | 0.651502 | 136 | 1,165 | 5.477941 | 0.316176 | 0.21745 | 0.300671 | 0.408054 | 0.379866 | 0.077852 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272961 | 1,165 | 54 | 46 | 21.574074 | 0.879575 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.472222 | false | 0 | 0.027778 | 0.444444 | 0.972222 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0bae46eadc87983b491d602b53f5e51ca58ae98c | 126 | py | Python | music_essentials/__init__.py | charlottepierce/music_basics | 097a2bb14373662fcb0f6b585abca2913a8affb0 | [
"MIT"
] | 6 | 2018-03-22T03:09:24.000Z | 2021-08-13T16:19:21.000Z | music_essentials/__init__.py | charlottepierce/music_basics | 097a2bb14373662fcb0f6b585abca2913a8affb0 | [
"MIT"
] | 3 | 2018-06-19T02:09:52.000Z | 2018-06-20T00:09:46.000Z | music_essentials/__init__.py | charlottepierce/music_basics | 097a2bb14373662fcb0f6b585abca2913a8affb0 | [
"MIT"
] | 1 | 2018-06-18T19:07:03.000Z | 2018-06-18T19:07:03.000Z | from .note import Note
from .note import Rest
from .interval import Interval
from .scale import Scale
from .chord import Chord | 25.2 | 30 | 0.809524 | 20 | 126 | 5.1 | 0.35 | 0.156863 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 5 | 31 | 25.2 | 0.953271 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f01b169e4f20a41e97dab54396f6953a441b2345 | 191 | py | Python | hiredis/__init__.py | asafkahlon/hiredis-py | cca535dc76d4f9380dd2e4214bca73ad826a8387 | [
"BSD-3-Clause"
] | 296 | 2015-01-03T01:21:13.000Z | 2022-03-22T23:02:09.000Z | hiredis/__init__.py | asafkahlon/hiredis-py | cca535dc76d4f9380dd2e4214bca73ad826a8387 | [
"BSD-3-Clause"
] | 85 | 2015-01-23T21:32:02.000Z | 2022-03-25T14:40:15.000Z | hiredis/__init__.py | asafkahlon/hiredis-py | cca535dc76d4f9380dd2e4214bca73ad826a8387 | [
"BSD-3-Clause"
] | 64 | 2015-02-05T07:59:57.000Z | 2022-03-23T01:50:21.000Z | from .hiredis import Reader, HiredisError, ProtocolError, ReplyError
from .version import __version__
__all__ = [
"Reader", "HiredisError", "ProtocolError", "ReplyError",
"__version__"]
| 27.285714 | 68 | 0.759162 | 17 | 191 | 7.823529 | 0.529412 | 0.270677 | 0.466165 | 0.616541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125654 | 191 | 6 | 69 | 31.833333 | 0.796407 | 0 | 0 | 0 | 0 | 0 | 0.272251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6543d7e7c5a7c239b2b98fe08e1c8f236135c9bd | 4,741 | py | Python | tests/test_scatnet_fwd.py | hologerry/pytorch_wavelets | b1418c87f8151f94c2fecc5b31ae2fb7ea31cc03 | [
"MIT"
] | 3 | 2021-07-11T14:40:23.000Z | 2022-03-26T12:41:56.000Z | tests/test_scatnet_fwd.py | hologerry/pytorch_wavelets | b1418c87f8151f94c2fecc5b31ae2fb7ea31cc03 | [
"MIT"
] | null | null | null | tests/test_scatnet_fwd.py | hologerry/pytorch_wavelets | b1418c87f8151f94c2fecc5b31ae2fb7ea31cc03 | [
"MIT"
] | 1 | 2020-07-18T08:39:36.000Z | 2020-07-18T08:39:36.000Z | from Transform2d_np import Transform2d
from pytorch_wavelets.scatternet import ScatLayer, ScatLayerj2
import numpy as np
import torch
import torch.nn.functional as F
import pytest
@pytest.mark.parametrize('biort', ['near_sym_a', 'near_sym_b', 'near_sym_b_bp'])
def test_equal(biort):
b = 1e-2
scat = ScatLayer... | 33.153846 | 80 | 0.557477 | 829 | 4,741 | 3.072376 | 0.120627 | 0.023557 | 0.038477 | 0.03141 | 0.810758 | 0.792305 | 0.756576 | 0.756576 | 0.731056 | 0.67766 | 0 | 0.089376 | 0.249525 | 4,741 | 142 | 81 | 33.387324 | 0.626476 | 0.039021 | 0 | 0.592593 | 0 | 0 | 0.055397 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8edc302497cec6c37dd67781e26e5f8d5706263 | 13,237 | py | Python | tests/unit/utils/vmware/test_vm.py | guoxiaod/salt | 2cd6c03b40932be137e6e8a672967b59025a2d34 | [
"Apache-2.0"
] | 12 | 2015-01-21T00:18:25.000Z | 2021-07-11T07:35:26.000Z | tests/unit/utils/vmware/test_vm.py | guoxiaod/salt | 2cd6c03b40932be137e6e8a672967b59025a2d34 | [
"Apache-2.0"
] | 1 | 2015-02-23T19:37:47.000Z | 2015-02-23T19:37:47.000Z | tests/unit/utils/vmware/test_vm.py | guoxiaod/salt | 2cd6c03b40932be137e6e8a672967b59025a2d34 | [
"Apache-2.0"
] | 12 | 2015-01-05T09:50:42.000Z | 2019-08-19T01:43:40.000Z | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Agnes Tevesz <agnes.tevesz@morganstanley.com>`
Tests for virtual machine related functions in salt.utils.vmware
'''
# Import python libraries
from __future__ import absolute_import, print_function, unicode_literals
import logging
# Import Salt testing libraries
from t... | 43.25817 | 95 | 0.706882 | 1,682 | 13,237 | 5.230083 | 0.089774 | 0.09094 | 0.04206 | 0.029556 | 0.850858 | 0.828578 | 0.803683 | 0.799477 | 0.784245 | 0.728544 | 0 | 0.002447 | 0.197401 | 13,237 | 305 | 96 | 43.4 | 0.825584 | 0.037697 | 0 | 0.68 | 0 | 0 | 0.102651 | 0.044084 | 0 | 0 | 0 | 0 | 0.173333 | 1 | 0.146667 | false | 0.004444 | 0.035556 | 0 | 0.208889 | 0.004444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3317e7909541b8b337c0ddcceb1098acd7f146d4 | 203 | py | Python | lab/admin/__init__.py | betagouv/euphrosyne | a67857a8716b5060cd9a2c6fa5f3d45c3fff435a | [
"MIT"
] | 1 | 2022-02-21T19:46:20.000Z | 2022-02-21T19:46:20.000Z | lab/admin/__init__.py | betagouv/euphrosyne | a67857a8716b5060cd9a2c6fa5f3d45c3fff435a | [
"MIT"
] | 37 | 2021-10-18T18:33:26.000Z | 2022-03-31T12:38:38.000Z | lab/admin/__init__.py | betagouv/euphrosyne | a67857a8716b5060cd9a2c6fa5f3d45c3fff435a | [
"MIT"
] | 2 | 2022-03-03T15:41:30.000Z | 2022-03-07T14:20:26.000Z | from ..objects.admin import ObjectGroupAdmin # noqa: F401
from .institution import InstitutionAdmin # noqa: F401
from .project import ProjectAdmin # noqa: F401
from .run import RunAdmin # noqa: F401
| 40.6 | 58 | 0.773399 | 25 | 203 | 6.28 | 0.52 | 0.203822 | 0.229299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.157635 | 203 | 4 | 59 | 50.75 | 0.847953 | 0.211823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
335d2f741a3f32253ed46296456cc77ebb9718f7 | 195 | py | Python | sequence_classification/transformers/sequence_transformer.py | piotermiarer/Sequence-Classification | 05b5491cc8470f477a160fb4207aacd1b12aa5ed | [
"MIT"
] | 1 | 2021-03-14T17:22:41.000Z | 2021-03-14T17:22:41.000Z | sequence_classification/transformers/sequence_transformer.py | piotermiarer/Sequence-Classification | 05b5491cc8470f477a160fb4207aacd1b12aa5ed | [
"MIT"
] | 23 | 2018-11-17T21:05:31.000Z | 2019-01-15T09:58:33.000Z | sequence_classification/transformers/sequence_transformer.py | piotermiarer/Sequence-Classification | 05b5491cc8470f477a160fb4207aacd1b12aa5ed | [
"MIT"
] | 1 | 2020-07-31T06:09:31.000Z | 2020-07-31T06:09:31.000Z | # generic class must be extended
class SequenceTransformer:
def transform(self, data):
raise NotImplementedError
def fit_transform(self, data):
raise NotImplementedError
| 24.375 | 34 | 0.728205 | 20 | 195 | 7.05 | 0.65 | 0.184397 | 0.241135 | 0.312057 | 0.58156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220513 | 195 | 7 | 35 | 27.857143 | 0.927632 | 0.153846 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6869644b7a1d1c7b6d9543d91536d55aa9192482 | 272 | py | Python | testsuite/coiio/run.py | servantf/oiio | a5dd972bc8a804e486600331513f0b2939e992d2 | [
"BSD-3-Clause"
] | 1 | 2022-03-20T06:13:39.000Z | 2022-03-20T06:13:39.000Z | testsuite/coiio/run.py | servantf/oiio | a5dd972bc8a804e486600331513f0b2939e992d2 | [
"BSD-3-Clause"
] | null | null | null | testsuite/coiio/run.py | servantf/oiio | a5dd972bc8a804e486600331513f0b2939e992d2 | [
"BSD-3-Clause"
] | null | null | null | command += run_app("cmake --config Release data -DCMAKE_PREFIX_PATH=/home/anders/code/oiio-al/dist/lib/cmake > build.txt 2>&1", silent=True)
command += run_app("cmake --build . >> build.txt 2>&1", silent=True)
command += run_app("./coiiotest > out.txt 2>&1", silent=True)
| 68 | 140 | 0.702206 | 45 | 272 | 4.133333 | 0.555556 | 0.16129 | 0.209677 | 0.177419 | 0.435484 | 0.354839 | 0.354839 | 0.354839 | 0.354839 | 0 | 0 | 0.02449 | 0.099265 | 272 | 3 | 141 | 90.666667 | 0.734694 | 0 | 0 | 0 | 0 | 0.333333 | 0.602941 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7b788d671aa73f66911ff4dc5da58e746f94a7f | 2,202 | py | Python | typhon/arts/sensor.py | tmieslinger/typhon | 588539e5c4831ee18753d7ead5b2f2736e922bb1 | [
"MIT"
] | 1 | 2020-12-18T17:19:16.000Z | 2020-12-18T17:19:16.000Z | typhon/arts/sensor.py | tmieslinger/typhon | 588539e5c4831ee18753d7ead5b2f2736e922bb1 | [
"MIT"
] | null | null | null | typhon/arts/sensor.py | tmieslinger/typhon | 588539e5c4831ee18753d7ead5b2f2736e922bb1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Implementation of functions related to sensor settings.
"""
import numpy as np
__all__ = ['get_f_backend_rel_width',
'get_f_backend_const_width',
]
def get_f_backend_rel_width(f_start, f_end, bandwidth):
"""Compute backend frequencies with relative bandwidth.
... | 28.597403 | 79 | 0.671208 | 301 | 2,202 | 4.714286 | 0.232558 | 0.107118 | 0.038055 | 0.028189 | 0.878788 | 0.829457 | 0.774489 | 0.774489 | 0.774489 | 0.774489 | 0 | 0.007738 | 0.237057 | 2,202 | 76 | 80 | 28.973684 | 0.836905 | 0.44505 | 0 | 0.615385 | 0 | 0 | 0.184889 | 0.042667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cc04122f7499096e1521e29648720c1dff47c279 | 5,806 | py | Python | src/networks.py | ajenningsfrankston/ICIAR2018 | b0e6a19ee31ab941113294b32055bd14deca35cd | [
"MIT"
] | 175 | 2018-01-20T04:20:47.000Z | 2022-03-14T02:09:22.000Z | src/networks.py | ajenningsfrankston/ICIAR2018 | b0e6a19ee31ab941113294b32055bd14deca35cd | [
"MIT"
] | 12 | 2018-04-28T15:24:50.000Z | 2020-10-01T10:48:55.000Z | src/networks.py | ajenningsfrankston/ICIAR2018 | b0e6a19ee31ab941113294b32055bd14deca35cd | [
"MIT"
] | 75 | 2018-03-17T01:29:19.000Z | 2022-03-30T04:24:52.000Z | import numpy as np
import torch.nn as nn
import torch.nn.functional as F
class BaseNetwork(nn.Module):
def __init__(self, name, channels=1):
super(BaseNetwork, self).__init__()
self._name = name
self._channels = channels
def name(self):
return self._name
def initialize_we... | 35.839506 | 102 | 0.568033 | 760 | 5,806 | 4.197368 | 0.102632 | 0.093103 | 0.097806 | 0.1279 | 0.841379 | 0.838245 | 0.837618 | 0.77931 | 0.760502 | 0.760502 | 0 | 0.078727 | 0.302101 | 5,806 | 161 | 103 | 36.062112 | 0.708539 | 0.009473 | 0 | 0.650794 | 0 | 0 | 0.001393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.02381 | 0.007937 | 0.126984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0bc576e8bac2b739b0dd0f0a3d676cca6136453e | 141 | py | Python | faker/providers/color/en_US/__init__.py | jacksmith15/faker | bc5dda1983e4d055aa2698ccf0806a462cb8370e | [
"MIT"
] | 12,077 | 2015-01-01T18:30:07.000Z | 2022-03-31T23:22:01.000Z | faker/providers/color/en_US/__init__.py | jacksmith15/faker | bc5dda1983e4d055aa2698ccf0806a462cb8370e | [
"MIT"
] | 1,306 | 2015-01-03T05:18:55.000Z | 2022-03-31T02:43:04.000Z | faker/providers/color/en_US/__init__.py | jacksmith15/faker | bc5dda1983e4d055aa2698ccf0806a462cb8370e | [
"MIT"
] | 1,855 | 2015-01-08T14:20:10.000Z | 2022-03-25T17:23:32.000Z | from .. import Provider as ColorProvider
class Provider(ColorProvider):
"""Implement color provider for ``en_US`` locale."""
pass
| 17.625 | 56 | 0.702128 | 16 | 141 | 6.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184397 | 141 | 7 | 57 | 20.142857 | 0.852174 | 0.326241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
043ba7e4425fc72ae35e1af2aff05f52f19f4e15 | 9,587 | py | Python | data_processing/ddh5_Plotting/gain_trace.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | data_processing/ddh5_Plotting/gain_trace.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | data_processing/ddh5_Plotting/gain_trace.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Sep 13 13:57:13 2021
@author: Hatlab-RRK
"""
from plottr.data.datadict_storage import all_datadicts_from_hdf5
import matplotlib.pyplot as plt
import numpy as np
filepath = r'Z:/Data/N25_L3_SQ/traces/gain/2022-04-25/2022-04-25_0001_bp1_gain/2022-04-25_0001_bp1_gain.ddh5'
d... | 46.765854 | 198 | 0.74601 | 1,605 | 9,587 | 4.176324 | 0.11028 | 0.060421 | 0.042966 | 0.060868 | 0.930926 | 0.909294 | 0.876921 | 0.870506 | 0.845442 | 0.821274 | 0 | 0.047657 | 0.093877 | 9,587 | 205 | 199 | 46.765854 | 0.723955 | 0.469281 | 0 | 0.532609 | 0 | 0.097826 | 0.330608 | 0.163908 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032609 | 0 | 0.032609 | 0.065217 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
043f6aaa1b283f4f1ab7eabf73d0af0d1552768c | 29 | py | Python | __init__.py | alphagov/govukurllookup | 9b31c015db86fff7b7cb46dace33c29e92d51753 | [
"MIT"
] | 1 | 2017-08-22T13:21:27.000Z | 2017-08-22T13:21:27.000Z | __init__.py | ukgovdatascience/govukurllookup | 9b31c015db86fff7b7cb46dace33c29e92d51753 | [
"MIT"
] | 9 | 2017-08-09T16:47:48.000Z | 2017-11-08T19:09:40.000Z | __init__.py | alphagov/govukurllookup | 9b31c015db86fff7b7cb46dace33c29e92d51753 | [
"MIT"
] | 2 | 2019-08-29T11:54:32.000Z | 2021-04-10T19:41:30.000Z | from govukurllookup import *
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0a1711df1d868609ab5996205e9566fc0897337 | 198 | py | Python | tests/spec/crm/extensions/test_cards.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | tests/spec/crm/extensions/test_cards.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | tests/spec/crm/extensions/test_cards.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from hubspot import HubSpot
from hubspot.crm.extensions.cards import CardsApi
def test_is_discoverable():
apis = HubSpot().crm.extensions.cards
assert isinstance(apis.cards_api, CardsApi)
| 24.75 | 49 | 0.787879 | 26 | 198 | 5.884615 | 0.576923 | 0.143791 | 0.261438 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 198 | 7 | 50 | 28.285714 | 0.889535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0a589b9c4260996e8b37abfe120fd7fff118598 | 678 | py | Python | securionpay/cards.py | el-dot/securionpay-python | 2946c4be35483ed6466e9981e45dbb0b39302093 | [
"MIT"
] | 7 | 2017-07-11T17:01:38.000Z | 2020-06-30T10:19:53.000Z | securionpay/cards.py | el-dot/securionpay-python | 2946c4be35483ed6466e9981e45dbb0b39302093 | [
"MIT"
] | 4 | 2016-03-17T01:41:02.000Z | 2020-01-18T20:52:34.000Z | securionpay/cards.py | el-dot/securionpay-python | 2946c4be35483ed6466e9981e45dbb0b39302093 | [
"MIT"
] | 3 | 2016-02-25T15:08:35.000Z | 2021-12-01T08:28:22.000Z | from securionpay.resource import Resource
class Cards(Resource):
def create(self, customer_id, params):
return self._post("/customers/%s/cards" % customer_id, params)
def get(self, customer_id, card_id):
return self._get("/customers/%s/cards/%s" % (customer_id, card_id))
def update(self,... | 35.684211 | 84 | 0.678466 | 95 | 678 | 4.621053 | 0.231579 | 0.22779 | 0.191344 | 0.218679 | 0.701595 | 0.646925 | 0.503417 | 0.366743 | 0.159453 | 0 | 0 | 0 | 0.175516 | 678 | 18 | 85 | 37.666667 | 0.785331 | 0 | 0 | 0 | 0 | 0 | 0.153392 | 0.097345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.416667 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f0ac33c386c2eb6000a9757dc4efc9e8e6994d7d | 25 | py | Python | tests/samples/example_folder/udf.py | vanguard/sql_translate | 28ae149e54a300c3337b538691be80d878a7dbf2 | [
"Apache-2.0"
] | 3 | 2021-03-19T21:39:29.000Z | 2021-03-26T14:00:24.000Z | tests/samples/example_folder/udf.py | vanguard/sql_translate | 28ae149e54a300c3337b538691be80d878a7dbf2 | [
"Apache-2.0"
] | 1 | 2021-07-07T11:45:04.000Z | 2021-07-07T11:45:04.000Z | tests/samples/example_folder/udf.py | vanguard/sql_translate | 28ae149e54a300c3337b538691be80d878a7dbf2 | [
"Apache-2.0"
] | null | null | null | def hello():
return 1 | 12.5 | 12 | 0.6 | 4 | 25 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.28 | 25 | 2 | 13 | 12.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
f0e5f97c8b1be327a9398a3d1bdf66098329e8db | 26 | py | Python | python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/repr.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/repr.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertFormatOperatorToMethodIntentionTest/repr.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | print('%r' <caret>% '123') | 26 | 26 | 0.538462 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.076923 | 26 | 1 | 26 | 26 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9bccfdc9ac82e5a53d6404fec54f60a6b00824e5 | 1,101 | py | Python | tests/dependencyTest.py | MarkTravers/magLabUtilities | e116c8cb627cd82c3b8ba651dd6979b66e568632 | [
"MIT"
] | null | null | null | tests/dependencyTest.py | MarkTravers/magLabUtilities | e116c8cb627cd82c3b8ba651dd6979b66e568632 | [
"MIT"
] | null | null | null | tests/dependencyTest.py | MarkTravers/magLabUtilities | e116c8cb627cd82c3b8ba651dd6979b66e568632 | [
"MIT"
] | null | null | null | #!python3
import magLabUtilities.cubitutilities.cubitmanager
import magLabUtilities.exceptions.exceptions
import magLabUtilities.fileutilities.timeDomain
import magLabUtilities.fileutilities.common
import magLabUtilities.magstromutilities.magstrommanager
import magLabUtilities.optimizerutilities.costFun... | 34.40625 | 88 | 0.881017 | 84 | 1,101 | 11.547619 | 0.404762 | 0.43299 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001972 | 0.079019 | 1,101 | 31 | 89 | 35.516129 | 0.954635 | 0.084469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9be82d1f694555f3ec9202d19339d6d981f5c4e1 | 245 | py | Python | src/servers/spigot/download.py | dudeofawesome/docker-minecraft | 11bf4b997fe45ad6f899b7cb05cdd6a3acebb372 | [
"MIT"
] | null | null | null | src/servers/spigot/download.py | dudeofawesome/docker-minecraft | 11bf4b997fe45ad6f899b7cb05cdd6a3acebb372 | [
"MIT"
] | null | null | null | src/servers/spigot/download.py | dudeofawesome/docker-minecraft | 11bf4b997fe45ad6f899b7cb05cdd6a3acebb372 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import requests
from mc_utils import get_mc_manifest_version
minecraft_version, minecraft_major_minor_version, json_url = get_mc_manifest_version(os.environ['MINECRAFT_VERSION'])
print(f"{minecraft_version}")
| 24.5 | 117 | 0.836735 | 36 | 245 | 5.305556 | 0.583333 | 0.251309 | 0.136126 | 0.209424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004425 | 0.077551 | 245 | 9 | 118 | 27.222222 | 0.840708 | 0.085714 | 0 | 0 | 0 | 0 | 0.161435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 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 | 6 |
5020cdcd031aa6ea1d82ed7caa1d7bd8f2c82cb5 | 39 | py | Python | speaksee/evaluation/recall/__init__.py | aimagelab/speaksee | 63700a4062e2ae00132a5c77007604fdaf4bd00b | [
"BSD-3-Clause"
] | 29 | 2019-02-28T05:29:53.000Z | 2021-01-25T06:55:48.000Z | speaksee/evaluation/recall/__init__.py | aimagelab/speaksee | 63700a4062e2ae00132a5c77007604fdaf4bd00b | [
"BSD-3-Clause"
] | 2 | 2019-10-26T02:29:59.000Z | 2021-01-15T13:58:53.000Z | speaksee/evaluation/recall/__init__.py | aimagelab/speaksee | 63700a4062e2ae00132a5c77007604fdaf4bd00b | [
"BSD-3-Clause"
] | 11 | 2019-03-12T08:43:09.000Z | 2021-03-15T03:20:43.000Z | from .recall import recall, old_recall
| 19.5 | 38 | 0.820513 | 6 | 39 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
503ca4625f09ec82a47047e431820db3e0a272ae | 378 | py | Python | terrascript/data/sumologic.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/sumologic.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/sumologic.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/sumologic.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:04 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.data.sumologic
#
# instead of
#
# >>> import terrascript.data.SumoLogic.sumologic
#
# This is only available for 'official' and 'partner' provi... | 25.2 | 73 | 0.743386 | 49 | 378 | 5.734694 | 0.693878 | 0.213523 | 0.341637 | 0.213523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.134921 | 378 | 14 | 74 | 27 | 0.82263 | 0.796296 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
504e5d4e6be3ffea48f01bcb30159adb4cc482e1 | 20 | py | Python | dataset/__init__.py | SpatialPerceptionNeuralNetwork/SOA_DORN_TF | 33814467e9135036abf28f2da19c5984c8744089 | [
"Unlicense"
] | 17 | 2019-02-17T07:39:39.000Z | 2021-08-17T05:20:19.000Z | dataset/__init__.py | SpatialPerceptionNeuralNetwork/SOA_DORN_TF | 33814467e9135036abf28f2da19c5984c8744089 | [
"Unlicense"
] | 6 | 2019-03-04T14:17:22.000Z | 2019-11-07T15:06:55.000Z | dataset/__init__.py | SpatialPerceptionNeuralNetwork/SOA_DORN_TF | 33814467e9135036abf28f2da19c5984c8744089 | [
"Unlicense"
] | 4 | 2019-02-17T07:39:47.000Z | 2019-08-13T17:13:23.000Z | from . import loader | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac8cf468acd8580718478adf21d618edcb7fdaa0 | 47 | py | Python | enthought/pyface/image_list.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/image_list.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/image_list.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.image_list import *
| 15.666667 | 31 | 0.787234 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 32 | 23.5 | 0.9 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac945877033f84205e3de70a542dbe29f787db8c | 57 | py | Python | facilyst/models/neural_networks/__init__.py | ParthivNaresh/Facilyst | 786932b0afcf07cd300b2e6ce55ccf7f9e4c49d9 | [
"MIT"
] | null | null | null | facilyst/models/neural_networks/__init__.py | ParthivNaresh/Facilyst | 786932b0afcf07cd300b2e6ce55ccf7f9e4c49d9 | [
"MIT"
] | 3 | 2022-02-26T17:19:28.000Z | 2022-03-01T09:34:19.000Z | facilyst/models/neural_networks/__init__.py | ParthivNaresh/facilyst | 786932b0afcf07cd300b2e6ce55ccf7f9e4c49d9 | [
"MIT"
] | null | null | null | from .mlp_regressor import MultiLayerPerceptronRegressor
| 28.5 | 56 | 0.912281 | 5 | 57 | 10.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acb5f166496e336c88cd5503528d39ce1cd15b35 | 46 | py | Python | __init__.py | espoirMur/balobi_nini | b68b9af4c84ec0f5b38ae8ba52d5f0d32b41ead3 | [
"Unlicense"
] | 1 | 2020-09-30T08:03:10.000Z | 2020-09-30T08:03:10.000Z | __init__.py | espoirMur/balobi_nini | b68b9af4c84ec0f5b38ae8ba52d5f0d32b41ead3 | [
"Unlicense"
] | 22 | 2020-09-23T14:05:33.000Z | 2021-12-04T22:40:41.000Z | __init__.py | espoirMur/balobi_nini | b68b9af4c84ec0f5b38ae8ba52d5f0d32b41ead3 | [
"Unlicense"
] | 1 | 2021-07-29T10:38:13.000Z | 2021-07-29T10:38:13.000Z | from dotenv import load_dotenv
load_dotenv() | 11.5 | 30 | 0.826087 | 7 | 46 | 5.142857 | 0.571429 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 4 | 31 | 11.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
acf5dbd1951b079f48c88ceeb87413cb6432187d | 7,315 | py | Python | tests/test_io.py | jeffkinnison/florin | 94e76812e9fe27c86b2ce39313d07beb21c8b478 | [
"MIT"
] | 6 | 2019-06-03T19:11:05.000Z | 2021-01-13T06:35:43.000Z | tests/test_io.py | jeffkinnison/florin | 94e76812e9fe27c86b2ce39313d07beb21c8b478 | [
"MIT"
] | 4 | 2019-06-10T14:48:15.000Z | 2019-10-01T16:48:58.000Z | tests/test_io.py | jeffkinnison/florin | 94e76812e9fe27c86b2ce39313d07beb21c8b478 | [
"MIT"
] | 1 | 2019-09-25T17:57:23.000Z | 2019-09-25T17:57:23.000Z | import glob
import os
import h5py
import pytest
import numpy as np
from skimage.io import imread, imsave
from florin.io import load, load_image, load_images, load_npy, load_hdf5, \
load_tiff, save, save_image, save_images, save_npy, \
save_hdf5, save_tiff
@pytest.fixture(... | 29.027778 | 79 | 0.62406 | 1,072 | 7,315 | 4.186567 | 0.096082 | 0.072193 | 0.08467 | 0.092692 | 0.831328 | 0.819296 | 0.784537 | 0.764706 | 0.709002 | 0.692068 | 0 | 0.011344 | 0.216678 | 7,315 | 251 | 80 | 29.143426 | 0.771902 | 0.019412 | 0 | 0.672131 | 0 | 0 | 0.0503 | 0 | 0 | 0 | 0 | 0 | 0.306011 | 1 | 0.076503 | false | 0 | 0.038251 | 0 | 0.125683 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a0a429a794d41a8db85bc52007405a14c503169 | 28 | py | Python | numpretty/__init__.py | obfuscatedgenerated/numpretty | d751cb967eab8f0009e4659347720d49b2771bf3 | [
"MIT"
] | 1 | 2022-02-17T22:06:26.000Z | 2022-02-17T22:06:26.000Z | numpretty/__init__.py | obfuscatedgenerated/numpretty | d751cb967eab8f0009e4659347720d49b2771bf3 | [
"MIT"
] | null | null | null | numpretty/__init__.py | obfuscatedgenerated/numpretty | d751cb967eab8f0009e4659347720d49b2771bf3 | [
"MIT"
] | null | null | null | from numpretty.main import * | 28 | 28 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a17169b6d1d2a8deea1324f0d3da3d10ed64ef9 | 285 | py | Python | 1_beginner/chapter4/practice/money_check.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 4 | 2021-03-01T00:32:45.000Z | 2021-05-21T22:01:52.000Z | 1_beginner/chapter4/practice/money_check.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 29 | 2020-09-12T22:56:04.000Z | 2021-09-25T17:08:42.000Z | 1_beginner/chapter4/practice/money_check.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 7 | 2021-02-25T01:50:55.000Z | 2022-02-28T00:00:42.000Z | # Money Check
# Write a program that asks for a person's
# amount of money (floating point).
# If the person's amount of money is 0,
# print "Bankrupt". If not, print "Not Bankrupt"
# If the person's amount of money is
# greater than 1000.0, then print "Rich".
# Write your code here
| 28.5 | 48 | 0.712281 | 51 | 285 | 3.980392 | 0.568627 | 0.103448 | 0.192118 | 0.221675 | 0.364532 | 0.26601 | 0.26601 | 0.26601 | 0 | 0 | 0 | 0.026201 | 0.196491 | 285 | 9 | 49 | 31.666667 | 0.860262 | 0.936842 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.111111 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c57bcbdd6a2d5e52d54e97cc8c8122100921bb7f | 3,551 | py | Python | microbe_directory/comparisons/statistics.py | dcdanko/MD2 | c9f4e39e3275a1d333a86e819640f988757023fe | [
"MIT"
] | 11 | 2019-12-29T10:04:12.000Z | 2022-01-25T23:28:30.000Z | microbe_directory/comparisons/statistics.py | dcdanko/MD2 | c9f4e39e3275a1d333a86e819640f988757023fe | [
"MIT"
] | 2 | 2020-07-09T16:55:12.000Z | 2020-09-26T22:09:09.000Z | microbe_directory/comparisons/statistics.py | dcdanko/MD2 | c9f4e39e3275a1d333a86e819640f988757023fe | [
"MIT"
] | 2 | 2020-01-14T21:12:42.000Z | 2020-06-05T20:51:46.000Z |
import pandas as pd
import numpy as np
from scipy.stats import chisquare
from scipy import stats
from collections import defaultdict
from random import choices
def compare_categorical(value_being_compared, values_in_taxa_list_1, values_in_taxa_list_2):
stats1 = count_values(values_in_taxa_list_1, value_being_co... | 33.819048 | 103 | 0.691355 | 499 | 3,551 | 4.589178 | 0.158317 | 0.09083 | 0.136245 | 0.181659 | 0.79738 | 0.781659 | 0.777293 | 0.717904 | 0.717904 | 0.717904 | 0 | 0.040483 | 0.206984 | 3,551 | 104 | 104 | 34.144231 | 0.772727 | 0.037454 | 0 | 0.581395 | 0 | 0 | 0.037581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081395 | false | 0 | 0.069767 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5ab8125d0a77b449534ca451d960b7ee3a917d4 | 185 | py | Python | genre/models/__init__.py | wagnew3/Amodal-3D-Reconstruction-for-Robotic-Manipulationvia-Stability-and-Connectivity--Release | f55c6b0fac44d9d749e7804d99169a39d30c2111 | [
"MIT"
] | null | null | null | genre/models/__init__.py | wagnew3/Amodal-3D-Reconstruction-for-Robotic-Manipulationvia-Stability-and-Connectivity--Release | f55c6b0fac44d9d749e7804d99169a39d30c2111 | [
"MIT"
] | null | null | null | genre/models/__init__.py | wagnew3/Amodal-3D-Reconstruction-for-Robotic-Manipulationvia-Stability-and-Connectivity--Release | f55c6b0fac44d9d749e7804d99169a39d30c2111 | [
"MIT"
] | null | null | null | import importlib
def get_model(alias, test=False):
module = importlib.import_module('genre.models.' + alias)
if test:
return module.Model_test
return module.Model
| 20.555556 | 61 | 0.702703 | 24 | 185 | 5.291667 | 0.541667 | 0.15748 | 0.251969 | 0.330709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205405 | 185 | 8 | 62 | 23.125 | 0.863946 | 0 | 0 | 0 | 0 | 0 | 0.07027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5bce9347b3158a00b63733dafe978726d96cdb7 | 77 | py | Python | composite/tests/urls.py | takeplace/django-composite | a47a933d1721e98c2ce4d86d3bc940086d36c54e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | composite/tests/urls.py | takeplace/django-composite | a47a933d1721e98c2ce4d86d3bc940086d36c54e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | composite/tests/urls.py | takeplace/django-composite | a47a933d1721e98c2ce4d86d3bc940086d36c54e | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-02-11T10:27:07.000Z | 2020-02-11T10:27:07.000Z | from django.test import TestCase
class CollectionTests(TestCase):
pass
| 12.833333 | 32 | 0.779221 | 9 | 77 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 33 | 15.4 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a8840d752b525c09667f8781a24a0ef7fe6acea6 | 19 | py | Python | binapy/hashing/__init__.py | guillp/binapy | f14207048282c46e59608c8695bfd6bd4379f5fd | [
"MIT"
] | null | null | null | binapy/hashing/__init__.py | guillp/binapy | f14207048282c46e59608c8695bfd6bd4379f5fd | [
"MIT"
] | null | null | null | binapy/hashing/__init__.py | guillp/binapy | f14207048282c46e59608c8695bfd6bd4379f5fd | [
"MIT"
] | null | null | null | from .sha import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
767bbbab113c4106abb0665492a43545bb1c7c8b | 40 | py | Python | CMake/otbTestNumpy.py | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 2 | 2019-02-13T14:48:19.000Z | 2019-12-03T02:54:28.000Z | CMake/otbTestNumpy.py | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 3 | 2015-10-14T10:11:38.000Z | 2015-10-15T08:26:23.000Z | CMake/otbTestNumpy.py | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 2 | 2019-01-17T10:36:14.000Z | 2019-12-03T02:54:36.000Z | import numpy
print(numpy.get_include())
| 13.333333 | 26 | 0.8 | 6 | 40 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 27 | 20 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
76a3c3f3bb5d913a8fdd81c4f98b97f1ddd4870b | 11,028 | py | Python | app/poll/views.py | sargentfrancesca/newlynpolls | 561e57eb5d4c2fc3e8b448b841476adacfb88566 | [
"MIT"
] | null | null | null | app/poll/views.py | sargentfrancesca/newlynpolls | 561e57eb5d4c2fc3e8b448b841476adacfb88566 | [
"MIT"
] | null | null | null | app/poll/views.py | sargentfrancesca/newlynpolls | 561e57eb5d4c2fc3e8b448b841476adacfb88566 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, redirect, url_for, abort, flash, request,\
current_app, make_response, jsonify
from flask.ext.login import login_required, current_user
from flask.ext.sqlalchemy import get_debug_queries
from . import poll
from .forms import PostForm, DrawForm
from .. import db
from ..model... | 36.637874 | 136 | 0.66848 | 1,489 | 11,028 | 4.817327 | 0.114842 | 0.044612 | 0.052558 | 0.05688 | 0.791719 | 0.774014 | 0.759097 | 0.733305 | 0.733305 | 0.724383 | 0 | 0.002443 | 0.183351 | 11,028 | 300 | 137 | 36.76 | 0.794026 | 0.004534 | 0 | 0.6125 | 0 | 0 | 0.100237 | 0.025697 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.029167 | 0.045833 | null | null | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76c9e4e226a372770fbe33818a9c7d0d0c87acec | 90 | py | Python | cui_p3p.py | userElaina/rsa-p2p | 8d0d5e09581f9df5c2109f21d3acbf5d13599231 | [
"Apache-2.0",
"MIT"
] | null | null | null | cui_p3p.py | userElaina/rsa-p2p | 8d0d5e09581f9df5c2109f21d3acbf5d13599231 | [
"Apache-2.0",
"MIT"
] | null | null | null | cui_p3p.py | userElaina/rsa-p2p | 8d0d5e09581f9df5c2109f21d3acbf5d13599231 | [
"Apache-2.0",
"MIT"
] | null | null | null | from rsap2p import TCPp2p_CUI
TCPp2p_CUI(('0.0.0.0',23303),'user3','127.0.0.1').joins() | 30 | 57 | 0.677778 | 18 | 90 | 3.277778 | 0.611111 | 0.135593 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 0.077778 | 90 | 3 | 57 | 30 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4f35750b6e687c6372a4a1ffed20c2d66df6ac3c | 148 | py | Python | nim/agent.py | burnpiro/pong-deep-q-learning | 1711efebdbb0d7813f8f1fd320c194b15b053da5 | [
"MIT"
] | 1 | 2021-11-12T02:28:08.000Z | 2021-11-12T02:28:08.000Z | nim/agent.py | burnpiro/pong-deep-q-learning | 1711efebdbb0d7813f8f1fd320c194b15b053da5 | [
"MIT"
] | null | null | null | nim/agent.py | burnpiro/pong-deep-q-learning | 1711efebdbb0d7813f8f1fd320c194b15b053da5 | [
"MIT"
] | null | null | null | class Agent:
@staticmethod
def select_move(board, turn):
pass
def __str__(self):
return self.__class__.__name__[0:-5]
| 16.444444 | 44 | 0.621622 | 18 | 148 | 4.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.277027 | 148 | 8 | 45 | 18.5 | 0.719626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
4f5a7ded49d9f16b259465a5bff90e5266055b9f | 219 | py | Python | backend/home/admin.py | crowdbotics-apps/test-001-32044 | bf377076e2f2a57d95e21daceb5d61b81e5db4e1 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/admin.py | crowdbotics-apps/test-001-32044 | bf377076e2f2a57d95e21daceb5d61b81e5db4e1 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/home/admin.py | crowdbotics-apps/test-001-32044 | bf377076e2f2a57d95e21daceb5d61b81e5db4e1 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import Airplane, Book, Car, Movie
admin.site.register(Car)
admin.site.register(Movie)
admin.site.register(Book)
admin.site.register(Airplane)
# Register your models here.
| 21.9 | 46 | 0.794521 | 32 | 219 | 5.4375 | 0.4375 | 0.206897 | 0.390805 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100457 | 219 | 9 | 47 | 24.333333 | 0.883249 | 0.118721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 6 |
4f6a7eb9b7dff890a48ac11f41b288c9fbaec118 | 129 | py | Python | utils/email.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 3 | 2020-10-13T07:58:48.000Z | 2020-12-22T09:41:50.000Z | utils/email.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 422 | 2018-10-25T10:57:05.000Z | 2022-03-30T05:47:14.000Z | utils/email.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 1 | 2020-04-03T07:38:03.000Z | 2020-04-03T07:38:03.000Z | from typing import Optional
def is_valid_email(email: Optional[str]) -> bool:
return email and "@example.com" not in email
| 21.5 | 49 | 0.736434 | 20 | 129 | 4.65 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170543 | 129 | 5 | 50 | 25.8 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4f8d03926907ceb4b1f7526fce5d4a4b1fb147b1 | 101 | py | Python | tests/test_nfldbc.py | strandx/nflpredict | 56b4364f424ef9577b5c0ede71dd11a0fe4663f4 | [
"MIT"
] | null | null | null | tests/test_nfldbc.py | strandx/nflpredict | 56b4364f424ef9577b5c0ede71dd11a0fe4663f4 | [
"MIT"
] | null | null | null | tests/test_nfldbc.py | strandx/nflpredict | 56b4364f424ef9577b5c0ede71dd11a0fe4663f4 | [
"MIT"
] | null | null | null | from context import nfldbc
# Test database connection
def test_dbc():
assert nfldbc.dbc != None
| 16.833333 | 29 | 0.742574 | 14 | 101 | 5.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 101 | 5 | 30 | 20.2 | 0.902439 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f99a9baa5b77f3bf292f97bf8b4dda8737fcc4b | 230 | py | Python | boucanpy/core/dns_record/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 34 | 2019-11-16T17:22:15.000Z | 2022-02-11T23:12:46.000Z | boucanpy/core/dns_record/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 1 | 2021-02-09T09:34:55.000Z | 2021-02-10T21:46:20.000Z | boucanpy/core/dns_record/__init__.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 9 | 2019-11-18T22:18:07.000Z | 2021-02-08T13:23:51.000Z | from .repos import DnsRecordRepo
from .data import DnsRecordData
from .responses import DnsRecordResponse, DnsRecordsResponse, DnsRecordsDigResponse
from .forms import DnsRecordCreateForm, DnsRecordForZoneCreateForm, DnsRecordStr
| 46 | 83 | 0.878261 | 20 | 230 | 10.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 230 | 4 | 84 | 57.5 | 0.961905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fa12b9fbcada3c3106f437f0be3e0d3e561762f | 78 | py | Python | bindings/python/tests/ConcurrentHelpers/__init__.py | johnbeckettn2e/sysrepo | 252256610d158e317a39f8780f4adffc3c14f137 | [
"Apache-2.0"
] | 1 | 2021-04-01T10:34:59.000Z | 2021-04-01T10:34:59.000Z | bindings/python/tests/ConcurrentHelpers/__init__.py | johnbeckettn2e/sysrepo | 252256610d158e317a39f8780f4adffc3c14f137 | [
"Apache-2.0"
] | 1 | 2021-07-24T14:04:06.000Z | 2021-07-24T14:04:06.000Z | bindings/python/tests/ConcurrentHelpers/__init__.py | johnbeckettn2e/sysrepo | 252256610d158e317a39f8780f4adffc3c14f137 | [
"Apache-2.0"
] | null | null | null | from .Tester import *
from .TestManager import *
from .SysrepoTester import *
| 19.5 | 28 | 0.769231 | 9 | 78 | 6.666667 | 0.555556 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 29 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96ef444cb776104def536a330448dfd680745af1 | 142 | py | Python | frarch/__init__.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | null | null | null | frarch/__init__.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | 4 | 2022-02-16T20:53:24.000Z | 2022-02-16T21:39:26.000Z | frarch/__init__.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | 1 | 2022-03-20T23:47:16.000Z | 2022-03-20T23:47:16.000Z | from . import datasets
from . import models
from . import modules
from . import train
from . import utils
from .parser import parse_arguments
| 20.285714 | 35 | 0.788732 | 20 | 142 | 5.55 | 0.5 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 36 | 23.666667 | 0.940678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c2d9d1b52a69694777061b80a24a22aeac9d7dc | 20 | py | Python | gaiachallenge/potential/__init__.py | adrn/GaiaChallenge | c9d76a28f4a6b5c47c2d1c17bb77ab24214050ca | [
"MIT"
] | null | null | null | gaiachallenge/potential/__init__.py | adrn/GaiaChallenge | c9d76a28f4a6b5c47c2d1c17bb77ab24214050ca | [
"MIT"
] | null | null | null | gaiachallenge/potential/__init__.py | adrn/GaiaChallenge | c9d76a28f4a6b5c47c2d1c17bb77ab24214050ca | [
"MIT"
] | null | null | null | from .pal5 import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 20 | 1 | 20 | 20 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c42d47a6dd182f4cf7960944c9847b5d454b98a | 696 | py | Python | dotbot/context.py | benperiton/dotbot | fe516ee4af7bf57969e38a3226e2760f760b08e2 | [
"MIT"
] | 1 | 2020-10-06T07:14:08.000Z | 2020-10-06T07:14:08.000Z | dotbot/context.py | benperiton/dotbot | fe516ee4af7bf57969e38a3226e2760f760b08e2 | [
"MIT"
] | 4 | 2021-09-13T12:26:42.000Z | 2021-09-27T11:30:43.000Z | modules/dotbot/dotbot/context.py | danitome24/dotfiles | 22821002e8922e1f1ff706b851e116ed77beb164 | [
"MIT"
] | null | null | null | import copy
import os
class Context(object):
'''
Contextual data and information for plugins.
'''
def __init__(self, base_directory):
self._base_directory = base_directory
self._defaults = {}
pass
def set_base_directory(self, base_directory):
self._base_directory =... | 24.857143 | 61 | 0.673851 | 79 | 696 | 5.594937 | 0.341772 | 0.382353 | 0.230769 | 0.190045 | 0.309955 | 0.21267 | 0.21267 | 0.21267 | 0 | 0 | 0 | 0 | 0.251437 | 696 | 27 | 62 | 25.777778 | 0.848369 | 0.063218 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0.111111 | 0.055556 | 0.555556 | 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 | 0 | 1 | 0 | 0 | 6 |
4fd8c5c75cd5d5a2d86aab3fd8f4a891cb614f68 | 28 | py | Python | SMSGlobalAPI/__init__.py | pr8kerl/sns2smsglobal | 5f4fae2bce09e08c3a8d789dc1a08164fd5118e3 | [
"MIT"
] | null | null | null | SMSGlobalAPI/__init__.py | pr8kerl/sns2smsglobal | 5f4fae2bce09e08c3a8d789dc1a08164fd5118e3 | [
"MIT"
] | null | null | null | SMSGlobalAPI/__init__.py | pr8kerl/sns2smsglobal | 5f4fae2bce09e08c3a8d789dc1a08164fd5118e3 | [
"MIT"
] | null | null | null | from wrapper import Wrapper
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fddff5f60fa192cd0a262ba930dfa91ebe5e849 | 42 | py | Python | src/spyd/authentication/exceptions.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | 4 | 2015-05-05T16:44:42.000Z | 2020-10-27T09:45:23.000Z | src/spyd/authentication/exceptions.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | null | null | null | src/spyd/authentication/exceptions.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | 2 | 2016-12-13T22:21:08.000Z | 2020-03-14T16:44:20.000Z | class AuthFailedException(Exception): pass | 42 | 42 | 0.880952 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 42 | 1 | 42 | 42 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4fe2b3139e68f9c9004d147ba2d528b75651d323 | 15,014 | py | Python | src/fastjet/_singleevent.py | scikit-hep/fastjet | e5aebdc66167400472cd29a36f4af0f2a789a992 | [
"BSD-3-Clause"
] | 8 | 2021-04-18T07:00:19.000Z | 2022-02-16T16:07:21.000Z | src/fastjet/_singleevent.py | scikit-hep/fastjet | e5aebdc66167400472cd29a36f4af0f2a789a992 | [
"BSD-3-Clause"
] | 25 | 2021-04-15T16:35:33.000Z | 2022-03-31T20:38:57.000Z | src/fastjet/_singleevent.py | scikit-hep/fastjet | e5aebdc66167400472cd29a36f4af0f2a789a992 | [
"BSD-3-Clause"
] | 3 | 2021-07-26T23:12:36.000Z | 2021-08-24T14:57:27.000Z | import awkward as ak
import numpy as np
import fastjet._ext # noqa: F401, E402
class _classsingleevent:
def __init__(self, data, jetdef):
self.jetdef = jetdef
self.data = self.single_to_jagged(data)
px, py, pz, E, offsets = self.extract_cons(self.data)
px = self.correct_byteorder... | 34.514943 | 88 | 0.52551 | 1,681 | 15,014 | 4.493754 | 0.077335 | 0.111994 | 0.114376 | 0.113847 | 0.80421 | 0.779852 | 0.771247 | 0.735902 | 0.713265 | 0.694864 | 0 | 0.015225 | 0.365659 | 15,014 | 434 | 89 | 34.59447 | 0.777929 | 0.001066 | 0 | 0.62406 | 0 | 0 | 0.043212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082707 | false | 0.002506 | 0.007519 | 0 | 0.175439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b1f1874f92b99eec66717fc9e41a475f02be9ea | 220 | py | Python | tests/test_api.py | FlorianPignol/telluric | 285c7e195b2da630b4c76f2552465a424bcdaeb2 | [
"MIT"
] | 81 | 2018-04-12T12:29:06.000Z | 2022-03-17T09:41:55.000Z | tests/test_api.py | FlorianPignol/telluric | 285c7e195b2da630b4c76f2552465a424bcdaeb2 | [
"MIT"
] | 283 | 2018-04-09T11:32:25.000Z | 2022-03-25T22:16:38.000Z | tests/test_api.py | FlorianPignol/telluric | 285c7e195b2da630b4c76f2552465a424bcdaeb2 | [
"MIT"
] | 22 | 2018-04-09T10:53:52.000Z | 2022-02-09T10:38:33.000Z | import telluric
def test_api_exposed():
assert hasattr(telluric, "GeoVector")
assert hasattr(telluric, "GeoRaster2")
assert hasattr(telluric, "GeoFeature")
assert hasattr(telluric, "FeatureCollection")
| 24.444444 | 49 | 0.740909 | 22 | 220 | 7.318182 | 0.545455 | 0.322981 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.154545 | 220 | 8 | 50 | 27.5 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0.209091 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b23577718543254c33b75e313149655c700b1f2 | 33 | py | Python | code/display/__init__.py | FrederikWR/course-02443-stochastic-virus-outbreak | 4f1d7f1fa4aa197b31ed86c4daf420d5a637974e | [
"MIT"
] | null | null | null | code/display/__init__.py | FrederikWR/course-02443-stochastic-virus-outbreak | 4f1d7f1fa4aa197b31ed86c4daf420d5a637974e | [
"MIT"
] | null | null | null | code/display/__init__.py | FrederikWR/course-02443-stochastic-virus-outbreak | 4f1d7f1fa4aa197b31ed86c4daf420d5a637974e | [
"MIT"
] | null | null | null |
from .world_map import WorldMap
| 11 | 31 | 0.818182 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b2ff9678bd8f29e377c8eb6829f8ec1d0dfa4bf | 29 | py | Python | examples/cfd/__init__.py | BrunoMot/devito | b6e077857765b7b5fad812ec5774635ca4c6fbb7 | [
"MIT"
] | 204 | 2020-01-09T11:27:58.000Z | 2022-03-20T22:53:37.000Z | examples/cfd/__init__.py | BrunoMot/devito | b6e077857765b7b5fad812ec5774635ca4c6fbb7 | [
"MIT"
] | 949 | 2016-04-25T11:41:34.000Z | 2019-12-27T10:43:40.000Z | examples/cfd/__init__.py | BrunoMot/devito | b6e077857765b7b5fad812ec5774635ca4c6fbb7 | [
"MIT"
] | 131 | 2020-01-08T17:43:13.000Z | 2022-03-27T11:36:47.000Z | from .tools import * # noqa
| 14.5 | 28 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.863636 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c8a96283de1d287d330b88dc1f07ee2c3af8abe | 13,462 | py | Python | idl2py/wcs/observatory.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/observatory.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/observatory.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def observatory():
pass
#pro observatory,obsname,obs_struct, print = print
#;+
#; NAME:
#; OBSERVATORY
#; PURPOSE:
#; Return longitude, latitude, altitude & time zones of an observatory
#; EXPLANATI... | 29.586813 | 83 | 0.566855 | 1,545 | 13,462 | 4.924919 | 0.290615 | 0.049678 | 0.007097 | 0.010645 | 0.124195 | 0.039953 | 0 | 0 | 0 | 0 | 0 | 0.086006 | 0.293493 | 13,462 | 454 | 84 | 29.651982 | 0.714015 | 0.863245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8ca54aacf24d0599cb185098c75b456f3f8ddf78 | 7,890 | py | Python | negative_i18n/migrations/0001_initial.py | negative-space/negative-i18n | 3eab74ba551af85ff3072d23ea93d62ab79aae90 | [
"MIT"
] | null | null | null | negative_i18n/migrations/0001_initial.py | negative-space/negative-i18n | 3eab74ba551af85ff3072d23ea93d62ab79aae90 | [
"MIT"
] | null | null | null | negative_i18n/migrations/0001_initial.py | negative-space/negative-i18n | 3eab74ba551af85ff3072d23ea93d62ab79aae90 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.7 on 2019-02-14 08:33
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='StringTranslation',
fields=[
('id', models.... | 66.302521 | 114 | 0.598479 | 820 | 7,890 | 5.628049 | 0.17561 | 0.181365 | 0.370531 | 0.468039 | 0.84442 | 0.84442 | 0.837486 | 0.175948 | 0 | 0 | 0 | 0.003375 | 0.248923 | 7,890 | 118 | 115 | 66.864407 | 0.775397 | 0.005703 | 0 | 0.018018 | 1 | 0 | 0.176463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009009 | 0 | 0.045045 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.