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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a947cf01c96f5ffb13f732e0be6099a776243c0 | 30 | py | Python | 2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s06a_s1.py | shawnduong/manimations | 1d36d9d1e7dff90a1a8da1e687ef442f750e29c5 | [
"MIT"
] | null | null | null | 2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s06a_s1.py | shawnduong/manimations | 1d36d9d1e7dff90a1a8da1e687ef442f750e29c5 | [
"MIT"
] | null | null | null | 2021-10-Python-SEA-ENGRSL-Workshops/Workshop_1-Hello-Python/code/s06a_s1.py | shawnduong/manimations | 1d36d9d1e7dff90a1a8da1e687ef442f750e29c5 | [
"MIT"
] | null | null | null | if condition:
...
else:
...
| 6 | 13 | 0.5 | 3 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 4 | 14 | 7.5 | 0.652174 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
1aa0cff336daf9476b9a792096111e75c0c69034 | 293 | py | Python | papers/admin.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 19 | 2016-06-17T23:36:27.000Z | 2020-01-13T16:41:55.000Z | papers/admin.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 13 | 2016-06-06T12:57:05.000Z | 2019-02-05T02:21:00.000Z | papers/admin.py | OmnesRes/prepub | c74c0e4953d3615afabf199936afca864f0a6238 | [
"MIT"
] | 7 | 2017-03-28T18:12:22.000Z | 2021-06-16T09:32:59.000Z | from django.contrib import admin
from .models import Article
from .models import Tag
from .models import Author
from .models import Affiliation
# Register your models here.
admin.site.register(Article)
admin.site.register(Tag)
admin.site.register(Author)
admin.site.register(Affiliation)
| 18.3125 | 32 | 0.805461 | 41 | 293 | 5.756098 | 0.341463 | 0.169492 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116041 | 293 | 15 | 33 | 19.533333 | 0.911197 | 0.088737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
46b8725f51e199fbc18177cdc743891ddd58c8ae | 161 | py | Python | lib/kango-framework-latest/kango/buildsteps/migrate.py | bachya/ynab-enhanced | c769de29c6b3bf2d6cbd2fd643813f29c6305d5d | [
"MIT"
] | 11 | 2015-10-02T19:17:16.000Z | 2020-11-08T06:02:33.000Z | lib/kango-framework-latest/kango/buildsteps/migrate.py | bachya/ynab-enhanced | c769de29c6b3bf2d6cbd2fd643813f29c6305d5d | [
"MIT"
] | 3 | 2015-06-08T15:31:18.000Z | 2017-04-26T00:15:58.000Z | lib/kango-framework-latest/kango/buildsteps/migrate.py | bachya/ynab-enhanced | c769de29c6b3bf2d6cbd2fd643813f29c6305d5d | [
"MIT"
] | 2 | 2017-04-16T01:15:29.000Z | 2019-01-31T03:38:06.000Z | from kango.buildsteps import BuildStepBase
class BuildStep(BuildStepBase):
def pre_pack(self, output_path, project_path, info, args):
pass
| 20.125 | 63 | 0.714286 | 19 | 161 | 5.894737 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 161 | 7 | 64 | 23 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
46bdbab1e70823c98314640536f5b3a288b1cea7 | 58 | py | Python | rdflib/tools/__init__.py | gromgull/rdflib | 7c90f646e3734ee6d3081b5d3f699f0f501f6a39 | [
"BSD-3-Clause"
] | 1,424 | 2015-01-04T13:10:22.000Z | 2022-03-29T15:12:38.000Z | lib/rdflib/tools/__init__.py | jesman/schemaorg | 6649c41e56a9724eaeed25dedf67736258f922bf | [
"Apache-2.0"
] | 1,148 | 2015-01-01T18:26:18.000Z | 2022-03-31T21:51:53.000Z | lib/rdflib/tools/__init__.py | jesman/schemaorg | 6649c41e56a9724eaeed25dedf67736258f922bf | [
"Apache-2.0"
] | 459 | 2015-01-03T14:41:34.000Z | 2022-03-14T22:06:47.000Z | """
Various commandline tools for working with RDFLib
"""
| 14.5 | 49 | 0.741379 | 7 | 58 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 3 | 50 | 19.333333 | 0.877551 | 0.844828 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46f48f75dc59652183db668c0860beade1a2dd97 | 151 | py | Python | apps/setor/models.py | emilioeiji/gestao_gbareru | 2f3d196c2f511910cba2857062725b817547896a | [
"CC0-1.0"
] | null | null | null | apps/setor/models.py | emilioeiji/gestao_gbareru | 2f3d196c2f511910cba2857062725b817547896a | [
"CC0-1.0"
] | null | null | null | apps/setor/models.py | emilioeiji/gestao_gbareru | 2f3d196c2f511910cba2857062725b817547896a | [
"CC0-1.0"
] | null | null | null | from django.db import models
class Setor(models.Model):
nome = models.CharField(max_length=100)
def __str__(self):
return self.nome
| 16.777778 | 43 | 0.695364 | 21 | 151 | 4.761905 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.211921 | 151 | 8 | 44 | 18.875 | 0.815126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2047a4b11c0a7907c58d096a3f19402bf2a15556 | 171 | py | Python | loserngainer.py | shivaneeshinde/nsetools | ce70d42e568e2b90932235c4fb4b46a2a2c35dc9 | [
"MIT"
] | null | null | null | loserngainer.py | shivaneeshinde/nsetools | ce70d42e568e2b90932235c4fb4b46a2a2c35dc9 | [
"MIT"
] | null | null | null | loserngainer.py | shivaneeshinde/nsetools | ce70d42e568e2b90932235c4fb4b46a2a2c35dc9 | [
"MIT"
] | null | null | null | from pprint import pprint
from nsetools import Nse
nse = Nse()
top_gainers = nse.get_top_gainers()
pprint(top_gainers)
top_losers = nse.get_top_losers()
pprint(top_losers) | 24.428571 | 35 | 0.807018 | 28 | 171 | 4.642857 | 0.321429 | 0.230769 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 171 | 7 | 36 | 24.428571 | 0.849673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6474eb87b516ebaab5dc89465104bd544413bdb8 | 271 | py | Python | pyvista/errors.py | sthagen/pyvista-pyvista | 450db9a8d8ad2feea78e10368c47d9aa0e575e65 | [
"MIT"
] | 25 | 2018-12-03T18:22:58.000Z | 2019-02-26T01:30:35.000Z | pyvista/errors.py | sthagen/pyvista | ffba268b285925eb6103c8ff5072fcf1c0212c53 | [
"MIT"
] | 108 | 2019-02-27T19:52:12.000Z | 2019-05-08T02:15:21.000Z | pyvista/errors.py | pyvista/vista | c49a6abae7cc62d242f12ec45a6b22b524db1ec8 | [
"MIT"
] | 8 | 2019-03-02T13:41:48.000Z | 2019-04-22T16:57:44.000Z | """Pyvista specific errors."""
class MissingDataError(ValueError):
"""Exception when data is missing, e.g. no active scalars can be set."""
class AmbiguousDataError(ValueError):
"""Exception when data is ambiguous, e.g. multiple active scalars can be set."""
| 27.1 | 84 | 0.719557 | 35 | 271 | 5.571429 | 0.628571 | 0.194872 | 0.235897 | 0.276923 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158672 | 271 | 9 | 85 | 30.111111 | 0.855263 | 0.612546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
649698024d82675b43f620aac830d0464660657d | 402 | py | Python | layer/Relu.py | thesouther/cnn_with_numpy | 1039ac75078a337391acbecba509bd43c4acac74 | [
"Apache-2.0"
] | 7 | 2020-04-21T09:47:05.000Z | 2022-01-14T13:08:37.000Z | layer/Relu.py | thesouther/cnn_with_numpy | 1039ac75078a337391acbecba509bd43c4acac74 | [
"Apache-2.0"
] | null | null | null | layer/Relu.py | thesouther/cnn_with_numpy | 1039ac75078a337391acbecba509bd43c4acac74 | [
"Apache-2.0"
] | 3 | 2020-04-22T14:32:25.000Z | 2022-01-05T05:16:47.000Z | import math
import numpy as np
# rule Activator
class Relu:
def __init__(self, input_shape):
self.delta = np.zeros(input_shape)
self.input_shape = input_shape
self.output_shape = self.input_shape
def forward(self, x):
self.x = x
return np.maximum(x, 0)
... | 22.333333 | 44 | 0.59204 | 55 | 402 | 4.145455 | 0.418182 | 0.219298 | 0.184211 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.320896 | 402 | 18 | 45 | 22.333333 | 0.824176 | 0.034826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b389e7a9039c86a171f726f83af74d196ab4f306 | 130 | py | Python | com/LimePencil/Q6749/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | 2 | 2021-07-17T13:05:42.000Z | 2021-09-12T09:14:24.000Z | com/LimePencil/Q6749/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q6749/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | import sys
young = int(sys.stdin.readline().rstrip("\n"))
middle = int(sys.stdin.readline().rstrip("\n"))
print(middle*2 - young) | 26 | 47 | 0.684615 | 20 | 130 | 4.45 | 0.55 | 0.134831 | 0.247191 | 0.426966 | 0.58427 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.084615 | 130 | 5 | 48 | 26 | 0.739496 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3b01c985ca9a3349145aa7c599c3f8d363a34ae | 1,578 | py | Python | app/auto_store/views.py | ntuckertriplet/Dockerized-Django | 1ccc251192f3b350e8f5f7368df707b9c15b6bdf | [
"MIT"
] | null | null | null | app/auto_store/views.py | ntuckertriplet/Dockerized-Django | 1ccc251192f3b350e8f5f7368df707b9c15b6bdf | [
"MIT"
] | 2 | 2020-04-29T17:19:03.000Z | 2021-03-19T10:23:08.000Z | app/auto_store/views.py | ntuckertriplet/Dockerized-Django | 1ccc251192f3b350e8f5f7368df707b9c15b6bdf | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
from django.http import HttpResponse
from django.template import loader
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import login_required
from .forms import EmployeeCreationForm
# Create your views here.
def index_view... | 20.763158 | 59 | 0.709125 | 188 | 1,578 | 5.893617 | 0.324468 | 0.151625 | 0.240072 | 0.305054 | 0.050542 | 0.050542 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.171103 | 1,578 | 75 | 60 | 21.04 | 0.842508 | 0.014575 | 0 | 0.046512 | 0 | 0 | 0.127495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.325581 | false | 0 | 0.139535 | 0.302326 | 0.813953 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
b3b1ff0b7d1fcaf43e9229a19db18e7fb9ee10f0 | 26 | py | Python | src/pip/__init__.py | j420247/pip | 33cd93cac86690134e8b4874ac42c4e0ce8770d2 | [
"MIT"
] | 1 | 2019-12-20T05:27:25.000Z | 2019-12-20T05:27:25.000Z | src/pip/__init__.py | j420247/pip | 33cd93cac86690134e8b4874ac42c4e0ce8770d2 | [
"MIT"
] | 1 | 2019-12-12T02:34:38.000Z | 2019-12-12T02:34:38.000Z | src/pip/__init__.py | gudonglaile/pip-gui | ac9c49c54b7a882d8091959ba14eec37612a3845 | [
"MIT"
] | null | null | null | __version__ = "20.0.dev0"
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3dd412902a901d2862f50402e1471bac57e7d83 | 508 | py | Python | news/models.py | MusfiqDehan/newshub | d0409b27a868d61b619893594e8611c39da0e462 | [
"MIT"
] | null | null | null | news/models.py | MusfiqDehan/newshub | d0409b27a868d61b619893594e8611c39da0e462 | [
"MIT"
] | null | null | null | news/models.py | MusfiqDehan/newshub | d0409b27a868d61b619893594e8611c39da0e462 | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
from .forms import User
from datetime import datetime
class News(models.Model):
headline = models.CharField(max_length=1024)
original_link = models.CharField(max_length=2048)
img_link = models.CharField(max_length=2048)
newspaper_name = model... | 36.285714 | 80 | 0.753937 | 67 | 508 | 5.567164 | 0.552239 | 0.160858 | 0.193029 | 0.257373 | 0.171582 | 0.171582 | 0 | 0 | 0 | 0 | 0 | 0.035047 | 0.15748 | 508 | 14 | 81 | 36.285714 | 0.836449 | 0 | 0 | 0 | 0 | 0 | 0.039293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0.083333 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3762ab7bd1f55f2d0702b499d1f832b0d9c0700d | 269 | py | Python | server/src/tests/samples/duplicateImports1.py | jhutchings1/pyright | 2b8593a58a2aecc95dac49cce92fc16678cd4e14 | [
"MIT"
] | 1 | 2020-12-28T16:58:24.000Z | 2020-12-28T16:58:24.000Z | server/src/tests/samples/duplicateImports1.py | jhutchings1/pyright | 2b8593a58a2aecc95dac49cce92fc16678cd4e14 | [
"MIT"
] | 3 | 2022-03-03T03:03:24.000Z | 2022-03-25T14:43:54.000Z | server/src/tests/samples/duplicateImports1.py | jhutchings1/pyright | 2b8593a58a2aecc95dac49cce92fc16678cd4e14 | [
"MIT"
] | null | null | null | # This sample tests the duplicate import detection.
import sys
# This should generate an error because Any is duplicated
from typing import Any, Dict, Any
# This should generate an error because sys is duplicated
import sys
a: Dict[Any, Any]
b = sys.api_version
| 16.8125 | 57 | 0.765799 | 43 | 269 | 4.767442 | 0.534884 | 0.087805 | 0.17561 | 0.195122 | 0.312195 | 0.312195 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189591 | 269 | 15 | 58 | 17.933333 | 0.940367 | 0.598513 | 0 | 0.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
376fd4fe824678af10edf346dc77bdee1f76f342 | 355 | py | Python | app/web/__init__.py | Marticles/BookCrossing | 5fc2f762136a7eef1616f4229278d5e2f888e433 | [
"MIT"
] | 2 | 2018-08-20T15:58:54.000Z | 2018-08-21T15:33:19.000Z | app/web/__init__.py | Marticles/BookCrossing | 5fc2f762136a7eef1616f4229278d5e2f888e433 | [
"MIT"
] | 2 | 2018-06-10T15:20:47.000Z | 2018-06-11T08:22:30.000Z | app/web/__init__.py | Marticles/BookCrossing | 5fc2f762136a7eef1616f4229278d5e2f888e433 | [
"MIT"
] | 1 | 2018-08-20T15:59:47.000Z | 2018-08-20T15:59:47.000Z | #web is a blueprint
from flask import Blueprint
from flask import render_template
web = Blueprint('web',__name__)
@web.app_errorhandler(404)
def not_found(e):
return render_template('404.html'),404
from app.web import book
from app.web import auth
from app.web import drift
from app.web import gift
from app.web i... | 22.1875 | 42 | 0.785915 | 61 | 355 | 4.442623 | 0.409836 | 0.154982 | 0.221402 | 0.354244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029508 | 0.140845 | 355 | 16 | 43 | 22.1875 | 0.859016 | 0.050704 | 0 | 0 | 0 | 0 | 0.032641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.666667 | 0.083333 | 0.833333 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
376fff6a18f36000a2190b17ecf22f69e19684fa | 109 | py | Python | exchange/admin.py | abhishekkushwaha4u/vitolx-backend | c280bc5095307d854bb050a5b495a9cedc985673 | [
"MIT"
] | 2 | 2021-06-09T15:21:51.000Z | 2021-06-09T15:26:31.000Z | exchange/admin.py | Shounak-bhattacharya/vitolx-backend | c280bc5095307d854bb050a5b495a9cedc985673 | [
"MIT"
] | null | null | null | exchange/admin.py | Shounak-bhattacharya/vitolx-backend | c280bc5095307d854bb050a5b495a9cedc985673 | [
"MIT"
] | 1 | 2021-06-10T05:26:47.000Z | 2021-06-10T05:26:47.000Z | from django.contrib import admin
from exchange.models import (
Exchange
)
admin.site.register(Exchange)
| 15.571429 | 32 | 0.779817 | 14 | 109 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 6 | 33 | 18.166667 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
377c55cbccb9748abe1417152dbf307537e96ede | 502 | py | Python | flavio/physics/taudecays/test_tau3l.py | Felicia56/flavio | ea735bd8febbb961d249eddf338a4960c1fbee69 | [
"MIT"
] | 61 | 2016-03-09T16:19:39.000Z | 2022-03-30T00:55:51.000Z | flavio/physics/taudecays/test_tau3l.py | Felicia56/flavio | ea735bd8febbb961d249eddf338a4960c1fbee69 | [
"MIT"
] | 167 | 2016-03-15T15:25:57.000Z | 2022-02-27T22:19:22.000Z | flavio/physics/taudecays/test_tau3l.py | Felicia56/flavio | ea735bd8febbb961d249eddf338a4960c1fbee69 | [
"MIT"
] | 57 | 2016-03-15T14:24:23.000Z | 2022-01-14T01:00:03.000Z | import unittest
import flavio
class TestTau3l(unittest.TestCase):
def test_tau3l_sm(self):
self.assertEqual(flavio.sm_prediction('BR(tau->muee)'), 0)
self.assertEqual(flavio.sm_prediction('BR(tau->mumumu)'), 0)
self.assertEqual(flavio.sm_prediction('BR(tau->emumu)'), 0)
self.assert... | 38.615385 | 68 | 0.683267 | 67 | 502 | 5 | 0.328358 | 0.268657 | 0.376119 | 0.41194 | 0.695522 | 0.695522 | 0.695522 | 0.58209 | 0 | 0 | 0 | 0.018692 | 0.14741 | 502 | 12 | 69 | 41.833333 | 0.764019 | 0 | 0 | 0 | 0 | 0 | 0.161355 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8073b42d7cf97dec43994af433f93efb7110c4a7 | 525 | py | Python | ml_model_evaluation/evaluators/base_evaluator.py | nkaenzig/ml_model_evaluation | 0064a223b3a6362b7e281d9241cb9ffe97247bb0 | [
"MIT"
] | null | null | null | ml_model_evaluation/evaluators/base_evaluator.py | nkaenzig/ml_model_evaluation | 0064a223b3a6362b7e281d9241cb9ffe97247bb0 | [
"MIT"
] | null | null | null | ml_model_evaluation/evaluators/base_evaluator.py | nkaenzig/ml_model_evaluation | 0064a223b3a6362b7e281d9241cb9ffe97247bb0 | [
"MIT"
] | null | null | null | from ..models.base_model import BaseModel
from ..datasets.base_dataset import BaseDataset
from .evaluation_results_storage import EvaluationResultsStorage
from typing import List, Dict
class BaseEvaluator:
""" """
def __init__(self) -> None:
pass
def evaluate(
self, model: BaseModel, dat... | 26.25 | 72 | 0.72381 | 54 | 525 | 6.851852 | 0.555556 | 0.075676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198095 | 525 | 19 | 73 | 27.631579 | 0.87886 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
808df8cb44105c7f1f4b449ce244b2d38b2ad6f0 | 45 | py | Python | docs/archive/examples/study_example/extract_configs/example.py | kids-first/kf-lib-data-ingest | 92889efef082c64744a00a9c110d778da7383959 | [
"Apache-2.0"
] | 3 | 2018-10-30T17:56:44.000Z | 2020-05-27T16:18:05.000Z | docs/archive/examples/study_example/extract_configs/example.py | kids-first/kf-lib-data-ingest | 92889efef082c64744a00a9c110d778da7383959 | [
"Apache-2.0"
] | 344 | 2018-11-01T16:47:56.000Z | 2022-02-23T20:36:21.000Z | docs/archive/examples/study_example/extract_configs/example.py | kids-first/kf-lib-data-ingest | 92889efef082c64744a00a9c110d778da7383959 | [
"Apache-2.0"
] | 1 | 2020-08-19T21:25:25.000Z | 2020-08-19T21:25:25.000Z |
source_data_url = 'file://../data/data.csv'
| 15 | 43 | 0.666667 | 7 | 45 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 2 | 44 | 22.5 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.522727 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80a036a6dfdd04bdbe553105115c81415ae59108 | 83 | py | Python | capa_explorer_plugin/__init__.py | ctlayon/capa-explorer | f94c872ba72c3d10103a55d34d1bfdf4f7dac06d | [
"Apache-2.0"
] | 25 | 2020-10-03T20:50:17.000Z | 2021-11-24T00:49:16.000Z | capa_explorer_plugin/__init__.py | ctlayon/capa-explorer | f94c872ba72c3d10103a55d34d1bfdf4f7dac06d | [
"Apache-2.0"
] | 1 | 2020-10-06T07:34:30.000Z | 2020-10-10T14:13:48.000Z | capa_explorer_plugin/__init__.py | ctlayon/capa-explorer | f94c872ba72c3d10103a55d34d1bfdf4f7dac06d | [
"Apache-2.0"
] | 4 | 2020-10-04T05:37:57.000Z | 2021-07-20T04:55:43.000Z | try:
from .cutterplugin import create_cutter_plugin
except Exception:
pass
| 16.6 | 50 | 0.771084 | 10 | 83 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 4 | 51 | 20.75 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
80d45b82614377d35b9e266d78940e4e9b713182 | 102 | py | Python | proto/__init__.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 6 | 2015-04-03T02:25:28.000Z | 2021-11-17T21:42:59.000Z | proto/__init__.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 3 | 2020-09-11T12:54:50.000Z | 2020-09-11T12:55:01.000Z | proto/__init__.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 3 | 2018-12-07T07:04:37.000Z | 2022-02-22T05:28:16.000Z | #!/usr/bin/env python
# Copyright 2011 Google Inc. All Rights Reserved.
"""Protobufs used by GRR."""
| 20.4 | 49 | 0.705882 | 15 | 102 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.147059 | 102 | 4 | 50 | 25.5 | 0.781609 | 0.892157 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
038f4ac2c2ef343f139f10081559f651f68d6112 | 933 | py | Python | test/test_email_request_compound.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | test/test_email_request_compound.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | test/test_email_request_compound.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | """
eZmax API Definition (Full)
This API expose all the functionnalities for the eZmax and eZsign applications. # noqa: E501
The version of the OpenAPI document: 1.1.7
Contact: support-api@ezmax.ca
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import eZmaxApi
from... | 23.923077 | 97 | 0.713826 | 102 | 933 | 6.421569 | 0.617647 | 0.024427 | 0.051908 | 0.067176 | 0.08855 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012129 | 0.204716 | 933 | 38 | 98 | 24.552632 | 0.87062 | 0.449089 | 0 | 0.2 | 0 | 0 | 0.042194 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.2 | false | 0.2 | 0.333333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
03931c5caa18e11ccb72d18008864fc5a9e0b454 | 525 | py | Python | Python/systemInfo.py | GuruprasadaShridharHegde/Coder-Mansion | 14529a6d5d4e674ecaf0c771e9cc428ba34b0a2d | [
"MIT"
] | 1 | 2022-01-19T04:22:21.000Z | 2022-01-19T04:22:21.000Z | Python/systemInfo.py | GuruprasadaShridharHegde/Coder-Mansion | 14529a6d5d4e674ecaf0c771e9cc428ba34b0a2d | [
"MIT"
] | null | null | null | Python/systemInfo.py | GuruprasadaShridharHegde/Coder-Mansion | 14529a6d5d4e674ecaf0c771e9cc428ba34b0a2d | [
"MIT"
] | null | null | null | import platform
#Computer network name
print(f"Computer network name: {platform.node()}")
#Machine type
print(f"Machine type: {platform.machine()}")
#Processor type
print(f"Processor type: {platform.processor()}")
#Platform type
print(f"Platform type: {platform.platform()}")
#Operating system
print(f"Operat... | 30.882353 | 57 | 0.739048 | 64 | 525 | 6.0625 | 0.234375 | 0.108247 | 0.07732 | 0.162371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 525 | 16 | 58 | 32.8125 | 0.834409 | 0.23619 | 0 | 0 | 0 | 0 | 0.732804 | 0.113757 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.875 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
039bf64169b9f16e2de07f24d08a2df3ad3c4644 | 27 | py | Python | data/studio21_generated/introductory/3717/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3717/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3717/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def covered_pawns(pawns):
| 13.5 | 25 | 0.777778 | 4 | 27 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 2 | 26 | 13.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03aa0ae64227161b96ddebee2d8f4e17322d30c4 | 225 | py | Python | lib/clckwrkbdgr/logging.py | umi0451/dotfiles | c618811be788d995fe01f6a16b355828d7efdd36 | [
"MIT"
] | 2 | 2017-04-16T14:54:17.000Z | 2020-11-12T04:15:00.000Z | lib/clckwrkbdgr/logging.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | lib/clckwrkbdgr/logging.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import logging
def getFileLogger(name, filename): # pragma: no cover
logger = logging.getLogger(name)
logger.addHandler(logging.FileHandler(str(filename), delay=True))
return logger
| 28.125 | 66 | 0.804444 | 28 | 225 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 225 | 7 | 67 | 32.142857 | 0.875622 | 0.071111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
03b27401f469fca88632dedaad76907320ba1903 | 74 | py | Python | grr/server/grr_response_server/flows/local/__init__.py | nkrios/grr | 399e078ed522bf0555a2666fb086aa7809d54971 | [
"Apache-2.0"
] | 4,238 | 2015-01-01T15:34:50.000Z | 2022-03-31T08:18:05.000Z | grr/server/grr_response_server/flows/local/__init__.py | tomchop/grr | 27ba38dc0f5ad4f3e0cdbfb146a0a789e3b0d27b | [
"Apache-2.0"
] | 787 | 2015-01-02T21:34:24.000Z | 2022-03-02T13:26:38.000Z | grr/server/grr_response_server/flows/local/__init__.py | tomchop/grr | 27ba38dc0f5ad4f3e0cdbfb146a0a789e3b0d27b | [
"Apache-2.0"
] | 856 | 2015-01-02T02:50:11.000Z | 2022-03-31T11:11:53.000Z | #!/usr/bin/env python
"""Flows that are private to local installation."""
| 24.666667 | 51 | 0.716216 | 11 | 74 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 52 | 37 | 0.815385 | 0.891892 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03b55e8bb77b246302ae938f1f1d97088f2a3e72 | 27,304 | py | Python | designate/tests/test_storage/test_api.py | NeCTAR-RC/designate | 99874f5c608954df9c988740e3cbf0d3b6b7a269 | [
"Apache-2.0"
] | 1 | 2015-02-26T03:23:13.000Z | 2015-02-26T03:23:13.000Z | designate/tests/test_storage/test_api.py | NeCTAR-RC/designate | 99874f5c608954df9c988740e3cbf0d3b6b7a269 | [
"Apache-2.0"
] | null | null | null | designate/tests/test_storage/test_api.py | NeCTAR-RC/designate | 99874f5c608954df9c988740e3cbf0d3b6b7a269 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Hewlett-Packard Development Company, L.P.
#
# Author: Kiall Mac Innes <kiall@hp.com>
#
# 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/L... | 34.960307 | 77 | 0.672832 | 3,157 | 27,304 | 5.533101 | 0.049731 | 0.107854 | 0.08152 | 0.099611 | 0.900962 | 0.873884 | 0.777937 | 0.721433 | 0.674319 | 0.583181 | 0 | 0.010904 | 0.230845 | 27,304 | 780 | 78 | 35.005128 | 0.820866 | 0.026077 | 0 | 0.625688 | 0 | 0 | 0.074786 | 0 | 0 | 0 | 0 | 0 | 0.242202 | 1 | 0.113761 | false | 0.012844 | 0.009174 | 0 | 0.126606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03bb043a356d181e4b0f9e0b87d9af4011b7ff43 | 445 | py | Python | simple_calc/calc.py | aliasif1/pypi_simple_calculator | dcf0f3cbf0815b908bc3e28753bed8ff273e26b3 | [
"MIT"
] | null | null | null | simple_calc/calc.py | aliasif1/pypi_simple_calculator | dcf0f3cbf0815b908bc3e28753bed8ff273e26b3 | [
"MIT"
] | null | null | null | simple_calc/calc.py | aliasif1/pypi_simple_calculator | dcf0f3cbf0815b908bc3e28753bed8ff273e26b3 | [
"MIT"
] | null | null | null | # Author: Asif Ali Mehmuda
# Email: asif.mehmuda9@gmail.com
# This file exposes some of the common mathematical functions
def add_nums(num1, num2):
return num1 + num2
# Subtract two numbers
def sub_nums(num1, num2):
return num1 - num2
# Subtract two numbers such that the smaller number is always subtracted... | 26.176471 | 95 | 0.714607 | 67 | 445 | 4.701493 | 0.58209 | 0.203175 | 0.133333 | 0.114286 | 0.279365 | 0.279365 | 0.279365 | 0.279365 | 0.279365 | 0 | 0 | 0.054598 | 0.217978 | 445 | 16 | 96 | 27.8125 | 0.850575 | 0.521348 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 4 |
03dbaad276a72d619cef181c537e50182b7d72d4 | 580 | py | Python | python/7_kyu/ones_and_zeros.py | CommonLouis/CodeWars_Solutions | f325c12effbd361905027864848e06ce07ec941e | [
"MIT"
] | null | null | null | python/7_kyu/ones_and_zeros.py | CommonLouis/CodeWars_Solutions | f325c12effbd361905027864848e06ce07ec941e | [
"MIT"
] | null | null | null | python/7_kyu/ones_and_zeros.py | CommonLouis/CodeWars_Solutions | f325c12effbd361905027864848e06ce07ec941e | [
"MIT"
] | null | null | null | """
Michael Persico
Sept.29, 2021
Ones and Zeros
https://www.codewars.com/kata/578553c3a1b8d5c40300037c
"""
def binary_array_to_number(arr):
return int("0b" + "".join([str(digit) for digit in arr]), 2)
if __name__ == "__main__":
print(binary_array_to_number([0,0,0,1])) # 1
print(binary_array_to_number([0,... | 30.526316 | 64 | 0.675862 | 104 | 580 | 3.461538 | 0.384615 | 0.244444 | 0.288889 | 0.422222 | 0.502778 | 0.502778 | 0.433333 | 0 | 0 | 0 | 0 | 0.126 | 0.137931 | 580 | 18 | 65 | 32.222222 | 0.594 | 0.2 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0.1 | 0.2 | 0.7 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
03e2124e70b9a93600461b6ca8141155bfedce94 | 748 | py | Python | koans/primera_semana/acerca_de__operadores.py | benjymb/python_koans_pachaqtec | 094265842c2e182874fbf608521dc4a30e66bfae | [
"MIT"
] | null | null | null | koans/primera_semana/acerca_de__operadores.py | benjymb/python_koans_pachaqtec | 094265842c2e182874fbf608521dc4a30e66bfae | [
"MIT"
] | null | null | null | koans/primera_semana/acerca_de__operadores.py | benjymb/python_koans_pachaqtec | 094265842c2e182874fbf608521dc4a30e66bfae | [
"MIT"
] | 2 | 2020-04-22T20:28:30.000Z | 2020-04-25T16:22:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from runner.koan import Koan, __, _____
class AcercaDeOperadores(Koan):
def test_descubriendo_operadores_numericos(self):
self.assertEqual(__, 1 + 2)
self.assertEqual(__, 1 - 2)
self.assertEqual(__, 3 * 3)
self.assertEqual(__, 4 / 4)... | 22.666667 | 53 | 0.550802 | 67 | 748 | 5.38806 | 0.38806 | 0.290859 | 0.249307 | 0.387812 | 0.368421 | 0.368421 | 0.232687 | 0.232687 | 0.232687 | 0.232687 | 0 | 0.02988 | 0.328877 | 748 | 32 | 54 | 23.375 | 0.689243 | 0.05615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.764706 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03e9b5be7bbd1c6bc59d5fb607e580c0b9760d05 | 783 | py | Python | UK Covid 19 dashboard/testing.py | Willsee1/UK-Covid19-Dashboard | 5d503f0fbf911786f63c10ceb872baafbae0cca0 | [
"MIT"
] | null | null | null | UK Covid 19 dashboard/testing.py | Willsee1/UK-Covid19-Dashboard | 5d503f0fbf911786f63c10ceb872baafbae0cca0 | [
"MIT"
] | null | null | null | UK Covid 19 dashboard/testing.py | Willsee1/UK-Covid19-Dashboard | 5d503f0fbf911786f63c10ceb872baafbae0cca0 | [
"MIT"
] | null | null | null | '''Covid_data_Handler related test function calls'''
from Tests.test_covid_data_handler import test_parse_csv_data
from Tests.test_covid_data_handler import test_process_covid_csv_data
from Tests.test_covid_data_handler import test_schedule_covid_updates
from Tests.test_covid_data_handler import test_covid_API_requ... | 41.210526 | 70 | 0.851852 | 123 | 783 | 4.943089 | 0.211382 | 0.118421 | 0.149671 | 0.177632 | 0.652961 | 0.595395 | 0.595395 | 0.490132 | 0.151316 | 0.151316 | 0 | 0 | 0.102171 | 783 | 18 | 71 | 43.5 | 0.864865 | 0.247765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
03efa2d7779f674bf91511b712a073b1a34ad5d3 | 25 | py | Python | new_summaries.py | shivasuri/textsummarization | 6b38e6723eb5b66d4aa95aaecff1f4894973f90f | [
"MIT"
] | 12 | 2018-04-18T11:40:50.000Z | 2022-03-26T03:50:38.000Z | new_summaries.py | shivasuri/textsummarization | 6b38e6723eb5b66d4aa95aaecff1f4894973f90f | [
"MIT"
] | null | null | null | new_summaries.py | shivasuri/textsummarization | 6b38e6723eb5b66d4aa95aaecff1f4894973f90f | [
"MIT"
] | 6 | 2018-04-26T02:57:30.000Z | 2021-12-22T07:45:39.000Z | the cat was under the bed | 25 | 25 | 0.8 | 6 | 25 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03f998a1ca33e72aac07e26406c49d74f7c37637 | 241 | py | Python | chekkit/chekkitapp/admin.py | chekkitapp/chekkitapp | 57b63f3f73f487044713b04aa9f3087722edd929 | [
"MIT"
] | null | null | null | chekkit/chekkitapp/admin.py | chekkitapp/chekkitapp | 57b63f3f73f487044713b04aa9f3087722edd929 | [
"MIT"
] | 1 | 2018-07-08T11:17:58.000Z | 2018-07-08T11:17:58.000Z | chekkit/chekkitapp/admin.py | chekkitapp/chekkit_project | 57b63f3f73f487044713b04aa9f3087722edd929 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Manufacturer, Product, Batches, Items
# Register your models here.
admin.site.register(Manufacturer)
admin.site.register(Product)
admin.site.register(Batches)
admin.site.register(Items)
| 26.777778 | 57 | 0.813278 | 32 | 241 | 6.125 | 0.4375 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091286 | 241 | 9 | 58 | 26.777778 | 0.894977 | 0.107884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff01018159ca73b1a74a6736d2ee1bb19dd9cdef | 252 | py | Python | sublime/add_datetime.py | ujjwalwahi/cglab | df6ff111a944e6b6789c3268680175b73b6f71d6 | [
"MIT"
] | null | null | null | sublime/add_datetime.py | ujjwalwahi/cglab | df6ff111a944e6b6789c3268680175b73b6f71d6 | [
"MIT"
] | null | null | null | sublime/add_datetime.py | ujjwalwahi/cglab | df6ff111a944e6b6789c3268680175b73b6f71d6 | [
"MIT"
] | null | null | null | import datetime, getpass
import sublime, sublime_plugin
class AddDateCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.run_command("insert_snippet", { "contents": "%s" % datetime.date.now().strftime("%A %d %B %Y %T") } )
| 42 | 120 | 0.698413 | 33 | 252 | 5.212121 | 0.787879 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 252 | 5 | 121 | 50.4 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
20806abce6fca6a820258cb400890bd381737258 | 224 | py | Python | geomechy/__init__.py | cfgarciar/geomechy | 5452c705e7ae771e2f8f8a11277bd00c12707b8c | [
"Apache-2.0"
] | null | null | null | geomechy/__init__.py | cfgarciar/geomechy | 5452c705e7ae771e2f8f8a11277bd00c12707b8c | [
"Apache-2.0"
] | 2 | 2021-09-28T05:34:32.000Z | 2022-02-26T10:00:57.000Z | geomechy/__init__.py | cfgarciar/geomechy | 5452c705e7ae771e2f8f8a11277bd00c12707b8c | [
"Apache-2.0"
] | null | null | null | __version__ = "1.0.1"
from geomechy.core import *
from geomechy.physics import *
from geomechy.base import *
from geomechy.utils import *
from geomechy.io import *
from geomechy.materials import *
from geomechy.fem import * | 24.888889 | 32 | 0.776786 | 32 | 224 | 5.3125 | 0.40625 | 0.494118 | 0.635294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015544 | 0.138393 | 224 | 9 | 33 | 24.888889 | 0.865285 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2093475a77446602e678eb0f65df25b24cfd1393 | 93 | py | Python | sweat/io/exceptions.py | GoldenCheetah/sweatpy | eed6b34ff75c16fcbad878caded8ee4d18dea589 | [
"MIT"
] | 58 | 2018-03-10T08:26:10.000Z | 2022-03-20T11:23:50.000Z | sweat/io/exceptions.py | GoldenCheetah/sweatpy | eed6b34ff75c16fcbad878caded8ee4d18dea589 | [
"MIT"
] | 19 | 2018-03-10T13:09:49.000Z | 2022-03-18T10:31:19.000Z | sweat/io/exceptions.py | GoldenCheetah/sweatpy | eed6b34ff75c16fcbad878caded8ee4d18dea589 | [
"MIT"
] | 20 | 2018-03-09T19:16:15.000Z | 2022-03-08T00:21:38.000Z | class BaseIOException(Exception):
pass
class InvalidFitFile(BaseIOException):
pass
| 13.285714 | 38 | 0.763441 | 8 | 93 | 8.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 6 | 39 | 15.5 | 0.922078 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
20a56dfac1cb657d7d669b6450c077e7730a891b | 1,755 | py | Python | api/migrations/0092_auto_20201123_1025.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | api/migrations/0092_auto_20201123_1025.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | api/migrations/0092_auto_20201123_1025.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Generated by Django 2.2.13 on 2020-11-23 10:25
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('api', '0091_auto_20201120_1118'),
]
operations = [
migrations.RemoveField(
model_name='country',
name='nsi_annual_fdrs_repo... | 26.590909 | 53 | 0.540741 | 146 | 1,755 | 6.205479 | 0.369863 | 0.301325 | 0.373068 | 0.430464 | 0.644592 | 0.644592 | 0.644592 | 0.110375 | 0 | 0 | 0 | 0.028319 | 0.356125 | 1,755 | 65 | 54 | 27 | 0.773451 | 0.026211 | 0 | 0.661017 | 1 | 0 | 0.220269 | 0.124194 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.067797 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4587b5ab1a8065484f6a5ea90dbb3ee9d08e5913 | 5,936 | py | Python | HXL/sentenceTrans.py | hxlnwpu/Sentence_pair_modeling | e0324711e27694ad22e070a118697184d23bca58 | [
"Apache-2.0"
] | null | null | null | HXL/sentenceTrans.py | hxlnwpu/Sentence_pair_modeling | e0324711e27694ad22e070a118697184d23bca58 | [
"Apache-2.0"
] | null | null | null | HXL/sentenceTrans.py | hxlnwpu/Sentence_pair_modeling | e0324711e27694ad22e070a118697184d23bca58 | [
"Apache-2.0"
] | null | null | null | from sentence_transformers import SentenceTransformer, util
import os
import csv
from sklearn import metrics
def cal_acc(result_dir ="./result_file"):
accuracy_file = os.path.join(result_dir, 'accuracy.txt')
# 存放结果的文件
trainResult = os.path.join(result_dir, 'trainBertResult.csv')
testResult = os.path.j... | 48.260163 | 131 | 0.610681 | 720 | 5,936 | 4.793056 | 0.163889 | 0.104318 | 0.07534 | 0.078818 | 0.729644 | 0.724138 | 0.711968 | 0.711968 | 0.695161 | 0.695161 | 0 | 0.017043 | 0.238881 | 5,936 | 123 | 132 | 48.260163 | 0.746791 | 0.018868 | 0 | 0.560748 | 0 | 0 | 0.133402 | 0.037476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018692 | false | 0 | 0.037383 | 0 | 0.056075 | 0.093458 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
458b4b69d1906cbf0b99d07d40a2ca9421803ccc | 181 | py | Python | BOJ/13000~13999/13700~13799/13772.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/13000~13999/13700~13799/13772.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/13000~13999/13700~13799/13772.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | s = "12010000000000111100000000"
for _ in range(int(input())):
ans = 0
k = input()
for i in k:
if i != " ":
ans += int(s[ord(i) - 65])
print(ans) | 22.625 | 38 | 0.480663 | 25 | 181 | 3.44 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245763 | 0.348066 | 181 | 8 | 39 | 22.625 | 0.483051 | 0 | 0 | 0 | 0 | 0 | 0.148352 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
458e9868759b0feae1682dc3ba2ec40393f30c97 | 129 | py | Python | tests/test_api_preprocess/test_biolink_preproces.py | luluricketts/biothings_explorer | ae2009ff285f96a08e0145f242846ca613b5069c | [
"Apache-2.0"
] | 21 | 2017-07-22T10:08:03.000Z | 2022-01-11T08:53:14.000Z | tests/test_api_preprocess/test_biolink_preproces.py | luluricketts/biothings_explorer | ae2009ff285f96a08e0145f242846ca613b5069c | [
"Apache-2.0"
] | 127 | 2017-07-22T10:19:45.000Z | 2021-11-04T01:23:43.000Z | tests/test_api_preprocess/test_biolink_preproces.py | luluricketts/biothings_explorer | ae2009ff285f96a08e0145f242846ca613b5069c | [
"Apache-2.0"
] | 18 | 2017-04-27T17:02:06.000Z | 2021-07-25T18:13:56.000Z | # -*- coding: utf-8 -*-
"""
Test the api preprocess module for biolink.
.. moduleauthor:: Jiwen Xin <kevinxin@scripps.edu>
""" | 16.125 | 50 | 0.651163 | 16 | 129 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.162791 | 129 | 8 | 51 | 16.125 | 0.768519 | 0.914729 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
45cfece39f36e8b5450e4f78d6ba66e2e3a3b5f0 | 146 | py | Python | aiohttp_socks/proxy/enums.py | RomaLash/aiohttp-socks | b80e493e1974587b2ee839e42953ccf2b049b4fa | [
"Apache-2.0"
] | 1 | 2021-02-28T15:52:03.000Z | 2021-02-28T15:52:03.000Z | aiohttp_socks/proxy/enums.py | rytilahti/aiohttp-socks | 005c87cbcfda415cdfb43dc55bbee617e428d0f1 | [
"Apache-2.0"
] | null | null | null | aiohttp_socks/proxy/enums.py | rytilahti/aiohttp-socks | 005c87cbcfda415cdfb43dc55bbee617e428d0f1 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class SocksVer(object):
SOCKS4 = 1
SOCKS5 = 2
class ProxyType(Enum):
SOCKS4 = 1
SOCKS5 = 2
HTTP = 3
| 11.230769 | 23 | 0.60274 | 20 | 146 | 4.4 | 0.65 | 0.159091 | 0.295455 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.321918 | 146 | 12 | 24 | 12.166667 | 0.79798 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aff1c0eb8b7dc63fa464f39be82ae8945e56c68b | 14,075 | py | Python | tests/test_fpack_field.py | frankurcrazy/fpack | ce2369ec3018b20d79f101ed0b439fd312681472 | [
"BSD-3-Clause"
] | 2 | 2020-08-26T14:16:39.000Z | 2021-01-11T08:43:36.000Z | tests/test_fpack_field.py | frankurcrazy/fpack | ce2369ec3018b20d79f101ed0b439fd312681472 | [
"BSD-3-Clause"
] | 17 | 2021-04-28T06:02:45.000Z | 2022-03-29T18:05:56.000Z | tests/test_fpack_field.py | frankurcrazy/fpack | ce2369ec3018b20d79f101ed0b439fd312681472 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import struct
import unittest
try:
from fpack import *
except ImportError:
import os
import sys
sys.path.append(os.path.abspath(os.path.join(".", "..")))
from fpack import *
class TestField(unittest.TestCase):
def test_not_implemented_methods(self):
field = Fie... | 28.783231 | 96 | 0.590764 | 1,729 | 14,075 | 4.685367 | 0.072874 | 0.155536 | 0.031601 | 0.071596 | 0.831873 | 0.755339 | 0.740649 | 0.705592 | 0.691273 | 0.538082 | 0 | 0.040263 | 0.274742 | 14,075 | 488 | 97 | 28.842213 | 0.753331 | 0.001421 | 0 | 0.632432 | 0 | 0.008108 | 0.052298 | 0.020421 | 0 | 0 | 0 | 0 | 0.310811 | 1 | 0.121622 | false | 0 | 0.018919 | 0 | 0.159459 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3102766008e45b91eb98262d6cb0f987acbc1ca | 257,959 | py | Python | Cacti_Plugin/simulator/mibpy/HUAWEI-SERVER-IBMC-MIB.py | saintifly/Server_Manage_Plugin | ae272e7e3ca065236cc7bc86c296ff9eb83f1bb9 | [
"Apache-2.0"
] | null | null | null | Cacti_Plugin/simulator/mibpy/HUAWEI-SERVER-IBMC-MIB.py | saintifly/Server_Manage_Plugin | ae272e7e3ca065236cc7bc86c296ff9eb83f1bb9 | [
"Apache-2.0"
] | null | null | null | Cacti_Plugin/simulator/mibpy/HUAWEI-SERVER-IBMC-MIB.py | saintifly/Server_Manage_Plugin | ae272e7e3ca065236cc7bc86c296ff9eb83f1bb9 | [
"Apache-2.0"
] | null | null | null | #
# PySNMP MIB module HUAWEI-SERVER-IBMC-MIB (http://pysnmp.sf.net)
# ASN.1 source file:///home/jhzhang/test/snmp/HUAWEI-SERVER-iBMC-MIB.txt
# Produced by pysmi-0.0.7 at Mon Apr 3 12:24:09 2017
# On host localhost.localdomain platform Linux version 3.10.0-123.el7.x86_64 by user root
# Using Python version 2.7.5 (defau... | 277.077336 | 10,122 | 0.713734 | 31,429 | 257,959 | 5.857711 | 0.042318 | 0.134599 | 0.179466 | 0.213116 | 0.688146 | 0.66889 | 0.642731 | 0.642155 | 0.635284 | 0.631552 | 0 | 0.095629 | 0.083606 | 257,959 | 930 | 10,123 | 277.375269 | 0.68317 | 0.001372 | 0 | 0 | 0 | 0 | 0.315438 | 0.177176 | 0 | 0 | 0 | 0 | 0.134345 | 1 | 0 | false | 0.007584 | 0.020585 | 0 | 0.020585 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3255969a11829d4eca51fcd63512dfdf22efcd3 | 214 | py | Python | reports/serializers.py | mohammadanarul/drf-blog-api | 25d6d72235b2d995639ac1eed5367cf6a8a1535c | [
"MIT"
] | null | null | null | reports/serializers.py | mohammadanarul/drf-blog-api | 25d6d72235b2d995639ac1eed5367cf6a8a1535c | [
"MIT"
] | null | null | null | reports/serializers.py | mohammadanarul/drf-blog-api | 25d6d72235b2d995639ac1eed5367cf6a8a1535c | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import PostReport
class PostReportSerializer(serializers.ModelSerializer):
class Meta:
model = PostReport
fields = ['post', 'user', 'body']
| 23.777778 | 56 | 0.719626 | 21 | 214 | 7.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 214 | 8 | 57 | 26.75 | 0.889535 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
641228a8597b837266df41e07508fc0738a24804 | 526 | py | Python | pySpatialTools/FeatureManagement/Interpolation_utils/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 8 | 2015-07-21T05:15:16.000Z | 2018-06-12T18:22:52.000Z | pySpatialTools/FeatureManagement/Interpolation_utils/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 6 | 2016-01-11T22:25:28.000Z | 2016-01-28T16:17:46.000Z | pySpatialTools/FeatureManagement/Interpolation_utils/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | null | null | null |
"""
Interpolation
=============
Module which contains the functions to spatially interpolate features.
TODO
----
- Join both ways into 1.
"""
## Interpolation
from general_interpolation import general_interpolate
## Density assignation
from density_assignation import general_density_assignation
from density_assign... | 21.916667 | 74 | 0.825095 | 58 | 526 | 7.189655 | 0.586207 | 0.172662 | 0.105516 | 0.139089 | 0.191847 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002141 | 0.112167 | 526 | 23 | 75 | 22.869565 | 0.890792 | 0.321293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
641a04c2bc6d7d4924e239bbed4a887650349429 | 151 | py | Python | my-detection-python/test-logs.py | Clark1216/Nvidia_Jetson-TensorRT_Inference_Basics | e45a6972ea9e231f1baa371ac4ec2e49e9b0067f | [
"MIT"
] | 1 | 2022-02-08T02:07:26.000Z | 2022-02-08T02:07:26.000Z | my-detection-python/test-logs.py | Clark1216/Nvidia_Jetson-inference | e45a6972ea9e231f1baa371ac4ec2e49e9b0067f | [
"MIT"
] | null | null | null | my-detection-python/test-logs.py | Clark1216/Nvidia_Jetson-inference | e45a6972ea9e231f1baa371ac4ec2e49e9b0067f | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import logging
logging.basicConfig(filename='log.log', level=logging.DEBUG)
logging.info('This message should go to the log file')
| 25.166667 | 60 | 0.774834 | 23 | 151 | 5.086957 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.092715 | 151 | 5 | 61 | 30.2 | 0.846715 | 0.112583 | 0 | 0 | 0 | 0 | 0.338346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
643876a5f35a46d24c82c77c04e7078059c3561f | 57 | py | Python | src/__init__.py | mahyar-osn/lung-point-generator | 58e6eaf53f40e0c6c80c63bd17e4d6d6f60d72fe | [
"Apache-2.0"
] | null | null | null | src/__init__.py | mahyar-osn/lung-point-generator | 58e6eaf53f40e0c6c80c63bd17e4d6d6f60d72fe | [
"Apache-2.0"
] | null | null | null | src/__init__.py | mahyar-osn/lung-point-generator | 58e6eaf53f40e0c6c80c63bd17e4d6d6f60d72fe | [
"Apache-2.0"
] | null | null | null | __version__ = '0.1'
from .pts_generator import generate
| 14.25 | 35 | 0.77193 | 8 | 57 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.140351 | 57 | 3 | 36 | 19 | 0.755102 | 0 | 0 | 0 | 1 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6442289272bc3c1d823807a4f15c36a7adc637b0 | 228 | py | Python | api/serializers.py | shahjalalh/file_metadata_microservice | 79119d4a38accb2f4d78edfcec5857b9fa5ef0d8 | [
"MIT"
] | null | null | null | api/serializers.py | shahjalalh/file_metadata_microservice | 79119d4a38accb2f4d78edfcec5857b9fa5ef0d8 | [
"MIT"
] | null | null | null | api/serializers.py | shahjalalh/file_metadata_microservice | 79119d4a38accb2f4d78edfcec5857b9fa5ef0d8 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from filemetadata_app.models import FileUpload
class FileUploadSerializer(serializers.ModelSerializer):
class Meta:
model = FileUpload
fields = ('datafile', 'created')
| 28.5 | 56 | 0.758772 | 22 | 228 | 7.772727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 228 | 7 | 57 | 32.571429 | 0.909574 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff44b6002b43773ac97d34767c77c52c5b1be7da | 30 | py | Python | src/video2npz/visbeat3/visbeat3/ADefines.py | wzk1015/video-bgm-generation | cf46c1babbe8f127f2f7605878d9b0aa7850f16d | [
"MIT"
] | 90 | 2021-10-21T09:52:47.000Z | 2022-03-30T14:12:05.000Z | src/video2npz/visbeat3/build/lib/visbeat3/ADefines.py | wzk1015/video-bgm-generation | cf46c1babbe8f127f2f7605878d9b0aa7850f16d | [
"MIT"
] | 7 | 2021-11-08T05:53:12.000Z | 2022-02-28T12:39:02.000Z | src/video2npz/visbeat3/build/lib/visbeat3/ADefines.py | wzk1015/video-bgm-generation | cf46c1babbe8f127f2f7605878d9b0aa7850f16d | [
"MIT"
] | 14 | 2021-11-17T05:43:28.000Z | 2022-03-22T14:47:40.000Z | # AD_DEBUG = 1;
AD_DEBUG = 0; | 10 | 15 | 0.6 | 6 | 30 | 2.666667 | 0.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.233333 | 30 | 3 | 16 | 10 | 0.608696 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff5cc8a165fd22d7ca2bd7d72c0fb3b5807f48d5 | 241 | py | Python | app/biodata/admin.py | CharaD7/biodata-python | b03f3edff25d6a9b38000e9964537dd81e193a68 | [
"MIT"
] | null | null | null | app/biodata/admin.py | CharaD7/biodata-python | b03f3edff25d6a9b38000e9964537dd81e193a68 | [
"MIT"
] | 4 | 2019-10-19T17:18:00.000Z | 2021-06-10T22:12:30.000Z | app/biodata/admin.py | CharaD7/biodata-python | b03f3edff25d6a9b38000e9964537dd81e193a68 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Biodata, UserProfile
# Register your models here.
@admin.register(Biodata)
@admin.register(UserProfile)
# admin.site.register(UserProfile)
class BiodataAdmin(admin.ModelAdmin):
pass | 21.909091 | 40 | 0.79668 | 29 | 241 | 6.62069 | 0.551724 | 0.135417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112033 | 241 | 11 | 41 | 21.909091 | 0.897196 | 0.244813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
ff76295d37f8efe8636f492c20b96a040e32aed4 | 41 | py | Python | postmarker/__init__.py | Canalyst/postmarker | 2e43733c0ea1d579fa1f72fddbe6bae93ed99220 | [
"MIT"
] | null | null | null | postmarker/__init__.py | Canalyst/postmarker | 2e43733c0ea1d579fa1f72fddbe6bae93ed99220 | [
"MIT"
] | null | null | null | postmarker/__init__.py | Canalyst/postmarker | 2e43733c0ea1d579fa1f72fddbe6bae93ed99220 | [
"MIT"
] | null | null | null | # coding: utf-8
__version__ = '0.12.0'
| 8.2 | 22 | 0.609756 | 7 | 41 | 3 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.195122 | 41 | 4 | 23 | 10.25 | 0.484848 | 0.317073 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ffaabc239febf12908dd889da7a615b393e490c9 | 135 | py | Python | contests/atcoder/abc065/a.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | contests/atcoder/abc065/a.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | contests/atcoder/abc065/a.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | x, a, b = map(int, input().split())
if b <= a:
print('delicious')
elif b - a <= x:
print('safe')
else:
print('dangerous')
| 15 | 35 | 0.525926 | 21 | 135 | 3.380952 | 0.666667 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 135 | 8 | 36 | 16.875 | 0.696078 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ffb4e937b189889baf4ddf451c748b769601bea2 | 291 | py | Python | mindhome_alpha/erpnext/patches/v12_0/rename_account_type_doctype.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | mindhome_alpha/erpnext/patches/v12_0/rename_account_type_doctype.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | null | null | null | mindhome_alpha/erpnext/patches/v12_0/rename_account_type_doctype.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | from __future__ import unicode_literals
import frappe
def execute():
frappe.rename_doc('DocType', 'Account Type', 'Bank Account Type', force=True)
frappe.rename_doc('DocType', 'Account Subtype', 'Bank Account Subtype', force=True)
frappe.reload_doc('accounts', 'doctype', 'bank_account') | 41.571429 | 84 | 0.766323 | 38 | 291 | 5.631579 | 0.5 | 0.154206 | 0.140187 | 0.205607 | 0.271028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09622 | 291 | 7 | 85 | 41.571429 | 0.813688 | 0 | 0 | 0 | 0 | 0 | 0.359589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4407a782738ce245647a8597d2606c89bac051bb | 131 | py | Python | packages/PIPS/validation/Top-level/spaces01.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Top-level/spaces01.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Top-level/spaces01.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | from pyps import workspace
workspace.delete("bb")
workspace("a a a /spaces01.c",name="bb",recoverInclude=False).fun.main.display()
| 32.75 | 80 | 0.763359 | 20 | 131 | 5 | 0.75 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.068702 | 131 | 3 | 81 | 43.666667 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
440a2f7db761d792eec72f2258aaeae091e745e9 | 554 | py | Python | first-network/utils/initSsh.py | berendeanicolae/fabric-samples | c307e8554c7a9ede908106e30b20661c55dc7f81 | [
"Apache-2.0"
] | null | null | null | first-network/utils/initSsh.py | berendeanicolae/fabric-samples | c307e8554c7a9ede908106e30b20661c55dc7f81 | [
"Apache-2.0"
] | null | null | null | first-network/utils/initSsh.py | berendeanicolae/fabric-samples | c307e8554c7a9ede908106e30b20661c55dc7f81 | [
"Apache-2.0"
] | null | null | null | import subprocess
ips = [
"172.16.0.96",
"172.16.0.95",
"172.16.0.94",
"172.16.0.93",
"172.16.0.92",
"172.16.0.91",
"172.16.0.90",
"172.16.0.89",
"172.16.0.88",
"172.16.0.87",
"172.16.0.86",
"172.16.0.85",
"172.16.0.84",
"172.16.0.83",
"172.16.0.82",
"172.16.0.81",
"172.16.0.80",
"172.16.0.79",
"172.16.0.78",
"172.16.... | 14.972973 | 79 | 0.581227 | 130 | 554 | 2.476923 | 0.392308 | 0.388199 | 0.465839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.097473 | 554 | 36 | 80 | 15.388889 | 0.244 | 0.068592 | 0 | 0 | 0 | 0 | 0.580897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0.032258 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4419d04b782dbce9b8ca67f5f5fcda1ac19db0b1 | 2,578 | py | Python | src/test/testables/subsystems.py | Netortech/scrap-worker | eecd553b9726f5bc3329013823019b828640fd6f | [
"Apache-2.0"
] | null | null | null | src/test/testables/subsystems.py | Netortech/scrap-worker | eecd553b9726f5bc3329013823019b828640fd6f | [
"Apache-2.0"
] | null | null | null | src/test/testables/subsystems.py | Netortech/scrap-worker | eecd553b9726f5bc3329013823019b828640fd6f | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
from ...scrap_worker.subsystems import (
HeartbeatSubsystem,
ElectionSubsystem,
QuellUprisingSubsystem,
UnionAttendanceSubsystem,
UnionLeadershipSubsystem,
UnionMembershipSubsystem,
WorkloadPreprocessorSubsystem,
)
from ..mocks.kafka import KafkaProducerBa... | 30.329412 | 70 | 0.74903 | 196 | 2,578 | 9.433673 | 0.168367 | 0.083288 | 0.082207 | 0.07139 | 0.586263 | 0.586263 | 0.586263 | 0.44835 | 0.44835 | 0.410492 | 0 | 0 | 0.197828 | 2,578 | 84 | 71 | 30.690476 | 0.894101 | 0 | 0 | 0.703125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.046875 | 0.109375 | 0.546875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4437dde2033adce1a8304e41d8b2d6d7c1455a69 | 6,096 | py | Python | poor_trader/systems.py | johndpope/poor-trader-py | 097fbb10c217abe0db5a2cd55d73e0ad2990acd9 | [
"MIT"
] | 1 | 2020-03-30T19:04:39.000Z | 2020-03-30T19:04:39.000Z | poor_trader/systems.py | johndpope/poor-trader-py | 097fbb10c217abe0db5a2cd55d73e0ad2990acd9 | [
"MIT"
] | null | null | null | poor_trader/systems.py | johndpope/poor-trader-py | 097fbb10c217abe0db5a2cd55d73e0ad2990acd9 | [
"MIT"
] | null | null | null |
import os
import pandas as pd
import numpy as np
from path import Path
from poor_trader import indicators
from poor_trader.config import SYSTEMS_PATH
def _trim_quotes(symbol, df_group_quotes):
df_quotes = df_group_quotes.filter(regex='^{}_'.format(symbol))
df_quotes.columns = [_.replace(symbol + '_', '') for... | 58.057143 | 154 | 0.640912 | 813 | 6,096 | 4.536285 | 0.119311 | 0.071584 | 0.035792 | 0.032538 | 0.810195 | 0.748644 | 0.712581 | 0.660521 | 0.643709 | 0.625271 | 0 | 0.010753 | 0.237205 | 6,096 | 104 | 155 | 58.615385 | 0.782366 | 0 | 0 | 0.645161 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053763 | false | 0 | 0.064516 | 0 | 0.215054 | 0.043011 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4459f6dd89c87c1dc0815f098f635ce555cca41b | 122 | py | Python | cookie_monster/apps.py | dreipol/django-cookie-monster | d2bdabf385ab2db1f88b62940fd0c12568d87a67 | [
"BSD-3-Clause"
] | 4 | 2021-09-17T21:59:54.000Z | 2021-09-18T13:23:23.000Z | cookie_monster/apps.py | dreipol/django-cookie-monster | d2bdabf385ab2db1f88b62940fd0c12568d87a67 | [
"BSD-3-Clause"
] | 4 | 2019-10-21T14:45:53.000Z | 2021-05-11T09:57:27.000Z | cookie_monster/apps.py | dreipol/django-cookie-monster | d2bdabf385ab2db1f88b62940fd0c12568d87a67 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8
from django.apps import AppConfig
class CookieMonsterConfig(AppConfig):
name = 'cookie_monster'
| 17.428571 | 37 | 0.737705 | 14 | 122 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.155738 | 122 | 6 | 38 | 20.333333 | 0.854369 | 0.139344 | 0 | 0 | 0 | 0 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
445a2b15ca715a27d60239fc8926b46ce6fadbca | 91 | py | Python | mhxxinfo_server/kariwaza/apps.py | aiirohituzi/MHXXInfo | 941469b44e746ad97a03bf0dd5bfdea4cd96f5ae | [
"MIT"
] | null | null | null | mhxxinfo_server/kariwaza/apps.py | aiirohituzi/MHXXInfo | 941469b44e746ad97a03bf0dd5bfdea4cd96f5ae | [
"MIT"
] | 2 | 2018-02-01T13:54:32.000Z | 2018-03-31T14:02:40.000Z | mhxxinfo_server/kariwaza/apps.py | aiirohituzi/MHXXInfo | 941469b44e746ad97a03bf0dd5bfdea4cd96f5ae | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class KariwazaConfig(AppConfig):
name = 'kariwaza'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4496ca072a1cf1b7640f8d6a12aee69702376a67 | 138 | py | Python | src/scopt/__init__.py | kitasubmarine/scopt | 0da1f2fa3076e408e65e803eaaed0b8716f20b56 | [
"MIT"
] | 4 | 2021-06-10T10:03:08.000Z | 2022-03-18T13:11:25.000Z | src/scopt/__init__.py | kitasubmarine/scopt | 0da1f2fa3076e408e65e803eaaed0b8716f20b56 | [
"MIT"
] | null | null | null | src/scopt/__init__.py | kitasubmarine/scopt | 0da1f2fa3076e408e65e803eaaed0b8716f20b56 | [
"MIT"
] | 1 | 2022-03-30T04:55:14.000Z | 2022-03-30T04:55:14.000Z | from scopt.__version__ import __version__
from scopt.optimizer import SparkConfOptimizer
__all__ = ['SparkConfOptimizer', '__version__']
| 27.6 | 47 | 0.833333 | 13 | 138 | 7.615385 | 0.538462 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 4 | 48 | 34.5 | 0.792 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
92290b44423e06f8353ad18c2f66d65a8509ce41 | 451 | py | Python | wasmite/__init__.py | yusuf8ahmed/wasmite | 195e291eb11a86c3595042ddabc3d974ec300cec | [
"Apache-2.0"
] | 20 | 2020-11-22T13:53:23.000Z | 2022-02-14T08:10:53.000Z | wasmite/__init__.py | yusuf8ahmed/wasmite | 195e291eb11a86c3595042ddabc3d974ec300cec | [
"Apache-2.0"
] | 4 | 2020-11-30T15:08:12.000Z | 2021-03-03T13:34:57.000Z | wasmite/__init__.py | yusuf8ahmed/wasmite | 195e291eb11a86c3595042ddabc3d974ec300cec | [
"Apache-2.0"
] | 1 | 2021-02-02T22:33:24.000Z | 2021-02-02T22:33:24.000Z | from .globals import WasmiteCase
from .globals import FunctionTypes
from .globals import main
from .globals import I32
from .globals import I64
from .globals import F32
from .globals import F64
from .globals import V128
from .globals import EXTERN_REF
from .globals import FUNC_REF
from .wasm import WasmModule
from ... | 22.55 | 34 | 0.818182 | 66 | 451 | 5.560606 | 0.363636 | 0.299728 | 0.463215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028796 | 0.152993 | 451 | 19 | 35 | 23.736842 | 0.931937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
92356375a5777e21cce45c6cd123bea38065f5ad | 180 | py | Python | Analysis/Behaviour/shortcut/playground.py | BrancoLab/BehaviourAnalysis | 879d0cb7f9d30a1f144a0c76fa8d8163345e8740 | [
"MIT"
] | 2 | 2019-07-02T08:10:00.000Z | 2020-02-26T01:32:01.000Z | Analysis/Behaviour/shortcut/playground.py | FedeClaudi/BehaviourAnalysis | 879d0cb7f9d30a1f144a0c76fa8d8163345e8740 | [
"MIT"
] | null | null | null | Analysis/Behaviour/shortcut/playground.py | FedeClaudi/BehaviourAnalysis | 879d0cb7f9d30a1f144a0c76fa8d8163345e8740 | [
"MIT"
] | null | null | null | # %%
from fcutils.file_io.io import load_yaml
# %%
notes_path = 'D:\\Dropbox (UCL - SWC)\\Rotation_vte\\analysis_metadata\\shortctu\\notes.yml'
notes = load_yaml(notes_path)
notes | 25.714286 | 92 | 0.738889 | 27 | 180 | 4.666667 | 0.703704 | 0.126984 | 0.206349 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 180 | 7 | 93 | 25.714286 | 0.777778 | 0.027778 | 0 | 0 | 0 | 0 | 0.445087 | 0.33526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9249a10f91b7326256ea1a1bfc7d36a85e362a5d | 5,531 | py | Python | test/test_brute_force_2.py | MikeJongen/nonogram-solver | b174fe6c693c1ace3918bf19a9110165a5b42db9 | [
"MIT"
] | null | null | null | test/test_brute_force_2.py | MikeJongen/nonogram-solver | b174fe6c693c1ace3918bf19a9110165a5b42db9 | [
"MIT"
] | null | null | null | test/test_brute_force_2.py | MikeJongen/nonogram-solver | b174fe6c693c1ace3918bf19a9110165a5b42db9 | [
"MIT"
] | null | null | null | import sys
import os
import unittest
import nonogram_solver.basic.brute_force_2 as brute_force
class TestBasic(unittest.TestCase):
def test_number_of_solutions(self):
row = brute_force.BruteForceRowSolver2([2, 1], [0] * 5)
no_solutions = row._get_number_of_solutions()
self.assertEqual(no_... | 39.791367 | 79 | 0.582716 | 711 | 5,531 | 4.272855 | 0.104079 | 0.097433 | 0.131336 | 0.163265 | 0.842989 | 0.765306 | 0.717248 | 0.677749 | 0.642857 | 0.579987 | 0 | 0.066162 | 0.284035 | 5,531 | 138 | 80 | 40.07971 | 0.70101 | 0 | 0 | 0.398305 | 0 | 0 | 0.021696 | 0.008678 | 0 | 0 | 0 | 0 | 0.194915 | 1 | 0.135593 | false | 0 | 0.033898 | 0 | 0.177966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92561149f7726e472d3b8855dfbda97084cb6d6d | 83 | py | Python | src/pataka/models/__init__.py | astrogewgaw/pataka | bdeb8d71a2cc963cb3fb0d47d4942462d60cfea3 | [
"MIT"
] | 6 | 2021-04-24T12:16:22.000Z | 2021-12-31T14:46:37.000Z | src/pataka/models/__init__.py | astrogewgaw/pataka | bdeb8d71a2cc963cb3fb0d47d4942462d60cfea3 | [
"MIT"
] | null | null | null | src/pataka/models/__init__.py | astrogewgaw/pataka | bdeb8d71a2cc963cb3fb0d47d4942462d60cfea3 | [
"MIT"
] | null | null | null | from .furby import Furby
from .pulsar import Pulsar
__all__ = ["Furby", "Pulsar"]
| 16.6 | 29 | 0.722892 | 11 | 83 | 5.090909 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 30 | 20.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
92a99aa2371e704a82ddd0a16e5e062bde84df96 | 74 | py | Python | src/cipher_otp.py | askmuhsin/cryptography | 5781db2c94f082cd102efcad319fcca3140c7a93 | [
"MIT"
] | null | null | null | src/cipher_otp.py | askmuhsin/cryptography | 5781db2c94f082cd102efcad319fcca3140c7a93 | [
"MIT"
] | null | null | null | src/cipher_otp.py | askmuhsin/cryptography | 5781db2c94f082cd102efcad319fcca3140c7a93 | [
"MIT"
] | null | null | null | ##ONE TIME PAD
##Input : text
##Output: cipher text, key of length(text)
| 18.5 | 43 | 0.675676 | 12 | 74 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 3 | 44 | 24.666667 | 0.819672 | 0.864865 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92aace042d20bc803342d84f42a65fc58cdd031e | 118 | py | Python | nmigen/vendor/xilinx_ultrascale.py | antonblanchard/nmigen | 9834b7e95f3d146d51b7c8aa654dbd37df8babf4 | [
"BSD-2-Clause"
] | null | null | null | nmigen/vendor/xilinx_ultrascale.py | antonblanchard/nmigen | 9834b7e95f3d146d51b7c8aa654dbd37df8babf4 | [
"BSD-2-Clause"
] | null | null | null | nmigen/vendor/xilinx_ultrascale.py | antonblanchard/nmigen | 9834b7e95f3d146d51b7c8aa654dbd37df8babf4 | [
"BSD-2-Clause"
] | null | null | null | from .xilinx import XilinxPlatform
__all__ = ["XilinxUltraScalePlatform"]
XilinxUltraScalePlatform = XilinxPlatform
| 19.666667 | 41 | 0.838983 | 8 | 118 | 11.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 5 | 42 | 23.6 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
92b8619f004852f6c7402d67a65ae5d97afaf8a7 | 184 | py | Python | supervised_learning/0x03-optimization/2-shuffle_data.py | Naouali/holbertonschool-machine_learning | 60b7d50cd385bdf9c1372b6004308eec408d2670 | [
"MIT"
] | null | null | null | supervised_learning/0x03-optimization/2-shuffle_data.py | Naouali/holbertonschool-machine_learning | 60b7d50cd385bdf9c1372b6004308eec408d2670 | [
"MIT"
] | null | null | null | supervised_learning/0x03-optimization/2-shuffle_data.py | Naouali/holbertonschool-machine_learning | 60b7d50cd385bdf9c1372b6004308eec408d2670 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
shuffle data
"""
import numpy as np
def shuffle_data(X, Y):
"""
shuffle data
"""
p = np.random.permutation(len(X))
return X[p], Y[p]
| 11.5 | 37 | 0.565217 | 28 | 184 | 3.678571 | 0.642857 | 0.320388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.255435 | 184 | 15 | 38 | 12.266667 | 0.744526 | 0.255435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 | 0 | 1 | 0 | 0 | 4 |
2b9fae5bbce7d2d0ed392aeed8f6748762087d96 | 86 | py | Python | forge/__version__.py | ujjwalsh/pyforge | 454d7df39f6d6cc7531d3f87e7b7f7d83ae6e66e | [
"BSD-3-Clause"
] | 7 | 2015-01-01T18:40:53.000Z | 2021-10-20T14:13:08.000Z | forge/__version__.py | ujjwalsh/pyforge | 454d7df39f6d6cc7531d3f87e7b7f7d83ae6e66e | [
"BSD-3-Clause"
] | 6 | 2016-03-31T16:40:30.000Z | 2020-12-23T07:24:53.000Z | forge/__version__.py | ujjwalsh/pyforge | 454d7df39f6d6cc7531d3f87e7b7f7d83ae6e66e | [
"BSD-3-Clause"
] | 9 | 2016-03-31T15:21:29.000Z | 2021-03-20T06:29:09.000Z | import pkg_resources
__version__ = pkg_resources.get_distribution('pyforge').version
| 21.5 | 63 | 0.848837 | 10 | 86 | 6.6 | 0.7 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 86 | 3 | 64 | 28.666667 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2ba9d660c591d85668abb112c3e8bd86ae6be51e | 103 | py | Python | pbnh/app/__init__.py | tucked/pbnh | 1a619b9afd8cdc9a125751a94b9d566d31a2895d | [
"MIT"
] | 16 | 2016-04-12T22:54:54.000Z | 2020-05-10T21:08:36.000Z | pbnh/app/__init__.py | tucked/pbnh | 1a619b9afd8cdc9a125751a94b9d566d31a2895d | [
"MIT"
] | 29 | 2016-04-04T23:21:55.000Z | 2021-11-30T18:17:53.000Z | pbnh/app/__init__.py | tucked/pbnh | 1a619b9afd8cdc9a125751a94b9d566d31a2895d | [
"MIT"
] | 10 | 2016-04-12T16:54:35.000Z | 2019-04-17T22:42:02.000Z | from flask import Flask
app = Flask(__name__)
#app.config['CONFIG'] = None
from pbnh.app import views
| 17.166667 | 28 | 0.747573 | 16 | 103 | 4.5625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 29 | 20.6 | 0.829545 | 0.262136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2bbcf656182df99904cb3a69ad1176329c3c65e2 | 23 | py | Python | cantools/version.py | rettenbs/cantools | 6ae20991f28224a35992abbfd4f41040f4b503c9 | [
"MIT"
] | 1,063 | 2016-06-16T10:07:22.000Z | 2021-10-13T17:21:18.000Z | cantools/version.py | rettenbs/cantools | 6ae20991f28224a35992abbfd4f41040f4b503c9 | [
"MIT"
] | 334 | 2015-09-02T19:57:21.000Z | 2021-10-10T19:05:11.000Z | cantools/version.py | rettenbs/cantools | 6ae20991f28224a35992abbfd4f41040f4b503c9 | [
"MIT"
] | 341 | 2015-09-02T02:27:42.000Z | 2021-09-29T05:44:50.000Z | __version__ = '37.0.1'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2be57d7d72e5d05e362623d24b9991a92bc90756 | 30 | py | Python | scrapli_community/nokia/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 37 | 2020-11-13T20:50:30.000Z | 2022-03-25T16:15:28.000Z | scrapli_community/nokia/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 84 | 2020-08-02T16:20:15.000Z | 2022-03-02T14:38:26.000Z | scrapli_community/nokia/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 25 | 2020-08-01T23:51:37.000Z | 2022-02-21T10:06:33.000Z | """scrapli_community.nokia"""
| 15 | 29 | 0.733333 | 3 | 30 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 30 | 1 | 30 | 30 | 0.724138 | 0.766667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ecfb1de2859dc940b0c911c8933e1256beb36f52 | 817 | py | Python | test/python/tests/test_conversion.py | bh107/bohrium | 5b83e7117285fefc7779ed0e9acb0f8e74c7e068 | [
"Apache-2.0"
] | 236 | 2015-03-31T15:39:30.000Z | 2022-03-24T01:43:14.000Z | test/python/tests/test_conversion.py | bh107/bohrium | 5b83e7117285fefc7779ed0e9acb0f8e74c7e068 | [
"Apache-2.0"
] | 324 | 2015-05-27T10:35:38.000Z | 2021-12-10T07:34:10.000Z | test/python/tests/test_conversion.py | bh107/bohrium | 5b83e7117285fefc7779ed0e9acb0f8e74c7e068 | [
"Apache-2.0"
] | 41 | 2015-05-26T12:38:42.000Z | 2022-01-10T15:16:37.000Z | import sys
class test_conversion:
def init(self):
yield "a = M.arange(1);"
def test_float(self, cmd):
cmd += "res = float(a);"
return cmd
def test_int(self, cmd):
cmd += "res = int(a);"
return cmd
if sys.version_info[0] < 3:
def test_oct(self, cmd):
... | 20.425 | 48 | 0.476132 | 114 | 817 | 3.315789 | 0.289474 | 0.12963 | 0.185185 | 0.240741 | 0.224868 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015842 | 0.381885 | 817 | 40 | 49 | 20.425 | 0.732673 | 0 | 0 | 0.310345 | 0 | 0 | 0.172372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.034483 | 0 | 0.655172 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ecfd3c985d0e00b5f104479575c3ba1deeb0788a | 87 | py | Python | file_manager/folder/apps.py | nahidsaikat/File-Manager | 39f3109205c82d677459e5ff69aa45e0f1815ba4 | [
"MIT"
] | 1 | 2021-10-09T03:37:09.000Z | 2021-10-09T03:37:09.000Z | file_manager/folder/apps.py | nahidsaikat/File-Manager | 39f3109205c82d677459e5ff69aa45e0f1815ba4 | [
"MIT"
] | 9 | 2019-07-02T22:00:14.000Z | 2021-06-09T18:03:11.000Z | file_manager/folder/apps.py | nahidsaikat/File-Manager | 39f3109205c82d677459e5ff69aa45e0f1815ba4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FolderConfig(AppConfig):
name = 'folder'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ecfea3bce86ecc678ee2baa8327db9c8822158f1 | 91 | py | Python | dengue/breeding/apps.py | the-mosquito-man/dengue-app-backend-server | ac3a81f988ecc7e8fd431bb4e010bc0880e8e869 | [
"MIT"
] | null | null | null | dengue/breeding/apps.py | the-mosquito-man/dengue-app-backend-server | ac3a81f988ecc7e8fd431bb4e010bc0880e8e869 | [
"MIT"
] | 13 | 2020-02-11T23:41:49.000Z | 2022-03-11T23:43:15.000Z | dengue/breeding/apps.py | the-mosquito-man/dengue-app-backend-server | ac3a81f988ecc7e8fd431bb4e010bc0880e8e869 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BreedingConfig(AppConfig):
name = 'breeding'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a618400075a4f8735628ca6c1750cff922c4f0ec | 3,344 | py | Python | tests/test_uselessly_complexified_examples.py | bgoujaud/PEPit | 7352607069f5e90fb1919fc689ec5e9d745c3bac | [
"MIT"
] | 44 | 2021-11-18T16:41:20.000Z | 2022-02-14T09:59:13.000Z | tests/test_uselessly_complexified_examples.py | bgoujaud/PEPit | 7352607069f5e90fb1919fc689ec5e9d745c3bac | [
"MIT"
] | 2 | 2021-10-05T09:20:25.000Z | 2022-02-19T13:58:01.000Z | tests/test_uselessly_complexified_examples.py | bgoujaud/PEPit | 7352607069f5e90fb1919fc689ec5e9d745c3bac | [
"MIT"
] | 1 | 2022-02-08T12:03:29.000Z | 2022-02-08T12:03:29.000Z | import unittest
from PEPit.examples.unconstrained_convex_minimization import wc_proximal_point
from PEPit.examples.composite_convex_minimization import wc_proximal_gradient
from PEPit.examples.unconstrained_convex_minimization import wc_gradient_exact_line_search
from PEPit.examples.unconstrained_convex_minimization i... | 44.586667 | 136 | 0.727273 | 479 | 3,344 | 4.797495 | 0.110647 | 0.095735 | 0.093995 | 0.100087 | 0.910357 | 0.868581 | 0.839861 | 0.778503 | 0.624891 | 0.511749 | 0 | 0.021076 | 0.177033 | 3,344 | 74 | 137 | 45.189189 | 0.813953 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.173077 | false | 0 | 0.173077 | 0 | 0.365385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a629a96161852095feaeae3fae0d516f8c3dbf69 | 152 | py | Python | source/constants.py | FelixTheoret/Ergocycle | 0656e6cb43b535dd2f845420ad71742b1b85e412 | [
"MIT"
] | null | null | null | source/constants.py | FelixTheoret/Ergocycle | 0656e6cb43b535dd2f845420ad71742b1b85e412 | [
"MIT"
] | null | null | null | source/constants.py | FelixTheoret/Ergocycle | 0656e6cb43b535dd2f845420ad71742b1b85e412 | [
"MIT"
] | 2 | 2022-03-17T23:17:56.000Z | 2022-03-23T01:08:58.000Z | # Global constants that will be used all along the program
# Port paths
ODRIVE_USB_PORT_PATH = ""
REHASTIM_USB_PORT_PATH = ""
USB_DRIVE_PORT_PATH = ""
| 21.714286 | 58 | 0.769737 | 24 | 152 | 4.5 | 0.708333 | 0.222222 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 152 | 6 | 59 | 25.333333 | 0.84375 | 0.440789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a63072d900f5798c554f4ca8b6349a40b208197e | 123 | py | Python | nordlys/__init__.py | tc64/TAGME-Reproducibility | 79011798bb155555b1b164722693a6b9ae487e4f | [
"MIT"
] | 47 | 2016-09-15T21:56:19.000Z | 2022-03-17T20:48:44.000Z | nordlys/__init__.py | tc64/TAGME-Reproducibility | 79011798bb155555b1b164722693a6b9ae487e4f | [
"MIT"
] | 1 | 2021-05-21T20:16:03.000Z | 2021-05-26T09:07:10.000Z | nordlys/__init__.py | tc64/TAGME-Reproducibility | 79011798bb155555b1b164722693a6b9ae487e4f | [
"MIT"
] | 16 | 2016-09-10T12:45:08.000Z | 2021-06-22T13:05:51.000Z | from __future__ import division
import sys
# set default encoding to utf-8
reload(sys)
sys.setdefaultencoding("utf-8")
| 15.375 | 31 | 0.772358 | 18 | 123 | 5.055556 | 0.722222 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.146341 | 123 | 7 | 32 | 17.571429 | 0.847619 | 0.235772 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
a64c7e68fb3585446aea0877eff335f4ea01d006 | 215,903 | py | Python | pytest.py | shendel/hippyvm | 26cc6675612e4ddc4d1b425d2731d34c97355c45 | [
"MIT"
] | 1 | 2021-07-28T01:10:41.000Z | 2021-07-28T01:10:41.000Z | pytest.py | shendel/hippyvm | 26cc6675612e4ddc4d1b425d2731d34c97355c45 | [
"MIT"
] | null | null | null | pytest.py | shendel/hippyvm | 26cc6675612e4ddc4d1b425d2731d34c97355c45 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
sources = """
eNrsvWuXG8mRKKZ7/Vgb9t7d9b2+fh37lEBzq2qILjY5o5UWdzCzFIeUuJohefiQZk+rF6wGqrtL
DaDAqgIbvVr5+KP/hX+N7X/kz45XPisLQHNmpL3neHbF7gYyIzMjIyMjIuPxv//rP7z/UfL2L9c3
2XRRXWTTabkq2+n0/b96+/fD4TCCzy7K1UX06OWzKInXdTXfzIq6iaN8NY/iWbVqNkv6G35dFbO2
mEcfyjy6Km6uq3repBEAGQze/+u3f4YjNO38/X/y5v/8Vz/6Ubl... | 75.91526 | 77 | 0.95277 | 9,198 | 215,903 | 22.357904 | 0.935203 | 0.000428 | 0.000117 | 0.000185 | 0.001031 | 0.000603 | 0.000233 | 0.000233 | 0 | 0 | 0 | 0.156766 | 0.015609 | 215,903 | 2,843 | 78 | 75.941963 | 0.810839 | 0.000871 | 0 | 0.001414 | 0 | 0 | 0.992267 | 0.978694 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001414 | false | 0 | 0.003535 | 0 | 0.007423 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a64d360dea4cdfe83b46a216482eb373d633f546 | 563 | py | Python | firmware/common/python/KpixDaq/__init__.py | slaclab/kpix | abf5b87f9a5d25e4810fc5be523bdcc76c5cba91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | firmware/common/python/KpixDaq/__init__.py | slaclab/kpix | abf5b87f9a5d25e4810fc5be523bdcc76c5cba91 | [
"BSD-3-Clause-LBNL"
] | 3 | 2021-04-06T08:33:01.000Z | 2021-04-30T16:16:33.000Z | firmware/common/python/KpixDaq/__init__.py | slaclab/kpix | abf5b87f9a5d25e4810fc5be523bdcc76c5cba91 | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-12-12T22:58:44.000Z | 2020-12-12T22:58:44.000Z | from KpixDaq._DesyTracker import *
from KpixDaq._DesyTrackerEthCore import *
from KpixDaq._DesyTrackerRoot import *
from KpixDaq._DesyTrackerEnvironmentMonitor import *
from KpixDaq._DesyTrackerRunControl import *
from KpixDaq._TluMonitor import *
from KpixDaq._AcquisitionControl import *
from KpixDaq._KpixAsic import ... | 35.1875 | 52 | 0.840142 | 60 | 563 | 7.633333 | 0.3 | 0.360262 | 0.519651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007952 | 0.106572 | 563 | 15 | 53 | 37.533333 | 0.902584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a66b6cf78ba8fb6e09b8dafc7b99c615a80c9988 | 1,037 | py | Python | pytype/tests/py3/test_operators.py | OrBin/pytype | 52bf1b5b03e6c3caf39bf0f187980970d70fd536 | [
"Apache-2.0"
] | 2 | 2019-07-25T12:53:02.000Z | 2019-08-18T16:26:16.000Z | pytype/tests/py3/test_operators.py | OrBin/pytype | 52bf1b5b03e6c3caf39bf0f187980970d70fd536 | [
"Apache-2.0"
] | null | null | null | pytype/tests/py3/test_operators.py | OrBin/pytype | 52bf1b5b03e6c3caf39bf0f187980970d70fd536 | [
"Apache-2.0"
] | null | null | null | """Test operators (basic tests)."""
from pytype.tests import test_base
from pytype.tests import test_utils
class ConcreteTest(test_base.TargetPython3FeatureTest,
test_utils.OperatorsTestMixin):
"""Tests for operators on concrete values (no unknowns)."""
def test_div(self):
self.check_expr... | 25.925 | 61 | 0.688525 | 114 | 1,037 | 5.991228 | 0.377193 | 0.070278 | 0.187408 | 0.210835 | 0.639824 | 0.566618 | 0.532943 | 0.392387 | 0 | 0 | 0 | 0.007075 | 0.182257 | 1,037 | 39 | 62 | 26.589744 | 0.798349 | 0.168756 | 0 | 0.421053 | 0 | 0 | 0.058612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0 | 0.526316 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a6b2f0d238eaa03cc8527cbe820e5816bc746def | 21 | py | Python | PS6/A6.py | NumEconCopenhagen/exercises-2022 | de954532526f4c1dc7d78ff6fbb8987523735b8f | [
"MIT"
] | null | null | null | PS6/A6.py | NumEconCopenhagen/exercises-2022 | de954532526f4c1dc7d78ff6fbb8987523735b8f | [
"MIT"
] | null | null | null | PS6/A6.py | NumEconCopenhagen/exercises-2022 | de954532526f4c1dc7d78ff6fbb8987523735b8f | [
"MIT"
] | 2 | 2022-02-14T17:00:01.000Z | 2022-03-09T07:20:32.000Z | sm.solve(sm.sin(x)/x) | 21 | 21 | 0.666667 | 6 | 21 | 2.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 21 | 1 | 21 | 21 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
a6d6f592e10519037fd3372b538fe520b827648e | 112 | py | Python | tests/conf/conftest.py | jnvilo/sensesagent | 6f0691633708c03e564e8b4edf92a1a48f58b582 | [
"MIT"
] | null | null | null | tests/conf/conftest.py | jnvilo/sensesagent | 6f0691633708c03e564e8b4edf92a1a48f58b582 | [
"MIT"
] | 1 | 2021-06-01T22:10:50.000Z | 2021-06-01T22:10:50.000Z | tests/conf/conftest.py | jnvilo/sensesagent | 6f0691633708c03e564e8b4edf92a1a48f58b582 | [
"MIT"
] | null | null | null | from configobj import ConfigObj
config = ConfigObj("sensesagent.conf")
print(config)
print(config["keyword1"]) | 18.666667 | 38 | 0.785714 | 13 | 112 | 6.769231 | 0.615385 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.089286 | 112 | 6 | 39 | 18.666667 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a6e1c902470f785ad42293599e5ce1eaf88412d1 | 139 | py | Python | ObasiEmmanuel/Phase 1/Python Basic 1/Day 2 task/Question_eight.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | ObasiEmmanuel/Phase 1/Python Basic 1/Day 2 task/Question_eight.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | ObasiEmmanuel/Phase 1/Python Basic 1/Day 2 task/Question_eight.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | colour_list=["Red","Green","White","Black"]
first=colour_list[0]
last=colour_list[-1]
print("first and last colours are:",first,"and",last) | 34.75 | 53 | 0.726619 | 23 | 139 | 4.26087 | 0.608696 | 0.306122 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.05036 | 139 | 4 | 53 | 34.75 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a6f56dc007245345db8914fec3e1ab3430756968 | 74 | py | Python | arc/arc113/arc113b.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | arc/arc113/arc113b.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | arc/arc113/arc113b.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | A, B, C = map(int, input().split())
print(pow(A, pow(B, C, 4) + 4) % 10)
| 18.5 | 36 | 0.5 | 16 | 74 | 2.3125 | 0.6875 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.202703 | 74 | 3 | 37 | 24.666667 | 0.559322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a6fe2eb38d52b08ce33c530adc3c68654e98e23c | 19 | py | Python | src/merge/version.py | RobertKee/mergeMp3 | be2aab2e9ef328baeb8e0d3ddb4fafc5ae65f2fe | [
"MIT"
] | null | null | null | src/merge/version.py | RobertKee/mergeMp3 | be2aab2e9ef328baeb8e0d3ddb4fafc5ae65f2fe | [
"MIT"
] | null | null | null | src/merge/version.py | RobertKee/mergeMp3 | be2aab2e9ef328baeb8e0d3ddb4fafc5ae65f2fe | [
"MIT"
] | null | null | null | __version__="1.0.8" | 19 | 19 | 0.736842 | 4 | 19 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 19 | 1 | 19 | 19 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4720b28ecb44e8e39e44dfbab7af6650246d02d1 | 503 | py | Python | vcfx/field/calendar/nodes.py | Pholey/vcfx | 1c0e58fc420cdd85bcafb46ebb19389470aa9209 | [
"MIT"
] | 1 | 2016-02-08T10:19:09.000Z | 2016-02-08T10:19:09.000Z | vcfx/field/calendar/nodes.py | Pholey/vcfx | 1c0e58fc420cdd85bcafb46ebb19389470aa9209 | [
"MIT"
] | null | null | null | vcfx/field/calendar/nodes.py | Pholey/vcfx | 1c0e58fc420cdd85bcafb46ebb19389470aa9209 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from builtins import super
from future import standard_library
standard_library.install_aliases()
from vcfx.field.nodes import Field
#######
# TODO(cassidy): Figure out w... | 27.944444 | 78 | 0.759443 | 65 | 503 | 5.415385 | 0.584615 | 0.142045 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143141 | 503 | 17 | 79 | 29.588235 | 0.816705 | 0.151093 | 0 | 0 | 0 | 0 | 0.012165 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.083333 | false | 0 | 0.583333 | 0 | 0.833333 | 0.083333 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5b3346d06b6e7f586ed3e3000b3ac2c5daa78823 | 1,150 | py | Python | scripts/install-ccache.py | operaun/toolbox | e8b6ab8f2c223d355ef042a75699a3fc9d5c83d6 | [
"MIT"
] | null | null | null | scripts/install-ccache.py | operaun/toolbox | e8b6ab8f2c223d355ef042a75699a3fc9d5c83d6 | [
"MIT"
] | null | null | null | scripts/install-ccache.py | operaun/toolbox | e8b6ab8f2c223d355ef042a75699a3fc9d5c83d6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
print "--| installing ccache package and configuration"
# TODO(jongmin): Check permission. (is root required?)
os.system("pkg install ccache")
with open("/etc/make.conf", 'a') as make_file:
make_file.write('''
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
... | 33.823529 | 100 | 0.672174 | 170 | 1,150 | 4.494118 | 0.470588 | 0.052356 | 0.078534 | 0.109948 | 0.162304 | 0.073298 | 0 | 0 | 0 | 0 | 0 | 0.004073 | 0.146087 | 1,150 | 33 | 101 | 34.848485 | 0.773931 | 0.218261 | 0 | 0.190476 | 0 | 0.190476 | 0.782998 | 0.407159 | 0 | 0 | 0 | 0.030303 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b53955752334a9f83433c64d2a3c3094e8081f4 | 1,703 | py | Python | pyanime4k/error.py | kipmadden/pyanime4k | fb6a9018cef5f84f2b357a0a7dee60752f061e39 | [
"MIT"
] | 84 | 2020-04-07T10:26:38.000Z | 2022-03-27T21:33:46.000Z | pyanime4k/error.py | kipmadden/pyanime4k | fb6a9018cef5f84f2b357a0a7dee60752f061e39 | [
"MIT"
] | 21 | 2020-04-11T12:27:06.000Z | 2022-01-15T09:47:58.000Z | pyanime4k/error.py | kipmadden/pyanime4k | fb6a9018cef5f84f2b357a0a7dee60752f061e39 | [
"MIT"
] | 16 | 2020-05-23T05:17:35.000Z | 2022-02-26T19:56:50.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Name: PyAnime4K error
Author: TianZerL
Editor: K4YT3X
"""
from pyanime4k.wrapper import *
"""
typedef enum ac_error
{
AC_OK = 0,
AC_ERROR_NULL_INSTANCE,
AC_ERROR_NULL_PARAMETERS,
AC_ERROR_NULL_Data,
AC_ERROR_INIT_GPU,
... | 29.877193 | 85 | 0.728714 | 252 | 1,703 | 4.25 | 0.246032 | 0.287582 | 0.092437 | 0.053221 | 0.759104 | 0.744164 | 0.735761 | 0.676937 | 0.676937 | 0.676937 | 0 | 0.022383 | 0.186729 | 1,703 | 56 | 86 | 30.410714 | 0.750903 | 0.056958 | 0 | 0 | 0 | 0 | 0.322049 | 0.196706 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0.041667 | 0.208333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b65497c8dfe1199b3dcddbd1d2debf13b6a6ebd | 117 | py | Python | tests/unit/test_placeholder.py | djpugh/docserver-client | d6bfc61d4373798502bf5a24665371e714f1c791 | [
"MIT"
] | 1 | 2020-12-29T09:16:49.000Z | 2020-12-29T09:16:49.000Z | tests/unit/test_placeholder.py | djpugh/docserver | 8b272ae8fe75b4773da6111a074a141bcf4698c9 | [
"MIT"
] | 36 | 2020-11-14T18:47:37.000Z | 2022-03-26T15:37:25.000Z | tests/unit/test_placeholder.py | djpugh/docserver | 8b272ae8fe75b4773da6111a074a141bcf4698c9 | [
"MIT"
] | null | null | null | import unittest
class PlaceholderTestCase(unittest.TestCase):
def test_x(self):
self.assertEqual(1, 1)
| 16.714286 | 45 | 0.717949 | 14 | 117 | 5.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.188034 | 117 | 6 | 46 | 19.5 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5bacc22b61fda498e53088779d67ffd220eebdff | 5,400 | py | Python | teleband/musics/migrations/0016_seed_pieces_later.py | JMU-CIME/CPR-Music-Backend | b72b70ed8826595c96c028595181293edcf1e368 | [
"MIT"
] | 2 | 2022-01-08T20:21:43.000Z | 2022-03-18T03:31:30.000Z | teleband/musics/migrations/0016_seed_pieces_later.py | JMU-CIME/CPR-Music-Backend | b72b70ed8826595c96c028595181293edcf1e368 | [
"MIT"
] | 16 | 2022-01-08T02:12:54.000Z | 2022-03-02T03:02:59.000Z | teleband/musics/migrations/0016_seed_pieces_later.py | JMU-CIME/CPR-Music-Backend | b72b70ed8826595c96c028595181293edcf1e368 | [
"MIT"
] | 2 | 2022-01-08T00:21:37.000Z | 2022-01-18T05:33:15.000Z | # Generated by Django 3.2.11 on 2022-03-28 03:41
from django.db import migrations
import json
from teleband.musics.api.serializers import *
data = {
"name": "Air for Band",
"ensemble_type": "Band",
"parts": [
{
"name": "Air for Band Melody",
"part_type": "Melody",
... | 42.857143 | 157 | 0.657963 | 272 | 5,400 | 13.011029 | 0.397059 | 0.054253 | 0.056513 | 0.015824 | 0.124329 | 0.097203 | 0.097203 | 0.097203 | 0.097203 | 0.097203 | 0 | 0.347253 | 0.241667 | 5,400 | 125 | 158 | 43.2 | 0.516972 | 0.008519 | 0 | 0.294643 | 1 | 0 | 0.585949 | 0.401906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008929 | false | 0 | 0.026786 | 0 | 0.071429 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5bd649f3b1267162b0ba91422d495bc6c26949a0 | 553 | py | Python | cwProject/cwApp/views.py | cs-fullstack-2019-spring/django-intro1-cw-autumn-ragland | 8c5cbedb7ac129a63175bebb4b0436a272516c54 | [
"Apache-2.0"
] | null | null | null | cwProject/cwApp/views.py | cs-fullstack-2019-spring/django-intro1-cw-autumn-ragland | 8c5cbedb7ac129a63175bebb4b0436a272516c54 | [
"Apache-2.0"
] | null | null | null | cwProject/cwApp/views.py | cs-fullstack-2019-spring/django-intro1-cw-autumn-ragland | 8c5cbedb7ac129a63175bebb4b0436a272516c54 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
# function that are called via the chosen path in the app file
def index(request):
return HttpResponse("This is a bad request. Start with the music route.")
def music(request):
return HttpResponse("King Princess, Ariana, Christine and the Queens")
def ari(request):
... | 23.041667 | 78 | 0.748644 | 77 | 553 | 5.376623 | 0.61039 | 0.157005 | 0.301932 | 0.140097 | 0.178744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 553 | 23 | 79 | 24.043478 | 0.90989 | 0.108499 | 0 | 0 | 0 | 0 | 0.419223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
5bdff4853a765b68679f41bbd13c8c1c393c4aeb | 56 | py | Python | pipert2/core/managers/networks/__init__.py | MayoG/PipeRT2 | 357bf8a5fd3f3fe2149b7b0317d2c39dde66561d | [
"MIT"
] | 1 | 2021-11-23T17:20:11.000Z | 2021-11-23T17:20:11.000Z | pipert2/core/managers/networks/__init__.py | MayoG/PipeRT2 | 357bf8a5fd3f3fe2149b7b0317d2c39dde66561d | [
"MIT"
] | 124 | 2021-05-10T06:35:48.000Z | 2022-03-10T09:25:27.000Z | pipert2/core/managers/networks/__init__.py | MayoG/PipeRT2 | 357bf8a5fd3f3fe2149b7b0317d2c39dde66561d | [
"MIT"
] | 4 | 2021-09-12T08:10:10.000Z | 2021-11-29T12:10:20.000Z | from .queue_network import QueueNetwork as QueueNetwork
| 28 | 55 | 0.875 | 7 | 56 | 6.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5be9d1719515aa8f402a8ca311771eb22c0e0468 | 472 | py | Python | final-project/audioquiz/models.py | krishna-vasudev/lightify | 31d67c42b943439af8ad82d6e7b7e1c7c62f2a7f | [
"MIT"
] | null | null | null | final-project/audioquiz/models.py | krishna-vasudev/lightify | 31d67c42b943439af8ad82d6e7b7e1c7c62f2a7f | [
"MIT"
] | 4 | 2021-10-09T17:56:16.000Z | 2021-10-10T12:09:54.000Z | final-project/audioquiz/models.py | krishna-vasudev/lightify | 31d67c42b943439af8ad82d6e7b7e1c7c62f2a7f | [
"MIT"
] | 2 | 2021-10-09T17:33:52.000Z | 2021-10-10T11:19:07.000Z | from django.db import models
# Create your models here.
class QuesModel(models.Model):
question = models.CharField(max_length=200, null=True)
op1 = models.CharField(max_length=200, null=True)
op2 = models.CharField(max_length=200, null=True)
op3 = models.CharField(max_length=200, null=True)
op4 =... | 29.5 | 58 | 0.720339 | 67 | 472 | 4.925373 | 0.402985 | 0.272727 | 0.327273 | 0.436364 | 0.636364 | 0.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0.05598 | 0.167373 | 472 | 15 | 59 | 31.466667 | 0.783715 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0.1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
752676cd7087465a3a4c091592d9d9292595ed50 | 245 | py | Python | src/nr/util/awsgi/_types.py | NiklasRosenstein/python-nr.util | 087f2410d38006c1005a5fb330c47a56bcdb2279 | [
"MIT"
] | null | null | null | src/nr/util/awsgi/_types.py | NiklasRosenstein/python-nr.util | 087f2410d38006c1005a5fb330c47a56bcdb2279 | [
"MIT"
] | 3 | 2022-02-16T13:17:28.000Z | 2022-03-14T15:28:41.000Z | src/nr/util/awsgi/_types.py | NiklasRosenstein/python-nr.util | 087f2410d38006c1005a5fb330c47a56bcdb2279 | [
"MIT"
] | null | null | null |
import typing_extensions as te
class ASGIApp(te.Protocol):
def __call__(self, scope, receive, send):
raise NotImplementedError
class WSGIApp(te.Protocol):
def __call__(self, environ, start_response):
raise NotImplementedError
| 16.333333 | 46 | 0.759184 | 29 | 245 | 6.068966 | 0.689655 | 0.113636 | 0.147727 | 0.193182 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 245 | 14 | 47 | 17.5 | 0.858537 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7536555cfe877fdc97450ac77d176ef42b42bce3 | 91 | py | Python | app/formsite/apps.py | the-marcd/app-intro | 74ea854e6674831f8fffd4c4004b2caeb076dd3d | [
"Apache-2.0"
] | null | null | null | app/formsite/apps.py | the-marcd/app-intro | 74ea854e6674831f8fffd4c4004b2caeb076dd3d | [
"Apache-2.0"
] | null | null | null | app/formsite/apps.py | the-marcd/app-intro | 74ea854e6674831f8fffd4c4004b2caeb076dd3d | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class FormsiteConfig(AppConfig):
name = 'formsite'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
753a3c80f51881de468186be10e7e4d8a64e9f71 | 660 | py | Python | lcd/screens/screen.py | cuauv/software | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | [
"BSD-3-Clause"
] | 70 | 2015-11-16T18:04:01.000Z | 2022-03-05T09:04:02.000Z | lcd/screens/screen.py | cuauv/software | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | [
"BSD-3-Clause"
] | 1 | 2016-08-03T05:13:19.000Z | 2016-08-03T06:19:39.000Z | lcd/screens/screen.py | cuauv/software | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | [
"BSD-3-Clause"
] | 34 | 2015-12-15T17:29:23.000Z | 2021-11-18T14:15:12.000Z |
class Screen:
"""
Abstract class for drawing to the LCD
The main program will transition between
displaying various "screens" based on
high-level logic
"""
def draw(self, cr):
raise NotImplementedError("Must implement draw")
def stop(self):
"""
Some screens may ... | 24.444444 | 65 | 0.639394 | 79 | 660 | 5.316456 | 0.721519 | 0.114286 | 0.133333 | 0.17619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293939 | 660 | 26 | 66 | 25.384615 | 0.901288 | 0.422727 | 0 | 0 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7547fa00a6e52fa7208f67b4f610c52b67acaf39 | 199 | py | Python | src/crawler/fake_crawler.py | poyang31/hw_2021_12 | 2c16166c943b2ab57f1a889f133c118568bc49f4 | [
"MIT"
] | 3 | 2021-12-19T07:18:20.000Z | 2021-12-20T01:31:21.000Z | src/crawler/fake_crawler.py | poyang31/hw_2021_12 | 2c16166c943b2ab57f1a889f133c118568bc49f4 | [
"MIT"
] | null | null | null | src/crawler/fake_crawler.py | poyang31/hw_2021_12 | 2c16166c943b2ab57f1a889f133c118568bc49f4 | [
"MIT"
] | 2 | 2021-12-19T12:44:21.000Z | 2021-12-19T13:44:28.000Z | from scrapy.http import HtmlResponse
from src.crawler.spider import Spider
class FakeCrawler(Spider):
name = "Test"
def capture(self, response: HtmlResponse) -> None:
return None
| 18.090909 | 54 | 0.713568 | 24 | 199 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20603 | 199 | 10 | 55 | 19.9 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.020101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
754ea7613223213fd1c6c9b955ee54408ddd51bb | 3,357 | py | Python | generators/ReportGenerator.py | open-cluster-management/canary-reporting | d97d49fb83e8e8d5e56b937261928285303e475e | [
"Apache-2.0"
] | null | null | null | generators/ReportGenerator.py | open-cluster-management/canary-reporting | d97d49fb83e8e8d5e56b937261928285303e475e | [
"Apache-2.0"
] | 35 | 2021-03-24T14:57:42.000Z | 2021-09-23T18:37:58.000Z | generators/ReportGenerator.py | open-cluster-management/canary-reporting | d97d49fb83e8e8d5e56b937261928285303e475e | [
"Apache-2.0"
] | 1 | 2021-08-02T14:26:55.000Z | 2021-08-02T14:26:55.000Z | import argparse, os
class ReportGenerator():
def generate_parent_parser() -> argparse.ArgumentParser:
parent = argparse.ArgumentParser(add_help=False)
parent.add_argument('results_directory', nargs='+', metavar='RESULTS_DIR',
help="A directory that holds JUnit XML Results files to ... | 95.914286 | 184 | 0.709562 | 461 | 3,357 | 5.052061 | 0.260304 | 0.0541 | 0.10219 | 0.069558 | 0.571919 | 0.501503 | 0.468012 | 0.306569 | 0.239588 | 0.205238 | 0 | 0.002195 | 0.185582 | 3,357 | 35 | 185 | 95.914286 | 0.849671 | 0 | 0 | 0 | 1 | 0.242424 | 0.624479 | 0.056879 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0.060606 | 0.212121 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f32c12e56200b85b9ff86693322bdac9edffb001 | 2,466 | py | Python | test/test_add_and_dell_contact_to_group.py | 89258085058/software_testing | 56ea1d48eca91de6e21d844ecae9e20a9cca17b7 | [
"Apache-2.0"
] | 1 | 2021-07-23T11:50:27.000Z | 2021-07-23T11:50:27.000Z | test/test_add_and_dell_contact_to_group.py | 89258085058/software_testing | 56ea1d48eca91de6e21d844ecae9e20a9cca17b7 | [
"Apache-2.0"
] | null | null | null | test/test_add_and_dell_contact_to_group.py | 89258085058/software_testing | 56ea1d48eca91de6e21d844ecae9e20a9cca17b7 | [
"Apache-2.0"
] | null | null | null | from fixture.orm import *
import random
def test_add_contact_to_group(app, orm):
contact = None
add_to_group = None
all_groups = orm.get_group_list()
if len(all_groups) == 0:
app.group.add_personal_information(Contact(firstname="Alexandr", lastname="Gorelov"))
all_groups = orm.get_grou... | 44.836364 | 116 | 0.703569 | 356 | 2,466 | 4.519663 | 0.13764 | 0.087011 | 0.087011 | 0.065258 | 0.835301 | 0.824114 | 0.754506 | 0.694842 | 0.694842 | 0.660659 | 0 | 0.009068 | 0.195053 | 2,466 | 54 | 117 | 45.666667 | 0.801511 | 0 | 0 | 0.58 | 0 | 0 | 0.020276 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f35ddabb2628d4d788581fc45ff8655513292757 | 896 | py | Python | colour/examples/plotting/examples_corresponding.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 1,380 | 2015-01-10T12:30:33.000Z | 2022-03-30T10:19:57.000Z | colour/examples/plotting/examples_corresponding.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 638 | 2015-01-02T10:49:05.000Z | 2022-03-29T10:16:22.000Z | colour/examples/plotting/examples_corresponding.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 250 | 2015-01-21T15:27:19.000Z | 2022-03-30T10:23:58.000Z | # -*- coding: utf-8 -*-
"""
Showcases corresponding chromaticities prediction plotting examples.
"""
from colour.plotting import (colour_style,
plot_corresponding_chromaticities_prediction)
from colour.utilities import message_box
message_box('Corresponding Chromaticities Prediction Plots... | 35.84 | 75 | 0.729911 | 91 | 896 | 7.021978 | 0.428571 | 0.295775 | 0.405321 | 0.192488 | 0.528951 | 0.528951 | 0.528951 | 0.172144 | 0 | 0 | 0 | 0.032564 | 0.177455 | 896 | 24 | 76 | 37.333333 | 0.834464 | 0.101563 | 0 | 0.142857 | 0 | 0 | 0.48808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.071429 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
f399011d3bbea76d8905046cf0ba58bac8226cd1 | 67 | py | Python | CommonUtils.py | hoodedpaladin/HoodTracker | 49c589aaaf006d06570c8cd93a3a6280b9025bbf | [
"MIT"
] | 5 | 2021-02-12T08:54:45.000Z | 2022-03-24T00:00:15.000Z | CommonUtils.py | hoodedpaladin/HoodTracker | 49c589aaaf006d06570c8cd93a3a6280b9025bbf | [
"MIT"
] | 1 | 2021-12-30T20:56:04.000Z | 2022-01-07T22:03:09.000Z | CommonUtils.py | hoodedpaladin/HoodTracker | 49c589aaaf006d06570c8cd93a3a6280b9025bbf | [
"MIT"
] | 1 | 2020-10-09T10:46:33.000Z | 2020-10-09T10:46:33.000Z |
def expectOne(vals):
assert len(vals) == 1
return vals[0]
| 13.4 | 25 | 0.61194 | 10 | 67 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.253731 | 67 | 4 | 26 | 16.75 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.