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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ebe3308852ad71b21341965651789ac82c5c69c1 | 589 | py | Python | deeplab/symbols/__init__.py | Definiter/Deformable-ConvNets | 4a3795795d67b27d39d411bf46c0772208a2d7fa | [
"Apache-2.0"
] | 1 | 2017-08-28T13:13:48.000Z | 2017-08-28T13:13:48.000Z | deeplab/symbols/__init__.py | Definiter/Deformable-ConvNets | 4a3795795d67b27d39d411bf46c0772208a2d7fa | [
"Apache-2.0"
] | null | null | null | deeplab/symbols/__init__.py | Definiter/Deformable-ConvNets | 4a3795795d67b27d39d411bf46c0772208a2d7fa | [
"Apache-2.0"
] | 1 | 2021-11-05T20:44:54.000Z | 2021-11-05T20:44:54.000Z | import resnet_v1_101_deeplab
import resnet_v1_101_deeplab_dcn
import resnet_v1_101_deeplab_dcn_experiment
import resnet_v1_101_deeplab_dcn_dilatedoffset
import resnet_v1_101_deeplab_dcn_dilatedoffset3x3
import resnet_v1_101_deeplab_dilate3x3
import resnet_v1_101_deeplab_dilate4x4
import resnet_v1_101_deeplab_dilate5x5
... | 36.8125 | 49 | 0.949066 | 93 | 589 | 5.333333 | 0.204301 | 0.362903 | 0.423387 | 0.514113 | 0.762097 | 0.326613 | 0 | 0 | 0 | 0 | 0 | 0.144902 | 0.050934 | 589 | 15 | 50 | 39.266667 | 0.742397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
69105b40ac3431c58d9711f315cf55dd4f4b8a35 | 29 | py | Python | moyu_engine/config/__init__.py | MoYuStudio/MoYuEngine | 7d9ab5c9cb268de0071e798a3288f0bbb651795e | [
"Apache-2.0"
] | 2 | 2022-03-22T02:32:34.000Z | 2022-03-22T02:32:43.000Z | moyu_engine/config/__init__.py | MoYuStudio/MoYuEngine | 7d9ab5c9cb268de0071e798a3288f0bbb651795e | [
"Apache-2.0"
] | null | null | null | moyu_engine/config/__init__.py | MoYuStudio/MoYuEngine | 7d9ab5c9cb268de0071e798a3288f0bbb651795e | [
"Apache-2.0"
] | null | null | null |
from .global_config import * | 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 28 | 14.5 | 0.88 | 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 |
6912026e37abf7ace58bd1cb8119612e3d061bc4 | 89 | py | Python | python/times.py | ankitr/N-lang | ac6d20a5b688d5281a86dfdaba35938eaa402500 | [
"MIT"
] | null | null | null | python/times.py | ankitr/N-lang | ac6d20a5b688d5281a86dfdaba35938eaa402500 | [
"MIT"
] | null | null | null | python/times.py | ankitr/N-lang | ac6d20a5b688d5281a86dfdaba35938eaa402500 | [
"MIT"
] | null | null | null | import time
def sleep(t):
time.sleep(t[0]/1000)
def _values():
return {"sleep": None} | 12.714286 | 23 | 0.662921 | 15 | 89 | 3.866667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 0.146067 | 89 | 7 | 23 | 12.714286 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 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 |
693eaf4efd6b23902459648eaadfea887e80d868 | 140 | py | Python | PYTHON-CURSO EM VIDEO/Loading.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | PYTHON-CURSO EM VIDEO/Loading.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | PYTHON-CURSO EM VIDEO/Loading.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | from time import sleep
print ('AGUERDE',end=' ')
sleep(2)
print ('.',end= '')
sleep(2)
print ('.',end= '')
sleep(2.5)
print('.', end='')
| 11.666667 | 25 | 0.55 | 20 | 140 | 3.85 | 0.45 | 0.311688 | 0.350649 | 0.363636 | 0.480519 | 0.480519 | 0.480519 | 0 | 0 | 0 | 0 | 0.033613 | 0.15 | 140 | 11 | 26 | 12.727273 | 0.613445 | 0 | 0 | 0.625 | 0 | 0 | 0.07971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
15c57f56739e18a34bfda7f120005e6eec0ab9ac | 46 | py | Python | box_convolution/__init__.py | CorcovadoMing/box-convolutions | 9ef77b9ad4d2bab48327b4227a3847ae87da629d | [
"Apache-2.0"
] | 552 | 2018-12-14T00:55:15.000Z | 2022-02-02T15:23:00.000Z | box_convolution/__init__.py | CorcovadoMing/box-convolutions | 9ef77b9ad4d2bab48327b4227a3847ae87da629d | [
"Apache-2.0"
] | 27 | 2019-01-03T10:47:17.000Z | 2021-11-28T11:26:22.000Z | box_convolution/__init__.py | CorcovadoMing/box-convolutions | 9ef77b9ad4d2bab48327b4227a3847ae87da629d | [
"Apache-2.0"
] | 41 | 2019-02-15T02:46:25.000Z | 2020-10-14T13:29:39.000Z | from .box_convolution_module import BoxConv2d
| 23 | 45 | 0.891304 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15f1d25685547829dc3eea254abe5f305e4d7335 | 38 | py | Python | cupy_alias/sparse/csc.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/sparse/csc.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/sparse/csc.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.sparse.csc import * # NOQA
| 19 | 37 | 0.710526 | 6 | 38 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.870968 | 0.105263 | 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 |
d661cd7a14a6e61adf132087a83faa9fefb48cc4 | 142 | py | Python | trtcmb/tasks.py | Framras/trtcmb | e06a7d31993ae6ec7f97d3043d182dd5f01deb6f | [
"MIT"
] | 4 | 2019-12-02T16:02:57.000Z | 2021-11-18T08:12:39.000Z | trtcmb/tasks.py | Framras/trtcmb | e06a7d31993ae6ec7f97d3043d182dd5f01deb6f | [
"MIT"
] | 1 | 2021-11-18T09:04:49.000Z | 2021-11-18T09:04:49.000Z | trtcmb/tasks.py | Framras/trtcmb | e06a7d31993ae6ec7f97d3043d182dd5f01deb6f | [
"MIT"
] | 4 | 2020-01-05T19:33:01.000Z | 2020-05-18T22:16:06.000Z | from __future__ import unicode_literals
from trtcmb import api as api
def every_day_at_00_58():
api.initiate_currency_exchange_rates()
| 17.75 | 42 | 0.816901 | 22 | 142 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.140845 | 142 | 7 | 43 | 20.285714 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
d68ac35781a616524a446013714d742d7302cd85 | 18,885 | py | Python | visualization.py | lenkaknap/oris_dashboards | f57c567b2a078e0965474e3cd0d9eaf2a5ef1690 | [
"MIT"
] | null | null | null | visualization.py | lenkaknap/oris_dashboards | f57c567b2a078e0965474e3cd0d9eaf2a5ef1690 | [
"MIT"
] | 3 | 2020-03-24T15:39:34.000Z | 2020-11-18T21:14:52.000Z | visualization.py | lenkaknap/oris_dashboards | f57c567b2a078e0965474e3cd0d9eaf2a5ef1690 | [
"MIT"
] | null | null | null | import plotly
import plotly.graph_objs as go
def text_info(data_frame):
df = data_frame
rows = len(df.index)
sum_time_hr = str(round(df['time_min'].sum() / 60, 2))
sum_km = 0
for i in range (rows):
if df['time_min'][i] == 0:
continue
else:
sum_km += df['di... | 33.723214 | 117 | 0.550808 | 2,512 | 18,885 | 3.875 | 0.065685 | 0.092459 | 0.100164 | 0.087323 | 0.829566 | 0.779638 | 0.765667 | 0.753031 | 0.741114 | 0.707623 | 0 | 0.030317 | 0.304845 | 18,885 | 559 | 118 | 33.783542 | 0.711152 | 0.006301 | 0 | 0.621242 | 0 | 0 | 0.117562 | 0.004745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016032 | false | 0 | 0.004008 | 0 | 0.036072 | 0.142285 | 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 |
d6a08705e78356adb39a599adb75e4e23b69536c | 147 | py | Python | ctestgen/runner/__init__.py | VolandTymim/ctestgen | e2567714fcc312a76af082733b10e5054c4cc6f0 | [
"MIT"
] | 2 | 2019-01-12T01:13:09.000Z | 2020-06-14T15:32:48.000Z | ctestgen/runner/__init__.py | VolandTymim/ctestgen | e2567714fcc312a76af082733b10e5054c4cc6f0 | [
"MIT"
] | null | null | null | ctestgen/runner/__init__.py | VolandTymim/ctestgen | e2567714fcc312a76af082733b10e5054c4cc6f0 | [
"MIT"
] | null | null | null | from ctestgen.runner.utils import *
from ctestgen.runner.runner import TestRunner
from ctestgen.runner.basic_test_runner import BasicTestRunner
| 36.75 | 62 | 0.85034 | 19 | 147 | 6.473684 | 0.473684 | 0.292683 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 3 | 63 | 49 | 0.931818 | 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 |
d6fd51f5da39e40abe9ecf09fc05deee195bf4bd | 29 | py | Python | DoraemonPocket/src/find_paired/__init__.py | lizhihao6/DoraemonPocket | 4f1407efa8e2099bf80de9bbed324bf68d2f3640 | [
"MIT"
] | null | null | null | DoraemonPocket/src/find_paired/__init__.py | lizhihao6/DoraemonPocket | 4f1407efa8e2099bf80de9bbed324bf68d2f3640 | [
"MIT"
] | null | null | null | DoraemonPocket/src/find_paired/__init__.py | lizhihao6/DoraemonPocket | 4f1407efa8e2099bf80de9bbed324bf68d2f3640 | [
"MIT"
] | null | null | null | from .main import find_paired | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba30b87c41068e43fabe68e9e4ea1b6e1e9d63f1 | 13,637 | py | Python | role-cogs.py | RobertoDraws/TriviaNationBot | 0ad4ce9ab35fde0d9fe475ea871bca8e21416963 | [
"MIT"
] | 1 | 2020-12-18T20:32:13.000Z | 2020-12-18T20:32:13.000Z | role-cogs.py | RobertoDraws/TriviaNationBot | 0ad4ce9ab35fde0d9fe475ea871bca8e21416963 | [
"MIT"
] | null | null | null | role-cogs.py | RobertoDraws/TriviaNationBot | 0ad4ce9ab35fde0d9fe475ea871bca8e21416963 | [
"MIT"
] | 1 | 2019-04-04T12:09:39.000Z | 2019-04-04T12:09:39.000Z | #Included: role, delrole
import discord
from discord.ext import commands
from discord.ext.commands import Bot
from discord.utils import find
import asyncio
import logging
import os
import time
import requests
import random
from time import localtime, strftime
from datetime import datetime
import subproce... | 62.555046 | 241 | 0.534282 | 1,458 | 13,637 | 4.977366 | 0.140604 | 0.074411 | 0.066143 | 0.046851 | 0.87736 | 0.852281 | 0.842084 | 0.824859 | 0.815764 | 0.806669 | 0 | 0.019809 | 0.292953 | 13,637 | 217 | 242 | 62.843318 | 0.725368 | 0.008286 | 0 | 0.690722 | 0 | 0 | 0.226565 | 0.03518 | 0 | 0 | 0.008419 | 0 | 0 | 1 | 0.010309 | false | 0.010309 | 0.082474 | 0 | 0.097938 | 0.061856 | 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 |
ba418f9a5e8cc4229b0825350da739e4f14f022c | 27,954 | py | Python | tests/test_conversion.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 147 | 2015-01-01T14:06:17.000Z | 2022-03-24T14:47:41.000Z | tests/test_conversion.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 269 | 2015-01-07T15:58:31.000Z | 2022-03-30T18:42:08.000Z | tests/test_conversion.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 110 | 2015-02-08T10:57:24.000Z | 2021-12-28T07:56:49.000Z | from __future__ import print_function, division
import numpy
from galpy.util import conversion
def test_dens_in_criticaldens():
#Test the scaling, as a 2nd derivative of the potential / G, should scale as velocity^2/position^2
vofid, rofid= 200., 8.
assert numpy.fabs(4.*conversion.dens_in_criticaldens(vofi... | 69.193069 | 188 | 0.720684 | 3,971 | 27,954 | 4.863762 | 0.043314 | 0.089987 | 0.102931 | 0.063374 | 0.910428 | 0.891892 | 0.880501 | 0.866522 | 0.845086 | 0.831314 | 0 | 0.038549 | 0.184303 | 27,954 | 403 | 189 | 69.364764 | 0.808482 | 0.067504 | 0 | 0.526012 | 0 | 0 | 0.287075 | 0.000845 | 0 | 0 | 0 | 0 | 0.346821 | 1 | 0.052023 | false | 0 | 0.046243 | 0 | 0.150289 | 0.00289 | 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 |
ba41bc0387347cc41ecc6e3781c0fe991ebd0e9d | 6,192 | py | Python | brithint_schema.py | ajtowns/brithint | 72e086b45aceb3a682f8b51839dd7a8789f0f0db | [
"MIT"
] | null | null | null | brithint_schema.py | ajtowns/brithint | 72e086b45aceb3a682f8b51839dd7a8789f0f0db | [
"MIT"
] | null | null | null | brithint_schema.py | ajtowns/brithint | 72e086b45aceb3a682f8b51839dd7a8789f0f0db | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Things to do:
# - create db
# - config file to point at db? or just hard code it?
# -
from sqlalchemy import *
def make_tables(meta=None):
if meta is None:
meta = MetaData()
events_tbl = Table('events', meta,
Column('event_id', INTEGER, primary_key=True, n... | 55.783784 | 80 | 0.568314 | 598 | 6,192 | 5.697324 | 0.120401 | 0.065747 | 0.089815 | 0.109774 | 0.805988 | 0.805988 | 0.796302 | 0.767244 | 0.767244 | 0.767244 | 0 | 0.003168 | 0.286337 | 6,192 | 110 | 81 | 56.290909 | 0.767821 | 0.016634 | 0 | 0.655914 | 0 | 0 | 0.264716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010753 | false | 0 | 0.010753 | 0 | 0.032258 | 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 |
ba5357e2235e33068561211f7c1dd8d1af349b4b | 221 | py | Python | git_tutorial/basic.py | PuchatekwSzortach/software_development_best_practices_course | 81d52a3063bffa23ead190fcca2407aa12619f83 | [
"MIT"
] | null | null | null | git_tutorial/basic.py | PuchatekwSzortach/software_development_best_practices_course | 81d52a3063bffa23ead190fcca2407aa12619f83 | [
"MIT"
] | null | null | null | git_tutorial/basic.py | PuchatekwSzortach/software_development_best_practices_course | 81d52a3063bffa23ead190fcca2407aa12619f83 | [
"MIT"
] | null | null | null | """
Module with basic stuff
"""
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __repr__(self):
return "{}, {} years old".format(self.name, self.age)
| 13.8125 | 61 | 0.565611 | 28 | 221 | 4.178571 | 0.571429 | 0.205128 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289593 | 221 | 15 | 62 | 14.733333 | 0.745223 | 0.104072 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ba5f26663310403a26ed9b5bb7ff99776494332b | 461 | py | Python | scripts/clients/memcachier.py | AirP0WeR/strava-telegram-bot | 3fab6fbce1c94d45b77a957879bdaba86577fd2c | [
"MIT"
] | null | null | null | scripts/clients/memcachier.py | AirP0WeR/strava-telegram-bot | 3fab6fbce1c94d45b77a957879bdaba86577fd2c | [
"MIT"
] | null | null | null | scripts/clients/memcachier.py | AirP0WeR/strava-telegram-bot | 3fab6fbce1c94d45b77a957879bdaba86577fd2c | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
import bmemcached
from common.constants_and_variables import BotVariables
class MemcachierClient:
def __init__(self):
self.bot_variables = BotVariables()
def get_client(self):
return bmemcached.Client(self.bot_variables.memcachier_servers,
... | 27.117647 | 81 | 0.663774 | 45 | 461 | 6.488889 | 0.533333 | 0.09589 | 0.219178 | 0.267123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002941 | 0.262473 | 461 | 16 | 82 | 28.8125 | 0.855882 | 0.049892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0.111111 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
ba81d5b9db8e9b50c87d36ab89680f984a41ca03 | 10,933 | py | Python | tests/gdk/commands/test_Command.py | timmattison/aws-greengrass-gdk-cli | 60a002f0f2fee84b79022662ba0cae9e0246b6f8 | [
"Apache-2.0"
] | 10 | 2022-01-15T09:50:32.000Z | 2022-03-26T16:39:49.000Z | tests/gdk/commands/test_Command.py | timmattison/aws-greengrass-gdk-cli | 60a002f0f2fee84b79022662ba0cae9e0246b6f8 | [
"Apache-2.0"
] | 46 | 2021-11-30T19:49:16.000Z | 2022-03-31T07:14:23.000Z | tests/gdk/commands/test_Command.py | timmattison/aws-greengrass-gdk-cli | 60a002f0f2fee84b79022662ba0cae9e0246b6f8 | [
"Apache-2.0"
] | 7 | 2021-11-30T19:49:42.000Z | 2022-03-17T16:25:34.000Z | import unittest
from unittest import TestCase
import gdk
import pytest
from gdk.commands.Command import Command
from gdk.common.exceptions.CommandError import ConflictingArgumentsError
class CommandTest(TestCase):
@pytest.fixture(autouse=True)
def __inject_fixtures(self, mocker):
self.mocker = mocker... | 44.263158 | 123 | 0.648495 | 1,214 | 10,933 | 5.45799 | 0.086491 | 0.090552 | 0.06565 | 0.091911 | 0.878056 | 0.852701 | 0.840477 | 0.834591 | 0.791277 | 0.774374 | 0 | 0.001911 | 0.234153 | 10,933 | 246 | 124 | 44.443089 | 0.789442 | 0.011433 | 0 | 0.627907 | 0 | 0 | 0.174549 | 0.034429 | 0 | 0 | 0 | 0 | 0.181395 | 1 | 0.055814 | false | 0 | 0.027907 | 0 | 0.088372 | 0.004651 | 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 |
bab31ef1d489241a29833853038784fe2036c655 | 119 | py | Python | ai_django_core/utils/cache.py | jqueguiner/ai-django-core | 25a1ab4c8fff6a3183d3346d5eb7a8636014c48a | [
"MIT"
] | 17 | 2021-02-01T00:56:29.000Z | 2021-11-24T19:23:22.000Z | ai_django_core/utils/cache.py | jqueguiner/ai-django-core | 25a1ab4c8fff6a3183d3346d5eb7a8636014c48a | [
"MIT"
] | 7 | 2021-02-05T19:01:07.000Z | 2022-03-31T05:58:00.000Z | ai_django_core/utils/cache.py | jqueguiner/ai-django-core | 25a1ab4c8fff6a3183d3346d5eb7a8636014c48a | [
"MIT"
] | 3 | 2021-04-30T18:24:14.000Z | 2022-03-08T12:12:48.000Z | from django.core.cache import cache
def clear_cache():
"""
Clears the django cache
"""
cache.clear()
| 13.222222 | 35 | 0.621849 | 15 | 119 | 4.866667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260504 | 119 | 8 | 36 | 14.875 | 0.829545 | 0.193277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
babdeae259f1e73e47eab8b55568e1f8d50ebe4a | 87 | py | Python | custom_envs/pybulletgym_custom/envs/roboschool/scenes/__init__.py | punk95/Continual-Learning-With-Curiosity | af0c507040e1352beb8740b6b3a7849417fc879a | [
"MIT"
] | 2 | 2021-07-12T17:11:35.000Z | 2021-07-13T05:56:30.000Z | custom_envs/pybulletgym_custom/envs/roboschool/scenes/__init__.py | punk95/Continual-Learning-With-Curiosity | af0c507040e1352beb8740b6b3a7849417fc879a | [
"MIT"
] | null | null | null | custom_envs/pybulletgym_custom/envs/roboschool/scenes/__init__.py | punk95/Continual-Learning-With-Curiosity | af0c507040e1352beb8740b6b3a7849417fc879a | [
"MIT"
] | null | null | null | from custom_envs.pybulletgym_custom.envs.roboschool.scenes.stadium import StadiumScene
| 43.5 | 86 | 0.896552 | 11 | 87 | 6.909091 | 0.818182 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 87 | 1 | 87 | 87 | 0.915663 | 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 |
bac35c5f2b315504bbe04b0b846137da8a7df44b | 27 | py | Python | exercises/bob/bob.py | seemaullal/python-exercisms | 43a10cc0bff8c9b095c9c0440ac2eb4b97994c58 | [
"MIT"
] | null | null | null | exercises/bob/bob.py | seemaullal/python-exercisms | 43a10cc0bff8c9b095c9c0440ac2eb4b97994c58 | [
"MIT"
] | null | null | null | exercises/bob/bob.py | seemaullal/python-exercisms | 43a10cc0bff8c9b095c9c0440ac2eb4b97994c58 | [
"MIT"
] | null | null | null | def hey(what):
return
| 6.75 | 14 | 0.592593 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 27 | 3 | 15 | 9 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
baefdf15f4ff81478ffcbdab8c960d12e2f4cb27 | 47 | py | Python | src/hellotest.py | xyzunreal/dockship | 7fbf3f3ecd68ec9755822c6162f54b6c8d09270e | [
"MIT"
] | null | null | null | src/hellotest.py | xyzunreal/dockship | 7fbf3f3ecd68ec9755822c6162f54b6c8d09270e | [
"MIT"
] | null | null | null | src/hellotest.py | xyzunreal/dockship | 7fbf3f3ecd68ec9755822c6162f54b6c8d09270e | [
"MIT"
] | null | null | null | def hellotest():
return "Hello Test Module" | 23.5 | 30 | 0.702128 | 6 | 47 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 2 | 30 | 23.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 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 |
2408138b2395c566199eee96ecc197626a438450 | 34 | py | Python | tests/test_nop.py | norioxkimura/launchpad-cli | a062e67f83688db6b2b86fe7131bab86a1baaa35 | [
"MIT"
] | 1 | 2019-10-19T18:45:21.000Z | 2019-10-19T18:45:21.000Z | tests/test_nop.py | norioxkimura/launchpad-cli | a062e67f83688db6b2b86fe7131bab86a1baaa35 | [
"MIT"
] | null | null | null | tests/test_nop.py | norioxkimura/launchpad-cli | a062e67f83688db6b2b86fe7131bab86a1baaa35 | [
"MIT"
] | null | null | null |
def test_nop():
assert True
| 6.8 | 15 | 0.617647 | 5 | 34 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 34 | 4 | 16 | 8.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
242d8b3a2f7206e156e00f4434bad32e7687aed2 | 77 | py | Python | src/allocation/adapters/email.py | mmblsp/py_template | d9bc9d110b41f08946dba26c81639edb1c7b214d | [
"Apache-2.0"
] | null | null | null | src/allocation/adapters/email.py | mmblsp/py_template | d9bc9d110b41f08946dba26c81639edb1c7b214d | [
"Apache-2.0"
] | null | null | null | src/allocation/adapters/email.py | mmblsp/py_template | d9bc9d110b41f08946dba26c81639edb1c7b214d | [
"Apache-2.0"
] | null | null | null | def send_mail(*args, **kwargs):
print(f"Sending email: {args} {kwargs}")
| 25.666667 | 44 | 0.649351 | 11 | 77 | 4.454545 | 0.818182 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 2 | 45 | 38.5 | 0.742424 | 0 | 0 | 0 | 0 | 0 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
79e4f764f49aab45e92c63d573fd56200da313ff | 11,156 | py | Python | tests/acceptance/commons/glancesync_output_assertions.py | telefonicaid/fiware-glancesync | 5ad0c80e12b9384473f31bf336015c75cf02a2a2 | [
"Apache-2.0"
] | null | null | null | tests/acceptance/commons/glancesync_output_assertions.py | telefonicaid/fiware-glancesync | 5ad0c80e12b9384473f31bf336015c75cf02a2a2 | [
"Apache-2.0"
] | 88 | 2015-07-21T22:13:23.000Z | 2016-11-15T21:28:56.000Z | tests/acceptance/commons/glancesync_output_assertions.py | telefonicaid/fiware-glancesync | 5ad0c80e12b9384473f31bf336015c75cf02a2a2 | [
"Apache-2.0"
] | 2 | 2015-08-12T11:19:55.000Z | 2018-05-25T19:04:43.000Z | # -*- coding: utf-8 -*-
# Copyright 2015-2016 Telefónica Investigación y Desarrollo, S.A.U
#
# This file is part of FIWARE project.
#
# 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:
#
# htt... | 46.87395 | 110 | 0.685371 | 1,343 | 11,156 | 5.400596 | 0.12137 | 0.075831 | 0.048394 | 0.034055 | 0.801324 | 0.772094 | 0.74838 | 0.742451 | 0.741486 | 0.731835 | 0 | 0.003198 | 0.243098 | 11,156 | 237 | 111 | 47.07173 | 0.855756 | 0.371459 | 0 | 0.522727 | 0 | 0 | 0.140572 | 0 | 0 | 0 | 0 | 0 | 0.306818 | 1 | 0.125 | false | 0 | 0.045455 | 0 | 0.170455 | 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 |
03234db9aa19245932135984cff9b671152efcc4 | 172 | py | Python | Server/Scripts/UpdateDatabase.py | Worble/reference-project | 2cb47a4f1829d12a77b6c81bad77817d2286b5b0 | [
"MIT"
] | 1 | 2021-02-22T13:33:30.000Z | 2021-02-22T13:33:30.000Z | Server/Scripts/UpdateDatabase.py | Worble/reference-project | 2cb47a4f1829d12a77b6c81bad77817d2286b5b0 | [
"MIT"
] | null | null | null | Server/Scripts/UpdateDatabase.py | Worble/reference-project | 2cb47a4f1829d12a77b6c81bad77817d2286b5b0 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import subprocess
subprocess.run(["dotnet", "tool", "restore"])
subprocess.run(["dotnet", "ef", "database", "update", "--project", "Forum.Presentation"]) | 34.4 | 89 | 0.680233 | 19 | 172 | 6.157895 | 0.789474 | 0.222222 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 172 | 5 | 89 | 34.4 | 0.73125 | 0.093023 | 0 | 0 | 0 | 0 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
036f80022a5d75d781e14f274c408ac409fbb5c3 | 72 | py | Python | buskit/buskit/__init__.py | ywnch/BusSimulator | 5a1fd29bd7e72c47a66342657dc4b2a9d2373d45 | [
"MIT"
] | 4 | 2019-05-04T04:00:17.000Z | 2021-07-05T03:20:17.000Z | buskit/buskit/__init__.py | ywnch/BusSimulator | 5a1fd29bd7e72c47a66342657dc4b2a9d2373d45 | [
"MIT"
] | null | null | null | buskit/buskit/__init__.py | ywnch/BusSimulator | 5a1fd29bd7e72c47a66342657dc4b2a9d2373d45 | [
"MIT"
] | 2 | 2020-07-11T14:45:49.000Z | 2020-09-11T07:40:23.000Z | from .busdata import *
from .dashboard import *
from .simulator import * | 24 | 24 | 0.763889 | 9 | 72 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 25 | 24 | 0.901639 | 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 |
cef61257e627eee12ff527b34ff8e042952d9844 | 101 | py | Python | userble/tests/test_first.py | kkiyama117/revol_base | 4e7ec456174deaebba0dcdb699b9a57cf769f75c | [
"MIT"
] | null | null | null | userble/tests/test_first.py | kkiyama117/revol_base | 4e7ec456174deaebba0dcdb699b9a57cf769f75c | [
"MIT"
] | 9 | 2019-12-02T08:23:55.000Z | 2022-02-10T13:52:16.000Z | userble/tests/test_first.py | kkiyama117/revol_base | 4e7ec456174deaebba0dcdb699b9a57cf769f75c | [
"MIT"
] | null | null | null | from django.test import TestCase
# Create your tests here.
def test_first():
assert 1 + 1 == 2
| 14.428571 | 32 | 0.683168 | 16 | 101 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.227723 | 101 | 6 | 33 | 16.833333 | 0.833333 | 0.227723 | 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 |
3051b84de40affca061d77ba0f5f0f8ec115900d | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/utils/filesystem.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/utils/filesystem.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/utils/filesystem.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/92/58/ce/f5d402263572fc0fcb3e55c47820df895ff6e3396a8a6c2c3dd8d3516a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
0641becdde94a9f2879b51a4fc0285b9b3cc6431 | 124 | py | Python | exporter/exceptions.py | TaIos/code_generator | d01eca1cf3506e2b24fdf537de44d38d0f1dab0d | [
"MIT"
] | 2 | 2021-02-12T12:07:26.000Z | 2022-02-10T23:49:43.000Z | exporter/exceptions.py | TaIos/code_generator | d01eca1cf3506e2b24fdf537de44d38d0f1dab0d | [
"MIT"
] | 1 | 2020-12-05T10:38:31.000Z | 2020-12-05T10:38:31.000Z | exporter/exceptions.py | TaIos/exporter | d01eca1cf3506e2b24fdf537de44d38d0f1dab0d | [
"MIT"
] | null | null | null | class MultipleGitLabProjectsExistException(Exception):
pass
class NoGitLabProjectsExistException(Exception):
pass
| 17.714286 | 54 | 0.822581 | 8 | 124 | 12.75 | 0.625 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 6 | 55 | 20.666667 | 0.944444 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0697c64a04ec2caba01808d3f12c9badccb2457d | 374 | py | Python | odoo-13.0/addons/hr_holidays/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/hr_holidays/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/hr_holidays/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import resource
from . import hr_employee
from . import hr_department
from . import hr_leave
from . import hr_leave_allocation
from . import hr_leave_type
from . import mail_channel
from . import mail_message_subt... | 26.714286 | 74 | 0.783422 | 57 | 374 | 4.929825 | 0.54386 | 0.355872 | 0.213523 | 0.181495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.157754 | 374 | 13 | 75 | 28.769231 | 0.888889 | 0.251337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
234ec90e9e67e2dcb1e8f473c70754208917a477 | 9,386 | py | Python | panoptes_aggregation/tests/scripts_tests/test_config_workflow.py | amyrebecca/aggregation-for-caesar | 5f0d884932312010f9caeb8ebfcfe358f490e41f | [
"Apache-2.0"
] | null | null | null | panoptes_aggregation/tests/scripts_tests/test_config_workflow.py | amyrebecca/aggregation-for-caesar | 5f0d884932312010f9caeb8ebfcfe358f490e41f | [
"Apache-2.0"
] | null | null | null | panoptes_aggregation/tests/scripts_tests/test_config_workflow.py | amyrebecca/aggregation-for-caesar | 5f0d884932312010f9caeb8ebfcfe358f490e41f | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import patch, call
from io import StringIO
import panoptes_aggregation.scripts.config_workflow_panoptes
class TestConfigWorkflowCL(unittest.TestCase):
def setUp(self):
self.workflow_data_dump = StringIO('''workflow_id,version,tasks,strings,minor_version
4249,14,"... | 51.289617 | 788 | 0.635841 | 1,050 | 9,386 | 5.327619 | 0.104762 | 0.107615 | 0.102252 | 0.125849 | 0.864319 | 0.849839 | 0.835717 | 0.801037 | 0.801037 | 0.766357 | 0 | 0.030492 | 0.231302 | 9,386 | 182 | 789 | 51.571429 | 0.744837 | 0.029406 | 0 | 0.668605 | 0 | 0.005814 | 0.378149 | 0.270987 | 0 | 0 | 0 | 0 | 0.034884 | 1 | 0.02907 | false | 0 | 0.023256 | 0 | 0.05814 | 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 |
234f65126769a5b0e355036ea44c30385e99a96a | 3,032 | py | Python | oxe-api/test/resource/request/test_get_requests.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/request/test_get_requests.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/request/test_get_requests.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | from test.BaseCase import BaseCase
class TestGetRequests(BaseCase):
@BaseCase.login
def test_ok(self, token):
self.db.insert({"id": 2, "user_id": 1, "request": "My request 1", 'submission_date': '2021-06-10T10:57:30'}
, self.db.tables["UserRequest"])
self.db.insert({"id... | 36.53012 | 115 | 0.405343 | 272 | 3,032 | 4.404412 | 0.209559 | 0.040067 | 0.040902 | 0.116861 | 0.913189 | 0.873957 | 0.873957 | 0.873957 | 0.873957 | 0.873957 | 0 | 0.081868 | 0.456135 | 3,032 | 82 | 116 | 36.97561 | 0.644633 | 0 | 0 | 0.635135 | 0 | 0 | 0.239446 | 0.01748 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.027027 | false | 0 | 0.013514 | 0 | 0.054054 | 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 |
88fe482720230b0ae39e9719471cce0394928159 | 24 | py | Python | cert_viewer/try.py | amit502/digi_cert | a0d9669ed1470961509b69e9c9b18bf197079d3d | [
"MIT"
] | null | null | null | cert_viewer/try.py | amit502/digi_cert | a0d9669ed1470961509b69e9c9b18bf197079d3d | [
"MIT"
] | null | null | null | cert_viewer/try.py | amit502/digi_cert | a0d9669ed1470961509b69e9c9b18bf197079d3d | [
"MIT"
] | 2 | 2018-08-08T14:46:35.000Z | 2021-07-13T12:08:16.000Z | from . import cert_store | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0008831d2e9c08b66d09cecc133bd4aab87ae1ba | 5,307 | py | Python | src/records/models.py | Raznic/Bailiwick | eee1a98888c96440a3dbc98cb27c422617c4566f | [
"MIT"
] | 1 | 2019-03-06T03:01:49.000Z | 2019-03-06T03:01:49.000Z | src/records/models.py | Raznic/Bailiwick | eee1a98888c96440a3dbc98cb27c422617c4566f | [
"MIT"
] | null | null | null | src/records/models.py | Raznic/Bailiwick | eee1a98888c96440a3dbc98cb27c422617c4566f | [
"MIT"
] | null | null | null | import uuid
from django.core.validators import RegexValidator, validate_ipv4_address
from django.db import models
from django.urls import reverse
from bailiwick import regex
from . import validators
class ARecord(models.Model):
id = models.UUIDField(
primary_key=True,
unique=True,
default... | 29 | 116 | 0.580366 | 566 | 5,307 | 5.310954 | 0.212014 | 0.02994 | 0.02994 | 0.03992 | 0.803393 | 0.803393 | 0.74318 | 0.709248 | 0.709248 | 0.707252 | 0 | 0.010098 | 0.328246 | 5,307 | 182 | 117 | 29.159341 | 0.8331 | 0 | 0 | 0.636364 | 0 | 0 | 0.250612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048485 | false | 0 | 0.036364 | 0.036364 | 0.236364 | 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 |
001a4f6334772bf00f1c8ff3501c48539e57c12e | 17 | py | Python | LFSM/spectral_index/__init__.py | Yanping-Cong/LFSM-0.1 | eb36cea15d98741fa84ff982ff2fc6d5fa203284 | [
"MIT"
] | null | null | null | LFSM/spectral_index/__init__.py | Yanping-Cong/LFSM-0.1 | eb36cea15d98741fa84ff982ff2fc6d5fa203284 | [
"MIT"
] | null | null | null | LFSM/spectral_index/__init__.py | Yanping-Cong/LFSM-0.1 | eb36cea15d98741fa84ff982ff2fc6d5fa203284 | [
"MIT"
] | null | null | null | #__version__=1.0
| 8.5 | 16 | 0.764706 | 3 | 17 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.058824 | 17 | 1 | 17 | 17 | 0.4375 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00279ea4af064db33ed84426bdb5dd1af999b941 | 100 | py | Python | update_date_print.py | mertyigit/INEEDopt | f01ca1fae38aae16807e9f908ea47838745cbae8 | [
"MIT"
] | null | null | null | update_date_print.py | mertyigit/INEEDopt | f01ca1fae38aae16807e9f908ea47838745cbae8 | [
"MIT"
] | null | null | null | update_date_print.py | mertyigit/INEEDopt | f01ca1fae38aae16807e9f908ea47838745cbae8 | [
"MIT"
] | null | null | null | def update_date_print(update_date):
print("THE CODE HAS BEEN LAST UPDATED ON"+str(update_date))
| 16.666667 | 60 | 0.77 | 17 | 100 | 4.294118 | 0.705882 | 0.410959 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 5 | 61 | 20 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
002c76fcf131eb9d4a61367a7f3201ef38b8f8a4 | 102 | py | Python | boa3_test/test_sc/interop_test/stdlib/AtoiTooManyArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/stdlib/AtoiTooManyArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/stdlib/AtoiTooManyArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin.interop.stdlib import atoi
def main() -> int:
return atoi('100', 10, 'extra')
| 17 | 44 | 0.666667 | 15 | 102 | 4.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 102 | 5 | 45 | 20.4 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
00539d02be35fabaf253e86adf199cc6a87e6224 | 2,423 | py | Python | scripts/log_scrapper_sq.py | zlijingtao/Neurobfuscator | 39fc8eaa1819bdaba4a64ca86cd5a340343ac94a | [
"Apache-2.0"
] | 3 | 2021-07-20T21:01:43.000Z | 2022-01-02T03:33:05.000Z | scripts/log_scrapper_sq.py | zlijingtao/Neurobfuscator | 39fc8eaa1819bdaba4a64ca86cd5a340343ac94a | [
"Apache-2.0"
] | null | null | null | scripts/log_scrapper_sq.py | zlijingtao/Neurobfuscator | 39fc8eaa1819bdaba4a64ca86cd5a340343ac94a | [
"Apache-2.0"
] | 1 | 2021-12-10T03:15:52.000Z | 2021-12-10T03:15:52.000Z |
import os
def ga_file_searcher(dir_path):
file_dict = {}
for filename in os.listdir(dir_path):
if "_genetic_algorithm_model" in filename:
with open(dir_path + filename) as f:
lines = f.readlines()
highest_score = 0.0
output_LER = 0.0
outpu... | 46.596154 | 132 | 0.506397 | 286 | 2,423 | 4.087413 | 0.202797 | 0.085543 | 0.095808 | 0.029085 | 0.833191 | 0.763045 | 0.763045 | 0.763045 | 0.763045 | 0.763045 | 0 | 0.027494 | 0.354519 | 2,423 | 52 | 133 | 46.596154 | 0.719949 | 0.007429 | 0 | 0.680851 | 0 | 0 | 0.129838 | 0.009988 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.021277 | 0 | 0.06383 | 0.042553 | 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 |
cc7263d0dbbb5f05c361cd1a31da87c44da5a570 | 45 | py | Python | test/visuals/test_empty.py | colinmford/coldtype | 8462dbd5f65f3ef8f3cbc8662a866b7e20ec5985 | [
"Apache-2.0"
] | 142 | 2020-06-12T17:01:58.000Z | 2022-03-16T23:21:37.000Z | test/visuals/test_empty.py | colinmford/coldtype | 8462dbd5f65f3ef8f3cbc8662a866b7e20ec5985 | [
"Apache-2.0"
] | 35 | 2020-04-15T15:34:54.000Z | 2022-03-19T20:26:47.000Z | test/visuals/test_empty.py | colinmford/coldtype | 8462dbd5f65f3ef8f3cbc8662a866b7e20ec5985 | [
"Apache-2.0"
] | 14 | 2020-06-23T18:56:46.000Z | 2022-03-31T15:54:56.000Z | from coldtype import *
print("nothing here") | 15 | 22 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 23 | 15 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
cc858542b252fd1e38c1e4d182a0ec3b3c8acf68 | 35 | py | Python | examples/errors2/components/crontab/component.py | risclog-solution/batou | 2d149371ef78e4ca8368c3a9067452cd54318314 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-12-23T18:26:46.000Z | 2020-12-23T18:26:46.000Z | examples/errors2/components/crontab/component.py | risclog-solution/batou | 2d149371ef78e4ca8368c3a9067452cd54318314 | [
"BSD-2-Clause-FreeBSD"
] | 5 | 2021-03-20T05:08:49.000Z | 2021-06-02T03:20:17.000Z | examples/errors/components/crontab/component.py | ZeitOnline/batou | cade3526e7979a53d47bb020c5191702972ff2ff | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from batou.lib.cron import CronTab
| 17.5 | 34 | 0.828571 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ccb2f3c0531aa4388c7f09c8723bfc1844ac6e31 | 163 | py | Python | 001-Python-basico/013-len-tamanho-string.py | clebertonf/Python-course | a57f405cbd27f96e0cb61128df31e9249c79a962 | [
"MIT"
] | null | null | null | 001-Python-basico/013-len-tamanho-string.py | clebertonf/Python-course | a57f405cbd27f96e0cb61128df31e9249c79a962 | [
"MIT"
] | null | null | null | 001-Python-basico/013-len-tamanho-string.py | clebertonf/Python-course | a57f405cbd27f96e0cb61128df31e9249c79a962 | [
"MIT"
] | null | null | null | # Quantidade de caracteres em uma string
nome = "Cleberton Francisco"
print(len(nome)) # conta a quantidade de caracteres em uam string
print(nome.__len__())
| 18.111111 | 66 | 0.748466 | 23 | 163 | 5.130435 | 0.608696 | 0.20339 | 0.372881 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165644 | 163 | 8 | 67 | 20.375 | 0.867647 | 0.521472 | 0 | 0 | 0 | 0 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
aec825dddd07f6b3f174c636ee4ac17d38476d6a | 168 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/__init__.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/__init__.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/__init__.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | from .l2vpn import *
from .bridge_domain import *
from .xconnect import *
from .pseudowire import *
from .vfi import *
#from .g8032 import *
from .iccp_group import *
| 18.666667 | 28 | 0.738095 | 23 | 168 | 5.304348 | 0.478261 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.172619 | 168 | 8 | 29 | 21 | 0.841727 | 0.119048 | 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 |
9dae59e3ab18f5f1124df08efdc2b4141b5fb1eb | 129 | py | Python | python-sdk/nuscenes/prediction/tests/test_backbone.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/prediction/tests/test_backbone.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/prediction/tests/test_backbone.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:d31bd668a6b4897ce524c2365d2654625c4cfa425631779476dd4c03d1413bb8
size 1925
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.430894 | 0.046512 | 129 | 3 | 76 | 43 | 0.495935 | 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 |
9dc14a8fe8da165b559f7477e61c0402978d5c32 | 187 | py | Python | tasks/MTAT.03.100/2013/Midterm_2/KT3_N10_2_esimene_ja_viimane_solution_buggy.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 9 | 2015-06-06T06:15:12.000Z | 2020-05-27T21:37:16.000Z | tasks/MTAT.03.100/2013/Midterm_2/KT3_N10_2_esimene_ja_viimane_solution_buggy.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | null | null | null | tasks/MTAT.03.100/2013/Midterm_2/KT3_N10_2_esimene_ja_viimane_solution_buggy.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 3 | 2018-11-17T22:51:45.000Z | 2021-01-22T14:07:48.000Z | # siin tekib probleem tühja listiga
def esimene_ja_viimane(lst):
if not isinstance(lst, list):
return lst
return [esimene_ja_viimane(lst[0]), esimene_ja_viimane(lst[-1])]
| 31.166667 | 68 | 0.716578 | 28 | 187 | 4.571429 | 0.607143 | 0.210938 | 0.375 | 0.445313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.176471 | 187 | 5 | 69 | 37.4 | 0.818182 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1db0b9cb8c10b1aabd53f3885ce599cf0d2ab23 | 32 | py | Python | stubbs/defs/vcky.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/vcky.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/vcky.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...hek.defs.vcky import *
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 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 |
06043721337a11f23c8d530e448788ebfe9cfcc4 | 83 | py | Python | build/lib/axonbot/__init__.py | axonintel/axon | 7a7855529e48e328d85ffe33749307fac2a87c3e | [
"MIT"
] | 2 | 2021-10-01T22:03:23.000Z | 2021-12-20T01:54:33.000Z | build/lib/axonbot/__init__.py | axonintel/axon | 7a7855529e48e328d85ffe33749307fac2a87c3e | [
"MIT"
] | null | null | null | build/lib/axonbot/__init__.py | axonintel/axon | 7a7855529e48e328d85ffe33749307fac2a87c3e | [
"MIT"
] | null | null | null | from axonbot.axonwebsocket import AxonWebsocket
from axonbot.axonbot import AxonBot | 41.5 | 47 | 0.891566 | 10 | 83 | 7.4 | 0.4 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 2 | 48 | 41.5 | 0.973684 | 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 |
ae0710379471511149115edf09aa31e29fc001e6 | 125 | py | Python | src/__init__.py | annahaensch/ODyN | e6a244e2d29de86f4e030984d50177399c19426c | [
"MIT"
] | null | null | null | src/__init__.py | annahaensch/ODyN | e6a244e2d29de86f4e030984d50177399c19426c | [
"MIT"
] | null | null | null | src/__init__.py | annahaensch/ODyN | e6a244e2d29de86f4e030984d50177399c19426c | [
"MIT"
] | null | null | null | """ Modeling and simulation tools.
"""
from .simulations import *
from .visualizations import *
from .geolocations import *
| 17.857143 | 34 | 0.744 | 13 | 125 | 7.153846 | 0.692308 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 6 | 35 | 20.833333 | 0.877358 | 0.24 | 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 |
ae16da90d5984305aaf0f6d5c89d4a6f62ef925d | 5,948 | py | Python | tests/test_der_models.py | TUMCREATE-ESTL/mesmo | 45732384502cc1cde2b3e1b4d8b09eb218a90a37 | [
"MIT"
] | 11 | 2021-11-04T16:42:15.000Z | 2022-03-29T06:43:24.000Z | tests/test_der_models.py | TUMCREATE-ESTL/fledge | 1da549b52eb5e9f12984a111cbccd0fe291b97de | [
"MIT"
] | 9 | 2020-11-18T12:53:29.000Z | 2021-08-03T15:33:10.000Z | tests/test_der_models.py | TUMCREATE-ESTL/fledge | 1da549b52eb5e9f12984a111cbccd0fe291b97de | [
"MIT"
] | 7 | 2020-03-05T09:25:31.000Z | 2021-02-11T15:30:55.000Z | """Test DER models."""
import unittest
import mesmo
logger = mesmo.config.get_logger(__name__)
class TestDERModels(unittest.TestCase):
# TODO: Add tests for new DER ode types.
def test_fixed_load_model(self):
# Obtain test data.
der_data = mesmo.data_interface.DERData(mesmo.config.config[... | 46.834646 | 111 | 0.677034 | 822 | 5,948 | 4.611922 | 0.096107 | 0.059087 | 0.061725 | 0.080717 | 0.887101 | 0.884727 | 0.875758 | 0.87101 | 0.87101 | 0.857821 | 0 | 0.003194 | 0.210323 | 5,948 | 126 | 112 | 47.206349 | 0.803917 | 0.183591 | 0 | 0.445946 | 0 | 0 | 0.192953 | 0.082487 | 0 | 0 | 0 | 0.007937 | 0 | 1 | 0.121622 | false | 0 | 0.027027 | 0 | 0.162162 | 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 |
ae27a86f5465e5d1844eaaf95953434ee5aa47e0 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/cache.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/pip/_internal/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e9/53/8d/b6845e1996c177bb2a6359fa87091d582e22cf7b665f05f0663a6364ac | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
ae557180945417a8029e73c3332142bb70deacbb | 555 | py | Python | impstall/__init__.py | ryanniehaus/impstall | e28207f30f4041cb6ad6596151cb90f7d8a4197c | [
"MIT"
] | 2 | 2017-07-22T04:33:37.000Z | 2021-07-16T10:56:45.000Z | impstall/__init__.py | ryanniehaus/impstall | e28207f30f4041cb6ad6596151cb90f7d8a4197c | [
"MIT"
] | 1 | 2021-07-16T11:02:05.000Z | 2021-07-16T11:02:05.000Z | impstall/__init__.py | ryanniehaus/impstall | e28207f30f4041cb6ad6596151cb90f7d8a4197c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
'''
This module can be used to import python packages and install them if not already installed.
'''
from core import impstall
from core import impstall as now
from core import set_pip_options
from core import get_pip_options
from core import set_pip_installer_options
from core import get_pip_in... | 29.210526 | 92 | 0.848649 | 96 | 555 | 4.635417 | 0.375 | 0.21573 | 0.377528 | 0.191011 | 0.602247 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12973 | 555 | 18 | 93 | 30.833333 | 0.921325 | 0.203604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ae621edae680325fe6fb15693862805ad1a348d3 | 107 | py | Python | 4_advanced/designs/5_Full/src/exceptions/__init__.py | grecoe/teals | ea00bab4e90d3f71e3ec2d202ce596abcf006f37 | [
"MIT"
] | null | null | null | 4_advanced/designs/5_Full/src/exceptions/__init__.py | grecoe/teals | ea00bab4e90d3f71e3ec2d202ce596abcf006f37 | [
"MIT"
] | 9 | 2019-11-21T13:12:47.000Z | 2021-02-02T14:52:52.000Z | 4_advanced/designs/5_Full/src/exceptions/__init__.py | grecoe/teals | ea00bab4e90d3f71e3ec2d202ce596abcf006f37 | [
"MIT"
] | 2 | 2021-01-25T03:38:30.000Z | 2021-03-07T23:54:53.000Z | from .datasetmissing import DatasetMissingException
from .invalidparameter import InvalidParameterException | 53.5 | 55 | 0.915888 | 8 | 107 | 12.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 107 | 2 | 55 | 53.5 | 0.98 | 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 |
88268459350c2e7cdb44a3bd7de6f84a1519af94 | 89 | py | Python | pytidyverse/__init__.py | durrantmm/pytidyverse | f316971786876af0597f73164601031fdab7c034 | [
"MIT"
] | 1 | 2019-10-31T21:06:05.000Z | 2019-10-31T21:06:05.000Z | pytidyverse/__init__.py | durrantmm/pytidyverse | f316971786876af0597f73164601031fdab7c034 | [
"MIT"
] | null | null | null | pytidyverse/__init__.py | durrantmm/pytidyverse | f316971786876af0597f73164601031fdab7c034 | [
"MIT"
] | null | null | null | from ggplot import *
from dplython import *
from readpy import *
from tidypython import * | 22.25 | 24 | 0.786517 | 12 | 89 | 5.833333 | 0.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 4 | 24 | 22.25 | 0.945946 | 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 |
88513a7d2c614e8d2fecad305f3b58705b444df2 | 31 | py | Python | keras_bert/optimizers/__init__.py | jtlai0921/keras-bert. | ea89d91f71907901c11f52124dbd193e31d3947f | [
"MIT"
] | null | null | null | keras_bert/optimizers/__init__.py | jtlai0921/keras-bert. | ea89d91f71907901c11f52124dbd193e31d3947f | [
"MIT"
] | null | null | null | keras_bert/optimizers/__init__.py | jtlai0921/keras-bert. | ea89d91f71907901c11f52124dbd193e31d3947f | [
"MIT"
] | 1 | 2019-06-05T12:30:54.000Z | 2019-06-05T12:30:54.000Z | from .warmup import AdamWarmup
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
885a034f5a7df3823ff0eb8aae685befe204f377 | 7,991 | py | Python | tests/integration/settings_tests.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | null | null | null | tests/integration/settings_tests.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | null | null | null | tests/integration/settings_tests.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2020-07-17T23:50:56.000Z | 2020-07-17T23:50:56.000Z | from dataactcore.interfaces.db import GlobalDB
from dataactvalidator.health_check import create_app
from dataactcore.models.domainModels import CGAC
from dataactcore.models.validationModels import RuleSetting, RuleSql
from tests.integration.baseTestAPI import BaseTestAPI
class SettingsTests(BaseTestAPI):
""" Te... | 54.360544 | 120 | 0.625203 | 948 | 7,991 | 5.080169 | 0.136076 | 0.119601 | 0.104651 | 0.069767 | 0.80544 | 0.766819 | 0.753945 | 0.753945 | 0.753945 | 0.753945 | 0 | 0.016121 | 0.247028 | 7,991 | 146 | 121 | 54.732877 | 0.784278 | 0.090602 | 0 | 0.636364 | 0 | 0.060606 | 0.213622 | 0.022333 | 0 | 0 | 0 | 0.006849 | 0.282828 | 1 | 0.060606 | false | 0 | 0.050505 | 0 | 0.121212 | 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 |
8890f685392159db7c8a23f75e022f009cb0bbda | 36 | py | Python | tilemani/cfgs/osm/__init__.py | cocoaaa/TileMani | ca006f201be530af32d7c5dcae03df5daa08359a | [
"MIT"
] | null | null | null | tilemani/cfgs/osm/__init__.py | cocoaaa/TileMani | ca006f201be530af32d7c5dcae03df5daa08359a | [
"MIT"
] | null | null | null | tilemani/cfgs/osm/__init__.py | cocoaaa/TileMani | ca006f201be530af32d7c5dcae03df5daa08359a | [
"MIT"
] | null | null | null | from . import road, spacenet_globals | 36 | 36 | 0.833333 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
31fa75d1c0a691e44c8123a6fbf43e4ad2d246eb | 74,395 | py | Python | onlinelinguisticdatabase/tests/functional/test_phonologies.py | dativebase/old | bcfb856e8a8cccddcab4eaedc1aa107697ceee2f | [
"Apache-2.0"
] | 2 | 2019-11-19T22:39:04.000Z | 2019-11-20T16:13:43.000Z | onlinelinguisticdatabase/tests/functional/test_phonologies.py | jrwdunham/old | bcfb856e8a8cccddcab4eaedc1aa107697ceee2f | [
"Apache-2.0"
] | 51 | 2015-02-11T21:42:48.000Z | 2016-08-16T18:52:44.000Z | onlinelinguisticdatabase/tests/functional/test_phonologies.py | jrwdunham/old | bcfb856e8a8cccddcab4eaedc1aa107697ceee2f | [
"Apache-2.0"
] | 1 | 2019-11-19T22:39:07.000Z | 2019-11-19T22:39:07.000Z | # Copyright 2016 Joel Dunham
#
# 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 writi... | 52.060882 | 137 | 0.632274 | 8,752 | 74,395 | 5.215151 | 0.073126 | 0.036282 | 0.028263 | 0.038648 | 0.799268 | 0.777688 | 0.757378 | 0.743049 | 0.729838 | 0.706833 | 0 | 0.015388 | 0.254883 | 74,395 | 1,428 | 138 | 52.097339 | 0.808002 | 0.116755 | 0 | 0.721326 | 0 | 0 | 0.204139 | 0.017075 | 0 | 0 | 0 | 0 | 0.255376 | 1 | 0.012545 | false | 0.000896 | 0.011649 | 0 | 0.028674 | 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 |
ee1ff86a4d4197e999bd5e97fec19f6f85517832 | 37 | py | Python | cfdm/core/mixin/__init__.py | tsjackson-noaa/cfdm | a669677905badaced2eba87413288ac0bc2697fc | [
"MIT"
] | 22 | 2018-11-07T18:16:22.000Z | 2022-03-16T16:05:21.000Z | cfdm/core/mixin/__init__.py | tsjackson-noaa/cfdm | a669677905badaced2eba87413288ac0bc2697fc | [
"MIT"
] | 119 | 2019-04-08T08:00:24.000Z | 2022-03-22T08:21:22.000Z | cfdm/core/mixin/__init__.py | tsjackson-noaa/cfdm | a669677905badaced2eba87413288ac0bc2697fc | [
"MIT"
] | 8 | 2019-04-09T10:12:26.000Z | 2021-07-22T02:41:15.000Z | from .fielddomain import FieldDomain
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee64dddfe5ae1e61b55035657e17fffac7f79181 | 1,499 | py | Python | topper/tests/unit/test_parser.py | AzemaBaptiste/topper | 8ecd13fa56b8a37130ce5f8a59df79871856a12d | [
"MIT"
] | null | null | null | topper/tests/unit/test_parser.py | AzemaBaptiste/topper | 8ecd13fa56b8a37130ce5f8a59df79871856a12d | [
"MIT"
] | null | null | null | topper/tests/unit/test_parser.py | AzemaBaptiste/topper | 8ecd13fa56b8a37130ce5f8a59df79871856a12d | [
"MIT"
] | null | null | null | import unittest
from topper.utils.parser import create_parser
class ParserTest(unittest.TestCase):
def setUp(self):
self.parser = create_parser()
def test_arguments_no_mode(self):
parsed = self.parser.parse_args(['--landing_folder', 'landing_folder',
... | 44.088235 | 113 | 0.615077 | 138 | 1,499 | 6.434783 | 0.231884 | 0.146396 | 0.189189 | 0.146396 | 0.721847 | 0.721847 | 0.721847 | 0.721847 | 0.721847 | 0.721847 | 0 | 0 | 0.260173 | 1,499 | 33 | 114 | 45.424242 | 0.800721 | 0 | 0 | 0.4 | 0 | 0 | 0.234823 | 0.044029 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0.16 | false | 0 | 0.08 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee89efc6623c802da5cfe13e1d314d999686c3a1 | 3,972 | py | Python | GeneratorInterface/EvtGenInterface/python/EvtGenSetting_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | GeneratorInterface/EvtGenInterface/python/EvtGenSetting_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | GeneratorInterface/EvtGenInterface/python/EvtGenSetting_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
EvtGenExtraParticles = cms.vstring(#'absPDGCode:new = aliasName antiName spin charge colour m0 mWidth mMin mMax tau0'
'300553:new = 300553 -300553 1 0 0 1.0579400e+01 2.0500001e-02 10.5584 10.6819 0.0000000e+00', # forcing upsilon(4s) to be above b0b0bar and bpbm threshold... | 88.266667 | 185 | 0.689325 | 820 | 3,972 | 3.339024 | 0.19878 | 0.200511 | 0.245069 | 0.09496 | 0.439007 | 0.362308 | 0.362308 | 0.362308 | 0.362308 | 0.362308 | 0 | 0.699455 | 0.168177 | 3,972 | 44 | 186 | 90.272727 | 0.129237 | 0.042044 | 0 | 0.243902 | 0 | 0.95122 | 0.894557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9980b46ae8c99355d9463d3b22e35a5f279eabd | 24 | py | Python | test/demoply/__init__.py | liaoxiong3x/pyspark | 2a16ad495780b1b37f5dc571cb7ea11260765366 | [
"Apache-2.0"
] | null | null | null | test/demoply/__init__.py | liaoxiong3x/pyspark | 2a16ad495780b1b37f5dc571cb7ea11260765366 | [
"Apache-2.0"
] | null | null | null | test/demoply/__init__.py | liaoxiong3x/pyspark | 2a16ad495780b1b37f5dc571cb7ea11260765366 | [
"Apache-2.0"
] | null | null | null | from .lexer import lexer | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c99884e84521d6d23dd48ce5e78d66be7ef322b5 | 155 | py | Python | gibbs/main_page.py | flamholz/equilibrator | 80521c3a2cabf7fd5a8f1be53faed801478be6cc | [
"MIT"
] | null | null | null | gibbs/main_page.py | flamholz/equilibrator | 80521c3a2cabf7fd5a8f1be53faed801478be6cc | [
"MIT"
] | null | null | null | gibbs/main_page.py | flamholz/equilibrator | 80521c3a2cabf7fd5a8f1be53faed801478be6cc | [
"MIT"
] | null | null | null | from django.shortcuts import render_to_response
def MainPage(request):
"""Renders the landing page."""
return render_to_response('main.html', {}) | 25.833333 | 47 | 0.735484 | 20 | 155 | 5.5 | 0.85 | 0.145455 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141935 | 155 | 6 | 48 | 25.833333 | 0.827068 | 0.16129 | 0 | 0 | 0 | 0 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a00fac6b757ffd4bc0a23d7c0b7c17b4f734b1bf | 33 | py | Python | yt_xarray/accessor/__init__.py | chrishavlin/yt_xarray | 5cf9a68544406e13ae8a30f40cf2e04abd99ec7a | [
"MIT"
] | null | null | null | yt_xarray/accessor/__init__.py | chrishavlin/yt_xarray | 5cf9a68544406e13ae8a30f40cf2e04abd99ec7a | [
"MIT"
] | 1 | 2022-03-23T15:50:29.000Z | 2022-03-23T20:48:34.000Z | yt_xarray/accessor/__init__.py | chrishavlin/yt_xarray | 5cf9a68544406e13ae8a30f40cf2e04abd99ec7a | [
"MIT"
] | null | null | null | from .accessor import YtAccessor
| 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 |
4e4c92957622ec3c274f9e35a1f6661058956c88 | 36 | py | Python | bot/__init__.py | KatoStoelen/CS2-Jarhead | c8f92f4e776ab3881719f0d6f798c8c8db6c1224 | [
"MIT"
] | 7 | 2018-02-23T07:17:55.000Z | 2021-04-28T09:49:10.000Z | bot/__init__.py | KatoStoelen/CS2-Jarhead | c8f92f4e776ab3881719f0d6f798c8c8db6c1224 | [
"MIT"
] | null | null | null | bot/__init__.py | KatoStoelen/CS2-Jarhead | c8f92f4e776ab3881719f0d6f798c8c8db6c1224 | [
"MIT"
] | 18 | 2018-02-13T07:42:54.000Z | 2019-09-15T21:03:03.000Z | # re-export
from .main import MyBot
| 12 | 23 | 0.75 | 6 | 36 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 24 | 18 | 0.9 | 0.25 | 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 |
4e715c83ba3cbac19f8823476d31f8075bf5268c | 30 | py | Python | mods/libvis_mods/project-templates/sandbox/packagedMod/back/__init__.py | danlkv/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | null | null | null | mods/libvis_mods/project-templates/sandbox/packagedMod/back/__init__.py | danlkv/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | 3 | 2019-11-24T21:03:39.000Z | 2019-12-08T04:58:07.000Z | mods/libvis_mods/project-templates/sandbox/packagedMod/back/__init__.py | DaniloZZZ/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | null | null | null | from .main import packagedMod
| 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 |
4ea47e40046c34f8a55b666d120028fed24801c7 | 46 | py | Python | sumo_docker_pipeline/commons/__init__.py | Kensuke-Mitsuzawa/sumo_docker_pipeline | b16c7e0da4938bf813f2af2ed667887b4f9a6298 | [
"MIT"
] | null | null | null | sumo_docker_pipeline/commons/__init__.py | Kensuke-Mitsuzawa/sumo_docker_pipeline | b16c7e0da4938bf813f2af2ed667887b4f9a6298 | [
"MIT"
] | 14 | 2021-05-23T14:16:21.000Z | 2021-12-05T21:59:56.000Z | sumo_docker_pipeline/commons/__init__.py | Kensuke-Mitsuzawa/sumo_docker_pipeline | b16c7e0da4938bf813f2af2ed667887b4f9a6298 | [
"MIT"
] | 1 | 2021-12-31T15:10:20.000Z | 2021-12-31T15:10:20.000Z | from .sumo_config_obj import SumoConfigObject
| 23 | 45 | 0.891304 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
14c66e108a97b03b0e6d24eb04dd8099192dcd89 | 118 | py | Python | vjcascades/__init__.py | maxim-borisyak/viola-jones | f483e2d833f038317239028dcb0ac1cea88317f3 | [
"MIT"
] | null | null | null | vjcascades/__init__.py | maxim-borisyak/viola-jones | f483e2d833f038317239028dcb0ac1cea88317f3 | [
"MIT"
] | null | null | null | vjcascades/__init__.py | maxim-borisyak/viola-jones | f483e2d833f038317239028dcb0ac1cea88317f3 | [
"MIT"
] | null | null | null | try:
from .theanoimpl import ViolaJonesBoost
except ImportError:
pass
from .numpyimpl import LightViolaJonesBoost | 19.666667 | 43 | 0.830508 | 12 | 118 | 8.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 6 | 43 | 19.666667 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 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 |
092d5268fc13b27265c5e236de930cb4e229d112 | 142 | py | Python | kaneda/queues/__init__.py | APSL/kaneda | 739db48588d2237dd7710b16f23921d489182868 | [
"MIT"
] | 59 | 2016-05-03T20:17:59.000Z | 2019-09-05T18:35:21.000Z | kaneda/queues/__init__.py | APSL/kaneda | 739db48588d2237dd7710b16f23921d489182868 | [
"MIT"
] | 2 | 2018-07-25T21:51:18.000Z | 2019-07-31T22:51:09.000Z | kaneda/queues/__init__.py | APSL/kaneda | 739db48588d2237dd7710b16f23921d489182868 | [
"MIT"
] | 11 | 2016-05-20T19:07:46.000Z | 2021-09-10T17:43:58.000Z | from .base import BaseQueue # NOQA
from .celery import CeleryQueue # NOQA
from .rq import RQQueue # NOQA
from .zmq import ZMQQueue # NOQA
| 28.4 | 39 | 0.746479 | 20 | 142 | 5.3 | 0.55 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 142 | 4 | 40 | 35.5 | 0.929825 | 0.133803 | 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 |
093a389f2c5bfbbc9ec9e47c2525e1567c30c772 | 93 | py | Python | datasets/__init__.py | db434/nn-restrict | bc46725d01db9555e1cd9f2068b25a1dee8912ce | [
"MIT"
] | null | null | null | datasets/__init__.py | db434/nn-restrict | bc46725d01db9555e1cd9f2068b25a1dee8912ce | [
"MIT"
] | null | null | null | datasets/__init__.py | db434/nn-restrict | bc46725d01db9555e1cd9f2068b25a1dee8912ce | [
"MIT"
] | null | null | null | from .MNIST import *
from .Cifar10 import *
from .ImageNet import *
from .WikiText2 import *
| 18.6 | 24 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.172043 | 93 | 4 | 25 | 23.25 | 0.857143 | 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 |
095022e608c21931e0903e9aa202e191f107d5df | 1,191 | py | Python | graphicle/_base.py | jacanchaplais/phenograph | 120768f1e512fa7df6a688a718426e7edf0989b4 | [
"BSD-3-Clause"
] | 2 | 2022-01-11T12:59:44.000Z | 2022-01-11T13:02:49.000Z | graphicle/_base.py | jacanchaplais/phenograph | 120768f1e512fa7df6a688a718426e7edf0989b4 | [
"BSD-3-Clause"
] | 25 | 2022-01-10T11:57:43.000Z | 2022-02-21T17:08:54.000Z | graphicle/_base.py | jacanchaplais/graphicle | 120768f1e512fa7df6a688a718426e7edf0989b4 | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC, abstractmethod
class ArrayBase(ABC):
@property
@abstractmethod
def data(self):
pass
class ParticleBase(ABC):
@property
@abstractmethod
def pdg(self):
pass
@property
@abstractmethod
def pmu(self):
pass
@property
@abstractmetho... | 14.8875 | 35 | 0.549958 | 107 | 1,191 | 6.084112 | 0.299065 | 0.365591 | 0.345622 | 0.215054 | 0.522273 | 0.248848 | 0.248848 | 0 | 0 | 0 | 0 | 0 | 0.321579 | 1,191 | 79 | 36 | 15.075949 | 0.805693 | 0.262804 | 0 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.214286 | 0.02381 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
11acc784400f6163d8887434bad0325e0c691270 | 76 | py | Python | PathPlanning/PotentialField/__init__.py | 0aqz0/Robotics-Notebook | f94dfa1f1a76e6148e073cf0b3929975628d6f3c | [
"MIT"
] | 13 | 2019-07-27T15:39:27.000Z | 2022-01-07T15:59:15.000Z | PathPlanning/PotentialField/__init__.py | 0aqz0/Robotics-Notebook | f94dfa1f1a76e6148e073cf0b3929975628d6f3c | [
"MIT"
] | null | null | null | PathPlanning/PotentialField/__init__.py | 0aqz0/Robotics-Notebook | f94dfa1f1a76e6148e073cf0b3929975628d6f3c | [
"MIT"
] | 4 | 2018-12-12T02:13:33.000Z | 2021-10-06T06:05:07.000Z | from PathPlanning.PotentialField.PotentialField import PotentialFieldPlanner | 76 | 76 | 0.934211 | 6 | 76 | 11.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 76 | 1 | 76 | 76 | 0.972603 | 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 |
11b06e58f23afc832d13c2d62cde460c55563e14 | 70,926 | py | Python | sql/snsql/sql/parser/SqlSmallLexer.py | shlomihod/smartnoise-sdk | 1131fed432027c15caa5182d6da00286514efd00 | [
"MIT"
] | 56 | 2021-02-21T19:45:47.000Z | 2022-03-20T16:45:56.000Z | sql/snsql/sql/parser/SqlSmallLexer.py | shlomihod/smartnoise-sdk | 1131fed432027c15caa5182d6da00286514efd00 | [
"MIT"
] | 87 | 2021-02-20T20:43:49.000Z | 2022-03-31T16:24:46.000Z | sql/snsql/sql/parser/SqlSmallLexer.py | shlomihod/smartnoise-sdk | 1131fed432027c15caa5182d6da00286514efd00 | [
"MIT"
] | 17 | 2021-02-18T18:47:09.000Z | 2022-03-01T06:44:17.000Z | # Generated from SqlSmall.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u00ac")
buf.write("\u05f6\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5... | 65.550832 | 103 | 0.606096 | 14,357 | 70,926 | 2.986557 | 0.141185 | 0.075657 | 0.053804 | 0.057186 | 0.290709 | 0.253113 | 0.105998 | 0.087481 | 0.082723 | 0.071249 | 0 | 0.376725 | 0.141641 | 70,926 | 1,081 | 104 | 65.611471 | 0.327579 | 0.00055 | 0 | 0.003763 | 1 | 0.629351 | 0.66164 | 0.631336 | 0.000941 | 0 | 0 | 0 | 0 | 1 | 0.001881 | false | 0 | 0.003763 | 0 | 0.174976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11fc1b794bef53a568ca76bada9926369d7726b8 | 7,894 | py | Python | code/utils/nn_arch.py | krishnakalyan3/MixtureOfExperts | ec43e312b3b3abddf0bd7281535842e73268b771 | [
"MIT"
] | 16 | 2017-08-10T04:22:13.000Z | 2021-12-10T14:00:19.000Z | code/utils/nn_arch.py | krishnakalyan3/MixtureOfExperts | ec43e312b3b3abddf0bd7281535842e73268b771 | [
"MIT"
] | null | null | null | code/utils/nn_arch.py | krishnakalyan3/MixtureOfExperts | ec43e312b3b3abddf0bd7281535842e73268b771 | [
"MIT"
] | 10 | 2017-08-27T20:11:13.000Z | 2021-08-09T00:38:36.000Z |
from keras.layers import Dense, Input, merge, Merge, Dropout, MaxPooling2D, Flatten, Conv2D,\
AveragePooling2D, ZeroPadding2D, Lambda, Activation
from keras.models import Model, Sequential
from keras.layers.normalization import BatchNormalization
import numpy as np
import keras
from keras.models import Sequential
... | 42.213904 | 111 | 0.603623 | 954 | 7,894 | 4.912998 | 0.121593 | 0.121186 | 0.058246 | 0.044165 | 0.848731 | 0.826755 | 0.770429 | 0.727331 | 0.709622 | 0.68594 | 0 | 0.046257 | 0.246896 | 7,894 | 187 | 112 | 42.213904 | 0.742136 | 0.015835 | 0 | 0.686275 | 0 | 0 | 0.077676 | 0.021641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071895 | false | 0 | 0.071895 | 0 | 0.215686 | 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 |
11fd952eafd9395aed7d61e97427bc02a72ccef9 | 1,817 | py | Python | rubus/device.py | kjuvi/rubus-cli | 4ce8b35d2b83b9d7262fa591f161d3987dd8224e | [
"MIT"
] | null | null | null | rubus/device.py | kjuvi/rubus-cli | 4ce8b35d2b83b9d7262fa591f161d3987dd8224e | [
"MIT"
] | null | null | null | rubus/device.py | kjuvi/rubus-cli | 4ce8b35d2b83b9d7262fa591f161d3987dd8224e | [
"MIT"
] | null | null | null | import rubus.http as http
import requests
def list(config):
r = requests.get(config.baseURL + '/device', headers=config.headers)
if r.status_code == 200:
return http.handle_response(r.json())
print("\nError: ", r.json()['error'])
def get(config, device_id):
r = requests.get(config.baseURL +... | 28.390625 | 85 | 0.593836 | 228 | 1,817 | 4.631579 | 0.149123 | 0.090909 | 0.125947 | 0.145833 | 0.892045 | 0.851326 | 0.747159 | 0.747159 | 0.747159 | 0.747159 | 0 | 0.01513 | 0.236103 | 1,817 | 63 | 86 | 28.84127 | 0.745677 | 0 | 0 | 0.547619 | 0 | 0 | 0.124449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.047619 | 0 | 0.380952 | 0.238095 | 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 |
e10d8005f3f3c732db379ae13daedb44da343d00 | 168 | py | Python | Scraper/forms.py | FadedCoder/AnimeScraperGUI | b01ffdcb7aee81340f0e0643bffa4c9891c369d6 | [
"MIT"
] | 3 | 2017-08-13T15:28:06.000Z | 2020-04-21T22:14:36.000Z | Scraper/forms.py | FadedCoder/AnimeScraperGUI | b01ffdcb7aee81340f0e0643bffa4c9891c369d6 | [
"MIT"
] | 2 | 2017-07-24T18:30:22.000Z | 2017-11-08T16:47:57.000Z | Scraper/forms.py | FadedCoder/AnimeScraperGUI | b01ffdcb7aee81340f0e0643bffa4c9891c369d6 | [
"MIT"
] | 2 | 2017-07-22T19:29:22.000Z | 2020-08-12T14:32:50.000Z | from django import forms
class NameForm(forms.Form):
username = forms.CharField(label="Username", max_length=30)
password = forms.CharField(label="Password")
| 24 | 63 | 0.744048 | 21 | 168 | 5.904762 | 0.666667 | 0.225806 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.136905 | 168 | 6 | 64 | 28 | 0.841379 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
01041cd8e514123f480124830f10f0ee8d8ae4f4 | 55 | py | Python | wsgi.py | mark-watson/hy-lisp-heroku-starter-project | b0c5194f1a0441a2c6e70768c09ddbbb23ac5e16 | [
"Apache-2.0"
] | 4 | 2020-10-16T08:20:53.000Z | 2022-03-20T22:07:33.000Z | wsgi.py | mark-watson/hy-lisp-heroku-starter-project | b0c5194f1a0441a2c6e70768c09ddbbb23ac5e16 | [
"Apache-2.0"
] | null | null | null | wsgi.py | mark-watson/hy-lisp-heroku-starter-project | b0c5194f1a0441a2c6e70768c09ddbbb23ac5e16 | [
"Apache-2.0"
] | 2 | 2020-10-16T08:20:55.000Z | 2021-05-08T17:54:21.000Z | import hy
import flask_test
from flask_test import app
| 13.75 | 26 | 0.854545 | 10 | 55 | 4.5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 27 | 18.333333 | 0.957447 | 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 |
01685867c2e83da83ca0d78ad4a8cf8a7cf1dc28 | 158 | py | Python | examples/more/ED/24orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | examples/more/ED/24orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | examples/more/ED/24orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import sys
from edrixs.fock_basis import write_fock_dec_by_N
if __name__ == "__main__":
write_fock_dec_by_N(24, 12, "fock_i.in")
| 19.75 | 50 | 0.746835 | 29 | 158 | 3.448276 | 0.724138 | 0.18 | 0.24 | 0.28 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 158 | 7 | 51 | 22.571429 | 0.705882 | 0.126582 | 0 | 0 | 0 | 0 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0180ac36c5e41ae0c08bd69d2aa326a4e88a08ca | 179 | py | Python | src/prefect/environments/execution/dask/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | src/prefect/environments/execution/dask/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | src/prefect/environments/execution/dask/__init__.py | ngriffiths13/prefect | 7f5613abcb182494b7dc12159277c3bc5f3c9898 | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | from prefect.environments.execution.dask.k8s import DaskKubernetesEnvironment
from prefect.environments.execution.dask.cloud_provider import (
DaskCloudProviderEnvironment,
)
| 35.8 | 77 | 0.860335 | 17 | 179 | 9 | 0.647059 | 0.143791 | 0.300654 | 0.418301 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.078212 | 179 | 4 | 78 | 44.75 | 0.921212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0192a38b207c7c980cbdc58bb4176f0c752d3267 | 26 | py | Python | exampleWorkspace/example1.py | discretegames/f5anything | 4751657d3595f6c632c9890be618be5f0c0433b8 | [
"MIT"
] | 3 | 2022-02-08T14:22:44.000Z | 2022-03-06T15:14:00.000Z | exampleWorkspace/example1.py | discretegames/f5anything | 4751657d3595f6c632c9890be618be5f0c0433b8 | [
"MIT"
] | 1 | 2022-02-08T14:26:18.000Z | 2022-02-15T04:19:48.000Z | exampleWorkspace/example1.py | discretegames/f5anything | 4751657d3595f6c632c9890be618be5f0c0433b8 | [
"MIT"
] | 1 | 2022-02-08T14:17:11.000Z | 2022-02-08T14:17:11.000Z | print("Python Example 1")
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.115385 | 26 | 1 | 26 | 26 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6d7f42544026df461378f6680fe3526b3f8e97cf | 65 | py | Python | gauss/__init__.py | kkloberdanz/pygauss | 4ce9f62526083aa50dec077664da51e9d49181ab | [
"MIT"
] | null | null | null | gauss/__init__.py | kkloberdanz/pygauss | 4ce9f62526083aa50dec077664da51e9d49181ab | [
"MIT"
] | 3 | 2020-10-29T01:56:02.000Z | 2020-11-08T03:35:50.000Z | gauss/__init__.py | kkloberdanz/pygauss | 4ce9f62526083aa50dec077664da51e9d49181ab | [
"MIT"
] | null | null | null | from .vec import Vec
from . import estimator
from . import error
| 16.25 | 23 | 0.769231 | 10 | 65 | 5 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 24 | 21.666667 | 0.943396 | 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 |
6d93d66b82137ccc565cbd2d781af9128905701c | 210 | py | Python | nmigen/compat/fhdl/conv_output.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/compat/fhdl/conv_output.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/compat/fhdl/conv_output.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.compat.fhdl.conv_output import *
import warnings
warnings.warn("instead of nmigen.compat.fhdl.conv_output, use amaranth.compat.fhdl.conv_output",
DeprecationWarning, stacklevel=2)
| 30 | 96 | 0.771429 | 27 | 210 | 5.888889 | 0.592593 | 0.188679 | 0.264151 | 0.377358 | 0.352201 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.138095 | 210 | 6 | 97 | 35 | 0.872928 | 0 | 0 | 0 | 0 | 0 | 0.37619 | 0.3 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6dba1838551f57375db83115e7acc4e845885d73 | 60 | py | Python | src/pycropml/transpiler/antlr_py/csharp/csharp_generate_tree.py | brichet/PyCrop2ML | 7177996f72a8d95fdbabb772a16f1fd87b1d033e | [
"MIT"
] | 5 | 2020-06-21T18:58:04.000Z | 2022-01-29T21:32:28.000Z | src/pycropml/transpiler/antlr_py/csharp/csharp_generate_tree.py | brichet/PyCrop2ML | 7177996f72a8d95fdbabb772a16f1fd87b1d033e | [
"MIT"
] | 27 | 2018-12-04T15:35:44.000Z | 2022-03-11T08:25:03.000Z | src/pycropml/transpiler/antlr_py/csharp/csharp_generate_tree.py | brichet/PyCrop2ML | 7177996f72a8d95fdbabb772a16f1fd87b1d033e | [
"MIT"
] | 7 | 2019-04-20T02:25:22.000Z | 2021-11-04T07:52:35.000Z |
def generate(parser):
return parser.compilation_unit() | 15 | 36 | 0.75 | 7 | 60 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 4 | 36 | 15 | 0.862745 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
09649335df0b622b02defb259245362497d5e603 | 86 | py | Python | pipe_anchorages/dirnames.py | GlobalFishingWatch/anchorages_pipeline | 88764545b693bfb65fc7a7f62a344fb2afbc3d97 | [
"Apache-2.0"
] | 3 | 2017-12-22T10:19:15.000Z | 2020-04-20T10:28:43.000Z | pipe_anchorages/dirnames.py | GlobalFishingWatch/anchorages_pipeline | 88764545b693bfb65fc7a7f62a344fb2afbc3d97 | [
"Apache-2.0"
] | 32 | 2017-12-06T13:01:46.000Z | 2022-03-30T22:52:04.000Z | pipe_anchorages/dirnames.py | GlobalFishingWatch/anchorages_pipeline | 88764545b693bfb65fc7a7f62a344fb2afbc3d97 | [
"Apache-2.0"
] | 3 | 2018-01-21T14:07:58.000Z | 2021-07-28T16:02:20.000Z | import os
this_dir = os.path.dirname(__file__)
parent_dir = os.path.dirname(this_dir) | 21.5 | 38 | 0.790698 | 15 | 86 | 4.066667 | 0.533333 | 0.229508 | 0.295082 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 4 | 38 | 21.5 | 0.782051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0978b3da8ceec6f4d1803d0e86e3141b122002ab | 21 | py | Python | plugins/pelican-knitr/__init__.py | aschleg/aaronschlegel.me | 2f2e143218445da0b6298671c67f9c4afa055d59 | [
"MIT"
] | 2 | 2018-02-19T00:18:17.000Z | 2020-01-17T15:11:31.000Z | plugins/pelican-knitr/__init__.py | aschleg/aaronschlegel.me | 2f2e143218445da0b6298671c67f9c4afa055d59 | [
"MIT"
] | 1 | 2018-01-26T00:11:30.000Z | 2018-01-26T00:11:30.000Z | plugins/pelican-knitr/__init__.py | aschleg/aaronschlegel.me | 2f2e143218445da0b6298671c67f9c4afa055d59 | [
"MIT"
] | null | null | null | from .knitr import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
097bc0b00201bca928361ba4eea949b1de16be24 | 113 | py | Python | office365/sharepoint/lists/document_library_information.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/lists/document_library_information.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/lists/document_library_information.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class DocumentLibraryInformation(ClientValue):
pass
| 18.833333 | 54 | 0.840708 | 11 | 113 | 8.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.115044 | 113 | 5 | 55 | 22.6 | 0.91 | 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 |
09a8bb8796fb87da17204d605c93c303fc317a7e | 66 | py | Python | pytest_examples/test_some_pass.py | ds2643/runnerpy | 44b802c34c8a4c29083365186a7c80bb703998bc | [
"MIT"
] | 2 | 2017-12-09T13:31:08.000Z | 2017-12-30T06:28:24.000Z | pytest_examples/test_some_pass.py | ds2643/runnerpy | 44b802c34c8a4c29083365186a7c80bb703998bc | [
"MIT"
] | null | null | null | pytest_examples/test_some_pass.py | ds2643/runnerpy | 44b802c34c8a4c29083365186a7c80bb703998bc | [
"MIT"
] | null | null | null | def test_bar():
assert False
def test_foo():
assert True
| 11 | 16 | 0.651515 | 10 | 66 | 4.1 | 0.7 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257576 | 66 | 5 | 17 | 13.2 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09b767e9e2e19397225b0ebfc468ad4b2871edf3 | 3,830 | py | Python | tests/test_context_consumer.py | chassing/uplink-httpx | 295f2a1728eff2c27aeffbba277eb0fba46b1f8e | [
"MIT"
] | 9 | 2020-01-09T16:49:21.000Z | 2021-04-23T13:59:52.000Z | tests/test_context_consumer.py | chassing/uplink-httpx | 295f2a1728eff2c27aeffbba277eb0fba46b1f8e | [
"MIT"
] | 1 | 2020-10-01T07:36:36.000Z | 2020-10-01T07:36:36.000Z | tests/test_context_consumer.py | chassing/uplink-httpx | 295f2a1728eff2c27aeffbba277eb0fba46b1f8e | [
"MIT"
] | 2 | 2020-03-26T14:12:35.000Z | 2021-04-23T13:59:53.000Z | import pytest
from uplink_httpx import HttpxClient
QUERY_PARAMS = [
#
({"p": None}, {}),
({"p": "test"}, {"param": "test"}),
({"p": ["a", "b", 1]}, {"param": ["a", "b", "1"]}),
]
@pytest.mark.asyncio
async def test_consumer_header(client):
async with client as session:
r = await session.g... | 32.735043 | 79 | 0.659008 | 481 | 3,830 | 5.162162 | 0.118503 | 0.16915 | 0.078534 | 0.082159 | 0.889247 | 0.889247 | 0.854611 | 0.787757 | 0.770439 | 0.715264 | 0 | 0.001624 | 0.196345 | 3,830 | 116 | 80 | 33.017241 | 0.805068 | 0.008094 | 0 | 0.689655 | 0 | 0 | 0.069357 | 0 | 0 | 0 | 0 | 0 | 0.287356 | 1 | 0 | false | 0 | 0.022989 | 0 | 0.022989 | 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 |
115ccb575d621adc9971757656e5bcaed99b58f9 | 87 | py | Python | calculo_multa.py | vinicioscunha/CalculoDePresta-o | f6ecb7d1ec93990f83a96cce11f2e2289098322e | [
"MIT"
] | null | null | null | calculo_multa.py | vinicioscunha/CalculoDePresta-o | f6ecb7d1ec93990f83a96cce11f2e2289098322e | [
"MIT"
] | null | null | null | calculo_multa.py | vinicioscunha/CalculoDePresta-o | f6ecb7d1ec93990f83a96cce11f2e2289098322e | [
"MIT"
] | null | null | null | def calculo_multa(valor_prestacao):
multa = valor_prestacao * 0.03
return multa | 29 | 35 | 0.747126 | 12 | 87 | 5.166667 | 0.666667 | 0.322581 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.183908 | 87 | 3 | 36 | 29 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fec5a2aa73d9ab6c4fcd28a07418017a3c083324 | 11,570 | py | Python | office_tracker/leave_tracker/tests/views_test.py | tanvir002700/tracker | 567c3be2f36ac120fb412c06126cbd8fa72be4b9 | [
"MIT"
] | null | null | null | office_tracker/leave_tracker/tests/views_test.py | tanvir002700/tracker | 567c3be2f36ac120fb412c06126cbd8fa72be4b9 | [
"MIT"
] | 11 | 2020-06-05T18:04:42.000Z | 2022-03-11T23:19:32.000Z | office_tracker/leave_tracker/tests/views_test.py | tanvir002700/tracker | 567c3be2f36ac120fb412c06126cbd8fa72be4b9 | [
"MIT"
] | null | null | null | from datetime import datetime
from django.urls import reverse
from django.test import TestCase, RequestFactory
from django.contrib.messages import get_messages
from accounts.models import User
from leave_tracker.models import Leave, Season
class TestMixing(object):
def setUp(self):
self.factory = Request... | 48.208333 | 118 | 0.593086 | 1,201 | 11,570 | 5.517902 | 0.085762 | 0.064886 | 0.065942 | 0.057341 | 0.889392 | 0.872944 | 0.83703 | 0.834465 | 0.832353 | 0.831447 | 0 | 0.009937 | 0.286776 | 11,570 | 239 | 119 | 48.410042 | 0.793141 | 0 | 0 | 0.648649 | 0 | 0 | 0.11841 | 0.038462 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.124324 | false | 0.010811 | 0.032432 | 0 | 0.189189 | 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 |
3a218e15a213dd070d51b9dd30e25d4f3ff6a612 | 4,865 | py | Python | src/verbose_print/vprint.py | ZachElkins/VPrint | 3f369f7e615594a42ae8c1f274d7d71adbb62319 | [
"MIT"
] | 1 | 2022-01-08T20:57:14.000Z | 2022-01-08T20:57:14.000Z | src/verbose_print/vprint.py | ZachElkins/VPrint | 3f369f7e615594a42ae8c1f274d7d71adbb62319 | [
"MIT"
] | null | null | null | src/verbose_print/vprint.py | ZachElkins/VPrint | 3f369f7e615594a42ae8c1f274d7d71adbb62319 | [
"MIT"
] | null | null | null | from verbose_print.styles import Styles
from verbose_print.style_decorators import PrintStyle
from typing import Optional
def vprint(
*args,
verbose: bool = False,
end: str = "\n",
underline: bool = False,
bold: bool = False,
color: Optional[Styles] = None
):
"""
... | 27.027778 | 70 | 0.617677 | 620 | 4,865 | 4.841935 | 0.106452 | 0.05996 | 0.067955 | 0.047968 | 0.83944 | 0.83944 | 0.83944 | 0.83944 | 0.810127 | 0.810127 | 0 | 0.000286 | 0.28037 | 4,865 | 179 | 71 | 27.178771 | 0.857184 | 0.48407 | 0 | 0.595506 | 0 | 0 | 0.007613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089888 | false | 0 | 0.033708 | 0 | 0.134831 | 0.134831 | 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 |
3a52ff10cfead73d5992300bc437aa16d3c81b75 | 30 | py | Python | binding/python/mc_rbdyn_urdf/__init__.py | RyodoTanaka/mc_rbdyn_urdf | a19b05b10246aaaeff886f77b2c20de4af3ddc33 | [
"BSD-2-Clause"
] | null | null | null | binding/python/mc_rbdyn_urdf/__init__.py | RyodoTanaka/mc_rbdyn_urdf | a19b05b10246aaaeff886f77b2c20de4af3ddc33 | [
"BSD-2-Clause"
] | null | null | null | binding/python/mc_rbdyn_urdf/__init__.py | RyodoTanaka/mc_rbdyn_urdf | a19b05b10246aaaeff886f77b2c20de4af3ddc33 | [
"BSD-2-Clause"
] | null | null | null | from . mc_rbdyn_urdf import *
| 15 | 29 | 0.766667 | 5 | 30 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.84 | 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 |
3a6989aec34f8574a7d06c9a7b816565bed3a270 | 296 | py | Python | tests/template/__init__.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | tests/template/__init__.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | tests/template/__init__.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | from . import test_text_node
from . import test_variable_node
from . import test_scope
from . import test_join_node
from . import test_sentence_node
from . import test_for_node
from . import test_if_node
from . import test_member_node
from . import test_template
from . import test_sanitize_node
| 26.909091 | 32 | 0.831081 | 48 | 296 | 4.75 | 0.291667 | 0.438596 | 0.614035 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 296 | 10 | 33 | 29.6 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3a69d146da5a314989d28b9a93736cc3db3a6323 | 185 | py | Python | plopper/config.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | plopper/config.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | plopper/config.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | 1 | 2019-10-25T21:51:12.000Z | 2019-10-25T21:51:12.000Z | sourcefile = "/home/vinu/workspace/surf/surf-ytopt/OpenMP_benchmark/correlation/correlation.c"
outputdir = "/home/vinu/workspace/surf/surf-ytopt/experiments/exp-10"
compileoptions = ""
| 46.25 | 94 | 0.8 | 23 | 185 | 6.391304 | 0.652174 | 0.108844 | 0.231293 | 0.285714 | 0.408163 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.048649 | 185 | 3 | 95 | 61.666667 | 0.823864 | 0 | 0 | 0 | 0 | 0 | 0.724324 | 0.724324 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ab07e94534572b22f2cdb77f67ef5a2386555da | 166 | py | Python | quokka/core/app.py | mutita/FlaskPyCMS | cf87c7f2a55fc2df0be427764819b5df4d375520 | [
"MIT"
] | 1 | 2020-10-31T03:57:07.000Z | 2020-10-31T03:57:07.000Z | quokka/core/app.py | laborautonomo/quokka | d6e08f15e8b35ce69ea1f0c9c294d5141f34c53a | [
"MIT"
] | null | null | null | quokka/core/app.py | laborautonomo/quokka | d6e08f15e8b35ce69ea1f0c9c294d5141f34c53a | [
"MIT"
] | 2 | 2019-10-06T14:07:43.000Z | 2021-07-08T20:27:24.000Z | from flask import Flask, Blueprint
class QuokkaApp(Flask):
"""Implemented for future overriding"""
class QuokkaModule(Blueprint):
"for future overriding"
| 16.6 | 43 | 0.740964 | 18 | 166 | 6.833333 | 0.611111 | 0.146341 | 0.308943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 166 | 9 | 44 | 18.444444 | 0.891304 | 0.331325 | 0 | 0 | 0 | 0 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 0.5 | 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 | 0 | 0 | 1 | 1 | 0 | 6 |
a327980556db6b8044388feb6606191c38fa9107 | 41 | py | Python | teelib/compression/__init__.py | edg-l/teelib | 4ac4e82f440db706cff788d26eed8b465a489ced | [
"MIT"
] | null | null | null | teelib/compression/__init__.py | edg-l/teelib | 4ac4e82f440db706cff788d26eed8b465a489ced | [
"MIT"
] | 1 | 2018-11-14T21:38:35.000Z | 2019-04-29T09:34:42.000Z | teelib/compression/__init__.py | edg-l/teelib | 4ac4e82f440db706cff788d26eed8b465a489ced | [
"MIT"
] | null | null | null | from .varint import decompress, compress
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.944444 | 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 |
a397401950f9a1bc2e4da8d40176670ee3e01205 | 42 | py | Python | budgetme/test/types/conftest.py | poblouin/budgetme-rest-api | 74d9237bc7b0a118255a659029637c5ed1a8b7a1 | [
"MIT"
] | 2 | 2018-03-07T09:43:07.000Z | 2018-03-11T04:50:41.000Z | budgetme/test/types/conftest.py | poblouin/budgetme-rest-api | 74d9237bc7b0a118255a659029637c5ed1a8b7a1 | [
"MIT"
] | 13 | 2017-12-28T02:44:09.000Z | 2020-06-05T21:13:13.000Z | budgetme/test/types/conftest.py | poblouin/budgetme-rest-api | 74d9237bc7b0a118255a659029637c5ed1a8b7a1 | [
"MIT"
] | null | null | null | from budgetme.test.types.fixtures import * | 42 | 42 | 0.833333 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e7fa6de5880ee86083382a3683cd9c0d6f9c1d3 | 4,254 | py | Python | tests/test_zarr.py | ungarj/mapchete_xarray | e42b2f8f38871c415ba12de0299d30f5618227c9 | [
"MIT"
] | null | null | null | tests/test_zarr.py | ungarj/mapchete_xarray | e42b2f8f38871c415ba12de0299d30f5618227c9 | [
"MIT"
] | 8 | 2019-05-08T08:12:29.000Z | 2022-03-29T12:39:02.000Z | tests/test_zarr.py | ungarj/mapchete_xarray | e42b2f8f38871c415ba12de0299d30f5618227c9 | [
"MIT"
] | 1 | 2022-03-25T13:50:31.000Z | 2022-03-25T13:50:31.000Z | import dateutil
import json
from mapchete.io import fs_from_path
import os
from rasterio.crs import CRS
from tilematrix import TilePyramid
import zarr
from mapchete_xarray._zarr import initialize_zarr
def test_initialize_zarr(tmpdir):
out_path = os.path.join(tmpdir, "test.zarr")
tp = TilePyramid("geodetic")
... | 34.868852 | 85 | 0.511754 | 503 | 4,254 | 4.200795 | 0.202783 | 0.067676 | 0.045433 | 0.049692 | 0.808329 | 0.761003 | 0.761003 | 0.724562 | 0.669191 | 0.669191 | 0 | 0.059506 | 0.371885 | 4,254 | 121 | 86 | 35.157025 | 0.731287 | 0 | 0 | 0.736842 | 0 | 0 | 0.092854 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 1 | 0.017544 | false | 0 | 0.070175 | 0 | 0.087719 | 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 |
6e9d1a75d1951dacd74e789da36fbe128cace9e8 | 22,123 | py | Python | tests/test_global_muscle_tracking.py | Ipuch/bioptim | 5621e87fc60c0acfcfda89c920021387a1776a0e | [
"MIT"
] | 10 | 2020-04-17T14:49:47.000Z | 2020-09-14T13:05:26.000Z | tests/test_global_muscle_tracking.py | pariterre/BiorbdOptim | c3cc7d74ee4001e0da4c5eba3fabe5b9be97131c | [
"Apache-2.0"
] | 142 | 2020-04-08T14:41:43.000Z | 2020-09-30T00:55:00.000Z | tests/test_global_muscle_tracking.py | pariterre/BiorbdOptim | c3cc7d74ee4001e0da4c5eba3fabe5b9be97131c | [
"Apache-2.0"
] | 14 | 2020-03-31T13:46:29.000Z | 2020-09-17T17:14:56.000Z | """
Test for file IO
"""
import os
import pytest
import numpy as np
import biorbd_casadi as biorbd
from bioptim import OdeSolver
from .utils import TestUtils
@pytest.mark.parametrize("ode_solver", [OdeSolver.RK4, OdeSolver.COLLOCATION, OdeSolver.IRK])
def test_muscle_activations_and_states_tracking(ode_solver):
... | 43.549213 | 115 | 0.651178 | 3,057 | 22,123 | 4.537455 | 0.144259 | 0.081753 | 0.136256 | 0.17259 | 0.795545 | 0.788768 | 0.788768 | 0.788768 | 0.786605 | 0.779973 | 0 | 0.198185 | 0.207883 | 22,123 | 507 | 116 | 43.635108 | 0.593358 | 0.096868 | 0 | 0.554017 | 0 | 0 | 0.013672 | 0 | 0 | 0 | 0 | 0 | 0.34903 | 1 | 0.01108 | false | 0 | 0.027701 | 0 | 0.038781 | 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 |
42c365fef0fa960f3763dc6220c67d17a1505c45 | 3,535 | py | Python | battery_monitoring.test.py | clean-code-craft-tcq-1/current-ranges-python-DevadigaRahul | c135ef0020b5762c45235258e2dc3a394dd6f372 | [
"MIT"
] | null | null | null | battery_monitoring.test.py | clean-code-craft-tcq-1/current-ranges-python-DevadigaRahul | c135ef0020b5762c45235258e2dc3a394dd6f372 | [
"MIT"
] | null | null | null | battery_monitoring.test.py | clean-code-craft-tcq-1/current-ranges-python-DevadigaRahul | c135ef0020b5762c45235258e2dc3a394dd6f372 | [
"MIT"
] | null | null | null | import unittest
import battery_monitoring
class battery_monitoringTest(unittest.TestCase):
#Test for 'with_in_range' function
def test_with_in_range_for_min_minus_one(self):#(min-1)<(min)
self.assertFalse(battery_monitoring.with_in_range(19, 20, 30))
def test_with_in_range_for_max_plus_one(self):#(max)<(... | 46.513158 | 181 | 0.783593 | 527 | 3,535 | 4.806452 | 0.13852 | 0.14094 | 0.14094 | 0.208054 | 0.803395 | 0.750493 | 0.631267 | 0.54165 | 0.434662 | 0.283064 | 0 | 0.026513 | 0.093069 | 3,535 | 75 | 182 | 47.133333 | 0.763568 | 0.145686 | 0 | 0 | 0 | 0 | 0.027621 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | false | 0 | 0.044444 | 0 | 0.511111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6e0884439a1992ee303644d0946d94566064ae32 | 106 | py | Python | thesis-main/src/thesis/plotting/__init__.py | ric-95/tesis-repo | ff9aaeb3801371e0639d3fb1ffe14527c7d5b211 | [
"MIT"
] | null | null | null | thesis-main/src/thesis/plotting/__init__.py | ric-95/tesis-repo | ff9aaeb3801371e0639d3fb1ffe14527c7d5b211 | [
"MIT"
] | null | null | null | thesis-main/src/thesis/plotting/__init__.py | ric-95/tesis-repo | ff9aaeb3801371e0639d3fb1ffe14527c7d5b211 | [
"MIT"
] | null | null | null | from .contourplotter import ContourPlotter
from .contourvalidationplotter import ContourValidationPlotter
| 35.333333 | 62 | 0.90566 | 8 | 106 | 12 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 63 | 53 | 0.979592 | 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 |
6e204e5645262c889415ba5afa72685ec1870ddf | 155 | py | Python | 06-programing-languages/01-pythons/01-lang-features/01-introspection-codes/03_attr.py | jameszhan/notes-ml | c633d04e5443eab71bc3b27fff89d57b89d1786c | [
"Apache-2.0"
] | null | null | null | 06-programing-languages/01-pythons/01-lang-features/01-introspection-codes/03_attr.py | jameszhan/notes-ml | c633d04e5443eab71bc3b27fff89d57b89d1786c | [
"Apache-2.0"
] | null | null | null | 06-programing-languages/01-pythons/01-lang-features/01-introspection-codes/03_attr.py | jameszhan/notes-ml | c633d04e5443eab71bc3b27fff89d57b89d1786c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
print(hasattr.__doc__)
print(getattr.__doc__)
print(setattr.__doc__)
print(getattr(id, '__doc__'))
print(hasattr(id, '__doc__'))
| 17.222222 | 29 | 0.703226 | 20 | 155 | 4.45 | 0.45 | 0.359551 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.090323 | 155 | 8 | 30 | 19.375 | 0.624113 | 0.135484 | 0 | 0 | 0 | 0 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
2815da20ed37b03a35a9b585e1a50a4f036433c4 | 314 | py | Python | toolsaurus/application/exceptions.py | notoraptor/pysaurus | 3bf5fe8c15e0e0e580e5edaea05b4a1298641367 | [
"MIT"
] | null | null | null | toolsaurus/application/exceptions.py | notoraptor/pysaurus | 3bf5fe8c15e0e0e580e5edaea05b4a1298641367 | [
"MIT"
] | 4 | 2021-08-13T14:03:02.000Z | 2022-03-05T16:02:45.000Z | toolsaurus/application/exceptions.py | notoraptor/pysaurus | 3bf5fe8c15e0e0e580e5edaea05b4a1298641367 | [
"MIT"
] | null | null | null | from pysaurus.application.exceptions import PysaurusError
class UnknownVideoID(PysaurusError):
pass
class InvalidPageNumber(PysaurusError):
pass
class InvalidPageSize(PysaurusError):
pass
class MissingVideoNewTitle(PysaurusError):
pass
class UnknownVideoFilename(PysaurusError):
pass
| 14.272727 | 57 | 0.789809 | 26 | 314 | 9.538462 | 0.5 | 0.342742 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156051 | 314 | 21 | 58 | 14.952381 | 0.935849 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.454545 | 0.090909 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.