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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8d6eeeaea1a06e8bddfaaedf81d9dd78ffa07ef1 | 69 | py | Python | jacdac/color/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/color/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/color/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import ColorClient # type: ignore
| 23 | 46 | 0.782609 | 8 | 69 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 2 | 47 | 34.5 | 0.915254 | 0.463768 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5fc8c662d4e51b3ae11c0c26af913a395796dbd | 3,569 | py | Python | modules/comparator.py | azhou5211/recipeat | 8d21864a7ec99e4384389c1be79723f6ccb75d67 | [
"MIT"
] | 3 | 2021-03-18T18:55:32.000Z | 2022-03-25T10:37:34.000Z | modules/comparator.py | azhou5211/recipeat | 8d21864a7ec99e4384389c1be79723f6ccb75d67 | [
"MIT"
] | 12 | 2021-03-09T07:07:31.000Z | 2021-03-15T08:42:26.000Z | modules/comparator.py | smuktevi/recipeat | 7931af517c3ad7ead932e8f4fd6df96c64d52e1c | [
"MIT"
] | 7 | 2021-02-16T02:04:24.000Z | 2021-03-22T20:48:26.000Z | import requests
from bs4 import BeautifulSoup
class Compare:
"""
Class that is used to compare recipes.
"""
@staticmethod
def nutrient_compare(recipe_list):
"""
returns HTML response with a information on nutrients in given recipes
Args:
recipe_list: list of r... | 37.568421 | 79 | 0.476604 | 308 | 3,569 | 5.422078 | 0.275974 | 0.035928 | 0.050299 | 0.071856 | 0.811976 | 0.811976 | 0.811976 | 0.811976 | 0.811976 | 0.811976 | 0 | 0.035198 | 0.418885 | 3,569 | 94 | 80 | 37.968085 | 0.77001 | 0.112917 | 0 | 0.590909 | 0 | 0 | 0.254265 | 0.161745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.106061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
572cf174954c4641f6632c65faef38060f43c86e | 654,719 | bzl | Python | repositories.bzl | m3rcuriel/bazel-latex | 16bb9b9b50587f076ca1a054b44f0791480454ba | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | repositories.bzl | m3rcuriel/bazel-latex | 16bb9b9b50587f076ca1a054b44f0791480454ba | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | repositories.bzl | m3rcuriel/bazel-latex | 16bb9b9b50587f076ca1a054b44f0791480454ba | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
_TEXLIVE_VERSION = "20180414"
_TEXLIVE_MODULAR_PACKAGES_BIN = [
("bin/aarch64-linux", "93df0f0fa30d314d9f4452d8013c525792fbeec948d519e2aa975cac2e59b202"),
("bin/amd64-freebsd", "a3e2a8457db517895971b31c05be810867cfb654b628179ba51de35d1bf20fd... | 119.278375 | 182 | 0.803908 | 41,050 | 654,719 | 12.819781 | 0.215006 | 0.102669 | 0.143737 | 0.098688 | 0.249538 | 0.133028 | 0.02152 | 0.008435 | 0.001345 | 0.000726 | 0 | 0.353578 | 0.05876 | 654,719 | 5,488 | 183 | 119.300109 | 0.500383 | 0 | 0 | 0.003102 | 0 | 0.000912 | 0.849314 | 0.847942 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000182 | false | 0.000547 | 0.000182 | 0 | 0.000365 | 0.001095 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57323f87222e2b4beabfa3389a68c8a37896886e | 26 | py | Python | psp_cz/__init__.py | saxicek/psp-cz-spider | 270cdd2059feffed2e61e15d60d70e93002e00d6 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-04-21T02:17:37.000Z | 2017-04-21T02:17:37.000Z | psp_cz/__init__.py | saxicek/psp-cz-spider | 270cdd2059feffed2e61e15d60d70e93002e00d6 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-07-07T04:15:18.000Z | 2021-07-07T04:15:18.000Z | psp_cz/__init__.py | saxicek/psp-cz-spider | 270cdd2059feffed2e61e15d60d70e93002e00d6 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from .database import Base | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57344bf6a671fe701a3367140d85b9f76ef482b3 | 140 | py | Python | lab4/lab/zad2.py | BartlomiejRasztabiga/PIPR | 2d0efd57b3b84855b5a2de335493100d2682d292 | [
"MIT"
] | null | null | null | lab4/lab/zad2.py | BartlomiejRasztabiga/PIPR | 2d0efd57b3b84855b5a2de335493100d2682d292 | [
"MIT"
] | null | null | null | lab4/lab/zad2.py | BartlomiejRasztabiga/PIPR | 2d0efd57b3b84855b5a2de335493100d2682d292 | [
"MIT"
] | null | null | null | def get_polynomial_value(a, b, c, x):
return a*x**2 + b*x + c
print(list(map(lambda x: get_polynomial_value(1, 0, 0, x), [0, 1, 2])))
| 23.333333 | 71 | 0.607143 | 30 | 140 | 2.7 | 0.533333 | 0.320988 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 0.185714 | 140 | 5 | 72 | 28 | 0.649123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
93a72d6d28d44fe5d0c703779d115547aa7f825c | 225 | py | Python | src/domain/usecase/channel/Persister.py | lorenzomartino86/anomaly-detector | 46f4f059ac9f36820fb6d5b5cf823a992013ffda | [
"Apache-2.0"
] | 1 | 2020-07-06T14:09:33.000Z | 2020-07-06T14:09:33.000Z | src/domain/usecase/channel/Persister.py | lorenzomartino86/anomaly-detector | 46f4f059ac9f36820fb6d5b5cf823a992013ffda | [
"Apache-2.0"
] | null | null | null | src/domain/usecase/channel/Persister.py | lorenzomartino86/anomaly-detector | 46f4f059ac9f36820fb6d5b5cf823a992013ffda | [
"Apache-2.0"
] | null | null | null | from abc import abstractmethod
class Persister:
@abstractmethod
def save(self, filename, object): pass
@abstractmethod
def get(self, filename): pass
@abstractmethod
def remove(self, filename): pass | 18.75 | 42 | 0.706667 | 25 | 225 | 6.36 | 0.56 | 0.320755 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217778 | 225 | 12 | 43 | 18.75 | 0.903409 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
93e456f04cc689ff08bbe6b3363b3e90dedb8b85 | 188 | py | Python | core/python/kungfu/finance/tax.py | LuJun1012/kungfu | 1ec448efffee99cc5d0c54118380ae792c0367be | [
"Apache-2.0"
] | 1 | 2019-07-12T15:35:21.000Z | 2019-07-12T15:35:21.000Z | core/python/kungfu/finance/tax.py | LuJun1012/kungfu | 1ec448efffee99cc5d0c54118380ae792c0367be | [
"Apache-2.0"
] | null | null | null | core/python/kungfu/finance/tax.py | LuJun1012/kungfu | 1ec448efffee99cc5d0c54118380ae792c0367be | [
"Apache-2.0"
] | null | null | null |
class TaxCalculator:
def __init__(self):
pass
class StockTaxCalculator(TaxCalculator):
def __init__(self):
pass
def calculate_tax(self, trade):
pass
| 15.666667 | 40 | 0.643617 | 19 | 188 | 5.894737 | 0.526316 | 0.285714 | 0.357143 | 0.428571 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281915 | 188 | 11 | 41 | 17.090909 | 0.82963 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
93e973e12c126330b0a14a895d48b1ca75004b92 | 100 | py | Python | bioimageio/spec/model/converters.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | bioimageio/spec/model/converters.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | bioimageio/spec/model/converters.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | # Auto-generated by generate_passthrough_modules.py - do not modify
from .v0_3.converters import *
| 25 | 67 | 0.8 | 15 | 100 | 5.133333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.13 | 100 | 3 | 68 | 33.333333 | 0.862069 | 0.65 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93ea0522093983dd25f14eaf2a71623a91db64c9 | 49 | py | Python | parse_ecli/__init__.py | kiersch/parse_ecli | ae2bfe0003e625a33845abc262480f81166aea92 | [
"MIT"
] | 2 | 2020-05-05T13:08:15.000Z | 2020-05-05T14:12:16.000Z | parse_ecli/__init__.py | kiersch/parse_ecli | ae2bfe0003e625a33845abc262480f81166aea92 | [
"MIT"
] | 1 | 2020-05-13T10:09:48.000Z | 2020-05-13T10:09:48.000Z | parse_ecli/__init__.py | kiersch/parse_ecli | ae2bfe0003e625a33845abc262480f81166aea92 | [
"MIT"
] | null | null | null | from .parse_ecli import *
from .pattern import *
| 16.333333 | 25 | 0.755102 | 7 | 49 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5792a490316ced2c6d7bc264d78c45ffb00012a | 85 | py | Python | stweet/search_runner/parse/__init__.py | iJohnMaged/stweet | 00f4a12b1da1be514266b74a7ca70a669f0c8ae4 | [
"MIT"
] | 1 | 2021-04-15T17:45:39.000Z | 2021-04-15T17:45:39.000Z | stweet/search_runner/parse/__init__.py | chillerno1/stweet | ff7224a7b69b711b17247db40f859e620747e20b | [
"MIT"
] | null | null | null | stweet/search_runner/parse/__init__.py | chillerno1/stweet | ff7224a7b69b711b17247db40f859e620747e20b | [
"MIT"
] | 1 | 2022-01-05T11:20:31.000Z | 2022-01-05T11:20:31.000Z | from .base_tweet_parser import BaseTweetParser
from .tweet_parser import TweetParser
| 28.333333 | 46 | 0.882353 | 11 | 85 | 6.545455 | 0.636364 | 0.305556 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 47 | 42.5 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1910416a1cb922e00a4cfa0be0a0faacf9d97cd7 | 42 | py | Python | tests/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | 2 | 2020-03-04T02:27:29.000Z | 2020-05-22T04:07:24.000Z | tests/test_utils/__init__.py | tswsxk/CangJie | 50c5183eae1d4f10c4cf364262437afcf54427fa | [
"MIT"
] | null | null | null | tests/test_utils/__init__.py | tswsxk/CangJie | 50c5183eae1d4f10c4cf364262437afcf54427fa | [
"MIT"
] | 1 | 2020-01-07T08:34:59.000Z | 2020-01-07T08:34:59.000Z | # coding: utf-8
# 2019/12/19 @ tongshiwei
| 14 | 25 | 0.666667 | 7 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0.166667 | 42 | 2 | 26 | 21 | 0.542857 | 0.880952 | 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 | 1 | 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 | 6 |
19162c49b0378378d237b7ea1fb90d8ee3c171de | 2,695 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpIgmpSnooping/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowIpIgmpSnooping/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowIpIgmpSnooping/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'global_configuration': {
'enabled': 'enabled',
'v1v2_report_suppression': 'enabled',
'v3_report_suppression': 'disabled',
'link_local_groups_suppression': 'enabled',
'vpc_multicast_optimization': 'disabled',
},
'vlans': {
'1': { # confi... | 37.430556 | 55 | 0.527273 | 234 | 2,695 | 5.623932 | 0.264957 | 0.103343 | 0.051672 | 0.085106 | 0.87614 | 0.87614 | 0.87614 | 0.87614 | 0.87614 | 0.87614 | 0 | 0.028986 | 0.334323 | 2,695 | 71 | 56 | 37.957746 | 0.704571 | 0.024119 | 0 | 0.681159 | 0 | 0 | 0.509527 | 0.220274 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1986f5d48311449940f88f9bfbdfc74e4bb011dc | 86 | py | Python | minblog2/settings.py | waisuan/minblog_af | 513d387f0df49435b417dcf7462ce6538f46ed19 | [
"MIT"
] | null | null | null | minblog2/settings.py | waisuan/minblog_af | 513d387f0df49435b417dcf7462ce6538f46ed19 | [
"MIT"
] | null | null | null | minblog2/settings.py | waisuan/minblog_af | 513d387f0df49435b417dcf7462ce6538f46ed19 | [
"MIT"
] | null | null | null | import os
DEBUG = True
SECRET_KEY = os.urandom(32)
# app.secret_key = os.urandom(32)
| 14.333333 | 33 | 0.72093 | 15 | 86 | 4 | 0.6 | 0.3 | 0.366667 | 0.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.151163 | 86 | 5 | 34 | 17.2 | 0.767123 | 0.360465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
19a174623514799a879f6016dda6683308fdf89a | 15,758 | py | Python | training/hd_networks.py | zhuxinqimac/stylegan2 | 5c3bda161ead21ea290de4190d3704e59cf6de64 | [
"BSD-Source-Code"
] | 5 | 2020-01-23T10:04:27.000Z | 2021-07-04T09:51:28.000Z | training/hd_networks.py | zhuxinqimac/stylegan2 | 5c3bda161ead21ea290de4190d3704e59cf6de64 | [
"BSD-Source-Code"
] | null | null | null | training/hd_networks.py | zhuxinqimac/stylegan2 | 5c3bda161ead21ea290de4190d3704e59cf6de64 | [
"BSD-Source-Code"
] | null | null | null | #!/usr/bin/python
#-*- coding: utf-8 -*-
# >.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.
# Licensed under the Apache License, Version 2.0 (the "License")
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# --- File Name: hd_networks.py
# --- Creation Date: 07-04-2020
# --- Last Modified: Wed 2... | 43.410468 | 134 | 0.598426 | 2,057 | 15,758 | 4.390374 | 0.139037 | 0.031004 | 0.041856 | 0.056804 | 0.806998 | 0.778319 | 0.738567 | 0.715092 | 0.696379 | 0.682649 | 0 | 0.022948 | 0.261645 | 15,758 | 362 | 135 | 43.530387 | 0.753245 | 0.335131 | 0 | 0.729508 | 0 | 0 | 0.040801 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 1 | 0.061475 | false | 0 | 0.02459 | 0.008197 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19a17e1664e6f32e988ee0dab1f247a1a57acc52 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/console/logging/formatters/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/console/logging/formatters/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/console/logging/formatters/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f5/c4/1f/7f9085694660e50252899bc42c821cf26c0b19a34c15a74ef6e58cefc3 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19a8c887b4689412673d345c1e7e648d7a817165 | 25 | py | Python | core/models/__init__.py | FMsunyh/keras-yolo2 | 3439e2cffecbb47349fca8adb727c1c298d9c2d9 | [
"Apache-2.0"
] | 2 | 2018-12-13T10:17:51.000Z | 2018-12-13T10:17:56.000Z | core/models/__init__.py | FMsunyh/keras-yolo2 | 3439e2cffecbb47349fca8adb727c1c298d9c2d9 | [
"Apache-2.0"
] | null | null | null | core/models/__init__.py | FMsunyh/keras-yolo2 | 3439e2cffecbb47349fca8adb727c1c298d9c2d9 | [
"Apache-2.0"
] | null | null | null | from .yolo2 import Yolo2
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19b17c4cd5e1f865a91ecf63e8941b2d23573856 | 85 | py | Python | ArtGAN/nn/activations.py | rh01/caffe-model-for-category-artgan | 911b8fb44c62e8a2c71396099194d8925ed7c826 | [
"BSD-3-Clause"
] | 304 | 2018-07-17T00:18:54.000Z | 2022-03-31T22:26:42.000Z | ArtGAN/nn/activations.py | cs-chan/Artwork-Synthesis-Classification | ad9cd090c669ca636f6c048d97608092d52dd3e0 | [
"BSD-3-Clause"
] | 9 | 2018-10-16T14:42:51.000Z | 2022-01-13T11:22:02.000Z | ArtGAN/nn/activations.py | cs-chan/Artwork-Synthesis-Classification | ad9cd090c669ca636f6c048d97608092d52dd3e0 | [
"BSD-3-Clause"
] | 57 | 2018-07-19T02:38:29.000Z | 2022-03-17T11:12:17.000Z | import tensorflow as tf
def lrelu(x, alpha=0.1):
return tf.maximum(alpha*x, x)
| 14.166667 | 33 | 0.682353 | 16 | 85 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.188235 | 85 | 5 | 34 | 17 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5feedc0e9b4d6bd1bb1d549e8c9ced9f0ba5d47f | 32 | py | Python | tests/__init__.py | mykolaf/sonic-snmpagent | c8e5757b7f5495607bbf13d936f106991c13ddf5 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | mykolaf/sonic-snmpagent | c8e5757b7f5495607bbf13d936f106991c13ddf5 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | mykolaf/sonic-snmpagent | c8e5757b7f5495607bbf13d936f106991c13ddf5 | [
"Apache-2.0"
] | null | null | null | import tests.mock_tables.socket
| 16 | 31 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 32 | 1 | 32 | 32 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
275dd0b83c41c8f685b8d9ddc959784a2ba53fd1 | 2,670 | py | Python | agilicus/v1/apigenerator/alerting_rules.py | rosscdh/kustomize-plugins | 5f304b5c43a5f846dab49b938e7c304f83e9e945 | [
"Apache-2.0"
] | null | null | null | agilicus/v1/apigenerator/alerting_rules.py | rosscdh/kustomize-plugins | 5f304b5c43a5f846dab49b938e7c304f83e9e945 | [
"Apache-2.0"
] | null | null | null | agilicus/v1/apigenerator/alerting_rules.py | rosscdh/kustomize-plugins | 5f304b5c43a5f846dab49b938e7c304f83e9e945 | [
"Apache-2.0"
] | null | null | null | alerting_rules = """
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
labels:
alertmanager: main
prometheus: main
role: alert-rules
name: {cfg[name_version]}-{cfg[name]}-api-rules
spec:
groups:
- name: alerts
rules:
- alert: {cfg[name_version]}-{cfg[name]} 5xx ... | 52.352941 | 270 | 0.621723 | 334 | 2,670 | 4.802395 | 0.224551 | 0.183292 | 0.183292 | 0.222569 | 0.796758 | 0.770574 | 0.72818 | 0.640898 | 0.597257 | 0.551122 | 0 | 0.029384 | 0.209738 | 2,670 | 50 | 271 | 53.4 | 0.730806 | 0 | 0 | 0.38 | 0 | 0.14 | 0.991011 | 0.49176 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
277ab75c1c48699e614bec30cdf0195fa4aff4fe | 15,089 | py | Python | scripts/pgf_converter.py | jaimebw/tfm | 28e84fd3c4ca265a58ef3467e867395de6db394c | [
"MIT"
] | null | null | null | scripts/pgf_converter.py | jaimebw/tfm | 28e84fd3c4ca265a58ef3467e867395de6db394c | [
"MIT"
] | null | null | null | scripts/pgf_converter.py | jaimebw/tfm | 28e84fd3c4ca265a58ef3467e867395de6db394c | [
"MIT"
] | null | null | null | # This scrips is for obtaining all the data set representation into .pgf images
# Reference: https://timodenk.com/blog/exporting-matplotlib-plots-to-latex/
# You might need to add \usepackage{pgfplots} to your main.tex file
# To add the images you just need to:
# \begin{figure}
# \begin{center}
# \input{you... | 38.789203 | 88 | 0.607595 | 2,285 | 15,089 | 3.83151 | 0.098031 | 0.109652 | 0.074015 | 0.045231 | 0.83301 | 0.819874 | 0.809023 | 0.801371 | 0.780583 | 0.766876 | 0 | 0.04163 | 0.24382 | 15,089 | 388 | 89 | 38.889175 | 0.725679 | 0.057658 | 0 | 0.689759 | 0 | 0 | 0.193096 | 0.05819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048193 | false | 0 | 0.021084 | 0.009036 | 0.081325 | 0.009036 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27d4bf62c6bdb148d824aa4015902b8caab7000f | 31 | py | Python | transforms/__init__.py | lonestar686/pytorch-saltnet | aa75581567ccd5643b854cfb4d54c8881ed2a0d6 | [
"MIT"
] | 289 | 2018-10-20T01:05:41.000Z | 2022-02-18T10:48:08.000Z | transforms/__init__.py | lonestar686/pytorch-saltnet | aa75581567ccd5643b854cfb4d54c8881ed2a0d6 | [
"MIT"
] | 6 | 2018-11-05T06:04:31.000Z | 2022-03-06T04:46:52.000Z | transforms/__init__.py | lonestar686/pytorch-saltnet | aa75581567ccd5643b854cfb4d54c8881ed2a0d6 | [
"MIT"
] | 57 | 2018-10-20T01:05:29.000Z | 2021-12-13T09:56:48.000Z | from .unet_transforms import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27e49bcda645404e6ce9946ad742591623f49be3 | 65 | py | Python | routes/draft.py | mayankagg9722/Movie-Recommendation | e7d45e0706ae568a0aa76eab190fd53bd3b424fe | [
"CNRI-Python"
] | 1 | 2018-01-26T11:27:14.000Z | 2018-01-26T11:27:14.000Z | routes/draft.py | mayankagg9722/Movie-Recommendation | e7d45e0706ae568a0aa76eab190fd53bd3b424fe | [
"CNRI-Python"
] | null | null | null | routes/draft.py | mayankagg9722/Movie-Recommendation | e7d45e0706ae568a0aa76eab190fd53bd3b424fe | [
"CNRI-Python"
] | null | null | null | import sys
sys.argv[1] =sys.argv[1]+"hdjwef";
print(sys.argv[1]) | 16.25 | 34 | 0.676923 | 13 | 65 | 3.384615 | 0.461538 | 0.477273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.076923 | 65 | 4 | 35 | 16.25 | 0.683333 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fda07cb0b69fc2d301fa1d2ae2e97528d2bd677a | 34 | py | Python | tests/desugar/funcall/input/test01.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/desugar/funcall/input/test01.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/desugar/funcall/input/test01.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | def fun(d=1):
return 1
fun()
| 6.8 | 13 | 0.529412 | 7 | 34 | 2.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.294118 | 34 | 4 | 14 | 8.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fda971a7262adf59e2a26c37e3a41eef64ef568b | 860 | py | Python | simulacion.py | DavidAndresHerrera/CNYT-2020-3 | fa00fbc7a1895074ed53d68df8aaff39ba3fe767 | [
"Unlicense"
] | null | null | null | simulacion.py | DavidAndresHerrera/CNYT-2020-3 | fa00fbc7a1895074ed53d68df8aaff39ba3fe767 | [
"Unlicense"
] | null | null | null | simulacion.py | DavidAndresHerrera/CNYT-2020-3 | fa00fbc7a1895074ed53d68df8aaff39ba3fe767 | [
"Unlicense"
] | null | null | null | import calculadoraComplejos as calculadora
l = [[(0,0),(0,0),(0,0),(0,0),(0,0),(0,0),(0,0),(0,0)],
[(1/(2**0.5),0),(0,0),(0,0),(0,0),(0,0),(0,0),(0,0),(0,0)],
[(1/(2**0.5),0),(0,0),(0,0),(0,0),(0,0),(0,0),(0,0),(0,0)],
[(0,0),((-1/(6**0.5)),(1/(6**0.5))),(0,0),(1,0),(0,0),(0,0),(0,0),(0,0)],
[... | 30.714286 | 98 | 0.37093 | 215 | 860 | 1.47907 | 0.106977 | 0.666667 | 0.867925 | 0.993711 | 0.572327 | 0.572327 | 0.572327 | 0.572327 | 0.572327 | 0.572327 | 0 | 0.240789 | 0.116279 | 860 | 27 | 99 | 31.851852 | 0.177632 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 0.055556 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fdb49b2df09f4f11520273b9b9c4e6b1d7f8944e | 47 | py | Python | arbitrium/__init__.py | Bentechy66/arbitrium | a0a9fc465c0f62c69b0c06666f34480015cf437d | [
"MIT"
] | 1 | 2018-10-22T07:14:01.000Z | 2018-10-22T07:14:01.000Z | arbitrium/__init__.py | Bentechy66/arbitrium | a0a9fc465c0f62c69b0c06666f34480015cf437d | [
"MIT"
] | 3 | 2018-10-20T18:09:50.000Z | 2018-10-31T10:46:43.000Z | arbitrium/__init__.py | Bentechy66/arbitrium | a0a9fc465c0f62c69b0c06666f34480015cf437d | [
"MIT"
] | 1 | 2018-10-21T19:12:54.000Z | 2018-10-21T19:12:54.000Z | from arbitrium.menu import menu, requires_auth
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fdd5c51faffb2a021a13722338f0b320f2562dd3 | 39 | py | Python | deeppavlov/utils/ms_bot_framework/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 5,893 | 2018-02-01T18:13:20.000Z | 2022-03-31T19:22:21.000Z | deeppavlov/utils/ms_bot_framework/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 749 | 2018-01-31T11:36:02.000Z | 2022-03-30T07:24:22.000Z | deeppavlov/utils/ms_bot_framework/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 1,155 | 2018-02-01T10:52:15.000Z | 2022-03-29T02:12:15.000Z | from .server import start_ms_bf_server
| 19.5 | 38 | 0.871795 | 7 | 39 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fded56977ed64fdc525ba6913cad7d5f2ba35d99 | 13,934 | py | Python | oasishurricane/simulator.py | mtazzari/OasisHurricane | e8f437bc894daf697dcf8981c81ee25bfb5900f9 | [
"BSD-3-Clause"
] | 1 | 2021-11-05T12:20:47.000Z | 2021-11-05T12:20:47.000Z | oasishurricane/simulator.py | mtazzari/OasisHurricane | e8f437bc894daf697dcf8981c81ee25bfb5900f9 | [
"BSD-3-Clause"
] | null | null | null | oasishurricane/simulator.py | mtazzari/OasisHurricane | e8f437bc894daf697dcf8981c81ee25bfb5900f9 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
import os
import logging
import time
import datetime
import numpy as np
from numba import jit, njit, prange
logging.getLogger('numba').setLevel(logging.WARNING)
logger = logging.getLogger("model")
from .utils import timer
def get_rng(seed=None):
"""
Get a new random nu... | 41.347181 | 111 | 0.70511 | 1,925 | 13,934 | 4.878442 | 0.093506 | 0.046853 | 0.079651 | 0.076669 | 0.818443 | 0.80854 | 0.797785 | 0.797785 | 0.797785 | 0.7931 | 0 | 0.005749 | 0.213507 | 13,934 | 336 | 112 | 41.470238 | 0.851173 | 0.437563 | 0 | 0.525641 | 0 | 0.00641 | 0.082825 | 0.013962 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064103 | false | 0 | 0.044872 | 0 | 0.173077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3175a1f647fdb5372d391615ba6963948678027 | 26 | py | Python | docker_contexts/stac-api-docker/stac_api/stac/__init__.py | therealspring/global-modeling-engine | 70e4240cf1734c04867aef5ef25d5db4a21616ab | [
"Apache-2.0"
] | 2 | 2020-08-08T02:24:48.000Z | 2021-03-31T19:12:08.000Z | library-platform/docker_contexts/stac-api-docker/stac_api/stac/__init__.py | therealspring/ecoshard-library | 15d811017b1f6ad109ea47b2b3fe7f31bd1bc9e0 | [
"Apache-2.0"
] | null | null | null | library-platform/docker_contexts/stac-api-docker/stac_api/stac/__init__.py | therealspring/ecoshard-library | 15d811017b1f6ad109ea47b2b3fe7f31bd1bc9e0 | [
"Apache-2.0"
] | null | null | null | from .stac import stac_bp
| 13 | 25 | 0.807692 | 5 | 26 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3435ebb74c7c2e89a3ca3a02bf6f4b011de9178 | 40 | py | Python | src/einsteinpy/integrators/__init__.py | bibek22/einsteinpy | 78bf5d942cbb12393852f8e4d7a8426f1ffe6f23 | [
"MIT"
] | 2 | 2019-04-07T04:01:57.000Z | 2019-07-11T11:59:55.000Z | src/einsteinpy/integrators/__init__.py | bibek22/einsteinpy | 78bf5d942cbb12393852f8e4d7a8426f1ffe6f23 | [
"MIT"
] | 2 | 2019-04-08T17:39:50.000Z | 2019-04-11T03:10:09.000Z | src/einsteinpy/integrators/__init__.py | bibek22/einsteinpy | 78bf5d942cbb12393852f8e4d7a8426f1ffe6f23 | [
"MIT"
] | 1 | 2022-03-19T18:46:13.000Z | 2022-03-19T18:46:13.000Z | from .runge_kutta import RK45, RK4naive
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.125 | 40 | 1 | 40 | 40 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e34dbc48f7df2780b19f182d3134a9c587f60409 | 222 | py | Python | src/VarDACAE/ML_utils/__init__.py | scheng1992/Data_Assimilation | b4d43895229205ee2cd16b15ee20beccb33b71d6 | [
"MIT"
] | 1 | 2021-11-25T12:46:48.000Z | 2021-11-25T12:46:48.000Z | src/VarDACAE/ML_utils/__init__.py | bugsuse/Data_Assimilation | 2965ccf78951df11f8686282cd6814bae18afde5 | [
"MIT"
] | null | null | null | src/VarDACAE/ML_utils/__init__.py | bugsuse/Data_Assimilation | 2965ccf78951df11f8686282cd6814bae18afde5 | [
"MIT"
] | 2 | 2021-03-02T13:29:34.000Z | 2022-03-12T11:01:08.000Z | from VarDACAE.ML_utils.helpers import set_seeds, load_AE, get_device
from VarDACAE.ML_utils.helpers import load_model_from_settings, load_model_and_settings_from_dir
from VarDACAE.ML_utils.convolution import ConvScheduler
| 55.5 | 96 | 0.891892 | 35 | 222 | 5.257143 | 0.514286 | 0.195652 | 0.228261 | 0.309783 | 0.347826 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 222 | 3 | 97 | 74 | 0.888889 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e361ee0d1ee62797557047ca5964dc8ef6a323ea | 38,026 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/6.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/6.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/6.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4193
passenger_arriving = (
(3, 6, 8, 5, 1, 0, 7, 11, 3, 2, 2, 0), # 0
(3, 12, 6, 2, 0, 0, 13, 7, 6, 9, 0, 0), # 1
(5, 8, 6, 5, 3, 0, 8, 10, 4, 3, 1, 0), # 2
(9, 14, 12, 4, 3, 0, 6, 9, 5, 6, 2, 0), # 3
(7, 13, 4, 6, 4, 0, 9, 11, 5, 3, 2, 0), # 4
(7, 6, 9, 5, 1, 0, 6, 11,... | 113.510448 | 213 | 0.730079 | 5,147 | 38,026 | 5.391684 | 0.237614 | 0.31134 | 0.246478 | 0.46701 | 0.327916 | 0.326259 | 0.326259 | 0.326259 | 0.326259 | 0.326259 | 0 | 0.819766 | 0.118708 | 38,026 | 334 | 214 | 113.850299 | 0.008325 | 0.031847 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b76cb94c00e33a4c6f1fd2f14226cda4f2c4050 | 1,885 | py | Python | skytour/skytour/apps/solar_system/migrations/0015_alter_asteroidobservation_seeing_and_more.py | ursomniac/skytour | 3320d96d7ca41b8f52ede87e7112477902a37a0e | [
"MIT"
] | null | null | null | skytour/skytour/apps/solar_system/migrations/0015_alter_asteroidobservation_seeing_and_more.py | ursomniac/skytour | 3320d96d7ca41b8f52ede87e7112477902a37a0e | [
"MIT"
] | 1 | 2022-03-17T01:19:23.000Z | 2022-03-17T01:19:23.000Z | skytour/skytour/apps/solar_system/migrations/0015_alter_asteroidobservation_seeing_and_more.py | ursomniac/skytour | 3320d96d7ca41b8f52ede87e7112477902a37a0e | [
"MIT"
] | null | null | null | # Generated by Django 4.0.1 on 2022-02-03 18:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('solar_system', '0014_asteroidobservation_eyepieces_and_more'),
]
operations = [
migrations.AlterField(
model_name='asteroidobser... | 65 | 428 | 0.669496 | 220 | 1,885 | 5.686364 | 0.318182 | 0.153477 | 0.059952 | 0.069544 | 0.796962 | 0.796962 | 0.796962 | 0.796962 | 0.796962 | 0.796962 | 0 | 0.03258 | 0.202122 | 1,885 | 28 | 429 | 67.321429 | 0.799202 | 0.023873 | 0 | 0.545455 | 1 | 0 | 0.536453 | 0.023395 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b79bfef782175638c1f82700f8ad91496fcd0c3 | 89 | py | Python | amadeus/query/qperson.py | basic60/BOP2017_QualificationRound | 77a6b026ef066f9734c3b0d23c97eb6feb03d010 | [
"MIT"
] | null | null | null | amadeus/query/qperson.py | basic60/BOP2017_QualificationRound | 77a6b026ef066f9734c3b0d23c97eb6feb03d010 | [
"MIT"
] | null | null | null | amadeus/query/qperson.py | basic60/BOP2017_QualificationRound | 77a6b026ef066f9734c3b0d23c97eb6feb03d010 | [
"MIT"
] | null | null | null | _query_person=['谁','人']
# 判断是否是在查询人
def isqperson(word):
return word in _query_person | 22.25 | 32 | 0.730337 | 13 | 89 | 4.692308 | 0.769231 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 4 | 32 | 22.25 | 0.792208 | 0.101124 | 0 | 0 | 0 | 0 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 6 |
8b9bba5a5085289e67d914ae72767bc1eb3cfefd | 132 | py | Python | krrt/sat/__init__.py | QuMuLab/krtoolkit | a09525cb4835dc06eedf79f7465ee5da527cbb0d | [
"MIT"
] | 3 | 2020-07-25T12:38:49.000Z | 2021-11-16T02:16:37.000Z | krrt/sat/__init__.py | QuMuLab/krtoolkit | a09525cb4835dc06eedf79f7465ee5da527cbb0d | [
"MIT"
] | 8 | 2020-04-04T18:05:17.000Z | 2020-04-04T18:09:19.000Z | krrt/sat/__init__.py | QuMuLab/krtoolkit | a09525cb4835dc06eedf79f7465ee5da527cbb0d | [
"MIT"
] | 2 | 2020-07-26T10:53:48.000Z | 2020-08-14T19:11:48.000Z | # The following are the current sat modules available
from . import CNF
from . import Dimacs
from . import DPLL
from . import dDNNF
| 22 | 53 | 0.772727 | 20 | 132 | 5.1 | 0.65 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 132 | 5 | 54 | 26.4 | 0.953271 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ba570bf956a20f7f3db2937ce8929b7b111b52e | 16,429 | py | Python | Domain.py | saiprasad1996/KandyAPIPython | 414fa3f74bce5f23d848f8359c1692b856722727 | [
"MIT"
] | null | null | null | Domain.py | saiprasad1996/KandyAPIPython | 414fa3f74bce5f23d848f8359c1692b856722727 | [
"MIT"
] | null | null | null | Domain.py | saiprasad1996/KandyAPIPython | 414fa3f74bce5f23d848f8359c1692b856722727 | [
"MIT"
] | null | null | null | import requests
import Constants
class Domain:
api_key = None
domain_api_secret = None
domain_access_token = None
def __init__(self, api_key, api_secret):
"""
:param api_key: API key from the kandy accounts section for a project
:param api_secret: API secret from the... | 42.672727 | 199 | 0.585489 | 1,887 | 16,429 | 4.872814 | 0.063593 | 0.069603 | 0.044372 | 0.039152 | 0.880152 | 0.844807 | 0.821425 | 0.797716 | 0.783687 | 0.776726 | 0 | 0.000553 | 0.340069 | 16,429 | 384 | 200 | 42.783854 | 0.847537 | 0.296731 | 0 | 0.630208 | 0 | 0 | 0.105237 | 0.028577 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109375 | false | 0.03125 | 0.010417 | 0 | 0.348958 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8bbbd9942ed4e4f3800c411b039ce295e78c8e9c | 49 | py | Python | hpargparse/__init__.py | megvii-research/hpargparse | eedd3d0002d4db0c9dfa16ce9ee6a9a2783f5ccd | [
"MIT"
] | 15 | 2020-05-25T07:48:04.000Z | 2021-12-18T12:07:25.000Z | hpargparse/__init__.py | megvii-research/hpargparse | eedd3d0002d4db0c9dfa16ce9ee6a9a2783f5ccd | [
"MIT"
] | 9 | 2020-05-30T15:19:27.000Z | 2021-01-21T04:37:50.000Z | hpargparse/__init__.py | megvii-research/hpargparse | eedd3d0002d4db0c9dfa16ce9ee6a9a2783f5ccd | [
"MIT"
] | 3 | 2020-05-25T11:42:26.000Z | 2020-08-14T05:58:37.000Z | from .hputils import bind
from .pkginfo import *
| 16.333333 | 25 | 0.77551 | 7 | 49 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8bd604a6ee8e8b59ae66a05201dc66251be1ea32 | 7,251 | py | Python | tests/unit/lib/observability/xray_traces/test_xray_service_grpah_event_puller.py | zhuhaow/aws-sam-cli | 59d82ec6848b5a0cdd544d8ada838d4d34052971 | [
"Apache-2.0"
] | 2,959 | 2018-05-08T21:48:56.000Z | 2020-08-24T14:35:39.000Z | tests/unit/lib/observability/xray_traces/test_xray_service_grpah_event_puller.py | zhuhaow/aws-sam-cli | 59d82ec6848b5a0cdd544d8ada838d4d34052971 | [
"Apache-2.0"
] | 1,469 | 2018-05-08T22:44:28.000Z | 2020-08-24T20:19:24.000Z | tests/unit/lib/observability/xray_traces/test_xray_service_grpah_event_puller.py | zhuhaow/aws-sam-cli | 59d82ec6848b5a0cdd544d8ada838d4d34052971 | [
"Apache-2.0"
] | 642 | 2018-05-08T22:09:19.000Z | 2020-08-17T09:04:37.000Z | import time
import uuid
from itertools import zip_longest
from unittest import TestCase
from unittest.mock import patch, mock_open, call, Mock, ANY
from botocore.exceptions import ClientError
from parameterized import parameterized
from samcli.lib.observability.xray_traces.xray_event_puller import XRayTracePuller
fro... | 49.326531 | 117 | 0.728727 | 927 | 7,251 | 5.255663 | 0.11219 | 0.069992 | 0.101806 | 0.069787 | 0.832307 | 0.815476 | 0.79844 | 0.784278 | 0.763752 | 0.758415 | 0 | 0.003714 | 0.183147 | 7,251 | 146 | 118 | 49.664384 | 0.818842 | 0.009516 | 0 | 0.522124 | 0 | 0 | 0.180944 | 0.143892 | 0 | 0 | 0 | 0 | 0.19469 | 1 | 0.061947 | false | 0 | 0.079646 | 0 | 0.150442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8bed7c524f86e3fb59133e56f951fa02a6a970b0 | 31,811 | py | Python | ultra_rest_client/ultra_rest_client.py | benohara/python_rest_api_client | e4095f28f5cb5e258b768c06ef7cf8b1915aa5ec | [
"Apache-2.0"
] | 19 | 2015-05-04T20:46:12.000Z | 2021-03-02T15:50:17.000Z | ultra_rest_client/ultra_rest_client.py | dvopsway/python_rest_api_client | e4095f28f5cb5e258b768c06ef7cf8b1915aa5ec | [
"Apache-2.0"
] | 4 | 2015-05-08T20:59:09.000Z | 2020-04-01T19:55:29.000Z | ultra_rest_client/ultra_rest_client.py | dvopsway/python_rest_api_client | e4095f28f5cb5e258b768c06ef7cf8b1915aa5ec | [
"Apache-2.0"
] | 18 | 2015-04-17T17:59:35.000Z | 2022-01-03T15:24:40.000Z | # Copyright 2000 - 2013 NeuStar, Inc.All rights reserved.
# NeuStar, the Neustar logo and related names and logos are registered
# trademarks, service marks or tradenames of NeuStar, Inc. All other
# product names, company names, marks, logos and symbols may be trademarks
# of their respective owners.
__author__ = 'Jon... | 44.553221 | 129 | 0.588664 | 4,058 | 31,811 | 4.493593 | 0.089946 | 0.032465 | 0.02051 | 0.039155 | 0.786564 | 0.771758 | 0.756183 | 0.726625 | 0.708802 | 0.688456 | 0 | 0.007542 | 0.32473 | 31,811 | 713 | 130 | 44.615708 | 0.841348 | 0.569646 | 0 | 0.418605 | 0 | 0 | 0.118848 | 0.00214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0.011628 | 0.02907 | 0.017442 | 0.447674 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4740bcaa6241ab4fc6d7ea877c89a1b85119f6ff | 26 | py | Python | src/schema/__init__.py | GG31/openfood-graphql-api | 7b6f74706502f79126c47beb3d47cd07146c8679 | [
"MIT"
] | null | null | null | src/schema/__init__.py | GG31/openfood-graphql-api | 7b6f74706502f79126c47beb3d47cd07146c8679 | [
"MIT"
] | 1 | 2018-12-25T22:45:13.000Z | 2018-12-25T22:45:13.000Z | src/schema/__init__.py | GG31/openfood-graphql-api | 7b6f74706502f79126c47beb3d47cd07146c8679 | [
"MIT"
] | null | null | null | from .schema import schema | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4770363dbf950ac29649011d8c531ff709e431aa | 239 | py | Python | tests/test_cm_to_m.py | ravi9989/code-20210420-raviteja | 6e8816da0b95df935ea36076031925d76fdcb6d7 | [
"MIT"
] | 1 | 2021-05-18T06:15:52.000Z | 2021-05-18T06:15:52.000Z | tests/test_cm_to_m.py | ravi9989/code-20210420-raviteja | 6e8816da0b95df935ea36076031925d76fdcb6d7 | [
"MIT"
] | null | null | null | tests/test_cm_to_m.py | ravi9989/code-20210420-raviteja | 6e8816da0b95df935ea36076031925d76fdcb6d7 | [
"MIT"
] | null | null | null | from bmi_processor.bmi_processor import convert_cm_to_m
import pytest
def test_165():
assert convert_cm_to_m(165) == 1.65
def test_175():
assert convert_cm_to_m(175) == 1.75
def test_0():
assert convert_cm_to_m(0) == 0 | 14.9375 | 55 | 0.715481 | 44 | 239 | 3.5 | 0.409091 | 0.233766 | 0.285714 | 0.311688 | 0.350649 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 0.1841 | 239 | 16 | 56 | 14.9375 | 0.682051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
47e293d54f1b025cf126c1cfbd6a7580d6b5b5cb | 45 | py | Python | externalmodules/mnemonic/__init__.py | DipanshuSehjal/Blockchain-Toolkit | 96c0f69bd23620420bb395a9343558b45e2cee9a | [
"MIT"
] | 2 | 2021-04-22T16:59:35.000Z | 2021-04-22T17:15:14.000Z | externalmodules/mnemonic/__init__.py | DipanshuSehjal/Blockchain-Toolkit | 96c0f69bd23620420bb395a9343558b45e2cee9a | [
"MIT"
] | 664 | 2018-12-19T12:43:44.000Z | 2019-08-23T04:24:42.000Z | externalmodules/mnemonic/__init__.py | DipanshuSehjal/Blockchain-Toolkit | 96c0f69bd23620420bb395a9343558b45e2cee9a | [
"MIT"
] | 11 | 2019-08-29T21:38:50.000Z | 2020-06-21T11:18:55.000Z | from .mnemonic import Mnemonic # noqa: F401
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.177778 | 45 | 1 | 45 | 45 | 0.837838 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47fa9978546d991325dacfc3cac5f7bf15ef473f | 87 | py | Python | tweet_utils.py | molamk/twitter-bot | c5570cf6f3edc7b7908fbeb1e7b93594207366d7 | [
"MIT"
] | null | null | null | tweet_utils.py | molamk/twitter-bot | c5570cf6f3edc7b7908fbeb1e7b93594207366d7 | [
"MIT"
] | null | null | null | tweet_utils.py | molamk/twitter-bot | c5570cf6f3edc7b7908fbeb1e7b93594207366d7 | [
"MIT"
] | null | null | null | def extract_keyword(items, keyword):
return list(map(lambda h: h[keyword], items))
| 29 | 49 | 0.724138 | 13 | 87 | 4.769231 | 0.692308 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 2 | 50 | 43.5 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9a3820fe028c07b86e062a4a179ade54cbad6155 | 104 | py | Python | db/base.py | JowellDev/jomoney | 0beb54e7b389b313fe1b8db9ee84b4473385116a | [
"MIT"
] | null | null | null | db/base.py | JowellDev/jomoney | 0beb54e7b389b313fe1b8db9ee84b4473385116a | [
"MIT"
] | null | null | null | db/base.py | JowellDev/jomoney | 0beb54e7b389b313fe1b8db9ee84b4473385116a | [
"MIT"
] | null | null | null | from db.base_class import Base
from models.users import User
from models.transactions import Transaction | 34.666667 | 43 | 0.865385 | 16 | 104 | 5.5625 | 0.625 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 3 | 43 | 34.666667 | 0.956989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d00b86663aba94f0fbc7456a4f18f8f1ff86c73f | 305 | py | Python | src/old_norse_dictionary/__init__.py | stscoundrel/old-norse-dictionary-py | cfe40660bba8edee5f2c478052fb873736c83367 | [
"MIT"
] | null | null | null | src/old_norse_dictionary/__init__.py | stscoundrel/old-norse-dictionary-py | cfe40660bba8edee5f2c478052fb873736c83367 | [
"MIT"
] | 4 | 2022-02-05T16:18:28.000Z | 2022-03-03T16:27:11.000Z | src/old_icelandic_dictionary/__init__.py | stscoundrel/old-icelandic-dictionary-py | da08e3d77a5be8c1a12035db739f5f87aa2f7a20 | [
"MIT"
] | null | null | null | from typing import Tuple
from .dictionary import DictionaryEntry, DictionaryPath, get_dictionary
def get_default() -> Tuple[DictionaryEntry, ...]:
return get_dictionary(DictionaryPath.DEFAULT)
def get_no_markup() -> Tuple[DictionaryEntry, ...]:
return get_dictionary(DictionaryPath.NO_MARKUP)
| 27.727273 | 71 | 0.780328 | 33 | 305 | 7 | 0.393939 | 0.168831 | 0.225108 | 0.251082 | 0.458874 | 0.458874 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118033 | 305 | 10 | 72 | 30.5 | 0.858736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
d0f9f0e19763ecd2e909479261e4e53e2c358a2d | 75 | py | Python | Code Bundle/Chapter01/test_fibo2.py | ghanigreen/pytest_code | dbdcc322b3469c62ad328043060518edf2b2d83f | [
"MIT"
] | 46 | 2018-06-28T04:40:08.000Z | 2022-02-14T05:36:48.000Z | Code Bundle/Chapter01/test_fibo2.py | ghanigreen/pytest_code | dbdcc322b3469c62ad328043060518edf2b2d83f | [
"MIT"
] | null | null | null | Code Bundle/Chapter01/test_fibo2.py | ghanigreen/pytest_code | dbdcc322b3469c62ad328043060518edf2b2d83f | [
"MIT"
] | 22 | 2018-06-10T23:20:29.000Z | 2022-02-24T06:47:18.000Z | from fibo import fibonacci
def test_fibo():
assert fibonacci(4) == 3
| 12.5 | 28 | 0.693333 | 11 | 75 | 4.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.213333 | 75 | 5 | 29 | 15 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef90ba7a3eb923768b19a3fe9552177c1895f7a3 | 58,044 | py | Python | pybind/slxos/v17s_1_02/interface/homerun/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/interface/homerun/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/interface/homerun/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 77.702811 | 742 | 0.735666 | 7,964 | 58,044 | 5.147916 | 0.035535 | 0.036587 | 0.047807 | 0.033172 | 0.899141 | 0.8898 | 0.88175 | 0.868067 | 0.860408 | 0.846188 | 0 | 0.00902 | 0.123269 | 58,044 | 746 | 743 | 77.806971 | 0.796616 | 0.15204 | 0 | 0.476415 | 0 | 0.04717 | 0.426731 | 0.192094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127358 | false | 0 | 0.04717 | 0 | 0.28066 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef97926a71e3dbdcce3ad6265eaad40809795b64 | 133 | py | Python | logger.py | abner-xin/email_utils | 8412af62bfef85559fc6f0f72acf69f357591c5e | [
"MIT"
] | null | null | null | logger.py | abner-xin/email_utils | 8412af62bfef85559fc6f0f72acf69f357591c5e | [
"MIT"
] | null | null | null | logger.py | abner-xin/email_utils | 8412af62bfef85559fc6f0f72acf69f357591c5e | [
"MIT"
] | null | null | null | class logger:
@classmethod
def info(cls, msg):
print msg
@classmethod
def debug(cls, msg):
print msg | 16.625 | 24 | 0.571429 | 16 | 133 | 4.75 | 0.5625 | 0.368421 | 0.289474 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345865 | 133 | 8 | 25 | 16.625 | 0.873563 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef99d5b8d11c24672e2062c1291d9308400b71c1 | 3,756 | py | Python | a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/wrecker.py | devincrack/wrecker | 08b88c5069d190cf7ea29756e1a2fa8661e112e0 | [
"MIT"
] | 1 | 2022-02-17T03:25:44.000Z | 2022-02-17T03:25:44.000Z | a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/wrecker.py | devincrack/wrecker | 08b88c5069d190cf7ea29756e1a2fa8661e112e0 | [
"MIT"
] | null | null | null | a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/wrecker.py | devincrack/wrecker | 08b88c5069d190cf7ea29756e1a2fa8661e112e0 | [
"MIT"
] | null | null | null | import smtplib
import os
import time
'''
File: Wrecker
Author: devincrack
Description: A tool to get 56 gems in pubg/free fire
'''
def banner():
"""docstring for banner"""
print('''
\033[01;34m _
\033[01;34m__ ___ __ ___ ___| | _____ _ __
\033[01;34m\ \ /\ / / '__/ _ \/ __| |/ / _ ... | 33.535714 | 88 | 0.588392 | 510 | 3,756 | 4.192157 | 0.237255 | 0.058934 | 0.032741 | 0.015435 | 0.747428 | 0.747428 | 0.747428 | 0.725912 | 0.725912 | 0.677268 | 0 | 0.034446 | 0.257987 | 3,756 | 111 | 89 | 33.837838 | 0.732687 | 0.015974 | 0 | 0.593407 | 0 | 0.032967 | 0.479844 | 0.019739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0.120879 | 0.032967 | 0 | 0.065934 | 0.21978 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
efa2ff0432bd7fefc37fa0b7ad3ce55a88607782 | 103 | py | Python | mltoolkit/mldp/utils/tools/dc_writers/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 51 | 2020-09-25T07:05:01.000Z | 2022-03-17T12:07:40.000Z | mltoolkit/mldp/utils/tools/dc_writers/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 4 | 2020-10-19T10:00:22.000Z | 2022-03-14T17:02:47.000Z | mltoolkit/mldp/utils/tools/dc_writers/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 22 | 2020-09-22T01:06:47.000Z | 2022-01-26T14:20:09.000Z | from .csv_writer import CsvWriter
from .json_writer import JsonWriter
from ._factory import get_writer
| 25.75 | 35 | 0.854369 | 15 | 103 | 5.6 | 0.6 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 36 | 34.333333 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
efd55184efabd64b51dd37948298ec851a6d7ae6 | 124 | py | Python | tests/__init__.py | x0rzkov/sublime-go | b77d78594caed017f040fe6c4168e525a563e28b | [
"MIT"
] | 51 | 2019-08-18T18:18:42.000Z | 2022-02-09T07:44:42.000Z | tests/__init__.py | x0rzkov/sublime-go | b77d78594caed017f040fe6c4168e525a563e28b | [
"MIT"
] | 28 | 2019-08-19T04:10:52.000Z | 2020-12-09T16:39:26.000Z | tests/__init__.py | localhots/sublime-go | 960e72dafdb6c69d78bb5cbd88052540342517b9 | [
"MIT"
] | 4 | 2019-11-12T20:39:54.000Z | 2021-07-30T09:57:32.000Z |
import os.path as path
import sys
import os
sys.path.append(os.getcwd())
sys.path.append(path.join(os.getcwd(), 'tests'))
| 15.5 | 48 | 0.725806 | 22 | 124 | 4.090909 | 0.409091 | 0.177778 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 7 | 49 | 17.714286 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
efe12162d8a454b387aa7e0fec6170e909ac16a9 | 285 | py | Python | app/views/home_view.py | gmoshe27/gadberger.com | d044589e80959f788c8bd2f24ed1937b0e2e9544 | [
"MIT"
] | null | null | null | app/views/home_view.py | gmoshe27/gadberger.com | d044589e80959f788c8bd2f24ed1937b0e2e9544 | [
"MIT"
] | null | null | null | app/views/home_view.py | gmoshe27/gadberger.com | d044589e80959f788c8bd2f24ed1937b0e2e9544 | [
"MIT"
] | null | null | null | from flask import Flask, request, render_template, jsonify, g, current_app
from flask.ext.classy import FlaskView
class HomeView(FlaskView):
def index(self):
return render_template('home/index.html')
def about(self):
return render_template('home/about.html')
| 28.5 | 74 | 0.729825 | 38 | 285 | 5.368421 | 0.578947 | 0.205882 | 0.156863 | 0.235294 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17193 | 285 | 9 | 75 | 31.666667 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ef04e78141f436c5b01a17a16901b26b8a3a9136 | 228 | py | Python | demo_project/demo_app/form.py | onlysyz/dfoodweb | 24082deca803f82df28a237e905faf263b507e3e | [
"Apache-2.0"
] | 3 | 2017-04-21T15:54:55.000Z | 2017-04-28T16:18:21.000Z | demo_project/demo_app/form.py | onlysyz/dfoodweb | 24082deca803f82df28a237e905faf263b507e3e | [
"Apache-2.0"
] | null | null | null | demo_project/demo_app/form.py | onlysyz/dfoodweb | 24082deca803f82df28a237e905faf263b507e3e | [
"Apache-2.0"
] | null | null | null | class LoginForm(forms.Form):
username=forms.UsernameField(required=True,error_messages={'required':"用户名不能为空"})
password=forms.PasswordField(max_length=120,min_length=6,required=True,error_messages={'required':"密码不能为空"})
| 57 | 112 | 0.789474 | 28 | 228 | 6.285714 | 0.678571 | 0.136364 | 0.193182 | 0.284091 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.052632 | 228 | 3 | 113 | 76 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.127193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
328870534bacf0a73bc1d70a5814197505148da6 | 33 | py | Python | mcdc_tnt/pyk_kernels/advance/__init__.py | jpmorgan98/MCDC-TNT | a7772b169eb431c54e729feff4128545a735c7c2 | [
"BSD-3-Clause"
] | null | null | null | mcdc_tnt/pyk_kernels/advance/__init__.py | jpmorgan98/MCDC-TNT | a7772b169eb431c54e729feff4128545a735c7c2 | [
"BSD-3-Clause"
] | null | null | null | mcdc_tnt/pyk_kernels/advance/__init__.py | jpmorgan98/MCDC-TNT | a7772b169eb431c54e729feff4128545a735c7c2 | [
"BSD-3-Clause"
] | null | null | null | from .advance_pyk import Advance
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
088068035b8e468d014081f103fc61b8d13c04e0 | 39 | py | Python | fastapi_helpers/crud/__init__.py | finalsa/fastapi-helpers | 3fc06e4445e29416876822d3f9485c65c51886cc | [
"MIT"
] | 2 | 2021-09-19T00:56:42.000Z | 2022-01-19T06:13:45.000Z | fastapi_helpers/crud/__init__.py | finalsa/fastapi-helpers | 3fc06e4445e29416876822d3f9485c65c51886cc | [
"MIT"
] | 1 | 2021-11-27T18:05:08.000Z | 2021-12-24T02:42:11.000Z | fastapi_helpers/crud/__init__.py | finalsa/fastapi-helpers | 3fc06e4445e29416876822d3f9485c65c51886cc | [
"MIT"
] | 1 | 2021-12-23T07:21:56.000Z | 2021-12-23T07:21:56.000Z | from .BaseCrud import BaseCrud, to_dict | 39 | 39 | 0.846154 | 6 | 39 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08aa07165aeb8c95428ab42bb299dc785a687b64 | 101 | py | Python | tests/test_models.py | dmitrypol/covid19 | 18bdd43ebec409f51931cd497f792ad7a7ef8b1c | [
"MIT"
] | 3 | 2020-09-28T01:28:47.000Z | 2022-02-13T12:19:37.000Z | tests/test_models.py | dmitrypol/covid19 | 18bdd43ebec409f51931cd497f792ad7a7ef8b1c | [
"MIT"
] | null | null | null | tests/test_models.py | dmitrypol/covid19 | 18bdd43ebec409f51931cd497f792ad7a7ef8b1c | [
"MIT"
] | null | null | null | import pytest
from app import models
def test_location():
assert models.Location() is not None
| 14.428571 | 40 | 0.752475 | 15 | 101 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 101 | 6 | 41 | 16.833333 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08ce6284ef8489fa68fb23d787c2a04bc91c77f7 | 6,499 | py | Python | neowise/neowise/optimizers.py | mihirkestur/neowise | 2bce24812fb276f07bdbced605c28e0f865dd6eb | [
"MIT"
] | 11 | 2020-08-10T19:55:58.000Z | 2020-10-12T03:02:46.000Z | neowise/neowise/optimizers.py | mihirkestur/neowise | 2bce24812fb276f07bdbced605c28e0f865dd6eb | [
"MIT"
] | null | null | null | neowise/neowise/optimizers.py | mihirkestur/neowise | 2bce24812fb276f07bdbced605c28e0f865dd6eb | [
"MIT"
] | 2 | 2020-08-13T11:25:58.000Z | 2021-03-02T14:18:58.000Z | import numpy as np
class OptimizerHelpers:
"""
Optimizer Helpers
Used to initiate the instance variables of nw.optimizers
Arguments:
alpha: Learning rate of the network (float)
layers_arr: List containing the objects of nw.layers (List)
V_dict: Dictionary containing the moving... | 48.5 | 121 | 0.59763 | 957 | 6,499 | 3.882968 | 0.089864 | 0.096878 | 0.08746 | 0.072659 | 0.883208 | 0.823466 | 0.81324 | 0.797094 | 0.759957 | 0.750269 | 0 | 0.017252 | 0.268657 | 6,499 | 133 | 122 | 48.864662 | 0.76457 | 0.327127 | 0 | 0.661765 | 0 | 0 | 0.023005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132353 | false | 0 | 0.014706 | 0 | 0.220588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08f7e765ce1b236d15bea0f299c55398eb2f16d3 | 166 | py | Python | tasks/R2R-pano/models/__init__.py | gregschuit/regretful-agent | c39d22f90512cd3c7798e7e09f9f031b85939648 | [
"MIT"
] | 122 | 2019-03-06T01:41:32.000Z | 2022-03-18T14:59:00.000Z | tasks/R2R-pano/models/__init__.py | gregschuit/regretful-agent | c39d22f90512cd3c7798e7e09f9f031b85939648 | [
"MIT"
] | 15 | 2019-03-09T01:38:53.000Z | 2021-09-23T21:27:31.000Z | tasks/R2R-pano/models/__init__.py | gregschuit/regretful-agent | c39d22f90512cd3c7798e7e09f9f031b85939648 | [
"MIT"
] | 29 | 2019-03-06T01:49:14.000Z | 2021-12-12T18:51:58.000Z | from models.encoder import EncoderRNN
from models.modules import PositionalEncoding
from models.policy_model import Regretful, SelfMonitoring, SpeakerFollowerBaseline | 55.333333 | 82 | 0.891566 | 18 | 166 | 8.166667 | 0.666667 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078313 | 166 | 3 | 82 | 55.333333 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3eaa7894ca841929fcf23956305fcb6c45c02c73 | 193 | py | Python | src/iml_global.py | iml1111/U-I_Board_Crawler | ba5929d8b64be68c825454dbf657cd7f2cda58a3 | [
"MIT"
] | null | null | null | src/iml_global.py | iml1111/U-I_Board_Crawler | ba5929d8b64be68c825454dbf657cd7f2cda58a3 | [
"MIT"
] | null | null | null | src/iml_global.py | iml1111/U-I_Board_Crawler | ba5929d8b64be68c825454dbf657cd7f2cda58a3 | [
"MIT"
] | null | null | null | import sys
import os
sys.path.insert(0,'C:\\Users\\IML\\Desktop\\PKU_Crawler\\src')
sys.path.insert(0,'C:\\Users\\IML\\Desktop\\PKU_Crawler\\src\\PK_univ')
YJ_1 = "201512801"
YJ_2 = "1113434" | 24.125 | 71 | 0.704663 | 34 | 193 | 3.852941 | 0.588235 | 0.10687 | 0.198473 | 0.21374 | 0.656489 | 0.656489 | 0.656489 | 0.656489 | 0.656489 | 0.656489 | 0 | 0.111111 | 0.067358 | 193 | 8 | 72 | 24.125 | 0.616667 | 0 | 0 | 0 | 0 | 0 | 0.551546 | 0.469072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3ec296e836d55824624e3beb583970fa603b952f | 257 | py | Python | datasets/__init__.py | PointCloudYC/se-pseudogrid | 65005d82fda1a31b8c945e02e378df102ba0fee0 | [
"MIT"
] | 2 | 2021-11-30T06:38:23.000Z | 2021-12-17T01:38:32.000Z | datasets/__init__.py | PointCloudYC/se-pseudogrid | 65005d82fda1a31b8c945e02e378df102ba0fee0 | [
"MIT"
] | null | null | null | datasets/__init__.py | PointCloudYC/se-pseudogrid | 65005d82fda1a31b8c945e02e378df102ba0fee0 | [
"MIT"
] | null | null | null | from .ModelNet40 import ModelNet40Cls, get_cls_features
from .PipeWork import PipeWorkCls, get_cls_features
from .PartNet import PartNetSeg, get_part_seg_features
from .S3DIS import S3DISSeg, get_scene_seg_features
from .ShapeNetPart import ShapeNetPartSeg
| 42.833333 | 55 | 0.871595 | 34 | 257 | 6.294118 | 0.529412 | 0.224299 | 0.130841 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025751 | 0.093385 | 257 | 5 | 56 | 51.4 | 0.892704 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ee4873e5272612599b563f68b8b32e00df49b76 | 83 | py | Python | chemiwrap/tests/test_chemiwrap.py | SimonBoothroyd/chemiwrap | 7394cd44e386a9f280fd61bce5cf4d0d1567c689 | [
"MIT"
] | 2 | 2021-06-28T15:20:02.000Z | 2021-07-01T03:09:35.000Z | chemiwrap/tests/test_chemiwrap.py | SimonBoothroyd/chemiwrap | 7394cd44e386a9f280fd61bce5cf4d0d1567c689 | [
"MIT"
] | 7 | 2021-06-29T08:21:40.000Z | 2022-02-28T21:13:50.000Z | chemiwrap/tests/test_chemiwrap.py | SimonBoothroyd/chemiwrap | 7394cd44e386a9f280fd61bce5cf4d0d1567c689 | [
"MIT"
] | null | null | null | import importlib
def test_importable():
importlib.import_module("chemiwrap")
| 13.833333 | 40 | 0.771084 | 9 | 83 | 6.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 5 | 41 | 16.6 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 1 | 0 | 1.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb370c527bcc4b3174e34c3d295a2cb8487f5fe1 | 27 | py | Python | napari/components/_viewer/view/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | null | null | null | napari/components/_viewer/view/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | 1 | 2019-05-24T17:01:51.000Z | 2019-05-24T18:06:22.000Z | napari/components/_viewer/view/__init__.py | AllenCellModeling/napari | 3566383e6310d02e8673b564b6f63411fa176708 | [
"BSD-3-Clause"
] | null | null | null | from .main import QtViewer
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de2615e1c967b72c2804ccf7c51766f3aafbd0b7 | 163 | py | Python | src/easycoref/__init__.py | sally14/easycoref | 4d8f20f17bd1b9349352ccc4d764622a75829c0d | [
"Apache-2.0"
] | 1 | 2021-12-16T16:02:33.000Z | 2021-12-16T16:02:33.000Z | src/easycoref/__init__.py | sally14/easycoref | 4d8f20f17bd1b9349352ccc4d764622a75829c0d | [
"Apache-2.0"
] | null | null | null | src/easycoref/__init__.py | sally14/easycoref | 4d8f20f17bd1b9349352ccc4d764622a75829c0d | [
"Apache-2.0"
] | null | null | null | import subprocess
def download_all():
subprocess.check_call("python -m spacy download en".split())
subprocess.check_call("bash install_coref.sh".split()) | 27.166667 | 64 | 0.748466 | 22 | 163 | 5.363636 | 0.727273 | 0.254237 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 163 | 6 | 65 | 27.166667 | 0.825175 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de3d33cda052ee6e42ab0388735af4667bf2a371 | 120 | py | Python | Probe/probe/plotter/__init__.py | Cloud-PG/smart-cache | 467987abece3fd4830fd615288046359761229f8 | [
"Apache-2.0"
] | 1 | 2019-10-13T09:05:24.000Z | 2019-10-13T09:05:24.000Z | Probe/probe/plotter/__init__.py | Cloud-PG/smart-cache | 467987abece3fd4830fd615288046359761229f8 | [
"Apache-2.0"
] | null | null | null | Probe/probe/plotter/__init__.py | Cloud-PG/smart-cache | 467987abece3fd4830fd615288046359761229f8 | [
"Apache-2.0"
] | 1 | 2019-05-16T11:53:38.000Z | 2019-05-16T11:53:38.000Z | from .stats import (plot_daily_stats, plot_global_stats,
plot_global_upper_limits, plot_week_stats)
| 40 | 62 | 0.725 | 16 | 120 | 4.875 | 0.5625 | 0.230769 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 120 | 2 | 63 | 60 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
de7942b431da7457c45d6d7770f275af23c67f76 | 86 | py | Python | back/models/Application.py | TLPhong/tomcat-manager | 02a4876b49fff794e6f2045e41e7ee15bb85d2d6 | [
"MIT"
] | null | null | null | back/models/Application.py | TLPhong/tomcat-manager | 02a4876b49fff794e6f2045e41e7ee15bb85d2d6 | [
"MIT"
] | 7 | 2021-09-25T22:31:01.000Z | 2021-10-01T10:23:59.000Z | back/models/Application.py | TLPhong/tomcat-manager | 02a4876b49fff794e6f2045e41e7ee15bb85d2d6 | [
"MIT"
] | null | null | null | class Application:
def __init__(self, app_name):
self.app_name = app_name
| 21.5 | 33 | 0.686047 | 12 | 86 | 4.333333 | 0.583333 | 0.403846 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 86 | 3 | 34 | 28.666667 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
de89dd36b46be2330238c420c5d3ac88dd52420b | 20 | py | Python | wab/utils/common_functions.py | BinNguyenVNN/wab-rest | daab9e176b5aae60cf822a19563f2e4bc1e02ca1 | [
"MIT"
] | null | null | null | wab/utils/common_functions.py | BinNguyenVNN/wab-rest | daab9e176b5aae60cf822a19563f2e4bc1e02ca1 | [
"MIT"
] | 1 | 2020-12-17T13:51:12.000Z | 2020-12-17T13:51:12.000Z | wab/utils/common_functions.py | BinNguyenVNN/wab-rest | daab9e176b5aae60cf822a19563f2e4bc1e02ca1 | [
"MIT"
] | 1 | 2021-05-18T12:30:53.000Z | 2021-05-18T12:30:53.000Z | def aaa():
pass
| 6.666667 | 10 | 0.5 | 3 | 20 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 20 | 2 | 11 | 10 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
de8fe1d4579409bae6f422139f8423e92cd73c31 | 24 | py | Python | run.py | AravindVasudev/Flask-ChatBot | 5387f470ed2c95d0aa3655f9cc7dee557ada09f7 | [
"MIT"
] | 3 | 2019-06-10T07:11:13.000Z | 2021-12-07T17:04:08.000Z | run.py | AravindVasudev/Flask-ChatBot | 5387f470ed2c95d0aa3655f9cc7dee557ada09f7 | [
"MIT"
] | null | null | null | run.py | AravindVasudev/Flask-ChatBot | 5387f470ed2c95d0aa3655f9cc7dee557ada09f7 | [
"MIT"
] | null | null | null | from chatBot import app
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de8ffb56a30cb4554d7ae5ddd4e83ddb72381c60 | 105 | py | Python | assets/__init__.py | novialriptide/Endless-Sim | af0110134da394d057c3cc283adc13dab508fa0d | [
"Apache-2.0"
] | 1 | 2022-02-16T19:32:18.000Z | 2022-02-16T19:32:18.000Z | assets/__init__.py | novialriptide/Endless-Sim | af0110134da394d057c3cc283adc13dab508fa0d | [
"Apache-2.0"
] | 1 | 2021-11-19T19:31:23.000Z | 2021-11-19T19:33:55.000Z | assets/__init__.py | novialriptide/Endless-Sim | af0110134da394d057c3cc283adc13dab508fa0d | [
"Apache-2.0"
] | null | null | null | import pygame
LOGO0 = pygame.image.load("assets\logo.png")
LOGO1 = pygame.image.load("assets\logo1.png") | 26.25 | 45 | 0.752381 | 16 | 105 | 4.9375 | 0.5625 | 0.278481 | 0.379747 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.07619 | 105 | 4 | 45 | 26.25 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0.292453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
de9a77701267e21c1a8285657521fb4085928b71 | 103 | py | Python | tests/pydecompile-test/baselines/always_for_loop_bad_initializer.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 1 | 2020-11-11T01:47:26.000Z | 2020-11-11T01:47:26.000Z | tests/pydecompile-test/baselines/always_for_loop_bad_initializer.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 3 | 2019-02-07T23:34:43.000Z | 2019-03-06T18:25:37.000Z | tests/pydecompile-test/baselines/always_for_loop_bad_initializer.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 2 | 2019-10-29T06:56:11.000Z | 2021-05-25T10:18:12.000Z | x = 1
1 + 1
while x <= 5:
x += 1
x2 = 1
while x2 <= 5:
x2 += 1
x = 0
y = 2
while x <= 5:
x += 1 | 7.923077 | 14 | 0.38835 | 25 | 103 | 1.6 | 0.32 | 0.15 | 0.35 | 0.4 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.417476 | 103 | 13 | 15 | 7.923077 | 0.416667 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dee087b0a8213dba1d5f769eaa7b570d686bdc81 | 149 | py | Python | bolinette/testing/__init__.py | TheCaptainCat/flasque | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | bolinette/testing/__init__.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | bolinette/testing/__init__.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | null | null | null | from bolinette.testing.mock import Mock, Mocked
from bolinette.testing.client import BolitestClient
from bolinette.testing.decorator import bolitest
| 37.25 | 51 | 0.865772 | 19 | 149 | 6.789474 | 0.526316 | 0.302326 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 149 | 3 | 52 | 49.666667 | 0.948529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
defb26a3fbc96ba56c7d372aad4531f7773b1900 | 74 | py | Python | custom/trialconnect/models.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | custom/trialconnect/models.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | custom/trialconnect/models.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | from couchdbkit.ext.django.schema import Document
class _(Document): pass | 24.666667 | 49 | 0.824324 | 10 | 74 | 6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 3 | 50 | 24.666667 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7208a2e2edae8073d394562aa878be1b5cdf9fec | 53 | py | Python | nineml/abstraction/connectionrule/visitors/__init__.py | INCF/nineml-python | 062a2ac8a9be97cee4dad02938e3858e051cf07c | [
"BSD-3-Clause"
] | 6 | 2017-12-26T14:15:28.000Z | 2021-10-10T22:45:51.000Z | nineml/abstraction/connectionrule/visitors/__init__.py | INCF/nineml-python | 062a2ac8a9be97cee4dad02938e3858e051cf07c | [
"BSD-3-Clause"
] | 25 | 2017-07-05T03:53:53.000Z | 2021-01-19T14:14:05.000Z | nineml/abstraction/connectionrule/visitors/__init__.py | INCF/nineml-python | 062a2ac8a9be97cee4dad02938e3858e051cf07c | [
"BSD-3-Clause"
] | 5 | 2017-12-26T14:15:12.000Z | 2021-10-10T22:45:39.000Z | from .queriers import ConnectionRuleInterfaceInferer
| 26.5 | 52 | 0.90566 | 4 | 53 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
723c34c337d3093cdafa6723a0de4f64e2da2a2e | 286 | py | Python | aionetworking/networking/exceptions.py | primal100/aionetworking | a29cbb022cbae1a4ad1c3d44327e9d0b0c930227 | [
"MIT"
] | null | null | null | aionetworking/networking/exceptions.py | primal100/aionetworking | a29cbb022cbae1a4ad1c3d44327e9d0b0c930227 | [
"MIT"
] | 1 | 2018-12-23T00:50:33.000Z | 2018-12-23T00:50:33.000Z | aionetworking/networking/exceptions.py | primal100/aionetworking | a29cbb022cbae1a4ad1c3d44327e9d0b0c930227 | [
"MIT"
] | null | null | null | class MessageFromNotAuthorizedHost(BaseException):
pass
class MethodNotFoundError(BaseException):
pass
class ConnectionAlreadyClosedError(BaseException):
pass
class ProtocolException(BaseException):
pass
class RemoteConnectionClosedError(BaseException):
pass | 15.888889 | 50 | 0.800699 | 20 | 286 | 11.45 | 0.4 | 0.371179 | 0.384279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 286 | 18 | 51 | 15.888889 | 0.938525 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 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 | 6 |
a0d139b3a46f34ac196a6afb932486ae7be6d799 | 22 | py | Python | mirage/package/__init__.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | 4 | 2019-05-16T09:26:21.000Z | 2022-02-14T06:21:40.000Z | mirage/package/__init__.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | 77 | 2019-05-10T22:24:54.000Z | 2021-07-02T03:11:01.000Z | mirage/package/__init__.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | 1 | 2018-12-08T09:57:54.000Z | 2018-12-08T09:57:54.000Z | from . import package
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0db4e0ea07047e24d043ad0380d9ffb943b2ded | 4,357 | py | Python | setup.py | pykit3/k3num | c96ffd6e93962152202c2eef323de92d2aefd94e | [
"MIT"
] | null | null | null | setup.py | pykit3/k3num | c96ffd6e93962152202c2eef323de92d2aefd94e | [
"MIT"
] | 25 | 2020-09-25T06:54:42.000Z | 2022-03-23T07:01:13.000Z | setup.py | pykit3/k3num | c96ffd6e93962152202c2eef323de92d2aefd94e | [
"MIT"
] | null | null | null | # DO NOT EDIT!!! built with `python _building/build_setup.py`
import setuptools
setuptools.setup(
name="k3num",
packages=["k3num"],
version="0.1.6",
license='MIT',
description='Convert number to human readable format in a string.',
long_description='# k3num\n\n[:
_ds_attr = OodaNodeAttr(
subject="Major Target", shape="tripleoctagon", style='filled', fixedsize='false',
fillcolor="#354093:#354093", gradientangle="225",
... | 51.320388 | 119 | 0.625993 | 624 | 5,286 | 5.046474 | 0.153846 | 0.088917 | 0.062242 | 0.048904 | 0.8047 | 0.758654 | 0.74087 | 0.71483 | 0.71483 | 0.669419 | 0 | 0.049591 | 0.214151 | 5,286 | 103 | 120 | 51.320388 | 0.708474 | 0 | 0 | 0.407407 | 0 | 0 | 0.124645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08642 | false | 0 | 0.037037 | 0 | 0.296296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19db0224a462659b1a04b3c89fa02cf32d255c33 | 87 | py | Python | nn/embedding/__init__.py | kefirski/attentive-translation | 244f42e8e9c6369b6615480fb9b291bf6a0e3eef | [
"MIT"
] | 16 | 2017-12-08T14:47:44.000Z | 2022-03-24T22:34:29.000Z | nn/embedding/__init__.py | kefirski/attentive-translation | 244f42e8e9c6369b6615480fb9b291bf6a0e3eef | [
"MIT"
] | null | null | null | nn/embedding/__init__.py | kefirski/attentive-translation | 244f42e8e9c6369b6615480fb9b291bf6a0e3eef | [
"MIT"
] | 1 | 2020-08-20T14:20:52.000Z | 2020-08-20T14:20:52.000Z | from .embedding import Embedding
from .positional_embedding import PositionalEmbeddings | 43.5 | 54 | 0.896552 | 9 | 87 | 8.555556 | 0.555556 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 2 | 54 | 43.5 | 0.9625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19dbaa1fcda88d4265d9eaff31fd56bf79d890eb | 10,881 | py | Python | SimpleMSE/np/convergence_region.py | afshinabdi/DistributedTraining-QCS | 46197b23dc8d8002adcfebbae8653aae6fb77754 | [
"MIT"
] | null | null | null | SimpleMSE/np/convergence_region.py | afshinabdi/DistributedTraining-QCS | 46197b23dc8d8002adcfebbae8653aae6fb77754 | [
"MIT"
] | 1 | 2020-11-26T11:36:58.000Z | 2020-11-27T18:42:57.000Z | SimpleMSE/np/convergence_region.py | afshinabdi/DistributedTraining-QCS | 46197b23dc8d8002adcfebbae8653aae6fb77754 | [
"MIT"
] | null | null | null | import os
import time
import numpy as np
import scipy.io as sio
import regression_model as rm
from hadamard import load_hadamard_matrix
import quantizers.onebit_quantizer as obq
import quantizers.qsg_quantizer as qsg
import quantizers.cs_quantizer as csq
import quantizers.topK_sgd as topkq
output_folder = 'QuantizedCS... | 34.324921 | 106 | 0.554177 | 1,388 | 10,881 | 4.18732 | 0.131124 | 0.036132 | 0.020647 | 0.03097 | 0.809532 | 0.796111 | 0.725052 | 0.71903 | 0.718858 | 0.670853 | 0 | 0.024654 | 0.310358 | 10,881 | 316 | 107 | 34.433544 | 0.749867 | 0.039886 | 0 | 0.699153 | 0 | 0 | 0.101697 | 0.004505 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025424 | false | 0 | 0.042373 | 0 | 0.067797 | 0.20339 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c20465e5ab52171f40279ee93a7a846b40273c1d | 13 | py | Python | intro.py | tergh/ctcuc22 | aaff09c2762aaf70c8d50999c17109cf34055158 | [
"MIT"
] | null | null | null | intro.py | tergh/ctcuc22 | aaff09c2762aaf70c8d50999c17109cf34055158 | [
"MIT"
] | null | null | null | intro.py | tergh/ctcuc22 | aaff09c2762aaf70c8d50999c17109cf34055158 | [
"MIT"
] | null | null | null | print(3**2)
| 6.5 | 12 | 0.538462 | 3 | 13 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 13 | 1 | 13 | 13 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c22253f17b192640a4888539adf503acf92ac835 | 5,802 | py | Python | cantools/autosar/end_to_end.py | malneni/cantools | b9958577c0f616c28c7fa37a2d2b491478e065ba | [
"MIT"
] | 117 | 2021-10-30T15:40:09.000Z | 2022-03-31T12:21:47.000Z | cantools/autosar/end_to_end.py | malneni/cantools | b9958577c0f616c28c7fa37a2d2b491478e065ba | [
"MIT"
] | 63 | 2021-10-31T17:12:07.000Z | 2022-03-30T13:36:00.000Z | cantools/autosar/end_to_end.py | malneni/cantools | b9958577c0f616c28c7fa37a2d2b491478e065ba | [
"MIT"
] | 50 | 2021-10-19T04:41:37.000Z | 2022-03-25T07:55:30.000Z | # Utilities for calculating the CRC of the AUTOSAR end-to-end
# protection specification
import crccheck # type: ignore
from ..database.can.message import Message
from typing import Union, List, Optional
def compute_profile2_crc(payload : Union[bytes, bytearray],
msg_or_data_id: Union[int, ... | 31.704918 | 79 | 0.646846 | 822 | 5,802 | 4.424574 | 0.143552 | 0.05774 | 0.049491 | 0.060489 | 0.825681 | 0.782238 | 0.77344 | 0.759142 | 0.71405 | 0.661259 | 0 | 0.019696 | 0.273699 | 5,802 | 182 | 80 | 31.879121 | 0.843379 | 0.319028 | 0 | 0.606742 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006855 | 0 | 0.067416 | 1 | 0.067416 | false | 0 | 0.033708 | 0 | 0.258427 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c236a35d4532bcedc4e77ec6d5a8918ccac5959d | 144 | py | Python | tests/test_init.py | falken20/primazon | 40258412fd40339bd745e20c322e123de2a80eb7 | [
"MIT"
] | null | null | null | tests/test_init.py | falken20/primazon | 40258412fd40339bd745e20c322e123de2a80eb7 | [
"MIT"
] | 11 | 2022-02-28T11:53:58.000Z | 2022-03-29T12:08:08.000Z | tests/test_init.py | falken20/primazon | 40258412fd40339bd745e20c322e123de2a80eb7 | [
"MIT"
] | null | null | null | import src
def test_get_version():
assert src.__version__ == "1.2.0"
def test_get_name():
assert src.__package_name__ == "primazon"
| 14.4 | 45 | 0.694444 | 21 | 144 | 4.142857 | 0.619048 | 0.16092 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.180556 | 144 | 9 | 46 | 16 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
dfaeff6b37faa4ef7f54296e4da975e284945e38 | 109 | py | Python | py2store/paths.py | i2mint/py2store | 1b8ccb21cdff6ffb269460eebbe813cc471be748 | [
"MIT"
] | 10 | 2019-03-04T15:02:15.000Z | 2020-09-16T11:57:30.000Z | py2store/paths.py | i2mint/py2store | 1b8ccb21cdff6ffb269460eebbe813cc471be748 | [
"MIT"
] | 60 | 2019-08-08T14:38:56.000Z | 2021-04-08T15:19:11.000Z | py2store/paths.py | i2mint/py2store | 1b8ccb21cdff6ffb269460eebbe813cc471be748 | [
"MIT"
] | 10 | 2019-08-08T03:15:35.000Z | 2020-06-18T16:19:18.000Z | """Forwards to dol.paths:
Module for path (and path-like) object manipulation
"""
from dol.paths import *
| 13.625 | 51 | 0.715596 | 16 | 109 | 4.875 | 0.8125 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 7 | 52 | 15.571429 | 0.857143 | 0.688073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dff4cb76addc17f308803caf83f9a022229f7abb | 2,503 | py | Python | models/gai_model.py | mstubbemann/LG4AV | 68d487c3d8a9b53039a2644a9bfdc44446a6fded | [
"MIT"
] | 2 | 2021-10-04T11:50:08.000Z | 2021-11-25T12:45:33.000Z | models/gai_model.py | mstubbemann/LG4AV | 68d487c3d8a9b53039a2644a9bfdc44446a6fded | [
"MIT"
] | null | null | null | models/gai_model.py | mstubbemann/LG4AV | 68d487c3d8a9b53039a2644a9bfdc44446a6fded | [
"MIT"
] | null | null | null | from .model import test_model
"""
Create and evaluate the LG4AV(-2), LG4AV-0 and LG4AV-F
models on the GAI data set.
"""
if __name__ == "__main__":
print("##################")
print("##################")
print("##################")
print("Make GAI testing")
print("Make freezed testing")
result... | 43.912281 | 98 | 0.428286 | 243 | 2,503 | 4.222222 | 0.304527 | 0.095517 | 0.070175 | 0.070175 | 0.783626 | 0.77193 | 0.764133 | 0.727096 | 0.727096 | 0.727096 | 0 | 0.026667 | 0.430683 | 2,503 | 56 | 99 | 44.696429 | 0.693333 | 0 | 0 | 0.74 | 0 | 0 | 0.274347 | 0.176958 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.02 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5f032eacad499539bc1869dd045af5ccedd02b64 | 163 | py | Python | script/Python/index.py | JPhilipp/QuestML | 22260cb9de7a07f75b6a788d12ae20dfe51d0830 | [
"MIT"
] | 2 | 2021-07-24T12:44:54.000Z | 2021-08-19T03:00:11.000Z | script/Python/index.py | JPhilipp/QuestML | 22260cb9de7a07f75b6a788d12ae20dfe51d0830 | [
"MIT"
] | null | null | null | script/Python/index.py | JPhilipp/QuestML | 22260cb9de7a07f75b6a788d12ae20dfe51d0830 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import class_quest_handler
questHandler = class_quest_handler.QuestHandler()
print 'Content-type: text/html\n\n'
print questHandler.getOutput() | 23.285714 | 49 | 0.809816 | 22 | 163 | 5.818182 | 0.681818 | 0.15625 | 0.265625 | 0.453125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 163 | 7 | 50 | 23.285714 | 0.847682 | 0.09816 | 0 | 0 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 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 | 1 | 0 | 6 |
5f2abc5f625fed62fad95a6e53ed5961a78fe6d6 | 1,706 | py | Python | 70_question/array/largest_range_test.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | 26 | 2019-06-07T05:29:47.000Z | 2022-03-19T15:32:27.000Z | 70_question/array/largest_range_test.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | null | null | null | 70_question/array/largest_range_test.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | 6 | 2019-10-10T06:39:28.000Z | 2020-05-12T19:50:55.000Z | import largest_range as program
import unittest
class TestProgram(unittest.TestCase):
def test_case_1(self):
self.assertEqual(program.largestRange([1]), [1, 1])
def test_case_2(self):
self.assertEqual(program.largestRange([1, 2]), [1, 2])
def test_case_3(self):
self.assertEqual(p... | 39.674419 | 189 | 0.5551 | 314 | 1,706 | 2.917197 | 0.121019 | 0.084061 | 0.132096 | 0.312227 | 0.730349 | 0.569869 | 0.388646 | 0.388646 | 0.388646 | 0.296943 | 0 | 0.213475 | 0.225674 | 1,706 | 42 | 190 | 40.619048 | 0.479939 | 0 | 0 | 0.074074 | 0 | 0 | 0.004692 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 1 | 0.407407 | false | 0 | 0.074074 | 0 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5f2ae0fa20f65c0749bc8c6bd097f148fe21d944 | 495,909 | py | Python | pyreach/common/proto_gen/logs_pb2.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | 13 | 2021-09-01T01:10:22.000Z | 2022-03-05T10:01:52.000Z | pyreach/common/proto_gen/logs_pb2.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | null | null | null | pyreach/common/proto_gen/logs_pb2.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | 6 | 2021-09-20T21:17:53.000Z | 2022-03-14T18:42:48.000Z | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 52.388443 | 49,090 | 0.767933 | 64,526 | 495,909 | 5.571491 | 0.027973 | 0.046308 | 0.069287 | 0.058881 | 0.839761 | 0.818607 | 0.765776 | 0.717362 | 0.685758 | 0.673521 | 0 | 0.045667 | 0.107816 | 495,909 | 9,465 | 49,091 | 52.393978 | 0.766882 | 0.020742 | 0 | 0.698265 | 0 | 0.007834 | 0.208703 | 0.15591 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000895 | 0 | 0.000895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a02dfd6bfd09dcee478a928bf9ba9a34bcdf9c10 | 10,991 | py | Python | server/Security.py | minor-project1-sem4-team7/BabbleZ | d9524bcbf0c9738945bfec40684b006e312bf13d | [
"MIT"
] | null | null | null | server/Security.py | minor-project1-sem4-team7/BabbleZ | d9524bcbf0c9738945bfec40684b006e312bf13d | [
"MIT"
] | null | null | null | server/Security.py | minor-project1-sem4-team7/BabbleZ | d9524bcbf0c9738945bfec40684b006e312bf13d | [
"MIT"
] | 1 | 2021-05-27T10:43:15.000Z | 2021-05-27T10:43:15.000Z | import pickle
import rsa
# Initial Global Authentication
# Server Global
__server_public_key__ = 'PublicKey(531836556116849503526789038592954213414151379898321835881401907556007177415927997307542592331199274089794331573843691592574639966270561486557382534282742103050057822993660888083548379856155488483196639832097391... | 215.509804 | 3,758 | 0.967883 | 158 | 10,991 | 66.974684 | 0.405063 | 0.003402 | 0.003024 | 0.004347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.919859 | 0.021381 | 10,991 | 51 | 3,759 | 215.509804 | 0.063964 | 0.005186 | 0 | 0 | 0 | 0 | 0.114537 | 0.113805 | 0 | 1 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.068966 | 0 | 0.275862 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0376dfb3e830b563293d8632aed8b30bcf83f0a | 46 | py | Python | example.py | TrueSlu/smallConsoleColors | ff7a1884af6f3c9b273949c7b8805139344289dd | [
"MIT"
] | null | null | null | example.py | TrueSlu/smallConsoleColors | ff7a1884af6f3c9b273949c7b8805139344289dd | [
"MIT"
] | null | null | null | example.py | TrueSlu/smallConsoleColors | ff7a1884af6f3c9b273949c7b8805139344289dd | [
"MIT"
] | null | null | null | from colors import *
print(R + "Hello!" + W)
| 11.5 | 23 | 0.608696 | 7 | 46 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 3 | 24 | 15.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a06dbc3a0b48a8256aefcb1dc9c38aceea9eac46 | 4,799 | py | Python | tests/test_summary.py | disktnk/chainerui | 9c71c3e07dcc6960519001212583fe37fce660f4 | [
"MIT"
] | 1 | 2018-12-25T16:04:20.000Z | 2018-12-25T16:04:20.000Z | tests/test_summary.py | yutiansut/chainerui | 058f00ec2b9a8a6ccd4f2b2f2bfc80869b771ea1 | [
"MIT"
] | null | null | null | tests/test_summary.py | yutiansut/chainerui | 058f00ec2b9a8a6ccd4f2b2f2bfc80869b771ea1 | [
"MIT"
] | null | null | null | import unittest
import chainer
import numpy as np
from chainerui import summary
class TestImage(unittest.TestCase):
def tearDown(self):
summary.chainerui_image_observer.observation = {}
def test_image_error(self):
img = np.zeros(10)
with self.assertRaises(ValueError) as e:
... | 38.087302 | 78 | 0.624713 | 655 | 4,799 | 4.476336 | 0.109924 | 0.187926 | 0.100273 | 0.085948 | 0.802865 | 0.787517 | 0.754775 | 0.735675 | 0.718281 | 0.667804 | 0 | 0.058727 | 0.240675 | 4,799 | 125 | 79 | 38.392 | 0.745884 | 0.010836 | 0 | 0.494845 | 0 | 0 | 0.033966 | 0 | 0 | 0 | 0 | 0 | 0.329897 | 1 | 0.082474 | false | 0 | 0.041237 | 0 | 0.134021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
262252225579dd44d3aaf28e322443b2f809015d | 37,803 | py | Python | instances/passenger_demand/pas-20210421-2109-int8e-1/2.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int8e-1/2.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int8e-1/2.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 1808
passenger_arriving = (
(0, 6, 3, 3, 0, 0, 7, 1, 4, 3, 1, 0), # 0
(2, 4, 4, 0, 1, 0, 1, 2, 0, 3, 1, 0), # 1
(2, 6, 2, 0, 1, 0, 3, 1, 2, 1, 0, 0), # 2
(5, 4, 1, 3, 2, 0, 3, 9, 2, 2, 0, 0), # 3
(3, 3, 3, 0, 1, 0, 2, 7, 5, 3, 0, 0), # 4
(5, 4, 3, 1, 1, 0, 6, 6, 1, 1, 1,... | 112.844776 | 216 | 0.728487 | 5,147 | 37,803 | 5.348358 | 0.21022 | 0.313862 | 0.248474 | 0.470793 | 0.335113 | 0.329701 | 0.329265 | 0.328756 | 0.328756 | 0.328756 | 0 | 0.818559 | 0.119409 | 37,803 | 334 | 217 | 113.182635 | 0.008381 | 0.032034 | 0 | 0.208861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2635aa1daa7a1a210454d5e8fc9dca7b6fa31710 | 63 | py | Python | tests/test_chain.py | Ayoke/simple-py-blockchain-program | d318743d6448456aa39145e3977bfab75caa0964 | [
"MIT"
] | 79 | 2018-03-12T08:05:26.000Z | 2022-03-12T22:29:24.000Z | tests/test_chain.py | Ayoke/simple-py-blockchain-program | d318743d6448456aa39145e3977bfab75caa0964 | [
"MIT"
] | null | null | null | tests/test_chain.py | Ayoke/simple-py-blockchain-program | d318743d6448456aa39145e3977bfab75caa0964 | [
"MIT"
] | 18 | 2018-03-13T12:57:35.000Z | 2021-06-05T15:42:00.000Z | import unittest
class TestChain(unittest.TestCase):
pass
| 10.5 | 35 | 0.761905 | 7 | 63 | 6.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 5 | 36 | 12.6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2664c817d15259cca23b6839c61cc8482c807f64 | 176 | py | Python | blogposts/admin.py | prithaupadhyay/code-talk | 1140e78d128c7cf7f7cf08039f3310bcd7cf0a52 | [
"MIT"
] | null | null | null | blogposts/admin.py | prithaupadhyay/code-talk | 1140e78d128c7cf7f7cf08039f3310bcd7cf0a52 | [
"MIT"
] | null | null | null | blogposts/admin.py | prithaupadhyay/code-talk | 1140e78d128c7cf7f7cf08039f3310bcd7cf0a52 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Question
from .models import Answer
# Register your models here
admin.site.register(Question)
admin.site.register(Answer)
| 22 | 32 | 0.818182 | 25 | 176 | 5.76 | 0.48 | 0.138889 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 176 | 7 | 33 | 25.142857 | 0.923077 | 0.142045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f825c1b20823c192400c7adcb78cece1fa5696f6 | 17,634 | py | Python | dataloader.py | mikacuy/point2cyl | a1213900e7a65fe1272e1f2159de14ba3b894502 | [
"MIT"
] | null | null | null | dataloader.py | mikacuy/point2cyl | a1213900e7a65fe1272e1f2159de14ba3b894502 | [
"MIT"
] | null | null | null | dataloader.py | mikacuy/point2cyl | a1213900e7a65fe1272e1f2159de14ba3b894502 | [
"MIT"
] | null | null | null | # Mikaela Uy (mikacuy@cs.stanford.edu)
import os, sys
import json
import numpy as np
from torch.utils.data import Dataset
import torch
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(BASE_DIR) # model
sys.path.append(os.path.join(BASE_DIR, '..','data_preprocessing'))
from global_variables import ... | 53.598784 | 254 | 0.798287 | 2,346 | 17,634 | 5.607417 | 0.05243 | 0.115545 | 0.074952 | 0.096617 | 0.918206 | 0.90688 | 0.90688 | 0.889852 | 0.888027 | 0.888027 | 0 | 0.002785 | 0.124419 | 17,634 | 328 | 255 | 53.762195 | 0.849223 | 0.021096 | 0 | 0.674157 | 0 | 0 | 0.018854 | 0.004351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.029963 | 0.007491 | 0.157303 | 0.097378 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f83204efe87f5d82e313818f45f2c997f4f7104e | 30 | py | Python | valueiter/__init__.py | piyush2896/ValueIteration-RL | c47351b9d26e0853311a4a601ad8964d922172bf | [
"MIT"
] | 1 | 2022-01-04T06:20:43.000Z | 2022-01-04T06:20:43.000Z | valueiter/__init__.py | piyush2896/ValueIteration-RL | c47351b9d26e0853311a4a601ad8964d922172bf | [
"MIT"
] | null | null | null | valueiter/__init__.py | piyush2896/ValueIteration-RL | c47351b9d26e0853311a4a601ad8964d922172bf | [
"MIT"
] | null | null | null | from .helper import value_iter | 30 | 30 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8c81984d61e407bc74429fd15273bc672b0e9e4 | 121 | py | Python | src/telliot_core/model/base.py | QuintusTheFifth/telliot-core | e22bc3b98d368fa91528f4a273ef26eddfefacaf | [
"MIT"
] | 9 | 2021-12-15T07:03:34.000Z | 2022-03-30T20:16:45.000Z | src/telliot_core/model/base.py | QuintusTheFifth/telliot-core | e22bc3b98d368fa91528f4a273ef26eddfefacaf | [
"MIT"
] | 77 | 2021-09-03T04:01:20.000Z | 2021-11-09T14:45:52.000Z | src/telliot_core/model/base.py | QuintusTheFifth/telliot-core | e22bc3b98d368fa91528f4a273ef26eddfefacaf | [
"MIT"
] | 7 | 2021-12-17T03:39:23.000Z | 2022-03-29T08:53:43.000Z | """
"""
from clamfig import Serializable
class Base(Serializable):
"""Project-wide serializable model"""
pass
| 12.1 | 41 | 0.677686 | 12 | 121 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190083 | 121 | 9 | 42 | 13.444444 | 0.836735 | 0.256198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3e10e293e3079e89729312452d1e9d1c7871876a | 26 | py | Python | cf/backend/endpoints/token/__init__.py | doublevcodes/cf-cli | 7e69b7189f9f51a13cda10a19cdee5440533b90f | [
"MIT"
] | null | null | null | cf/backend/endpoints/token/__init__.py | doublevcodes/cf-cli | 7e69b7189f9f51a13cda10a19cdee5440533b90f | [
"MIT"
] | null | null | null | cf/backend/endpoints/token/__init__.py | doublevcodes/cf-cli | 7e69b7189f9f51a13cda10a19cdee5440533b90f | [
"MIT"
] | null | null | null | from .verify import verify | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e43151c9ab9c85c110a15d0cbc89ab09112d20b7 | 34 | py | Python | copper/shout/parsers/ifd/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 6 | 2016-07-28T13:59:34.000Z | 2021-12-28T05:44:15.000Z | copper/shout/parsers/ifd/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 5 | 2016-06-30T10:19:25.000Z | 2022-03-11T23:19:01.000Z | copper/shout/parsers/ifd/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 3 | 2019-03-18T05:17:10.000Z | 2020-02-14T06:56:40.000Z | from .parser_ifd import ParserIFD
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4c24128201cb86b087718bbf5bf30bcb9c5327b | 43 | py | Python | reward/utils/filter/__init__.py | lgvaz/torchrl | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 5 | 2018-06-21T14:33:40.000Z | 2018-08-18T02:26:03.000Z | reward/utils/filter/__init__.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | null | null | null | reward/utils/filter/__init__.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 2 | 2018-05-08T03:34:49.000Z | 2018-06-22T15:04:17.000Z | from .mean_std_filter import MeanStdFilter
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4c373ca7a9781207f1bd7318099aba462aebe29 | 25,485 | py | Python | polygons.py | ariua91/clean-anomalies-vf | febc98aa1888a717ed9ec8d0ccca3cb2e1edd55f | [
"MIT"
] | null | null | null | polygons.py | ariua91/clean-anomalies-vf | febc98aa1888a717ed9ec8d0ccca3cb2e1edd55f | [
"MIT"
] | 1 | 2021-06-01T23:11:50.000Z | 2021-06-01T23:11:50.000Z | polygons.py | ariua91/clean-anomalies-vf | febc98aa1888a717ed9ec8d0ccca3cb2e1edd55f | [
"MIT"
] | null | null | null | from shapely.geometry import Point
from shapely.geometry.polygon import Polygon
POLYGON_INPUTS = {
"c-E": [
(103.8631892,1.2398037,0),
(103.8922921,1.2498086,0),
(103.866783,1.2874469,0),
(103.8651347,1.2971969,0),
(103.866044,1.2992778,0),
(103.8695792,1.3025814,... | 31.976161 | 44 | 0.526859 | 3,727 | 25,485 | 3.599678 | 0.240408 | 0.211986 | 0.0041 | 0.006336 | 0.780262 | 0.772734 | 0.735838 | 0.004621 | 0.004621 | 0 | 0 | 0.701896 | 0.267491 | 25,485 | 796 | 45 | 32.016332 | 0.016767 | 0.0031 | 0 | 0.767927 | 0 | 0 | 0.001773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001304 | false | 0 | 0.002608 | 0 | 0.005215 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4c90babe068bceb1b72bf1efafe31ad16d225a8 | 55 | py | Python | rlnets/__init__.py | HTRPOCODES/HTRPO-v2 | 7e085e8077e6caa38d192bbd33b41c49b36ad6a6 | [
"MIT"
] | 7 | 2020-02-24T15:05:20.000Z | 2021-08-24T02:27:13.000Z | rlnets/__init__.py | ZhangHanbo/Deep-Reinforcement-Learning-Package | 10ab418fcb4807747ebe162920f3df1e80b80a2a | [
"MIT"
] | null | null | null | rlnets/__init__.py | ZhangHanbo/Deep-Reinforcement-Learning-Package | 10ab418fcb4807747ebe162920f3df1e80b80a2a | [
"MIT"
] | 1 | 2020-04-11T13:08:23.000Z | 2020-04-11T13:08:23.000Z | from .NAF import *
from .PG import *
from .DQN import * | 18.333333 | 18 | 0.690909 | 9 | 55 | 4.222222 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 3 | 19 | 18.333333 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4fa7d038974c07f019712144e5dd41ec18fe110 | 28 | py | Python | plan_main.py | use358/wanghongyaun_home | e74758f5cecc09b120f1560eb2951208d8b54500 | [
"MIT"
] | null | null | null | plan_main.py | use358/wanghongyaun_home | e74758f5cecc09b120f1560eb2951208d8b54500 | [
"MIT"
] | null | null | null | plan_main.py | use358/wanghongyaun_home | e74758f5cecc09b120f1560eb2951208d8b54500 | [
"MIT"
] | null | null | null | import pygame
print("sdfs")
| 9.333333 | 13 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 2 | 14 | 14 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.