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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42a3f6abe5d81d91591b4e5a173d6a2692cdae44 | 54 | py | Python | kloppy/event_pattern_matching.py | benoitblanc/kloppy | 5c3f94ff8806f9e23f8bad095a948a403a06a54c | [
"BSD-3-Clause"
] | null | null | null | kloppy/event_pattern_matching.py | benoitblanc/kloppy | 5c3f94ff8806f9e23f8bad095a948a403a06a54c | [
"BSD-3-Clause"
] | null | null | null | kloppy/event_pattern_matching.py | benoitblanc/kloppy | 5c3f94ff8806f9e23f8bad095a948a403a06a54c | [
"BSD-3-Clause"
] | null | null | null | from .domain.services.matchers.pattern.event import *
| 27 | 53 | 0.814815 | 7 | 54 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.88 | 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 | 1 | 0 | 0 | 5 |
35f8b257b484d64a21370032a6d703702f87e375 | 127 | py | Python | test/tests/future_not_at_beginning2.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:28:45.000Z | 2020-02-06T14:28:45.000Z | test/tests/future_not_at_beginning2.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | test/tests/future_not_at_beginning2.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:29:00.000Z | 2020-02-06T14:29:00.000Z | # should_error
"docstring"
def f():
class C(object):
from __future__ import division # should cause syntax error
| 15.875 | 67 | 0.685039 | 16 | 127 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23622 | 127 | 7 | 68 | 18.142857 | 0.845361 | 0.385827 | 0 | 0 | 0 | 0 | 0.104651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
35ff5d7d64ba8568b410e9d8f5d1a87e66d5a2d6 | 2,174 | py | Python | test/unittests/test_StreamBankNSum.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | null | null | null | test/unittests/test_StreamBankNSum.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 6 | 2018-07-24T22:46:28.000Z | 2018-07-29T19:13:09.000Z | test/unittests/test_StreamBankNSum.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 1 | 2018-07-24T18:22:01.000Z | 2018-07-24T18:22:01.000Z | import numpy as np
from VariableUnittest import VariableUnitTest
from gwlfe.Output.Loading import StreamBankNSum
class TestStreamBankNSum(VariableUnitTest):
def test_StreamBankNSum(self):
z = self.z
np.testing.assert_array_almost_equal(
StreamBankNSum.StreamBankNSum_f(z.NYrs, z.DaysM... | 72.466667 | 120 | 0.517939 | 253 | 2,174 | 4.367589 | 0.296443 | 0.028959 | 0.01086 | 0.027149 | 0.760181 | 0.760181 | 0.760181 | 0.760181 | 0.760181 | 0.760181 | 0 | 0.033408 | 0.380405 | 2,174 | 29 | 121 | 74.965517 | 0.786934 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.12 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c43f5bf996e0ded3e9205b0383346edba36a9fdc | 260 | py | Python | utils/pipe.py | ztytotoro/python-scripts | a337abd6c2705483d3167f611d671a2b7ee517f7 | [
"MIT"
] | null | null | null | utils/pipe.py | ztytotoro/python-scripts | a337abd6c2705483d3167f611d671a2b7ee517f7 | [
"MIT"
] | null | null | null | utils/pipe.py | ztytotoro/python-scripts | a337abd6c2705483d3167f611d671a2b7ee517f7 | [
"MIT"
] | null | null | null | class Pipe(object):
def __init__(self, function):
self.function = function
def __ror__(self, other):
return self.function(other)
def __call__(self, *args, **kwargs):
return Pipe(lambda x: self.function(x, *args, **kwargs)) | 28.888889 | 64 | 0.634615 | 32 | 260 | 4.78125 | 0.46875 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 260 | 9 | 64 | 28.888889 | 0.765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c46cf5709823c1423ac86947295e250f61a5fdeb | 126 | py | Python | spotlightpy/__init__.py | neil-vqa/spotlightpy | 28b838fcaf69feb1aa1f950dba60353fbdfbb54a | [
"MIT"
] | null | null | null | spotlightpy/__init__.py | neil-vqa/spotlightpy | 28b838fcaf69feb1aa1f950dba60353fbdfbb54a | [
"MIT"
] | null | null | null | spotlightpy/__init__.py | neil-vqa/spotlightpy | 28b838fcaf69feb1aa1f950dba60353fbdfbb54a | [
"MIT"
] | 1 | 2021-06-03T19:21:20.000Z | 2021-06-03T19:21:20.000Z | ''' Use the sub module spotlight to harness Images from MS Windows X Spotlight project'''
from spotlightpy import spotlight
| 25.2 | 89 | 0.785714 | 18 | 126 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 126 | 4 | 90 | 31.5 | 0.942857 | 0.650794 | 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 | 1 | 0 | 0 | 5 |
c46f88a335ba33329f3cca081d428034c24a6951 | 219 | py | Python | tests/test_packages.py | c4pt0r/tuir | ba3435cca3e4e66c029230e523fa24b775378874 | [
"MIT"
] | 7 | 2021-05-21T20:40:57.000Z | 2022-03-08T09:18:01.000Z | tests/test_packages.py | c4pt0r/tuir | ba3435cca3e4e66c029230e523fa24b775378874 | [
"MIT"
] | null | null | null | tests/test_packages.py | c4pt0r/tuir | ba3435cca3e4e66c029230e523fa24b775378874 | [
"MIT"
] | 1 | 2022-03-07T14:52:33.000Z | 2022-03-07T14:52:33.000Z | from tuir import packages
def test_praw3_package():
# Sanity check that the package was installed
assert packages.praw
assert len(packages.__praw_hash__) == 40
assert packages.__praw_bundled__ is True
| 24.333333 | 49 | 0.757991 | 30 | 219 | 5.133333 | 0.733333 | 0.233766 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.191781 | 219 | 8 | 50 | 27.375 | 0.853107 | 0.196347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c47bb4fb46e931a8c9e57f74df718cc9a79abfea | 1,135 | py | Python | grr/server/server_plugins.py | panhania/grr | fe16a7311a528e31fe0e315a880e98273b8df960 | [
"Apache-2.0"
] | null | null | null | grr/server/server_plugins.py | panhania/grr | fe16a7311a528e31fe0e315a880e98273b8df960 | [
"Apache-2.0"
] | 1 | 2018-05-08T21:15:51.000Z | 2018-05-08T21:15:51.000Z | grr/server/server_plugins.py | panhania/grr | fe16a7311a528e31fe0e315a880e98273b8df960 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""Centralized import point for server plugins in grr/server directory.
This acts as a centralized point for modules that need to be loaded for
the server components so that the server_startup.Init() function will find and
register them.
This also acts as a sensible single place to add deploymen... | 36.612903 | 78 | 0.834361 | 184 | 1,135 | 5.054348 | 0.396739 | 0.183871 | 0.251613 | 0.224731 | 0.282796 | 0.229032 | 0.162366 | 0 | 0 | 0 | 0 | 0.001003 | 0.121586 | 1,135 | 30 | 79 | 37.833333 | 0.931795 | 0.368282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 5 |
c47fcabb54fbcd6dc9767facb73d96e7c56eb964 | 6,833 | py | Python | Src/ApRES/Rover/HF/StartStop/plot_start_stop_pos_rtk.py | rdrews-dev/ReMeltRadar | 7492323e7a412d35506c5c4f53333a9aea12a562 | [
"MIT"
] | null | null | null | Src/ApRES/Rover/HF/StartStop/plot_start_stop_pos_rtk.py | rdrews-dev/ReMeltRadar | 7492323e7a412d35506c5c4f53333a9aea12a562 | [
"MIT"
] | null | null | null | Src/ApRES/Rover/HF/StartStop/plot_start_stop_pos_rtk.py | rdrews-dev/ReMeltRadar | 7492323e7a412d35506c5c4f53333a9aea12a562 | [
"MIT"
] | 1 | 2022-03-10T10:48:32.000Z | 2022-03-10T10:48:32.000Z | import datetime
import matplotlib.dates as mdates
import matplotlib.pyplot as plt
import pandas as pd
import pathlib
# Define colour fields
ucl_blue = (0, 151/255, 169/255)
ucl_orange = (234/255, 118/255, 0)
ucl_green = (181/255, 189/255, 0)
ucl_red = (213/255, 0, 50/255)
MARKER_SIZE=0.5
ROOT_PATH = pathlib.Path(".... | 28.710084 | 91 | 0.68418 | 1,194 | 6,833 | 3.721943 | 0.138191 | 0.024978 | 0.061431 | 0.075608 | 0.817507 | 0.80468 | 0.707696 | 0.707696 | 0.682043 | 0.682043 | 0 | 0.086514 | 0.122055 | 6,833 | 238 | 92 | 28.710084 | 0.654276 | 0.040978 | 0 | 0.560847 | 0 | 0 | 0.061611 | 0.023697 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005291 | false | 0.010582 | 0.026455 | 0 | 0.031746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
c480194841443ef682d525500c2b0a286839bdb3 | 129 | py | Python | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/AdditionalInputFiles/RestingCondition/LVDataElastanceController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | 10 | 2020-09-17T18:55:31.000Z | 2022-02-23T02:52:38.000Z | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/ReadyToUseFiles/RestingCondition/LVDataElastanceController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | null | null | null | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/ReadyToUseFiles/RestingCondition/LVDataElastanceController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | 3 | 2021-05-19T09:02:21.000Z | 2021-07-26T17:39:57.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:00d41c118e6c444c85be97ecd91f67088a2fd53b9c4398d2a9b0b9fd8b244979
size 2932
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.398374 | 0.046512 | 129 | 3 | 76 | 43 | 0.528455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
670c7bc945f565c15a80b6e79960ea95c499eec0 | 56 | py | Python | smhi/exceptions/SmhiExceptions.py | Menturan/SMHIpy | fec57677dc6643cdede5694b79edbfa6b65ac7dc | [
"MIT"
] | 1 | 2018-12-12T05:51:12.000Z | 2018-12-12T05:51:12.000Z | smhi/exceptions/SmhiExceptions.py | Menturan/SMHIpy | fec57677dc6643cdede5694b79edbfa6b65ac7dc | [
"MIT"
] | null | null | null | smhi/exceptions/SmhiExceptions.py | Menturan/SMHIpy | fec57677dc6643cdede5694b79edbfa6b65ac7dc | [
"MIT"
] | null | null | null |
class SmhiConnectionException(BaseException):
pass
| 14 | 45 | 0.803571 | 4 | 56 | 11.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 46 | 18.666667 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
678b2b3835fdc1e979a27698e85e27ec78714b63 | 91 | py | Python | manage.py | KarimLulu/sms-spam-detection | 1bdd1b019217bd69b852be148865eb605171c24f | [
"MIT"
] | null | null | null | manage.py | KarimLulu/sms-spam-detection | 1bdd1b019217bd69b852be148865eb605171c24f | [
"MIT"
] | 3 | 2021-05-19T13:49:43.000Z | 2022-03-11T16:15:05.000Z | manage.py | KarimLulu/sms-spam-detection | 1bdd1b019217bd69b852be148865eb605171c24f | [
"MIT"
] | 1 | 2020-05-18T05:17:23.000Z | 2020-05-18T05:17:23.000Z | from app import create_app
app = create_app()
@app.cli.command()
def deploy():
pass
| 10.111111 | 26 | 0.681319 | 14 | 91 | 4.285714 | 0.642857 | 0.3 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 91 | 8 | 27 | 11.375 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
67914a59d236571822523d2d871adef32fcc784a | 191 | py | Python | hw9group11pkg/__init__.py | gptomaleri/hw9group11pkg | 98fd553711df49c17157104a705b4a1eb9ca4629 | [
"MIT"
] | 1 | 2019-12-11T04:00:44.000Z | 2019-12-11T04:00:44.000Z | hw9group11pkg/__init__.py | gptomaleri/hw9group11pkg | 98fd553711df49c17157104a705b4a1eb9ca4629 | [
"MIT"
] | null | null | null | hw9group11pkg/__init__.py | gptomaleri/hw9group11pkg | 98fd553711df49c17157104a705b4a1eb9ca4629 | [
"MIT"
] | null | null | null | from .gamma_functions import *
from .two_step_functions import *
from .graphics_functions import *
__author__ = 'Andrew Schcht'
__email__ = 'Andrew.Schacht1@gmail.com'
__version__ = '0.0.1'
| 23.875 | 39 | 0.774869 | 25 | 191 | 5.28 | 0.68 | 0.340909 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.120419 | 191 | 7 | 40 | 27.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.225131 | 0.13089 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
67cbee1b040e110aea35a6b17fa3fdcef2639012 | 42,963 | py | Python | google/ads/google_ads/v6/proto/resources/invoice_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v6/proto/resources/invoice_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/resources/invoice_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v6/proto/resources/invoice.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.prot... | 64.315868 | 4,099 | 0.770686 | 5,815 | 42,963 | 5.337919 | 0.070507 | 0.030412 | 0.05203 | 0.04768 | 0.835052 | 0.808956 | 0.752223 | 0.693943 | 0.620071 | 0.535116 | 0 | 0.040804 | 0.121546 | 42,963 | 667 | 4,100 | 64.412294 | 0.781643 | 0.009171 | 0 | 0.459502 | 1 | 0.007788 | 0.417542 | 0.224008 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001558 | 0.014019 | 0 | 0.014019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67cd1ce3b4aa1cca6d34e1ef6ca9a1d3120d7885 | 70 | py | Python | baekjoon/python/we_love_krii_10718.py | yskang/AlgorithmPracticeWithPython | f7129bd1924a7961489198f0ee052d2cd1e9cf40 | [
"MIT"
] | null | null | null | baekjoon/python/we_love_krii_10718.py | yskang/AlgorithmPracticeWithPython | f7129bd1924a7961489198f0ee052d2cd1e9cf40 | [
"MIT"
] | null | null | null | baekjoon/python/we_love_krii_10718.py | yskang/AlgorithmPracticeWithPython | f7129bd1924a7961489198f0ee052d2cd1e9cf40 | [
"MIT"
] | null | null | null | # https://www.acmicpc.net/problem/10718
print("강한친구 대한육군\n강한친구 대한육군") | 35 | 40 | 0.742857 | 11 | 70 | 4.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.071429 | 70 | 2 | 41 | 35 | 0.723077 | 0.528571 | 0 | 0 | 0 | 0 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e1d183b110225123fb9dbe0fde22ff7df2a54cbb | 267 | py | Python | notebooks/tests/test_inference.py | pomcho555/urban-sciences-model | 43b56ff09ba8b06fae43e138a290b2ed9bf1529c | [
"MIT"
] | 3 | 2022-02-12T12:48:59.000Z | 2022-03-08T13:39:11.000Z | notebooks/tests/test_inference.py | pomcho555/urban-sciences-model | 43b56ff09ba8b06fae43e138a290b2ed9bf1529c | [
"MIT"
] | null | null | null | notebooks/tests/test_inference.py | pomcho555/urban-sciences-model | 43b56ff09ba8b06fae43e138a290b2ed9bf1529c | [
"MIT"
] | 2 | 2021-07-04T11:06:41.000Z | 2022-02-13T07:31:04.000Z | import sys
sys.path.append("../")
from inference import get_masked_pil_img
from PIL import Image
def test_get_masked_pil_img():
output = get_masked_pil_img('../data/test/img/20201229Akihabara_out_00000_dir_020013selected_1.jpg')
assert type(output) == Image
| 29.666667 | 104 | 0.786517 | 41 | 267 | 4.756098 | 0.585366 | 0.138462 | 0.184615 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 0.108614 | 267 | 8 | 105 | 33.375 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.269663 | 0.258427 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e1d2f89bc68f7d124c571c19f13adb9e5dd6050f | 31 | py | Python | project/app2/tests/test_app2.py | tomviner/bug-report-pytest-fixtures-list | 15ce2360ad022309695e199ecb9c78435f870803 | [
"MIT"
] | null | null | null | project/app2/tests/test_app2.py | tomviner/bug-report-pytest-fixtures-list | 15ce2360ad022309695e199ecb9c78435f870803 | [
"MIT"
] | null | null | null | project/app2/tests/test_app2.py | tomviner/bug-report-pytest-fixtures-list | 15ce2360ad022309695e199ecb9c78435f870803 | [
"MIT"
] | null | null | null | def test_app2(fixy2):
pass
| 10.333333 | 21 | 0.677419 | 5 | 31 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.225806 | 31 | 2 | 22 | 15.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e1df01cafc1f0ea0ccf554120bdcd1d566c1d8be | 80 | py | Python | hypergan/search/default_configurations.py | limberc/HyperGAN | b074e74abf0ed9b81bd52084706e3707a47e0fe2 | [
"MIT"
] | 889 | 2016-08-27T01:37:35.000Z | 2018-10-07T19:47:56.000Z | hypergan/search/default_configurations.py | limberc/HyperGAN | b074e74abf0ed9b81bd52084706e3707a47e0fe2 | [
"MIT"
] | 218 | 2021-05-25T01:46:15.000Z | 2022-02-11T01:08:52.000Z | hypergan/search/default_configurations.py | limberc/HyperGAN | b074e74abf0ed9b81bd52084706e3707a47e0fe2 | [
"MIT"
] | 145 | 2016-09-27T06:56:24.000Z | 2018-09-25T16:09:28.000Z | class DefaultConfigurations:
@staticmethod
def get():
return {}
| 16 | 28 | 0.625 | 6 | 80 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2875 | 80 | 4 | 29 | 20 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c036d64299ea73f594f3e7274d7746722758b468 | 329 | py | Python | backend/fakebox/models/player.py | teodorvoicencu/FakeBox | f14ca83643894d9d0761294cfce511a52401de68 | [
"MIT"
] | null | null | null | backend/fakebox/models/player.py | teodorvoicencu/FakeBox | f14ca83643894d9d0761294cfce511a52401de68 | [
"MIT"
] | null | null | null | backend/fakebox/models/player.py | teodorvoicencu/FakeBox | f14ca83643894d9d0761294cfce511a52401de68 | [
"MIT"
] | null | null | null | class Player:
def __init__(self, player_id: int, nickname: str, websocket, is_vip: bool = False):
self.player_id = player_id
self.nickname = nickname
self.is_vip = is_vip
self.websocket = websocket
def __repr__(self):
return 'Player({}, {})'.format(self.player_id, self.n... | 32.9 | 87 | 0.641337 | 42 | 329 | 4.666667 | 0.404762 | 0.163265 | 0.183673 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243161 | 329 | 9 | 88 | 36.555556 | 0.787149 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c052d039c94e542c69585ef93acaf89e1baaab44 | 73 | py | Python | django_root/timerecording/__init__.py | mkue/time-recording-django | dcf6d9a54f632c8f3838ddcd02e0405e81ee9f77 | [
"MIT"
] | null | null | null | django_root/timerecording/__init__.py | mkue/time-recording-django | dcf6d9a54f632c8f3838ddcd02e0405e81ee9f77 | [
"MIT"
] | null | null | null | django_root/timerecording/__init__.py | mkue/time-recording-django | dcf6d9a54f632c8f3838ddcd02e0405e81ee9f77 | [
"MIT"
] | null | null | null | from configurations import importer
importer.install(check_options=True) | 24.333333 | 36 | 0.876712 | 9 | 73 | 7 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 3 | 36 | 24.333333 | 0.926471 | 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 | 1 | 0 | 0 | 5 |
c054aa4348a6807f7f019c83e3bf114b06153f91 | 112 | py | Python | ruflesound/__init__.py | srufle/ruflesound | 52d557b217b39bd44cbf1885b6d3ee215b4fed59 | [
"MIT"
] | null | null | null | ruflesound/__init__.py | srufle/ruflesound | 52d557b217b39bd44cbf1885b6d3ee215b4fed59 | [
"MIT"
] | null | null | null | ruflesound/__init__.py | srufle/ruflesound | 52d557b217b39bd44cbf1885b6d3ee215b4fed59 | [
"MIT"
] | null | null | null | name="ruflesound"
from . import effects
from . import filters
from . import formats
print(f"init ruflesound")
| 14 | 25 | 0.758929 | 15 | 112 | 5.666667 | 0.666667 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 7 | 26 | 16 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.223214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.2 | 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 | 1 | 0 | 0 | 5 |
c065a19f57c5f5289069a8bd9c02e2f3902ec1e4 | 94 | py | Python | py2app/recipes/matplotlib_prescript.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 81 | 2015-11-29T12:17:39.000Z | 2021-08-02T07:06:51.000Z | contents/img_google/.eggs/py2app-0.10-py2.7.egg/py2app/recipes/matplotlib_prescript.py | ivrson9/cdol | 605fc330e7678e1b959d42094b59d0e02434ee26 | [
"MIT"
] | 11 | 2016-10-23T16:34:10.000Z | 2022-01-30T05:45:54.000Z | contents/img_google/.eggs/py2app-0.10-py2.7.egg/py2app/recipes/matplotlib_prescript.py | ivrson9/cdol | 605fc330e7678e1b959d42094b59d0e02434ee26 | [
"MIT"
] | 21 | 2016-01-25T18:46:31.000Z | 2021-01-08T17:38:03.000Z | import os
os.environ['MATPLOTLIBDATA'] = os.path.join(os.environ['RESOURCEPATH'], 'mpl-data')
| 31.333333 | 83 | 0.734043 | 13 | 94 | 5.307692 | 0.692308 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 94 | 2 | 84 | 47 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fbe3be5a24bca83fa6454a9457ed4657c1570582 | 263 | py | Python | utils.py | GLutzBR/cli-atm | 4bf6e56e0b8ed1d2a3728f3ec2c7cabde20f649e | [
"MIT"
] | null | null | null | utils.py | GLutzBR/cli-atm | 4bf6e56e0b8ed1d2a3728f3ec2c7cabde20f649e | [
"MIT"
] | null | null | null | utils.py | GLutzBR/cli-atm | 4bf6e56e0b8ed1d2a3728f3ec2c7cabde20f649e | [
"MIT"
] | null | null | null | import os
def header():
print("****************************************")
print("*** School of Net - Caixa Eletrônico ***")
print("****************************************")
def clear_screen():
os.system('cls' if os.name == 'nt' else 'clear')
| 21.916667 | 53 | 0.391635 | 24 | 263 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163498 | 263 | 11 | 54 | 23.909091 | 0.463636 | 0 | 0 | 0.285714 | 0 | 0 | 0.494297 | 0.304183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fbfbd20cfe07c0965ed4f036c5c9e9dfb96fe78e | 149 | py | Python | codingbat.com/Logic-1/date_fashion.py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | codingbat.com/Logic-1/date_fashion.py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | codingbat.com/Logic-1/date_fashion.py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | def date_fashion(you, date):
high = (you > 8 or date > 8)
return (high and you > 2 and date > 2) * 2 + (not high and (you > 2 and date > 2) ) | 49.666667 | 85 | 0.57047 | 28 | 149 | 3 | 0.392857 | 0.166667 | 0.238095 | 0.261905 | 0.452381 | 0.452381 | 0.452381 | 0 | 0 | 0 | 0 | 0.066038 | 0.288591 | 149 | 3 | 85 | 49.666667 | 0.726415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fbfc024868d6d1f044384ed72c276f727cf88034 | 118 | py | Python | aioautomatic/__init__.py | armills/aioautomatic | 346666868f35308dd6edd8a1fffb4c4f0d0ba2da | [
"Apache-2.0"
] | 8 | 2017-04-16T01:16:31.000Z | 2019-06-07T07:16:26.000Z | aioautomatic/__init__.py | armills/aioautomatic | 346666868f35308dd6edd8a1fffb4c4f0d0ba2da | [
"Apache-2.0"
] | 5 | 2017-04-24T02:33:15.000Z | 2019-10-16T21:30:04.000Z | aioautomatic/__init__.py | armills/aioautomatic | 346666868f35308dd6edd8a1fffb4c4f0d0ba2da | [
"Apache-2.0"
] | 4 | 2017-04-24T02:06:27.000Z | 2018-12-11T19:16:26.000Z | """API interface to Automatic."""
# Export Client for external access
from aioautomatic.client import Client # noqa
| 23.6 | 46 | 0.762712 | 15 | 118 | 6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 4 | 47 | 29.5 | 0.9 | 0.567797 | 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 | 1 | 0 | 0 | 5 |
fbffb58a39daef39592f7319ab859098edf83ac8 | 489 | py | Python | src/homework/sic-industry/main.py | andreajimenezorozco/CREDIT-RISK-2020 | 53e0da122d03f0b79615e11b9cc3578ffc6a4325 | [
"MIT"
] | null | null | null | src/homework/sic-industry/main.py | andreajimenezorozco/CREDIT-RISK-2020 | 53e0da122d03f0b79615e11b9cc3578ffc6a4325 | [
"MIT"
] | null | null | null | src/homework/sic-industry/main.py | andreajimenezorozco/CREDIT-RISK-2020 | 53e0da122d03f0b79615e11b9cc3578ffc6a4325 | [
"MIT"
] | null | null | null | import os
import json
from typing import Dict
from fintools.settings import get_logger
from fintools.utils import StringWrapper, timeit
from .settings import (
INDUSTRY_SEARCH_DEFAULT_FILENAME,
INDUSTRY_SEARCH_DEFAULT_THRESHOLD
)
logger = get_logger(name=__name__)
class Main:
threshold = INDUSTRY_SEARC... | 22.227273 | 107 | 0.770961 | 62 | 489 | 5.790323 | 0.483871 | 0.155989 | 0.233983 | 0.16156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167689 | 489 | 21 | 108 | 23.285714 | 0.882064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.4 | 0 | 0.6 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
225e4dea1750bee990c21e36b1de20d846d0fb6c | 68 | py | Python | yo_fluq_ds/_queries/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 16 | 2019-09-26T09:05:42.000Z | 2021-02-04T01:39:09.000Z | yo_fluq_ds/_queries/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-10-23T19:01:23.000Z | 2020-06-11T09:08:45.000Z | yo_fluq_ds/_queries/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-09-26T09:05:50.000Z | 2019-10-23T18:46:11.000Z | from .queryable import Queryable
from .query_class import QueryClass | 34 | 35 | 0.867647 | 9 | 68 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 2 | 35 | 34 | 0.95082 | 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 | 1 | 0 | 0 | 5 |
226f809345d2cb38bcee6584f72e63bbd609bea8 | 145 | py | Python | library_app/library_app/doctype/records/test_records.py | priyatoshy/FrappeLibraryApplication | 73237b49f9647024ef7262b756fa799fe201b6d9 | [
"MIT"
] | null | null | null | library_app/library_app/doctype/records/test_records.py | priyatoshy/FrappeLibraryApplication | 73237b49f9647024ef7262b756fa799fe201b6d9 | [
"MIT"
] | null | null | null | library_app/library_app/doctype/records/test_records.py | priyatoshy/FrappeLibraryApplication | 73237b49f9647024ef7262b756fa799fe201b6d9 | [
"MIT"
] | null | null | null | # Copyright (c) 2022, Priyatosh and Contributors
# See license.txt
# import frappe
import unittest
class TestRecords(unittest.TestCase):
pass
| 16.111111 | 48 | 0.77931 | 18 | 145 | 6.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.144828 | 145 | 8 | 49 | 18.125 | 0.879032 | 0.524138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
97fb4e7f16e2d0907754c217a037d48a4790b69a | 137 | py | Python | examples/transliterate.py | fossabot/pythainlp | b3ea0ea2039ab9421bf851a73beb2559f3a28624 | [
"Apache-2.0"
] | null | null | null | examples/transliterate.py | fossabot/pythainlp | b3ea0ea2039ab9421bf851a73beb2559f3a28624 | [
"Apache-2.0"
] | null | null | null | examples/transliterate.py | fossabot/pythainlp | b3ea0ea2039ab9421bf851a73beb2559f3a28624 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from pythainlp.transliterate import romanize, transliterate
print(romanize("แมว"))
print(transliterate("แมว"))
| 19.571429 | 59 | 0.729927 | 15 | 137 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.10219 | 137 | 6 | 60 | 22.833333 | 0.804878 | 0.153285 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 5 |
4513f84454c3ec066496a822142421a778c0efb1 | 6,739 | py | Python | tests/bulk_importer/test_bulk_importer.py | alessiamarcolini/hangar-py | 9084381cdc6bd2f01cf8701f5c799d8fadf72828 | [
"Apache-2.0"
] | 202 | 2019-04-16T06:26:28.000Z | 2022-03-11T19:57:07.000Z | tests/bulk_importer/test_bulk_importer.py | alessiamarcolini/hangar-py | 9084381cdc6bd2f01cf8701f5c799d8fadf72828 | [
"Apache-2.0"
] | 183 | 2019-04-20T07:09:15.000Z | 2022-03-09T21:59:27.000Z | tests/bulk_importer/test_bulk_importer.py | alessiamarcolini/hangar-py | 9084381cdc6bd2f01cf8701f5c799d8fadf72828 | [
"Apache-2.0"
] | 30 | 2019-04-21T16:11:21.000Z | 2022-03-03T08:32:28.000Z | import pytest
import numpy as np
def assert_equal(arr, arr2):
assert np.array_equal(arr, arr2)
assert arr.dtype == arr2.dtype
def test_bulk_importer_ndarray(repo):
from hangar.bulk_importer import run_bulk_import
from hangar.bulk_importer import UDF_Return
def make_ndarray(column, key, shape, d... | 27.847107 | 83 | 0.599644 | 892 | 6,739 | 4.20852 | 0.099776 | 0.049547 | 0.085775 | 0.058604 | 0.782099 | 0.75333 | 0.742674 | 0.719766 | 0.710176 | 0.638519 | 0 | 0.012968 | 0.290548 | 6,739 | 241 | 84 | 27.962656 | 0.772223 | 0 | 0 | 0.623116 | 0 | 0 | 0.04793 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 1 | 0.065327 | false | 0 | 0.105528 | 0 | 0.170854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
453bf7fe308eeb7fe0217b9bedf9327c548e5ae8 | 194 | py | Python | engine/handlers.py | ellastyko/Widowmaker-1917-1922 | 2d9d2b8f273ea210997223193b6b9426ada3d738 | [
"MIT"
] | null | null | null | engine/handlers.py | ellastyko/Widowmaker-1917-1922 | 2d9d2b8f273ea210997223193b6b9426ada3d738 | [
"MIT"
] | null | null | null | engine/handlers.py | ellastyko/Widowmaker-1917-1922 | 2d9d2b8f273ea210997223193b6b9426ada3d738 | [
"MIT"
] | null | null | null | from config import *
# Screen change
def change_size(*args):
pass
# print(f'Size: {args [0]}')
# Mouse move
def on_motion(*args):
print(f'Motion: {args [0]}')
# Keyboard click
| 12.125 | 32 | 0.618557 | 28 | 194 | 4.214286 | 0.642857 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.221649 | 194 | 15 | 33 | 12.933333 | 0.768212 | 0.340206 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.2 | 0.2 | 0 | 0.6 | 0.2 | 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 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
4541dd27ae9808f3c9395d78e08781a27d56c04a | 5,430 | py | Python | nn_pruning/tests/test_patch.py | ebell495/nn_pruning | 41263ab898117a639f3f219c23a4cecc8bc0e3f3 | [
"Apache-2.0"
] | 250 | 2021-02-22T15:50:04.000Z | 2022-03-31T08:12:02.000Z | nn_pruning/tests/test_patch.py | vuiseng9/nn_pruning | 8f4a14dd63d621483cbc1bc4eb34600d66e9e71b | [
"Apache-2.0"
] | 28 | 2021-02-22T15:54:34.000Z | 2022-03-17T08:57:38.000Z | nn_pruning/tests/test_patch.py | vuiseng9/nn_pruning | 8f4a14dd63d621483cbc1bc4eb34600d66e9e71b | [
"Apache-2.0"
] | 31 | 2021-02-22T16:07:17.000Z | 2022-03-28T09:17:24.000Z | import unittest
from unittest import TestCase
from transformers import BertConfig, BertForQuestionAnswering
from nn_pruning.model_structure import BertStructure
from nn_pruning.modules.masked_nn import (
ChannelPruningModulePatcher,
JointPruningModulePatcher,
LinearPruningArgs,
LinearPruningModulePatc... | 33.109756 | 121 | 0.64954 | 564 | 5,430 | 6.028369 | 0.159574 | 0.053529 | 0.058235 | 0.012353 | 0.734706 | 0.729412 | 0.716471 | 0.716471 | 0.705 | 0.695 | 0 | 0.016296 | 0.254144 | 5,430 | 163 | 122 | 33.312883 | 0.82321 | 0.009945 | 0 | 0.65 | 0 | 0 | 0.054904 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.041667 | false | 0 | 0.05 | 0 | 0.108333 | 0.016667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
45423af22ce0ee4eba11e9431e81dbbec3ed9d95 | 23 | py | Python | server/core/services/__init__.py | FranciscoShi/jenkins-gitlab-integrator | 9e9b101df2c67ff73f204828fdf702fc1e2a382d | [
"Apache-2.0"
] | 2 | 2017-07-19T10:39:31.000Z | 2018-03-21T10:24:42.000Z | server/core/services/__init__.py | FranciscoShi/jenkins-gitlab-integrator | 9e9b101df2c67ff73f204828fdf702fc1e2a382d | [
"Apache-2.0"
] | 1 | 2017-08-11T20:29:43.000Z | 2017-08-14T15:06:14.000Z | server/core/services/__init__.py | FranciscoShi/jenkins-gitlab-integrator | 9e9b101df2c67ff73f204828fdf702fc1e2a382d | [
"Apache-2.0"
] | 1 | 2021-08-08T00:07:12.000Z | 2021-08-08T00:07:12.000Z | # Business Logic Layer
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0.869565 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
189b99aee9344c8ad3fdb04e41ebab6b1ae16643 | 46 | py | Python | pycode/__init__.py | tobleroo/project-Johias | ba27eb7ce41424f2667ff4c7ab74c96b5839cfe2 | [
"MIT"
] | null | null | null | pycode/__init__.py | tobleroo/project-Johias | ba27eb7ce41424f2667ff4c7ab74c96b5839cfe2 | [
"MIT"
] | null | null | null | pycode/__init__.py | tobleroo/project-Johias | ba27eb7ce41424f2667ff4c7ab74c96b5839cfe2 | [
"MIT"
] | 1 | 2022-02-22T19:39:18.000Z | 2022-02-22T19:39:18.000Z | """Py file needed to create documentation."""
| 23 | 45 | 0.717391 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 1 | 46 | 46 | 0.825 | 0.847826 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18a85b17df8ce23dfcb1e3b778abc48cf5b09d4c | 2,720 | py | Python | test/unit_tests/models/test_models.py | Simon-Free/braindecode | 41a216572f08ef23fd0af47e10e89bc9179cce5e | [
"BSD-3-Clause"
] | 1 | 2020-05-25T14:22:34.000Z | 2020-05-25T14:22:34.000Z | test/unit_tests/models/test_models.py | alakialakiani/braindecode | 41a216572f08ef23fd0af47e10e89bc9179cce5e | [
"BSD-3-Clause"
] | null | null | null | test/unit_tests/models/test_models.py | alakialakiani/braindecode | 41a216572f08ef23fd0af47e10e89bc9179cce5e | [
"BSD-3-Clause"
] | null | null | null | # Authors: Alexandre Gramfort
#
# License: BSD-3
import numpy as np
import torch
from braindecode.models import Deep4Net
from braindecode.models import EEGNetv4, EEGNetv1
from braindecode.models import HybridNet
from braindecode.models import ShallowFBCSPNet
from braindecode.models import EEGResNet
def test_shallo... | 26.666667 | 76 | 0.676103 | 426 | 2,720 | 4.025822 | 0.152582 | 0.094461 | 0.083965 | 0.076968 | 0.772595 | 0.772595 | 0.772595 | 0.755685 | 0.738192 | 0.738192 | 0 | 0.040604 | 0.221324 | 2,720 | 101 | 77 | 26.930693 | 0.769122 | 0.015441 | 0 | 0.662651 | 0 | 0 | 0.002992 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.072289 | false | 0 | 0.084337 | 0 | 0.156627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18b0079a8725811fbc2f9e90c3e5b9a24a520191 | 27 | py | Python | project/tests/helpers.py | InStateTeam/virtual-identities | 91af9f8f9aa709a77360d608e29ae9969fc0e098 | [
"MIT"
] | 267 | 2017-01-10T09:01:55.000Z | 2022-03-23T02:59:31.000Z | project/tests/helpers.py | InStateTeam/virtual-identities | 91af9f8f9aa709a77360d608e29ae9969fc0e098 | [
"MIT"
] | 39 | 2019-03-13T05:40:40.000Z | 2021-06-25T15:17:43.000Z | project/tests/helpers.py | InStateTeam/virtual-identities | 91af9f8f9aa709a77360d608e29ae9969fc0e098 | [
"MIT"
] | 199 | 2016-12-13T20:44:01.000Z | 2022-03-30T08:57:15.000Z | # project/tests/helpers.py
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.84 | 0.888889 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18b159b2c0df359628d2ab7c818e066792b1b9f8 | 172 | py | Python | jtyoui/person/__init__.py | vanton/Jtyoui | c44d66b038ac5f4e2d75b68b3493d02f7b7b385e | [
"MIT"
] | 2 | 2019-11-06T01:47:17.000Z | 2019-11-06T01:48:19.000Z | jtyoui/person/__init__.py | liangxioa/Jtyoui | 5a584cbf12d644b6c4fb13167d8841a383afbbac | [
"MIT"
] | null | null | null | jtyoui/person/__init__.py | liangxioa/Jtyoui | 5a584cbf12d644b6c4fb13167d8841a383afbbac | [
"MIT"
] | null | null | null | #!/usr/bin/python3.7
# -*- coding: utf-8 -*-
# @Time : 2019/10/11 15:04
# @Author: Jtyoui@qq.com
"""
关于人属性的一个包
"""
from .nation import * # 民族
from .surname import * # 姓
| 17.2 | 27 | 0.593023 | 26 | 172 | 3.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.186047 | 172 | 9 | 28 | 19.111111 | 0.621429 | 0.610465 | 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 | 1 | 0 | 0 | 5 |
18d999d01b146b40c8d0130e9ce21cb1387a8dc7 | 193 | py | Python | tests/test_jobs.py | sanjibansg/nbox | bf23b7cceb3179ba3d051a38aac0e32925a513e8 | [
"BSD-3-Clause"
] | 9 | 2021-09-28T19:01:39.000Z | 2022-03-22T19:01:29.000Z | tests/test_jobs.py | sanjibansg/nbox | bf23b7cceb3179ba3d051a38aac0e32925a513e8 | [
"BSD-3-Clause"
] | 2 | 2021-08-06T10:25:41.000Z | 2022-03-18T08:31:19.000Z | tests/test_jobs.py | sanjibansg/nbox | bf23b7cceb3179ba3d051a38aac0e32925a513e8 | [
"BSD-3-Clause"
] | 4 | 2021-09-17T12:40:44.000Z | 2022-02-16T06:14:44.000Z | # from nbox import Instance
# instance = Instance("nbox-dev", cs_endpoint="jobs")
# instance.files
# print(instance)
# uid = instance("add.py")
# print(uid)
# print(instance("azure-cadence"))
| 21.444444 | 53 | 0.699482 | 25 | 193 | 5.36 | 0.6 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119171 | 193 | 8 | 54 | 24.125 | 0.788235 | 0.917098 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 5 |
18e4fbdf7e6734417d402300d9577c6dc7ec3085 | 43 | py | Python | ipynb/test.py | ssunggun2/korean-ner | 828e07d1c44692edd09460e08d6142916e83b27b | [
"MIT"
] | null | null | null | ipynb/test.py | ssunggun2/korean-ner | 828e07d1c44692edd09460e08d6142916e83b27b | [
"MIT"
] | null | null | null | ipynb/test.py | ssunggun2/korean-ner | 828e07d1c44692edd09460e08d6142916e83b27b | [
"MIT"
] | null | null | null | from ML_main import main
main()
#왜 안되는겉까
| 7.166667 | 24 | 0.72093 | 8 | 43 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 5 | 25 | 8.6 | 0.882353 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 5 |
7a04746fe90a7f8f88553159d5d10131c72b8785 | 2,921 | py | Python | evdemo/typeclasses/channels.py | evennia/evdemo | c8e7a935100c6717bbddd50af5662a4e19804803 | [
"BSD-3-Clause"
] | 5 | 2016-07-10T05:40:46.000Z | 2019-08-24T16:02:43.000Z | evdemo/typeclasses/channels.py | evennia/evdemo | c8e7a935100c6717bbddd50af5662a4e19804803 | [
"BSD-3-Clause"
] | 5 | 2019-02-02T22:52:46.000Z | 2021-06-23T08:39:17.000Z | evdemo/typeclasses/channels.py | evennia/evdemo | c8e7a935100c6717bbddd50af5662a4e19804803 | [
"BSD-3-Clause"
] | 5 | 2015-06-16T05:53:48.000Z | 2018-12-01T16:00:36.000Z | """
Channel
The channel class represents the out-of-character chat-room usable by
Accounts in-game. It is mostly overloaded to change its appearance, but
channels can be used to implement many different forms of message
distribution systems.
Note that sending data to channels are handled via the CMD_CHANNEL
syscomman... | 47.885246 | 86 | 0.682985 | 379 | 2,921 | 5.187335 | 0.432718 | 0.022889 | 0.018311 | 0.021363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263951 | 2,921 | 60 | 87 | 48.683333 | 0.914419 | 0.913728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
7a1bf63b770f8b966a9048bc01ce3f8e3e51657c | 115 | py | Python | etc/gunicorn.conf.py | ciur/lesson-6-gunicorn | 8854653b4143b2c5bdb48a09273ba417698d3624 | [
"Apache-2.0"
] | null | null | null | etc/gunicorn.conf.py | ciur/lesson-6-gunicorn | 8854653b4143b2c5bdb48a09273ba417698d3624 | [
"Apache-2.0"
] | null | null | null | etc/gunicorn.conf.py | ciur/lesson-6-gunicorn | 8854653b4143b2c5bdb48a09273ba417698d3624 | [
"Apache-2.0"
] | 1 | 2021-11-25T11:17:28.000Z | 2021-11-25T11:17:28.000Z | workers = 2
errorlog = "/demo/mysite.gunicorn.error"
accesslog = "/demo/mysite.gunicorn.access"
loglevel = "debug"
| 23 | 42 | 0.73913 | 14 | 115 | 6.071429 | 0.785714 | 0.235294 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.104348 | 115 | 4 | 43 | 28.75 | 0.815534 | 0 | 0 | 0 | 0 | 0 | 0.521739 | 0.478261 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e132f6f9dfe82a8e509706068d362377e4482fa0 | 31 | py | Python | correios/__init__.py | hudsonbrendon/py-correios | 69c625bae7fc7bfa943b6443ebac5e5bb75b259b | [
"MIT"
] | 7 | 2017-12-05T23:06:41.000Z | 2018-11-30T02:36:50.000Z | correios/__init__.py | hudsonbrendon/py-correios | 69c625bae7fc7bfa943b6443ebac5e5bb75b259b | [
"MIT"
] | 1 | 2019-02-06T04:16:39.000Z | 2019-05-23T11:08:31.000Z | correios/__init__.py | hudsonbrendon/py-correios | 69c625bae7fc7bfa943b6443ebac5e5bb75b259b | [
"MIT"
] | 3 | 2017-12-06T02:00:15.000Z | 2020-12-17T02:50:07.000Z | from .correios import Correios
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e1390ae2fdbf9c46aea12e07bc11432e1325a699 | 57 | py | Python | eds/openmtc-gevent/server/openmtc-ngsi/openmtc-ngsi-pylibs/urllib3/packages/six.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | eds/openmtc-gevent/server/openmtc-ngsi/openmtc-ngsi-pylibs/urllib3/packages/six.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | eds/openmtc-gevent/server/openmtc-ngsi/openmtc-ngsi-pylibs/urllib3/packages/six.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from six import *
| 19 | 38 | 0.842105 | 8 | 57 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 39 | 28.5 | 0.877551 | 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 | 1 | 0 | 0 | 5 |
e1903bb2c87750841dffd51baeb72b0077cd8b40 | 255 | py | Python | geekshop/adminapp/templatetags/my_tags.py | LopukhovDA/django_base | 3aad5de7ef611a1e0103351409ca3043dc95046e | [
"MIT"
] | null | null | null | geekshop/adminapp/templatetags/my_tags.py | LopukhovDA/django_base | 3aad5de7ef611a1e0103351409ca3043dc95046e | [
"MIT"
] | null | null | null | geekshop/adminapp/templatetags/my_tags.py | LopukhovDA/django_base | 3aad5de7ef611a1e0103351409ca3043dc95046e | [
"MIT"
] | null | null | null | from django import template
from django.conf import settings
register = template.Library()
@register.filter(name="pieces")
def pieces(string):
return f"{string} шт."
@register.filter(name="rubles")
def rubles(string):
return f"{string} руб."
| 17 | 32 | 0.721569 | 34 | 255 | 5.411765 | 0.529412 | 0.108696 | 0.195652 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 255 | 14 | 33 | 18.214286 | 0.840183 | 0 | 0 | 0 | 0 | 0 | 0.145098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e19cc495e51dee2b5213132fcfa547fa98d0e29a | 77 | py | Python | flask_core/database/__init__.py | secedu/flask-core | 3d8def8280613825f070d150372f9513f7727b69 | [
"Apache-2.0"
] | 3 | 2019-03-07T05:33:21.000Z | 2019-04-22T22:29:34.000Z | flask_core/database/__init__.py | secedu/flask-core | 3d8def8280613825f070d150372f9513f7727b69 | [
"Apache-2.0"
] | 23 | 2019-03-10T15:03:14.000Z | 2019-05-16T11:15:22.000Z | flask_core/database/__init__.py | secedu/flask-core | 3d8def8280613825f070d150372f9513f7727b69 | [
"Apache-2.0"
] | 3 | 2019-03-07T05:33:05.000Z | 2021-02-17T16:39:18.000Z | #!/usr/bin/env python3
# TODO: export a singleton database isolation class?
| 19.25 | 52 | 0.753247 | 11 | 77 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.142857 | 77 | 3 | 53 | 25.666667 | 0.863636 | 0.935065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e1a525ba1b57330a3bd7ba635c6be970718cd87e | 165 | py | Python | src/plugins/get_time.py | Tpool1/Asclepius | 760ab31a8933772faa76064a42b11ab6e12d6c9a | [
"MIT"
] | null | null | null | src/plugins/get_time.py | Tpool1/Asclepius | 760ab31a8933772faa76064a42b11ab6e12d6c9a | [
"MIT"
] | null | null | null | src/plugins/get_time.py | Tpool1/Asclepius | 760ab31a8933772faa76064a42b11ab6e12d6c9a | [
"MIT"
] | null | null | null | from datetime import datetime
from packages.play_text import play_text
def get_time():
time = datetime.now()
play_text('The time is ' + str(time))
| 20.625 | 41 | 0.684848 | 24 | 165 | 4.541667 | 0.541667 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 165 | 8 | 42 | 20.625 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 0 | 5 |
bed489c3b5efb041c2a5769527ea2aeb84556fb8 | 147 | py | Python | apistar_jwt/decorators.py | jgirardet/apistar-jwt | 46559eae367cf3c90cabd713c48ff0ef2d4d799d | [
"MIT"
] | 42 | 2017-10-05T00:58:10.000Z | 2020-02-22T22:36:30.000Z | apistar_jwt/decorators.py | jgirardet/apistar-jwt | 46559eae367cf3c90cabd713c48ff0ef2d4d799d | [
"MIT"
] | 19 | 2017-10-06T18:31:42.000Z | 2019-10-18T16:22:22.000Z | apistar_jwt/decorators.py | jgirardet/apistar-jwt | 46559eae367cf3c90cabd713c48ff0ef2d4d799d | [
"MIT"
] | 11 | 2017-10-06T20:02:20.000Z | 2018-08-14T12:10:32.000Z | def anonymous_allowed(fn):
fn.authenticated = False
return fn
def authentication_required(fn):
fn.authenticated = True
return fn
| 16.333333 | 32 | 0.714286 | 18 | 147 | 5.722222 | 0.555556 | 0.07767 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217687 | 147 | 8 | 33 | 18.375 | 0.895652 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
beec1deb008785b5fd5011a01d96645fc7224bb6 | 42 | py | Python | demo.py | MacHu-GWU/afwf-project | 09ba89da9ec03c125031bb7cc01bcdf0042d3408 | [
"MIT"
] | null | null | null | demo.py | MacHu-GWU/afwf-project | 09ba89da9ec03c125031bb7cc01bcdf0042d3408 | [
"MIT"
] | null | null | null | demo.py | MacHu-GWU/afwf-project | 09ba89da9ec03c125031bb7cc01bcdf0042d3408 | [
"MIT"
] | null | null | null | import sys
print(1)
sys.exit(0)
print(2)
| 7 | 11 | 0.690476 | 9 | 42 | 3.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 42 | 5 | 12 | 8.4 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8302629152dc16494fd3443ef8b177522ffc81dc | 46 | py | Python | python/fastcampus_python_all_in_one/1.python_basic/section11_csv_xlsx.py | RollLife/oddmentsLabs | 82ee4d2413edc153a89f31a7a70328949cb069a5 | [
"MIT"
] | null | null | null | python/fastcampus_python_all_in_one/1.python_basic/section11_csv_xlsx.py | RollLife/oddmentsLabs | 82ee4d2413edc153a89f31a7a70328949cb069a5 | [
"MIT"
] | null | null | null | python/fastcampus_python_all_in_one/1.python_basic/section11_csv_xlsx.py | RollLife/oddmentsLabs | 82ee4d2413edc153a89f31a7a70328949cb069a5 | [
"MIT"
] | null | null | null | # import csv
# xsl, xlsx 패키지 사용
# openxsl 사용 | 11.5 | 18 | 0.652174 | 8 | 46 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 46 | 4 | 19 | 11.5 | 0.882353 | 0.847826 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
832adac21167c53a5b3844b574477ba20687aef2 | 42 | py | Python | birg_chemometrics_tools/classification/__init__.py | BiRG/chemometrics_tools | f96aa5fc2478ce454f110f4940ff29632c2e0324 | [
"MIT"
] | null | null | null | birg_chemometrics_tools/classification/__init__.py | BiRG/chemometrics_tools | f96aa5fc2478ce454f110f4940ff29632c2e0324 | [
"MIT"
] | null | null | null | birg_chemometrics_tools/classification/__init__.py | BiRG/chemometrics_tools | f96aa5fc2478ce454f110f4940ff29632c2e0324 | [
"MIT"
] | null | null | null | from .plsda import PLSDiscriminantAnalysis | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
83336a5c43faa2d228e6b197cb1d9d3dd86afa9d | 321 | py | Python | src/myapi/vecutil.py | mexeniz/cython-example | 37b4b2cce5e49d35e7760ed9d2ab64847846b5c9 | [
"MIT"
] | null | null | null | src/myapi/vecutil.py | mexeniz/cython-example | 37b4b2cce5e49d35e7760ed9d2ab64847846b5c9 | [
"MIT"
] | null | null | null | src/myapi/vecutil.py | mexeniz/cython-example | 37b4b2cce5e49d35e7760ed9d2ab64847846b5c9 | [
"MIT"
] | null | null | null | import numpy as np
def random_vec(length):
if type(length) is not int:
raise ValueError("length should be int.")
elif length <= 0:
raise ValueError("length should be a positive number.")
return np.random.rand(length)
def normalize_vec(vector):
return vector / np.linalg.norm(vector... | 26.75 | 63 | 0.676012 | 46 | 321 | 4.673913 | 0.608696 | 0.139535 | 0.195349 | 0.251163 | 0.269767 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0.227414 | 321 | 12 | 64 | 26.75 | 0.862903 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 | 1 | 0 | 0 | 5 |
8334ec4649803b2561f1473aeee29f5ad53f5d9b | 110 | py | Python | c2cgeoportal/scaffolds/create/+package+/resources.py | craxxkid/c2cgeoportal | 60ca7d5d014d69b0a938f858271c911a30da77c3 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | c2cgeoportal/scaffolds/create/+package+/resources.py | craxxkid/c2cgeoportal | 60ca7d5d014d69b0a938f858271c911a30da77c3 | [
"BSD-2-Clause-FreeBSD"
] | 22 | 2017-03-22T14:46:10.000Z | 2017-06-19T14:23:38.000Z | geoportailv3/resources.py | geoportallux/geoportailv3-gisgr | eb973863aec11faa50c8be47221988eaf4716452 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class Root(object):
def __init__(self, request):
self.request = request
| 15.714286 | 32 | 0.590909 | 13 | 110 | 4.692308 | 0.769231 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.245455 | 110 | 6 | 33 | 18.333333 | 0.722892 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 | 5 |
8369290322e65ed3a18b31582e8f334d11d9c553 | 52 | py | Python | src/maclookup/exceptions/invalid_mac_or_oui_exception.py | BharatLLP/tokyopro | bf113c0c5de327e2451bf952ae9df61a7b59a19a | [
"MIT"
] | null | null | null | src/maclookup/exceptions/invalid_mac_or_oui_exception.py | BharatLLP/tokyopro | bf113c0c5de327e2451bf952ae9df61a7b59a19a | [
"MIT"
] | null | null | null | src/maclookup/exceptions/invalid_mac_or_oui_exception.py | BharatLLP/tokyopro | bf113c0c5de327e2451bf952ae9df61a7b59a19a | [
"MIT"
] | null | null | null | class InvalidMacOrOuiException(Exception):
pass
| 17.333333 | 42 | 0.807692 | 4 | 52 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 43 | 26 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
36290cae3f654007538a0b828e74845b35e6b4e0 | 155 | py | Python | Main.py | JamaSoftware/fieldMapper | f17b8176c7a22e9646a662a827cad6e08f002f4e | [
"MIT"
] | null | null | null | Main.py | JamaSoftware/fieldMapper | f17b8176c7a22e9646a662a827cad6e08f002f4e | [
"MIT"
] | null | null | null | Main.py | JamaSoftware/fieldMapper | f17b8176c7a22e9646a662a827cad6e08f002f4e | [
"MIT"
] | null | null | null | from core import Handler
from core import JamaConfig
jamaConfig = JamaConfig()
handler = Handler()
handler.map_fields(jamaConfig.item_type)
print "done"
| 17.222222 | 40 | 0.8 | 20 | 155 | 6.1 | 0.55 | 0.131148 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 155 | 8 | 41 | 19.375 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3644bc0811156761c1829bfd0b47c96ab15c559f | 159 | py | Python | bitmovin/resources/models/encodings/live/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | null | null | null | bitmovin/resources/models/encodings/live/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | null | null | null | bitmovin/resources/models/encodings/live/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | null | null | null | from .live_dash_manifest import LiveDashManifest
from .live_hls_manifest import LiveHlsManifest
from .live_stream_configuration import LiveStreamConfiguration
| 39.75 | 62 | 0.90566 | 18 | 159 | 7.666667 | 0.611111 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 3 | 63 | 53 | 0.938776 | 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 | 1 | 0 | 0 | 5 |
36c809af1d5df0142d0504db8e732b37651ffa2e | 461 | py | Python | relogic/logickit/base/configuration_trainer.py | Impavidity/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 24 | 2019-07-20T02:10:21.000Z | 2022-03-15T07:13:07.000Z | relogic/logickit/base/configuration_trainer.py | One-paper-luck/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 3 | 2019-11-28T04:19:25.000Z | 2019-11-30T23:29:19.000Z | relogic/logickit/base/configuration_trainer.py | One-paper-luck/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 5 | 2019-11-27T03:12:07.000Z | 2021-12-08T11:45:43.000Z | from dataclasses import dataclass
import json
from typing import Dict
@dataclass
class TrainerConfig:
tokenizers: Dict
def __post_init__(self):
pass
@classmethod
def load_from_json(cls, config):
return cls(
tokenizers = config["tokenizers"]
)
@classmethod
def load_from_namespace(cls, ... | 16.464286 | 59 | 0.72885 | 59 | 461 | 5.423729 | 0.40678 | 0.1 | 0.16875 | 0.20625 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193059 | 461 | 27 | 60 | 17.074074 | 0.860215 | 0 | 0 | 0.263158 | 0 | 0 | 0.021786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.157895 | 0.105263 | 0.578947 | 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 | 1 | 1 | 0 | 0 | 5 |
36ee726161a1b469c63ff1750d8d27f940698310 | 229 | py | Python | objects/CSCG/_2d/forms/standard/_2_form/base/visualize/matplot.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | objects/CSCG/_2d/forms/standard/_2_form/base/visualize/matplot.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | objects/CSCG/_2d/forms/standard/_2_form/base/visualize/matplot.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | """Fully inherit the Matplot class for 0-standard-form."""
from objects.CSCG._2d.forms.standard._0_form.base.visualize.matplot import _2dCSCG_S0F_VIS_Matplot
class _2dCSCG_S2F_VIS_Matplot(_2dCSCG_S0F_VIS_Matplot):
""""""
| 25.444444 | 98 | 0.790393 | 34 | 229 | 4.882353 | 0.617647 | 0.180723 | 0.144578 | 0.228916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.09607 | 229 | 8 | 99 | 28.625 | 0.758454 | 0.227074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
7fc3b16d06e938769eb1435633676f106bf48ea7 | 225 | py | Python | __init__.py | SamuelFigueroa/kinetics | 6464aae2a900109c479fba58fd7316caed8cf71d | [
"MIT"
] | 1 | 2022-03-28T20:36:10.000Z | 2022-03-28T20:36:10.000Z | __init__.py | SamuelFigueroa/kinetics | 6464aae2a900109c479fba58fd7316caed8cf71d | [
"MIT"
] | null | null | null | __init__.py | SamuelFigueroa/kinetics | 6464aae2a900109c479fba58fd7316caed8cf71d | [
"MIT"
] | null | null | null | # from .FSQ import compFTOfSpectrum, compSortedEigenSet, compNumEigenVectors, compSEE
# from .initial_rates import compInitialRate, compLeastSquaresRateLaw
# from .json_definitions import readCalibrationData, readKineticData
| 56.25 | 85 | 0.862222 | 19 | 225 | 10.105263 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 225 | 3 | 86 | 75 | 0.936585 | 0.968889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | 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 | 5 |
7fe206e28745c34fc4b79e8742cfb2da6cbdd892 | 172 | py | Python | mosaic/strategy/early_stopping.py | JohnKurian/mosaic | bc985640844e10b9aded478d6ef7a5f286ab2d82 | [
"BSD-3-Clause"
] | 6 | 2018-09-17T13:27:46.000Z | 2021-09-03T15:46:15.000Z | mosaic/strategy/early_stopping.py | JohnKurian/mosaic | bc985640844e10b9aded478d6ef7a5f286ab2d82 | [
"BSD-3-Clause"
] | null | null | null | mosaic/strategy/early_stopping.py | JohnKurian/mosaic | bc985640844e10b9aded478d6ef7a5f286ab2d82 | [
"BSD-3-Clause"
] | 2 | 2019-11-21T13:17:11.000Z | 2020-11-30T03:32:41.000Z | from mosaic.strategy import BaseEarlyStopping
class Hyperband(BaseEarlyStopping):
def __init__(self):
super().__init__()
def evaluate(self):
pass
| 19.111111 | 45 | 0.69186 | 17 | 172 | 6.529412 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22093 | 172 | 8 | 46 | 21.5 | 0.828358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7feae75d2eca08c84ee5087c807dd2e905ea94a3 | 168 | py | Python | backend/mmlp/endpoint/result/__init__.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | backend/mmlp/endpoint/result/__init__.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | backend/mmlp/endpoint/result/__init__.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | from .ResultCollection import ResultCollection
from .ResultCount import ResultCount
from .ResultDownload import ResultDownload
from .ResultReplace import ResultReplace
| 33.6 | 46 | 0.880952 | 16 | 168 | 9.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 4 | 47 | 42 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d0725ab1aebd0d997efc8af5e7e73a015547a60 | 12,378 | py | Python | fn_scheduler/tests/test_create_a_scheduled_rule.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 65 | 2017-12-04T13:58:32.000Z | 2022-03-24T18:33:17.000Z | fn_scheduler/tests/test_create_a_scheduled_rule.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 48 | 2018-03-02T19:17:14.000Z | 2022-03-09T22:00:38.000Z | fn_scheduler/tests/test_create_a_scheduled_rule.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 95 | 2018-01-11T16:23:39.000Z | 2022-03-21T11:34:29.000Z | # -*- coding: utf-8 -*-
"""
Tests using pytest_resilient_circuits
use the environment variable TEST_RESILIENT_APP_CONFIG to refer to the app.config file for testing
"""
from __future__ import print_function
import datetime
import logging
import pytest
import sys
if sys.version_info.major == 3:
from unittest.mock i... | 49.91129 | 192 | 0.6598 | 1,409 | 12,378 | 5.407381 | 0.120653 | 0.087019 | 0.059063 | 0.081901 | 0.75443 | 0.722536 | 0.707704 | 0.702454 | 0.702454 | 0.702454 | 0 | 0.010095 | 0.239699 | 12,378 | 247 | 193 | 50.11336 | 0.79949 | 0.068347 | 0 | 0.582888 | 0 | 0 | 0.278538 | 0.125578 | 0 | 0 | 0 | 0 | 0.02139 | 1 | 0.042781 | false | 0 | 0.058824 | 0 | 0.112299 | 0.005348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d3b4b9546f5bc6006096268cd933e5d754d77b6 | 235 | py | Python | mysite/secrets.py | xiaoranppp/si664-final | f5545c04452fd674ddf1d078444e79ea58385e7e | [
"MIT"
] | null | null | null | mysite/secrets.py | xiaoranppp/si664-final | f5545c04452fd674ddf1d078444e79ea58385e7e | [
"MIT"
] | 1 | 2018-11-25T21:07:37.000Z | 2018-11-25T21:07:37.000Z | mysite/secrets.py | xiaoranppp/si664-final | f5545c04452fd674ddf1d078444e79ea58385e7e | [
"MIT"
] | 1 | 2018-12-21T12:06:03.000Z | 2018-12-21T12:06:03.000Z | SECRET_KEY = ')-m9dh9tk8!=j4_+1fwbq==!@0whh&dt)&xk0l($sn%bjkn0eb'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '1016293643402-qkert4te1e9be4284l9oon4hsd9e394d.apps.googleusercontent.com'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = 'AqMn1OWWSQIMnHobuwiGK_3U' | 78.333333 | 107 | 0.846809 | 27 | 235 | 6.962963 | 0.777778 | 0.106383 | 0.170213 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167401 | 0.034043 | 235 | 3 | 108 | 78.333333 | 0.660793 | 0 | 0 | 0 | 0 | 0 | 0.622881 | 0.622881 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d4b0968ad5286f2fa800e2f1960251d05824ec7 | 256 | py | Python | Dataset/Leetcode/train/94/710.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/94/710.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/94/710.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, root: TreeNode) -> List[int]:
def mid(root):
if root == None:
return []
else:
return mid(root.left) + [root.val] + mid(root.right)
return mid(root)
| 25.6 | 68 | 0.472656 | 29 | 256 | 4.172414 | 0.586207 | 0.231405 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.402344 | 256 | 9 | 69 | 28.444444 | 0.79085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e9e5ca591180e68e5942d7efb72a444d291477f7 | 77 | py | Python | Online-Judges/CodingBat/Python/Warmup-01/03-sum_double.py | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | 3 | 2021-06-15T01:19:23.000Z | 2022-03-16T18:23:53.000Z | Online-Judges/CodingBat/Python/Warmup-01/03-sum_double.py | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | Online-Judges/CodingBat/Python/Warmup-01/03-sum_double.py | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | def sum_double(a, b):
if a == b:
return (a+b)*2
else:
return a+b
| 12.833333 | 21 | 0.519481 | 16 | 77 | 2.4375 | 0.5625 | 0.205128 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.311688 | 77 | 5 | 22 | 15.4 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 5 |
e9fcc6402129ab4069f09fac71aad908b90e02ec | 174 | py | Python | d2go/optimizer/__init__.py | Pandinosaurus/d2go | fd79c680749184509efb2017d478d8c00656bbe2 | [
"Apache-2.0"
] | 3 | 2021-06-30T16:42:48.000Z | 2022-03-10T20:53:41.000Z | d2go/optimizer/__init__.py | Pandinosaurus/d2go | fd79c680749184509efb2017d478d8c00656bbe2 | [
"Apache-2.0"
] | 1 | 2021-07-08T03:55:00.000Z | 2021-07-08T03:55:00.000Z | d2go/optimizer/__init__.py | Pandinosaurus/d2go | fd79c680749184509efb2017d478d8c00656bbe2 | [
"Apache-2.0"
] | 1 | 2021-03-25T16:19:43.000Z | 2021-03-25T16:19:43.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
from .build import build_optimizer_mapper
__all__ = ['build_optimizer_mapper']
| 29 | 70 | 0.781609 | 24 | 174 | 5.333333 | 0.791667 | 0.21875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.12069 | 174 | 5 | 71 | 34.8 | 0.830065 | 0.517241 | 0 | 0 | 0 | 0 | 0.268293 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
180158ab1a27b4934cecb6ae60669424c462d1b0 | 65 | py | Python | test/test_cli.py | vche/pyweblogalyzer | 5908470708a712e2cf1af976847f7da396cd1e9c | [
"MIT"
] | null | null | null | test/test_cli.py | vche/pyweblogalyzer | 5908470708a712e2cf1af976847f7da396cd1e9c | [
"MIT"
] | 2 | 2022-02-22T23:28:48.000Z | 2022-02-22T23:31:20.000Z | test/test_cli.py | vche/pyweblogalyzer | 5908470708a712e2cf1af976847f7da396cd1e9c | [
"MIT"
] | null | null | null |
from pyweblogalyzer import cli
def test_cli():
cli.main()
| 9.285714 | 30 | 0.692308 | 9 | 65 | 4.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 65 | 6 | 31 | 10.833333 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
18238236129683794b39d5999532b0f7341a5c84 | 2,599 | py | Python | vkontakte_photos/parser.py | Andertaker/django-vkontakte-photos | eea293098070b428e935581fad0f245915675254 | [
"BSD-3-Clause"
] | null | null | null | vkontakte_photos/parser.py | Andertaker/django-vkontakte-photos | eea293098070b428e935581fad0f245915675254 | [
"BSD-3-Clause"
] | null | null | null | vkontakte_photos/parser.py | Andertaker/django-vkontakte-photos | eea293098070b428e935581fad0f245915675254 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import datetime
from vkontakte_api.parser import VkontakteParser, VkontakteParseError
import re
class VkontaktePhotosParser(VkontakteParser):
pass
# def parse_container_date(self, container):
#
# text = container.find('span', {'class': re.compile('^rel_date')})
# ... | 36.097222 | 93 | 0.559061 | 291 | 2,599 | 4.817869 | 0.381443 | 0.044936 | 0.025678 | 0.022825 | 0.104137 | 0.104137 | 0.071327 | 0.071327 | 0.071327 | 0.071327 | 0 | 0.018602 | 0.31743 | 2,599 | 72 | 94 | 36.097222 | 0.771702 | 0.881493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
182d44d5244d57f140be3c5d561b56f70f30ab17 | 192 | py | Python | models/user/download.py | ithollie/PayBits | 5affbf5c20859ba2065234a45978630b7396e322 | [
"bzip2-1.0.6"
] | null | null | null | models/user/download.py | ithollie/PayBits | 5affbf5c20859ba2065234a45978630b7396e322 | [
"bzip2-1.0.6"
] | null | null | null | models/user/download.py | ithollie/PayBits | 5affbf5c20859ba2065234a45978630b7396e322 | [
"bzip2-1.0.6"
] | null | null | null |
from flask import request
from models.User import User
class Download(object):
def __init__(self,file_name,database):
self.file_name = file_name
self.database = database
| 21.333333 | 42 | 0.723958 | 26 | 192 | 5.076923 | 0.576923 | 0.181818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 192 | 8 | 43 | 24 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1847edd92fb56b526bae26cd17064f358728b152 | 55 | py | Python | Course/modules/example_9.py | zevgenia/Python_shultais | e51c31de221c5e7f36ede857a960138009ec8a05 | [
"Apache-2.0"
] | null | null | null | Course/modules/example_9.py | zevgenia/Python_shultais | e51c31de221c5e7f36ede857a960138009ec8a05 | [
"Apache-2.0"
] | null | null | null | Course/modules/example_9.py | zevgenia/Python_shultais | e51c31de221c5e7f36ede857a960138009ec8a05 | [
"Apache-2.0"
] | null | null | null | import math
import sys
print(math.pi)
print(sys.path)
| 9.166667 | 15 | 0.763636 | 10 | 55 | 4.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 5 | 16 | 11 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
a125e802b9da64083cc27777dee00ded5786b470 | 79 | py | Python | social_auth/backends/contrib/yammer_staging.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 863 | 2015-01-01T00:42:07.000Z | 2022-03-30T02:47:18.000Z | social_auth/backends/contrib/yammer_staging.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 101 | 2015-01-08T00:28:16.000Z | 2022-03-07T03:11:19.000Z | social_auth/backends/contrib/yammer_staging.py | merutak/django-social-auth | 3a6e4414da0e969fcaf625a891852a3b2d7627c0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 256 | 2015-01-02T16:55:36.000Z | 2022-03-04T11:10:47.000Z | from social.backends.yammer import YammerStagingOAuth2 as YammerStagingBackend
| 39.5 | 78 | 0.898734 | 8 | 79 | 8.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.075949 | 79 | 1 | 79 | 79 | 0.958904 | 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 | 1 | 0 | 0 | 5 |
a1261f70d96c174b2eb2b91167c61c79121e7733 | 218 | py | Python | NotionData/__init__.py | victoriano/notion_data | 2503047b19b23623fc3960c886f83bdef4bcaaea | [
"Apache-2.0"
] | 4 | 2022-02-03T13:41:22.000Z | 2022-02-07T08:23:27.000Z | NotionData/__init__.py | victoriano/notion_data | 2503047b19b23623fc3960c886f83bdef4bcaaea | [
"Apache-2.0"
] | null | null | null | NotionData/__init__.py | victoriano/notion_data | 2503047b19b23623fc3960c886f83bdef4bcaaea | [
"Apache-2.0"
] | null | null | null | from .notiondb_to_csv import NotionToCSV
from .notiondb_to_csv import get_all_db_entries
from .notiondb_to_csv import merge_notion_dbs
__all__ = [
"NotionToCSV",
"get_all_db_entries",
"merge_notion_dbs",
] | 24.222222 | 47 | 0.788991 | 32 | 218 | 4.75 | 0.40625 | 0.236842 | 0.276316 | 0.335526 | 0.453947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142202 | 218 | 9 | 48 | 24.222222 | 0.812834 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a12adb23ec073268b6fb25c89914524a74892c9d | 4,266 | py | Python | tests/stl_corruption.py | Gjacquenot/numpy-stl | bda50aff0c171d1f48ae0b7f3c6122930346f7b4 | [
"BSD-3-Clause"
] | 464 | 2015-01-29T17:46:51.000Z | 2022-03-28T13:41:19.000Z | tests/stl_corruption.py | Gjacquenot/numpy-stl | bda50aff0c171d1f48ae0b7f3c6122930346f7b4 | [
"BSD-3-Clause"
] | 187 | 2015-01-16T20:41:25.000Z | 2022-03-29T20:19:50.000Z | tests/stl_corruption.py | Gjacquenot/numpy-stl | bda50aff0c171d1f48ae0b7f3c6122930346f7b4 | [
"BSD-3-Clause"
] | 110 | 2015-02-04T09:10:55.000Z | 2022-01-27T08:48:28.000Z | from __future__ import print_function
import sys
import numpy
import pytest
import struct
from stl import mesh
_STL_FILE = '''
solid test.stl
facet normal -0.014565 0.073223 -0.002897
outer loop
vertex 0.399344 0.461940 1.044090
vertex 0.500000 0.500000 1.500000
vertex 0.576120 0.500000 1.117320
endlo... | 29.020408 | 76 | 0.570089 | 608 | 4,266 | 3.865132 | 0.177632 | 0.077447 | 0.040851 | 0.06383 | 0.763404 | 0.750638 | 0.750638 | 0.750638 | 0.74 | 0.717872 | 0 | 0.080302 | 0.28481 | 4,266 | 146 | 77 | 29.219178 | 0.689938 | 0.028364 | 0 | 0.666667 | 0 | 0 | 0.165419 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.063063 | false | 0 | 0.054054 | 0 | 0.117117 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a12c6ca88cdefb19e3792bee805232ded4e8260d | 136 | py | Python | tests/web_platform/CSS2/box/test_ltr_basic.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/box/test_ltr_basic.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/box/test_ltr_basic.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestLtrBasic(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'ltr-basic'))
| 22.666667 | 64 | 0.779412 | 16 | 136 | 6.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.102941 | 136 | 5 | 65 | 27.2 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1642176e7779f662925b34f80767ea6fb356d0a | 21,227 | py | Python | test_pyquery.py | zhyq0826/test-lab | b5b4d1372f2201dc5299bbe8983af18e8d4e1a1a | [
"MIT"
] | null | null | null | test_pyquery.py | zhyq0826/test-lab | b5b4d1372f2201dc5299bbe8983af18e8d4e1a1a | [
"MIT"
] | null | null | null | test_pyquery.py | zhyq0826/test-lab | b5b4d1372f2201dc5299bbe8983af18e8d4e1a1a | [
"MIT"
] | null | null | null | #-*- coding:utf-8 -*-
from pyquery import PyQuery as pq
s = """
var tumblr_api_read = {
"tumblelog": {
"title": "Japanese Aesthetics",
"description": "A blog dedicated to Japanese artistic heritage.",
"name": "japaneseaesthetics",
"timezone": "Canada\/Eastern",
"cname": fals... | 67.387302 | 711 | 0.653272 | 2,433 | 21,227 | 5.637074 | 0.183724 | 0.064309 | 0.073496 | 0.048341 | 0.742763 | 0.71914 | 0.600875 | 0.558513 | 0.331899 | 0.331899 | 0 | 0.189867 | 0.15664 | 21,227 | 314 | 712 | 67.601911 | 0.576248 | 0.007066 | 0 | 0.356667 | 0 | 0.313333 | 0.988228 | 0.534295 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006667 | null | null | 0.006667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a17839ce3bd46cba8a1f5350279f3a917375d89a | 402 | py | Python | login/models.py | Aki-qiu/DATA130039.01-MyBookDB | d853bfc1a26a1b0ea3c8d08bb572a24a25395ec6 | [
"Apache-2.0"
] | 3 | 2021-06-06T21:24:23.000Z | 2021-07-04T04:33:23.000Z | login/models.py | Aki-qiu/DATA130039.01-MyBookDB | d853bfc1a26a1b0ea3c8d08bb572a24a25395ec6 | [
"Apache-2.0"
] | null | null | null | login/models.py | Aki-qiu/DATA130039.01-MyBookDB | d853bfc1a26a1b0ea3c8d08bb572a24a25395ec6 | [
"Apache-2.0"
] | 1 | 2021-06-17T16:55:36.000Z | 2021-06-17T16:55:36.000Z | from django.db import models
# Create your models here.
class User(models.Model):
username = models.CharField(max_length=40, verbose_name="Username")
email = models.EmailField(max_length=40, verbose_name="E-mail")
pwd = models.CharField(max_length=128, verbose_name="Password")
ip = models.CharField(max_length=40... | 28.714286 | 73 | 0.766169 | 59 | 402 | 5.016949 | 0.559322 | 0.121622 | 0.182432 | 0.243243 | 0.324324 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0.027933 | 0.109453 | 402 | 13 | 74 | 30.923077 | 0.798883 | 0.059701 | 0 | 0 | 0 | 0 | 0.079787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.125 | 0.125 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
a1b7b0c95ccdf8eb23d57d6f6f1c50d7cf3b1ebc | 292 | py | Python | src/architectures/nmp/adjacency/simple/__init__.py | isaachenrion/jets | 59aeba81788d0741af448192d9dfb764fb97cf8d | [
"BSD-3-Clause"
] | 9 | 2017-10-09T17:01:52.000Z | 2018-06-12T18:06:05.000Z | src/architectures/nmp/adjacency/simple/__init__.py | isaachenrion/jets | 59aeba81788d0741af448192d9dfb764fb97cf8d | [
"BSD-3-Clause"
] | 31 | 2017-11-01T14:39:02.000Z | 2018-04-18T15:34:24.000Z | src/architectures/nmp/adjacency/simple/__init__.py | isaachenrion/jets | 59aeba81788d0741af448192d9dfb764fb97cf8d | [
"BSD-3-Clause"
] | 10 | 2017-10-17T19:23:14.000Z | 2020-07-05T04:44:45.000Z | from .learned import LEARNED_ADJACENCIES
from .constant import CONSTANT_ADJACENCIES
from .physics import PHYSICS_ADJACENCIES
SIMPLE_ADJACENCIES = {}
SIMPLE_ADJACENCIES.update(LEARNED_ADJACENCIES)
SIMPLE_ADJACENCIES.update(CONSTANT_ADJACENCIES)
SIMPLE_ADJACENCIES.update(PHYSICS_ADJACENCIES)
| 32.444444 | 47 | 0.883562 | 32 | 292 | 7.75 | 0.25 | 0.274194 | 0.451613 | 0.41129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065068 | 292 | 8 | 48 | 36.5 | 0.908425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a1d5383a005afa2650dd87c1d93b89a400046cd8 | 77 | py | Python | distributed/__init__.py | merlinarer/scrl | f5bc426ed6eef130d44dd3a5609dc0772da59613 | [
"Apache-2.0"
] | 102 | 2021-03-25T08:54:12.000Z | 2022-03-30T03:46:47.000Z | distributed/__init__.py | merlinarer/scrl | f5bc426ed6eef130d44dd3a5609dc0772da59613 | [
"Apache-2.0"
] | 10 | 2021-03-23T01:53:55.000Z | 2021-07-30T08:51:19.000Z | distributed/__init__.py | merlinarer/scrl | f5bc426ed6eef130d44dd3a5609dc0772da59613 | [
"Apache-2.0"
] | 12 | 2021-04-15T06:02:32.000Z | 2022-02-10T15:34:39.000Z | from .launch import launch
from .getters import get_dist_url, scatter_values
| 25.666667 | 49 | 0.844156 | 12 | 77 | 5.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 2 | 50 | 38.5 | 0.911765 | 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 | 1 | 0 | 0 | 5 |
b803bfebd538bbea06734312d44f6e434a16c2de | 11,366 | py | Python | injector.py | freezernick/c_cpp_injector | f0683a8eba0c4f68e2f643f5e60d68917e831ad7 | [
"BSL-1.0"
] | null | null | null | injector.py | freezernick/c_cpp_injector | f0683a8eba0c4f68e2f643f5e60d68917e831ad7 | [
"BSL-1.0"
] | 1 | 2021-01-15T02:53:55.000Z | 2021-01-16T18:48:02.000Z | injector.py | freezernick/c_cpp_injector | f0683a8eba0c4f68e2f643f5e60d68917e831ad7 | [
"BSL-1.0"
] | null | null | null | import os, json
from os import path
# don't mind this
base = [
"IS_PROGRAM=0",
"UE_EDITOR=1",
"ENABLE_PGO_PROFILE=0",
"USE_VORBIS_FOR_STREAMING=1",
"USE_XMA2_FOR_STREAMING=1",
"WITH_DEV_AUTOMATION_TESTS=1",
"WITH_PERF_AUTOMATION_TESTS=1",
"UNICODE",
"_UNICODE",
"__UNREAL__",
... | 32.289773 | 74 | 0.723034 | 1,142 | 11,366 | 6.756567 | 0.261821 | 0.206065 | 0.288491 | 0.003888 | 0.017496 | 0.009072 | 0.009072 | 0 | 0 | 0 | 0 | 0.010991 | 0.151504 | 11,366 | 352 | 75 | 32.289773 | 0.789092 | 0.001848 | 0 | 0.005988 | 0 | 0 | 0.693379 | 0.521026 | 0 | 0 | 0.001058 | 0 | 0 | 1 | 0 | false | 0 | 0.323353 | 0 | 0.323353 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
62af8f352c8134316eaf7e81732322c7eefb1b7c | 45 | py | Python | tests/__init__.py | lucuma/vd-flask | 4b545f02e0fed4d981c1e99d727d89f3826cf3ab | [
"BSD-3-Clause"
] | 4 | 2015-08-08T20:42:35.000Z | 2015-08-27T14:22:31.000Z | tests/__init__.py | lucuma/vd-flask | 4b545f02e0fed4d981c1e99d727d89f3826cf3ab | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | lucuma/vd-flask | 4b545f02e0fed4d981c1e99d727d89f3826cf3ab | [
"BSD-3-Clause"
] | null | null | null | import os
os.environ['APP_ENV'] = 'pytest'
| 9 | 32 | 0.666667 | 7 | 45 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 4 | 33 | 11.25 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
62cf56d85a46ef4f12c9e158ee81299dbb41cd5c | 8,125 | py | Python | tests.py | quangchiem139/AlphaZeroSimple | 1b1096cc4b2aded6337a90035aee56b370ea1d3a | [
"MIT"
] | 76 | 2020-05-06T17:11:43.000Z | 2022-03-23T15:52:46.000Z | tests.py | quangchiem139/AlphaZeroSimple | 1b1096cc4b2aded6337a90035aee56b370ea1d3a | [
"MIT"
] | 7 | 2020-06-24T21:47:45.000Z | 2022-01-27T23:23:38.000Z | tests.py | quangchiem139/AlphaZeroSimple | 1b1096cc4b2aded6337a90035aee56b370ea1d3a | [
"MIT"
] | 18 | 2020-09-01T05:24:56.000Z | 2022-02-28T04:25:34.000Z | import numpy as np
import unittest
from monte_carlo_tree_search import Node, MCTS, ucb_score
from game import Connect2Game
class MCTSTests(unittest.TestCase):
def test_mcts_from_root_with_equal_priors(self):
class MockModel:
def predict(self, board):
# starting board is:
... | 33.436214 | 90 | 0.603446 | 1,175 | 8,125 | 3.997447 | 0.102128 | 0.130296 | 0.028316 | 0.054503 | 0.828188 | 0.786672 | 0.773472 | 0.731318 | 0.676602 | 0.643389 | 0 | 0.060735 | 0.276554 | 8,125 | 242 | 91 | 33.57438 | 0.738346 | 0.070031 | 0 | 0.627219 | 0 | 0 | 0.011144 | 0 | 0 | 0 | 0 | 0 | 0.189349 | 1 | 0.088757 | false | 0 | 0.023669 | 0.023669 | 0.171598 | 0.011834 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
62e97ff8ab0c79c4b07b3ba178afc466abc4637f | 106 | py | Python | cli.py | maartentamboer/testrepo | 7d297a4ccf64c1b2f1ab950804b8cb12d570d41c | [
"Apache-2.0"
] | null | null | null | cli.py | maartentamboer/testrepo | 7d297a4ccf64c1b2f1ab950804b8cb12d570d41c | [
"Apache-2.0"
] | null | null | null | cli.py | maartentamboer/testrepo | 7d297a4ccf64c1b2f1ab950804b8cb12d570d41c | [
"Apache-2.0"
] | null | null | null | import implementation.implementation
if __name__ == '__main__':
implementation.implementation.main()
| 21.2 | 40 | 0.792453 | 9 | 106 | 8.444444 | 0.555556 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 4 | 41 | 26.5 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1a21e3b6f433a5d8230d3f09b4a03a896e0da938 | 886 | py | Python | LSD/tools/onoworst.py | Fabianexe/superbubble | 5399e76c49ad62da7d6a2de7b5ea548b415bda30 | [
"BSD-3-Clause"
] | 1 | 2021-09-21T13:29:19.000Z | 2021-09-21T13:29:19.000Z | LSD/tools/onoworst.py | Fabianexe/superbubble | 5399e76c49ad62da7d6a2de7b5ea548b415bda30 | [
"BSD-3-Clause"
] | null | null | null | LSD/tools/onoworst.py | Fabianexe/superbubble | 5399e76c49ad62da7d6a2de7b5ea548b415bda30 | [
"BSD-3-Clause"
] | 2 | 2019-09-11T23:33:12.000Z | 2021-02-18T14:39:01.000Z |
def generate_onoworst(outpath, vertnumber):
f = open(outpath, "w")
for i in range(vertnumber-1):
f.write("{fro} {to}\n".format(fro=i, to=(i + 1)))
f.write("{fro} {to}\n".format(fro=i, to=vertnumber))
# for j in range(2):
# f.write("{fro} {to}\n".format(fro=i, to=(i+j + 1) % ... | 31.642857 | 78 | 0.559819 | 135 | 886 | 3.585185 | 0.244444 | 0.136364 | 0.11157 | 0.136364 | 0.706612 | 0.706612 | 0.706612 | 0.706612 | 0.642562 | 0.642562 | 0 | 0.014793 | 0.23702 | 886 | 27 | 79 | 32.814815 | 0.701183 | 0.231377 | 0 | 0.235294 | 1 | 0 | 0.086053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1a2a0d04a8a70160787956713d9ae6850e80a323 | 37 | py | Python | ppqi/__init__.py | GT-AcerZhang/PaddleQuickInference | 987888bf296ad7846ee5c53ffd5195ea85cd0df4 | [
"Apache-2.0"
] | 26 | 2021-04-26T11:37:21.000Z | 2022-03-23T13:46:50.000Z | ppqi/__init__.py | GT-AcerZhang/PaddleQuickInference | 987888bf296ad7846ee5c53ffd5195ea85cd0df4 | [
"Apache-2.0"
] | 1 | 2021-01-04T07:20:49.000Z | 2021-01-04T08:24:51.000Z | ppqi/__init__.py | GT-AcerZhang/PaddleQuickInference | 987888bf296ad7846ee5c53ffd5195ea85cd0df4 | [
"Apache-2.0"
] | 3 | 2021-04-29T04:45:52.000Z | 2021-11-30T01:21:15.000Z | from .inference import InferenceModel | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a7f9e0b0b3790c1e0490c4cef2068ded0aaec152 | 2,704 | py | Python | npipes/producers/producer.py | praxik/nPipes | 4edf8fa0d0467e3455941c46e960fdf3f43e2d31 | [
"Apache-2.0"
] | null | null | null | npipes/producers/producer.py | praxik/nPipes | 4edf8fa0d0467e3455941c46e960fdf3f43e2d31 | [
"Apache-2.0"
] | null | null | null | npipes/producers/producer.py | praxik/nPipes | 4edf8fa0d0467e3455941c46e960fdf3f43e2d31 | [
"Apache-2.0"
] | null | null | null | # -*- mode: python;-*-
from base64 import b64decode
import json
from os import environ
from typing import Generator, List, Dict, Any
from ..outcome import Outcome, Success, Failure
from ..message.header import Message
# FIXME: What is this doing in here?
def envLower(key:str) -> Dict:
bv = environ.get(key, "e30... | 40.358209 | 95 | 0.631657 | 336 | 2,704 | 5.080357 | 0.535714 | 0.008787 | 0.009373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006319 | 0.297707 | 2,704 | 66 | 96 | 40.969697 | 0.892575 | 0.68713 | 0 | 0.142857 | 0 | 0 | 0.00607 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 1 | 0.214286 | false | 0.142857 | 0.428571 | 0 | 0.785714 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
c5216f2390c5ae443b1e242597dce636a4f2ba97 | 91 | py | Python | demo.py | Sogrey/python-tools | f34fb2a42cf7ed4d9b127a1065a8275b60781fea | [
"MIT"
] | null | null | null | demo.py | Sogrey/python-tools | f34fb2a42cf7ed4d9b127a1065a8275b60781fea | [
"MIT"
] | null | null | null | demo.py | Sogrey/python-tools | f34fb2a42cf7ed4d9b127a1065a8275b60781fea | [
"MIT"
] | null | null | null | print('hello', end = " ")
print('world', end = "*")
print('!')
"""
输出结果是:
hello world*!
""" | 13 | 25 | 0.505495 | 10 | 91 | 4.6 | 0.5 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 7 | 26 | 13 | 0.597403 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c5444904c8fd35c7b5bac3a6f68a6ff1b5ebb1e4 | 4,214 | py | Python | tests/python/test_test.py | xwang186/taichi | 1a8ec6ebfae8b3859fd91d4889e2de3c12f1dde2 | [
"MIT"
] | null | null | null | tests/python/test_test.py | xwang186/taichi | 1a8ec6ebfae8b3859fd91d4889e2de3c12f1dde2 | [
"MIT"
] | null | null | null | tests/python/test_test.py | xwang186/taichi | 1a8ec6ebfae8b3859fd91d4889e2de3c12f1dde2 | [
"MIT"
] | null | null | null | '''
This file tests if Taichi's testing utilities are functional.
TODO: Skips these tests after all tests are using @ti.test
'''
import os
import pytest
import taichi as ti
from tests import test_utils
### `ti.test`
@test_utils.test()
def test_all_archs():
assert ti.lang.impl.current_cfg().arch in test_utils.... | 29.676056 | 78 | 0.66374 | 701 | 4,214 | 3.848787 | 0.131241 | 0.093403 | 0.100074 | 0.115641 | 0.777613 | 0.762046 | 0.737954 | 0.714233 | 0.669755 | 0.622313 | 0 | 0.018039 | 0.184385 | 4,214 | 141 | 79 | 29.886525 | 0.766948 | 0.04224 | 0 | 0.541667 | 0 | 0 | 0.034551 | 0 | 0 | 0 | 0 | 0.007092 | 0.40625 | 1 | 0.166667 | false | 0.010417 | 0.041667 | 0 | 0.208333 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d86529a0def5c5af7aa92db9c923ea00b8adc8e | 23 | py | Python | dime/__init__.py | CURENT/dime | f4f205dc2d6ebabe645144e70756a40a3318ef4a | [
"BSD-2-Clause"
] | null | null | null | dime/__init__.py | CURENT/dime | f4f205dc2d6ebabe645144e70756a40a3318ef4a | [
"BSD-2-Clause"
] | null | null | null | dime/__init__.py | CURENT/dime | f4f205dc2d6ebabe645144e70756a40a3318ef4a | [
"BSD-2-Clause"
] | null | null | null | from .dime import Dime
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3d8df2e6d8cb45b5caa8f30997c05f4c5ee26897 | 58 | py | Python | surround/django/health/models.py | sniegu/django-surround | e076ec92a6611a056899f3f4f74a24e676dafb5c | [
"MIT"
] | 1 | 2016-07-29T13:10:40.000Z | 2016-07-29T13:10:40.000Z | surround/django/health/models.py | sniegu/django-surround | e076ec92a6611a056899f3f4f74a24e676dafb5c | [
"MIT"
] | null | null | null | surround/django/health/models.py | sniegu/django-surround | e076ec92a6611a056899f3f4f74a24e676dafb5c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import conf
| 19.333333 | 38 | 0.844828 | 8 | 58 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 39 | 29 | 0.88 | 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 | 1 | 0 | 0 | 5 |
3dc5bd2b743f46f9995b392bf3c1fbbacd5e0d81 | 135 | py | Python | sync.py | guschmue/test | 20cf06c40b0c9e9974b33cd5f0c41aa5748a31b9 | [
"Apache-2.0"
] | null | null | null | sync.py | guschmue/test | 20cf06c40b0c9e9974b33cd5f0c41aa5748a31b9 | [
"Apache-2.0"
] | null | null | null | sync.py | guschmue/test | 20cf06c40b0c9e9974b33cd5f0c41aa5748a31b9 | [
"Apache-2.0"
] | 1 | 2020-12-23T00:49:17.000Z | 2020-12-23T00:49:17.000Z |
with open("log.txt", "r") as f:
line = f.read()
count = int(line) + 1
with open("log.txt", "w") as f:
f.write(str(count))
| 19.285714 | 31 | 0.533333 | 25 | 135 | 2.88 | 0.6 | 0.222222 | 0.305556 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.237037 | 135 | 6 | 32 | 22.5 | 0.68932 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3df00cd48ffe42c19f72df51051b28689ad362ea | 599 | py | Python | app/services/security.py | ilya-goldin/kanban-board-app | 3c7026aedb0e21eaccc26a2ac4a37f0b6a91a122 | [
"MIT"
] | null | null | null | app/services/security.py | ilya-goldin/kanban-board-app | 3c7026aedb0e21eaccc26a2ac4a37f0b6a91a122 | [
"MIT"
] | null | null | null | app/services/security.py | ilya-goldin/kanban-board-app | 3c7026aedb0e21eaccc26a2ac4a37f0b6a91a122 | [
"MIT"
] | null | null | null | import bcrypt
from passlib.context import CryptContext
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
def generate_salt() -> str:
return bcrypt.gensalt().decode()
def verify_password(plain_password: str, hashed_password: str) -> bool:
return pwd_context.verify(plain_password, hashed_pass... | 26.043478 | 71 | 0.75793 | 76 | 599 | 5.723684 | 0.328947 | 0.11954 | 0.096552 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138564 | 599 | 22 | 72 | 27.227273 | 0.843023 | 0 | 0 | 0 | 1 | 0 | 0.016694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.615385 | 0.153846 | 0.230769 | 0.769231 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
9a72721d6403d56a0b61ea8543367ad4a32e2e02 | 133 | py | Python | apps/service/user.py | luohu1/flask-api | b5d9305649013716d16fcf8d4d2df0718c8d3a51 | [
"MIT"
] | null | null | null | apps/service/user.py | luohu1/flask-api | b5d9305649013716d16fcf8d4d2df0718c8d3a51 | [
"MIT"
] | null | null | null | apps/service/user.py | luohu1/flask-api | b5d9305649013716d16fcf8d4d2df0718c8d3a51 | [
"MIT"
] | null | null | null | from flask_restful import Resource
class UserResource(Resource):
def get(self):
pass
def post(self):
pass
| 13.3 | 34 | 0.639098 | 16 | 133 | 5.25 | 0.75 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293233 | 133 | 9 | 35 | 14.777778 | 0.893617 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
9ae86714dad237eb3c1d8dee7b83896d3c072515 | 34 | py | Python | _outs/some/folder/something.py | rahul-verma/arjuna-workshops | 7f0e4d14b7268d87006d1f85563771991f474313 | [
"Apache-2.0"
] | null | null | null | _outs/some/folder/something.py | rahul-verma/arjuna-workshops | 7f0e4d14b7268d87006d1f85563771991f474313 | [
"Apache-2.0"
] | null | null | null | _outs/some/folder/something.py | rahul-verma/arjuna-workshops | 7f0e4d14b7268d87006d1f85563771991f474313 | [
"Apache-2.0"
] | null | null | null |
def multiply(a,b):
print(a*b) | 11.333333 | 18 | 0.588235 | 7 | 34 | 2.857143 | 0.714286 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 3 | 19 | 11.333333 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9afb998162fdab981e023a28efbf2f0366b2981c | 20 | py | Python | example_project/some_modules/third_modules/a34.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a34.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a34.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A34:
pass
| 6.666667 | 10 | 0.6 | 3 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.35 | 20 | 2 | 11 | 10 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9aff8e2520138d59692d89e7972d6fc0939a6b1f | 706 | py | Python | sharkvalidator/readers/__init__.py | JohannesSMHI/sharkvalidator | 79ae4a87e3e95c77d6bf580f66477cc6c5fdd454 | [
"MIT"
] | null | null | null | sharkvalidator/readers/__init__.py | JohannesSMHI/sharkvalidator | 79ae4a87e3e95c77d6bf580f66477cc6c5fdd454 | [
"MIT"
] | null | null | null | sharkvalidator/readers/__init__.py | JohannesSMHI/sharkvalidator | 79ae4a87e3e95c77d6bf580f66477cc6c5fdd454 | [
"MIT"
] | 1 | 2021-09-22T08:37:49.000Z | 2021-09-22T08:37:49.000Z | # Copyright (c) 2020 SMHI, Swedish Meteorological and Hydrological Institute.
# License: MIT License (see LICENSE or http://opensource.org/licenses/mit).
"""
Created on 2020-12-15 14:00
@author: johannes
"""
from sharkvalidator.readers.txt import PandasTxtReader, text_reader # noqa: F401
from sharkvalidator.readers.y... | 50.428571 | 111 | 0.813031 | 82 | 706 | 6.97561 | 0.573171 | 0.188811 | 0.262238 | 0.227273 | 0.309441 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0.05414 | 0.110482 | 706 | 13 | 112 | 54.307692 | 0.856688 | 0.372521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 5 |
b10a5f223defb0c2e949b1b2e00bc4c557728603 | 271 | py | Python | lib/exceptions.py | gcomte/lndmanage | 297be179b08e6c976872aa35699efab158fe5bd5 | [
"MIT"
] | null | null | null | lib/exceptions.py | gcomte/lndmanage | 297be179b08e6c976872aa35699efab158fe5bd5 | [
"MIT"
] | null | null | null | lib/exceptions.py | gcomte/lndmanage | 297be179b08e6c976872aa35699efab158fe5bd5 | [
"MIT"
] | null | null | null | class RouteWithTooSmallCapacity(Exception):
pass
class RebalanceFailure(Exception):
pass
class NoRouteError(Exception):
pass
class DryRunException(Exception):
pass
class PaymentTimeOut(Exception):
pass
class TooExpensive(Exception):
pass | 12.318182 | 43 | 0.745387 | 24 | 271 | 8.416667 | 0.375 | 0.386139 | 0.445545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188192 | 271 | 22 | 44 | 12.318182 | 0.918182 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b1129bc15e2398d8bb8af9d49ced59f00dba88f8 | 455 | py | Python | automlkiller/models/clustering/__init__.py | toandaominh1997/automlkiller | c5f451cfb05d8287bec0d26a9b14e2c1b452861c | [
"Apache-2.0"
] | null | null | null | automlkiller/models/clustering/__init__.py | toandaominh1997/automlkiller | c5f451cfb05d8287bec0d26a9b14e2c1b452861c | [
"Apache-2.0"
] | null | null | null | automlkiller/models/clustering/__init__.py | toandaominh1997/automlkiller | c5f451cfb05d8287bec0d26a9b14e2c1b452861c | [
"Apache-2.0"
] | null | null | null | from .affinitypropagation_cluster import AffinityPropagation
from .agglomerativeclustering_cluster import AgglomerativeClustering
from .birch_cluster import BirchContainer
from .dbscan_cluster import DBSCANContainer
from .kmeans_cluster import KMeansContainer
from .kmodes_cluster import KModesContainer
from .meanshift_... | 50.555556 | 68 | 0.903297 | 45 | 455 | 8.933333 | 0.422222 | 0.291045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 455 | 9 | 69 | 50.555556 | 0.957143 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b114c74255e1e5b6b2f1d16b0585bebc12be374e | 121 | py | Python | organizations/views/__init__.py | rogue26/processy.io | 6c3c1d85e4b0aac9d9ede82f4fb0da95e9f0d888 | [
"MIT"
] | null | null | null | organizations/views/__init__.py | rogue26/processy.io | 6c3c1d85e4b0aac9d9ede82f4fb0da95e9f0d888 | [
"MIT"
] | 5 | 2021-02-15T19:33:35.000Z | 2021-08-30T20:58:14.000Z | organizations/views/__init__.py | rogue26/processy.io | 6c3c1d85e4b0aac9d9ede82f4fb0da95e9f0d888 | [
"MIT"
] | null | null | null | from ..views import ajax
from .organization_dashboard import OrganizationDashboard
from .content import ContentDashboard
| 30.25 | 57 | 0.867769 | 13 | 121 | 8 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 3 | 58 | 40.333333 | 0.954128 | 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 | 1 | 0 | 0 | 5 |
b12c9976df07d6165bc12c407007c9867fea0a61 | 232 | py | Python | tests/TestCase.py | golngaz/gol-rpg | 0a953c5a5f96fc7b476701212b6917029d94f12e | [
"MIT"
] | null | null | null | tests/TestCase.py | golngaz/gol-rpg | 0a953c5a5f96fc7b476701212b6917029d94f12e | [
"MIT"
] | null | null | null | tests/TestCase.py | golngaz/gol-rpg | 0a953c5a5f96fc7b476701212b6917029d94f12e | [
"MIT"
] | null | null | null | import unittest
class TestCase(unittest.TestCase):
def assertSame(self, expected, actual, message: str = ''):
self.assertEqual(type(expected), type(actual), message)
self.assertEqual(expected, actual, message)
| 29 | 63 | 0.706897 | 25 | 232 | 6.56 | 0.52 | 0.237805 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 232 | 7 | 64 | 33.142857 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b13e17f00917b04bb3e4a7823ae13916fd34222c | 56 | py | Python | tot/__init__.py | etibger/tot | 861ea0779bbad0b7d53e3450aedc687dd32e9a86 | [
"MIT"
] | null | null | null | tot/__init__.py | etibger/tot | 861ea0779bbad0b7d53e3450aedc687dd32e9a86 | [
"MIT"
] | null | null | null | tot/__init__.py | etibger/tot | 861ea0779bbad0b7d53e3450aedc687dd32e9a86 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from tot.card import Card, Suit
| 18.666667 | 31 | 0.625 | 9 | 56 | 3.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.178571 | 56 | 2 | 32 | 28 | 0.73913 | 0.375 | 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 | 1 | 0 | 0 | 5 |
b1559fd8ce22d13f22e74d6c43e2dcd57b31e2e1 | 8,108 | py | Python | Fixture/List_items_before_autorization.py | AllaZhulyanova/Autotests_for_ADUKAR | ba45b09e2cc859fc10542eb4dc1792ea6e296b08 | [
"Apache-2.0"
] | null | null | null | Fixture/List_items_before_autorization.py | AllaZhulyanova/Autotests_for_ADUKAR | ba45b09e2cc859fc10542eb4dc1792ea6e296b08 | [
"Apache-2.0"
] | null | null | null | Fixture/List_items_before_autorization.py | AllaZhulyanova/Autotests_for_ADUKAR | ba45b09e2cc859fc10542eb4dc1792ea6e296b08 | [
"Apache-2.0"
] | null | null | null |
class BeforeAutorizationHelper:
def __init__(self,app):
self.app = app
# выбор предмета по порядку, возвращает кол-во уроков/тестов
def Test_list_of_all_items(self, TEXT):
driver = self.app.driver
Items = driver.find_elements_by_class_name('subject-card') # кнопка списка предметов... | 58.330935 | 160 | 0.614085 | 991 | 8,108 | 4.733602 | 0.14329 | 0.059689 | 0.046898 | 0.081006 | 0.843957 | 0.806012 | 0.731401 | 0.703262 | 0.625666 | 0.625666 | 0 | 0.008559 | 0.308337 | 8,108 | 138 | 161 | 58.753623 | 0.827924 | 0.197213 | 0 | 0.645161 | 0 | 0 | 0.064346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0.008065 | 0 | 0 | 0.096774 | 0.080645 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
b1698afe7dd2dba2053cbbd66cab84e5ab0b2ff5 | 675 | py | Python | pg_rest_api/settings/components/auth.py | PartyGwam/api | f580e29762990eabdb3bb5e317dee22c6c441696 | [
"MIT"
] | 1 | 2018-06-24T08:10:12.000Z | 2018-06-24T08:10:12.000Z | pg_rest_api/settings/components/auth.py | PartyGwam/api | f580e29762990eabdb3bb5e317dee22c6c441696 | [
"MIT"
] | 48 | 2018-06-24T12:30:15.000Z | 2022-01-13T00:48:24.000Z | pg_rest_api/settings/components/auth.py | PartyGwam/api | f580e29762990eabdb3bb5e317dee22c6c441696 | [
"MIT"
] | null | null | null | # Password validation
# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators
AUTH_USER_MODEL = 'users.User'
AUTHENTICATION_BACKENDS = [
'pg_rest_api.backends.PGBackend',
'django.contrib.auth.backends.ModelBackend'
]
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.au... | 27 | 91 | 0.706667 | 62 | 675 | 7.516129 | 0.483871 | 0.154506 | 0.182403 | 0.180258 | 0.334764 | 0.334764 | 0 | 0 | 0 | 0 | 0 | 0.003534 | 0.161481 | 675 | 24 | 92 | 28.125 | 0.819788 | 0.140741 | 0 | 0 | 0 | 0 | 0.621528 | 0.576389 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.263158 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.