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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71420b4965cc47cf9c15af35382d69497ff8fdfc | 72 | py | Python | gym_bataille_corse/envs/__init__.py | GoareguerLucas/gym-Bataille_Corse | 17b06190757a053777f6283e5b9dfae73fd1a126 | [
"MIT"
] | null | null | null | gym_bataille_corse/envs/__init__.py | GoareguerLucas/gym-Bataille_Corse | 17b06190757a053777f6283e5b9dfae73fd1a126 | [
"MIT"
] | null | null | null | gym_bataille_corse/envs/__init__.py | GoareguerLucas/gym-Bataille_Corse | 17b06190757a053777f6283e5b9dfae73fd1a126 | [
"MIT"
] | null | null | null | from gym_bataille_corse.envs.bataille_corse_env import BatailleCorseEnv
| 36 | 71 | 0.916667 | 10 | 72 | 6.2 | 0.8 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 72 | 1 | 72 | 72 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
852f9c3c564c43d1de8040c68c010cc102d651d1 | 22 | py | Python | lowess/__init__.py | a5o/lowess | 416a83a87b0ada1fe95d973eaf64fc32a6266c40 | [
"MIT"
] | 30 | 2015-04-27T18:07:56.000Z | 2022-03-30T06:04:32.000Z | lowess/__init__.py | a5o/lowess | 416a83a87b0ada1fe95d973eaf64fc32a6266c40 | [
"MIT"
] | 3 | 2020-03-14T04:21:47.000Z | 2020-12-06T17:48:31.000Z | lowess/__init__.py | a5o/lowess | 416a83a87b0ada1fe95d973eaf64fc32a6266c40 | [
"MIT"
] | 13 | 2016-10-04T22:15:07.000Z | 2021-09-22T18:39:29.000Z | from .lowess import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
8548a834f3380d5bbc3b7807957345f8326db0a6 | 31 | py | Python | app/pdf_parser.py | s2t2/omniparser-prep-py | 8528ce9df6976e919968086bb343f5a3c160cde0 | [
"MIT"
] | 1 | 2020-02-18T21:08:42.000Z | 2020-02-18T21:08:42.000Z | app/pdf_parser.py | s2t2/omniparser-prep-py | 8528ce9df6976e919968086bb343f5a3c160cde0 | [
"MIT"
] | null | null | null | app/pdf_parser.py | s2t2/omniparser-prep-py | 8528ce9df6976e919968086bb343f5a3c160cde0 | [
"MIT"
] | null | null | null | print("PARSING A PDF FILE...")
| 15.5 | 30 | 0.645161 | 5 | 31 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
854c5a78fc151aa05c12ddc9ac6a75fda451c9de | 20 | py | Python | slack/__init__.py | alexcchan/slack | fb4a4c18624faa951ea34578cafc358edbf835da | [
"MIT"
] | null | null | null | slack/__init__.py | alexcchan/slack | fb4a4c18624faa951ea34578cafc358edbf835da | [
"MIT"
] | null | null | null | slack/__init__.py | alexcchan/slack | fb4a4c18624faa951ea34578cafc358edbf835da | [
"MIT"
] | null | null | null | from slack import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
85931b749c9bf6e7db5803a7ba5546bcedf6c4ff | 196 | py | Python | reader/settings.py | NicolasLM/feedsubs | aa41222f25631866598316fc3b631f363f942c28 | [
"MIT"
] | 78 | 2018-09-03T11:52:33.000Z | 2022-02-04T11:56:09.000Z | reader/settings.py | NicolasLM/feedsubs | aa41222f25631866598316fc3b631f363f942c28 | [
"MIT"
] | 252 | 2018-08-24T13:10:09.000Z | 2022-02-26T09:04:34.000Z | reader/settings.py | NicolasLM/feedsubs | aa41222f25631866598316fc3b631f363f942c28 | [
"MIT"
] | 12 | 2018-12-18T16:41:09.000Z | 2021-06-22T11:34:52.000Z | from django.conf import settings
READER_CACHE_IMAGES = getattr(settings, 'READER_CACHE_IMAGES', False)
READER_FEED_ARTICLE_THRESHOLD = getattr(settings, 'READER_FEED_ARTICLE_THRESHOLD', 20_000)
| 32.666667 | 90 | 0.841837 | 26 | 196 | 5.923077 | 0.576923 | 0.272727 | 0.246753 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.081633 | 196 | 5 | 91 | 39.2 | 0.827778 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 0.147959 | 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 |
8ef7db6fd91f83df844a82b1571deaf1baa84576 | 131 | py | Python | src/crypto_candlesticks/exchanges/__init__.py | miohtama/crypto-candlesticks | fd8741365fbc94e5bec6707ea125b91582ac3713 | [
"MIT"
] | null | null | null | src/crypto_candlesticks/exchanges/__init__.py | miohtama/crypto-candlesticks | fd8741365fbc94e5bec6707ea125b91582ac3713 | [
"MIT"
] | null | null | null | src/crypto_candlesticks/exchanges/__init__.py | miohtama/crypto-candlesticks | fd8741365fbc94e5bec6707ea125b91582ac3713 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Crypto candlesticks supported exchanges."""
from crypto_candlesticks.exchanges.bitfinex import Bitfinex
| 32.75 | 59 | 0.763359 | 14 | 131 | 7.071429 | 0.714286 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.099237 | 131 | 3 | 60 | 43.666667 | 0.830508 | 0.480916 | 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 |
8ef835171bbc6ac592bdbf4f7adf671d12d187de | 226 | py | Python | DJANGO/users/views.py | DunZheXu/niubi | b81a7b2806fd1a4eb5a65d46272ea69796a5eaee | [
"MIT"
] | null | null | null | DJANGO/users/views.py | DunZheXu/niubi | b81a7b2806fd1a4eb5a65d46272ea69796a5eaee | [
"MIT"
] | null | null | null | DJANGO/users/views.py | DunZheXu/niubi | b81a7b2806fd1a4eb5a65d46272ea69796a5eaee | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def register(request):
return HttpResponse('123456')
# Create your views here.
def index(request):# request请求返回对象
return HttpResponse('123123') | 25.111111 | 36 | 0.778761 | 27 | 226 | 6.518519 | 0.703704 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.137168 | 226 | 9 | 37 | 25.111111 | 0.841026 | 0.163717 | 0 | 0 | 0 | 0 | 0.064171 | 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 |
f11f094d13f9e292a720e7936fa0771330a12d62 | 166 | py | Python | api/source/base/command.py | 1pkg/ReRe | 83f77d2cece0fb5f6d7b86a395fcca7d4e16459f | [
"MIT"
] | 1 | 2019-12-17T10:31:48.000Z | 2019-12-17T10:31:48.000Z | api/source/base/command.py | c-pkg/ReRe | 83f77d2cece0fb5f6d7b86a395fcca7d4e16459f | [
"MIT"
] | null | null | null | api/source/base/command.py | c-pkg/ReRe | 83f77d2cece0fb5f6d7b86a395fcca7d4e16459f | [
"MIT"
] | 1 | 2019-04-29T08:19:36.000Z | 2019-04-29T08:19:36.000Z | class Command:
ARGUMENTS = []
def __init__(self, application):
self._application = application
def execute(self):
return NotImplemented
| 18.444444 | 39 | 0.650602 | 15 | 166 | 6.866667 | 0.666667 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271084 | 166 | 8 | 40 | 20.75 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.833333 | 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 |
f13c9650915ec4b0d024d0f445bcdac40b606341 | 91 | py | Python | src/csv_import/__main__.py | vbessonov/csv-import | 07b570341720648fc5671f273778087abf8220d0 | [
"MIT"
] | null | null | null | src/csv_import/__main__.py | vbessonov/csv-import | 07b570341720648fc5671f273778087abf8220d0 | [
"MIT"
] | 1 | 2020-03-22T21:47:17.000Z | 2020-03-22T21:47:17.000Z | src/csv_import/__main__.py | vbessonov/csv-import | 07b570341720648fc5671f273778087abf8220d0 | [
"MIT"
] | null | null | null | from csv_import.cli import cli
if __name__ == "__main__":
cli(prog_name='csv-import')
| 18.2 | 31 | 0.714286 | 14 | 91 | 3.928571 | 0.571429 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 4 | 32 | 22.75 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f149c7e5cc06b162630cc42cc388b70b5a5478a0 | 29 | py | Python | models/__init__.py | junariltd/junari_workflow | 2226bef1f43a91c3e2e188df0a3b29f7898a8ec3 | [
"MIT"
] | 2 | 2021-04-17T23:54:09.000Z | 2021-09-20T02:47:02.000Z | models/__init__.py | junariltd/junari_workflow | 2226bef1f43a91c3e2e188df0a3b29f7898a8ec3 | [
"MIT"
] | null | null | null | models/__init__.py | junariltd/junari_workflow | 2226bef1f43a91c3e2e188df0a3b29f7898a8ec3 | [
"MIT"
] | 1 | 2020-08-12T17:25:40.000Z | 2020-08-12T17:25:40.000Z | from . import workflow_mixin
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1643edb3c494ad2cf8840440e5ea4a0078d92a4 | 43 | py | Python | app/hellosns/__init__.py | hupili/snsapi | 129529b89f38cbee253a23e5ed31dae2a0ea4254 | [
"Unlicense"
] | 51 | 2015-01-26T10:42:40.000Z | 2021-12-03T01:51:45.000Z | app/myword/__init__.py | wcyz666/snsapi | 19fcf5ca48bc709db50f8f622a30dc4d55924d4e | [
"Unlicense"
] | 3 | 2021-02-08T20:16:08.000Z | 2021-12-13T19:40:11.000Z | app/myword/__init__.py | wcyz666/snsapi | 19fcf5ca48bc709db50f8f622a30dc4d55924d4e | [
"Unlicense"
] | 17 | 2015-01-19T02:25:13.000Z | 2018-07-25T13:03:25.000Z | # This file is here to help Sphinx autodoc
| 21.5 | 42 | 0.767442 | 8 | 43 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 1 | 43 | 43 | 0.970588 | 0.930233 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f16821c8fda96d4d8e063e89c3e2b3be9e18a9b1 | 173 | py | Python | backend/patientlog/admin.py | Foxnaut/PySician | 4cd37e1f707dd9c36619d2580167f4c94d8414f7 | [
"MIT"
] | 1 | 2021-08-09T20:34:09.000Z | 2021-08-09T20:34:09.000Z | backend/patientlog/admin.py | Foxnaut/PySician | 4cd37e1f707dd9c36619d2580167f4c94d8414f7 | [
"MIT"
] | null | null | null | backend/patientlog/admin.py | Foxnaut/PySician | 4cd37e1f707dd9c36619d2580167f4c94d8414f7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Patient
from .models import Doctor
# Register created models.
admin.site.register(Patient)
admin.site.register(Doctor) | 21.625 | 32 | 0.815029 | 24 | 173 | 5.875 | 0.458333 | 0.141844 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109827 | 173 | 8 | 33 | 21.625 | 0.915584 | 0.138728 | 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 |
74c3de9e6dcf2b483d0b6c9c58a7c09ccbf081d7 | 29,779 | py | Python | ciscoisesdk/api/v3_1_1/node_deployment.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | ciscoisesdk/api/v3_1_1/node_deployment.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | ciscoisesdk/api/v3_1_1/node_deployment.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""Cisco Identity Services Engine Node Deployment API wrapper.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without rest... | 38.325611 | 124 | 0.59505 | 3,161 | 29,779 | 5.404619 | 0.121481 | 0.026926 | 0.019668 | 0.027394 | 0.766916 | 0.753571 | 0.731562 | 0.712128 | 0.70487 | 0.703875 | 0 | 0.014317 | 0.345613 | 29,779 | 776 | 125 | 38.375 | 0.86237 | 0.462608 | 0 | 0.724638 | 0 | 0 | 0.064988 | 0.052034 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031884 | false | 0.034783 | 0.026087 | 0 | 0.089855 | 0.002899 | 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 |
74d69f1bb9b2aacc336cce349d940f1397ee8b11 | 34 | py | Python | dgt/graph/__init__.py | fractalego/dgt | 6781b9445d93c4a1680ab3d5636803c81062cc67 | [
"MIT"
] | 3 | 2021-07-26T02:07:15.000Z | 2021-12-21T22:36:15.000Z | dgt/graph/__init__.py | fractalego/dgt | 6781b9445d93c4a1680ab3d5636803c81062cc67 | [
"MIT"
] | null | null | null | dgt/graph/__init__.py | fractalego/dgt | 6781b9445d93c4a1680ab3d5636803c81062cc67 | [
"MIT"
] | null | null | null | from .graph_rule import GraphRule
| 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 |
743bed8ba0725a0a366eab7186445dc15cac85a3 | 42 | py | Python | source/__init__.py | tailerr/R-NET-pytorch | a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd | [
"MIT"
] | null | null | null | source/__init__.py | tailerr/R-NET-pytorch | a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd | [
"MIT"
] | null | null | null | source/__init__.py | tailerr/R-NET-pytorch | a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd | [
"MIT"
] | 2 | 2020-03-04T05:48:48.000Z | 2020-03-04T06:37:27.000Z | from .model import RNet
from .nn import *
| 14 | 23 | 0.738095 | 7 | 42 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 24 | 21 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77a3ff7f8bd99e48fe15e40673a17893a3feba10 | 8,530 | py | Python | models/conv.py | gdasoulas/PGSO | 0fa02c626c9c9cf7e046f11ccbfd3bd6dc329a8d | [
"MIT"
] | 1 | 2022-03-08T15:23:26.000Z | 2022-03-08T15:23:26.000Z | models/conv.py | gdasoulas/PGSO | 0fa02c626c9c9cf7e046f11ccbfd3bd6dc329a8d | [
"MIT"
] | null | null | null | models/conv.py | gdasoulas/PGSO | 0fa02c626c9c9cf7e046f11ccbfd3bd6dc329a8d | [
"MIT"
] | null | null | null | ################################
# Convolutional models
################################
import torch.nn as nn
import torch.nn.functional as F
from layers import GraphConvolution
from torch_geometric.nn import global_add_pool, GINConv
from torch.nn.init import xavier_uniform_
import torch
import numpy as n... | 44.196891 | 116 | 0.571981 | 1,080 | 8,530 | 4.347222 | 0.103704 | 0.102236 | 0.178914 | 0.129712 | 0.820447 | 0.805964 | 0.786368 | 0.755272 | 0.751012 | 0.701597 | 0 | 0.020074 | 0.27585 | 8,530 | 192 | 117 | 44.427083 | 0.740003 | 0.065651 | 0 | 0.547445 | 0 | 0 | 0.017532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051095 | false | 0 | 0.058394 | 0 | 0.153285 | 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 |
77d7ec756b51935183f709c03854aa68bccaacec | 39 | py | Python | main.py | IsoT0P0S/Metodo-GaussJordan | d135c68254263ff850868715455b813eda5b3596 | [
"MIT"
] | null | null | null | main.py | IsoT0P0S/Metodo-GaussJordan | d135c68254263ff850868715455b813eda5b3596 | [
"MIT"
] | null | null | null | main.py | IsoT0P0S/Metodo-GaussJordan | d135c68254263ff850868715455b813eda5b3596 | [
"MIT"
] | null | null | null | import imp
from Gauss.MetGauss import * | 19.5 | 28 | 0.820513 | 6 | 39 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 28 | 19.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ad7be5f357cb1a8a473a6c74d4e79d5f4417799 | 48 | py | Python | tests/tokenizer/util.py | lparolari/weakvtg | e5d5f738ff0d916da8b31e967aa21f01fb74a906 | [
"RSA-MD",
"Info-ZIP"
] | null | null | null | tests/tokenizer/util.py | lparolari/weakvtg | e5d5f738ff0d916da8b31e967aa21f01fb74a906 | [
"RSA-MD",
"Info-ZIP"
] | null | null | null | tests/tokenizer/util.py | lparolari/weakvtg | e5d5f738ff0d916da8b31e967aa21f01fb74a906 | [
"RSA-MD",
"Info-ZIP"
] | null | null | null | def text(doc):
return [t.text for t in doc]
| 16 | 32 | 0.625 | 10 | 48 | 3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 48 | 2 | 33 | 24 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7ae7cbee5c03fdd428839531b28e2081821c7b4d | 12,763 | py | Python | pytorch_toolbelt/modules/encoders/timm/efficient_net.py | Pandinosaurus/pytorch-toolbelt | 94d16a339cf9cb4b95bcaa539a462d81f4b82725 | [
"MIT"
] | 1 | 2021-08-18T07:05:50.000Z | 2021-08-18T07:05:50.000Z | pytorch_toolbelt/modules/encoders/timm/efficient_net.py | Pandinosaurus/pytorch-toolbelt | 94d16a339cf9cb4b95bcaa539a462d81f4b82725 | [
"MIT"
] | null | null | null | pytorch_toolbelt/modules/encoders/timm/efficient_net.py | Pandinosaurus/pytorch-toolbelt | 94d16a339cf9cb4b95bcaa539a462d81f4b82725 | [
"MIT"
] | null | null | null | import math
import warnings
import torch
from torch import nn
from ..common import EncoderModule, _take
from ...activations import ACT_SILU, get_activation_block
__all__ = [
"TimmB0Encoder",
"TimmB1Encoder",
"TimmB2Encoder",
"TimmB3Encoder",
"TimmB4Encoder",
"TimmB5Encoder",
"TimmB6Encode... | 35.063187 | 111 | 0.630103 | 1,653 | 12,763 | 4.616455 | 0.095584 | 0.051894 | 0.029354 | 0.044817 | 0.811951 | 0.803564 | 0.800026 | 0.793474 | 0.786791 | 0.786791 | 0 | 0.049215 | 0.251743 | 12,763 | 363 | 112 | 35.15978 | 0.749843 | 0.002977 | 0 | 0.581633 | 0 | 0 | 0.025859 | 0 | 0 | 0 | 0 | 0 | 0.003401 | 1 | 0.095238 | false | 0 | 0.054422 | 0 | 0.248299 | 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 |
bb0528f9a3ce1d5a0ec89b74fe354d09a50a3239 | 100 | py | Python | speed/cython/scipy2013-cython-tutorial-master/exercises/hello-world/use_pyximport.py | jeffzhengye/pylearn | a140d0fca8a371faada194cb0126192675cc2045 | [
"Unlicense"
] | 2 | 2016-02-17T06:00:35.000Z | 2020-11-23T13:34:00.000Z | speed/cython/scipy2013-cython-tutorial-master/exercises/hello-world/use_pyximport.py | jeffzhengye/pylearn | a140d0fca8a371faada194cb0126192675cc2045 | [
"Unlicense"
] | null | null | null | speed/cython/scipy2013-cython-tutorial-master/exercises/hello-world/use_pyximport.py | jeffzhengye/pylearn | a140d0fca8a371faada194cb0126192675cc2045 | [
"Unlicense"
] | null | null | null | import pyximport; pyximport.install()
import cython_hello_world
print cython_hello_world.add(1,2)
| 16.666667 | 37 | 0.83 | 15 | 100 | 5.266667 | 0.666667 | 0.278481 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.09 | 100 | 5 | 38 | 20 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bb0dfab4f6354f4cc15d2a6aadb0c1636ad214e4 | 99 | py | Python | fem/gui/vtk_widget/groups_toolbar/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | 1 | 2019-08-03T21:40:26.000Z | 2019-08-03T21:40:26.000Z | fem/gui/vtk_widget/groups_toolbar/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | fem/gui/vtk_widget/groups_toolbar/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | from __future__ import print_function, absolute_import
from ._groups_toolbar import GroupsToolbar
| 24.75 | 54 | 0.878788 | 12 | 99 | 6.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 3 | 55 | 33 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7005562403add2d19f81bd83ff28cfc1bee26eea | 29,960 | py | Python | General.py | Oricul/UthHerald | 81c76cbf013846fe5acf3e907fed22023e7798fb | [
"MIT"
] | 2 | 2017-07-15T19:23:22.000Z | 2019-03-21T17:07:50.000Z | General.py | Oricul/UthHerald | 81c76cbf013846fe5acf3e907fed22023e7798fb | [
"MIT"
] | 1 | 2017-10-24T09:50:51.000Z | 2017-10-24T22:31:14.000Z | General.py | Oricul/UthHerald | 81c76cbf013846fe5acf3e907fed22023e7798fb | [
"MIT"
] | 2 | 2017-09-03T19:13:47.000Z | 2018-02-01T03:11:30.000Z | #!/usr/bin/env python3
from urllib.request import Request, urlopen
from urllib.error import URLError
import discord
from discord.ext import commands
import datetime
import json
import asyncio
from aiohttp import ClientSession
import aiohttp
from aiohttp import web
import re
import time
import delcomp
import formatting
... | 66.577778 | 405 | 0.558645 | 3,340 | 29,960 | 4.986527 | 0.098503 | 0.045032 | 0.097989 | 0.060943 | 0.836686 | 0.816692 | 0.80042 | 0.786791 | 0.77136 | 0.739117 | 0 | 0.019817 | 0.312817 | 29,960 | 449 | 406 | 66.726058 | 0.789149 | 0.025801 | 0 | 0.699519 | 0 | 0.072115 | 0.18622 | 0.00277 | 0 | 0 | 0.009537 | 0 | 0 | 1 | 0.004808 | false | 0.004808 | 0.036058 | 0 | 0.088942 | 0.009615 | 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 |
7019485cdef06af6b0153e9797fdd797bfd730f6 | 157 | py | Python | generated-libraries/python/netapp/diagnosis/hm_perceived_sev.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/diagnosis/hm_perceived_sev.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/diagnosis/hm_perceived_sev.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class HmPerceivedSev(basestring):
"""
Alert severity
"""
@staticmethod
def get_api_name():
return "hm-perceived-sev"
| 15.7 | 35 | 0.566879 | 14 | 157 | 6.214286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324841 | 157 | 9 | 36 | 17.444444 | 0.820755 | 0.089172 | 0 | 0 | 0 | 0 | 0.125984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
704a60511ddac0328c689b26b7bbd886ae1bd490 | 5,202 | py | Python | tools/demo.py | uvavision/DrillDown | 58fb4f382afda8460a7d0971c45a76d3d0bbe22d | [
"Unlicense",
"MIT"
] | 10 | 2019-11-12T13:12:43.000Z | 2021-11-29T07:27:00.000Z | tools/demo.py | uvavision/DrillDown | 58fb4f382afda8460a7d0971c45a76d3d0bbe22d | [
"Unlicense",
"MIT"
] | null | null | null | tools/demo.py | uvavision/DrillDown | 58fb4f382afda8460a7d0971c45a76d3d0bbe22d | [
"Unlicense",
"MIT"
] | 4 | 2019-11-27T06:43:40.000Z | 2021-11-29T07:27:03.000Z | #!/usr/bin/env python
import _init_paths
import os, sys, cv2, json
import math, PIL, cairo
import numpy as np
import pickle, random
import os.path as osp
from time import time
from config import get_config
from copy import deepcopy
from glob import glob
import matplotlib.pyplot as plt
from utils import *
import torch... | 33.133758 | 107 | 0.640138 | 748 | 5,202 | 4.161765 | 0.175134 | 0.077096 | 0.084806 | 0.035978 | 0.781561 | 0.766142 | 0.752008 | 0.742692 | 0.742692 | 0.734019 | 0 | 0.025361 | 0.242022 | 5,202 | 157 | 108 | 33.133758 | 0.764139 | 0.010573 | 0 | 0.723077 | 0 | 0 | 0.066278 | 0.025462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023077 | false | 0 | 0.146154 | 0 | 0.169231 | 0.084615 | 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 |
705950fd3e597cfb2d45b078cd7bc524b587768f | 136 | py | Python | HW1/Numpy/Zeros and ones.py | danial1371/ADM-HW1 | 30c8b7879b14d29dddf6e20192f7e0fea2466cf9 | [
"MIT"
] | null | null | null | HW1/Numpy/Zeros and ones.py | danial1371/ADM-HW1 | 30c8b7879b14d29dddf6e20192f7e0fea2466cf9 | [
"MIT"
] | null | null | null | HW1/Numpy/Zeros and ones.py | danial1371/ADM-HW1 | 30c8b7879b14d29dddf6e20192f7e0fea2466cf9 | [
"MIT"
] | null | null | null | import numpy
n=tuple(map(int,input().split()))
print(numpy.zeros((n),dtype=numpy.int))
print(numpy.ones((n),dtype=numpy.int))
| 17 | 40 | 0.661765 | 22 | 136 | 4.090909 | 0.545455 | 0.222222 | 0.244444 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 7 | 41 | 19.428571 | 0.743802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
705f561862bd5303d5e94b2593945722d722dc23 | 75 | py | Python | django_fsm_freeze/__init__.py | ming-tung/django-fsm-freeze | 3bcdec7d8e0ef0e5e4d4997be7ac51b39567ff40 | [
"MIT"
] | 4 | 2022-02-07T12:25:51.000Z | 2022-02-17T19:08:20.000Z | django_fsm_freeze/__init__.py | ming-tung/django-fsm-freeze | 3bcdec7d8e0ef0e5e4d4997be7ac51b39567ff40 | [
"MIT"
] | 36 | 2021-08-04T09:16:15.000Z | 2022-03-28T19:24:03.000Z | django_fsm_freeze/__init__.py | ming-tung/django-fsm-freeze | 3bcdec7d8e0ef0e5e4d4997be7ac51b39567ff40 | [
"MIT"
] | 2 | 2021-08-18T10:09:37.000Z | 2022-03-10T14:05:58.000Z | from .models import FreezableFSMModelMixin, bypass_fsm_freeze # noqa:F401
| 37.5 | 74 | 0.84 | 9 | 75 | 6.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.106667 | 75 | 1 | 75 | 75 | 0.865672 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
70940a107152aa3f4e967366443f9b7a829d3535 | 87 | py | Python | violation/models/__init__.py | adepeter/django-violations | 92f6052a11594a66a7a963abb04cb17e00412bcc | [
"MIT"
] | 1 | 2020-05-24T20:46:20.000Z | 2020-05-24T20:46:20.000Z | violation/models/__init__.py | adepeter/django-violations | 92f6052a11594a66a7a963abb04cb17e00412bcc | [
"MIT"
] | null | null | null | violation/models/__init__.py | adepeter/django-violations | 92f6052a11594a66a7a963abb04cb17e00412bcc | [
"MIT"
] | null | null | null | from violation.models.rule import Rule
from violation.models.violation import Violation | 43.5 | 48 | 0.873563 | 12 | 87 | 6.333333 | 0.416667 | 0.342105 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 2 | 48 | 43.5 | 0.95 | 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 |
70a87647e36f5a35d0fcf6bbc6820e57fe5fd12c | 289 | py | Python | python/graphscope/nx/tests/algorithms/forward/centrality/test_group.py | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 1,521 | 2020-10-28T03:20:24.000Z | 2022-03-31T12:42:51.000Z | python/graphscope/nx/tests/algorithms/forward/centrality/test_group.py | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 850 | 2020-12-15T03:17:32.000Z | 2022-03-31T11:40:13.000Z | python/graphscope/nx/tests/algorithms/forward/centrality/test_group.py | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 180 | 2020-11-10T03:43:21.000Z | 2022-03-28T11:13:31.000Z | import networkx.algorithms.centrality.tests.test_group
import pytest
from graphscope.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.centrality.tests.test_group,
decorators=pytest.mark.usefixtures("graphscope_session"))
| 36.125 | 81 | 0.802768 | 35 | 289 | 6.371429 | 0.514286 | 0.161435 | 0.251121 | 0.295964 | 0.376682 | 0.376682 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124567 | 289 | 7 | 82 | 41.285714 | 0.881423 | 0 | 0 | 0 | 0 | 0 | 0.062284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
560a42e37e4dccbbca1f94c8670404d0e6b99ac9 | 39 | py | Python | yote/__init__.py | gelpd/yote | d30d71e0430bda337b732481ba0ed5bf0b990598 | [
"MIT"
] | null | null | null | yote/__init__.py | gelpd/yote | d30d71e0430bda337b732481ba0ed5bf0b990598 | [
"MIT"
] | 1 | 2020-09-14T04:34:54.000Z | 2020-09-14T04:34:54.000Z | yote/__init__.py | gelpd/yote | d30d71e0430bda337b732481ba0ed5bf0b990598 | [
"MIT"
] | null | null | null | from yote.experiment import Experiment
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
563582b15d77da5eb881db3a8f1e008b1e1bff8f | 120 | py | Python | pae/book_edit_bootstrap/django/test/testapp/views.py | wasit7/book_pae | c53cca3342593a2769f398db9bf969515d3de117 | [
"MIT"
] | null | null | null | pae/book_edit_bootstrap/django/test/testapp/views.py | wasit7/book_pae | c53cca3342593a2769f398db9bf969515d3de117 | [
"MIT"
] | null | null | null | pae/book_edit_bootstrap/django/test/testapp/views.py | wasit7/book_pae | c53cca3342593a2769f398db9bf969515d3de117 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def homep(request):
return render(request, 'homep.html') | 24 | 37 | 0.775 | 17 | 120 | 5.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 5 | 37 | 24 | 0.885714 | 0.191667 | 0 | 0 | 0 | 0 | 0.104167 | 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 |
5637cd0e72876dd9fdbdf0cea886063bb10acf34 | 124 | py | Python | 20160213_3.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | 20160213_3.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | 20160213_3.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | #_*_ coding: utf-8 _*_
#import urlopen
import mod1
print mod1.sum(1,2)
print mod1.safe_sum(1,2)
print mod1.safe_sum(1,'a')
| 15.5 | 26 | 0.717742 | 24 | 124 | 3.458333 | 0.5 | 0.325301 | 0.120482 | 0.240964 | 0.481928 | 0.481928 | 0.481928 | 0.481928 | 0 | 0 | 0 | 0.091743 | 0.120968 | 124 | 7 | 27 | 17.714286 | 0.669725 | 0.282258 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.75 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
563f07d754a345b9a7b49bb15eb9954375759995 | 183 | py | Python | travel_distance_map/__init__.py | pdyban/travel_distance_map | 4e36fcee5fcb6a1682001aaff93912482deb05e7 | [
"MIT"
] | 1 | 2020-07-02T20:13:21.000Z | 2020-07-02T20:13:21.000Z | travel_distance_map/__init__.py | pdyban/travel_distance_map | 4e36fcee5fcb6a1682001aaff93912482deb05e7 | [
"MIT"
] | null | null | null | travel_distance_map/__init__.py | pdyban/travel_distance_map | 4e36fcee5fcb6a1682001aaff93912482deb05e7 | [
"MIT"
] | null | null | null | from .api import Query
from .api import VBBAPI, VBBAPICached
from .api import API, APICached
from .cache import SQLiteCache
from .primitives import GPSPoint, APIError, Position, Trip
| 30.5 | 58 | 0.808743 | 25 | 183 | 5.92 | 0.56 | 0.141892 | 0.263514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136612 | 183 | 5 | 59 | 36.6 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b61a4c0e5ae956af72ac7adf1030aa3c18568ed | 998 | py | Python | aoc-2021/python/test/test_day_12.py | phoenix10k/advent-of-code | 22d9b6c82b86ca90bdaebcdcb634cf98d934779a | [
"MIT"
] | null | null | null | aoc-2021/python/test/test_day_12.py | phoenix10k/advent-of-code | 22d9b6c82b86ca90bdaebcdcb634cf98d934779a | [
"MIT"
] | null | null | null | aoc-2021/python/test/test_day_12.py | phoenix10k/advent-of-code | 22d9b6c82b86ca90bdaebcdcb634cf98d934779a | [
"MIT"
] | null | null | null | import os
from day_12 import parse_input, count_paths, count_paths_2
def test_part_1() -> None:
os.chdir(os.path.dirname(__file__))
with open("data/test_day_12_1.in") as input_file:
caves = parse_input(input_file)
assert count_paths(caves) == 10
with open("data/test_day_12_2.in") as input_fil... | 33.266667 | 58 | 0.696393 | 164 | 998 | 3.859756 | 0.20122 | 0.170616 | 0.113744 | 0.151659 | 0.851501 | 0.851501 | 0.851501 | 0.851501 | 0.851501 | 0.851501 | 0 | 0.052174 | 0.193387 | 998 | 29 | 59 | 34.413793 | 0.734161 | 0 | 0 | 0.583333 | 0 | 0 | 0.126253 | 0.126253 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 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 |
3b6620736d96d1010e2f37d69ec00cdde1e2f5b7 | 104,858 | py | Python | test_autolens/unit/lens/test_plane.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | test_autolens/unit/lens/test_plane.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | test_autolens/unit/lens/test_plane.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from astropy import cosmology as cosmo
from skimage import measure
import os
import autofit as af
import autoastro as am
import autolens as al
from autolens.lens import plane
from autolens import exc
import autoarray as aa
from test_autoarray.mock import mock_inversion
planck = cosm... | 37.637473 | 118 | 0.568989 | 12,800 | 104,858 | 4.3375 | 0.032109 | 0.008321 | 0.037464 | 0.048685 | 0.88188 | 0.854341 | 0.827774 | 0.802684 | 0.761707 | 0.725108 | 0 | 0.055681 | 0.331515 | 104,858 | 2,785 | 119 | 37.650987 | 0.736376 | 0.011072 | 0 | 0.584022 | 0 | 0 | 0.030181 | 0.006241 | 0 | 0 | 0 | 0 | 0.152893 | 1 | 0.038108 | false | 0 | 0.00551 | 0 | 0.057392 | 0.001377 | 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 |
8e858342f1e03cb02292e2261414dccdccbf7771 | 39 | py | Python | PyWeChatSpy/games/__init__.py | Mickls/PyWeChatSpy | 6f5ad13eaeb6c0bf350d829f5ba924f2ccdd3d67 | [
"Apache-2.0"
] | 445 | 2020-04-09T15:54:40.000Z | 2022-03-27T01:30:21.000Z | PyWeChatSpy/games/__init__.py | w290340453t/PyWeChatSpy | c926a3a987684455591ac1e89a382480bc98bd05 | [
"Apache-2.0"
] | 49 | 2020-04-08T12:28:30.000Z | 2022-03-12T05:07:35.000Z | PyWeChatSpy/games/__init__.py | w290340453t/PyWeChatSpy | c926a3a987684455591ac1e89a382480bc98bd05 | [
"Apache-2.0"
] | 187 | 2020-04-17T00:41:30.000Z | 2022-03-31T10:29:07.000Z | from .truth_or_dare import TruthOrDare
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 1 | 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 |
8e984dd9fe4b50c62e3ef9bf63581510a6a92a06 | 18,371 | py | Python | utils/gee.py | leomuckley/ml_flood_prediction | abf5ffb82216163dd3c0f4c62cc56e5ca010709a | [
"MIT"
] | 3 | 2020-10-12T13:52:19.000Z | 2021-08-02T09:39:25.000Z | utils/gee.py | leomuckley/ml_flood_prediction | abf5ffb82216163dd3c0f4c62cc56e5ca010709a | [
"MIT"
] | null | null | null | utils/gee.py | leomuckley/ml_flood_prediction | abf5ffb82216163dd3c0f4c62cc56e5ca010709a | [
"MIT"
] | 3 | 2021-02-22T07:23:46.000Z | 2021-09-12T00:45:03.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import geopandas as gpd
from shapely.geometry import Point
moz_zipfile = "zip:///home/leo/Desktop/ml_flood_prediction/data/floods_13-03-2020/moz_flood.zip"
moz_gdf = gpd.read_file(moz_zipfile)
moz_g... | 38.839323 | 99 | 0.568233 | 2,347 | 18,371 | 4.272262 | 0.092885 | 0.047871 | 0.044081 | 0.036701 | 0.880323 | 0.873841 | 0.8519 | 0.841727 | 0.841727 | 0.838835 | 0 | 0.061418 | 0.317566 | 18,371 | 472 | 100 | 38.92161 | 0.738374 | 0.137771 | 0 | 0.685315 | 0 | 0.01049 | 0.117204 | 0.063512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034965 | false | 0 | 0.027972 | 0 | 0.101399 | 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 |
8eab9e2c19dc15809cd71e653a239eed702dba2f | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/compiled/getattr_static.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/compiled/getattr_static.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/compiled/getattr_static.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/dc/fb/6b/766a65a8141a6e152d8ff865138fe2130828aca838d60243241f80916a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d925b6f575da037ac5c3f27b0f4ca4eb64e262cf | 683 | py | Python | Iris_recog/morph.py | Theocrat/Iris | 5aaba5dc915f53d148106c0c6bca57e09c548d9c | [
"MIT"
] | null | null | null | Iris_recog/morph.py | Theocrat/Iris | 5aaba5dc915f53d148106c0c6bca57e09c548d9c | [
"MIT"
] | null | null | null | Iris_recog/morph.py | Theocrat/Iris | 5aaba5dc915f53d148106c0c6bca57e09c548d9c | [
"MIT"
] | null | null | null | from numpy import zeros
def erode(img, size=3):
pad = int(size/2)
gmi = zeros([img.shape[0]-2*pad,img.shape[1]-2*pad])
for i in range(gmi.shape[0]):
for j in range(gmi.shape[1]):
result = True
for u in range(-pad,pad+1):
for v in range(-pad,pad+1):
if img[i+u+pad,j+v+pad] == 0: result = False
gm... | 26.269231 | 53 | 0.607613 | 142 | 683 | 2.922535 | 0.204225 | 0.13494 | 0.096386 | 0.144578 | 0.833735 | 0.833735 | 0.833735 | 0.722892 | 0.722892 | 0.722892 | 0 | 0.040073 | 0.196193 | 683 | 25 | 54 | 27.32 | 0.715847 | 0 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.217391 | 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 |
d92b14a8426c7e0f89c49aa6004e8818d0595509 | 171 | py | Python | test/disease_model/models/test_seir.py | whymath/help_project | e729ffa26646af4fc1badf851d2f92f55f9dc488 | [
"Apache-2.0"
] | 7 | 2020-05-21T03:37:14.000Z | 2021-04-24T15:18:17.000Z | test/disease_model/models/test_seir.py | whymath/help_project | e729ffa26646af4fc1badf851d2f92f55f9dc488 | [
"Apache-2.0"
] | 9 | 2020-06-03T12:48:26.000Z | 2020-07-26T16:29:05.000Z | test/disease_model/models/test_seir.py | whymath/help_project | e729ffa26646af4fc1badf851d2f92f55f9dc488 | [
"Apache-2.0"
] | 9 | 2020-05-21T14:48:08.000Z | 2020-06-19T14:15:02.000Z | """Test the seir module.
Right now, the seir module is used in the main notebook successfuly, so this is
less urgent."""
def sample_test():
"""Placeholder test."""
| 19 | 79 | 0.695906 | 26 | 171 | 4.538462 | 0.730769 | 0.118644 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187135 | 171 | 8 | 80 | 21.375 | 0.848921 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d96a8691ca6b5c2b1bf12389baeb66f7e73a85f3 | 85 | py | Python | astroaugmentations/image_domain/__init__.py | mb010/AstroAugmentations | ce62b0e8a10eece1972b884e86f072236c104400 | [
"MIT"
] | 1 | 2022-03-17T10:16:21.000Z | 2022-03-17T10:16:21.000Z | astroaugmentations/image_domain/__init__.py | mb010/AstroAugmentations | ce62b0e8a10eece1972b884e86f072236c104400 | [
"MIT"
] | 4 | 2022-03-07T14:33:00.000Z | 2022-03-18T16:12:03.000Z | astroaugmentations/image_domain/__init__.py | mb010/AstroAugmentations | ce62b0e8a10eece1972b884e86f072236c104400 | [
"MIT"
] | null | null | null | from .general import *
from . import radio as radio
from . import optical as optical
| 21.25 | 32 | 0.764706 | 13 | 85 | 5 | 0.461538 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 3 | 33 | 28.333333 | 0.942029 | 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 |
d999aed615179392d1cb1a51a65eea6ad5f6adb4 | 23 | py | Python | ecogvis/__init__.py | NKI-ECOG/ecogVIS | f65212fc238e5b2588a4674a6aa1236f99e7d833 | [
"BSD-3-Clause"
] | 13 | 2020-04-01T22:39:24.000Z | 2022-03-04T13:27:51.000Z | ecogvis/__init__.py | NKI-ECOG/ecogVIS | f65212fc238e5b2588a4674a6aa1236f99e7d833 | [
"BSD-3-Clause"
] | 56 | 2020-04-01T14:27:21.000Z | 2022-03-23T21:33:06.000Z | ecogvis/__init__.py | luiztauffer/ecogVIS | c97e79a20b3af1074a3a5e1f1ad864a580c97e04 | [
"BSD-3-Clause"
] | 11 | 2020-05-15T17:48:53.000Z | 2022-02-01T23:55:12.000Z | from .ecogvis import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
7948db7459180490d1a7091ea12e1afee89fbcc5 | 67 | py | Python | test/regression/features/integers/ints.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/integers/ints.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 2 | 2015-03-07T14:08:33.000Z | 2015-10-13T02:00:40.000Z | test/regression/features/integers/ints.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 4 | 2015-05-03T22:07:27.000Z | 2018-09-10T08:55:03.000Z | print(0)
print(-0)
print(1)
print(-1)
print(type(1))
print(int(1))
| 9.571429 | 14 | 0.641791 | 14 | 67 | 3.071429 | 0.357143 | 0.418605 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.089552 | 67 | 6 | 15 | 11.166667 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7979dfdc398f7fe80f2e7c336f3dc96ba02d91e2 | 3,409 | py | Python | unittests/test_dataset_creation/test_read_from_csv.py | imsb-uke/ecarenet | ffbf24e740d9154312d02b9f775816ed4b3d4691 | [
"MIT"
] | 1 | 2022-01-25T09:49:45.000Z | 2022-01-25T09:49:45.000Z | unittests/test_dataset_creation/test_read_from_csv.py | imsb-uke/ecarenet | ffbf24e740d9154312d02b9f775816ed4b3d4691 | [
"MIT"
] | null | null | null | unittests/test_dataset_creation/test_read_from_csv.py | imsb-uke/ecarenet | ffbf24e740d9154312d02b9f775816ed4b3d4691 | [
"MIT"
] | null | null | null | import pandas as pd
import unittest
import os
from dataset_creation.read_from_csv import create_img_and_label_series
def get_csv():
csv_file = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'unittest_data/train.csv'))
return csv_file
class TestReadFromCsv(unittest.TestCase):
def t... | 48.7 | 110 | 0.62335 | 355 | 3,409 | 5.64507 | 0.188732 | 0.152695 | 0.053892 | 0.076347 | 0.856287 | 0.82485 | 0.82485 | 0.80988 | 0.80988 | 0.789421 | 0 | 0.0068 | 0.266647 | 3,409 | 69 | 111 | 49.405797 | 0.7948 | 0.019654 | 0 | 0.610169 | 0 | 0 | 0.173054 | 0.021257 | 0 | 0 | 0 | 0 | 0.322034 | 1 | 0.084746 | false | 0 | 0.067797 | 0 | 0.186441 | 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 |
79d4f3463d3f51af9460cac5c51a8a73c229c334 | 726 | py | Python | crowdbotics_test/animal/admin.py | marslan390/DjangoModelInheritance | 6f229f46fc5b639d83abc015936d787858608c9f | [
"MIT"
] | null | null | null | crowdbotics_test/animal/admin.py | marslan390/DjangoModelInheritance | 6f229f46fc5b639d83abc015936d787858608c9f | [
"MIT"
] | null | null | null | crowdbotics_test/animal/admin.py | marslan390/DjangoModelInheritance | 6f229f46fc5b639d83abc015936d787858608c9f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Cat, Dog
class DogAdmin(admin.ModelAdmin):
list_display = ('id', 'name', 'birthday')
fields = ('name', 'birthday')
ordering = ('name', 'birthday')
list_editable = ('name', 'birthday')
search_fields = ('name', 'birthday')
list_per_page = 20
... | 26.888889 | 45 | 0.641873 | 82 | 726 | 5.536585 | 0.329268 | 0.317181 | 0.15859 | 0.114537 | 0.709251 | 0.709251 | 0.709251 | 0.709251 | 0.709251 | 0.709251 | 0 | 0.006768 | 0.18595 | 726 | 26 | 46 | 27.923077 | 0.761421 | 0 | 0 | 0.7 | 0 | 0 | 0.203857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79df1ca2e1e3e8774857c59dbd2fee1911fd9f32 | 19,211 | py | Python | app/test/test_views.py | livra-ar/backend | eb052611bb9b2cfa360fa422ce059984b8d295fa | [
"BSD-2-Clause"
] | 1 | 2020-09-05T12:18:06.000Z | 2020-09-05T12:18:06.000Z | app/test/test_views.py | thamidurm/ar-content-platform-backend | eb052611bb9b2cfa360fa422ce059984b8d295fa | [
"BSD-2-Clause"
] | 3 | 2021-06-09T17:46:46.000Z | 2021-09-22T18:54:57.000Z | app/test/test_views.py | livra-ar/backend | eb052611bb9b2cfa360fa422ce059984b8d295fa | [
"BSD-2-Clause"
] | null | null | null | from rest_framework import status
from django.test import TestCase, Client
from rest_framework.test import APIClient
from django.urls import reverse
from app.serializers import ContentSerializer, BookSerializer, ContentShallowSerializer, BookDeepSerializer
from app.models import *
from creators.models import *
client =... | 31.806291 | 107 | 0.57441 | 2,096 | 19,211 | 5.08063 | 0.086832 | 0.043572 | 0.066955 | 0.059912 | 0.850972 | 0.827589 | 0.81125 | 0.785426 | 0.761198 | 0.752653 | 0 | 0.032232 | 0.300713 | 19,211 | 603 | 108 | 31.859038 | 0.760459 | 0.063401 | 0 | 0.679907 | 0 | 0 | 0.147561 | 0 | 0 | 0 | 0 | 0 | 0.077103 | 1 | 0.093458 | false | 0.011682 | 0.028037 | 0 | 0.142523 | 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 |
30ead1f7f549bcb6f78763948815fc05611ef5d6 | 122 | py | Python | dist/Basilisk/fswAlgorithms/sunlineUKF/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/sunlineUKF/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/sunlineUKF/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the sunlineUKF package is automatically generated by the build system
from sunlineUKF import * | 61 | 97 | 0.827869 | 18 | 122 | 5.388889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 2 | 98 | 61 | 0.932692 | 0.778689 | 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 |
ebcbbfaacee91a501d0e58ef5ff7cf818e904eb1 | 13,008 | py | Python | tests/test_request.py | paivett/requests-curl | 82a7fc155606cfb92ff0db15d209b92d097a41f0 | [
"Unlicense"
] | 8 | 2020-03-14T06:06:43.000Z | 2021-12-08T17:42:19.000Z | tests/test_request.py | paivett/requests-curl | 82a7fc155606cfb92ff0db15d209b92d097a41f0 | [
"Unlicense"
] | 5 | 2019-07-08T19:01:31.000Z | 2021-05-24T00:00:14.000Z | tests/test_request.py | paivett/requests-curl | 82a7fc155606cfb92ff0db15d209b92d097a41f0 | [
"Unlicense"
] | 2 | 2019-07-07T12:34:13.000Z | 2021-05-01T05:54:11.000Z | # -*- coding: utf-8 -*
import pycurl
import pytest
import six
from requests import PreparedRequest
from requests.adapters import DEFAULT_CA_BUNDLE_PATH
from requests_curl.request import CURLRequest
def test_request_property():
prepared_request = PreparedRequest()
curl_request = CURLRequest(prepared_request)
... | 28.21692 | 84 | 0.665283 | 1,426 | 13,008 | 5.785414 | 0.103787 | 0.092 | 0.076364 | 0.061333 | 0.837818 | 0.814667 | 0.803273 | 0.796242 | 0.772364 | 0.767758 | 0 | 0.008864 | 0.21948 | 13,008 | 460 | 85 | 28.278261 | 0.803703 | 0.012454 | 0 | 0.602778 | 0 | 0 | 0.113396 | 0.014252 | 0 | 0 | 0 | 0 | 0.122222 | 1 | 0.055556 | false | 0 | 0.016667 | 0 | 0.072222 | 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 |
ccd836dc0b127d5b2b0b6bcd16c4b4dbd20365ed | 61 | py | Python | robustbench/__init__.py | dedeswim/robustbench | afdaaab9ddd89bc689420b6a9ee7a48d98defc4d | [
"MIT"
] | 3 | 2021-09-11T03:21:07.000Z | 2022-01-10T11:22:10.000Z | robustbench/__init__.py | GeoffNN/robustbench | 34e5f426266bf78d72e149efdade7f32622aff19 | [
"MIT"
] | null | null | null | robustbench/__init__.py | GeoffNN/robustbench | 34e5f426266bf78d72e149efdade7f32622aff19 | [
"MIT"
] | null | null | null | from .data import load_cifar10
from .utils import load_model
| 20.333333 | 30 | 0.836066 | 10 | 61 | 4.9 | 0.7 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
692323fd9d7f268106891dd09c1c9f820f2e7a86 | 23 | py | Python | model_block/__init__.py | Shanshan7/easy_anomaly_detection | af10f0b26597d9d28c660730e17006c2bceaddc6 | [
"Apache-2.0"
] | null | null | null | model_block/__init__.py | Shanshan7/easy_anomaly_detection | af10f0b26597d9d28c660730e17006c2bceaddc6 | [
"Apache-2.0"
] | null | null | null | model_block/__init__.py | Shanshan7/easy_anomaly_detection | af10f0b26597d9d28c660730e17006c2bceaddc6 | [
"Apache-2.0"
] | null | null | null | from . import backbone
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 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 |
6941565e43d4629e8be0e58a494ea2538874289b | 106 | py | Python | TestingProject/views.py | AbhijithGanesh/FastAPI-Django-Integration | 2ebba24e3e2bae5087273568a714341a5563a3d9 | [
"BSD-3-Clause"
] | null | null | null | TestingProject/views.py | AbhijithGanesh/FastAPI-Django-Integration | 2ebba24e3e2bae5087273568a714341a5563a3d9 | [
"BSD-3-Clause"
] | 1 | 2021-09-08T10:49:46.000Z | 2021-09-08T10:49:46.000Z | TestingProject/views.py | AbhijithGanesh/FastAPI-Django-Integration | 2ebba24e3e2bae5087273568a714341a5563a3d9 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
def On_Landing(request):
return render(request, 'App/index.html') | 26.5 | 44 | 0.773585 | 15 | 106 | 5.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 4 | 44 | 26.5 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 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 |
15f4b56b26c1d242df918e064314598254276807 | 323 | py | Python | afrift/gui.py | albertvisser/filefindr | e6c7d7bbbcd34fe43e5f75c410cdd359b362e79e | [
"MIT"
] | null | null | null | afrift/gui.py | albertvisser/filefindr | e6c7d7bbbcd34fe43e5f75c410cdd359b362e79e | [
"MIT"
] | null | null | null | afrift/gui.py | albertvisser/filefindr | e6c7d7bbbcd34fe43e5f75c410cdd359b362e79e | [
"MIT"
] | null | null | null | """imports the gui code from a toolkit-specific module
so that the other modules don't need to know which one is used
"""
from .toolkit import toolkit
if toolkit == 'qt':
from .gui_qt import SelectNamesGui, ResultsGui, MainFrameGui
elif toolkit == 'wx':
from .gui_wx import SelectNamesGui, ResultsGui, MainFrameG... | 35.888889 | 64 | 0.755418 | 47 | 323 | 5.148936 | 0.638298 | 0.057851 | 0.247934 | 0.347107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167183 | 323 | 8 | 65 | 40.375 | 0.899628 | 0.352941 | 0 | 0 | 0 | 0 | 0.019802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
c61154fd701a32d0e718ed7ac1f6636cbcaa4cac | 139 | py | Python | tweetshot/__init__.py | takeontom/tweetshot | 8dbe28d7e725150425911d8a25ff07d1d6696688 | [
"MIT"
] | 9 | 2021-02-04T15:46:25.000Z | 2022-01-10T18:25:46.000Z | tweetshot/__init__.py | takeontom/tweetshot | 8dbe28d7e725150425911d8a25ff07d1d6696688 | [
"MIT"
] | 2 | 2021-02-15T14:02:37.000Z | 2021-03-03T15:37:41.000Z | tweetshot/__init__.py | takeontom/tweetshot | 8dbe28d7e725150425911d8a25ff07d1d6696688 | [
"MIT"
] | 5 | 2020-11-03T20:05:00.000Z | 2022-01-05T11:57:45.000Z | from tweetshot.take_screenshot import (
take_screenshot, take_screenshot_as_bytes, take_screenshot_as_base64, take_screenshot_as_pil
)
| 34.75 | 96 | 0.863309 | 19 | 139 | 5.736842 | 0.473684 | 0.642202 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.093525 | 139 | 3 | 97 | 46.333333 | 0.849206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c6579879e9c8a49c16ed51ba780a89381fc81c1b | 113 | py | Python | goza/__init__.py | zgongaware/gonzo | 290eae429eb115793cdac3d0be69a064eb73f9a2 | [
"MIT"
] | null | null | null | goza/__init__.py | zgongaware/gonzo | 290eae429eb115793cdac3d0be69a064eb73f9a2 | [
"MIT"
] | null | null | null | goza/__init__.py | zgongaware/gonzo | 290eae429eb115793cdac3d0be69a064eb73f9a2 | [
"MIT"
] | null | null | null | from goza.chart import Chart
from goza.scatter import Scatter
from goza.bar import Bar
from goza.ecdf import ECDF | 28.25 | 32 | 0.831858 | 20 | 113 | 4.7 | 0.35 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 4 | 33 | 28.25 | 0.959184 | 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 |
d68b5cf75420cdd646e56167418b6ca3e6116af4 | 139 | py | Python | stve/define.py | coppelia517/stve | dd23cc83e7a516e3f2ea9984aabb0cb407a30647 | [
"MIT"
] | null | null | null | stve/define.py | coppelia517/stve | dd23cc83e7a516e3f2ea9984aabb0cb407a30647 | [
"MIT"
] | 9 | 2021-03-18T20:25:04.000Z | 2022-01-13T00:44:11.000Z | stve/define.py | coppelia517/stve | dd23cc83e7a516e3f2ea9984aabb0cb407a30647 | [
"MIT"
] | null | null | null | import os
STVE_ROOT = os.path.normpath(os.path.dirname(__file__))
STVE_LIBRARY = os.path.normpath(os.path.join(STVE_ROOT, "library"))
| 27.8 | 68 | 0.748201 | 22 | 139 | 4.409091 | 0.454545 | 0.247423 | 0.28866 | 0.329897 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100719 | 139 | 4 | 69 | 34.75 | 0.776 | 0 | 0 | 0 | 0 | 0 | 0.051852 | 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 |
d69628697ab25c966d519f18fca7527cf403e427 | 191 | py | Python | envy/lib/state/__init__.py | magmastonealex/fydp | fe3df058c3a7036e7e87ce6e7837b598007d7740 | [
"MIT"
] | 6 | 2019-06-26T02:32:12.000Z | 2020-03-01T23:08:37.000Z | envy/lib/state/__init__.py | magmastonealex/fydp | fe3df058c3a7036e7e87ce6e7837b598007d7740 | [
"MIT"
] | 18 | 2019-06-26T04:08:33.000Z | 2021-06-01T23:53:08.000Z | envy/lib/state/__init__.py | envy-project/envy | fe3df058c3a7036e7e87ce6e7837b598007d7740 | [
"MIT"
] | null | null | null | import os
from .directory import create_directory_if_not_exists, ENVY_STATE_PATH
from .envy_state import EnvyState
create_directory_if_not_exists()
ENVY_STATE = EnvyState(ENVY_STATE_PATH)
| 21.222222 | 70 | 0.863874 | 29 | 191 | 5.206897 | 0.413793 | 0.238411 | 0.225166 | 0.264901 | 0.463576 | 0.463576 | 0.463576 | 0 | 0 | 0 | 0 | 0 | 0.094241 | 191 | 8 | 71 | 23.875 | 0.872832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
d697597901113d47d25d2fda5a24237b5a3ee631 | 44 | py | Python | fathom/residual/__init__.py | rdadolf/fathom | 1dc013d055e59fb09c886ae3a667084119deac5c | [
"Apache-2.0"
] | 77 | 2016-09-28T01:34:38.000Z | 2022-03-22T10:43:12.000Z | fathom/residual/__init__.py | rdadolf/fathom | 1dc013d055e59fb09c886ae3a667084119deac5c | [
"Apache-2.0"
] | 21 | 2016-10-05T21:30:03.000Z | 2019-11-01T10:26:40.000Z | fathom/residual/__init__.py | rdadolf/fathom | 1dc013d055e59fb09c886ae3a667084119deac5c | [
"Apache-2.0"
] | 25 | 2016-09-28T01:50:47.000Z | 2020-03-06T07:27:11.000Z | from .residual import Residual, ResidualFwd
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 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 |
ba3fb42c52b90f40dca28cd8fb24b7a39d505b1e | 30 | py | Python | kick/device2/fmc/actions/__init__.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 2 | 2020-02-10T23:36:57.000Z | 2020-03-25T15:46:05.000Z | kick/device2/fmc/actions/__init__.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-08-07T13:01:32.000Z | 2020-08-07T13:01:32.000Z | kick/device2/fmc/actions/__init__.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-02-19T13:58:35.000Z | 2020-02-19T13:58:35.000Z | from .fmc import Fmc, FmcLine
| 15 | 29 | 0.766667 | 5 | 30 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba73f37979ada1c73d643991989c3a0f8a1a7f96 | 90 | py | Python | app/main/__init__.py | Kevson102/Pitches | a1c41b83edf687135edf35dc068696ea6b7bf824 | [
"MIT"
] | null | null | null | app/main/__init__.py | Kevson102/Pitches | a1c41b83edf687135edf35dc068696ea6b7bf824 | [
"MIT"
] | null | null | null | app/main/__init__.py | Kevson102/Pitches | a1c41b83edf687135edf35dc068696ea6b7bf824 | [
"MIT"
] | null | null | null | from flask import Blueprint
main =Blueprint('main', __name__)
from . import views, forms | 18 | 33 | 0.766667 | 12 | 90 | 5.416667 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 34 | 18 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
baa793f6897d39fefe32db5245b31e5a9969584b | 128 | py | Python | python/pangram/pangram.py | tamireinhorn/exercism | 3ca78b262ad590b67c75c5d1cd83db02bc2d1e6e | [
"MIT"
] | null | null | null | python/pangram/pangram.py | tamireinhorn/exercism | 3ca78b262ad590b67c75c5d1cd83db02bc2d1e6e | [
"MIT"
] | 2 | 2021-12-18T16:31:51.000Z | 2021-12-18T16:33:33.000Z | python/pangram/pangram.py | tamireinhorn/Exercism | 3a3d5744e88ab4457df4e6ac20d772d8c50c43da | [
"MIT"
] | null | null | null | import string, re
def is_pangram(sentence):
return set(re.findall('[a-z]', sentence.lower())) == set(string.ascii_lowercase) | 42.666667 | 84 | 0.71875 | 19 | 128 | 4.736842 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 3 | 84 | 42.666667 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 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 |
bae44dd6c32b9492b334529a1f18298f75eb8dda | 337 | py | Python | gym_reinmav/envs/native/__init__.py | peterminh227/reinmav-gym | 518122b16b86d59f744b3116e6187dafd49a3de4 | [
"BSD-3-Clause"
] | 60 | 2019-03-08T21:14:38.000Z | 2022-01-23T20:43:21.000Z | gym_reinmav/envs/native/__init__.py | peterminh227/reinmav-gym | 518122b16b86d59f744b3116e6187dafd49a3de4 | [
"BSD-3-Clause"
] | 8 | 2019-03-09T09:09:38.000Z | 2022-03-25T15:36:51.000Z | gym_reinmav/envs/native/__init__.py | peterminh227/reinmav-gym | 518122b16b86d59f744b3116e6187dafd49a3de4 | [
"BSD-3-Clause"
] | 22 | 2019-03-08T19:47:49.000Z | 2022-03-29T09:14:01.000Z | from gym_reinmav.envs.native.reinmav_env import ReinmavEnv
from gym_reinmav.envs.native.quadrotor2d import Quadrotor2D
from gym_reinmav.envs.native.quadrotor2d_slungload import Quadrotor2DSlungload
from gym_reinmav.envs.native.quadrotor3d import Quadrotor3D
from gym_reinmav.envs.native.quadrotor3d_slungload import Quad... | 56.166667 | 78 | 0.896142 | 43 | 337 | 6.837209 | 0.302326 | 0.119048 | 0.238095 | 0.306122 | 0.557823 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0.025237 | 0.059347 | 337 | 5 | 79 | 67.4 | 0.902208 | 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 |
240101c19d98a919350046c25ebd57262d2a6665 | 49 | py | Python | BingImages/__init__.py | mhoegger/BingImages | 2be51ddf41e256df66a52b3cf576a0929a3e023f | [
"MIT"
] | 6 | 2019-10-16T05:03:42.000Z | 2022-01-26T15:24:53.000Z | BingImages/__init__.py | mhoegger/BingImages | 2be51ddf41e256df66a52b3cf576a0929a3e023f | [
"MIT"
] | 3 | 2019-08-18T17:48:06.000Z | 2020-07-14T05:15:25.000Z | BingImages/__init__.py | mhoegger/BingImages | 2be51ddf41e256df66a52b3cf576a0929a3e023f | [
"MIT"
] | 3 | 2020-02-04T20:35:23.000Z | 2021-10-12T12:29:06.000Z | from BingImages.bing_downloader import BingImages | 49 | 49 | 0.918367 | 6 | 49 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 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 |
242e1cd0dd773f2a2c7e3cfd4bed483d6aace780 | 46 | py | Python | spirl/configs/hrl/maze/no_prior/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | 8 | 2021-10-14T03:14:23.000Z | 2022-03-15T21:31:17.000Z | spirl/configs/hrl/maze/no_prior/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | null | null | null | spirl/configs/hrl/maze/no_prior/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | 1 | 2021-09-13T20:42:28.000Z | 2021-09-13T20:42:28.000Z | from spirl.configs.hrl.maze.base_conf import * | 46 | 46 | 0.826087 | 8 | 46 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.860465 | 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 |
24371e695a859104c7acbdae9eb68368b3659749 | 34 | py | Python | pix2tex/utils/__init__.py | trungtv1207/LaTeX-OCR | 93cfe08e52063d54726a71354d497fb8dcbcfd2a | [
"MIT"
] | null | null | null | pix2tex/utils/__init__.py | trungtv1207/LaTeX-OCR | 93cfe08e52063d54726a71354d497fb8dcbcfd2a | [
"MIT"
] | null | null | null | pix2tex/utils/__init__.py | trungtv1207/LaTeX-OCR | 93cfe08e52063d54726a71354d497fb8dcbcfd2a | [
"MIT"
] | null | null | null | from pix2tex.utils.utils import *
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
243af95377f751a5948037a5b4d82986be500eba | 44 | py | Python | code/sample_4-3-1.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_4-3-1.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_4-3-1.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | x = ["a", "b", "c"]
print(x[0], x[1], x[2])
| 14.666667 | 23 | 0.340909 | 11 | 44 | 1.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.181818 | 44 | 2 | 24 | 22 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
24687f3ecf250c276811ddfc447e546ed41936a7 | 43 | py | Python | error_solver/__init__.py | line-mind/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | null | null | null | error_solver/__init__.py | line-mind/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | 5 | 2018-12-22T20:59:42.000Z | 2019-06-04T22:10:08.000Z | error_solver/__init__.py | mpewsey/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | null | null | null | from .data import *
from .solvers import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 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 |
030f6a3706ec76a8d61d637772f176a98c5ef04d | 110 | py | Python | FU_Berlin_code/benchmark.py | Jazin2005/phasenet_chile-subduction-zone | 6a64e3c163f631f8515110166938ece0bcc9c2d6 | [
"MIT"
] | null | null | null | FU_Berlin_code/benchmark.py | Jazin2005/phasenet_chile-subduction-zone | 6a64e3c163f631f8515110166938ece0bcc9c2d6 | [
"MIT"
] | null | null | null | FU_Berlin_code/benchmark.py | Jazin2005/phasenet_chile-subduction-zone | 6a64e3c163f631f8515110166938ece0bcc9c2d6 | [
"MIT"
] | null | null | null | from PhaseNet_Analysis import run_phasenet
def test_run_phasenet(benchmark):
benchmark(run_phasenet) | 22 | 42 | 0.809091 | 14 | 110 | 6 | 0.571429 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 5 | 43 | 22 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03408c8cf3687862f83027f916eeb713ccfd692c | 25 | py | Python | __init__.py | saletrak/instabot | 95b8e62e6d87268f5e9b4d88c6ce561c30f3aa30 | [
"MIT"
] | null | null | null | __init__.py | saletrak/instabot | 95b8e62e6d87268f5e9b4d88c6ce561c30f3aa30 | [
"MIT"
] | null | null | null | __init__.py | saletrak/instabot | 95b8e62e6d87268f5e9b4d88c6ce561c30f3aa30 | [
"MIT"
] | null | null | null | from instabot import src
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
036df097a8c82927d61cb59292227e92b683dc70 | 131 | py | Python | pyacme/__main__.py | Juniormin123/pyacme | 99e844e44fac78ab3e1a0a73f6f6fa8f313489f3 | [
"MIT"
] | null | null | null | pyacme/__main__.py | Juniormin123/pyacme | 99e844e44fac78ab3e1a0a73f6f6fa8f313489f3 | [
"MIT"
] | null | null | null | pyacme/__main__.py | Juniormin123/pyacme | 99e844e44fac78ab3e1a0a73f6f6fa8f313489f3 | [
"MIT"
] | null | null | null | """
need `sudo` to run http mode
"""
if __name__ == '__main__':
from .execution import main_entry_point
main_entry_point() | 18.714286 | 43 | 0.687023 | 18 | 131 | 4.333333 | 0.777778 | 0.230769 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19084 | 131 | 7 | 44 | 18.714286 | 0.735849 | 0.21374 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
300a715068c73a675f6a7a01ce9daffc638cdeec | 4,456 | py | Python | test/pyaz/lab/vm/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/lab/vm/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/lab/vm/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def show(resource_group, lab_name, name, expand=None):
params = get_params(locals())
command = "az lab vm show " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess... | 38.413793 | 550 | 0.677513 | 571 | 4,456 | 5.164623 | 0.157618 | 0.075958 | 0.054256 | 0.056968 | 0.765344 | 0.740929 | 0.740929 | 0.740929 | 0.740929 | 0.674805 | 0 | 0.004521 | 0.20579 | 4,456 | 115 | 551 | 38.747826 | 0.828765 | 0 | 0 | 0.830189 | 0 | 0 | 0.048698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0.009434 | 0.018868 | 0 | 0.169811 | 0.226415 | 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 |
062b112e89be03c82454b0e4fb23bbb48bb5aded | 42,997 | py | Python | tests/test_buildstrap.py | guyzmo/buildstrap | d922cbff2df808086d0792ed356ec146f4531bab | [
"WTFPL"
] | 17 | 2016-06-14T22:10:56.000Z | 2022-01-30T00:30:21.000Z | tests/test_buildstrap.py | guyzmo/buildstrap | d922cbff2df808086d0792ed356ec146f4531bab | [
"WTFPL"
] | 1 | 2016-09-21T07:21:15.000Z | 2016-09-21T07:21:15.000Z | tests/test_buildstrap.py | guyzmo/buildstrap | d922cbff2df808086d0792ed356ec146f4531bab | [
"WTFPL"
] | 4 | 2016-09-21T07:20:25.000Z | 2022-01-30T00:30:37.000Z | #!/usr/bin/env python
#from tempfile import TemporaryDirectory
#from testfixtures import Replace, ShouldRaise, compare
#from testfixtures.popen import MockPopen
import pytest
from buildstrap.buildstrap import *
from pprint import pprint
def test_list():
l_nil = []
l_one = ['a']
l_two = ['a', 'b']
... | 49.592849 | 136 | 0.496151 | 3,707 | 42,997 | 5.57324 | 0.052064 | 0.085963 | 0.100194 | 0.144724 | 0.865102 | 0.853195 | 0.8394 | 0.821346 | 0.791384 | 0.786834 | 0 | 0.001057 | 0.339838 | 42,997 | 866 | 137 | 49.650115 | 0.726792 | 0.00621 | 0 | 0.661538 | 0 | 0.001282 | 0.305249 | 0.131333 | 0 | 0 | 0 | 0 | 0.228205 | 1 | 0.070513 | false | 0.001282 | 0.012821 | 0.001282 | 0.10641 | 0.015385 | 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 |
064a502b5784449921238ec2ecb98269b005c5f6 | 130 | py | Python | unused_deps_py/unused_deps_py_lib/string_util.py | manuelnaranjo/buildtools | de99cb9c235b4de1bb6b7f392cb4cbca971be0d9 | [
"Apache-2.0"
] | 431 | 2016-01-27T12:30:26.000Z | 2022-03-19T11:39:41.000Z | unused_deps_py/unused_deps_py_lib/string_util.py | manuelnaranjo/buildtools | de99cb9c235b4de1bb6b7f392cb4cbca971be0d9 | [
"Apache-2.0"
] | 25 | 2016-01-29T03:14:05.000Z | 2022-03-22T10:40:47.000Z | gitmask/lib/common/string.py | AnalogJ/gitmask | e7d6b5e404d5bd5623a11f5acaffd0f7ba029899 | [
"MIT"
] | 74 | 2016-01-21T05:11:40.000Z | 2021-12-30T19:12:46.000Z | def remove_prefix(text, prefix):
if text.startswith(prefix):
return text[len(prefix):]
return text # or whatever
| 26 | 33 | 0.669231 | 17 | 130 | 5.058824 | 0.588235 | 0.27907 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 130 | 4 | 34 | 32.5 | 0.851485 | 0.084615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
06503fe69efb867c44f530b0158fc65d753c77b2 | 357 | py | Python | dict_keys/input_shape_keys.py | demetoir/ALLGANS | 2f972db5e9a65f18aee0695d817f4acc221e54da | [
"MIT"
] | 11 | 2018-01-25T15:31:54.000Z | 2019-12-17T06:12:57.000Z | dict_keys/input_shape_keys.py | demetoir/ALLGANs | 2f972db5e9a65f18aee0695d817f4acc221e54da | [
"MIT"
] | 19 | 2018-01-29T16:12:09.000Z | 2018-02-15T15:56:48.000Z | dict_keys/input_shape_keys.py | demetoir/ALLGANs | 2f972db5e9a65f18aee0695d817f4acc221e54da | [
"MIT"
] | 2 | 2018-02-06T00:31:55.000Z | 2018-02-19T15:29:10.000Z | """key for model's input_shapes dict"""
# todo 키를 등록하고 접근해주는 클래스를 만들어야하나?
INPUT_SHAPE_KEY_DATA_X = "INPUT_SHAPE_KEY_DATA_X"
INPUT_SHAPE_KEY_LABEL = "INPUT_SHAPE_KEY_LABEL"
INPUT_SHAPE_KEY_LABEL_SIZE = "INPUT_SHAPE_KEY_LABEL_SIZE"
INPUT_SHAPE_KEY_TEST_DATA_X = "INPUT_SHAPE_KEY_TEST_DATA_X"
INPUT_SHAPE_KEY_TEST_L... | 39.666667 | 60 | 0.831933 | 63 | 357 | 4.063492 | 0.301587 | 0.390625 | 0.507813 | 0.234375 | 0.796875 | 0.691406 | 0.691406 | 0.691406 | 0.238281 | 0.238281 | 0 | 0 | 0.10084 | 357 | 8 | 61 | 44.625 | 0.797508 | 0.184874 | 0 | 0 | 0 | 0 | 0.440433 | 0.440433 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
068829f499f41dd1bae6cf023e2467ae80b2f8e8 | 894 | py | Python | bricklink/exceptions.py | narthur/bricklink-tools | 8ae0197da6950821f0e98ab51f3d3ecdd27eebf5 | [
"MIT"
] | null | null | null | bricklink/exceptions.py | narthur/bricklink-tools | 8ae0197da6950821f0e98ab51f3d3ecdd27eebf5 | [
"MIT"
] | null | null | null | bricklink/exceptions.py | narthur/bricklink-tools | 8ae0197da6950821f0e98ab51f3d3ecdd27eebf5 | [
"MIT"
] | null | null | null | '''
bricklink.exceptions
--------------------
A module providing Bricklink exceptions
'''
class BricklinkInvalidResponseException(Exception): pass
class BricklinkInvalidURIException(Exception): pass
class BricklinkInvalidRequestBodyException(Exception): pass
class BricklinkParameterMissingOrInvalidE... | 20.318182 | 66 | 0.831096 | 59 | 894 | 12.59322 | 0.355932 | 0.227456 | 0.290713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095078 | 894 | 44 | 67 | 20.318182 | 0.918418 | 0.091723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
06ac2271c10539a3146510bf8808bb71887e5134 | 92 | py | Python | koapy/utils/builtin.py | webclinic017/koapy | 0cdbfac6a10c70e83df800a3a4362872b8792aba | [
"MIT"
] | null | null | null | koapy/utils/builtin.py | webclinic017/koapy | 0cdbfac6a10c70e83df800a3a4362872b8792aba | [
"MIT"
] | null | null | null | koapy/utils/builtin.py | webclinic017/koapy | 0cdbfac6a10c70e83df800a3a4362872b8792aba | [
"MIT"
] | null | null | null | def dir_public(*args):
return [name for name in dir(*args) if not name.startswith("_")]
| 30.666667 | 68 | 0.684783 | 15 | 92 | 4.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 2 | 69 | 46 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
231d2cc8edcfd86c9f16e2f9ceb09e04f00b3b9c | 148 | py | Python | __init__.py | gsellers37/Ocelot | be7d47f04e6506331da452a76beb56a5c49b146e | [
"MIT"
] | null | null | null | __init__.py | gsellers37/Ocelot | be7d47f04e6506331da452a76beb56a5c49b146e | [
"MIT"
] | null | null | null | __init__.py | gsellers37/Ocelot | be7d47f04e6506331da452a76beb56a5c49b146e | [
"MIT"
] | null | null | null |
from .audio import *
from .trackcontrols import *
from .oscillators import *
from .noise import *
from .wavefiles import *
from .envelopes import * | 21.142857 | 28 | 0.756757 | 18 | 148 | 6.222222 | 0.444444 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 7 | 29 | 21.142857 | 0.903226 | 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 |
23334e1bffa944a1e9f386eb2e0044e9542ff6c4 | 21 | py | Python | example_project/some_modules/third_modules/a140.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a140.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a140.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A140:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2357d08a931b2e249ee4186bed631be8d4947f61 | 45 | py | Python | src/sage/game_theory/all.py | drvinceknight/sage | 00199fb220aa173d8585b9e90654dafd3247d82d | [
"BSL-1.0"
] | 2 | 2015-08-11T05:05:47.000Z | 2019-05-15T17:27:25.000Z | src/sage/game_theory/all.py | kaushik94/sage | 00199fb220aa173d8585b9e90654dafd3247d82d | [
"BSL-1.0"
] | null | null | null | src/sage/game_theory/all.py | kaushik94/sage | 00199fb220aa173d8585b9e90654dafd3247d82d | [
"BSL-1.0"
] | 1 | 2020-07-24T11:56:55.000Z | 2020-07-24T11:56:55.000Z | from cooperative_game import CooperativeGame
| 22.5 | 44 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
235f814174e7e95d377c5900e9c9c55f06428871 | 107 | py | Python | meiduo_mall/meiduo_mall/__init__.py | lhz0707/meiduo_project | be8d194840ff704da7dd291dfa5678607b820b47 | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/__init__.py | lhz0707/meiduo_project | be8d194840ff704da7dd291dfa5678607b820b47 | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/__init__.py | lhz0707/meiduo_project | be8d194840ff704da7dd291dfa5678607b820b47 | [
"MIT"
] | null | null | null | from pymysql import install_as_MySQLdb
install_as_MySQLdb()
# import pymysql
# pymysql.install_as_MySQLdb() | 26.75 | 38 | 0.850467 | 15 | 107 | 5.666667 | 0.4 | 0.317647 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 107 | 4 | 39 | 26.75 | 0.867347 | 0.401869 | 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 |
2367a2e09f62172a317d7721666d588badf7a600 | 150 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.pack_name}}/{{cookiecutter.pack_name}}.py | ffreemt/cookiecutter-poetry | 2a076cfc409eff6dd82a8cbbaac5a9168d795f39 | [
"MIT"
] | 1 | 2021-06-16T08:00:55.000Z | 2021-06-16T08:00:55.000Z | {{cookiecutter.repo_name}}/{{cookiecutter.pack_name}}/{{cookiecutter.pack_name}}.py | ffreemt/cookiecutter-poetry | 2a076cfc409eff6dd82a8cbbaac5a9168d795f39 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.pack_name}}/{{cookiecutter.pack_name}}.py | ffreemt/cookiecutter-poetry | 2a076cfc409eff6dd82a8cbbaac5a9168d795f39 | [
"MIT"
] | null | null | null | """Define {{cookiecutter.pack_name}}."""
from logzero import logger
def {{cookiecutter.pack_name}}():
"""Define."""
logger.debug(" entry ")
| 18.75 | 40 | 0.64 | 16 | 150 | 5.875 | 0.6875 | 0.340426 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 7 | 41 | 21.428571 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
88c414a7c5842a0c7ab319ae58a97f7e78636759 | 261 | py | Python | pert/generateTrainingSet.py | podefr/machine-learning-playground | 572c7017415393d6d456cbc96704ab288c461f37 | [
"MIT"
] | null | null | null | pert/generateTrainingSet.py | podefr/machine-learning-playground | 572c7017415393d6d456cbc96704ab288c461f37 | [
"MIT"
] | null | null | null | pert/generateTrainingSet.py | podefr/machine-learning-playground | 572c7017415393d6d456cbc96704ab288c461f37 | [
"MIT"
] | 1 | 2018-06-14T15:39:07.000Z | 2018-06-14T15:39:07.000Z | import numpy as np
from random import sample
def generateX(trainingSetSize):
return np.array(list(map(lambda x: sample(range(20), 3), range(trainingSetSize))))
def computeY(arr):
return np.array(np.matmul(arr, [1, 4, 1]) / 6).reshape(arr.shape[0], 1)
| 29 | 86 | 0.704981 | 42 | 261 | 4.380952 | 0.666667 | 0.086957 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 261 | 8 | 87 | 32.625 | 0.777778 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
88cc0153e92dc848e052bd4c3b4bce15e3ada9f3 | 165 | py | Python | app/response/__init__.py | Landers1037/pan | 483b9fa8ad5bf30375c155d6bdf5db9d2bd063e2 | [
"MIT"
] | null | null | null | app/response/__init__.py | Landers1037/pan | 483b9fa8ad5bf30375c155d6bdf5db9d2bd063e2 | [
"MIT"
] | null | null | null | app/response/__init__.py | Landers1037/pan | 483b9fa8ad5bf30375c155d6bdf5db9d2bd063e2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Time: 2020-05-23 11:53
# Author: Landers1037
# Mail: liaorenj@gmail.com
# File: __init__.py
from .http_response import http_response | 23.571429 | 40 | 0.684848 | 24 | 165 | 4.458333 | 0.916667 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 0.169697 | 165 | 7 | 40 | 23.571429 | 0.656934 | 0.648485 | 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 |
0019bbaf8de5c534fd78048a785efbc9c29ebca8 | 3,917 | py | Python | dot_parser/DOTListener.py | vairodp/Corinne-2 | c11c59de3a1e9914ad49683c5a6cf2859b4d89a4 | [
"MIT"
] | 8 | 2020-05-19T16:44:51.000Z | 2021-11-13T23:58:31.000Z | dot_parser/DOTListener.py | vairodp/Corinne-2 | c11c59de3a1e9914ad49683c5a6cf2859b4d89a4 | [
"MIT"
] | null | null | null | dot_parser/DOTListener.py | vairodp/Corinne-2 | c11c59de3a1e9914ad49683c5a6cf2859b4d89a4 | [
"MIT"
] | null | null | null | # Generated from DOT.g4 by ANTLR 4.7.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .DOTParser import DOTParser
else:
from DOTParser import DOTParser
# This class defines a complete listener for a parse tree produced by DOTParser.
class DOTListener(ParseTreeListener):
# Enter a p... | 28.591241 | 80 | 0.706663 | 501 | 3,917 | 5.437126 | 0.167665 | 0.063877 | 0.106461 | 0.19163 | 0.831498 | 0.691997 | 0.681351 | 0.568649 | 0.414831 | 0 | 0 | 0.001647 | 0.224917 | 3,917 | 136 | 81 | 28.801471 | 0.895586 | 0.379627 | 0 | 0.451613 | 1 | 0 | 0.000422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.451613 | false | 0.451613 | 0.048387 | 0 | 0.516129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0020192c77db8a08179cfb04185aabd1c4da8767 | 214 | py | Python | Backbone/__init__.py | Rand2AI/GRNN | 1117c4129dc47048586d9ca8ca40408bcdfeca33 | [
"MIT"
] | 15 | 2021-04-30T16:51:52.000Z | 2022-03-08T11:23:18.000Z | Backbone/__init__.py | Rand2AI/GRNN | 1117c4129dc47048586d9ca8ca40408bcdfeca33 | [
"MIT"
] | null | null | null | Backbone/__init__.py | Rand2AI/GRNN | 1117c4129dc47048586d9ca8ca40408bcdfeca33 | [
"MIT"
] | 2 | 2021-11-25T14:04:51.000Z | 2021-12-28T08:38:09.000Z | # -*-coding:utf-8-*-
from Backbone.lenet import LeNet
from Backbone.resnet import ResNet18, ResNet34, ResNet50, ResNet101, ResNet152
from Backbone.densenet import DenseNet121, DenseNet169, DenseNet201, DenseNet161
| 42.8 | 80 | 0.813084 | 25 | 214 | 6.96 | 0.72 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129534 | 0.098131 | 214 | 4 | 81 | 53.5 | 0.772021 | 0.084112 | 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 |
cc405e510ba12b1600a88d06e1bacdebfffc1d19 | 129 | py | Python | dtoc_exceptions.py | DhruvPatel01/dtoc | dbd6c89d49b22ece61788c2e1afe14c0043c0685 | [
"MIT"
] | null | null | null | dtoc_exceptions.py | DhruvPatel01/dtoc | dbd6c89d49b22ece61788c2e1afe14c0043c0685 | [
"MIT"
] | null | null | null | dtoc_exceptions.py | DhruvPatel01/dtoc | dbd6c89d49b22ece61788c2e1afe14c0043c0685 | [
"MIT"
] | null | null | null | class BencodeFailure(Exception):
pass
class DTOCFailure(Exception):
pass
class HTTPTrackerFailure(Exception):
pass
| 14.333333 | 36 | 0.751938 | 12 | 129 | 8.083333 | 0.5 | 0.402062 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 129 | 8 | 37 | 16.125 | 0.915094 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cc585b512f6739a360c8ae691af369d2c408c261 | 37 | py | Python | 7_work_with_webelements/Test_Opencart/model/__init__.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 7_work_with_webelements/Test_Opencart/model/__init__.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 7_work_with_webelements/Test_Opencart/model/__init__.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | from .locators import get_by_btn_url
| 18.5 | 36 | 0.864865 | 7 | 37 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 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 |
cc5b51ebe22a51df9f36a3dd51018b07a4e88217 | 115 | py | Python | src/server_py3/aps/src/wes/api/__init__.py | kfrime/yonder | cd2f491c24f8552aeadd6ee48c601e1194a2e082 | [
"MIT"
] | null | null | null | src/server_py3/aps/src/wes/api/__init__.py | kfrime/yonder | cd2f491c24f8552aeadd6ee48c601e1194a2e082 | [
"MIT"
] | 12 | 2020-01-04T03:30:02.000Z | 2021-06-02T01:22:45.000Z | src/server_py3/aps/src/wes/api/__init__.py | kfrime/yonder | cd2f491c24f8552aeadd6ee48c601e1194a2e082 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# 让Python加载模块,否则app.route装饰器不会运行,无法添加路由
from . import middlewares
from . import v1, v2, v3
| 19.166667 | 39 | 0.756522 | 16 | 115 | 5.4375 | 0.875 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.130435 | 115 | 5 | 40 | 23 | 0.83 | 0.513043 | 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 |
cca0ab45f3f58c7791fb0d2de44b904f9576bac9 | 20 | py | Python | migrations/common/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | migrations/common/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | migrations/common/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from . import safen
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ccca170eefa97e229121db41a3212da4d7c12f5e | 81 | py | Python | tasks/common/__init__.py | mdegans/smart-social-distancing | 91d52c4fe4fa8baba77596980ae84e79346a0a8f | [
"Apache-2.0"
] | 113 | 2020-05-22T10:54:44.000Z | 2022-03-22T13:43:38.000Z | tasks/common/__init__.py | mdegans/smart-social-distancing | 91d52c4fe4fa8baba77596980ae84e79346a0a8f | [
"Apache-2.0"
] | 55 | 2020-05-20T20:16:40.000Z | 2021-10-13T10:00:56.000Z | tasks/common/__init__.py | emma-w-dev/smart-social-distancing | f706a64e85c9f04b445d7e6d10a1e7c9369ab465 | [
"Apache-2.0"
] | 37 | 2020-05-24T00:48:48.000Z | 2022-02-28T14:58:13.000Z | import os
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
| 27 | 70 | 0.777778 | 14 | 81 | 4.142857 | 0.5 | 0.310345 | 0.672414 | 0.517241 | 0.672414 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 81 | 2 | 71 | 40.5 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aea4a96f604d7cf447411a23fa5192f6e80641ff | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/tests/test_from_template.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/tests/test_from_template.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/tests/test_from_template.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/48/36/28/7b45d4a406b2c84403abb661aef104cfb53dba92432d8ce171da1589f7 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aebee94f6bfcbdea240d8c8da30434e8f1639fe1 | 110 | py | Python | owlpy/__init__.py | dschowta/owlpy | c614aa89ae55256727db65867915126da585aa3c | [
"MIT"
] | 23 | 2017-06-30T13:07:49.000Z | 2021-04-28T21:29:08.000Z | owlpy/__init__.py | juanbeleno/owlpy | 3dbc62e9187b0f25f545c508d9da9b7ef6619b37 | [
"MIT"
] | 1 | 2018-03-26T11:27:24.000Z | 2018-03-26T11:27:24.000Z | owlpy/__init__.py | juanbeleno/owlpy | 3dbc62e9187b0f25f545c508d9da9b7ef6619b37 | [
"MIT"
] | 10 | 2017-11-15T06:12:52.000Z | 2019-04-11T22:45:21.000Z | '''--------------------------- Init Script ---------------------------------'''
from owlpy.core import stamp
| 27.5 | 79 | 0.309091 | 7 | 110 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 110 | 3 | 80 | 36.666667 | 0.336634 | 0.663636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aedaab38ae7557cebbe677cd1a3d7a8e5c874c31 | 91 | py | Python | wordservice/src/wordservice/routes/__init__.py | mjm461/step-funtions-example | 3cd77cdc03b42d7496e47e505c19161b4913b110 | [
"MIT"
] | null | null | null | wordservice/src/wordservice/routes/__init__.py | mjm461/step-funtions-example | 3cd77cdc03b42d7496e47e505c19161b4913b110 | [
"MIT"
] | null | null | null | wordservice/src/wordservice/routes/__init__.py | mjm461/step-funtions-example | 3cd77cdc03b42d7496e47e505c19161b4913b110 | [
"MIT"
] | null | null | null | from flask import Blueprint
word_routes = Blueprint('word', __name__)
from . import routes
| 22.75 | 41 | 0.791209 | 12 | 91 | 5.583333 | 0.583333 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 42 | 30.333333 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
aee5a7d06ff69d4bcca3e5b8c1733fbb7df429be | 26 | py | Python | easy_mindspore/utils/__init__.py | lvyufeng/easy_mindspore | fd402dd4322c9b5a7b38a28b0be81a7a4898a389 | [
"MIT"
] | 7 | 2021-07-27T01:42:28.000Z | 2022-01-12T06:44:50.000Z | easy_mindspore/utils/__init__.py | lvyufeng/easy_mindspore | fd402dd4322c9b5a7b38a28b0be81a7a4898a389 | [
"MIT"
] | null | null | null | easy_mindspore/utils/__init__.py | lvyufeng/easy_mindspore | fd402dd4322c9b5a7b38a28b0be81a7a4898a389 | [
"MIT"
] | 1 | 2021-11-29T06:08:37.000Z | 2021-11-29T06:08:37.000Z | from .weight_norm import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
4e0ec15854f55ca4d97d5ba4b3b834249fd8fca4 | 890 | py | Python | setup.py | andrewp-as-is/mac-opera | f3f0576a91f0631b81234e684f946e8b677466a4 | [
"Unlicense"
] | null | null | null | setup.py | andrewp-as-is/mac-opera | f3f0576a91f0631b81234e684f946e8b677466a4 | [
"Unlicense"
] | null | null | null | setup.py | andrewp-as-is/mac-opera | f3f0576a91f0631b81234e684f946e8b677466a4 | [
"Unlicense"
] | null | null | null | import setuptools
setuptools.setup(
name='mac-opera',
version='2020.12.3',
install_requires=open('requirements.txt').read().splitlines(),
packages=setuptools.find_packages(),
scripts=['scripts/.DS_Store','scripts/.opera-close.applescript','scripts/.opera-fullscreen-detect.applescript','scripts/.ope... | 89 | 695 | 0.773034 | 106 | 890 | 6.462264 | 0.330189 | 0.385401 | 0.30219 | 0.144526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00814 | 0.033708 | 890 | 9 | 696 | 98.888889 | 0.788372 | 0 | 0 | 0 | 0 | 0 | 0.726966 | 0.534831 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e171e0aef7db85ef25f736fdd62609ff6402143 | 161 | py | Python | load_expert_demo.py | Usaywook/irl | 6e7b2998adf340825cae16a941c2d25026c17d05 | [
"MIT"
] | null | null | null | load_expert_demo.py | Usaywook/irl | 6e7b2998adf340825cae16a941c2d25026c17d05 | [
"MIT"
] | null | null | null | load_expert_demo.py | Usaywook/irl | 6e7b2998adf340825cae16a941c2d25026c17d05 | [
"MIT"
] | null | null | null | from inverse_rl.utils.log_utils import load_latest_experts_multiple_runs
import pdb
experts = load_latest_experts_multiple_runs('data/ant_data_collect', n=2)
| 23 | 73 | 0.857143 | 26 | 161 | 4.846154 | 0.653846 | 0.15873 | 0.269841 | 0.396825 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.080745 | 161 | 6 | 74 | 26.833333 | 0.844595 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d8dbcf928f7bd5610b9b0327225a9ac66817584 | 5,081 | py | Python | application.py | manasabalaji221/CloudAzure | 0cccc20d0085dd311d36f01d2349abe37f56a1f0 | [
"MIT"
] | null | null | null | application.py | manasabalaji221/CloudAzure | 0cccc20d0085dd311d36f01d2349abe37f56a1f0 | [
"MIT"
] | null | null | null | application.py | manasabalaji221/CloudAzure | 0cccc20d0085dd311d36f01d2349abe37f56a1f0 | [
"MIT"
] | null | null | null | from flask import Flask, render_template,request,flash
import random
import pypyodbc
import time
import redis
import pygal
app = Flask(__name__)
app.secret_key = "Secret! Dont Tell anyone"
conn = pypyodbc.connect("**Put your connection string here**")
@app.route('/')
def hello_world():
return render_template('i... | 35.531469 | 134 | 0.599291 | 634 | 5,081 | 4.701893 | 0.138801 | 0.077491 | 0.098625 | 0.054344 | 0.832607 | 0.827239 | 0.775243 | 0.754445 | 0.732976 | 0.718886 | 0 | 0.039523 | 0.208227 | 5,081 | 142 | 135 | 35.78169 | 0.701467 | 0.01791 | 0 | 0.680672 | 0 | 0 | 0.158074 | 0 | 0.07563 | 0 | 0 | 0 | 0 | 1 | 0.033613 | false | 0 | 0.05042 | 0.008403 | 0.117647 | 0.12605 | 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 |
9d9c3122d504da53530a5a81d2603d2e96a2471e | 1,834 | py | Python | test/hummingbot/core/utils/test_tracking_nonce.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 3,027 | 2019-04-04T18:52:17.000Z | 2022-03-30T09:38:34.000Z | test/hummingbot/core/utils/test_tracking_nonce.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 4,080 | 2019-04-04T19:51:11.000Z | 2022-03-31T23:45:21.000Z | test/hummingbot/core/utils/test_tracking_nonce.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 1,342 | 2019-04-04T20:50:53.000Z | 2022-03-31T15:22:36.000Z | from unittest import TestCase
import asyncio
import hummingbot.core.utils.tracking_nonce as tracking_nonce
class TrackingNonceTest(TestCase):
def test_get_tracking_nonce(self):
nonce = tracking_nonce.get_tracking_nonce()
self.assertIsNotNone(nonce)
new_nonce = tracking_nonce.get_tracking_... | 38.208333 | 81 | 0.692475 | 236 | 1,834 | 5.004237 | 0.186441 | 0.220152 | 0.121931 | 0.162574 | 0.81287 | 0.81287 | 0.756139 | 0.756139 | 0.691787 | 0.591871 | 0 | 0.005506 | 0.207743 | 1,834 | 47 | 82 | 39.021277 | 0.807295 | 0 | 0 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 1 | 0.131579 | false | 0 | 0.078947 | 0 | 0.342105 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9da0be5ea0be362b2dfcd0274e9ec3c60df1f941 | 245 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.run}}.py | fossabot/cookiecutter-sanic | 93c72359d0440303120859b3ddd6a2ceb62f05e7 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.run}}.py | fossabot/cookiecutter-sanic | 93c72359d0440303120859b3ddd6a2ceb62f05e7 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.run}}.py | fossabot/cookiecutter-sanic | 93c72359d0440303120859b3ddd6a2ceb62f05e7 | [
"MIT"
] | null | null | null | from {{cookiecutter.app_name}}.{{cookiecutter.app_name}} import app
from {{cookiecutter.app_name}}.util import sanic_config_manager
sanic_config_manager(app, prefix="{{cookiecutter.sanic_env_prefix}}")
if __name__ == "__main__":
app.run() | 30.625 | 69 | 0.767347 | 32 | 245 | 5.34375 | 0.4375 | 0.263158 | 0.333333 | 0.269006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 245 | 8 | 70 | 30.625 | 0.763393 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9db8855b55f2547a1ac1749b8b85e1e9dd0b14f0 | 38 | py | Python | json2oraparser/DBConnectionController/__init__.py | ntpythondev/json2oraparser | d03e31a13dbafb8650ebeec0fc1560ead488193c | [
"MIT"
] | 1 | 2019-10-23T11:12:13.000Z | 2019-10-23T11:12:13.000Z | json2oraparser/DBConnectionController/__init__.py | ntpythondev/testpypi2019 | e9b767d4353e09861a6f7408613bb18bdbd4df04 | [
"MIT"
] | null | null | null | json2oraparser/DBConnectionController/__init__.py | ntpythondev/testpypi2019 | e9b767d4353e09861a6f7408613bb18bdbd4df04 | [
"MIT"
] | null | null | null | from DBConnection import DBConnection
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
9de21bef579359dfa3a847645844f86f39ffb572 | 31 | py | Python | mmdet3d_version_test.py | xizaoqu/mmdetection3d | 1809f9650de95d7bc80035787b09e3b69390b702 | [
"Apache-2.0"
] | null | null | null | mmdet3d_version_test.py | xizaoqu/mmdetection3d | 1809f9650de95d7bc80035787b09e3b69390b702 | [
"Apache-2.0"
] | null | null | null | mmdet3d_version_test.py | xizaoqu/mmdetection3d | 1809f9650de95d7bc80035787b09e3b69390b702 | [
"Apache-2.0"
] | null | null | null | import mmdet3d
print(mmdet3d)
| 7.75 | 14 | 0.806452 | 4 | 31 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 31 | 3 | 15 | 10.333333 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9dfb4aad68a91805e9ef005a31ca3eef1f608436 | 57,822 | py | Python | tests/unit/common/transport/redis_gateway/test_core.py | arareko/pysoa | a90e428558500cf692f7f6e33fd358dd2779c328 | [
"Apache-2.0"
] | 91 | 2017-05-08T22:41:33.000Z | 2022-02-09T11:37:07.000Z | tests/unit/common/transport/redis_gateway/test_core.py | arareko/pysoa | a90e428558500cf692f7f6e33fd358dd2779c328 | [
"Apache-2.0"
] | 63 | 2017-06-14T20:08:49.000Z | 2021-06-16T23:08:25.000Z | tests/unit/common/transport/redis_gateway/test_core.py | arareko/pysoa | a90e428558500cf692f7f6e33fd358dd2779c328 | [
"Apache-2.0"
] | 26 | 2017-10-13T23:23:13.000Z | 2022-01-11T16:58:17.000Z | from __future__ import (
absolute_import,
unicode_literals,
)
import datetime
import time
import timeit
from typing import (
Any,
Dict,
)
import attr
import freezegun
import pytest
import six
from pysoa.common.serializer.json_serializer import JSONSerializer
from pysoa.common.serializer.msgpack_seria... | 45.963434 | 120 | 0.671596 | 6,920 | 57,822 | 5.277023 | 0.052312 | 0.036805 | 0.035983 | 0.045979 | 0.908344 | 0.89101 | 0.859873 | 0.840759 | 0.82285 | 0.805104 | 0 | 0.02782 | 0.211736 | 57,822 | 1,257 | 121 | 46 | 0.773361 | 0.0179 | 0 | 0.588601 | 0 | 0.005181 | 0.207162 | 0.127981 | 0 | 0 | 0 | 0 | 0.273575 | 1 | 0.048705 | false | 0 | 0.018653 | 0.002073 | 0.073575 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.